Class RepoCommit

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

@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 RepoCommit extends Object
RepoCommit
  • Field Details

  • Constructor Details

    • RepoCommit

      public RepoCommit()
  • Method Details

    • author

      public RepoCommit author(@Nullable CommitUser author)
    • getAuthor

      @Nullable public CommitUser getAuthor()
      Get author
      Returns:
      author
    • setAuthor

      public void setAuthor(@Nullable CommitUser author)
    • committer

      public RepoCommit committer(@Nullable CommitUser committer)
    • getCommitter

      @Nullable public CommitUser getCommitter()
      Get committer
      Returns:
      committer
    • setCommitter

      public void setCommitter(@Nullable CommitUser committer)
    • message

      public RepoCommit message(@Nullable String message)
    • getMessage

      @Nullable public String getMessage()
      Get message
      Returns:
      message
    • setMessage

      public void setMessage(@Nullable String message)
    • tree

      public RepoCommit tree(@Nullable CommitMeta tree)
    • getTree

      @Nullable public CommitMeta getTree()
      Get tree
      Returns:
      tree
    • setTree

      public void setTree(@Nullable CommitMeta tree)
    • url

      public RepoCommit url(@Nullable String url)
    • getUrl

      @Nullable public String getUrl()
      Get url
      Returns:
      url
    • setUrl

      public void setUrl(@Nullable String url)
    • verification

      public RepoCommit verification(@Nullable PayloadCommitVerification verification)
    • getVerification

      @Nullable public PayloadCommitVerification getVerification()
      Get verification
      Returns:
      verification
    • setVerification

      public void setVerification(@Nullable PayloadCommitVerification verification)
    • 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 RepoCommit
    • fromJson

      public static RepoCommit fromJson(String jsonString) throws IOException
      Create an instance of RepoCommit given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of RepoCommit
      Throws:
      IOException - if the JSON string is invalid with respect to RepoCommit
    • toJson

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