Package com.datadog.api.client.v2.model
Class DORADeploymentRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.DORADeploymentRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DORADeploymentRequestAttributes
extends Object
Attributes to create a DORA deployment event.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDORADeploymentRequestAttributes(Long finishedAt, String service, Long startedAt) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomTagsItem(String customTagsItem) customTags(List<String> customTags) booleanReturn true if this DORADeploymentRequestAttributes object is equal to o.finishedAt(Long finishedAt) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of user-defined tags.getEnv()Environment name to where the service was deployed.Unix timestamp when the deployment finished.getGit()Git info for DORA Metrics events.getId()Deployment ID.Service name.Unix timestamp when the deployment started.getTeam()Name of the team owning the deployed service.Version to correlate with APM Deployment Tracking.git(DORAGitInfo git) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCustomTags(List<String> customTags) voidsetCustomTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> customTags) voidvoidsetFinishedAt(Long finishedAt) voidsetGit(DORAGitInfo git) voidvoidsetService(String service) voidsetStartedAt(Long startedAt) voidvoidsetVersion(String version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_TAGS
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_FINISHED_AT
- See Also:
-
JSON_PROPERTY_GIT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_TEAM
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
DORADeploymentRequestAttributes
public DORADeploymentRequestAttributes() -
DORADeploymentRequestAttributes
-
-
Method Details
-
customTags
-
addCustomTagsItem
-
getCustomTags
A list of user-defined tags. The tags must follow thekey:valuepattern. Up to 100 may be added per event.- Returns:
- customTags
-
getCustomTags_JsonNullable
-
setCustomTags_JsonNullable
-
setCustomTags
-
env
-
getEnv
Environment name to where the service was deployed.- Returns:
- env
-
setEnv
-
finishedAt
-
getFinishedAt
Unix timestamp when the deployment finished. It must be in nanoseconds, milliseconds, or seconds.- Returns:
- finishedAt
-
setFinishedAt
-
git
-
getGit
Git info for DORA Metrics events.- Returns:
- git
-
setGit
-
id
-
getId
Deployment ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).- Returns:
- id
-
setId
-
service
-
getService
Service name.- Returns:
- service
-
setService
-
startedAt
-
getStartedAt
Unix timestamp when the deployment started. It must be in nanoseconds, milliseconds, or seconds.- Returns:
- startedAt
-
setStartedAt
-
team
-
getTeam
Name of the team owning the deployed service. If not provided, this is automatically populated with the team associated with the service in the Service Catalog.- Returns:
- team
-
setTeam
-
version
-
getVersion
Version to correlate with APM Deployment Tracking.- Returns:
- version
-
setVersion
-
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:
- DORADeploymentRequestAttributes
-
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 DORADeploymentRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-