@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DeploymentGatesRuleResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DRY_RUN |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_REASON |
static String |
JSON_PROPERTY_STATUS |
boolean |
unparsed |
| Constructor and Description |
|---|
DeploymentGatesRuleResponse() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentGatesRuleResponse |
dryRun(Boolean dryRun) |
boolean |
equals(Object o)
Return true if this DeploymentGatesRuleResponse object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getDryRun()
Whether this rule was evaluated in dry-run mode.
|
String |
getName()
The name of the rule.
|
String |
getReason()
The reason for the rule result, if applicable.
|
DeploymentGatesEvaluationResultResponseAttributesGateStatus |
getStatus()
The overall status of the gate evaluation.
|
int |
hashCode() |
DeploymentGatesRuleResponse |
name(String name) |
DeploymentGatesRuleResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
DeploymentGatesRuleResponse |
reason(String reason) |
void |
setDryRun(Boolean dryRun) |
void |
setName(String name) |
void |
setReason(String reason) |
void |
setStatus(DeploymentGatesEvaluationResultResponseAttributesGateStatus status) |
DeploymentGatesRuleResponse |
status(DeploymentGatesEvaluationResultResponseAttributesGateStatus status) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DRY_RUN
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_STATUS
public DeploymentGatesRuleResponse dryRun(Boolean dryRun)
@Nullable public Boolean getDryRun()
public void setDryRun(Boolean dryRun)
public DeploymentGatesRuleResponse name(String name)
@Nullable public String getName()
public void setName(String name)
public DeploymentGatesRuleResponse reason(String reason)
@Nullable public String getReason()
public void setReason(String reason)
public DeploymentGatesRuleResponse status(DeploymentGatesEvaluationResultResponseAttributesGateStatus status)
@Nullable public DeploymentGatesEvaluationResultResponseAttributesGateStatus getStatus()
in_progress: The evaluation is still
running. - pass: All rules passed successfully and the deployment is allowed to
proceed. - fail: One or more rules did not pass; the deployment should not
proceed.public void setStatus(DeploymentGatesEvaluationResultResponseAttributesGateStatus status)
public DeploymentGatesRuleResponse putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.