incident_io_api 2.7.0 → 2.9.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/incident_forms_v3_api.rb +361 -0
- data/lib/incident_io/api/status_page_components_v2_api.rb +347 -0
- data/lib/incident_io/models/incident_form_lifecycle_element_config_v3.rb +148 -0
- data/lib/incident_io/models/incident_form_lifecycle_element_payload_v3.rb +287 -0
- data/lib/incident_io/models/incident_form_lifecycle_element_v3.rb +287 -0
- data/lib/incident_io/models/incident_form_v3.rb +297 -0
- data/lib/incident_io/models/incident_forms_create_payload_v3.rb +216 -0
- data/lib/incident_io/models/incident_forms_create_result_v3.rb +164 -0
- data/lib/incident_io/models/incident_forms_list_result_v3.rb +192 -0
- data/lib/incident_io/models/incident_forms_show_result_v3.rb +164 -0
- data/lib/incident_io/models/incident_forms_update_payload_v3.rb +216 -0
- data/lib/incident_io/models/incident_forms_update_result_v3.rb +164 -0
- data/lib/incident_io/models/status_page_component_v2.rb +229 -0
- data/lib/incident_io/models/status_page_components_create_payload_v2.rb +175 -0
- data/lib/incident_io/models/status_page_components_create_result_v2.rb +164 -0
- data/lib/incident_io/models/status_page_components_list_result_v2.rb +166 -0
- data/lib/incident_io/models/status_page_components_show_result_v2.rb +164 -0
- data/lib/incident_io/models/status_page_components_update_payload_v2.rb +175 -0
- data/lib/incident_io/models/status_page_components_update_result_v2.rb +164 -0
- data/lib/incident_io/version.rb +1 -1
- data/lib/incident_io.rb +19 -0
- metadata +20 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 393d933fe6a10d753aded38b0080760e6566febc21db0eb6dd6778505826dc27
|
|
4
|
+
data.tar.gz: e81d93d067c0b4c8ee005c7a21325b575caaaaf4fc855be72728ec304252d324
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39bee9e3ffdce872417c0a7625ca6435d35e83b517209916f3d0702f8d258743fc20cb0cd25e4f6ffc8ba7ca8aa488a769bd8a8c5b5d42d129215db5e5124b5f
|
|
7
|
+
data.tar.gz: 6def5fb04e40a25abd49be194ae101664a177c64ccf7fde8d1cad6418f7cf040dac51a6b7fae38bdca1a9dfd22a975e2c46d42921f3d23aa715331d2fe849241
|
|
@@ -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 IncidentFormsV3Api
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create Incident Forms V3
|
|
23
|
+
# Create an incident form for an incident type. A form that already exists for that form type and incident type is rejected.
|
|
24
|
+
# @param incident_forms_create_payload_v3 [IncidentFormsCreatePayloadV3]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [IncidentFormsCreateResultV3]
|
|
27
|
+
def incident_forms_v3_create(incident_forms_create_payload_v3, opts = {})
|
|
28
|
+
data, _status_code, _headers = incident_forms_v3_create_with_http_info(incident_forms_create_payload_v3, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create Incident Forms V3
|
|
33
|
+
# Create an incident form for an incident type. A form that already exists for that form type and incident type is rejected.
|
|
34
|
+
# @param incident_forms_create_payload_v3 [IncidentFormsCreatePayloadV3]
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(IncidentFormsCreateResultV3, Integer, Hash)>] IncidentFormsCreateResultV3 data, response status code and response headers
|
|
37
|
+
def incident_forms_v3_create_with_http_info(incident_forms_create_payload_v3, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: IncidentFormsV3Api.incident_forms_v3_create ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'incident_forms_create_payload_v3' is set
|
|
42
|
+
if @api_client.config.client_side_validation && incident_forms_create_payload_v3.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'incident_forms_create_payload_v3' when calling IncidentFormsV3Api.incident_forms_v3_create"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/v3/incident_forms'
|
|
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(incident_forms_create_payload_v3)
|
|
66
|
+
|
|
67
|
+
# return_type
|
|
68
|
+
return_type = opts[:debug_return_type] || 'IncidentFormsCreateResultV3'
|
|
69
|
+
|
|
70
|
+
# auth_names
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
72
|
+
|
|
73
|
+
new_options = opts.merge(
|
|
74
|
+
:operation => :"IncidentFormsV3Api.incident_forms_v3_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: IncidentFormsV3Api#incident_forms_v3_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Delete Incident Forms V3
|
|
91
|
+
# Archive an incident form. The organisation's default form of a type cannot be archived.
|
|
92
|
+
# @param id [String] Unique identifier for this incident form
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @return [nil]
|
|
95
|
+
def incident_forms_v3_delete(id, opts = {})
|
|
96
|
+
incident_forms_v3_delete_with_http_info(id, opts)
|
|
97
|
+
nil
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Delete Incident Forms V3
|
|
101
|
+
# Archive an incident form. The organisation's default form of a type cannot be archived.
|
|
102
|
+
# @param id [String] Unique identifier for this incident form
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
105
|
+
def incident_forms_v3_delete_with_http_info(id, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: IncidentFormsV3Api.incident_forms_v3_delete ...'
|
|
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 IncidentFormsV3Api.incident_forms_v3_delete"
|
|
112
|
+
end
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = '/v3/incident_forms/{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 => :"IncidentFormsV3Api.incident_forms_v3_delete",
|
|
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: IncidentFormsV3Api#incident_forms_v3_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
149
|
+
end
|
|
150
|
+
return data, status_code, headers
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# List Incident Forms V3
|
|
154
|
+
# List incident forms for your account, including their elements and expressions.
|
|
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 incident form's ID. This endpoint will return a list of forms after this ID in relation to the API response order.
|
|
158
|
+
# @return [IncidentFormsListResultV3]
|
|
159
|
+
def incident_forms_v3_list(opts = {})
|
|
160
|
+
data, _status_code, _headers = incident_forms_v3_list_with_http_info(opts)
|
|
161
|
+
data
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# List Incident Forms V3
|
|
165
|
+
# List incident forms for your account, including their elements and expressions.
|
|
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 incident form's ID. This endpoint will return a list of forms after this ID in relation to the API response order.
|
|
169
|
+
# @return [Array<(IncidentFormsListResultV3, Integer, Hash)>] IncidentFormsListResultV3 data, response status code and response headers
|
|
170
|
+
def incident_forms_v3_list_with_http_info(opts = {})
|
|
171
|
+
if @api_client.config.debugging
|
|
172
|
+
@api_client.config.logger.debug 'Calling API: IncidentFormsV3Api.incident_forms_v3_list ...'
|
|
173
|
+
end
|
|
174
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 250
|
|
175
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling IncidentFormsV3Api.incident_forms_v3_list, must be smaller than or equal to 250.'
|
|
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 IncidentFormsV3Api.incident_forms_v3_list, must be greater than or equal to 1.'
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# resource path
|
|
183
|
+
local_var_path = '/v3/incident_forms'
|
|
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] || 'IncidentFormsListResultV3'
|
|
203
|
+
|
|
204
|
+
# auth_names
|
|
205
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
206
|
+
|
|
207
|
+
new_options = opts.merge(
|
|
208
|
+
:operation => :"IncidentFormsV3Api.incident_forms_v3_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: IncidentFormsV3Api#incident_forms_v3_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
220
|
+
end
|
|
221
|
+
return data, status_code, headers
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Show Incident Forms V3
|
|
225
|
+
# Get a single incident form, including its elements and expressions.
|
|
226
|
+
# @param id [String] Unique identifier for this incident form
|
|
227
|
+
# @param [Hash] opts the optional parameters
|
|
228
|
+
# @return [IncidentFormsShowResultV3]
|
|
229
|
+
def incident_forms_v3_show(id, opts = {})
|
|
230
|
+
data, _status_code, _headers = incident_forms_v3_show_with_http_info(id, opts)
|
|
231
|
+
data
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# Show Incident Forms V3
|
|
235
|
+
# Get a single incident form, including its elements and expressions.
|
|
236
|
+
# @param id [String] Unique identifier for this incident form
|
|
237
|
+
# @param [Hash] opts the optional parameters
|
|
238
|
+
# @return [Array<(IncidentFormsShowResultV3, Integer, Hash)>] IncidentFormsShowResultV3 data, response status code and response headers
|
|
239
|
+
def incident_forms_v3_show_with_http_info(id, opts = {})
|
|
240
|
+
if @api_client.config.debugging
|
|
241
|
+
@api_client.config.logger.debug 'Calling API: IncidentFormsV3Api.incident_forms_v3_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 IncidentFormsV3Api.incident_forms_v3_show"
|
|
246
|
+
end
|
|
247
|
+
# resource path
|
|
248
|
+
local_var_path = '/v3/incident_forms/{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] || 'IncidentFormsShowResultV3'
|
|
266
|
+
|
|
267
|
+
# auth_names
|
|
268
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
269
|
+
|
|
270
|
+
new_options = opts.merge(
|
|
271
|
+
:operation => :"IncidentFormsV3Api.incident_forms_v3_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: IncidentFormsV3Api#incident_forms_v3_show\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
283
|
+
end
|
|
284
|
+
return data, status_code, headers
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# Update Incident Forms V3
|
|
288
|
+
# Replace an incident form, including its elements and expressions.
|
|
289
|
+
# @param id [String] Unique identifier of the incident form
|
|
290
|
+
# @param incident_forms_update_payload_v3 [IncidentFormsUpdatePayloadV3]
|
|
291
|
+
# @param [Hash] opts the optional parameters
|
|
292
|
+
# @return [IncidentFormsUpdateResultV3]
|
|
293
|
+
def incident_forms_v3_update(id, incident_forms_update_payload_v3, opts = {})
|
|
294
|
+
data, _status_code, _headers = incident_forms_v3_update_with_http_info(id, incident_forms_update_payload_v3, opts)
|
|
295
|
+
data
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Update Incident Forms V3
|
|
299
|
+
# Replace an incident form, including its elements and expressions.
|
|
300
|
+
# @param id [String] Unique identifier of the incident form
|
|
301
|
+
# @param incident_forms_update_payload_v3 [IncidentFormsUpdatePayloadV3]
|
|
302
|
+
# @param [Hash] opts the optional parameters
|
|
303
|
+
# @return [Array<(IncidentFormsUpdateResultV3, Integer, Hash)>] IncidentFormsUpdateResultV3 data, response status code and response headers
|
|
304
|
+
def incident_forms_v3_update_with_http_info(id, incident_forms_update_payload_v3, opts = {})
|
|
305
|
+
if @api_client.config.debugging
|
|
306
|
+
@api_client.config.logger.debug 'Calling API: IncidentFormsV3Api.incident_forms_v3_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 IncidentFormsV3Api.incident_forms_v3_update"
|
|
311
|
+
end
|
|
312
|
+
# verify the required parameter 'incident_forms_update_payload_v3' is set
|
|
313
|
+
if @api_client.config.client_side_validation && incident_forms_update_payload_v3.nil?
|
|
314
|
+
fail ArgumentError, "Missing the required parameter 'incident_forms_update_payload_v3' when calling IncidentFormsV3Api.incident_forms_v3_update"
|
|
315
|
+
end
|
|
316
|
+
# resource path
|
|
317
|
+
local_var_path = '/v3/incident_forms/{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(incident_forms_update_payload_v3)
|
|
337
|
+
|
|
338
|
+
# return_type
|
|
339
|
+
return_type = opts[:debug_return_type] || 'IncidentFormsUpdateResultV3'
|
|
340
|
+
|
|
341
|
+
# auth_names
|
|
342
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
343
|
+
|
|
344
|
+
new_options = opts.merge(
|
|
345
|
+
:operation => :"IncidentFormsV3Api.incident_forms_v3_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: IncidentFormsV3Api#incident_forms_v3_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
357
|
+
end
|
|
358
|
+
return data, status_code, headers
|
|
359
|
+
end
|
|
360
|
+
end
|
|
361
|
+
end
|