Package com.datadog.api.client.v2.model
Class TargetingRuleRequest
java.lang.Object
com.datadog.api.client.v2.model.TargetingRuleRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TargetingRuleRequest
extends Object
Targeting rule request payload.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(ConditionRequest conditionsItem) conditions(List<ConditionRequest> conditions) booleanReturn true if this TargetingRuleRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Conditions that must match for this rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConditions(List<ConditionRequest> conditions) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONDITIONS
- See Also:
-
-
Constructor Details
-
TargetingRuleRequest
public TargetingRuleRequest() -
TargetingRuleRequest
-
-
Method Details
-
conditions
-
addConditionsItem
-
getConditions
Conditions that must match for this rule.- Returns:
- conditions
-
setConditions
-
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:
- TargetingRuleRequest
-
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 TargetingRuleRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-