Package com.datadog.api.client.v2.model
Class TagRuleUpdateData
java.lang.Object
com.datadog.api.client.v2.model.TagRuleUpdateData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TagRuleUpdateData
extends Object
Data object for updating a tag rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(TagRuleUpdateAttributes attributes) booleanReturn true if this TagRuleUpdateData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Mutable attributes of a tag rule.getId()The unique identifier of the tag rule being updated.getType()JSON:API resource type for a tag rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(TagRuleUpdateAttributes attributes) voidvoidsetType(TagRuleResourceType type) toString()type(TagRuleResourceType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
TagRuleUpdateData
public TagRuleUpdateData() -
TagRuleUpdateData
-
-
Method Details
-
attributes
-
getAttributes
Mutable attributes of a tag rule. Each field is optional; omitting a field leaves its current value unchanged. Thesourceof a rule cannot be changed.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The unique identifier of the tag rule being updated.- Returns:
- id
-
setId
-
type
-
getType
JSON:API resource type for a tag rule.- Returns:
- type
-
setType
-
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:
- TagRuleUpdateData
-
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 TagRuleUpdateData object is equal to o. -
hashCode
public int hashCode() -
toString
-