Class IncidentUserDefinedFieldValidValue

java.lang.Object
com.datadog.api.client.v2.model.IncidentUserDefinedFieldValidValue

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentUserDefinedFieldValidValue extends Object
A valid value for an incident user-defined field.
  • Field Details

  • Constructor Details

    • IncidentUserDefinedFieldValidValue

      public IncidentUserDefinedFieldValidValue()
    • IncidentUserDefinedFieldValidValue

      public IncidentUserDefinedFieldValidValue(String displayName, String value)
  • Method Details

    • description

      public IncidentUserDefinedFieldValidValue description(String description)
    • getDescription

      @Nullable public String getDescription()
      A detailed description of the valid value.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • displayName

      public IncidentUserDefinedFieldValidValue displayName(String displayName)
    • getDisplayName

      public String getDisplayName()
      The human-readable display name for this value.
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(String displayName)
    • shortDescription

      public IncidentUserDefinedFieldValidValue shortDescription(String shortDescription)
    • getShortDescription

      @Nullable public String getShortDescription()
      A short description of the valid value.
      Returns:
      shortDescription
    • setShortDescription

      public void setShortDescription(String shortDescription)
    • value

    • getValue

      public String getValue()
      The identifier that is stored when this option is selected.
      Returns:
      value
    • setValue

      public void setValue(String value)
    • putAdditionalProperty

      public IncidentUserDefinedFieldValidValue 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:
      IncidentUserDefinedFieldValidValue
    • 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 IncidentUserDefinedFieldValidValue 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