Class: DatadogAPIClient::V2::IncidentUserDefinedFieldAttributesResponse
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::IncidentUserDefinedFieldAttributesResponse
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb
Overview
Attributes of an incident user-defined field.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#attached_to ⇒ Object
readonly
The resource type this field is attached to.
-
#category ⇒ Object
The section in which the field appears: "what_happened" or "why_it_happened".
-
#collected ⇒ Object
The lifecycle stage at which the app prompts users to fill out this field.
-
#created ⇒ Object
readonly
Timestamp when the field was created.
-
#default_value ⇒ Object
The default value for the field.
-
#deleted ⇒ Object
Timestamp when the field was soft-deleted, or null if not deleted.
-
#display_name ⇒ Object
readonly
The human-readable name shown in the UI.
-
#metadata ⇒ Object
Metadata for autocomplete-type user-defined fields, describing how to populate autocomplete options.
-
#modified ⇒ Object
Timestamp when the field was last modified.
-
#name ⇒ Object
readonly
The unique identifier of the field.
-
#ordinal ⇒ Object
A decimal string representing the field's display order in the UI.
-
#prerequisite ⇒ Object
Reserved for future use.
-
#required ⇒ Object
readonly
When true, users must fill out this field on incidents.
-
#reserved ⇒ Object
readonly
When true, this field is reserved for system use and cannot be deleted.
-
#table_id ⇒ Object
readonly
Reserved for internal use.
-
#tag_key ⇒ Object
For metric tag-type fields only, the metric tag key that powers the autocomplete options.
-
#type ⇒ Object
readonly
The data type of the field.
-
#valid_values ⇒ Object
The list of allowed values for dropdown, multiselect, and autocomplete fields.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
78 79 80 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 78 def additional_properties @additional_properties end |
#attached_to ⇒ Object
The resource type this field is attached to. Always "incidents".
25 26 27 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 25 def attached_to @attached_to end |
#category ⇒ Object
The section in which the field appears: "what_happened" or "why_it_happened". When null, the field appears in the Attributes section.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 28 def category @category end |
#collected ⇒ Object
The lifecycle stage at which the app prompts users to fill out this field. Cannot be set on required fields.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 31 def collected @collected end |
#created ⇒ Object
Timestamp when the field was created.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 34 def created @created end |
#default_value ⇒ Object
The default value for the field.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 37 def default_value @default_value end |
#deleted ⇒ Object
Timestamp when the field was soft-deleted, or null if not deleted.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 40 def deleted @deleted end |
#display_name ⇒ Object
The human-readable name shown in the UI.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 43 def display_name @display_name end |
#metadata ⇒ Object
Metadata for autocomplete-type user-defined fields, describing how to populate autocomplete options.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 46 def @metadata end |
#modified ⇒ Object
Timestamp when the field was last modified.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 49 def modified @modified end |
#name ⇒ Object
The unique identifier of the field.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 52 def name @name end |
#ordinal ⇒ Object
A decimal string representing the field's display order in the UI.
55 56 57 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 55 def ordinal @ordinal end |
#prerequisite ⇒ Object
Reserved for future use. Always null.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 58 def prerequisite @prerequisite end |
#required ⇒ Object
When true, users must fill out this field on incidents.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 61 def required @required end |
#reserved ⇒ Object
When true, this field is reserved for system use and cannot be deleted.
64 65 66 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 64 def reserved @reserved end |
#table_id ⇒ Object
Reserved for internal use. Always 0.
67 68 69 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 67 def table_id @table_id end |
#tag_key ⇒ Object
For metric tag-type fields only, the metric tag key that powers the autocomplete options.
70 71 72 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 70 def tag_key @tag_key end |
#type ⇒ Object
The data type of the field. 1=dropdown, 2=multiselect, 3=textbox, 4=textarray, 5=metrictag, 6=autocomplete, 7=number, 8=datetime.
73 74 75 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 73 def type @type end |
#valid_values ⇒ Object
The list of allowed values for dropdown, multiselect, and autocomplete fields.
76 77 78 |
# File 'lib/datadog_api_client/v2/models/incident_user_defined_field_attributes_response.rb', line 76 def valid_values @valid_values end |