Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorEmail(String authorEmail) authorName(String authorName) authorTime(String authorTime) committerEmail(String committerEmail) committerName(String committerName) commitTime(String commitTime) defaultBranch(String defaultBranch) booleanReturn true if this CIAppGitInfo object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The commit author email.The commit author name.org.openapitools.jackson.nullable.JsonNullable<String>The commit author timestamp in RFC3339 format.org.openapitools.jackson.nullable.JsonNullable<String>The branch name (if a tag use the tag parameter).org.openapitools.jackson.nullable.JsonNullable<String>The committer email.org.openapitools.jackson.nullable.JsonNullable<String>The committer name.org.openapitools.jackson.nullable.JsonNullable<String>The commit timestamp in RFC3339 format.org.openapitools.jackson.nullable.JsonNullable<String>The Git repository's default branch.org.openapitools.jackson.nullable.JsonNullable<String>The commit message.org.openapitools.jackson.nullable.JsonNullable<String>The URL of the repository.getSha()The git commit SHA.getTag()The tag name (if a branch use the branch parameter).org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.repositoryUrl(String repositoryUrl) voidsetAuthorEmail(String authorEmail) voidsetAuthorName(String authorName) voidsetAuthorName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> authorName) voidsetAuthorTime(String authorTime) voidsetAuthorTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> authorTime) voidvoidsetBranch_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> branch) voidsetCommitterEmail(String committerEmail) voidsetCommitterEmail_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> committerEmail) voidsetCommitterName(String committerName) voidsetCommitterName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> committerName) voidsetCommitTime(String commitTime) voidsetCommitTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> commitTime) voidsetDefaultBranch(String defaultBranch) voidsetDefaultBranch_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> defaultBranch) voidsetMessage(String message) voidsetMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message) voidsetRepositoryUrl(String repositoryUrl) voidvoidvoidsetTag_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> tag) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR_EMAIL
- See Also:
-
JSON_PROPERTY_AUTHOR_NAME
- See Also:
-
JSON_PROPERTY_AUTHOR_TIME
- See Also:
-
JSON_PROPERTY_BRANCH
- See Also:
-
JSON_PROPERTY_COMMIT_TIME
- See Also:
-
JSON_PROPERTY_COMMITTER_EMAIL
- See Also:
-
JSON_PROPERTY_COMMITTER_NAME
- See Also:
-
JSON_PROPERTY_DEFAULT_BRANCH
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_REPOSITORY_URL
- See Also:
-
JSON_PROPERTY_SHA
- See Also:
-
JSON_PROPERTY_TAG
- See Also:
-
-
Constructor Details
-
CIAppGitInfo
public CIAppGitInfo() -
CIAppGitInfo
-
-
Method Details
-
authorEmail
-
getAuthorEmail
The commit author email.- Returns:
- authorEmail
-
setAuthorEmail
-
authorName
-
getAuthorName
The commit author name.- Returns:
- authorName
-
getAuthorName_JsonNullable
-
setAuthorName_JsonNullable
public void setAuthorName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> authorName) -
setAuthorName
-
authorTime
-
getAuthorTime
The commit author timestamp in RFC3339 format.- Returns:
- authorTime
-
getAuthorTime_JsonNullable
-
setAuthorTime_JsonNullable
public void setAuthorTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> authorTime) -
setAuthorTime
-
branch
-
getBranch
The branch name (if a tag use the tag parameter).- Returns:
- branch
-
getBranch_JsonNullable
-
setBranch_JsonNullable
-
setBranch
-
commitTime
-
getCommitTime
The commit timestamp in RFC3339 format.- Returns:
- commitTime
-
getCommitTime_JsonNullable
-
setCommitTime_JsonNullable
public void setCommitTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> commitTime) -
setCommitTime
-
committerEmail
-
getCommitterEmail
The committer email.- Returns:
- committerEmail
-
getCommitterEmail_JsonNullable
-
setCommitterEmail_JsonNullable
public void setCommitterEmail_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> committerEmail) -
setCommitterEmail
-
committerName
-
getCommitterName
The committer name.- Returns:
- committerName
-
getCommitterName_JsonNullable
-
setCommitterName_JsonNullable
public void setCommitterName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> committerName) -
setCommitterName
-
defaultBranch
-
getDefaultBranch
The Git repository's default branch.- Returns:
- defaultBranch
-
getDefaultBranch_JsonNullable
-
setDefaultBranch_JsonNullable
public void setDefaultBranch_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> defaultBranch) -
setDefaultBranch
-
message
-
getMessage
The commit message.- Returns:
- message
-
getMessage_JsonNullable
-
setMessage_JsonNullable
-
setMessage
-
repositoryUrl
-
getRepositoryUrl
The URL of the repository.- Returns:
- repositoryUrl
-
setRepositoryUrl
-
sha
-
getSha
The git commit SHA.- Returns:
- sha
-
setSha
-
tag
-
getTag
The tag name (if a branch use the branch parameter).- Returns:
- tag
-
getTag_JsonNullable
-
setTag_JsonNullable
-
setTag
-
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:
- CIAppGitInfo
-
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 CIAppGitInfo object is equal to o. -
hashCode
public int hashCode() -
toString
-