Package com.datadog.api.client.v2.model
Class UpdateRulesetRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.UpdateRulesetRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpdateRulesetRequestDataAttributes
extends Object
The definition of
UpdateRulesetRequestDataAttributes object.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateRulesetRequestDataAttributes(Boolean enabled, List<UpdateRulesetRequestDataAttributesRulesItems> rules) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UpdateRulesetRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Theattributesenabled.Theattributeslast_version.getRules()Theattributesrules.inthashCode()lastVersion(Long lastVersion) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEnabled(Boolean enabled) voidsetLastVersion(Long lastVersion) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_LAST_VERSION
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
-
Constructor Details
-
UpdateRulesetRequestDataAttributes
public UpdateRulesetRequestDataAttributes() -
UpdateRulesetRequestDataAttributes
public UpdateRulesetRequestDataAttributes(Boolean enabled, List<UpdateRulesetRequestDataAttributesRulesItems> rules)
-
-
Method Details
-
enabled
-
getEnabled
Theattributesenabled.- Returns:
- enabled
-
setEnabled
-
lastVersion
-
getLastVersion
Theattributeslast_version.- Returns:
- lastVersion
-
setLastVersion
-
rules
public UpdateRulesetRequestDataAttributes rules(List<UpdateRulesetRequestDataAttributesRulesItems> rules) -
addRulesItem
public UpdateRulesetRequestDataAttributes addRulesItem(UpdateRulesetRequestDataAttributesRulesItems rulesItem) -
getRules
Theattributesrules.- 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:
- UpdateRulesetRequestDataAttributes
-
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 UpdateRulesetRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-