Package com.datadog.api.client.v2.model
Class DeploymentGatesEvaluationResultResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.DeploymentGatesEvaluationResultResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeploymentGatesEvaluationResultResponseAttributes
extends Object
Attributes for a deployment gate evaluation result response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeploymentGatesEvaluationResultResponseAttributes(Boolean dryRun, String evaluationId, String evaluationUrl, UUID gateId, DeploymentGatesEvaluationResultResponseAttributesGateStatus gateStatus, List<DeploymentGatesRuleResponse> rules) -
Method Summary
Modifier and TypeMethodDescriptionaddRulesItem(DeploymentGatesRuleResponse rulesItem) booleanReturn true if this DeploymentGatesEvaluationResultResponseAttributes object is equal to o.evaluationId(String evaluationId) evaluationUrl(String evaluationUrl) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the gate was evaluated in dry-run mode.The unique identifier of the gate evaluation.A URL to view the evaluation details in the Datadog UI.The unique identifier of the deployment gate.The recorded result of a gate or rule evaluation.getRules()The results of individual rule evaluations.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rules(List<DeploymentGatesRuleResponse> rules) voidvoidsetEvaluationId(String evaluationId) voidsetEvaluationUrl(String evaluationUrl) voidvoidvoidsetRules(List<DeploymentGatesRuleResponse> rules) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DRY_RUN
- See Also:
-
JSON_PROPERTY_EVALUATION_ID
- See Also:
-
JSON_PROPERTY_EVALUATION_URL
- See Also:
-
JSON_PROPERTY_GATE_ID
- See Also:
-
JSON_PROPERTY_GATE_STATUS
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
-
Constructor Details
-
DeploymentGatesEvaluationResultResponseAttributes
public DeploymentGatesEvaluationResultResponseAttributes() -
DeploymentGatesEvaluationResultResponseAttributes
public DeploymentGatesEvaluationResultResponseAttributes(Boolean dryRun, String evaluationId, String evaluationUrl, UUID gateId, DeploymentGatesEvaluationResultResponseAttributesGateStatus gateStatus, List<DeploymentGatesRuleResponse> rules)
-
-
Method Details
-
dryRun
-
getDryRun
Whether the gate was evaluated in dry-run mode.- Returns:
- dryRun
-
setDryRun
-
evaluationId
-
getEvaluationId
The unique identifier of the gate evaluation.- Returns:
- evaluationId
-
setEvaluationId
-
evaluationUrl
-
getEvaluationUrl
A URL to view the evaluation details in the Datadog UI.- Returns:
- evaluationUrl
-
setEvaluationUrl
-
gateId
-
getGateId
The unique identifier of the deployment gate.- Returns:
- gateId
-
setGateId
-
gateStatus
public DeploymentGatesEvaluationResultResponseAttributes gateStatus(DeploymentGatesEvaluationResultResponseAttributesGateStatus gateStatus) -
getGateStatus
The recorded result of a gate or rule evaluation. -in_progress: The evaluation is still running. -pass: All rules passed successfully. -fail: One or more rules did not pass.- Returns:
- gateStatus
-
setGateStatus
-
rules
public DeploymentGatesEvaluationResultResponseAttributes rules(List<DeploymentGatesRuleResponse> rules) -
addRulesItem
public DeploymentGatesEvaluationResultResponseAttributes addRulesItem(DeploymentGatesRuleResponse rulesItem) -
getRules
The results of individual rule evaluations.- Returns:
- rules
-
setRules
-
putAdditionalProperty
public DeploymentGatesEvaluationResultResponseAttributes 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:
- DeploymentGatesEvaluationResultResponseAttributes
-
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 DeploymentGatesEvaluationResultResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-