Class: DatadogAPIClient::V2::IncidentUserDefinedFieldAttributesUpdateRequest

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb

Overview

Attributes for updating an incident user-defined field. All fields are optional.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



45
46
47
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 45

def additional_properties
  @additional_properties
end

#categoryObject

The section in which the field appears: "what_happened" or "why_it_happened". When null, the field appears in the Attributes section.



25
26
27
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 25

def category
  @category
end

#collectedObject

The lifecycle stage at which the app prompts users to fill out this field. Cannot be set on required fields.



28
29
30
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 28

def collected
  @collected
end

#default_valueObject

The default value for the field. Must be one of the valid values when valid_values is set.



31
32
33
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 31

def default_value
  @default_value
end

#display_nameObject

The human-readable name shown in the UI.



34
35
36
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 34

def display_name
  @display_name
end

#ordinalObject

A decimal string representing the field's display order in the UI.



37
38
39
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 37

def ordinal
  @ordinal
end

#requiredObject

When true, users must fill out this field on incidents.



40
41
42
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 40

def required
  @required
end

#valid_valuesObject

The list of allowed values for dropdown and multiselect fields. Limited to 1000 values.



43
44
45
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_update_request.rb', line 43

def valid_values
  @valid_values
end