Package com.datadog.api.client.v2.model
Class CustomAttributeConfigResourceAttributes
java.lang.Object
com.datadog.api.client.v2.model.CustomAttributeConfigResourceAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomAttributeConfigResourceAttributes
extends Object
Attributes of a custom attribute configuration, defining an organization-specific metadata field
that can be added to cases of a given type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomAttributeConfigResourceAttributes(String caseTypeId, String displayName, Boolean isMulti, String key, CustomAttributeType type) -
Method Summary
Modifier and TypeMethodDescriptioncaseTypeId(String caseTypeId) description(String description) displayName(String displayName) booleanReturn true if this CustomAttributeConfigResourceAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The UUID of the case type this custom attribute belongs to.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.voidsetCaseTypeId(String caseTypeId) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetIsMulti(Boolean isMulti) voidvoidsetType(CustomAttributeType type) toString()type(CustomAttributeType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CASE_TYPE_ID
- See Also:
-
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
-
CustomAttributeConfigResourceAttributes
public CustomAttributeConfigResourceAttributes() -
CustomAttributeConfigResourceAttributes
public CustomAttributeConfigResourceAttributes(String caseTypeId, String displayName, Boolean isMulti, String key, CustomAttributeType type)
-
-
Method Details
-
caseTypeId
-
getCaseTypeId
The UUID of the case type this custom attribute belongs to.- Returns:
- caseTypeId
-
setCaseTypeId
-
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:
- CustomAttributeConfigResourceAttributes
-
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 CustomAttributeConfigResourceAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-