Class ScaRequestDataAttributesCommit

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScaRequestDataAttributesCommit extends Object
Metadata about the commit associated with the SCA scan, including author, committer, and branch information.
  • Field Details

  • Constructor Details

    • ScaRequestDataAttributesCommit

      public ScaRequestDataAttributesCommit()
  • Method Details

    • authorDate

      public ScaRequestDataAttributesCommit authorDate(String authorDate)
    • getAuthorDate

      @Nullable public String getAuthorDate()
      The date when the commit was authored.
      Returns:
      authorDate
    • setAuthorDate

      public void setAuthorDate(String authorDate)
    • authorEmail

      public ScaRequestDataAttributesCommit authorEmail(String authorEmail)
    • getAuthorEmail

      @Nullable public String getAuthorEmail()
      The email address of the commit author.
      Returns:
      authorEmail
    • setAuthorEmail

      public void setAuthorEmail(String authorEmail)
    • authorName

      public ScaRequestDataAttributesCommit authorName(String authorName)
    • getAuthorName

      @Nullable public String getAuthorName()
      The full name of the commit author.
      Returns:
      authorName
    • setAuthorName

      public void setAuthorName(String authorName)
    • branch

      public ScaRequestDataAttributesCommit branch(String branch)
    • getBranch

      @Nullable public String getBranch()
      The branch name on which the commit was made.
      Returns:
      branch
    • setBranch

      public void setBranch(String branch)
    • committerEmail

      public ScaRequestDataAttributesCommit committerEmail(String committerEmail)
    • getCommitterEmail

      @Nullable public String getCommitterEmail()
      The email address of the person who committed the change.
      Returns:
      committerEmail
    • setCommitterEmail

      public void setCommitterEmail(String committerEmail)
    • committerName

      public ScaRequestDataAttributesCommit committerName(String committerName)
    • getCommitterName

      @Nullable public String getCommitterName()
      The full name of the person who committed the change.
      Returns:
      committerName
    • setCommitterName

      public void setCommitterName(String committerName)
    • sha

    • getSha

      @Nullable public String getSha()
      The SHA hash uniquely identifying the commit.
      Returns:
      sha
    • setSha

      public void setSha(String sha)
    • putAdditionalProperty

      public ScaRequestDataAttributesCommit 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:
      ScaRequestDataAttributesCommit
    • 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 ScaRequestDataAttributesCommit 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