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 Details

  • Constructor Details

    • CustomAttributeConfigAttributesCreate

      public CustomAttributeConfigAttributesCreate()
    • CustomAttributeConfigAttributesCreate

      public CustomAttributeConfigAttributesCreate(String displayName, Boolean isMulti, String key, CustomAttributeType type)
  • Method Details

    • description

      public CustomAttributeConfigAttributesCreate description(String description)
    • getDescription

      @Nullable public String getDescription()
      A description explaining the purpose and expected values for this custom attribute.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • displayName

      public CustomAttributeConfigAttributesCreate displayName(String displayName)
    • getDisplayName

      public String getDisplayName()
      The human-readable label shown in the Case Management UI for this custom attribute.
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(String displayName)
    • isMulti

    • getIsMulti

      public Boolean getIsMulti()
      If true, this attribute accepts an array of values. If false, only a single value is allowed.
      Returns:
      isMulti
    • setIsMulti

      public void setIsMulti(Boolean isMulti)
    • key

    • getKey

      public String getKey()
      The programmatic key used to reference this custom attribute in search queries and API calls.
      Returns:
      key
    • setKey

      public void setKey(String key)
    • type

    • getType

      public CustomAttributeType getType()
      The data type of the custom attribute, which determines the allowed values and UI input control.
      Returns:
      type
    • setType

      public void setType(CustomAttributeType type)
    • putAdditionalProperty

      public CustomAttributeConfigAttributesCreate putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      CustomAttributeConfigAttributesCreate
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this CustomAttributeConfigAttributesCreate object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object