Class: DatadogAPIClient::V2::IncidentTypeConfiguration

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_deletionObject

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_workflowsObject

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_messageObject

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
  @create_message
end

#editable_timestampsObject

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
  @editable_timestamps
end

#private_incidentsObject

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_defaultObject

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_sourceObject

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_incidentsObject

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