Package com.datadog.api.client.v2.model
Class DeploymentGatesEvaluationConfiguration
java.lang.Object
com.datadog.api.client.v2.model.DeploymentGatesEvaluationConfiguration
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeploymentGatesEvaluationConfiguration
extends Object
Inline rule definitions for a deployment gate evaluation. When provided, rules are evaluated
directly from this configuration instead of using the preconfigured gate rules. At least one rule
is required.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddRulesItem(DeploymentGatesEvaluationRule rulesItem) booleanReturn true if this DeploymentGatesEvaluationConfiguration object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Gate-level dry run.getRules()The list of rules to evaluate.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rules(List<DeploymentGatesEvaluationRule> rules) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DRY_RUN
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
-
Constructor Details
-
DeploymentGatesEvaluationConfiguration
public DeploymentGatesEvaluationConfiguration() -
DeploymentGatesEvaluationConfiguration
-
-
Method Details
-
dryRun
-
getDryRun
Gate-level dry run. When enabled, the rules are evaluated normally but the gate always returnspass. The real result is visible in the Datadog UI.- Returns:
- dryRun
-
setDryRun
-
rules
-
addRulesItem
-
getRules
The list of rules to evaluate. At least one rule is required.- Returns:
- rules
-
setRules
-
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:
- DeploymentGatesEvaluationConfiguration
-
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 DeploymentGatesEvaluationConfiguration object is equal to o. -
hashCode
public int hashCode() -
toString
-