Package com.datadog.api.client.v2.model
Class TagRuleCreateData
java.lang.Object
com.datadog.api.client.v2.model.TagRuleCreateData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TagRuleCreateData
extends Object
Data object for creating a tag rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTagRuleCreateData(TagRuleCreateAttributes attributes, TagRuleResourceType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(TagRuleCreateAttributes attributes) booleanReturn true if this TagRuleCreateData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes that can be supplied when creating a tag rule.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(TagRuleCreateAttributes attributes) voidsetType(TagRuleResourceType type) toString()type(TagRuleResourceType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
TagRuleCreateData
public TagRuleCreateData() -
TagRuleCreateData
-
-
Method Details
-
attributes
-
getAttributes
Attributes that can be supplied when creating a tag rule.- Returns:
- attributes
-
setAttributes
-
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:
- TagRuleCreateData
-
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 TagRuleCreateData object is equal to o. -
hashCode
public int hashCode() -
toString
-