Class TimelineComment
java.lang.Object
build.cursed.genapi.forgejo.model.TimelineComment
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T16:24:31.414706+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class TimelineComment
extends Object
TimelineComment represents a timeline comment (comment of any type) on a commit or issue
-
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassigneeTeam(Team assigneeTeam) createdAt(OffsetDateTime createdAt) dependentIssue(Issue dependentIssue) booleanstatic TimelineCommentCreate an instance of TimelineComment given an JSON stringGet assigneeGet assigneeTeamgetBody()Get bodyGet createdAtGet dependentIssueGet htmlUrlgetId()Get idGet issueUrlgetLabel()Get labelGet milestoneGet newRefGet newTitleGet oldMilestoneGet oldProjectIdGet oldRefGet oldTitleGet projectIdGet pullRequestUrlGet refActionGet refCommentcommit SHA where issue/PR was referencedGet refIssuewhether the assignees were removed or addedGet resolveDoerGet reviewIdGet trackedTimegetType()Get typeGet updatedAtgetUser()Get userinthashCode()oldMilestone(Milestone oldMilestone) oldProjectId(Long oldProjectId) pullRequestUrl(String pullRequestUrl) refComment(Comment refComment) refCommitSha(String refCommitSha) removedAssignee(Boolean removedAssignee) resolveDoer(User resolveDoer) voidsetAssignee(User assignee) voidsetAssigneeTeam(Team assigneeTeam) voidvoidsetCreatedAt(OffsetDateTime createdAt) voidsetDependentIssue(Issue dependentIssue) voidsetHtmlUrl(String htmlUrl) voidvoidsetIssueUrl(String issueUrl) voidvoidsetMilestone(Milestone milestone) voidvoidsetNewTitle(String newTitle) voidsetOldMilestone(Milestone oldMilestone) voidsetOldProjectId(Long oldProjectId) voidvoidsetOldTitle(String oldTitle) voidsetProjectId(Long projectId) voidsetPullRequestUrl(String pullRequestUrl) voidsetRefAction(String refAction) voidsetRefComment(Comment refComment) voidsetRefCommitSha(String refCommitSha) voidsetRefIssue(Issue refIssue) voidsetRemovedAssignee(Boolean removedAssignee) voidsetResolveDoer(User resolveDoer) voidsetReviewId(Long reviewId) voidsetTrackedTime(TrackedTime trackedTime) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidtoJson()Convert an instance of TimelineComment to an JSON stringtoString()trackedTime(TrackedTime trackedTime) 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_ASSIGNEE
- See Also:
-
SERIALIZED_NAME_ASSIGNEE_TEAM
- See Also:
-
SERIALIZED_NAME_BODY
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DEPENDENT_ISSUE
- See Also:
-
SERIALIZED_NAME_HTML_URL
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_ISSUE_URL
- See Also:
-
SERIALIZED_NAME_LABEL
- See Also:
-
SERIALIZED_NAME_MILESTONE
- See Also:
-
SERIALIZED_NAME_NEW_REF
- See Also:
-
SERIALIZED_NAME_NEW_TITLE
- See Also:
-
SERIALIZED_NAME_OLD_MILESTONE
- See Also:
-
SERIALIZED_NAME_OLD_PROJECT_ID
- See Also:
-
SERIALIZED_NAME_OLD_REF
- See Also:
-
SERIALIZED_NAME_OLD_TITLE
- See Also:
-
SERIALIZED_NAME_PROJECT_ID
- See Also:
-
SERIALIZED_NAME_PULL_REQUEST_URL
- See Also:
-
SERIALIZED_NAME_REF_ACTION
- See Also:
-
SERIALIZED_NAME_REF_COMMENT
- See Also:
-
SERIALIZED_NAME_REF_COMMIT_SHA
- See Also:
-
SERIALIZED_NAME_REF_ISSUE
- See Also:
-
SERIALIZED_NAME_REMOVED_ASSIGNEE
- See Also:
-
SERIALIZED_NAME_RESOLVE_DOER
- See Also:
-
SERIALIZED_NAME_REVIEW_ID
- See Also:
-
SERIALIZED_NAME_TRACKED_TIME
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TimelineComment
public TimelineComment()
-
-
Method Details
-
assignee
-
getAssignee
Get assignee- Returns:
- assignee
-
setAssignee
-
assigneeTeam
-
getAssigneeTeam
Get assigneeTeam- Returns:
- assigneeTeam
-
setAssigneeTeam
-
body
-
getBody
Get body- Returns:
- body
-
setBody
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
dependentIssue
-
getDependentIssue
Get dependentIssue- Returns:
- dependentIssue
-
setDependentIssue
-
htmlUrl
-
getHtmlUrl
Get htmlUrl- Returns:
- htmlUrl
-
setHtmlUrl
-
id
-
getId
Get id- Returns:
- id
-
setId
-
issueUrl
-
getIssueUrl
Get issueUrl- Returns:
- issueUrl
-
setIssueUrl
-
label
-
getLabel
Get label- Returns:
- label
-
setLabel
-
milestone
-
getMilestone
Get milestone- Returns:
- milestone
-
setMilestone
-
newRef
-
getNewRef
Get newRef- Returns:
- newRef
-
setNewRef
-
newTitle
-
getNewTitle
Get newTitle- Returns:
- newTitle
-
setNewTitle
-
oldMilestone
-
getOldMilestone
Get oldMilestone- Returns:
- oldMilestone
-
setOldMilestone
-
oldProjectId
-
getOldProjectId
Get oldProjectId- Returns:
- oldProjectId
-
setOldProjectId
-
oldRef
-
getOldRef
Get oldRef- Returns:
- oldRef
-
setOldRef
-
oldTitle
-
getOldTitle
Get oldTitle- Returns:
- oldTitle
-
setOldTitle
-
projectId
-
getProjectId
Get projectId- Returns:
- projectId
-
setProjectId
-
pullRequestUrl
-
getPullRequestUrl
Get pullRequestUrl- Returns:
- pullRequestUrl
-
setPullRequestUrl
-
refAction
-
getRefAction
Get refAction- Returns:
- refAction
-
setRefAction
-
refComment
-
getRefComment
Get refComment- Returns:
- refComment
-
setRefComment
-
refCommitSha
-
getRefCommitSha
commit SHA where issue/PR was referenced- Returns:
- refCommitSha
-
setRefCommitSha
-
refIssue
-
getRefIssue
Get refIssue- Returns:
- refIssue
-
setRefIssue
-
removedAssignee
-
getRemovedAssignee
whether the assignees were removed or added- Returns:
- removedAssignee
-
setRemovedAssignee
-
resolveDoer
-
getResolveDoer
Get resolveDoer- Returns:
- resolveDoer
-
setResolveDoer
-
reviewId
-
getReviewId
Get reviewId- Returns:
- reviewId
-
setReviewId
-
trackedTime
-
getTrackedTime
Get trackedTime- Returns:
- trackedTime
-
setTrackedTime
-
type
-
getType
Get type- Returns:
- type
-
setType
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
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 TimelineComment
-
fromJson
Create an instance of TimelineComment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TimelineComment
- Throws:
IOException- if the JSON string is invalid with respect to TimelineComment
-
toJson
Convert an instance of TimelineComment to an JSON string- Returns:
- JSON string
-