Class PullReview
java.lang.Object
build.cursed.genapi.forgejo.model.PullReview
@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 PullReview
extends Object
PullReview represents a pull request review
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommentsCount(Long commentsCount) booleanstatic PullReviewCreate an instance of PullReview given an JSON stringgetBody()Get bodyGet commentsCountGet commitIdGet dismissedGet htmlUrlgetId()Get idGet officialGet pullRequestUrlgetStale()Get stalegetState()ReviewStateType review state typeGet submittedAtgetTeam()Get teamGet updatedAtgetUser()Get userinthashCode()pullRequestUrl(String pullRequestUrl) voidvoidsetCommentsCount(Long commentsCount) voidsetCommitId(String commitId) voidsetDismissed(Boolean dismissed) voidsetHtmlUrl(String htmlUrl) voidvoidsetOfficial(Boolean official) voidsetPullRequestUrl(String pullRequestUrl) voidvoidvoidsetSubmittedAt(OffsetDateTime submittedAt) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidsubmittedAt(OffsetDateTime submittedAt) toJson()Convert an instance of PullReview 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_BODY
- See Also:
-
SERIALIZED_NAME_COMMENTS_COUNT
- See Also:
-
SERIALIZED_NAME_COMMIT_ID
- See Also:
-
SERIALIZED_NAME_DISMISSED
- See Also:
-
SERIALIZED_NAME_HTML_URL
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OFFICIAL
- See Also:
-
SERIALIZED_NAME_PULL_REQUEST_URL
- See Also:
-
SERIALIZED_NAME_STALE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_SUBMITTED_AT
- See Also:
-
SERIALIZED_NAME_TEAM
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PullReview
public PullReview()
-
-
Method Details
-
body
-
getBody
Get body- Returns:
- body
-
setBody
-
commentsCount
-
getCommentsCount
Get commentsCount- Returns:
- commentsCount
-
setCommentsCount
-
commitId
-
getCommitId
Get commitId- Returns:
- commitId
-
setCommitId
-
dismissed
-
getDismissed
Get dismissed- Returns:
- dismissed
-
setDismissed
-
htmlUrl
-
getHtmlUrl
Get htmlUrl- Returns:
- htmlUrl
-
setHtmlUrl
-
id
-
getId
Get id- Returns:
- id
-
setId
-
official
-
getOfficial
Get official- Returns:
- official
-
setOfficial
-
pullRequestUrl
-
getPullRequestUrl
Get pullRequestUrl- Returns:
- pullRequestUrl
-
setPullRequestUrl
-
stale
-
getStale
Get stale- Returns:
- stale
-
setStale
-
state
-
getState
ReviewStateType review state type- Returns:
- state
-
setState
-
submittedAt
-
getSubmittedAt
Get submittedAt- Returns:
- submittedAt
-
setSubmittedAt
-
team
-
getTeam
Get team- Returns:
- team
-
setTeam
-
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 PullReview
-
fromJson
Create an instance of PullReview given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PullReview
- Throws:
IOException- if the JSON string is invalid with respect to PullReview
-
toJson
Convert an instance of PullReview to an JSON string- Returns:
- JSON string
-