Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorDate(String authorDate) authorEmail(String authorEmail) authorName(String authorName) committerEmail(String committerEmail) committerName(String committerName) booleanReturn true if this ScaRequestDataAttributesCommit object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The date when the commit was authored.The email address of the commit author.The full name of the commit author.The branch name on which the commit was made.The email address of the person who committed the change.The full name of the person who committed the change.getSha()The SHA hash uniquely identifying the commit.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAuthorDate(String authorDate) voidsetAuthorEmail(String authorEmail) voidsetAuthorName(String authorName) voidvoidsetCommitterEmail(String committerEmail) voidsetCommitterName(String committerName) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR_DATE
- See Also:
-
JSON_PROPERTY_AUTHOR_EMAIL
- See Also:
-
JSON_PROPERTY_AUTHOR_NAME
- See Also:
-
JSON_PROPERTY_BRANCH
- See Also:
-
JSON_PROPERTY_COMMITTER_EMAIL
- See Also:
-
JSON_PROPERTY_COMMITTER_NAME
- See Also:
-
JSON_PROPERTY_SHA
- See Also:
-
-
Constructor Details
-
ScaRequestDataAttributesCommit
public ScaRequestDataAttributesCommit()
-
-
Method Details
-
authorDate
-
getAuthorDate
The date when the commit was authored.- Returns:
- authorDate
-
setAuthorDate
-
authorEmail
-
getAuthorEmail
The email address of the commit author.- Returns:
- authorEmail
-
setAuthorEmail
-
authorName
-
getAuthorName
The full name of the commit author.- Returns:
- authorName
-
setAuthorName
-
branch
-
getBranch
The branch name on which the commit was made.- Returns:
- branch
-
setBranch
-
committerEmail
-
getCommitterEmail
The email address of the person who committed the change.- Returns:
- committerEmail
-
setCommitterEmail
-
committerName
-
getCommitterName
The full name of the person who committed the change.- Returns:
- committerName
-
setCommitterName
-
sha
-
getSha
The SHA hash uniquely identifying the commit.- Returns:
- sha
-
setSha
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- ScaRequestDataAttributesCommit
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this ScaRequestDataAttributesCommit object is equal to o. -
hashCode
public int hashCode() -
toString
-