Class Issue
java.lang.Object
build.cursed.genapi.forgejo.model.Issue
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T10:48:29.723777+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class Issue
extends Object
Issue represents an issue in a repository
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssetsItem(Attachment assetsItem) addAssigneesItem(User assigneesItem) addLabelsItem(Label labelsItem) assets(List<Attachment> assets) closedAt(OffsetDateTime closedAt) createdAt(OffsetDateTime createdAt) dueDate(OffsetDateTime dueDate) booleanstatic IssueCreate an instance of Issue given an JSON stringGet assetsGet assigneeGet assigneesgetBody()Get bodyGet closedAtGet commentsGet createdAtGet dueDateGet htmlUrlgetId()Get idGet isLockedGet labelsGet milestoneGet numberGet originalAuthorGet originalAuthorIdGet pinOrderGet pullRequestgetRef()Get refGet repositorygetState()StateType issue state typegetTitle()Get titleGet updatedAtgetUrl()Get urlgetUser()Get userinthashCode()originalAuthor(String originalAuthor) originalAuthorId(Long originalAuthorId) pullRequest(PullRequestMeta pullRequest) repository(RepositoryMeta repository) voidsetAssets(List<Attachment> assets) voidsetAssignee(User assignee) voidsetAssignees(List<User> assignees) voidvoidsetClosedAt(OffsetDateTime closedAt) voidsetComments(Long comments) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDueDate(OffsetDateTime dueDate) voidsetHtmlUrl(String htmlUrl) voidvoidsetIsLocked(Boolean isLocked) voidvoidsetMilestone(Milestone milestone) voidvoidsetOriginalAuthor(String originalAuthor) voidsetOriginalAuthorId(Long originalAuthorId) voidsetPinOrder(Long pinOrder) voidsetPullRequest(PullRequestMeta pullRequest) voidvoidsetRepository(RepositoryMeta repository) voidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidvoidtoJson()Convert an instance of Issue to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ASSETS
- See Also:
-
SERIALIZED_NAME_ASSIGNEE
- See Also:
-
SERIALIZED_NAME_ASSIGNEES
- See Also:
-
SERIALIZED_NAME_BODY
- See Also:
-
SERIALIZED_NAME_CLOSED_AT
- See Also:
-
SERIALIZED_NAME_COMMENTS
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DUE_DATE
- See Also:
-
SERIALIZED_NAME_HTML_URL
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IS_LOCKED
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_MILESTONE
- See Also:
-
SERIALIZED_NAME_NUMBER
- See Also:
-
SERIALIZED_NAME_ORIGINAL_AUTHOR
- See Also:
-
SERIALIZED_NAME_ORIGINAL_AUTHOR_ID
- See Also:
-
SERIALIZED_NAME_PIN_ORDER
- See Also:
-
SERIALIZED_NAME_PULL_REQUEST
- See Also:
-
SERIALIZED_NAME_REF
- See Also:
-
SERIALIZED_NAME_REPOSITORY
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Issue
public Issue()
-
-
Method Details
-
assets
-
addAssetsItem
-
getAssets
Get assets- Returns:
- assets
-
setAssets
-
assignee
-
getAssignee
Get assignee- Returns:
- assignee
-
setAssignee
-
assignees
-
addAssigneesItem
-
getAssignees
Get assignees- Returns:
- assignees
-
setAssignees
-
body
-
getBody
Get body- Returns:
- body
-
setBody
-
closedAt
-
getClosedAt
Get closedAt- Returns:
- closedAt
-
setClosedAt
-
comments
-
getComments
Get comments- Returns:
- comments
-
setComments
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
dueDate
-
getDueDate
Get dueDate- Returns:
- dueDate
-
setDueDate
-
htmlUrl
-
getHtmlUrl
Get htmlUrl- Returns:
- htmlUrl
-
setHtmlUrl
-
id
-
getId
Get id- Returns:
- id
-
setId
-
isLocked
-
getIsLocked
Get isLocked- Returns:
- isLocked
-
setIsLocked
-
labels
-
addLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
milestone
-
getMilestone
Get milestone- Returns:
- milestone
-
setMilestone
-
number
-
getNumber
Get number- Returns:
- number
-
setNumber
-
originalAuthor
-
getOriginalAuthor
Get originalAuthor- Returns:
- originalAuthor
-
setOriginalAuthor
-
originalAuthorId
-
getOriginalAuthorId
Get originalAuthorId- Returns:
- originalAuthorId
-
setOriginalAuthorId
-
pinOrder
-
getPinOrder
Get pinOrder- Returns:
- pinOrder
-
setPinOrder
-
pullRequest
-
getPullRequest
Get pullRequest- Returns:
- pullRequest
-
setPullRequest
-
ref
-
getRef
Get ref- Returns:
- ref
-
setRef
-
repository
-
getRepository
Get repository- Returns:
- repository
-
setRepository
-
state
-
getState
StateType issue state type- Returns:
- state
-
setState
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Issue
-
fromJson
Create an instance of Issue given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Issue
- Throws:
IOException- if the JSON string is invalid with respect to Issue
-
toJson
Convert an instance of Issue to an JSON string- Returns:
- JSON string
-