Class: DatadogAPIClient::V2::EscalationPolicyCreateRequestDataAttributes

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

Overview

Defines the attributes for creating an escalation policy, including its description, name, resolution behavior, retries, and steps.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/escalation_policy_create_request_data_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#descriptionObject

Provides a detailed text description of the new escalation policy.



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

def description
  @description
end

#nameObject

Specifies the name for the new escalation policy.



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

def name
  @name
end

#resolve_page_on_policy_endObject

Indicates whether the page is automatically resolved when the policy ends.



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

def resolve_page_on_policy_end
  @resolve_page_on_policy_end
end

#retriesObject

Specifies how many times the escalation sequence is retried if there is no response.



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

def retries
  @retries
end

#stepsObject

A list of escalation steps, each defining assignment, escalation timeout, and targets for the new policy.



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

def steps
  @steps
end