Class: DatadogAPIClient::V2::IncidentTypeConfiguration
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::IncidentTypeConfiguration
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/incident_type_configuration.rb
Overview
The incident-type-scoped behavior settings. All fields are optional on update. Any field omitted from a PATCH request keeps its current value. This object is read-only on the incident type resource itself and is only mutated through the update (PATCH) endpoint.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#allow_incident_deletion ⇒ Object
Whether incidents of this type can be deleted.
-
#allow_workflows ⇒ Object
Whether automation workflows can be triggered for incidents of this type.
-
#create_message ⇒ Object
An optional message shown to users when they declare an incident of this type.
-
#editable_timestamps ⇒ Object
Whether responders can edit incident timestamps for incidents of this type.
-
#private_incidents ⇒ Object
Whether responders can create private incidents of this type.
-
#private_incidents_by_default ⇒ Object
Whether incidents of this type are created as private by default.
-
#slug_source ⇒ Object
When set to
servicenow, incidents will display the ServiceNow record ID instead of the public ID. -
#test_incidents ⇒ Object
Whether incidents of this type are treated as test incidents.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 48 def additional_properties @additional_properties end |
#allow_incident_deletion ⇒ Object
Whether incidents of this type can be deleted.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 25 def allow_incident_deletion @allow_incident_deletion end |
#allow_workflows ⇒ Object
Whether automation workflows can be triggered for incidents of this type.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 28 def allow_workflows @allow_workflows end |
#create_message ⇒ Object
An optional message shown to users when they declare an incident of this type.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 31 def @create_message end |
#editable_timestamps ⇒ Object
Whether responders can edit incident timestamps for incidents of this type.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 34 def @editable_timestamps end |
#private_incidents ⇒ Object
Whether responders can create private incidents of this type. This is an opt-in setting, distinct from private_incidents_by_default, which controls whether incidents are created private automatically.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 37 def private_incidents @private_incidents end |
#private_incidents_by_default ⇒ Object
Whether incidents of this type are created as private by default.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 40 def private_incidents_by_default @private_incidents_by_default end |
#slug_source ⇒ Object
When set to servicenow, incidents will display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID will be displayed.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 43 def slug_source @slug_source end |
#test_incidents ⇒ Object
Whether incidents of this type are treated as test incidents.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/incident_type_configuration.rb', line 46 def test_incidents @test_incidents end |