Package com.datadog.api.client.v2.model
Class DeploymentGatesRuleResponse
java.lang.Object
com.datadog.api.client.v2.model.DeploymentGatesRuleResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeploymentGatesRuleResponse
extends Object
The result of a single rule evaluation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DeploymentGatesRuleResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether this rule was evaluated in dry-run mode.getName()The name of the rule.The reason for the rule result, if applicable.The recorded result of a gate or rule evaluation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DRY_RUN
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
DeploymentGatesRuleResponse
public DeploymentGatesRuleResponse()
-
-
Method Details
-
dryRun
-
getDryRun
Whether this rule was evaluated in dry-run mode.- Returns:
- dryRun
-
setDryRun
-
name
-
getName
The name of the rule.- Returns:
- name
-
setName
-
reason
-
getReason
The reason for the rule result, if applicable.- Returns:
- reason
-
setReason
-
status
public DeploymentGatesRuleResponse status(DeploymentGatesEvaluationResultResponseAttributesGateStatus status) -
getStatus
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:
- status
-
setStatus
-
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:
- DeploymentGatesRuleResponse
-
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 DeploymentGatesRuleResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-