Class PullReview

java.lang.Object
build.cursed.genapi.forgejo.model.PullReview

@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 PullReview extends Object
PullReview represents a pull request review
  • Field Details

  • Constructor Details

    • PullReview

      public PullReview()
  • Method Details

    • body

      public PullReview body(@Nullable String body)
    • getBody

      @Nullable public String getBody()
      Get body
      Returns:
      body
    • setBody

      public void setBody(@Nullable String body)
    • commentsCount

      public PullReview commentsCount(@Nullable Long commentsCount)
    • getCommentsCount

      @Nullable public Long getCommentsCount()
      Get commentsCount
      Returns:
      commentsCount
    • setCommentsCount

      public void setCommentsCount(@Nullable Long commentsCount)
    • commitId

      public PullReview commitId(@Nullable String commitId)
    • getCommitId

      @Nullable public String getCommitId()
      Get commitId
      Returns:
      commitId
    • setCommitId

      public void setCommitId(@Nullable String commitId)
    • dismissed

      public PullReview dismissed(@Nullable Boolean dismissed)
    • getDismissed

      @Nullable public Boolean getDismissed()
      Get dismissed
      Returns:
      dismissed
    • setDismissed

      public void setDismissed(@Nullable Boolean dismissed)
    • htmlUrl

      public PullReview htmlUrl(@Nullable String htmlUrl)
    • getHtmlUrl

      @Nullable public String getHtmlUrl()
      Get htmlUrl
      Returns:
      htmlUrl
    • setHtmlUrl

      public void setHtmlUrl(@Nullable String htmlUrl)
    • id

      public PullReview id(@Nullable Long id)
    • getId

      @Nullable public Long getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nullable Long id)
    • official

      public PullReview official(@Nullable Boolean official)
    • getOfficial

      @Nullable public Boolean getOfficial()
      Get official
      Returns:
      official
    • setOfficial

      public void setOfficial(@Nullable Boolean official)
    • pullRequestUrl

      public PullReview pullRequestUrl(@Nullable String pullRequestUrl)
    • getPullRequestUrl

      @Nullable public String getPullRequestUrl()
      Get pullRequestUrl
      Returns:
      pullRequestUrl
    • setPullRequestUrl

      public void setPullRequestUrl(@Nullable String pullRequestUrl)
    • stale

      public PullReview stale(@Nullable Boolean stale)
    • getStale

      @Nullable public Boolean getStale()
      Get stale
      Returns:
      stale
    • setStale

      public void setStale(@Nullable Boolean stale)
    • state

      public PullReview state(@Nullable String state)
    • getState

      @Nullable public String getState()
      ReviewStateType review state type
      Returns:
      state
    • setState

      public void setState(@Nullable String state)
    • submittedAt

      public PullReview submittedAt(@Nullable OffsetDateTime submittedAt)
    • getSubmittedAt

      @Nullable public OffsetDateTime getSubmittedAt()
      Get submittedAt
      Returns:
      submittedAt
    • setSubmittedAt

      public void setSubmittedAt(@Nullable OffsetDateTime submittedAt)
    • team

      public PullReview team(@Nullable Team team)
    • getTeam

      @Nullable public Team getTeam()
      Get team
      Returns:
      team
    • setTeam

      public void setTeam(@Nullable Team team)
    • updatedAt

      public PullReview updatedAt(@Nullable OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Get updatedAt
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable OffsetDateTime updatedAt)
    • user

      public PullReview user(@Nullable User user)
    • getUser

      @Nullable public User getUser()
      Get user
      Returns:
      user
    • setUser

      public void setUser(@Nullable User user)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static PullReview fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of PullReview to an JSON string
      Returns:
      JSON string