Package com.datadog.api.client.v2.model
Class DORADeploymentPatchByVersionRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.DORADeploymentPatchByVersionRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DORADeploymentPatchByVersionRequestAttributes
extends Object
Attributes for patching a DORA deployment event identified by service, environment, and version.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDORADeploymentPatchByVersionRequestAttributes(Boolean changeFailure, String env, String service, String version) -
Method Summary
Modifier and TypeMethodDescriptionchangeFailure(Boolean changeFailure) booleanReturn true if this DORADeploymentPatchByVersionRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Indicates whether the deployment resulted in a change failure.getEnv()The environment the deployment was performed in.Remediation details for the deployment.The name of the service that was deployed.The version deployed.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.remediation(DORADeploymentPatchByVersionRemediation remediation) voidsetChangeFailure(Boolean changeFailure) voidvoidsetRemediation(DORADeploymentPatchByVersionRemediation remediation) voidsetService(String service) voidsetVersion(String version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHANGE_FAILURE
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_REMEDIATION
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
DORADeploymentPatchByVersionRequestAttributes
public DORADeploymentPatchByVersionRequestAttributes() -
DORADeploymentPatchByVersionRequestAttributes
-
-
Method Details
-
changeFailure
-
getChangeFailure
Indicates whether the deployment resulted in a change failure.- Returns:
- changeFailure
-
setChangeFailure
-
env
-
getEnv
The environment the deployment was performed in.- Returns:
- env
-
setEnv
-
remediation
public DORADeploymentPatchByVersionRequestAttributes remediation(DORADeploymentPatchByVersionRemediation remediation) -
getRemediation
Remediation details for the deployment. Optional, but required to calculate failed deployment recovery time. Specify eitheridorversionto identify the remediation deployment, but not both.- Returns:
- remediation
-
setRemediation
-
service
-
getService
The name of the service that was deployed.- Returns:
- service
-
setService
-
version
-
getVersion
The version deployed. This can be seen in the Service Catalog or in the APM Deployment Tracking.- Returns:
- version
-
setVersion
-
putAdditionalProperty
public DORADeploymentPatchByVersionRequestAttributes 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 setvalue- The associated value- Returns:
- DORADeploymentPatchByVersionRequestAttributes
-
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 DORADeploymentPatchByVersionRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-