Package com.datadog.api.client.v2.model
Class CustomAttributeConfigAttributesCreate
java.lang.Object
com.datadog.api.client.v2.model.CustomAttributeConfigAttributesCreate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomAttributeConfigAttributesCreate
extends Object
Attributes required to create a custom attribute configuration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomAttributeConfigAttributesCreate(String displayName, Boolean isMulti, String key, CustomAttributeType type) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) displayName(String displayName) booleanReturn true if this CustomAttributeConfigAttributesCreate object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A description explaining the purpose and expected values for this custom attribute.The human-readable label shown in the Case Management UI for this custom attribute.Iftrue, this attribute accepts an array of values.getKey()The programmatic key used to reference this custom attribute in search queries and API calls.getType()The data type of the custom attribute, which determines the allowed values and UI input control.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetIsMulti(Boolean isMulti) voidvoidsetType(CustomAttributeType type) toString()type(CustomAttributeType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_IS_MULTI
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CustomAttributeConfigAttributesCreate
public CustomAttributeConfigAttributesCreate() -
CustomAttributeConfigAttributesCreate
public CustomAttributeConfigAttributesCreate(String displayName, Boolean isMulti, String key, CustomAttributeType type)
-
-
Method Details
-
description
-
getDescription
A description explaining the purpose and expected values for this custom attribute.- Returns:
- description
-
setDescription
-
displayName
-
getDisplayName
The human-readable label shown in the Case Management UI for this custom attribute.- Returns:
- displayName
-
setDisplayName
-
isMulti
-
getIsMulti
Iftrue, this attribute accepts an array of values. Iffalse, only a single value is allowed.- Returns:
- isMulti
-
setIsMulti
-
key
-
getKey
The programmatic key used to reference this custom attribute in search queries and API calls.- Returns:
- key
-
setKey
-
type
-
getType
The data type of the custom attribute, which determines the allowed values and UI input control.- 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:
- CustomAttributeConfigAttributesCreate
-
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 CustomAttributeConfigAttributesCreate object is equal to o. -
hashCode
public int hashCode() -
toString
-