incident_io_api 2.73.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/incident_io/api/escalation_paths_v2_api.rb +361 -0
- data/lib/incident_io/api/escalations_v2_api.rb +0 -339
- data/lib/incident_io/models/{escalations_create_path_payload_v2.rb → escalation_paths_create_payload_v2.rb} +3 -3
- data/lib/incident_io/models/{escalations_update_path_result_v2.rb → escalation_paths_create_result_v2.rb} +3 -3
- data/lib/incident_io/models/{escalations_list_paths_result_v2.rb → escalation_paths_list_result_v2.rb} +3 -3
- data/lib/incident_io/models/{escalations_show_path_result_v2.rb → escalation_paths_show_result_v2.rb} +3 -3
- data/lib/incident_io/models/{escalations_update_path_payload_v2.rb → escalation_paths_update_payload_v2.rb} +3 -3
- data/lib/incident_io/models/{escalations_create_path_result_v2.rb → escalation_paths_update_result_v2.rb} +3 -3
- data/lib/incident_io/models/managed_resource_v2.rb +1 -1
- data/lib/incident_io/models/managed_resources_create_managed_resource_payload_v2.rb +1 -1
- data/lib/incident_io/version.rb +1 -1
- data/lib/incident_io.rb +7 -6
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84200041c95ab1f0604141270a488f07875cc413b08c997ba2a25411764a4f3e
|
|
4
|
+
data.tar.gz: 061f296b7e3ebcee33f23dd1d8c07eaf24ef9edb10804e67b3715a0104116cda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 441b48a7dc20fe3d7f3bf48fd7d4755792fc10abfad858e83e614852fc61395fe73d450b769f61d29b17f6f2f14fa5712f6d1aae08abf154f29f95ab03ab8b95
|
|
7
|
+
data.tar.gz: a300445a54dd2d968e96de06a43ab961237d5d32808a7644294b13f2ed8f7b5bf3b78a295e27e490820ad4e8b15865811da5ed3323d1c17e9eeda92dbecd8931
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#incident.io
|
|
3
|
+
|
|
4
|
+
#Ruby client for the incident.io API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.25.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module IncidentIo
|
|
16
|
+
class EscalationPathsV2Api
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create Escalation Paths V2
|
|
23
|
+
# Create an escalation path. An escalation path is a series of steps that describe how a page should be escalated, represented as graph, supporting conditional branches based on alert priority and working intervals. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
24
|
+
# @param escalation_paths_create_payload_v2 [EscalationPathsCreatePayloadV2]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [EscalationPathsCreateResultV2]
|
|
27
|
+
def escalation_paths_v2_create(escalation_paths_create_payload_v2, opts = {})
|
|
28
|
+
data, _status_code, _headers = escalation_paths_v2_create_with_http_info(escalation_paths_create_payload_v2, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create Escalation Paths V2
|
|
33
|
+
# Create an escalation path. An escalation path is a series of steps that describe how a page should be escalated, represented as graph, supporting conditional branches based on alert priority and working intervals. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
34
|
+
# @param escalation_paths_create_payload_v2 [EscalationPathsCreatePayloadV2]
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(EscalationPathsCreateResultV2, Integer, Hash)>] EscalationPathsCreateResultV2 data, response status code and response headers
|
|
37
|
+
def escalation_paths_v2_create_with_http_info(escalation_paths_create_payload_v2, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: EscalationPathsV2Api.escalation_paths_v2_create ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'escalation_paths_create_payload_v2' is set
|
|
42
|
+
if @api_client.config.client_side_validation && escalation_paths_create_payload_v2.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'escalation_paths_create_payload_v2' when calling EscalationPathsV2Api.escalation_paths_v2_create"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/v2/escalation_paths'
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = opts[:query_params] || {}
|
|
50
|
+
|
|
51
|
+
# header parameters
|
|
52
|
+
header_params = opts[:header_params] || {}
|
|
53
|
+
# HTTP header 'Accept' (if needed)
|
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
55
|
+
# HTTP header 'Content-Type'
|
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
57
|
+
if !content_type.nil?
|
|
58
|
+
header_params['Content-Type'] = content_type
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# form parameters
|
|
62
|
+
form_params = opts[:form_params] || {}
|
|
63
|
+
|
|
64
|
+
# http body (model)
|
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(escalation_paths_create_payload_v2)
|
|
66
|
+
|
|
67
|
+
# return_type
|
|
68
|
+
return_type = opts[:debug_return_type] || 'EscalationPathsCreateResultV2'
|
|
69
|
+
|
|
70
|
+
# auth_names
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
72
|
+
|
|
73
|
+
new_options = opts.merge(
|
|
74
|
+
:operation => :"EscalationPathsV2Api.escalation_paths_v2_create",
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names,
|
|
80
|
+
:return_type => return_type
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
|
+
if @api_client.config.debugging
|
|
85
|
+
@api_client.config.logger.debug "API called: EscalationPathsV2Api#escalation_paths_v2_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Destroy Escalation Paths V2
|
|
91
|
+
# Archives an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
92
|
+
# @param id [String] Unique identifier for this escalation path.
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @return [nil]
|
|
95
|
+
def escalation_paths_v2_destroy(id, opts = {})
|
|
96
|
+
escalation_paths_v2_destroy_with_http_info(id, opts)
|
|
97
|
+
nil
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Destroy Escalation Paths V2
|
|
101
|
+
# Archives an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
102
|
+
# @param id [String] Unique identifier for this escalation path.
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
105
|
+
def escalation_paths_v2_destroy_with_http_info(id, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: EscalationPathsV2Api.escalation_paths_v2_destroy ...'
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'id' is set
|
|
110
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling EscalationPathsV2Api.escalation_paths_v2_destroy"
|
|
112
|
+
end
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = '/v2/escalation_paths/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
115
|
+
|
|
116
|
+
# query parameters
|
|
117
|
+
query_params = opts[:query_params] || {}
|
|
118
|
+
|
|
119
|
+
# header parameters
|
|
120
|
+
header_params = opts[:header_params] || {}
|
|
121
|
+
# HTTP header 'Accept' (if needed)
|
|
122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
123
|
+
|
|
124
|
+
# form parameters
|
|
125
|
+
form_params = opts[:form_params] || {}
|
|
126
|
+
|
|
127
|
+
# http body (model)
|
|
128
|
+
post_body = opts[:debug_body]
|
|
129
|
+
|
|
130
|
+
# return_type
|
|
131
|
+
return_type = opts[:debug_return_type]
|
|
132
|
+
|
|
133
|
+
# auth_names
|
|
134
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
135
|
+
|
|
136
|
+
new_options = opts.merge(
|
|
137
|
+
:operation => :"EscalationPathsV2Api.escalation_paths_v2_destroy",
|
|
138
|
+
:header_params => header_params,
|
|
139
|
+
:query_params => query_params,
|
|
140
|
+
:form_params => form_params,
|
|
141
|
+
:body => post_body,
|
|
142
|
+
:auth_names => auth_names,
|
|
143
|
+
:return_type => return_type
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
147
|
+
if @api_client.config.debugging
|
|
148
|
+
@api_client.config.logger.debug "API called: EscalationPathsV2Api#escalation_paths_v2_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
149
|
+
end
|
|
150
|
+
return data, status_code, headers
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# List Escalation Paths V2
|
|
154
|
+
# List all escalation paths in your account. An escalation path is a series of steps that describe how a page should be escalated, represented as a graph, supporting conditional branches based on alert priority and working intervals.
|
|
155
|
+
# @param [Hash] opts the optional parameters
|
|
156
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
157
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
158
|
+
# @return [EscalationPathsListResultV2]
|
|
159
|
+
def escalation_paths_v2_list(opts = {})
|
|
160
|
+
data, _status_code, _headers = escalation_paths_v2_list_with_http_info(opts)
|
|
161
|
+
data
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# List Escalation Paths V2
|
|
165
|
+
# List all escalation paths in your account. An escalation path is a series of steps that describe how a page should be escalated, represented as a graph, supporting conditional branches based on alert priority and working intervals.
|
|
166
|
+
# @param [Hash] opts the optional parameters
|
|
167
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
168
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
169
|
+
# @return [Array<(EscalationPathsListResultV2, Integer, Hash)>] EscalationPathsListResultV2 data, response status code and response headers
|
|
170
|
+
def escalation_paths_v2_list_with_http_info(opts = {})
|
|
171
|
+
if @api_client.config.debugging
|
|
172
|
+
@api_client.config.logger.debug 'Calling API: EscalationPathsV2Api.escalation_paths_v2_list ...'
|
|
173
|
+
end
|
|
174
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 25
|
|
175
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EscalationPathsV2Api.escalation_paths_v2_list, must be smaller than or equal to 25.'
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
|
179
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EscalationPathsV2Api.escalation_paths_v2_list, must be greater than or equal to 1.'
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# resource path
|
|
183
|
+
local_var_path = '/v2/escalation_paths'
|
|
184
|
+
|
|
185
|
+
# query parameters
|
|
186
|
+
query_params = opts[:query_params] || {}
|
|
187
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
188
|
+
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
|
189
|
+
|
|
190
|
+
# header parameters
|
|
191
|
+
header_params = opts[:header_params] || {}
|
|
192
|
+
# HTTP header 'Accept' (if needed)
|
|
193
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
194
|
+
|
|
195
|
+
# form parameters
|
|
196
|
+
form_params = opts[:form_params] || {}
|
|
197
|
+
|
|
198
|
+
# http body (model)
|
|
199
|
+
post_body = opts[:debug_body]
|
|
200
|
+
|
|
201
|
+
# return_type
|
|
202
|
+
return_type = opts[:debug_return_type] || 'EscalationPathsListResultV2'
|
|
203
|
+
|
|
204
|
+
# auth_names
|
|
205
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
206
|
+
|
|
207
|
+
new_options = opts.merge(
|
|
208
|
+
:operation => :"EscalationPathsV2Api.escalation_paths_v2_list",
|
|
209
|
+
:header_params => header_params,
|
|
210
|
+
:query_params => query_params,
|
|
211
|
+
:form_params => form_params,
|
|
212
|
+
:body => post_body,
|
|
213
|
+
:auth_names => auth_names,
|
|
214
|
+
:return_type => return_type
|
|
215
|
+
)
|
|
216
|
+
|
|
217
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
218
|
+
if @api_client.config.debugging
|
|
219
|
+
@api_client.config.logger.debug "API called: EscalationPathsV2Api#escalation_paths_v2_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
220
|
+
end
|
|
221
|
+
return data, status_code, headers
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Show Escalation Paths V2
|
|
225
|
+
# Show an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
226
|
+
# @param id [String] Unique identifier for this escalation path.
|
|
227
|
+
# @param [Hash] opts the optional parameters
|
|
228
|
+
# @return [EscalationPathsShowResultV2]
|
|
229
|
+
def escalation_paths_v2_show(id, opts = {})
|
|
230
|
+
data, _status_code, _headers = escalation_paths_v2_show_with_http_info(id, opts)
|
|
231
|
+
data
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# Show Escalation Paths V2
|
|
235
|
+
# Show an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
236
|
+
# @param id [String] Unique identifier for this escalation path.
|
|
237
|
+
# @param [Hash] opts the optional parameters
|
|
238
|
+
# @return [Array<(EscalationPathsShowResultV2, Integer, Hash)>] EscalationPathsShowResultV2 data, response status code and response headers
|
|
239
|
+
def escalation_paths_v2_show_with_http_info(id, opts = {})
|
|
240
|
+
if @api_client.config.debugging
|
|
241
|
+
@api_client.config.logger.debug 'Calling API: EscalationPathsV2Api.escalation_paths_v2_show ...'
|
|
242
|
+
end
|
|
243
|
+
# verify the required parameter 'id' is set
|
|
244
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
245
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling EscalationPathsV2Api.escalation_paths_v2_show"
|
|
246
|
+
end
|
|
247
|
+
# resource path
|
|
248
|
+
local_var_path = '/v2/escalation_paths/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
249
|
+
|
|
250
|
+
# query parameters
|
|
251
|
+
query_params = opts[:query_params] || {}
|
|
252
|
+
|
|
253
|
+
# header parameters
|
|
254
|
+
header_params = opts[:header_params] || {}
|
|
255
|
+
# HTTP header 'Accept' (if needed)
|
|
256
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
257
|
+
|
|
258
|
+
# form parameters
|
|
259
|
+
form_params = opts[:form_params] || {}
|
|
260
|
+
|
|
261
|
+
# http body (model)
|
|
262
|
+
post_body = opts[:debug_body]
|
|
263
|
+
|
|
264
|
+
# return_type
|
|
265
|
+
return_type = opts[:debug_return_type] || 'EscalationPathsShowResultV2'
|
|
266
|
+
|
|
267
|
+
# auth_names
|
|
268
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
269
|
+
|
|
270
|
+
new_options = opts.merge(
|
|
271
|
+
:operation => :"EscalationPathsV2Api.escalation_paths_v2_show",
|
|
272
|
+
:header_params => header_params,
|
|
273
|
+
:query_params => query_params,
|
|
274
|
+
:form_params => form_params,
|
|
275
|
+
:body => post_body,
|
|
276
|
+
:auth_names => auth_names,
|
|
277
|
+
:return_type => return_type
|
|
278
|
+
)
|
|
279
|
+
|
|
280
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
281
|
+
if @api_client.config.debugging
|
|
282
|
+
@api_client.config.logger.debug "API called: EscalationPathsV2Api#escalation_paths_v2_show\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
283
|
+
end
|
|
284
|
+
return data, status_code, headers
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# Update Escalation Paths V2
|
|
288
|
+
# Updates an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
289
|
+
# @param id [String] Unique identifier for this escalation path.
|
|
290
|
+
# @param escalation_paths_update_payload_v2 [EscalationPathsUpdatePayloadV2]
|
|
291
|
+
# @param [Hash] opts the optional parameters
|
|
292
|
+
# @return [EscalationPathsUpdateResultV2]
|
|
293
|
+
def escalation_paths_v2_update(id, escalation_paths_update_payload_v2, opts = {})
|
|
294
|
+
data, _status_code, _headers = escalation_paths_v2_update_with_http_info(id, escalation_paths_update_payload_v2, opts)
|
|
295
|
+
data
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Update Escalation Paths V2
|
|
299
|
+
# Updates an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
300
|
+
# @param id [String] Unique identifier for this escalation path.
|
|
301
|
+
# @param escalation_paths_update_payload_v2 [EscalationPathsUpdatePayloadV2]
|
|
302
|
+
# @param [Hash] opts the optional parameters
|
|
303
|
+
# @return [Array<(EscalationPathsUpdateResultV2, Integer, Hash)>] EscalationPathsUpdateResultV2 data, response status code and response headers
|
|
304
|
+
def escalation_paths_v2_update_with_http_info(id, escalation_paths_update_payload_v2, opts = {})
|
|
305
|
+
if @api_client.config.debugging
|
|
306
|
+
@api_client.config.logger.debug 'Calling API: EscalationPathsV2Api.escalation_paths_v2_update ...'
|
|
307
|
+
end
|
|
308
|
+
# verify the required parameter 'id' is set
|
|
309
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
310
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling EscalationPathsV2Api.escalation_paths_v2_update"
|
|
311
|
+
end
|
|
312
|
+
# verify the required parameter 'escalation_paths_update_payload_v2' is set
|
|
313
|
+
if @api_client.config.client_side_validation && escalation_paths_update_payload_v2.nil?
|
|
314
|
+
fail ArgumentError, "Missing the required parameter 'escalation_paths_update_payload_v2' when calling EscalationPathsV2Api.escalation_paths_v2_update"
|
|
315
|
+
end
|
|
316
|
+
# resource path
|
|
317
|
+
local_var_path = '/v2/escalation_paths/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
318
|
+
|
|
319
|
+
# query parameters
|
|
320
|
+
query_params = opts[:query_params] || {}
|
|
321
|
+
|
|
322
|
+
# header parameters
|
|
323
|
+
header_params = opts[:header_params] || {}
|
|
324
|
+
# HTTP header 'Accept' (if needed)
|
|
325
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
326
|
+
# HTTP header 'Content-Type'
|
|
327
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
328
|
+
if !content_type.nil?
|
|
329
|
+
header_params['Content-Type'] = content_type
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# form parameters
|
|
333
|
+
form_params = opts[:form_params] || {}
|
|
334
|
+
|
|
335
|
+
# http body (model)
|
|
336
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(escalation_paths_update_payload_v2)
|
|
337
|
+
|
|
338
|
+
# return_type
|
|
339
|
+
return_type = opts[:debug_return_type] || 'EscalationPathsUpdateResultV2'
|
|
340
|
+
|
|
341
|
+
# auth_names
|
|
342
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
343
|
+
|
|
344
|
+
new_options = opts.merge(
|
|
345
|
+
:operation => :"EscalationPathsV2Api.escalation_paths_v2_update",
|
|
346
|
+
:header_params => header_params,
|
|
347
|
+
:query_params => query_params,
|
|
348
|
+
:form_params => form_params,
|
|
349
|
+
:body => post_body,
|
|
350
|
+
:auth_names => auth_names,
|
|
351
|
+
:return_type => return_type
|
|
352
|
+
)
|
|
353
|
+
|
|
354
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
355
|
+
if @api_client.config.debugging
|
|
356
|
+
@api_client.config.logger.debug "API called: EscalationPathsV2Api#escalation_paths_v2_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
357
|
+
end
|
|
358
|
+
return data, status_code, headers
|
|
359
|
+
end
|
|
360
|
+
end
|
|
361
|
+
end
|
|
@@ -224,137 +224,6 @@ module IncidentIo
|
|
|
224
224
|
return data, status_code, headers
|
|
225
225
|
end
|
|
226
226
|
|
|
227
|
-
# CreatePath Escalations V2
|
|
228
|
-
# Create an escalation path. An escalation path is a series of steps that describe how a page should be escalated, represented as graph, supporting conditional branches based on alert priority and working intervals. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
229
|
-
# @param escalations_create_path_payload_v2 [EscalationsCreatePathPayloadV2]
|
|
230
|
-
# @param [Hash] opts the optional parameters
|
|
231
|
-
# @return [EscalationsCreatePathResultV2]
|
|
232
|
-
def escalations_v2_create_path(escalations_create_path_payload_v2, opts = {})
|
|
233
|
-
data, _status_code, _headers = escalations_v2_create_path_with_http_info(escalations_create_path_payload_v2, opts)
|
|
234
|
-
data
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
# CreatePath Escalations V2
|
|
238
|
-
# Create an escalation path. An escalation path is a series of steps that describe how a page should be escalated, represented as graph, supporting conditional branches based on alert priority and working intervals. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
239
|
-
# @param escalations_create_path_payload_v2 [EscalationsCreatePathPayloadV2]
|
|
240
|
-
# @param [Hash] opts the optional parameters
|
|
241
|
-
# @return [Array<(EscalationsCreatePathResultV2, Integer, Hash)>] EscalationsCreatePathResultV2 data, response status code and response headers
|
|
242
|
-
def escalations_v2_create_path_with_http_info(escalations_create_path_payload_v2, opts = {})
|
|
243
|
-
if @api_client.config.debugging
|
|
244
|
-
@api_client.config.logger.debug 'Calling API: EscalationsV2Api.escalations_v2_create_path ...'
|
|
245
|
-
end
|
|
246
|
-
# verify the required parameter 'escalations_create_path_payload_v2' is set
|
|
247
|
-
if @api_client.config.client_side_validation && escalations_create_path_payload_v2.nil?
|
|
248
|
-
fail ArgumentError, "Missing the required parameter 'escalations_create_path_payload_v2' when calling EscalationsV2Api.escalations_v2_create_path"
|
|
249
|
-
end
|
|
250
|
-
# resource path
|
|
251
|
-
local_var_path = '/v2/escalation_paths'
|
|
252
|
-
|
|
253
|
-
# query parameters
|
|
254
|
-
query_params = opts[:query_params] || {}
|
|
255
|
-
|
|
256
|
-
# header parameters
|
|
257
|
-
header_params = opts[:header_params] || {}
|
|
258
|
-
# HTTP header 'Accept' (if needed)
|
|
259
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
260
|
-
# HTTP header 'Content-Type'
|
|
261
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
262
|
-
if !content_type.nil?
|
|
263
|
-
header_params['Content-Type'] = content_type
|
|
264
|
-
end
|
|
265
|
-
|
|
266
|
-
# form parameters
|
|
267
|
-
form_params = opts[:form_params] || {}
|
|
268
|
-
|
|
269
|
-
# http body (model)
|
|
270
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(escalations_create_path_payload_v2)
|
|
271
|
-
|
|
272
|
-
# return_type
|
|
273
|
-
return_type = opts[:debug_return_type] || 'EscalationsCreatePathResultV2'
|
|
274
|
-
|
|
275
|
-
# auth_names
|
|
276
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
277
|
-
|
|
278
|
-
new_options = opts.merge(
|
|
279
|
-
:operation => :"EscalationsV2Api.escalations_v2_create_path",
|
|
280
|
-
:header_params => header_params,
|
|
281
|
-
:query_params => query_params,
|
|
282
|
-
:form_params => form_params,
|
|
283
|
-
:body => post_body,
|
|
284
|
-
:auth_names => auth_names,
|
|
285
|
-
:return_type => return_type
|
|
286
|
-
)
|
|
287
|
-
|
|
288
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
289
|
-
if @api_client.config.debugging
|
|
290
|
-
@api_client.config.logger.debug "API called: EscalationsV2Api#escalations_v2_create_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
291
|
-
end
|
|
292
|
-
return data, status_code, headers
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
# DestroyPath Escalations V2
|
|
296
|
-
# Archives an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
297
|
-
# @param id [String] Unique identifier for this escalation path.
|
|
298
|
-
# @param [Hash] opts the optional parameters
|
|
299
|
-
# @return [nil]
|
|
300
|
-
def escalations_v2_destroy_path(id, opts = {})
|
|
301
|
-
escalations_v2_destroy_path_with_http_info(id, opts)
|
|
302
|
-
nil
|
|
303
|
-
end
|
|
304
|
-
|
|
305
|
-
# DestroyPath Escalations V2
|
|
306
|
-
# Archives an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
307
|
-
# @param id [String] Unique identifier for this escalation path.
|
|
308
|
-
# @param [Hash] opts the optional parameters
|
|
309
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
310
|
-
def escalations_v2_destroy_path_with_http_info(id, opts = {})
|
|
311
|
-
if @api_client.config.debugging
|
|
312
|
-
@api_client.config.logger.debug 'Calling API: EscalationsV2Api.escalations_v2_destroy_path ...'
|
|
313
|
-
end
|
|
314
|
-
# verify the required parameter 'id' is set
|
|
315
|
-
if @api_client.config.client_side_validation && id.nil?
|
|
316
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling EscalationsV2Api.escalations_v2_destroy_path"
|
|
317
|
-
end
|
|
318
|
-
# resource path
|
|
319
|
-
local_var_path = '/v2/escalation_paths/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
320
|
-
|
|
321
|
-
# query parameters
|
|
322
|
-
query_params = opts[:query_params] || {}
|
|
323
|
-
|
|
324
|
-
# header parameters
|
|
325
|
-
header_params = opts[:header_params] || {}
|
|
326
|
-
# HTTP header 'Accept' (if needed)
|
|
327
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
328
|
-
|
|
329
|
-
# form parameters
|
|
330
|
-
form_params = opts[:form_params] || {}
|
|
331
|
-
|
|
332
|
-
# http body (model)
|
|
333
|
-
post_body = opts[:debug_body]
|
|
334
|
-
|
|
335
|
-
# return_type
|
|
336
|
-
return_type = opts[:debug_return_type]
|
|
337
|
-
|
|
338
|
-
# auth_names
|
|
339
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
340
|
-
|
|
341
|
-
new_options = opts.merge(
|
|
342
|
-
:operation => :"EscalationsV2Api.escalations_v2_destroy_path",
|
|
343
|
-
:header_params => header_params,
|
|
344
|
-
:query_params => query_params,
|
|
345
|
-
:form_params => form_params,
|
|
346
|
-
:body => post_body,
|
|
347
|
-
:auth_names => auth_names,
|
|
348
|
-
:return_type => return_type
|
|
349
|
-
)
|
|
350
|
-
|
|
351
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
352
|
-
if @api_client.config.debugging
|
|
353
|
-
@api_client.config.logger.debug "API called: EscalationsV2Api#escalations_v2_destroy_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
354
|
-
end
|
|
355
|
-
return data, status_code, headers
|
|
356
|
-
end
|
|
357
|
-
|
|
358
227
|
# List Escalations V2
|
|
359
228
|
# List all escalations for your account. This endpoint supports a number of filters, which can help find escalations matching certain criteria. Note that: - Filters may be used together, and the result will be escalations that match all filters. - All query parameters must be URI encoded. To use this API, you will need an API key with the \"View data\" or \"Create and manage on-call resources\" permission. ### By escalation_path Find all escalations that escalated to escalation path with id=ABC: curl --get 'https://api.incident.io/v2/escalations' \\ --data 'escalation_path[one_of]=ABC' ### By status Find all escalations with a current status of \"triggered\": curl --get 'https://api.incident.io/v2/escalations' \\ --data 'status[one_of]=triggered' Possible values are \"pending\", \"triggered\", \"acked\", \"resolved\", \"expired\" and \"cancelled\". Escalations are in \"pending\" when they are in a grace period when the related alert has been grouped in an incident. ### By alert Find all escalations that were created by alert with id=ABC: curl --get 'https://api.incident.io/v2/escalations' \\ --data 'alert[one_of]=ABC' ### By incident Find all escalations related to incident with id=ABC: curl --get 'https://api.incident.io/v2/escalations' \\ --data 'incident[one_of]=ABC' An escalation is related to an incident if it is linked to that incident directly, if it is attached to one of the incident's alerts, or if it triggered one of those alerts (which is what happens when someone pages by calling in, and that call raises the alert). To find everything that is not related to an incident, use \"not_in\": curl --get 'https://api.incident.io/v2/escalations' \\ --data 'incident[not_in]=ABC' ### By created_at and updated_at Find all escalations that follow specified date parameters for created_at and updated_at fields. Possible values are \"gte\" (greater than or equal to), \"lte\" (less than or equal to), and \"date_range\" (between two dates). For example, to find all escalations updated after 2025-01-01: curl --get 'https://api.incident.io/v2/escalations' \\ --data 'updated_at[gte]=2025-01-01' To find all escalations created between 2025-01-01 and 2025-01-31: curl --get 'https://api.incident.io/v2/escalations' \\ --data 'created_at[date_range]=2025-01-01~2025-01-31'
|
|
360
229
|
# @param [Hash] opts the optional parameters
|
|
@@ -447,77 +316,6 @@ module IncidentIo
|
|
|
447
316
|
return data, status_code, headers
|
|
448
317
|
end
|
|
449
318
|
|
|
450
|
-
# ListPaths Escalations V2
|
|
451
|
-
# List all escalation paths in your account. An escalation path is a series of steps that describe how a page should be escalated, represented as a graph, supporting conditional branches based on alert priority and working intervals.
|
|
452
|
-
# @param [Hash] opts the optional parameters
|
|
453
|
-
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
454
|
-
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
455
|
-
# @return [EscalationsListPathsResultV2]
|
|
456
|
-
def escalations_v2_list_paths(opts = {})
|
|
457
|
-
data, _status_code, _headers = escalations_v2_list_paths_with_http_info(opts)
|
|
458
|
-
data
|
|
459
|
-
end
|
|
460
|
-
|
|
461
|
-
# ListPaths Escalations V2
|
|
462
|
-
# List all escalation paths in your account. An escalation path is a series of steps that describe how a page should be escalated, represented as a graph, supporting conditional branches based on alert priority and working intervals.
|
|
463
|
-
# @param [Hash] opts the optional parameters
|
|
464
|
-
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
465
|
-
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
466
|
-
# @return [Array<(EscalationsListPathsResultV2, Integer, Hash)>] EscalationsListPathsResultV2 data, response status code and response headers
|
|
467
|
-
def escalations_v2_list_paths_with_http_info(opts = {})
|
|
468
|
-
if @api_client.config.debugging
|
|
469
|
-
@api_client.config.logger.debug 'Calling API: EscalationsV2Api.escalations_v2_list_paths ...'
|
|
470
|
-
end
|
|
471
|
-
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 25
|
|
472
|
-
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EscalationsV2Api.escalations_v2_list_paths, must be smaller than or equal to 25.'
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
|
476
|
-
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EscalationsV2Api.escalations_v2_list_paths, must be greater than or equal to 1.'
|
|
477
|
-
end
|
|
478
|
-
|
|
479
|
-
# resource path
|
|
480
|
-
local_var_path = '/v2/escalation_paths'
|
|
481
|
-
|
|
482
|
-
# query parameters
|
|
483
|
-
query_params = opts[:query_params] || {}
|
|
484
|
-
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
485
|
-
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
|
486
|
-
|
|
487
|
-
# header parameters
|
|
488
|
-
header_params = opts[:header_params] || {}
|
|
489
|
-
# HTTP header 'Accept' (if needed)
|
|
490
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
491
|
-
|
|
492
|
-
# form parameters
|
|
493
|
-
form_params = opts[:form_params] || {}
|
|
494
|
-
|
|
495
|
-
# http body (model)
|
|
496
|
-
post_body = opts[:debug_body]
|
|
497
|
-
|
|
498
|
-
# return_type
|
|
499
|
-
return_type = opts[:debug_return_type] || 'EscalationsListPathsResultV2'
|
|
500
|
-
|
|
501
|
-
# auth_names
|
|
502
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
503
|
-
|
|
504
|
-
new_options = opts.merge(
|
|
505
|
-
:operation => :"EscalationsV2Api.escalations_v2_list_paths",
|
|
506
|
-
:header_params => header_params,
|
|
507
|
-
:query_params => query_params,
|
|
508
|
-
:form_params => form_params,
|
|
509
|
-
:body => post_body,
|
|
510
|
-
:auth_names => auth_names,
|
|
511
|
-
:return_type => return_type
|
|
512
|
-
)
|
|
513
|
-
|
|
514
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
515
|
-
if @api_client.config.debugging
|
|
516
|
-
@api_client.config.logger.debug "API called: EscalationsV2Api#escalations_v2_list_paths\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
517
|
-
end
|
|
518
|
-
return data, status_code, headers
|
|
519
|
-
end
|
|
520
|
-
|
|
521
319
|
# ReassignEscalation Escalations V2
|
|
522
320
|
# Reassign an escalation to a different escalation path or set of users. Use this when a page reached the wrong people. Reassigning creates a new escalation aimed at the targets you give, linked back to the original, and carries over the original's title, description, priority, incident and alert so the page stays attached to the same alert and acknowledgements keep grouping under it. You must provide either an escalation_path_id OR user_ids, but not both. Both name incident.io escalation paths and users, so an escalation cannot be reassigned to an external escalator such as PagerDuty or Opsgenie. By default the original escalation is resolved, so the first targets stop being paged. Pass resolve_original=false to leave it running alongside the new one. Resolving the original additionally needs the \"escalations.respond\" permission, since it stops a page someone else may be responding to. An escalation can only be reassigned once: calling this again for the same escalation is rejected. Retrying a request whose response you never saw is safe in the sense that matters — a reassignment that already happened is never repeated, so nobody is paged twice — but the retry is rejected rather than returning the escalation the first call created, so keep the ID from the original response. To use this API, you will need an API key with the \"Create and manage escalations\" permission. The reassignment is attributed to the key; to attribute it to one of your users instead, set the X-Incident-User header, which needs the \"api_keys.act_on_behalf_of_users\" scope and no team permissions on the key. If your API key's permissions are scoped to teams, the escalation you're reassigning must be owned by one of those teams, and you can only reassign via an escalation path one of them owns. Reassigning directly to user_ids needs the permission at the account level, because an escalation aimed at a person has no owning team.
|
|
523
321
|
# @param escalation_id [String] The ID of the escalation to reassign
|
|
@@ -728,142 +526,5 @@ module IncidentIo
|
|
|
728
526
|
end
|
|
729
527
|
return data, status_code, headers
|
|
730
528
|
end
|
|
731
|
-
|
|
732
|
-
# ShowPath Escalations V2
|
|
733
|
-
# Show an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
734
|
-
# @param id [String] Unique identifier for this escalation path.
|
|
735
|
-
# @param [Hash] opts the optional parameters
|
|
736
|
-
# @return [EscalationsShowPathResultV2]
|
|
737
|
-
def escalations_v2_show_path(id, opts = {})
|
|
738
|
-
data, _status_code, _headers = escalations_v2_show_path_with_http_info(id, opts)
|
|
739
|
-
data
|
|
740
|
-
end
|
|
741
|
-
|
|
742
|
-
# ShowPath Escalations V2
|
|
743
|
-
# Show an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
744
|
-
# @param id [String] Unique identifier for this escalation path.
|
|
745
|
-
# @param [Hash] opts the optional parameters
|
|
746
|
-
# @return [Array<(EscalationsShowPathResultV2, Integer, Hash)>] EscalationsShowPathResultV2 data, response status code and response headers
|
|
747
|
-
def escalations_v2_show_path_with_http_info(id, opts = {})
|
|
748
|
-
if @api_client.config.debugging
|
|
749
|
-
@api_client.config.logger.debug 'Calling API: EscalationsV2Api.escalations_v2_show_path ...'
|
|
750
|
-
end
|
|
751
|
-
# verify the required parameter 'id' is set
|
|
752
|
-
if @api_client.config.client_side_validation && id.nil?
|
|
753
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling EscalationsV2Api.escalations_v2_show_path"
|
|
754
|
-
end
|
|
755
|
-
# resource path
|
|
756
|
-
local_var_path = '/v2/escalation_paths/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
757
|
-
|
|
758
|
-
# query parameters
|
|
759
|
-
query_params = opts[:query_params] || {}
|
|
760
|
-
|
|
761
|
-
# header parameters
|
|
762
|
-
header_params = opts[:header_params] || {}
|
|
763
|
-
# HTTP header 'Accept' (if needed)
|
|
764
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
765
|
-
|
|
766
|
-
# form parameters
|
|
767
|
-
form_params = opts[:form_params] || {}
|
|
768
|
-
|
|
769
|
-
# http body (model)
|
|
770
|
-
post_body = opts[:debug_body]
|
|
771
|
-
|
|
772
|
-
# return_type
|
|
773
|
-
return_type = opts[:debug_return_type] || 'EscalationsShowPathResultV2'
|
|
774
|
-
|
|
775
|
-
# auth_names
|
|
776
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
777
|
-
|
|
778
|
-
new_options = opts.merge(
|
|
779
|
-
:operation => :"EscalationsV2Api.escalations_v2_show_path",
|
|
780
|
-
:header_params => header_params,
|
|
781
|
-
:query_params => query_params,
|
|
782
|
-
:form_params => form_params,
|
|
783
|
-
:body => post_body,
|
|
784
|
-
:auth_names => auth_names,
|
|
785
|
-
:return_type => return_type
|
|
786
|
-
)
|
|
787
|
-
|
|
788
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
789
|
-
if @api_client.config.debugging
|
|
790
|
-
@api_client.config.logger.debug "API called: EscalationsV2Api#escalations_v2_show_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
791
|
-
end
|
|
792
|
-
return data, status_code, headers
|
|
793
|
-
end
|
|
794
|
-
|
|
795
|
-
# UpdatePath Escalations V2
|
|
796
|
-
# Updates an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
797
|
-
# @param id [String] Unique identifier for this escalation path.
|
|
798
|
-
# @param escalations_update_path_payload_v2 [EscalationsUpdatePathPayloadV2]
|
|
799
|
-
# @param [Hash] opts the optional parameters
|
|
800
|
-
# @return [EscalationsUpdatePathResultV2]
|
|
801
|
-
def escalations_v2_update_path(id, escalations_update_path_payload_v2, opts = {})
|
|
802
|
-
data, _status_code, _headers = escalations_v2_update_path_with_http_info(id, escalations_update_path_payload_v2, opts)
|
|
803
|
-
data
|
|
804
|
-
end
|
|
805
|
-
|
|
806
|
-
# UpdatePath Escalations V2
|
|
807
|
-
# Updates an escalation path. We recommend you create escalation paths in the incident.io dashboard where our path builder makes it easy to use conditions and visualise the path.
|
|
808
|
-
# @param id [String] Unique identifier for this escalation path.
|
|
809
|
-
# @param escalations_update_path_payload_v2 [EscalationsUpdatePathPayloadV2]
|
|
810
|
-
# @param [Hash] opts the optional parameters
|
|
811
|
-
# @return [Array<(EscalationsUpdatePathResultV2, Integer, Hash)>] EscalationsUpdatePathResultV2 data, response status code and response headers
|
|
812
|
-
def escalations_v2_update_path_with_http_info(id, escalations_update_path_payload_v2, opts = {})
|
|
813
|
-
if @api_client.config.debugging
|
|
814
|
-
@api_client.config.logger.debug 'Calling API: EscalationsV2Api.escalations_v2_update_path ...'
|
|
815
|
-
end
|
|
816
|
-
# verify the required parameter 'id' is set
|
|
817
|
-
if @api_client.config.client_side_validation && id.nil?
|
|
818
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling EscalationsV2Api.escalations_v2_update_path"
|
|
819
|
-
end
|
|
820
|
-
# verify the required parameter 'escalations_update_path_payload_v2' is set
|
|
821
|
-
if @api_client.config.client_side_validation && escalations_update_path_payload_v2.nil?
|
|
822
|
-
fail ArgumentError, "Missing the required parameter 'escalations_update_path_payload_v2' when calling EscalationsV2Api.escalations_v2_update_path"
|
|
823
|
-
end
|
|
824
|
-
# resource path
|
|
825
|
-
local_var_path = '/v2/escalation_paths/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
826
|
-
|
|
827
|
-
# query parameters
|
|
828
|
-
query_params = opts[:query_params] || {}
|
|
829
|
-
|
|
830
|
-
# header parameters
|
|
831
|
-
header_params = opts[:header_params] || {}
|
|
832
|
-
# HTTP header 'Accept' (if needed)
|
|
833
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
834
|
-
# HTTP header 'Content-Type'
|
|
835
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
836
|
-
if !content_type.nil?
|
|
837
|
-
header_params['Content-Type'] = content_type
|
|
838
|
-
end
|
|
839
|
-
|
|
840
|
-
# form parameters
|
|
841
|
-
form_params = opts[:form_params] || {}
|
|
842
|
-
|
|
843
|
-
# http body (model)
|
|
844
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(escalations_update_path_payload_v2)
|
|
845
|
-
|
|
846
|
-
# return_type
|
|
847
|
-
return_type = opts[:debug_return_type] || 'EscalationsUpdatePathResultV2'
|
|
848
|
-
|
|
849
|
-
# auth_names
|
|
850
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
851
|
-
|
|
852
|
-
new_options = opts.merge(
|
|
853
|
-
:operation => :"EscalationsV2Api.escalations_v2_update_path",
|
|
854
|
-
:header_params => header_params,
|
|
855
|
-
:query_params => query_params,
|
|
856
|
-
:form_params => form_params,
|
|
857
|
-
:body => post_body,
|
|
858
|
-
:auth_names => auth_names,
|
|
859
|
-
:return_type => return_type
|
|
860
|
-
)
|
|
861
|
-
|
|
862
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
863
|
-
if @api_client.config.debugging
|
|
864
|
-
@api_client.config.logger.debug "API called: EscalationsV2Api#escalations_v2_update_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
865
|
-
end
|
|
866
|
-
return data, status_code, headers
|
|
867
|
-
end
|
|
868
529
|
end
|
|
869
530
|
end
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
|
-
class
|
|
17
|
+
class EscalationPathsCreatePayloadV2 < ApiModelBase
|
|
18
18
|
# Whether this path carries its own nodes, or is built from an escalation path template. Known values: `standalone`, `templated`
|
|
19
19
|
attr_accessor :kind
|
|
20
20
|
|
|
@@ -86,14 +86,14 @@ module IncidentIo
|
|
|
86
86
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
87
87
|
def initialize(attributes = {})
|
|
88
88
|
if (!attributes.is_a?(Hash))
|
|
89
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::
|
|
89
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::EscalationPathsCreatePayloadV2` initialize method"
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
93
93
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
94
94
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
95
95
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
96
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::
|
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::EscalationPathsCreatePayloadV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
97
97
|
end
|
|
98
98
|
h[k.to_sym] = v
|
|
99
99
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
|
-
class
|
|
17
|
+
class EscalationPathsCreateResultV2 < ApiModelBase
|
|
18
18
|
attr_accessor :escalation_path
|
|
19
19
|
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -51,14 +51,14 @@ module IncidentIo
|
|
|
51
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
52
|
def initialize(attributes = {})
|
|
53
53
|
if (!attributes.is_a?(Hash))
|
|
54
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::
|
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::EscalationPathsCreateResultV2` initialize method"
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
58
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
60
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::EscalationPathsCreateResultV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
62
|
end
|
|
63
63
|
h[k.to_sym] = v
|
|
64
64
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
|
-
class
|
|
17
|
+
class EscalationPathsListResultV2 < ApiModelBase
|
|
18
18
|
attr_accessor :escalation_paths
|
|
19
19
|
|
|
20
20
|
attr_accessor :pagination_meta
|
|
@@ -55,14 +55,14 @@ module IncidentIo
|
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
56
|
def initialize(attributes = {})
|
|
57
57
|
if (!attributes.is_a?(Hash))
|
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::
|
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::EscalationPathsListResultV2` initialize method"
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
62
62
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
63
63
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
64
64
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
65
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::
|
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::EscalationPathsListResultV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
66
66
|
end
|
|
67
67
|
h[k.to_sym] = v
|
|
68
68
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
|
-
class
|
|
17
|
+
class EscalationPathsShowResultV2 < ApiModelBase
|
|
18
18
|
attr_accessor :escalation_path
|
|
19
19
|
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -51,14 +51,14 @@ module IncidentIo
|
|
|
51
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
52
|
def initialize(attributes = {})
|
|
53
53
|
if (!attributes.is_a?(Hash))
|
|
54
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::
|
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::EscalationPathsShowResultV2` initialize method"
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
58
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
60
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::EscalationPathsShowResultV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
62
|
end
|
|
63
63
|
h[k.to_sym] = v
|
|
64
64
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
|
-
class
|
|
17
|
+
class EscalationPathsUpdatePayloadV2 < ApiModelBase
|
|
18
18
|
# Whether this path carries its own nodes, or is built from an escalation path template. Known values: `standalone`, `templated`
|
|
19
19
|
attr_accessor :kind
|
|
20
20
|
|
|
@@ -86,14 +86,14 @@ module IncidentIo
|
|
|
86
86
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
87
87
|
def initialize(attributes = {})
|
|
88
88
|
if (!attributes.is_a?(Hash))
|
|
89
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::
|
|
89
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::EscalationPathsUpdatePayloadV2` initialize method"
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
93
93
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
94
94
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
95
95
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
96
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::
|
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::EscalationPathsUpdatePayloadV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
97
97
|
end
|
|
98
98
|
h[k.to_sym] = v
|
|
99
99
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
|
-
class
|
|
17
|
+
class EscalationPathsUpdateResultV2 < ApiModelBase
|
|
18
18
|
attr_accessor :escalation_path
|
|
19
19
|
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -51,14 +51,14 @@ module IncidentIo
|
|
|
51
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
52
|
def initialize(attributes = {})
|
|
53
53
|
if (!attributes.is_a?(Hash))
|
|
54
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::
|
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::EscalationPathsUpdateResultV2` initialize method"
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
58
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
60
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::EscalationPathsUpdateResultV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
62
|
end
|
|
63
63
|
h[k.to_sym] = v
|
|
64
64
|
}
|
|
@@ -24,7 +24,7 @@ module IncidentIo
|
|
|
24
24
|
# The ID of the resource that this relates to
|
|
25
25
|
attr_accessor :resource_id
|
|
26
26
|
|
|
27
|
-
# Known values: `access_grant`, `access_group`, `alert_grouping_preference`, `alert_route`, `alert_rule`, `alert_source`, `api_key`, `incident_form`, `incident_template`, `escalation_path`, `escalation_path_template`, `policy`, `schedule`, `schedule_sync_target`, `schedule_sync_rule`, `secret`, `status_page_component`, `status_page_structure`, `team_grouping_preference`, `workflow`
|
|
27
|
+
# Known values: `access_grant`, `access_group`, `alert_grouping_preference`, `alert_route`, `alert_rule`, `alert_source`, `api_key`, `incident_form`, `incident_template`, `escalation_path`, `escalation_path_template`, `policy`, `schedule`, `schedule_sync_target`, `schedule_sync_rule`, `secret`, `status_page_component`, `status_page_component_property`, `status_page_component_property_option`, `status_page_structure`, `team_grouping_preference`, `workflow`
|
|
28
28
|
attr_accessor :resource_type
|
|
29
29
|
|
|
30
30
|
# The url of the external repository where this resource is managed (if there is one)
|
|
@@ -21,7 +21,7 @@ module IncidentIo
|
|
|
21
21
|
# The ID of the resource that this relates to
|
|
22
22
|
attr_accessor :resource_id
|
|
23
23
|
|
|
24
|
-
# The type of the related resource Known values: `access_grant`, `access_group`, `alert_grouping_preference`, `alert_route`, `alert_rule`, `alert_source`, `api_key`, `incident_form`, `incident_template`, `escalation_path`, `escalation_path_template`, `policy`, `schedule`, `schedule_sync_target`, `schedule_sync_rule`, `secret`, `status_page_component`, `status_page_structure`, `team_grouping_preference`, `workflow`
|
|
24
|
+
# The type of the related resource Known values: `access_grant`, `access_group`, `alert_grouping_preference`, `alert_route`, `alert_rule`, `alert_source`, `api_key`, `incident_form`, `incident_template`, `escalation_path`, `escalation_path_template`, `policy`, `schedule`, `schedule_sync_target`, `schedule_sync_rule`, `secret`, `status_page_component`, `status_page_component_property`, `status_page_component_property_option`, `status_page_structure`, `team_grouping_preference`, `workflow`
|
|
25
25
|
attr_accessor :resource_type
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/incident_io/version.rb
CHANGED
data/lib/incident_io.rb
CHANGED
|
@@ -950,6 +950,12 @@ IncidentIo.autoload :EscalationPathTemplatesShowResultV2, 'incident_io/models/es
|
|
|
950
950
|
IncidentIo.autoload :EscalationPathTemplatesUpdatePayloadV2, 'incident_io/models/escalation_path_templates_update_payload_v2'
|
|
951
951
|
IncidentIo.autoload :EscalationPathTemplatesUpdateResultV2, 'incident_io/models/escalation_path_templates_update_result_v2'
|
|
952
952
|
IncidentIo.autoload :EscalationPathV2, 'incident_io/models/escalation_path_v2'
|
|
953
|
+
IncidentIo.autoload :EscalationPathsCreatePayloadV2, 'incident_io/models/escalation_paths_create_payload_v2'
|
|
954
|
+
IncidentIo.autoload :EscalationPathsCreateResultV2, 'incident_io/models/escalation_paths_create_result_v2'
|
|
955
|
+
IncidentIo.autoload :EscalationPathsListResultV2, 'incident_io/models/escalation_paths_list_result_v2'
|
|
956
|
+
IncidentIo.autoload :EscalationPathsShowResultV2, 'incident_io/models/escalation_paths_show_result_v2'
|
|
957
|
+
IncidentIo.autoload :EscalationPathsUpdatePayloadV2, 'incident_io/models/escalation_paths_update_payload_v2'
|
|
958
|
+
IncidentIo.autoload :EscalationPathsUpdateResultV2, 'incident_io/models/escalation_paths_update_result_v2'
|
|
953
959
|
IncidentIo.autoload :EscalationPriorityV2, 'incident_io/models/escalation_priority_v2'
|
|
954
960
|
IncidentIo.autoload :EscalationRespondSnoozeDetailsPayloadV2, 'incident_io/models/escalation_respond_snooze_details_payload_v2'
|
|
955
961
|
IncidentIo.autoload :EscalationUserResponseOptionsV2, 'incident_io/models/escalation_user_response_options_v2'
|
|
@@ -957,19 +963,13 @@ IncidentIo.autoload :EscalationV2, 'incident_io/models/escalation_v2'
|
|
|
957
963
|
IncidentIo.autoload :EscalationWithStatusChangeV2, 'incident_io/models/escalation_with_status_change_v2'
|
|
958
964
|
IncidentIo.autoload :EscalationsCheckEscalationPermissionsPayloadV2, 'incident_io/models/escalations_check_escalation_permissions_payload_v2'
|
|
959
965
|
IncidentIo.autoload :EscalationsCheckEscalationPermissionsResultV2, 'incident_io/models/escalations_check_escalation_permissions_result_v2'
|
|
960
|
-
IncidentIo.autoload :EscalationsCreatePathPayloadV2, 'incident_io/models/escalations_create_path_payload_v2'
|
|
961
|
-
IncidentIo.autoload :EscalationsCreatePathResultV2, 'incident_io/models/escalations_create_path_result_v2'
|
|
962
966
|
IncidentIo.autoload :EscalationsCreatePayloadV2, 'incident_io/models/escalations_create_payload_v2'
|
|
963
967
|
IncidentIo.autoload :EscalationsCreateResultV2, 'incident_io/models/escalations_create_result_v2'
|
|
964
|
-
IncidentIo.autoload :EscalationsListPathsResultV2, 'incident_io/models/escalations_list_paths_result_v2'
|
|
965
968
|
IncidentIo.autoload :EscalationsListResultV2, 'incident_io/models/escalations_list_result_v2'
|
|
966
969
|
IncidentIo.autoload :EscalationsReassignEscalationPayloadV2, 'incident_io/models/escalations_reassign_escalation_payload_v2'
|
|
967
970
|
IncidentIo.autoload :EscalationsReassignEscalationResultV2, 'incident_io/models/escalations_reassign_escalation_result_v2'
|
|
968
971
|
IncidentIo.autoload :EscalationsRespondEscalationPayloadV2, 'incident_io/models/escalations_respond_escalation_payload_v2'
|
|
969
|
-
IncidentIo.autoload :EscalationsShowPathResultV2, 'incident_io/models/escalations_show_path_result_v2'
|
|
970
972
|
IncidentIo.autoload :EscalationsShowResultV2, 'incident_io/models/escalations_show_result_v2'
|
|
971
|
-
IncidentIo.autoload :EscalationsUpdatePathPayloadV2, 'incident_io/models/escalations_update_path_payload_v2'
|
|
972
|
-
IncidentIo.autoload :EscalationsUpdatePathResultV2, 'incident_io/models/escalations_update_path_result_v2'
|
|
973
973
|
IncidentIo.autoload :ExpressionBranchPayloadV2, 'incident_io/models/expression_branch_payload_v2'
|
|
974
974
|
IncidentIo.autoload :ExpressionBranchPayloadV3, 'incident_io/models/expression_branch_payload_v3'
|
|
975
975
|
IncidentIo.autoload :ExpressionBranchV2, 'incident_io/models/expression_branch_v2'
|
|
@@ -1550,6 +1550,7 @@ IncidentIo.autoload :CustomFieldOptionsV1Api, 'incident_io/api/custom_field_opti
|
|
|
1550
1550
|
IncidentIo.autoload :CustomFieldsV1Api, 'incident_io/api/custom_fields_v1_api'
|
|
1551
1551
|
IncidentIo.autoload :CustomFieldsV2Api, 'incident_io/api/custom_fields_v2_api'
|
|
1552
1552
|
IncidentIo.autoload :EscalationPathTemplatesV2Api, 'incident_io/api/escalation_path_templates_v2_api'
|
|
1553
|
+
IncidentIo.autoload :EscalationPathsV2Api, 'incident_io/api/escalation_paths_v2_api'
|
|
1553
1554
|
IncidentIo.autoload :EscalationsV2Api, 'incident_io/api/escalations_v2_api'
|
|
1554
1555
|
IncidentIo.autoload :FollowUpsV2Api, 'incident_io/api/follow_ups_v2_api'
|
|
1555
1556
|
IncidentIo.autoload :FollowUpsV3Api, 'incident_io/api/follow_ups_v3_api'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: incident_io_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- incident.io
|
|
@@ -98,6 +98,7 @@ files:
|
|
|
98
98
|
- lib/incident_io/api/custom_fields_v1_api.rb
|
|
99
99
|
- lib/incident_io/api/custom_fields_v2_api.rb
|
|
100
100
|
- lib/incident_io/api/escalation_path_templates_v2_api.rb
|
|
101
|
+
- lib/incident_io/api/escalation_paths_v2_api.rb
|
|
101
102
|
- lib/incident_io/api/escalations_v2_api.rb
|
|
102
103
|
- lib/incident_io/api/follow_ups_v2_api.rb
|
|
103
104
|
- lib/incident_io/api/follow_ups_v3_api.rb
|
|
@@ -1078,6 +1079,12 @@ files:
|
|
|
1078
1079
|
- lib/incident_io/models/escalation_path_templates_update_payload_v2.rb
|
|
1079
1080
|
- lib/incident_io/models/escalation_path_templates_update_result_v2.rb
|
|
1080
1081
|
- lib/incident_io/models/escalation_path_v2.rb
|
|
1082
|
+
- lib/incident_io/models/escalation_paths_create_payload_v2.rb
|
|
1083
|
+
- lib/incident_io/models/escalation_paths_create_result_v2.rb
|
|
1084
|
+
- lib/incident_io/models/escalation_paths_list_result_v2.rb
|
|
1085
|
+
- lib/incident_io/models/escalation_paths_show_result_v2.rb
|
|
1086
|
+
- lib/incident_io/models/escalation_paths_update_payload_v2.rb
|
|
1087
|
+
- lib/incident_io/models/escalation_paths_update_result_v2.rb
|
|
1081
1088
|
- lib/incident_io/models/escalation_priority_v2.rb
|
|
1082
1089
|
- lib/incident_io/models/escalation_respond_snooze_details_payload_v2.rb
|
|
1083
1090
|
- lib/incident_io/models/escalation_user_response_options_v2.rb
|
|
@@ -1085,19 +1092,13 @@ files:
|
|
|
1085
1092
|
- lib/incident_io/models/escalation_with_status_change_v2.rb
|
|
1086
1093
|
- lib/incident_io/models/escalations_check_escalation_permissions_payload_v2.rb
|
|
1087
1094
|
- lib/incident_io/models/escalations_check_escalation_permissions_result_v2.rb
|
|
1088
|
-
- lib/incident_io/models/escalations_create_path_payload_v2.rb
|
|
1089
|
-
- lib/incident_io/models/escalations_create_path_result_v2.rb
|
|
1090
1095
|
- lib/incident_io/models/escalations_create_payload_v2.rb
|
|
1091
1096
|
- lib/incident_io/models/escalations_create_result_v2.rb
|
|
1092
|
-
- lib/incident_io/models/escalations_list_paths_result_v2.rb
|
|
1093
1097
|
- lib/incident_io/models/escalations_list_result_v2.rb
|
|
1094
1098
|
- lib/incident_io/models/escalations_reassign_escalation_payload_v2.rb
|
|
1095
1099
|
- lib/incident_io/models/escalations_reassign_escalation_result_v2.rb
|
|
1096
1100
|
- lib/incident_io/models/escalations_respond_escalation_payload_v2.rb
|
|
1097
|
-
- lib/incident_io/models/escalations_show_path_result_v2.rb
|
|
1098
1101
|
- lib/incident_io/models/escalations_show_result_v2.rb
|
|
1099
|
-
- lib/incident_io/models/escalations_update_path_payload_v2.rb
|
|
1100
|
-
- lib/incident_io/models/escalations_update_path_result_v2.rb
|
|
1101
1102
|
- lib/incident_io/models/expression_branch_payload_v2.rb
|
|
1102
1103
|
- lib/incident_io/models/expression_branch_payload_v3.rb
|
|
1103
1104
|
- lib/incident_io/models/expression_branch_v2.rb
|