Package com.datadog.api.client.v2.model
Class IncidentUserDefinedFieldAttributesResponse
java.lang.Object
com.datadog.api.client.v2.model.IncidentUserDefinedFieldAttributesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentUserDefinedFieldAttributesResponse
extends Object
Attributes of an incident user-defined field.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionIncidentUserDefinedFieldAttributesResponse(IncidentUserDefinedFieldCategory category, IncidentUserDefinedFieldCollected collected, OffsetDateTime created, String defaultValue, OffsetDateTime deleted, String displayName, IncidentUserDefinedFieldMetadata metadata, OffsetDateTime modified, String name, String ordinal, Boolean required, Boolean reserved, String tagKey, Integer type, List<IncidentUserDefinedFieldValidValue> validValues) -
Method Summary
Modifier and TypeMethodDescriptionaddValidValuesItem(IncidentUserDefinedFieldValidValue validValuesItem) category(IncidentUserDefinedFieldCategory category) collected(IncidentUserDefinedFieldCollected collected) defaultValue(String defaultValue) displayName(String displayName) booleanReturn true if this IncidentUserDefinedFieldAttributesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The section in which the field appears: "what_happened" or "why_it_happened".The lifecycle stage at which the app prompts users to fill out this field.Timestamp when the field was created.The default value for the field.Timestamp when the field was soft-deleted, or null if not deleted.The human-readable name shown in the UI.Metadata for autocomplete-type user-defined fields, describing how to populate autocomplete options.Timestamp when the field was last modified.getName()The unique identifier of the field.A decimal string representing the field's display order in the UI.When true, users must fill out this field on incidents.When true, this field is reserved for system use and cannot be deleted.For metric tag-type fields only, the metric tag key that powers the autocomplete options.getType()The data type of the field.The list of allowed values for dropdown, multiselect, and autocomplete fields.inthashCode()metadata(IncidentUserDefinedFieldMetadata metadata) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCategory(IncidentUserDefinedFieldCategory category) voidsetCollected(IncidentUserDefinedFieldCollected collected) voidsetDefaultValue(String defaultValue) voidsetDisplayName(String displayName) voidsetMetadata(IncidentUserDefinedFieldMetadata metadata) voidvoidsetOrdinal(String ordinal) voidsetRequired(Boolean required) voidvoidvoidsetValidValues(List<IncidentUserDefinedFieldValidValue> validValues) toString()validValues(List<IncidentUserDefinedFieldValidValue> validValues)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_COLLECTED
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DEFAULT_VALUE
- See Also:
-
JSON_PROPERTY_DELETED
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ORDINAL
- See Also:
-
JSON_PROPERTY_REQUIRED
- See Also:
-
JSON_PROPERTY_RESERVED
- See Also:
-
JSON_PROPERTY_TAG_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALID_VALUES
- See Also:
-
-
Constructor Details
-
IncidentUserDefinedFieldAttributesResponse
public IncidentUserDefinedFieldAttributesResponse() -
IncidentUserDefinedFieldAttributesResponse
public IncidentUserDefinedFieldAttributesResponse(IncidentUserDefinedFieldCategory category, IncidentUserDefinedFieldCollected collected, OffsetDateTime created, String defaultValue, OffsetDateTime deleted, String displayName, IncidentUserDefinedFieldMetadata metadata, OffsetDateTime modified, String name, String ordinal, Boolean required, Boolean reserved, String tagKey, Integer type, List<IncidentUserDefinedFieldValidValue> validValues)
-
-
Method Details
-
category
public IncidentUserDefinedFieldAttributesResponse category(IncidentUserDefinedFieldCategory category) -
getCategory
The section in which the field appears: "what_happened" or "why_it_happened". When null, the field appears in the Attributes section.- Returns:
- category
-
setCategory
-
collected
public IncidentUserDefinedFieldAttributesResponse collected(IncidentUserDefinedFieldCollected collected) -
getCollected
The lifecycle stage at which the app prompts users to fill out this field. Cannot be set on required fields.- Returns:
- collected
-
setCollected
-
getCreated
Timestamp when the field was created.- Returns:
- created
-
defaultValue
-
getDefaultValue
The default value for the field.- Returns:
- defaultValue
-
setDefaultValue
-
getDeleted
Timestamp when the field was soft-deleted, or null if not deleted.- Returns:
- deleted
-
displayName
-
getDisplayName
The human-readable name shown in the UI.- Returns:
- displayName
-
setDisplayName
-
metadata
public IncidentUserDefinedFieldAttributesResponse metadata(IncidentUserDefinedFieldMetadata metadata) -
getMetadata
Metadata for autocomplete-type user-defined fields, describing how to populate autocomplete options.- Returns:
- metadata
-
setMetadata
-
getModified
Timestamp when the field was last modified.- Returns:
- modified
-
name
-
getName
The unique identifier of the field.- Returns:
- name
-
setName
-
ordinal
-
getOrdinal
A decimal string representing the field's display order in the UI.- Returns:
- ordinal
-
setOrdinal
-
required
-
getRequired
When true, users must fill out this field on incidents.- Returns:
- required
-
setRequired
-
getReserved
When true, this field is reserved for system use and cannot be deleted.- Returns:
- reserved
-
tagKey
-
getTagKey
For metric tag-type fields only, the metric tag key that powers the autocomplete options.- Returns:
- tagKey
-
setTagKey
-
type
-
getType
The data type of the field. 1=dropdown, 2=multiselect, 3=textbox, 4=textarray, 5=metrictag, 6=autocomplete, 7=number, 8=datetime. minimum: 1 maximum: 8- Returns:
- type
-
setType
-
validValues
public IncidentUserDefinedFieldAttributesResponse validValues(List<IncidentUserDefinedFieldValidValue> validValues) -
addValidValuesItem
public IncidentUserDefinedFieldAttributesResponse addValidValuesItem(IncidentUserDefinedFieldValidValue validValuesItem) -
getValidValues
The list of allowed values for dropdown, multiselect, and autocomplete fields.- Returns:
- validValues
-
setValidValues
-
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:
- IncidentUserDefinedFieldAttributesResponse
-
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 IncidentUserDefinedFieldAttributesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-