Class CIAppGitInfo

java.lang.Object
com.datadog.api.client.v2.model.CIAppGitInfo

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppGitInfo extends Object
If pipelines are triggered due to actions to a Git repository, then all payloads must contain this. Note that either tag or branch has to be provided, but not both.
  • Field Details

  • Constructor Details

    • CIAppGitInfo

      public CIAppGitInfo()
    • CIAppGitInfo

      public CIAppGitInfo(String authorEmail, String repositoryUrl, String sha)
  • Method Details

    • authorEmail

      public CIAppGitInfo authorEmail(String authorEmail)
    • getAuthorEmail

      public String getAuthorEmail()
      The commit author email.
      Returns:
      authorEmail
    • setAuthorEmail

      public void setAuthorEmail(String authorEmail)
    • authorName

      public CIAppGitInfo authorName(String authorName)
    • getAuthorName

      @Nullable public String getAuthorName()
      The commit author name.
      Returns:
      authorName
    • getAuthorName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getAuthorName_JsonNullable()
    • setAuthorName_JsonNullable

      public void setAuthorName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> authorName)
    • setAuthorName

      public void setAuthorName(String authorName)
    • authorTime

      public CIAppGitInfo authorTime(String authorTime)
    • getAuthorTime

      @Nullable public String getAuthorTime()
      The commit author timestamp in RFC3339 format.
      Returns:
      authorTime
    • getAuthorTime_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getAuthorTime_JsonNullable()
    • setAuthorTime_JsonNullable

      public void setAuthorTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> authorTime)
    • setAuthorTime

      public void setAuthorTime(String authorTime)
    • branch

      public CIAppGitInfo branch(String branch)
    • getBranch

      @Nullable public String getBranch()
      The branch name (if a tag use the tag parameter).
      Returns:
      branch
    • getBranch_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getBranch_JsonNullable()
    • setBranch_JsonNullable

      public void setBranch_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> branch)
    • setBranch

      public void setBranch(String branch)
    • commitTime

      public CIAppGitInfo commitTime(String commitTime)
    • getCommitTime

      @Nullable public String getCommitTime()
      The commit timestamp in RFC3339 format.
      Returns:
      commitTime
    • getCommitTime_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCommitTime_JsonNullable()
    • setCommitTime_JsonNullable

      public void setCommitTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> commitTime)
    • setCommitTime

      public void setCommitTime(String commitTime)
    • committerEmail

      public CIAppGitInfo committerEmail(String committerEmail)
    • getCommitterEmail

      @Nullable public String getCommitterEmail()
      The committer email.
      Returns:
      committerEmail
    • getCommitterEmail_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCommitterEmail_JsonNullable()
    • setCommitterEmail_JsonNullable

      public void setCommitterEmail_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> committerEmail)
    • setCommitterEmail

      public void setCommitterEmail(String committerEmail)
    • committerName

      public CIAppGitInfo committerName(String committerName)
    • getCommitterName

      @Nullable public String getCommitterName()
      The committer name.
      Returns:
      committerName
    • getCommitterName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCommitterName_JsonNullable()
    • setCommitterName_JsonNullable

      public void setCommitterName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> committerName)
    • setCommitterName

      public void setCommitterName(String committerName)
    • defaultBranch

      public CIAppGitInfo defaultBranch(String defaultBranch)
    • getDefaultBranch

      @Nullable public String getDefaultBranch()
      The Git repository's default branch.
      Returns:
      defaultBranch
    • getDefaultBranch_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getDefaultBranch_JsonNullable()
    • setDefaultBranch_JsonNullable

      public void setDefaultBranch_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> defaultBranch)
    • setDefaultBranch

      public void setDefaultBranch(String defaultBranch)
    • message

      public CIAppGitInfo message(String message)
    • getMessage

      @Nullable public String getMessage()
      The commit message.
      Returns:
      message
    • getMessage_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getMessage_JsonNullable()
    • setMessage_JsonNullable

      public void setMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message)
    • setMessage

      public void setMessage(String message)
    • repositoryUrl

      public CIAppGitInfo repositoryUrl(String repositoryUrl)
    • getRepositoryUrl

      public String getRepositoryUrl()
      The URL of the repository.
      Returns:
      repositoryUrl
    • setRepositoryUrl

      public void setRepositoryUrl(String repositoryUrl)
    • sha

      public CIAppGitInfo sha(String sha)
    • getSha

      public String getSha()
      The git commit SHA.
      Returns:
      sha
    • setSha

      public void setSha(String sha)
    • tag

      public CIAppGitInfo tag(String tag)
    • getTag

      @Nullable public String getTag()
      The tag name (if a branch use the branch parameter).
      Returns:
      tag
    • getTag_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getTag_JsonNullable()
    • setTag_JsonNullable

      public void setTag_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> tag)
    • setTag

      public void setTag(String tag)
    • putAdditionalProperty

      public CIAppGitInfo putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      CIAppGitInfo
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this CIAppGitInfo object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object