Class: DatadogAPIClient::V2::DORAIncidentRequestAttributes

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

Overview

Attributes to create a DORA incident event.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb', line 54

def additional_properties
  @additional_properties
end

#envObject

Environment name that was impacted by the incident.



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

def env
  @env
end

#finished_atObject

Unix timestamp when the incident finished. It must be in nanoseconds, milliseconds, or seconds, and it should not be older than 1 hour.



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

def finished_at
  @finished_at
end

#gitObject

Git info for DORA Metrics events.



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

def git
  @git
end

#idObject

Incident ID. Required to update a previously sent incident.



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

def id
  @id
end

#nameObject

Incident name.



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

def name
  @name
end

#servicesObject

Service names impacted by the incident. If possible, use names registered in the Service Catalog. Required when the team field is not provided.



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

def services
  @services
end

#severityObject

Incident severity.



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

def severity
  @severity
end

#started_atObject

Unix timestamp when the incident started. It must be in nanoseconds, milliseconds, or seconds.



46
47
48
# File 'lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb', line 46

def started_at
  @started_at
end

#teamObject

Name of the team owning the services impacted. If possible, use team handles registered in Datadog. Required when the services field is not provided.



49
50
51
# File 'lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb', line 49

def team
  @team
end

#versionObject

Version to correlate with [APM Deployment Tracking](docs.datadoghq.com/tracing/services/deployment_tracking/).



52
53
54
# File 'lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb', line 52

def version
  @version
end