Class GiteaCommit

java.lang.Object
org.jenkinsci.plugin.gitea.client.api.GiteaObject<GiteaCommit>
org.jenkinsci.plugin.gitea.client.api.GiteaCommit
All Implemented Interfaces:
Cloneable

public final class GiteaCommit extends GiteaObject<GiteaCommit>
Represents a commit.
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Gets the SHA1 of the commit.
      Returns:
      the SHA1 of the commit.
    • setId

      public void setId(String id)
      Sets the SHA1 of the commit.
      Parameters:
      id - the SHA1 of the commit.
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getAuthor

      public GiteaCommit.Actor getAuthor()
    • setAuthor

      public void setAuthor(GiteaCommit.Actor author)
    • getCommitter

      public GiteaCommit.Actor getCommitter()
    • setCommitter

      public void setCommitter(GiteaCommit.Actor committer)
    • getTimestamp

      public Date getTimestamp()
    • setTimestamp

      public void setTimestamp(Date timestamp)
    • toString

      public String toString()
      Overrides:
      toString in class Object