Package com.datadog.api.client.v2.model
Class RuleBasedViewAttributes
java.lang.Object
com.datadog.api.client.v2.model.RuleBasedViewAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RuleBasedViewAttributes
extends Object
Attributes of the rule-based view.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRulesItem(RuleBasedViewRule rulesItem) booleanReturn true if this RuleBasedViewAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCount()Total number of rules in the view.getRules()List of rules in the rule-based view.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rules(List<RuleBasedViewRule> rules) voidvoidsetRules(List<RuleBasedViewRule> rules) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
-
Constructor Details
-
RuleBasedViewAttributes
public RuleBasedViewAttributes() -
RuleBasedViewAttributes
-
-
Method Details
-
count
-
getCount
Total number of rules in the view.- Returns:
- count
-
setCount
-
rules
-
addRulesItem
-
getRules
List of rules in the rule-based view.- 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:
- RuleBasedViewAttributes
-
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 RuleBasedViewAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-