purecloud 0.18.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +2 -2
- data/README.md +1 -7
- data/config-ruby.json +1 -1
- data/extensions/auth.rb +2 -2
- data/lib/purecloud.rb +110 -75
- data/lib/purecloud/api/architect_api.rb +3127 -74
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +83 -83
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +594 -397
- data/lib/purecloud/api/content_management_api.rb +183 -183
- data/lib/purecloud/api/conversations_api.rb +289 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/external_contacts_api.rb +1693 -0
- data/lib/purecloud/api/fax_api.rb +24 -24
- data/lib/purecloud/api/geolocation_api.rb +14 -14
- data/lib/purecloud/api/greetings_api.rb +68 -68
- data/lib/purecloud/api/groups_api.rb +31 -20
- data/lib/purecloud/api/languages_api.rb +18 -11
- data/lib/purecloud/api/licensing_api.rb +5 -5
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +41 -41
- data/lib/purecloud/api/o_auth_api.rb +69 -69
- data/lib/purecloud/api/outbound_api.rb +505 -325
- data/lib/purecloud/api/presence_api.rb +65 -65
- data/lib/purecloud/api/quality_api.rb +66 -639
- data/lib/purecloud/api/recording_api.rb +1343 -0
- data/lib/purecloud/api/response_management_api.rb +687 -0
- data/lib/purecloud/api/routing_api.rb +224 -170
- data/lib/purecloud/api/scripts_api.rb +52 -52
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +8 -8
- data/lib/purecloud/api/telephony_providers_edge_api.rb +138 -138
- data/lib/purecloud/api/user_recordings_api.rb +29 -29
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +71 -15
- data/lib/purecloud/api/voicemail_api.rb +42 -42
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/address.rb +49 -51
- data/lib/purecloud/models/attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +238 -0
- data/lib/purecloud/models/available_additional_service.rb +40 -1
- data/lib/purecloud/models/{topic_entity_listing.rb → available_topic_entity_listing.rb} +1 -1
- data/lib/purecloud/models/call.rb +36 -5
- data/lib/purecloud/models/{line_properties.rb → call_command.rb} +13 -3
- data/lib/purecloud/models/callback.rb +15 -4
- data/lib/purecloud/models/campaign.rb +219 -17
- data/lib/purecloud/models/campaign_progress.rb +186 -0
- data/lib/purecloud/models/channel_topic_entity_listing.rb +238 -0
- data/lib/purecloud/models/charge.rb +14 -4
- data/lib/purecloud/models/{attribute_value.rb → client_text_table_transform.rb} +52 -82
- data/lib/purecloud/models/contact.rb +1 -1
- data/lib/purecloud/models/contact_list.rb +111 -1
- data/lib/purecloud/models/contact_listing.rb +238 -0
- data/lib/purecloud/models/content_attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/content_facet_filter_item.rb +1 -1
- data/lib/purecloud/models/content_query_request.rb +16 -4
- data/lib/purecloud/models/control.rb +221 -0
- data/lib/purecloud/models/{flow_activate_request.rb → control_options.rb} +18 -12
- data/lib/purecloud/models/create_callback_command.rb +200 -0
- data/lib/purecloud/models/discount.rb +220 -0
- data/lib/purecloud/models/document.rb +13 -1
- data/lib/purecloud/models/document_attribute.rb +158 -0
- data/lib/purecloud/models/document_update.rb +28 -16
- data/lib/purecloud/models/document_upload.rb +4 -16
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +1 -1
- data/lib/purecloud/models/edge_line.rb +1 -1
- data/lib/purecloud/models/edge_logs_job.rb +181 -0
- data/lib/purecloud/models/edge_logs_job_file.rb +243 -0
- data/lib/purecloud/models/edge_logs_job_request.rb +168 -0
- data/lib/purecloud/models/{backend_work_item_data_element.rb → edge_logs_job_response.rb} +16 -24
- data/lib/purecloud/models/{flow_lock_request.rb → edge_logs_job_upload_request.rb} +10 -12
- data/lib/purecloud/models/email.rb +15 -4
- data/lib/purecloud/models/endpoint.rb +1 -1
- data/lib/purecloud/models/{flow_associate_workspaces_request.rb → estimated_wait_time_predictions.rb} +10 -11
- data/lib/purecloud/models/external_contact.rb +320 -0
- data/lib/purecloud/models/external_organization.rb +306 -0
- data/lib/purecloud/models/external_organization_listing.rb +238 -0
- data/lib/purecloud/models/facet_filter_item.rb +1 -1
- data/lib/purecloud/models/flow_body.rb +1 -1
- data/lib/purecloud/models/flow_body_format.rb +10 -20
- data/lib/purecloud/models/flow_terminate_request.rb +3 -16
- data/lib/purecloud/models/form.rb +148 -0
- data/lib/purecloud/models/group.rb +11 -1
- data/lib/purecloud/models/health_check_info.rb +268 -0
- data/lib/purecloud/models/{body_2.rb → inline_response_200.rb} +1 -1
- data/lib/purecloud/models/integration_type.rb +209 -0
- data/lib/purecloud/models/integration_type_entity_listing.rb +238 -0
- data/lib/purecloud/models/key_rotation_schedule.rb +1 -0
- data/lib/purecloud/models/language.rb +41 -1
- data/lib/purecloud/models/line.rb +1 -1
- data/lib/purecloud/models/line_base.rb +1 -1
- data/lib/purecloud/models/media_policies.rb +169 -0
- data/lib/purecloud/models/media_policy.rb +171 -0
- data/lib/purecloud/models/note.rb +200 -0
- data/lib/purecloud/models/{user_station_resource.rb → note_listing.rb} +68 -58
- data/lib/purecloud/models/o_auth_client.rb +1 -1
- data/lib/purecloud/models/page.rb +2 -2
- data/lib/purecloud/models/{byte_buffer.rb → payment_method.rb} +48 -61
- data/lib/purecloud/models/payment_method_listing.rb +238 -0
- data/lib/purecloud/models/payment_token_provider.rb +180 -0
- data/lib/purecloud/models/phone.rb +1 -1
- data/lib/purecloud/models/phone_base.rb +1 -1
- data/lib/purecloud/models/phone_number.rb +198 -0
- data/lib/purecloud/models/phones_reboot.rb +14 -4
- data/lib/purecloud/models/policy.rb +14 -1
- data/lib/purecloud/models/prediction_results.rb +167 -0
- data/lib/purecloud/models/query_request.rb +16 -4
- data/lib/purecloud/models/queue_member_entity_listing.rb +1 -1
- data/lib/purecloud/models/quote.rb +13 -1
- data/lib/purecloud/models/recording_settings.rb +146 -0
- data/lib/purecloud/models/relationship.rb +201 -0
- data/lib/purecloud/models/relationship_listing.rb +238 -0
- data/lib/purecloud/models/report_schedule.rb +3 -2
- data/lib/purecloud/models/service_type.rb +12 -1
- data/lib/purecloud/models/social_expression.rb +25 -4
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/template.rb +1 -1
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/ticker.rb +158 -0
- data/lib/purecloud/models/time_slot.rb +1 -0
- data/lib/purecloud/models/trunk_base.rb +1 -1
- data/lib/purecloud/models/vendor_connection_request.rb +166 -0
- data/lib/purecloud/models/video.rb +15 -4
- data/lib/purecloud/models/work_item_definition.rb +8 -10
- data/lib/purecloud/version.rb +1 -1
- data/ossindex.json +17 -0
- data/purecloud.gemspec +4 -3
- data/rakefile +3 -15
- data/spec/test.rb +6 -3
- data/swagger.json +1 -1
- data/swagger_template/api_client.mustache +304 -0
- data/swagger_template/base_object.mustache +90 -0
- data/{PureCloud.gemspec → swagger_template/gemspec.mustache} +12 -11
- data/version.json +1 -1
- metadata +76 -25
- data/lib/purecloud/api/analytics_api.rb +0 -1554
- data/lib/purecloud/api/orphaned_recordings_api.rb +0 -205
- data/newVersion.md +0 -1
@@ -69,8 +69,8 @@ module PureCloud
|
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
70
|
# @option opts [HIPAAConfig] :body
|
71
71
|
# @return [HIPAAConfig]
|
72
|
-
def
|
73
|
-
data, status_code, headers =
|
72
|
+
def put_hipaa(opts = {})
|
73
|
+
data, status_code, headers = put_hipaa_with_http_info(opts)
|
74
74
|
return data
|
75
75
|
end
|
76
76
|
|
@@ -79,9 +79,9 @@ module PureCloud
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
80
|
# @option opts [HIPAAConfig] :body
|
81
81
|
# @return [Array<(HIPAAConfig, Fixnum, Hash)>] HIPAAConfig data, response status code and response headers
|
82
|
-
def
|
82
|
+
def put_hipaa_with_http_info(opts = {})
|
83
83
|
if @api_client.config.debugging
|
84
|
-
@api_client.config.logger.debug "Calling API: ComplianceApi#
|
84
|
+
@api_client.config.logger.debug "Calling API: ComplianceApi#put_hipaa ..."
|
85
85
|
end
|
86
86
|
|
87
87
|
# resource path
|
@@ -117,7 +117,7 @@ module PureCloud
|
|
117
117
|
:auth_names => auth_names,
|
118
118
|
:return_type => 'HIPAAConfig')
|
119
119
|
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug "API called: ComplianceApi#
|
120
|
+
@api_client.config.logger.debug "API called: ComplianceApi#put_hipaa\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
121
|
end
|
122
122
|
return data, status_code, headers
|
123
123
|
end
|
@@ -78,8 +78,8 @@ module PureCloud
|
|
78
78
|
# @param [Hash] opts the optional parameters
|
79
79
|
# @option opts [DIDPool] :body
|
80
80
|
# @return [DIDPool]
|
81
|
-
def
|
82
|
-
data, status_code, headers =
|
81
|
+
def post_didpools(opts = {})
|
82
|
+
data, status_code, headers = post_didpools_with_http_info(opts)
|
83
83
|
return data
|
84
84
|
end
|
85
85
|
|
@@ -88,9 +88,9 @@ module PureCloud
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [DIDPool] :body
|
90
90
|
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
|
91
|
-
def
|
91
|
+
def post_didpools_with_http_info(opts = {})
|
92
92
|
if @api_client.config.debugging
|
93
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
93
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_didpools ..."
|
94
94
|
end
|
95
95
|
|
96
96
|
# resource path
|
@@ -126,7 +126,7 @@ module PureCloud
|
|
126
126
|
:auth_names => auth_names,
|
127
127
|
:return_type => 'DIDPool')
|
128
128
|
if @api_client.config.debugging
|
129
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
129
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_didpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
130
130
|
end
|
131
131
|
return data, status_code, headers
|
132
132
|
end
|
@@ -136,8 +136,8 @@ module PureCloud
|
|
136
136
|
# @param did_pool_id DID pool ID
|
137
137
|
# @param [Hash] opts the optional parameters
|
138
138
|
# @return [DIDPool]
|
139
|
-
def
|
140
|
-
data, status_code, headers =
|
139
|
+
def get_didpools_didpool_id(did_pool_id, opts = {})
|
140
|
+
data, status_code, headers = get_didpools_didpool_id_with_http_info(did_pool_id, opts)
|
141
141
|
return data
|
142
142
|
end
|
143
143
|
|
@@ -146,13 +146,13 @@ module PureCloud
|
|
146
146
|
# @param did_pool_id DID pool ID
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
148
|
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
|
149
|
-
def
|
149
|
+
def get_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
|
150
150
|
if @api_client.config.debugging
|
151
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
151
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_didpools_didpool_id ..."
|
152
152
|
end
|
153
153
|
|
154
154
|
# verify the required parameter 'did_pool_id' is set
|
155
|
-
fail "Missing the required parameter 'did_pool_id' when calling
|
155
|
+
fail "Missing the required parameter 'did_pool_id' when calling get_didpools_didpool_id" if did_pool_id.nil?
|
156
156
|
|
157
157
|
# resource path
|
158
158
|
path = "/api/v1/configuration/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
|
@@ -187,7 +187,7 @@ module PureCloud
|
|
187
187
|
:auth_names => auth_names,
|
188
188
|
:return_type => 'DIDPool')
|
189
189
|
if @api_client.config.debugging
|
190
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
190
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
191
191
|
end
|
192
192
|
return data, status_code, headers
|
193
193
|
end
|
@@ -198,8 +198,8 @@ module PureCloud
|
|
198
198
|
# @param [Hash] opts the optional parameters
|
199
199
|
# @option opts [DIDPool] :body
|
200
200
|
# @return [DIDPool]
|
201
|
-
def
|
202
|
-
data, status_code, headers =
|
201
|
+
def put_didpools_didpool_id(did_pool_id, opts = {})
|
202
|
+
data, status_code, headers = put_didpools_didpool_id_with_http_info(did_pool_id, opts)
|
203
203
|
return data
|
204
204
|
end
|
205
205
|
|
@@ -209,13 +209,13 @@ module PureCloud
|
|
209
209
|
# @param [Hash] opts the optional parameters
|
210
210
|
# @option opts [DIDPool] :body
|
211
211
|
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
|
212
|
-
def
|
212
|
+
def put_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
|
213
213
|
if @api_client.config.debugging
|
214
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
214
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_didpools_didpool_id ..."
|
215
215
|
end
|
216
216
|
|
217
217
|
# verify the required parameter 'did_pool_id' is set
|
218
|
-
fail "Missing the required parameter 'did_pool_id' when calling
|
218
|
+
fail "Missing the required parameter 'did_pool_id' when calling put_didpools_didpool_id" if did_pool_id.nil?
|
219
219
|
|
220
220
|
# resource path
|
221
221
|
path = "/api/v1/configuration/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
|
@@ -250,7 +250,7 @@ module PureCloud
|
|
250
250
|
:auth_names => auth_names,
|
251
251
|
:return_type => 'DIDPool')
|
252
252
|
if @api_client.config.debugging
|
253
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
253
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
254
254
|
end
|
255
255
|
return data, status_code, headers
|
256
256
|
end
|
@@ -260,8 +260,8 @@ module PureCloud
|
|
260
260
|
# @param did_pool_id DID pool ID
|
261
261
|
# @param [Hash] opts the optional parameters
|
262
262
|
# @return [String]
|
263
|
-
def
|
264
|
-
data, status_code, headers =
|
263
|
+
def delete_didpools_didpool_id(did_pool_id, opts = {})
|
264
|
+
data, status_code, headers = delete_didpools_didpool_id_with_http_info(did_pool_id, opts)
|
265
265
|
return data
|
266
266
|
end
|
267
267
|
|
@@ -270,13 +270,13 @@ module PureCloud
|
|
270
270
|
# @param did_pool_id DID pool ID
|
271
271
|
# @param [Hash] opts the optional parameters
|
272
272
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
273
|
-
def
|
273
|
+
def delete_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
|
274
274
|
if @api_client.config.debugging
|
275
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
275
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_didpools_didpool_id ..."
|
276
276
|
end
|
277
277
|
|
278
278
|
# verify the required parameter 'did_pool_id' is set
|
279
|
-
fail "Missing the required parameter 'did_pool_id' when calling
|
279
|
+
fail "Missing the required parameter 'did_pool_id' when calling delete_didpools_didpool_id" if did_pool_id.nil?
|
280
280
|
|
281
281
|
# resource path
|
282
282
|
path = "/api/v1/configuration/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
|
@@ -311,7 +311,7 @@ module PureCloud
|
|
311
311
|
:auth_names => auth_names,
|
312
312
|
:return_type => 'String')
|
313
313
|
if @api_client.config.debugging
|
314
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
314
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
315
315
|
end
|
316
316
|
return data, status_code, headers
|
317
317
|
end
|
@@ -392,8 +392,8 @@ module PureCloud
|
|
392
392
|
# @param did_id DID ID
|
393
393
|
# @param [Hash] opts the optional parameters
|
394
394
|
# @return [DID]
|
395
|
-
def
|
396
|
-
data, status_code, headers =
|
395
|
+
def get_dids_did_id(did_id, opts = {})
|
396
|
+
data, status_code, headers = get_dids_did_id_with_http_info(did_id, opts)
|
397
397
|
return data
|
398
398
|
end
|
399
399
|
|
@@ -402,13 +402,13 @@ module PureCloud
|
|
402
402
|
# @param did_id DID ID
|
403
403
|
# @param [Hash] opts the optional parameters
|
404
404
|
# @return [Array<(DID, Fixnum, Hash)>] DID data, response status code and response headers
|
405
|
-
def
|
405
|
+
def get_dids_did_id_with_http_info(did_id, opts = {})
|
406
406
|
if @api_client.config.debugging
|
407
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
407
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_dids_did_id ..."
|
408
408
|
end
|
409
409
|
|
410
410
|
# verify the required parameter 'did_id' is set
|
411
|
-
fail "Missing the required parameter 'did_id' when calling
|
411
|
+
fail "Missing the required parameter 'did_id' when calling get_dids_did_id" if did_id.nil?
|
412
412
|
|
413
413
|
# resource path
|
414
414
|
path = "/api/v1/configuration/dids/{didId}".sub('{format}','json').sub('{' + 'didId' + '}', did_id.to_s)
|
@@ -443,7 +443,7 @@ module PureCloud
|
|
443
443
|
:auth_names => auth_names,
|
444
444
|
:return_type => 'DID')
|
445
445
|
if @api_client.config.debugging
|
446
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
446
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_dids_did_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
447
447
|
end
|
448
448
|
return data, status_code, headers
|
449
449
|
end
|
@@ -454,8 +454,8 @@ module PureCloud
|
|
454
454
|
# @param [Hash] opts the optional parameters
|
455
455
|
# @option opts [DID] :body
|
456
456
|
# @return [DID]
|
457
|
-
def
|
458
|
-
data, status_code, headers =
|
457
|
+
def put_dids_did_id(did_id, opts = {})
|
458
|
+
data, status_code, headers = put_dids_did_id_with_http_info(did_id, opts)
|
459
459
|
return data
|
460
460
|
end
|
461
461
|
|
@@ -465,13 +465,13 @@ module PureCloud
|
|
465
465
|
# @param [Hash] opts the optional parameters
|
466
466
|
# @option opts [DID] :body
|
467
467
|
# @return [Array<(DID, Fixnum, Hash)>] DID data, response status code and response headers
|
468
|
-
def
|
468
|
+
def put_dids_did_id_with_http_info(did_id, opts = {})
|
469
469
|
if @api_client.config.debugging
|
470
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
470
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_dids_did_id ..."
|
471
471
|
end
|
472
472
|
|
473
473
|
# verify the required parameter 'did_id' is set
|
474
|
-
fail "Missing the required parameter 'did_id' when calling
|
474
|
+
fail "Missing the required parameter 'did_id' when calling put_dids_did_id" if did_id.nil?
|
475
475
|
|
476
476
|
# resource path
|
477
477
|
path = "/api/v1/configuration/dids/{didId}".sub('{format}','json').sub('{' + 'didId' + '}', did_id.to_s)
|
@@ -506,7 +506,7 @@ module PureCloud
|
|
506
506
|
:auth_names => auth_names,
|
507
507
|
:return_type => 'DID')
|
508
508
|
if @api_client.config.debugging
|
509
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
509
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_dids_did_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
510
510
|
end
|
511
511
|
return data, status_code, headers
|
512
512
|
end
|
@@ -590,8 +590,8 @@ module PureCloud
|
|
590
590
|
# @param [Hash] opts the optional parameters
|
591
591
|
# @option opts [Edge] :body Edge
|
592
592
|
# @return [Edge]
|
593
|
-
def
|
594
|
-
data, status_code, headers =
|
593
|
+
def post_edges(opts = {})
|
594
|
+
data, status_code, headers = post_edges_with_http_info(opts)
|
595
595
|
return data
|
596
596
|
end
|
597
597
|
|
@@ -600,9 +600,9 @@ module PureCloud
|
|
600
600
|
# @param [Hash] opts the optional parameters
|
601
601
|
# @option opts [Edge] :body Edge
|
602
602
|
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
|
603
|
-
def
|
603
|
+
def post_edges_with_http_info(opts = {})
|
604
604
|
if @api_client.config.debugging
|
605
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
605
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges ..."
|
606
606
|
end
|
607
607
|
|
608
608
|
# resource path
|
@@ -638,7 +638,7 @@ module PureCloud
|
|
638
638
|
:auth_names => auth_names,
|
639
639
|
:return_type => 'Edge')
|
640
640
|
if @api_client.config.debugging
|
641
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
641
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
642
642
|
end
|
643
643
|
return data, status_code, headers
|
644
644
|
end
|
@@ -704,8 +704,8 @@ module PureCloud
|
|
704
704
|
# @param [Hash] opts the optional parameters
|
705
705
|
# @option opts [DomainCertificateAuthority] :body CertificateAuthority
|
706
706
|
# @return [DomainCertificateAuthority]
|
707
|
-
def
|
708
|
-
data, status_code, headers =
|
707
|
+
def post_edges_certificateauthorities(opts = {})
|
708
|
+
data, status_code, headers = post_edges_certificateauthorities_with_http_info(opts)
|
709
709
|
return data
|
710
710
|
end
|
711
711
|
|
@@ -714,9 +714,9 @@ module PureCloud
|
|
714
714
|
# @param [Hash] opts the optional parameters
|
715
715
|
# @option opts [DomainCertificateAuthority] :body CertificateAuthority
|
716
716
|
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
|
717
|
-
def
|
717
|
+
def post_edges_certificateauthorities_with_http_info(opts = {})
|
718
718
|
if @api_client.config.debugging
|
719
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
719
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_certificateauthorities ..."
|
720
720
|
end
|
721
721
|
|
722
722
|
# resource path
|
@@ -752,7 +752,7 @@ module PureCloud
|
|
752
752
|
:auth_names => auth_names,
|
753
753
|
:return_type => 'DomainCertificateAuthority')
|
754
754
|
if @api_client.config.debugging
|
755
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
755
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges_certificateauthorities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
756
756
|
end
|
757
757
|
return data, status_code, headers
|
758
758
|
end
|
@@ -762,8 +762,8 @@ module PureCloud
|
|
762
762
|
# @param certificate_id Certificate ID
|
763
763
|
# @param [Hash] opts the optional parameters
|
764
764
|
# @return [DomainCertificateAuthority]
|
765
|
-
def
|
766
|
-
data, status_code, headers =
|
765
|
+
def get_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
|
766
|
+
data, status_code, headers = get_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
|
767
767
|
return data
|
768
768
|
end
|
769
769
|
|
@@ -772,13 +772,13 @@ module PureCloud
|
|
772
772
|
# @param certificate_id Certificate ID
|
773
773
|
# @param [Hash] opts the optional parameters
|
774
774
|
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
|
775
|
-
def
|
775
|
+
def get_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
|
776
776
|
if @api_client.config.debugging
|
777
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
777
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_certificateauthorities_certificate_id ..."
|
778
778
|
end
|
779
779
|
|
780
780
|
# verify the required parameter 'certificate_id' is set
|
781
|
-
fail "Missing the required parameter 'certificate_id' when calling
|
781
|
+
fail "Missing the required parameter 'certificate_id' when calling get_edges_certificateauthorities_certificate_id" if certificate_id.nil?
|
782
782
|
|
783
783
|
# resource path
|
784
784
|
path = "/api/v1/configuration/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
|
@@ -813,7 +813,7 @@ module PureCloud
|
|
813
813
|
:auth_names => auth_names,
|
814
814
|
:return_type => 'DomainCertificateAuthority')
|
815
815
|
if @api_client.config.debugging
|
816
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
816
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
817
817
|
end
|
818
818
|
return data, status_code, headers
|
819
819
|
end
|
@@ -824,8 +824,8 @@ module PureCloud
|
|
824
824
|
# @param [Hash] opts the optional parameters
|
825
825
|
# @option opts [DomainCertificateAuthority] :body
|
826
826
|
# @return [DomainCertificateAuthority]
|
827
|
-
def
|
828
|
-
data, status_code, headers =
|
827
|
+
def put_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
|
828
|
+
data, status_code, headers = put_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
|
829
829
|
return data
|
830
830
|
end
|
831
831
|
|
@@ -835,13 +835,13 @@ module PureCloud
|
|
835
835
|
# @param [Hash] opts the optional parameters
|
836
836
|
# @option opts [DomainCertificateAuthority] :body
|
837
837
|
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
|
838
|
-
def
|
838
|
+
def put_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
|
839
839
|
if @api_client.config.debugging
|
840
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
840
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_certificateauthorities_certificate_id ..."
|
841
841
|
end
|
842
842
|
|
843
843
|
# verify the required parameter 'certificate_id' is set
|
844
|
-
fail "Missing the required parameter 'certificate_id' when calling
|
844
|
+
fail "Missing the required parameter 'certificate_id' when calling put_edges_certificateauthorities_certificate_id" if certificate_id.nil?
|
845
845
|
|
846
846
|
# resource path
|
847
847
|
path = "/api/v1/configuration/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
|
@@ -876,7 +876,7 @@ module PureCloud
|
|
876
876
|
:auth_names => auth_names,
|
877
877
|
:return_type => 'DomainCertificateAuthority')
|
878
878
|
if @api_client.config.debugging
|
879
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
879
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
880
880
|
end
|
881
881
|
return data, status_code, headers
|
882
882
|
end
|
@@ -886,8 +886,8 @@ module PureCloud
|
|
886
886
|
# @param certificate_id Certificate ID
|
887
887
|
# @param [Hash] opts the optional parameters
|
888
888
|
# @return [String]
|
889
|
-
def
|
890
|
-
data, status_code, headers =
|
889
|
+
def delete_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
|
890
|
+
data, status_code, headers = delete_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
|
891
891
|
return data
|
892
892
|
end
|
893
893
|
|
@@ -896,13 +896,13 @@ module PureCloud
|
|
896
896
|
# @param certificate_id Certificate ID
|
897
897
|
# @param [Hash] opts the optional parameters
|
898
898
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
899
|
-
def
|
899
|
+
def delete_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
|
900
900
|
if @api_client.config.debugging
|
901
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
901
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_certificateauthorities_certificate_id ..."
|
902
902
|
end
|
903
903
|
|
904
904
|
# verify the required parameter 'certificate_id' is set
|
905
|
-
fail "Missing the required parameter 'certificate_id' when calling
|
905
|
+
fail "Missing the required parameter 'certificate_id' when calling delete_edges_certificateauthorities_certificate_id" if certificate_id.nil?
|
906
906
|
|
907
907
|
# resource path
|
908
908
|
path = "/api/v1/configuration/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
|
@@ -937,7 +937,7 @@ module PureCloud
|
|
937
937
|
:auth_names => auth_names,
|
938
938
|
:return_type => 'String')
|
939
939
|
if @api_client.config.debugging
|
940
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
940
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
941
941
|
end
|
942
942
|
return data, status_code, headers
|
943
943
|
end
|
@@ -947,8 +947,8 @@ module PureCloud
|
|
947
947
|
# @param edge_id Edge ID
|
948
948
|
# @param [Hash] opts the optional parameters
|
949
949
|
# @return [Edge]
|
950
|
-
def
|
951
|
-
data, status_code, headers =
|
950
|
+
def get_edges_edge_id(edge_id, opts = {})
|
951
|
+
data, status_code, headers = get_edges_edge_id_with_http_info(edge_id, opts)
|
952
952
|
return data
|
953
953
|
end
|
954
954
|
|
@@ -957,13 +957,13 @@ module PureCloud
|
|
957
957
|
# @param edge_id Edge ID
|
958
958
|
# @param [Hash] opts the optional parameters
|
959
959
|
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
|
960
|
-
def
|
960
|
+
def get_edges_edge_id_with_http_info(edge_id, opts = {})
|
961
961
|
if @api_client.config.debugging
|
962
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
962
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id ..."
|
963
963
|
end
|
964
964
|
|
965
965
|
# verify the required parameter 'edge_id' is set
|
966
|
-
fail "Missing the required parameter 'edge_id' when calling
|
966
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id" if edge_id.nil?
|
967
967
|
|
968
968
|
# resource path
|
969
969
|
path = "/api/v1/configuration/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -998,7 +998,7 @@ module PureCloud
|
|
998
998
|
:auth_names => auth_names,
|
999
999
|
:return_type => 'Edge')
|
1000
1000
|
if @api_client.config.debugging
|
1001
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1001
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1002
1002
|
end
|
1003
1003
|
return data, status_code, headers
|
1004
1004
|
end
|
@@ -1009,8 +1009,8 @@ module PureCloud
|
|
1009
1009
|
# @param [Hash] opts the optional parameters
|
1010
1010
|
# @option opts [Edge] :body Edge
|
1011
1011
|
# @return [Edge]
|
1012
|
-
def
|
1013
|
-
data, status_code, headers =
|
1012
|
+
def put_edges_edge_id(edge_id, opts = {})
|
1013
|
+
data, status_code, headers = put_edges_edge_id_with_http_info(edge_id, opts)
|
1014
1014
|
return data
|
1015
1015
|
end
|
1016
1016
|
|
@@ -1020,13 +1020,13 @@ module PureCloud
|
|
1020
1020
|
# @param [Hash] opts the optional parameters
|
1021
1021
|
# @option opts [Edge] :body Edge
|
1022
1022
|
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
|
1023
|
-
def
|
1023
|
+
def put_edges_edge_id_with_http_info(edge_id, opts = {})
|
1024
1024
|
if @api_client.config.debugging
|
1025
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1025
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_edge_id ..."
|
1026
1026
|
end
|
1027
1027
|
|
1028
1028
|
# verify the required parameter 'edge_id' is set
|
1029
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1029
|
+
fail "Missing the required parameter 'edge_id' when calling put_edges_edge_id" if edge_id.nil?
|
1030
1030
|
|
1031
1031
|
# resource path
|
1032
1032
|
path = "/api/v1/configuration/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1061,7 +1061,7 @@ module PureCloud
|
|
1061
1061
|
:auth_names => auth_names,
|
1062
1062
|
:return_type => 'Edge')
|
1063
1063
|
if @api_client.config.debugging
|
1064
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1064
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1065
1065
|
end
|
1066
1066
|
return data, status_code, headers
|
1067
1067
|
end
|
@@ -1071,8 +1071,8 @@ module PureCloud
|
|
1071
1071
|
# @param edge_id Edge ID
|
1072
1072
|
# @param [Hash] opts the optional parameters
|
1073
1073
|
# @return [String]
|
1074
|
-
def
|
1075
|
-
data, status_code, headers =
|
1074
|
+
def delete_edges_edge_id(edge_id, opts = {})
|
1075
|
+
data, status_code, headers = delete_edges_edge_id_with_http_info(edge_id, opts)
|
1076
1076
|
return data
|
1077
1077
|
end
|
1078
1078
|
|
@@ -1081,13 +1081,13 @@ module PureCloud
|
|
1081
1081
|
# @param edge_id Edge ID
|
1082
1082
|
# @param [Hash] opts the optional parameters
|
1083
1083
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1084
|
-
def
|
1084
|
+
def delete_edges_edge_id_with_http_info(edge_id, opts = {})
|
1085
1085
|
if @api_client.config.debugging
|
1086
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1086
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_edge_id ..."
|
1087
1087
|
end
|
1088
1088
|
|
1089
1089
|
# verify the required parameter 'edge_id' is set
|
1090
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1090
|
+
fail "Missing the required parameter 'edge_id' when calling delete_edges_edge_id" if edge_id.nil?
|
1091
1091
|
|
1092
1092
|
# resource path
|
1093
1093
|
path = "/api/v1/configuration/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1122,7 +1122,7 @@ module PureCloud
|
|
1122
1122
|
:auth_names => auth_names,
|
1123
1123
|
:return_type => 'String')
|
1124
1124
|
if @api_client.config.debugging
|
1125
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1125
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1126
1126
|
end
|
1127
1127
|
return data, status_code, headers
|
1128
1128
|
end
|
@@ -1134,8 +1134,8 @@ module PureCloud
|
|
1134
1134
|
# @option opts [Integer] :page_size Page size
|
1135
1135
|
# @option opts [Integer] :page_number Page number
|
1136
1136
|
# @return [EdgeLineEntityListing]
|
1137
|
-
def
|
1138
|
-
data, status_code, headers =
|
1137
|
+
def get_edges_edge_id_lines(edge_id, opts = {})
|
1138
|
+
data, status_code, headers = get_edges_edge_id_lines_with_http_info(edge_id, opts)
|
1139
1139
|
return data
|
1140
1140
|
end
|
1141
1141
|
|
@@ -1146,13 +1146,13 @@ module PureCloud
|
|
1146
1146
|
# @option opts [Integer] :page_size Page size
|
1147
1147
|
# @option opts [Integer] :page_number Page number
|
1148
1148
|
# @return [Array<(EdgeLineEntityListing, Fixnum, Hash)>] EdgeLineEntityListing data, response status code and response headers
|
1149
|
-
def
|
1149
|
+
def get_edges_edge_id_lines_with_http_info(edge_id, opts = {})
|
1150
1150
|
if @api_client.config.debugging
|
1151
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1151
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_lines ..."
|
1152
1152
|
end
|
1153
1153
|
|
1154
1154
|
# verify the required parameter 'edge_id' is set
|
1155
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1155
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_lines" if edge_id.nil?
|
1156
1156
|
|
1157
1157
|
# resource path
|
1158
1158
|
path = "/api/v1/configuration/edges/{edgeId}/lines".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1189,7 +1189,7 @@ module PureCloud
|
|
1189
1189
|
:auth_names => auth_names,
|
1190
1190
|
:return_type => 'EdgeLineEntityListing')
|
1191
1191
|
if @api_client.config.debugging
|
1192
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1192
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1193
1193
|
end
|
1194
1194
|
return data, status_code, headers
|
1195
1195
|
end
|
@@ -1200,8 +1200,8 @@ module PureCloud
|
|
1200
1200
|
# @param line_id Line ID
|
1201
1201
|
# @param [Hash] opts the optional parameters
|
1202
1202
|
# @return [EdgeLine]
|
1203
|
-
def
|
1204
|
-
data, status_code, headers =
|
1203
|
+
def get_edges_edge_id_lines_line_id(edge_id, line_id, opts = {})
|
1204
|
+
data, status_code, headers = get_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts)
|
1205
1205
|
return data
|
1206
1206
|
end
|
1207
1207
|
|
@@ -1211,16 +1211,16 @@ module PureCloud
|
|
1211
1211
|
# @param line_id Line ID
|
1212
1212
|
# @param [Hash] opts the optional parameters
|
1213
1213
|
# @return [Array<(EdgeLine, Fixnum, Hash)>] EdgeLine data, response status code and response headers
|
1214
|
-
def
|
1214
|
+
def get_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts = {})
|
1215
1215
|
if @api_client.config.debugging
|
1216
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1216
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_lines_line_id ..."
|
1217
1217
|
end
|
1218
1218
|
|
1219
1219
|
# verify the required parameter 'edge_id' is set
|
1220
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1220
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_lines_line_id" if edge_id.nil?
|
1221
1221
|
|
1222
1222
|
# verify the required parameter 'line_id' is set
|
1223
|
-
fail "Missing the required parameter 'line_id' when calling
|
1223
|
+
fail "Missing the required parameter 'line_id' when calling get_edges_edge_id_lines_line_id" if line_id.nil?
|
1224
1224
|
|
1225
1225
|
# resource path
|
1226
1226
|
path = "/api/v1/configuration/edges/{edgeId}/lines/{lineId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'lineId' + '}', line_id.to_s)
|
@@ -1255,7 +1255,7 @@ module PureCloud
|
|
1255
1255
|
:auth_names => auth_names,
|
1256
1256
|
:return_type => 'EdgeLine')
|
1257
1257
|
if @api_client.config.debugging
|
1258
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1258
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1259
1259
|
end
|
1260
1260
|
return data, status_code, headers
|
1261
1261
|
end
|
@@ -1267,8 +1267,8 @@ module PureCloud
|
|
1267
1267
|
# @param [Hash] opts the optional parameters
|
1268
1268
|
# @option opts [EdgeLine] :body Line
|
1269
1269
|
# @return [EdgeLine]
|
1270
|
-
def
|
1271
|
-
data, status_code, headers =
|
1270
|
+
def put_edges_edge_id_lines_line_id(edge_id, line_id, opts = {})
|
1271
|
+
data, status_code, headers = put_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts)
|
1272
1272
|
return data
|
1273
1273
|
end
|
1274
1274
|
|
@@ -1279,16 +1279,16 @@ module PureCloud
|
|
1279
1279
|
# @param [Hash] opts the optional parameters
|
1280
1280
|
# @option opts [EdgeLine] :body Line
|
1281
1281
|
# @return [Array<(EdgeLine, Fixnum, Hash)>] EdgeLine data, response status code and response headers
|
1282
|
-
def
|
1282
|
+
def put_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts = {})
|
1283
1283
|
if @api_client.config.debugging
|
1284
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1284
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_edge_id_lines_line_id ..."
|
1285
1285
|
end
|
1286
1286
|
|
1287
1287
|
# verify the required parameter 'edge_id' is set
|
1288
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1288
|
+
fail "Missing the required parameter 'edge_id' when calling put_edges_edge_id_lines_line_id" if edge_id.nil?
|
1289
1289
|
|
1290
1290
|
# verify the required parameter 'line_id' is set
|
1291
|
-
fail "Missing the required parameter 'line_id' when calling
|
1291
|
+
fail "Missing the required parameter 'line_id' when calling put_edges_edge_id_lines_line_id" if line_id.nil?
|
1292
1292
|
|
1293
1293
|
# resource path
|
1294
1294
|
path = "/api/v1/configuration/edges/{edgeId}/lines/{lineId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'lineId' + '}', line_id.to_s)
|
@@ -1323,7 +1323,7 @@ module PureCloud
|
|
1323
1323
|
:auth_names => auth_names,
|
1324
1324
|
:return_type => 'EdgeLine')
|
1325
1325
|
if @api_client.config.debugging
|
1326
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1326
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_edges_edge_id_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1327
1327
|
end
|
1328
1328
|
return data, status_code, headers
|
1329
1329
|
end
|
@@ -1333,8 +1333,8 @@ module PureCloud
|
|
1333
1333
|
# @param edge_id Edge ID
|
1334
1334
|
# @param [Hash] opts the optional parameters
|
1335
1335
|
# @return [LogicalInterfaceEntityListing]
|
1336
|
-
def
|
1337
|
-
data, status_code, headers =
|
1336
|
+
def get_edges_edge_id_logicalinterfaces(edge_id, opts = {})
|
1337
|
+
data, status_code, headers = get_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
|
1338
1338
|
return data
|
1339
1339
|
end
|
1340
1340
|
|
@@ -1343,13 +1343,13 @@ module PureCloud
|
|
1343
1343
|
# @param edge_id Edge ID
|
1344
1344
|
# @param [Hash] opts the optional parameters
|
1345
1345
|
# @return [Array<(LogicalInterfaceEntityListing, Fixnum, Hash)>] LogicalInterfaceEntityListing data, response status code and response headers
|
1346
|
-
def
|
1346
|
+
def get_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
|
1347
1347
|
if @api_client.config.debugging
|
1348
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1348
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_logicalinterfaces ..."
|
1349
1349
|
end
|
1350
1350
|
|
1351
1351
|
# verify the required parameter 'edge_id' is set
|
1352
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1352
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_logicalinterfaces" if edge_id.nil?
|
1353
1353
|
|
1354
1354
|
# resource path
|
1355
1355
|
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1384,7 +1384,7 @@ module PureCloud
|
|
1384
1384
|
:auth_names => auth_names,
|
1385
1385
|
:return_type => 'LogicalInterfaceEntityListing')
|
1386
1386
|
if @api_client.config.debugging
|
1387
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1387
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1388
1388
|
end
|
1389
1389
|
return data, status_code, headers
|
1390
1390
|
end
|
@@ -1395,8 +1395,8 @@ module PureCloud
|
|
1395
1395
|
# @param [Hash] opts the optional parameters
|
1396
1396
|
# @option opts [DomainLogicalInterface] :body
|
1397
1397
|
# @return [DomainLogicalInterface]
|
1398
|
-
def
|
1399
|
-
data, status_code, headers =
|
1398
|
+
def post_edges_edge_id_logicalinterfaces(edge_id, opts = {})
|
1399
|
+
data, status_code, headers = post_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
|
1400
1400
|
return data
|
1401
1401
|
end
|
1402
1402
|
|
@@ -1406,13 +1406,13 @@ module PureCloud
|
|
1406
1406
|
# @param [Hash] opts the optional parameters
|
1407
1407
|
# @option opts [DomainLogicalInterface] :body
|
1408
1408
|
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
|
1409
|
-
def
|
1409
|
+
def post_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
|
1410
1410
|
if @api_client.config.debugging
|
1411
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1411
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_logicalinterfaces ..."
|
1412
1412
|
end
|
1413
1413
|
|
1414
1414
|
# verify the required parameter 'edge_id' is set
|
1415
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1415
|
+
fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_logicalinterfaces" if edge_id.nil?
|
1416
1416
|
|
1417
1417
|
# resource path
|
1418
1418
|
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1447,7 +1447,7 @@ module PureCloud
|
|
1447
1447
|
:auth_names => auth_names,
|
1448
1448
|
:return_type => 'DomainLogicalInterface')
|
1449
1449
|
if @api_client.config.debugging
|
1450
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1450
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1451
1451
|
end
|
1452
1452
|
return data, status_code, headers
|
1453
1453
|
end
|
@@ -1458,8 +1458,8 @@ module PureCloud
|
|
1458
1458
|
# @param interface_id Interface ID
|
1459
1459
|
# @param [Hash] opts the optional parameters
|
1460
1460
|
# @return [DomainLogicalInterface]
|
1461
|
-
def
|
1462
|
-
data, status_code, headers =
|
1461
|
+
def get_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
1462
|
+
data, status_code, headers = get_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
1463
1463
|
return data
|
1464
1464
|
end
|
1465
1465
|
|
@@ -1469,16 +1469,16 @@ module PureCloud
|
|
1469
1469
|
# @param interface_id Interface ID
|
1470
1470
|
# @param [Hash] opts the optional parameters
|
1471
1471
|
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
|
1472
|
-
def
|
1472
|
+
def get_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
1473
1473
|
if @api_client.config.debugging
|
1474
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1474
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_logicalinterfaces_interface_id ..."
|
1475
1475
|
end
|
1476
1476
|
|
1477
1477
|
# verify the required parameter 'edge_id' is set
|
1478
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1478
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
|
1479
1479
|
|
1480
1480
|
# verify the required parameter 'interface_id' is set
|
1481
|
-
fail "Missing the required parameter 'interface_id' when calling
|
1481
|
+
fail "Missing the required parameter 'interface_id' when calling get_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
|
1482
1482
|
|
1483
1483
|
# resource path
|
1484
1484
|
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
@@ -1513,7 +1513,7 @@ module PureCloud
|
|
1513
1513
|
:auth_names => auth_names,
|
1514
1514
|
:return_type => 'DomainLogicalInterface')
|
1515
1515
|
if @api_client.config.debugging
|
1516
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1516
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1517
1517
|
end
|
1518
1518
|
return data, status_code, headers
|
1519
1519
|
end
|
@@ -1525,8 +1525,8 @@ module PureCloud
|
|
1525
1525
|
# @param [Hash] opts the optional parameters
|
1526
1526
|
# @option opts [DomainLogicalInterface] :body
|
1527
1527
|
# @return [DomainLogicalInterface]
|
1528
|
-
def
|
1529
|
-
data, status_code, headers =
|
1528
|
+
def put_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
1529
|
+
data, status_code, headers = put_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
1530
1530
|
return data
|
1531
1531
|
end
|
1532
1532
|
|
@@ -1537,16 +1537,16 @@ module PureCloud
|
|
1537
1537
|
# @param [Hash] opts the optional parameters
|
1538
1538
|
# @option opts [DomainLogicalInterface] :body
|
1539
1539
|
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
|
1540
|
-
def
|
1540
|
+
def put_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
1541
1541
|
if @api_client.config.debugging
|
1542
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1542
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_edge_id_logicalinterfaces_interface_id ..."
|
1543
1543
|
end
|
1544
1544
|
|
1545
1545
|
# verify the required parameter 'edge_id' is set
|
1546
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1546
|
+
fail "Missing the required parameter 'edge_id' when calling put_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
|
1547
1547
|
|
1548
1548
|
# verify the required parameter 'interface_id' is set
|
1549
|
-
fail "Missing the required parameter 'interface_id' when calling
|
1549
|
+
fail "Missing the required parameter 'interface_id' when calling put_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
|
1550
1550
|
|
1551
1551
|
# resource path
|
1552
1552
|
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
@@ -1581,7 +1581,7 @@ module PureCloud
|
|
1581
1581
|
:auth_names => auth_names,
|
1582
1582
|
:return_type => 'DomainLogicalInterface')
|
1583
1583
|
if @api_client.config.debugging
|
1584
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1584
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1585
1585
|
end
|
1586
1586
|
return data, status_code, headers
|
1587
1587
|
end
|
@@ -1592,8 +1592,8 @@ module PureCloud
|
|
1592
1592
|
# @param interface_id Interface ID
|
1593
1593
|
# @param [Hash] opts the optional parameters
|
1594
1594
|
# @return [nil]
|
1595
|
-
def
|
1596
|
-
|
1595
|
+
def delete_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
1596
|
+
delete_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
1597
1597
|
return nil
|
1598
1598
|
end
|
1599
1599
|
|
@@ -1603,16 +1603,16 @@ module PureCloud
|
|
1603
1603
|
# @param interface_id Interface ID
|
1604
1604
|
# @param [Hash] opts the optional parameters
|
1605
1605
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1606
|
-
def
|
1606
|
+
def delete_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
1607
1607
|
if @api_client.config.debugging
|
1608
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1608
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_edge_id_logicalinterfaces_interface_id ..."
|
1609
1609
|
end
|
1610
1610
|
|
1611
1611
|
# verify the required parameter 'edge_id' is set
|
1612
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1612
|
+
fail "Missing the required parameter 'edge_id' when calling delete_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
|
1613
1613
|
|
1614
1614
|
# verify the required parameter 'interface_id' is set
|
1615
|
-
fail "Missing the required parameter 'interface_id' when calling
|
1615
|
+
fail "Missing the required parameter 'interface_id' when calling delete_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
|
1616
1616
|
|
1617
1617
|
# resource path
|
1618
1618
|
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
@@ -1646,7 +1646,203 @@ module PureCloud
|
|
1646
1646
|
:body => post_body,
|
1647
1647
|
:auth_names => auth_names)
|
1648
1648
|
if @api_client.config.debugging
|
1649
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1649
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1650
|
+
end
|
1651
|
+
return data, status_code, headers
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
# Create a job to upload a list of Edge logs.
|
1655
|
+
#
|
1656
|
+
# @param edge_id Edge ID
|
1657
|
+
# @param [Hash] opts the optional parameters
|
1658
|
+
# @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
|
1659
|
+
# @return [EdgeLogsJobResponse]
|
1660
|
+
def post_edges_edge_id_logs_jobs(edge_id, opts = {})
|
1661
|
+
data, status_code, headers = post_edges_edge_id_logs_jobs_with_http_info(edge_id, opts)
|
1662
|
+
return data
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
# Create a job to upload a list of Edge logs.
|
1666
|
+
#
|
1667
|
+
# @param edge_id Edge ID
|
1668
|
+
# @param [Hash] opts the optional parameters
|
1669
|
+
# @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
|
1670
|
+
# @return [Array<(EdgeLogsJobResponse, Fixnum, Hash)>] EdgeLogsJobResponse data, response status code and response headers
|
1671
|
+
def post_edges_edge_id_logs_jobs_with_http_info(edge_id, opts = {})
|
1672
|
+
if @api_client.config.debugging
|
1673
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_logs_jobs ..."
|
1674
|
+
end
|
1675
|
+
|
1676
|
+
# verify the required parameter 'edge_id' is set
|
1677
|
+
fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_logs_jobs" if edge_id.nil?
|
1678
|
+
|
1679
|
+
# resource path
|
1680
|
+
path = "/api/v1/configuration/edges/{edgeId}/logs/jobs".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
1681
|
+
|
1682
|
+
# query parameters
|
1683
|
+
query_params = {}
|
1684
|
+
|
1685
|
+
# header parameters
|
1686
|
+
header_params = {}
|
1687
|
+
|
1688
|
+
# HTTP header 'Accept' (if needed)
|
1689
|
+
_header_accept = ['application/json']
|
1690
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1691
|
+
|
1692
|
+
# HTTP header 'Content-Type'
|
1693
|
+
_header_content_type = ['application/json']
|
1694
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1695
|
+
|
1696
|
+
# form parameters
|
1697
|
+
form_params = {}
|
1698
|
+
|
1699
|
+
# http body (model)
|
1700
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1701
|
+
|
1702
|
+
|
1703
|
+
auth_names = ['PureCloud Auth']
|
1704
|
+
data, status_code, headers = @api_client.call_api(:POST, path,
|
1705
|
+
:header_params => header_params,
|
1706
|
+
:query_params => query_params,
|
1707
|
+
:form_params => form_params,
|
1708
|
+
:body => post_body,
|
1709
|
+
:auth_names => auth_names,
|
1710
|
+
:return_type => 'EdgeLogsJobResponse')
|
1711
|
+
if @api_client.config.debugging
|
1712
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_logs_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1713
|
+
end
|
1714
|
+
return data, status_code, headers
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# Get an Edge logs job.
|
1718
|
+
#
|
1719
|
+
# @param edge_id Edge ID
|
1720
|
+
# @param job_id Job ID
|
1721
|
+
# @param [Hash] opts the optional parameters
|
1722
|
+
# @return [EdgeLogsJob]
|
1723
|
+
def get_edges_edge_id_logs_jobs_job_id(edge_id, job_id, opts = {})
|
1724
|
+
data, status_code, headers = get_edges_edge_id_logs_jobs_job_id_with_http_info(edge_id, job_id, opts)
|
1725
|
+
return data
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
# Get an Edge logs job.
|
1729
|
+
#
|
1730
|
+
# @param edge_id Edge ID
|
1731
|
+
# @param job_id Job ID
|
1732
|
+
# @param [Hash] opts the optional parameters
|
1733
|
+
# @return [Array<(EdgeLogsJob, Fixnum, Hash)>] EdgeLogsJob data, response status code and response headers
|
1734
|
+
def get_edges_edge_id_logs_jobs_job_id_with_http_info(edge_id, job_id, opts = {})
|
1735
|
+
if @api_client.config.debugging
|
1736
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_logs_jobs_job_id ..."
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# verify the required parameter 'edge_id' is set
|
1740
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_logs_jobs_job_id" if edge_id.nil?
|
1741
|
+
|
1742
|
+
# verify the required parameter 'job_id' is set
|
1743
|
+
fail "Missing the required parameter 'job_id' when calling get_edges_edge_id_logs_jobs_job_id" if job_id.nil?
|
1744
|
+
|
1745
|
+
# resource path
|
1746
|
+
path = "/api/v1/configuration/edges/{edgeId}/logs/jobs/{jobId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'jobId' + '}', job_id.to_s)
|
1747
|
+
|
1748
|
+
# query parameters
|
1749
|
+
query_params = {}
|
1750
|
+
|
1751
|
+
# header parameters
|
1752
|
+
header_params = {}
|
1753
|
+
|
1754
|
+
# HTTP header 'Accept' (if needed)
|
1755
|
+
_header_accept = ['application/json']
|
1756
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1757
|
+
|
1758
|
+
# HTTP header 'Content-Type'
|
1759
|
+
_header_content_type = ['application/json']
|
1760
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1761
|
+
|
1762
|
+
# form parameters
|
1763
|
+
form_params = {}
|
1764
|
+
|
1765
|
+
# http body (model)
|
1766
|
+
post_body = nil
|
1767
|
+
|
1768
|
+
|
1769
|
+
auth_names = ['PureCloud Auth']
|
1770
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
1771
|
+
:header_params => header_params,
|
1772
|
+
:query_params => query_params,
|
1773
|
+
:form_params => form_params,
|
1774
|
+
:body => post_body,
|
1775
|
+
:auth_names => auth_names,
|
1776
|
+
:return_type => 'EdgeLogsJob')
|
1777
|
+
if @api_client.config.debugging
|
1778
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_logs_jobs_job_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1779
|
+
end
|
1780
|
+
return data, status_code, headers
|
1781
|
+
end
|
1782
|
+
|
1783
|
+
# Request that the specified fileIds be uploaded from the Edge.
|
1784
|
+
#
|
1785
|
+
# @param edge_id Edge ID
|
1786
|
+
# @param job_id Job ID
|
1787
|
+
# @param [Hash] opts the optional parameters
|
1788
|
+
# @option opts [EdgeLogsJobUploadRequest] :body
|
1789
|
+
# @return [nil]
|
1790
|
+
def post_edges_edge_id_logs_jobs_job_id_upload(edge_id, job_id, opts = {})
|
1791
|
+
post_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts)
|
1792
|
+
return nil
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
# Request that the specified fileIds be uploaded from the Edge.
|
1796
|
+
#
|
1797
|
+
# @param edge_id Edge ID
|
1798
|
+
# @param job_id Job ID
|
1799
|
+
# @param [Hash] opts the optional parameters
|
1800
|
+
# @option opts [EdgeLogsJobUploadRequest] :body
|
1801
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1802
|
+
def post_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts = {})
|
1803
|
+
if @api_client.config.debugging
|
1804
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_logs_jobs_job_id_upload ..."
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
# verify the required parameter 'edge_id' is set
|
1808
|
+
fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_logs_jobs_job_id_upload" if edge_id.nil?
|
1809
|
+
|
1810
|
+
# verify the required parameter 'job_id' is set
|
1811
|
+
fail "Missing the required parameter 'job_id' when calling post_edges_edge_id_logs_jobs_job_id_upload" if job_id.nil?
|
1812
|
+
|
1813
|
+
# resource path
|
1814
|
+
path = "/api/v1/configuration/edges/{edgeId}/logs/jobs/{jobId}/upload".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'jobId' + '}', job_id.to_s)
|
1815
|
+
|
1816
|
+
# query parameters
|
1817
|
+
query_params = {}
|
1818
|
+
|
1819
|
+
# header parameters
|
1820
|
+
header_params = {}
|
1821
|
+
|
1822
|
+
# HTTP header 'Accept' (if needed)
|
1823
|
+
_header_accept = ['application/json']
|
1824
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1825
|
+
|
1826
|
+
# HTTP header 'Content-Type'
|
1827
|
+
_header_content_type = ['application/json']
|
1828
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1829
|
+
|
1830
|
+
# form parameters
|
1831
|
+
form_params = {}
|
1832
|
+
|
1833
|
+
# http body (model)
|
1834
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1835
|
+
|
1836
|
+
|
1837
|
+
auth_names = ['PureCloud Auth']
|
1838
|
+
data, status_code, headers = @api_client.call_api(:POST, path,
|
1839
|
+
:header_params => header_params,
|
1840
|
+
:query_params => query_params,
|
1841
|
+
:form_params => form_params,
|
1842
|
+
:body => post_body,
|
1843
|
+
:auth_names => auth_names)
|
1844
|
+
if @api_client.config.debugging
|
1845
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_logs_jobs_job_id_upload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1650
1846
|
end
|
1651
1847
|
return data, status_code, headers
|
1652
1848
|
end
|
@@ -1656,8 +1852,8 @@ module PureCloud
|
|
1656
1852
|
# @param edge_id Edge ID
|
1657
1853
|
# @param [Hash] opts the optional parameters
|
1658
1854
|
# @return [PhysicalInterfaceEntityListing]
|
1659
|
-
def
|
1660
|
-
data, status_code, headers =
|
1855
|
+
def get_edges_edge_id_physicalinterfaces(edge_id, opts = {})
|
1856
|
+
data, status_code, headers = get_edges_edge_id_physicalinterfaces_with_http_info(edge_id, opts)
|
1661
1857
|
return data
|
1662
1858
|
end
|
1663
1859
|
|
@@ -1666,13 +1862,13 @@ module PureCloud
|
|
1666
1862
|
# @param edge_id Edge ID
|
1667
1863
|
# @param [Hash] opts the optional parameters
|
1668
1864
|
# @return [Array<(PhysicalInterfaceEntityListing, Fixnum, Hash)>] PhysicalInterfaceEntityListing data, response status code and response headers
|
1669
|
-
def
|
1865
|
+
def get_edges_edge_id_physicalinterfaces_with_http_info(edge_id, opts = {})
|
1670
1866
|
if @api_client.config.debugging
|
1671
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1867
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_physicalinterfaces ..."
|
1672
1868
|
end
|
1673
1869
|
|
1674
1870
|
# verify the required parameter 'edge_id' is set
|
1675
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1871
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_physicalinterfaces" if edge_id.nil?
|
1676
1872
|
|
1677
1873
|
# resource path
|
1678
1874
|
path = "/api/v1/configuration/edges/{edgeId}/physicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1707,7 +1903,7 @@ module PureCloud
|
|
1707
1903
|
:auth_names => auth_names,
|
1708
1904
|
:return_type => 'PhysicalInterfaceEntityListing')
|
1709
1905
|
if @api_client.config.debugging
|
1710
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1906
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_physicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1711
1907
|
end
|
1712
1908
|
return data, status_code, headers
|
1713
1909
|
end
|
@@ -1718,8 +1914,8 @@ module PureCloud
|
|
1718
1914
|
# @param interface_id Interface ID
|
1719
1915
|
# @param [Hash] opts the optional parameters
|
1720
1916
|
# @return [DomainPhysicalInterface]
|
1721
|
-
def
|
1722
|
-
data, status_code, headers =
|
1917
|
+
def get_edges_edge_id_physicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
1918
|
+
data, status_code, headers = get_edges_edge_id_physicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
1723
1919
|
return data
|
1724
1920
|
end
|
1725
1921
|
|
@@ -1729,16 +1925,16 @@ module PureCloud
|
|
1729
1925
|
# @param interface_id Interface ID
|
1730
1926
|
# @param [Hash] opts the optional parameters
|
1731
1927
|
# @return [Array<(DomainPhysicalInterface, Fixnum, Hash)>] DomainPhysicalInterface data, response status code and response headers
|
1732
|
-
def
|
1928
|
+
def get_edges_edge_id_physicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
1733
1929
|
if @api_client.config.debugging
|
1734
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1930
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_physicalinterfaces_interface_id ..."
|
1735
1931
|
end
|
1736
1932
|
|
1737
1933
|
# verify the required parameter 'edge_id' is set
|
1738
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1934
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_physicalinterfaces_interface_id" if edge_id.nil?
|
1739
1935
|
|
1740
1936
|
# verify the required parameter 'interface_id' is set
|
1741
|
-
fail "Missing the required parameter 'interface_id' when calling
|
1937
|
+
fail "Missing the required parameter 'interface_id' when calling get_edges_edge_id_physicalinterfaces_interface_id" if interface_id.nil?
|
1742
1938
|
|
1743
1939
|
# resource path
|
1744
1940
|
path = "/api/v1/configuration/edges/{edgeId}/physicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
@@ -1773,7 +1969,7 @@ module PureCloud
|
|
1773
1969
|
:auth_names => auth_names,
|
1774
1970
|
:return_type => 'DomainPhysicalInterface')
|
1775
1971
|
if @api_client.config.debugging
|
1776
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1972
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_physicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1777
1973
|
end
|
1778
1974
|
return data, status_code, headers
|
1779
1975
|
end
|
@@ -1783,8 +1979,8 @@ module PureCloud
|
|
1783
1979
|
# @param edge_id Edge ID
|
1784
1980
|
# @param [Hash] opts the optional parameters
|
1785
1981
|
# @return [String]
|
1786
|
-
def
|
1787
|
-
data, status_code, headers =
|
1982
|
+
def post_edges_edge_id_reboot(edge_id, opts = {})
|
1983
|
+
data, status_code, headers = post_edges_edge_id_reboot_with_http_info(edge_id, opts)
|
1788
1984
|
return data
|
1789
1985
|
end
|
1790
1986
|
|
@@ -1793,13 +1989,13 @@ module PureCloud
|
|
1793
1989
|
# @param edge_id Edge ID
|
1794
1990
|
# @param [Hash] opts the optional parameters
|
1795
1991
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1796
|
-
def
|
1992
|
+
def post_edges_edge_id_reboot_with_http_info(edge_id, opts = {})
|
1797
1993
|
if @api_client.config.debugging
|
1798
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1994
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_reboot ..."
|
1799
1995
|
end
|
1800
1996
|
|
1801
1997
|
# verify the required parameter 'edge_id' is set
|
1802
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1998
|
+
fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_reboot" if edge_id.nil?
|
1803
1999
|
|
1804
2000
|
# resource path
|
1805
2001
|
path = "/api/v1/configuration/edges/{edgeId}/reboot".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1834,7 +2030,7 @@ module PureCloud
|
|
1834
2030
|
:auth_names => auth_names,
|
1835
2031
|
:return_type => 'String')
|
1836
2032
|
if @api_client.config.debugging
|
1837
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2033
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1838
2034
|
end
|
1839
2035
|
return data, status_code, headers
|
1840
2036
|
end
|
@@ -1844,8 +2040,8 @@ module PureCloud
|
|
1844
2040
|
# @param edge_id Edge ID
|
1845
2041
|
# @param [Hash] opts the optional parameters
|
1846
2042
|
# @return [DomainEdgeSoftwareUpdateDto]
|
1847
|
-
def
|
1848
|
-
data, status_code, headers =
|
2043
|
+
def get_edges_edge_id_softwareupdate(edge_id, opts = {})
|
2044
|
+
data, status_code, headers = get_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
|
1849
2045
|
return data
|
1850
2046
|
end
|
1851
2047
|
|
@@ -1854,13 +2050,13 @@ module PureCloud
|
|
1854
2050
|
# @param edge_id Edge ID
|
1855
2051
|
# @param [Hash] opts the optional parameters
|
1856
2052
|
# @return [Array<(DomainEdgeSoftwareUpdateDto, Fixnum, Hash)>] DomainEdgeSoftwareUpdateDto data, response status code and response headers
|
1857
|
-
def
|
2053
|
+
def get_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
|
1858
2054
|
if @api_client.config.debugging
|
1859
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2055
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_softwareupdate ..."
|
1860
2056
|
end
|
1861
2057
|
|
1862
2058
|
# verify the required parameter 'edge_id' is set
|
1863
|
-
fail "Missing the required parameter 'edge_id' when calling
|
2059
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_softwareupdate" if edge_id.nil?
|
1864
2060
|
|
1865
2061
|
# resource path
|
1866
2062
|
path = "/api/v1/configuration/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1895,7 +2091,7 @@ module PureCloud
|
|
1895
2091
|
:auth_names => auth_names,
|
1896
2092
|
:return_type => 'DomainEdgeSoftwareUpdateDto')
|
1897
2093
|
if @api_client.config.debugging
|
1898
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2094
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1899
2095
|
end
|
1900
2096
|
return data, status_code, headers
|
1901
2097
|
end
|
@@ -1905,10 +2101,10 @@ module PureCloud
|
|
1905
2101
|
# @param edge_id Edge ID
|
1906
2102
|
# @param [Hash] opts the optional parameters
|
1907
2103
|
# @option opts [DomainEdgeSoftwareUpdateDto] :body
|
1908
|
-
# @return [
|
1909
|
-
def
|
1910
|
-
|
1911
|
-
return
|
2104
|
+
# @return [DomainEdgeSoftwareUpdateDto]
|
2105
|
+
def post_edges_edge_id_softwareupdate(edge_id, opts = {})
|
2106
|
+
data, status_code, headers = post_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
|
2107
|
+
return data
|
1912
2108
|
end
|
1913
2109
|
|
1914
2110
|
# Starts a software update for this edge.
|
@@ -1916,14 +2112,14 @@ module PureCloud
|
|
1916
2112
|
# @param edge_id Edge ID
|
1917
2113
|
# @param [Hash] opts the optional parameters
|
1918
2114
|
# @option opts [DomainEdgeSoftwareUpdateDto] :body
|
1919
|
-
# @return [Array<(
|
1920
|
-
def
|
2115
|
+
# @return [Array<(DomainEdgeSoftwareUpdateDto, Fixnum, Hash)>] DomainEdgeSoftwareUpdateDto data, response status code and response headers
|
2116
|
+
def post_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
|
1921
2117
|
if @api_client.config.debugging
|
1922
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2118
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_softwareupdate ..."
|
1923
2119
|
end
|
1924
2120
|
|
1925
2121
|
# verify the required parameter 'edge_id' is set
|
1926
|
-
fail "Missing the required parameter 'edge_id' when calling
|
2122
|
+
fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_softwareupdate" if edge_id.nil?
|
1927
2123
|
|
1928
2124
|
# resource path
|
1929
2125
|
path = "/api/v1/configuration/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1955,9 +2151,10 @@ module PureCloud
|
|
1955
2151
|
:query_params => query_params,
|
1956
2152
|
:form_params => form_params,
|
1957
2153
|
:body => post_body,
|
1958
|
-
:auth_names => auth_names
|
2154
|
+
:auth_names => auth_names,
|
2155
|
+
:return_type => 'DomainEdgeSoftwareUpdateDto')
|
1959
2156
|
if @api_client.config.debugging
|
1960
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2157
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1961
2158
|
end
|
1962
2159
|
return data, status_code, headers
|
1963
2160
|
end
|
@@ -1967,8 +2164,8 @@ module PureCloud
|
|
1967
2164
|
# @param edge_id Edge ID
|
1968
2165
|
# @param [Hash] opts the optional parameters
|
1969
2166
|
# @return [String]
|
1970
|
-
def
|
1971
|
-
data, status_code, headers =
|
2167
|
+
def delete_edges_edge_id_softwareupdate(edge_id, opts = {})
|
2168
|
+
data, status_code, headers = delete_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
|
1972
2169
|
return data
|
1973
2170
|
end
|
1974
2171
|
|
@@ -1977,13 +2174,13 @@ module PureCloud
|
|
1977
2174
|
# @param edge_id Edge ID
|
1978
2175
|
# @param [Hash] opts the optional parameters
|
1979
2176
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1980
|
-
def
|
2177
|
+
def delete_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
|
1981
2178
|
if @api_client.config.debugging
|
1982
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2179
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_edge_id_softwareupdate ..."
|
1983
2180
|
end
|
1984
2181
|
|
1985
2182
|
# verify the required parameter 'edge_id' is set
|
1986
|
-
fail "Missing the required parameter 'edge_id' when calling
|
2183
|
+
fail "Missing the required parameter 'edge_id' when calling delete_edges_edge_id_softwareupdate" if edge_id.nil?
|
1987
2184
|
|
1988
2185
|
# resource path
|
1989
2186
|
path = "/api/v1/configuration/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -2018,7 +2215,7 @@ module PureCloud
|
|
2018
2215
|
:auth_names => auth_names,
|
2019
2216
|
:return_type => 'String')
|
2020
2217
|
if @api_client.config.debugging
|
2021
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2218
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2022
2219
|
end
|
2023
2220
|
return data, status_code, headers
|
2024
2221
|
end
|
@@ -2028,8 +2225,8 @@ module PureCloud
|
|
2028
2225
|
# @param edge_id Edge ID
|
2029
2226
|
# @param [Hash] opts the optional parameters
|
2030
2227
|
# @return [DomainEdgeSoftwareVersionDto]
|
2031
|
-
def
|
2032
|
-
data, status_code, headers =
|
2228
|
+
def get_edges_edge_id_softwareversions(edge_id, opts = {})
|
2229
|
+
data, status_code, headers = get_edges_edge_id_softwareversions_with_http_info(edge_id, opts)
|
2033
2230
|
return data
|
2034
2231
|
end
|
2035
2232
|
|
@@ -2038,13 +2235,13 @@ module PureCloud
|
|
2038
2235
|
# @param edge_id Edge ID
|
2039
2236
|
# @param [Hash] opts the optional parameters
|
2040
2237
|
# @return [Array<(DomainEdgeSoftwareVersionDto, Fixnum, Hash)>] DomainEdgeSoftwareVersionDto data, response status code and response headers
|
2041
|
-
def
|
2238
|
+
def get_edges_edge_id_softwareversions_with_http_info(edge_id, opts = {})
|
2042
2239
|
if @api_client.config.debugging
|
2043
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2240
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_softwareversions ..."
|
2044
2241
|
end
|
2045
2242
|
|
2046
2243
|
# verify the required parameter 'edge_id' is set
|
2047
|
-
fail "Missing the required parameter 'edge_id' when calling
|
2244
|
+
fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_softwareversions" if edge_id.nil?
|
2048
2245
|
|
2049
2246
|
# resource path
|
2050
2247
|
path = "/api/v1/configuration/edges/{edgeId}/softwareversions".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -2079,7 +2276,7 @@ module PureCloud
|
|
2079
2276
|
:auth_names => auth_names,
|
2080
2277
|
:return_type => 'DomainEdgeSoftwareVersionDto')
|
2081
2278
|
if @api_client.config.debugging
|
2082
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2279
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_softwareversions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2083
2280
|
end
|
2084
2281
|
return data, status_code, headers
|
2085
2282
|
end
|
@@ -2089,8 +2286,8 @@ module PureCloud
|
|
2089
2286
|
# @param edge_id Edge Id
|
2090
2287
|
# @param [Hash] opts the optional parameters
|
2091
2288
|
# @return [String]
|
2092
|
-
def
|
2093
|
-
data, status_code, headers =
|
2289
|
+
def post_edges_edge_id_unpair(edge_id, opts = {})
|
2290
|
+
data, status_code, headers = post_edges_edge_id_unpair_with_http_info(edge_id, opts)
|
2094
2291
|
return data
|
2095
2292
|
end
|
2096
2293
|
|
@@ -2099,13 +2296,13 @@ module PureCloud
|
|
2099
2296
|
# @param edge_id Edge Id
|
2100
2297
|
# @param [Hash] opts the optional parameters
|
2101
2298
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2102
|
-
def
|
2299
|
+
def post_edges_edge_id_unpair_with_http_info(edge_id, opts = {})
|
2103
2300
|
if @api_client.config.debugging
|
2104
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2301
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_unpair ..."
|
2105
2302
|
end
|
2106
2303
|
|
2107
2304
|
# verify the required parameter 'edge_id' is set
|
2108
|
-
fail "Missing the required parameter 'edge_id' when calling
|
2305
|
+
fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_unpair" if edge_id.nil?
|
2109
2306
|
|
2110
2307
|
# resource path
|
2111
2308
|
path = "/api/v1/configuration/edges/{edgeId}/unpair".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -2140,7 +2337,7 @@ module PureCloud
|
|
2140
2337
|
:auth_names => auth_names,
|
2141
2338
|
:return_type => 'String')
|
2142
2339
|
if @api_client.config.debugging
|
2143
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2340
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_unpair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2144
2341
|
end
|
2145
2342
|
return data, status_code, headers
|
2146
2343
|
end
|
@@ -2274,8 +2471,8 @@ module PureCloud
|
|
2274
2471
|
# @param [Hash] opts the optional parameters
|
2275
2472
|
# @option opts [Endpoint] :body EndpointTemplate
|
2276
2473
|
# @return [Endpoint]
|
2277
|
-
def
|
2278
|
-
data, status_code, headers =
|
2474
|
+
def post_endpoints(opts = {})
|
2475
|
+
data, status_code, headers = post_endpoints_with_http_info(opts)
|
2279
2476
|
return data
|
2280
2477
|
end
|
2281
2478
|
|
@@ -2284,9 +2481,9 @@ module PureCloud
|
|
2284
2481
|
# @param [Hash] opts the optional parameters
|
2285
2482
|
# @option opts [Endpoint] :body EndpointTemplate
|
2286
2483
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
2287
|
-
def
|
2484
|
+
def post_endpoints_with_http_info(opts = {})
|
2288
2485
|
if @api_client.config.debugging
|
2289
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2486
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_endpoints ..."
|
2290
2487
|
end
|
2291
2488
|
|
2292
2489
|
# resource path
|
@@ -2322,7 +2519,7 @@ module PureCloud
|
|
2322
2519
|
:auth_names => auth_names,
|
2323
2520
|
:return_type => 'Endpoint')
|
2324
2521
|
if @api_client.config.debugging
|
2325
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2522
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2326
2523
|
end
|
2327
2524
|
return data, status_code, headers
|
2328
2525
|
end
|
@@ -2332,8 +2529,8 @@ module PureCloud
|
|
2332
2529
|
# @param endpoint_id Endpoint ID
|
2333
2530
|
# @param [Hash] opts the optional parameters
|
2334
2531
|
# @return [Endpoint]
|
2335
|
-
def
|
2336
|
-
data, status_code, headers =
|
2532
|
+
def get_endpoints_endpoint_id(endpoint_id, opts = {})
|
2533
|
+
data, status_code, headers = get_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
|
2337
2534
|
return data
|
2338
2535
|
end
|
2339
2536
|
|
@@ -2342,13 +2539,13 @@ module PureCloud
|
|
2342
2539
|
# @param endpoint_id Endpoint ID
|
2343
2540
|
# @param [Hash] opts the optional parameters
|
2344
2541
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
2345
|
-
def
|
2542
|
+
def get_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
|
2346
2543
|
if @api_client.config.debugging
|
2347
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2544
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_endpoints_endpoint_id ..."
|
2348
2545
|
end
|
2349
2546
|
|
2350
2547
|
# verify the required parameter 'endpoint_id' is set
|
2351
|
-
fail "Missing the required parameter 'endpoint_id' when calling
|
2548
|
+
fail "Missing the required parameter 'endpoint_id' when calling get_endpoints_endpoint_id" if endpoint_id.nil?
|
2352
2549
|
|
2353
2550
|
# resource path
|
2354
2551
|
path = "/api/v1/configuration/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
|
@@ -2383,7 +2580,7 @@ module PureCloud
|
|
2383
2580
|
:auth_names => auth_names,
|
2384
2581
|
:return_type => 'Endpoint')
|
2385
2582
|
if @api_client.config.debugging
|
2386
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2583
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2387
2584
|
end
|
2388
2585
|
return data, status_code, headers
|
2389
2586
|
end
|
@@ -2394,8 +2591,8 @@ module PureCloud
|
|
2394
2591
|
# @param [Hash] opts the optional parameters
|
2395
2592
|
# @option opts [Endpoint] :body EndpointTemplate
|
2396
2593
|
# @return [Endpoint]
|
2397
|
-
def
|
2398
|
-
data, status_code, headers =
|
2594
|
+
def put_endpoints_endpoint_id(endpoint_id, opts = {})
|
2595
|
+
data, status_code, headers = put_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
|
2399
2596
|
return data
|
2400
2597
|
end
|
2401
2598
|
|
@@ -2405,13 +2602,13 @@ module PureCloud
|
|
2405
2602
|
# @param [Hash] opts the optional parameters
|
2406
2603
|
# @option opts [Endpoint] :body EndpointTemplate
|
2407
2604
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
2408
|
-
def
|
2605
|
+
def put_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
|
2409
2606
|
if @api_client.config.debugging
|
2410
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2607
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_endpoints_endpoint_id ..."
|
2411
2608
|
end
|
2412
2609
|
|
2413
2610
|
# verify the required parameter 'endpoint_id' is set
|
2414
|
-
fail "Missing the required parameter 'endpoint_id' when calling
|
2611
|
+
fail "Missing the required parameter 'endpoint_id' when calling put_endpoints_endpoint_id" if endpoint_id.nil?
|
2415
2612
|
|
2416
2613
|
# resource path
|
2417
2614
|
path = "/api/v1/configuration/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
|
@@ -2446,7 +2643,7 @@ module PureCloud
|
|
2446
2643
|
:auth_names => auth_names,
|
2447
2644
|
:return_type => 'Endpoint')
|
2448
2645
|
if @api_client.config.debugging
|
2449
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2646
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2450
2647
|
end
|
2451
2648
|
return data, status_code, headers
|
2452
2649
|
end
|
@@ -2456,8 +2653,8 @@ module PureCloud
|
|
2456
2653
|
# @param endpoint_id Endpoint ID
|
2457
2654
|
# @param [Hash] opts the optional parameters
|
2458
2655
|
# @return [String]
|
2459
|
-
def
|
2460
|
-
data, status_code, headers =
|
2656
|
+
def delete_endpoints_endpoint_id(endpoint_id, opts = {})
|
2657
|
+
data, status_code, headers = delete_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
|
2461
2658
|
return data
|
2462
2659
|
end
|
2463
2660
|
|
@@ -2466,13 +2663,13 @@ module PureCloud
|
|
2466
2663
|
# @param endpoint_id Endpoint ID
|
2467
2664
|
# @param [Hash] opts the optional parameters
|
2468
2665
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2469
|
-
def
|
2666
|
+
def delete_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
|
2470
2667
|
if @api_client.config.debugging
|
2471
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2668
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_endpoints_endpoint_id ..."
|
2472
2669
|
end
|
2473
2670
|
|
2474
2671
|
# verify the required parameter 'endpoint_id' is set
|
2475
|
-
fail "Missing the required parameter 'endpoint_id' when calling
|
2672
|
+
fail "Missing the required parameter 'endpoint_id' when calling delete_endpoints_endpoint_id" if endpoint_id.nil?
|
2476
2673
|
|
2477
2674
|
# resource path
|
2478
2675
|
path = "/api/v1/configuration/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
|
@@ -2507,7 +2704,7 @@ module PureCloud
|
|
2507
2704
|
:auth_names => auth_names,
|
2508
2705
|
:return_type => 'String')
|
2509
2706
|
if @api_client.config.debugging
|
2510
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2707
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2511
2708
|
end
|
2512
2709
|
return data, status_code, headers
|
2513
2710
|
end
|
@@ -2585,8 +2782,8 @@ module PureCloud
|
|
2585
2782
|
# @param [Hash] opts the optional parameters
|
2586
2783
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2587
2784
|
# @return [Extension]
|
2588
|
-
def
|
2589
|
-
data, status_code, headers =
|
2785
|
+
def post_extensionpools(opts = {})
|
2786
|
+
data, status_code, headers = post_extensionpools_with_http_info(opts)
|
2590
2787
|
return data
|
2591
2788
|
end
|
2592
2789
|
|
@@ -2595,9 +2792,9 @@ module PureCloud
|
|
2595
2792
|
# @param [Hash] opts the optional parameters
|
2596
2793
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2597
2794
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
2598
|
-
def
|
2795
|
+
def post_extensionpools_with_http_info(opts = {})
|
2599
2796
|
if @api_client.config.debugging
|
2600
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2797
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_extensionpools ..."
|
2601
2798
|
end
|
2602
2799
|
|
2603
2800
|
# resource path
|
@@ -2633,7 +2830,7 @@ module PureCloud
|
|
2633
2830
|
:auth_names => auth_names,
|
2634
2831
|
:return_type => 'Extension')
|
2635
2832
|
if @api_client.config.debugging
|
2636
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2833
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_extensionpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2637
2834
|
end
|
2638
2835
|
return data, status_code, headers
|
2639
2836
|
end
|
@@ -2643,8 +2840,8 @@ module PureCloud
|
|
2643
2840
|
# @param extension_pool_id Extension pool ID
|
2644
2841
|
# @param [Hash] opts the optional parameters
|
2645
2842
|
# @return [ExtensionPool]
|
2646
|
-
def
|
2647
|
-
data, status_code, headers =
|
2843
|
+
def get_extensionpools_extensionpool_id(extension_pool_id, opts = {})
|
2844
|
+
data, status_code, headers = get_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
|
2648
2845
|
return data
|
2649
2846
|
end
|
2650
2847
|
|
@@ -2653,13 +2850,13 @@ module PureCloud
|
|
2653
2850
|
# @param extension_pool_id Extension pool ID
|
2654
2851
|
# @param [Hash] opts the optional parameters
|
2655
2852
|
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
|
2656
|
-
def
|
2853
|
+
def get_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
|
2657
2854
|
if @api_client.config.debugging
|
2658
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2855
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_extensionpools_extensionpool_id ..."
|
2659
2856
|
end
|
2660
2857
|
|
2661
2858
|
# verify the required parameter 'extension_pool_id' is set
|
2662
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
2859
|
+
fail "Missing the required parameter 'extension_pool_id' when calling get_extensionpools_extensionpool_id" if extension_pool_id.nil?
|
2663
2860
|
|
2664
2861
|
# resource path
|
2665
2862
|
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
@@ -2694,7 +2891,7 @@ module PureCloud
|
|
2694
2891
|
:auth_names => auth_names,
|
2695
2892
|
:return_type => 'ExtensionPool')
|
2696
2893
|
if @api_client.config.debugging
|
2697
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2894
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2698
2895
|
end
|
2699
2896
|
return data, status_code, headers
|
2700
2897
|
end
|
@@ -2705,8 +2902,8 @@ module PureCloud
|
|
2705
2902
|
# @param [Hash] opts the optional parameters
|
2706
2903
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2707
2904
|
# @return [ExtensionPool]
|
2708
|
-
def
|
2709
|
-
data, status_code, headers =
|
2905
|
+
def put_extensionpools_extensionpool_id(extension_pool_id, opts = {})
|
2906
|
+
data, status_code, headers = put_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
|
2710
2907
|
return data
|
2711
2908
|
end
|
2712
2909
|
|
@@ -2716,13 +2913,13 @@ module PureCloud
|
|
2716
2913
|
# @param [Hash] opts the optional parameters
|
2717
2914
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2718
2915
|
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
|
2719
|
-
def
|
2916
|
+
def put_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
|
2720
2917
|
if @api_client.config.debugging
|
2721
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2918
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_extensionpools_extensionpool_id ..."
|
2722
2919
|
end
|
2723
2920
|
|
2724
2921
|
# verify the required parameter 'extension_pool_id' is set
|
2725
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
2922
|
+
fail "Missing the required parameter 'extension_pool_id' when calling put_extensionpools_extensionpool_id" if extension_pool_id.nil?
|
2726
2923
|
|
2727
2924
|
# resource path
|
2728
2925
|
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
@@ -2757,7 +2954,7 @@ module PureCloud
|
|
2757
2954
|
:auth_names => auth_names,
|
2758
2955
|
:return_type => 'ExtensionPool')
|
2759
2956
|
if @api_client.config.debugging
|
2760
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2957
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2761
2958
|
end
|
2762
2959
|
return data, status_code, headers
|
2763
2960
|
end
|
@@ -2767,8 +2964,8 @@ module PureCloud
|
|
2767
2964
|
# @param extension_pool_id Extension pool ID
|
2768
2965
|
# @param [Hash] opts the optional parameters
|
2769
2966
|
# @return [String]
|
2770
|
-
def
|
2771
|
-
data, status_code, headers =
|
2967
|
+
def delete_extensionpools_extensionpool_id(extension_pool_id, opts = {})
|
2968
|
+
data, status_code, headers = delete_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
|
2772
2969
|
return data
|
2773
2970
|
end
|
2774
2971
|
|
@@ -2777,13 +2974,13 @@ module PureCloud
|
|
2777
2974
|
# @param extension_pool_id Extension pool ID
|
2778
2975
|
# @param [Hash] opts the optional parameters
|
2779
2976
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2780
|
-
def
|
2977
|
+
def delete_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
|
2781
2978
|
if @api_client.config.debugging
|
2782
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2979
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_extensionpools_extensionpool_id ..."
|
2783
2980
|
end
|
2784
2981
|
|
2785
2982
|
# verify the required parameter 'extension_pool_id' is set
|
2786
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
2983
|
+
fail "Missing the required parameter 'extension_pool_id' when calling delete_extensionpools_extensionpool_id" if extension_pool_id.nil?
|
2787
2984
|
|
2788
2985
|
# resource path
|
2789
2986
|
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
@@ -2818,7 +3015,7 @@ module PureCloud
|
|
2818
3015
|
:auth_names => auth_names,
|
2819
3016
|
:return_type => 'String')
|
2820
3017
|
if @api_client.config.debugging
|
2821
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3018
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2822
3019
|
end
|
2823
3020
|
return data, status_code, headers
|
2824
3021
|
end
|
@@ -2899,8 +3096,8 @@ module PureCloud
|
|
2899
3096
|
# @param extension_id Extension ID
|
2900
3097
|
# @param [Hash] opts the optional parameters
|
2901
3098
|
# @return [Extension]
|
2902
|
-
def
|
2903
|
-
data, status_code, headers =
|
3099
|
+
def get_extensions_extension_id(extension_id, opts = {})
|
3100
|
+
data, status_code, headers = get_extensions_extension_id_with_http_info(extension_id, opts)
|
2904
3101
|
return data
|
2905
3102
|
end
|
2906
3103
|
|
@@ -2909,13 +3106,13 @@ module PureCloud
|
|
2909
3106
|
# @param extension_id Extension ID
|
2910
3107
|
# @param [Hash] opts the optional parameters
|
2911
3108
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
2912
|
-
def
|
3109
|
+
def get_extensions_extension_id_with_http_info(extension_id, opts = {})
|
2913
3110
|
if @api_client.config.debugging
|
2914
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3111
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_extensions_extension_id ..."
|
2915
3112
|
end
|
2916
3113
|
|
2917
3114
|
# verify the required parameter 'extension_id' is set
|
2918
|
-
fail "Missing the required parameter 'extension_id' when calling
|
3115
|
+
fail "Missing the required parameter 'extension_id' when calling get_extensions_extension_id" if extension_id.nil?
|
2919
3116
|
|
2920
3117
|
# resource path
|
2921
3118
|
path = "/api/v1/configuration/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
|
@@ -2950,7 +3147,7 @@ module PureCloud
|
|
2950
3147
|
:auth_names => auth_names,
|
2951
3148
|
:return_type => 'Extension')
|
2952
3149
|
if @api_client.config.debugging
|
2953
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3150
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_extensions_extension_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2954
3151
|
end
|
2955
3152
|
return data, status_code, headers
|
2956
3153
|
end
|
@@ -2961,8 +3158,8 @@ module PureCloud
|
|
2961
3158
|
# @param [Hash] opts the optional parameters
|
2962
3159
|
# @option opts [Extension] :body
|
2963
3160
|
# @return [Extension]
|
2964
|
-
def
|
2965
|
-
data, status_code, headers =
|
3161
|
+
def put_extensions_extension_id(extension_id, opts = {})
|
3162
|
+
data, status_code, headers = put_extensions_extension_id_with_http_info(extension_id, opts)
|
2966
3163
|
return data
|
2967
3164
|
end
|
2968
3165
|
|
@@ -2972,13 +3169,13 @@ module PureCloud
|
|
2972
3169
|
# @param [Hash] opts the optional parameters
|
2973
3170
|
# @option opts [Extension] :body
|
2974
3171
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
2975
|
-
def
|
3172
|
+
def put_extensions_extension_id_with_http_info(extension_id, opts = {})
|
2976
3173
|
if @api_client.config.debugging
|
2977
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3174
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_extensions_extension_id ..."
|
2978
3175
|
end
|
2979
3176
|
|
2980
3177
|
# verify the required parameter 'extension_id' is set
|
2981
|
-
fail "Missing the required parameter 'extension_id' when calling
|
3178
|
+
fail "Missing the required parameter 'extension_id' when calling put_extensions_extension_id" if extension_id.nil?
|
2982
3179
|
|
2983
3180
|
# resource path
|
2984
3181
|
path = "/api/v1/configuration/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
|
@@ -3013,7 +3210,7 @@ module PureCloud
|
|
3013
3210
|
:auth_names => auth_names,
|
3014
3211
|
:return_type => 'Extension')
|
3015
3212
|
if @api_client.config.debugging
|
3016
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3213
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_extensions_extension_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3017
3214
|
end
|
3018
3215
|
return data, status_code, headers
|
3019
3216
|
end
|
@@ -3079,8 +3276,8 @@ module PureCloud
|
|
3079
3276
|
# @param [Hash] opts the optional parameters
|
3080
3277
|
# @option opts [Organization] :body Organization
|
3081
3278
|
# @return [Organization]
|
3082
|
-
def
|
3083
|
-
data, status_code, headers =
|
3279
|
+
def put_organization(opts = {})
|
3280
|
+
data, status_code, headers = put_organization_with_http_info(opts)
|
3084
3281
|
return data
|
3085
3282
|
end
|
3086
3283
|
|
@@ -3089,9 +3286,9 @@ module PureCloud
|
|
3089
3286
|
# @param [Hash] opts the optional parameters
|
3090
3287
|
# @option opts [Organization] :body Organization
|
3091
3288
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3092
|
-
def
|
3289
|
+
def put_organization_with_http_info(opts = {})
|
3093
3290
|
if @api_client.config.debugging
|
3094
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3291
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_organization ..."
|
3095
3292
|
end
|
3096
3293
|
|
3097
3294
|
# resource path
|
@@ -3127,7 +3324,7 @@ module PureCloud
|
|
3127
3324
|
:auth_names => auth_names,
|
3128
3325
|
:return_type => 'Organization')
|
3129
3326
|
if @api_client.config.debugging
|
3130
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3327
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3131
3328
|
end
|
3132
3329
|
return data, status_code, headers
|
3133
3330
|
end
|
@@ -3137,8 +3334,8 @@ module PureCloud
|
|
3137
3334
|
# @param [Hash] opts the optional parameters
|
3138
3335
|
# @option opts [OrganizationCreate] :body Organization
|
3139
3336
|
# @return [Organization]
|
3140
|
-
def
|
3141
|
-
data, status_code, headers =
|
3337
|
+
def post_organizations(opts = {})
|
3338
|
+
data, status_code, headers = post_organizations_with_http_info(opts)
|
3142
3339
|
return data
|
3143
3340
|
end
|
3144
3341
|
|
@@ -3147,9 +3344,9 @@ module PureCloud
|
|
3147
3344
|
# @param [Hash] opts the optional parameters
|
3148
3345
|
# @option opts [OrganizationCreate] :body Organization
|
3149
3346
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3150
|
-
def
|
3347
|
+
def post_organizations_with_http_info(opts = {})
|
3151
3348
|
if @api_client.config.debugging
|
3152
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3349
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_organizations ..."
|
3153
3350
|
end
|
3154
3351
|
|
3155
3352
|
# resource path
|
@@ -3185,7 +3382,7 @@ module PureCloud
|
|
3185
3382
|
:auth_names => auth_names,
|
3186
3383
|
:return_type => 'Organization')
|
3187
3384
|
if @api_client.config.debugging
|
3188
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3385
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3189
3386
|
end
|
3190
3387
|
return data, status_code, headers
|
3191
3388
|
end
|
@@ -3195,8 +3392,8 @@ module PureCloud
|
|
3195
3392
|
# @param org_id Organization ID
|
3196
3393
|
# @param [Hash] opts the optional parameters
|
3197
3394
|
# @return [Organization]
|
3198
|
-
def
|
3199
|
-
data, status_code, headers =
|
3395
|
+
def get_organizations_org_id(org_id, opts = {})
|
3396
|
+
data, status_code, headers = get_organizations_org_id_with_http_info(org_id, opts)
|
3200
3397
|
return data
|
3201
3398
|
end
|
3202
3399
|
|
@@ -3205,13 +3402,13 @@ module PureCloud
|
|
3205
3402
|
# @param org_id Organization ID
|
3206
3403
|
# @param [Hash] opts the optional parameters
|
3207
3404
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3208
|
-
def
|
3405
|
+
def get_organizations_org_id_with_http_info(org_id, opts = {})
|
3209
3406
|
if @api_client.config.debugging
|
3210
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3407
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_organizations_org_id ..."
|
3211
3408
|
end
|
3212
3409
|
|
3213
3410
|
# verify the required parameter 'org_id' is set
|
3214
|
-
fail "Missing the required parameter 'org_id' when calling
|
3411
|
+
fail "Missing the required parameter 'org_id' when calling get_organizations_org_id" if org_id.nil?
|
3215
3412
|
|
3216
3413
|
# resource path
|
3217
3414
|
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
|
@@ -3246,7 +3443,7 @@ module PureCloud
|
|
3246
3443
|
:auth_names => auth_names,
|
3247
3444
|
:return_type => 'Organization')
|
3248
3445
|
if @api_client.config.debugging
|
3249
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3446
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_organizations_org_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3250
3447
|
end
|
3251
3448
|
return data, status_code, headers
|
3252
3449
|
end
|
@@ -3257,8 +3454,8 @@ module PureCloud
|
|
3257
3454
|
# @param [Hash] opts the optional parameters
|
3258
3455
|
# @option opts [Organization] :body Organization
|
3259
3456
|
# @return [Organization]
|
3260
|
-
def
|
3261
|
-
data, status_code, headers =
|
3457
|
+
def put_organizations_org_id(org_id, opts = {})
|
3458
|
+
data, status_code, headers = put_organizations_org_id_with_http_info(org_id, opts)
|
3262
3459
|
return data
|
3263
3460
|
end
|
3264
3461
|
|
@@ -3268,13 +3465,13 @@ module PureCloud
|
|
3268
3465
|
# @param [Hash] opts the optional parameters
|
3269
3466
|
# @option opts [Organization] :body Organization
|
3270
3467
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3271
|
-
def
|
3468
|
+
def put_organizations_org_id_with_http_info(org_id, opts = {})
|
3272
3469
|
if @api_client.config.debugging
|
3273
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3470
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_organizations_org_id ..."
|
3274
3471
|
end
|
3275
3472
|
|
3276
3473
|
# verify the required parameter 'org_id' is set
|
3277
|
-
fail "Missing the required parameter 'org_id' when calling
|
3474
|
+
fail "Missing the required parameter 'org_id' when calling put_organizations_org_id" if org_id.nil?
|
3278
3475
|
|
3279
3476
|
# resource path
|
3280
3477
|
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
|
@@ -3309,7 +3506,7 @@ module PureCloud
|
|
3309
3506
|
:auth_names => auth_names,
|
3310
3507
|
:return_type => 'Organization')
|
3311
3508
|
if @api_client.config.debugging
|
3312
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3509
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_organizations_org_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3313
3510
|
end
|
3314
3511
|
return data, status_code, headers
|
3315
3512
|
end
|
@@ -3319,8 +3516,8 @@ module PureCloud
|
|
3319
3516
|
# @param org_id Organization ID
|
3320
3517
|
# @param [Hash] opts the optional parameters
|
3321
3518
|
# @return [String]
|
3322
|
-
def
|
3323
|
-
data, status_code, headers =
|
3519
|
+
def delete_organizations_org_id(org_id, opts = {})
|
3520
|
+
data, status_code, headers = delete_organizations_org_id_with_http_info(org_id, opts)
|
3324
3521
|
return data
|
3325
3522
|
end
|
3326
3523
|
|
@@ -3329,13 +3526,13 @@ module PureCloud
|
|
3329
3526
|
# @param org_id Organization ID
|
3330
3527
|
# @param [Hash] opts the optional parameters
|
3331
3528
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3332
|
-
def
|
3529
|
+
def delete_organizations_org_id_with_http_info(org_id, opts = {})
|
3333
3530
|
if @api_client.config.debugging
|
3334
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3531
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_organizations_org_id ..."
|
3335
3532
|
end
|
3336
3533
|
|
3337
3534
|
# verify the required parameter 'org_id' is set
|
3338
|
-
fail "Missing the required parameter 'org_id' when calling
|
3535
|
+
fail "Missing the required parameter 'org_id' when calling delete_organizations_org_id" if org_id.nil?
|
3339
3536
|
|
3340
3537
|
# resource path
|
3341
3538
|
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
|
@@ -3370,7 +3567,7 @@ module PureCloud
|
|
3370
3567
|
:auth_names => auth_names,
|
3371
3568
|
:return_type => 'String')
|
3372
3569
|
if @api_client.config.debugging
|
3373
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3570
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_organizations_org_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3374
3571
|
end
|
3375
3572
|
return data, status_code, headers
|
3376
3573
|
end
|
@@ -3441,8 +3638,8 @@ module PureCloud
|
|
3441
3638
|
#
|
3442
3639
|
# @param [Hash] opts the optional parameters
|
3443
3640
|
# @return [EncryptionKey]
|
3444
|
-
def
|
3445
|
-
data, status_code, headers =
|
3641
|
+
def post_recordingkeys(opts = {})
|
3642
|
+
data, status_code, headers = post_recordingkeys_with_http_info(opts)
|
3446
3643
|
return data
|
3447
3644
|
end
|
3448
3645
|
|
@@ -3450,9 +3647,9 @@ module PureCloud
|
|
3450
3647
|
#
|
3451
3648
|
# @param [Hash] opts the optional parameters
|
3452
3649
|
# @return [Array<(EncryptionKey, Fixnum, Hash)>] EncryptionKey data, response status code and response headers
|
3453
|
-
def
|
3650
|
+
def post_recordingkeys_with_http_info(opts = {})
|
3454
3651
|
if @api_client.config.debugging
|
3455
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3652
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_recordingkeys ..."
|
3456
3653
|
end
|
3457
3654
|
|
3458
3655
|
# resource path
|
@@ -3488,7 +3685,7 @@ module PureCloud
|
|
3488
3685
|
:auth_names => auth_names,
|
3489
3686
|
:return_type => 'EncryptionKey')
|
3490
3687
|
if @api_client.config.debugging
|
3491
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3688
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_recordingkeys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3492
3689
|
end
|
3493
3690
|
return data, status_code, headers
|
3494
3691
|
end
|
@@ -3554,8 +3751,8 @@ module PureCloud
|
|
3554
3751
|
# @param [Hash] opts the optional parameters
|
3555
3752
|
# @option opts [KeyRotationSchedule] :body KeyRotationSchedule
|
3556
3753
|
# @return [KeyRotationSchedule]
|
3557
|
-
def
|
3558
|
-
data, status_code, headers =
|
3754
|
+
def put_recordingkeys_rotationschedule(opts = {})
|
3755
|
+
data, status_code, headers = put_recordingkeys_rotationschedule_with_http_info(opts)
|
3559
3756
|
return data
|
3560
3757
|
end
|
3561
3758
|
|
@@ -3564,9 +3761,9 @@ module PureCloud
|
|
3564
3761
|
# @param [Hash] opts the optional parameters
|
3565
3762
|
# @option opts [KeyRotationSchedule] :body KeyRotationSchedule
|
3566
3763
|
# @return [Array<(KeyRotationSchedule, Fixnum, Hash)>] KeyRotationSchedule data, response status code and response headers
|
3567
|
-
def
|
3764
|
+
def put_recordingkeys_rotationschedule_with_http_info(opts = {})
|
3568
3765
|
if @api_client.config.debugging
|
3569
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3766
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_recordingkeys_rotationschedule ..."
|
3570
3767
|
end
|
3571
3768
|
|
3572
3769
|
# resource path
|
@@ -3602,7 +3799,7 @@ module PureCloud
|
|
3602
3799
|
:auth_names => auth_names,
|
3603
3800
|
:return_type => 'KeyRotationSchedule')
|
3604
3801
|
if @api_client.config.debugging
|
3605
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3802
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_recordingkeys_rotationschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3606
3803
|
end
|
3607
3804
|
return data, status_code, headers
|
3608
3805
|
end
|
@@ -3692,8 +3889,8 @@ module PureCloud
|
|
3692
3889
|
# @param [Hash] opts the optional parameters
|
3693
3890
|
# @option opts [Policy] :body Policy
|
3694
3891
|
# @return [Policy]
|
3695
|
-
def
|
3696
|
-
data, status_code, headers =
|
3892
|
+
def post_retentionpolicies(opts = {})
|
3893
|
+
data, status_code, headers = post_retentionpolicies_with_http_info(opts)
|
3697
3894
|
return data
|
3698
3895
|
end
|
3699
3896
|
|
@@ -3702,9 +3899,9 @@ module PureCloud
|
|
3702
3899
|
# @param [Hash] opts the optional parameters
|
3703
3900
|
# @option opts [Policy] :body Policy
|
3704
3901
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
3705
|
-
def
|
3902
|
+
def post_retentionpolicies_with_http_info(opts = {})
|
3706
3903
|
if @api_client.config.debugging
|
3707
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3904
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_retentionpolicies ..."
|
3708
3905
|
end
|
3709
3906
|
|
3710
3907
|
# resource path
|
@@ -3740,7 +3937,7 @@ module PureCloud
|
|
3740
3937
|
:auth_names => auth_names,
|
3741
3938
|
:return_type => 'Policy')
|
3742
3939
|
if @api_client.config.debugging
|
3743
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3940
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_retentionpolicies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3744
3941
|
end
|
3745
3942
|
return data, status_code, headers
|
3746
3943
|
end
|
@@ -3812,8 +4009,8 @@ module PureCloud
|
|
3812
4009
|
# @param policy_id Policy ID
|
3813
4010
|
# @param [Hash] opts the optional parameters
|
3814
4011
|
# @return [Policy]
|
3815
|
-
def
|
3816
|
-
data, status_code, headers =
|
4012
|
+
def get_retentionpolicies_policy_id(policy_id, opts = {})
|
4013
|
+
data, status_code, headers = get_retentionpolicies_policy_id_with_http_info(policy_id, opts)
|
3817
4014
|
return data
|
3818
4015
|
end
|
3819
4016
|
|
@@ -3822,13 +4019,13 @@ module PureCloud
|
|
3822
4019
|
# @param policy_id Policy ID
|
3823
4020
|
# @param [Hash] opts the optional parameters
|
3824
4021
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
3825
|
-
def
|
4022
|
+
def get_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
|
3826
4023
|
if @api_client.config.debugging
|
3827
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4024
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_retentionpolicies_policy_id ..."
|
3828
4025
|
end
|
3829
4026
|
|
3830
4027
|
# verify the required parameter 'policy_id' is set
|
3831
|
-
fail "Missing the required parameter 'policy_id' when calling
|
4028
|
+
fail "Missing the required parameter 'policy_id' when calling get_retentionpolicies_policy_id" if policy_id.nil?
|
3832
4029
|
|
3833
4030
|
# resource path
|
3834
4031
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -3863,7 +4060,7 @@ module PureCloud
|
|
3863
4060
|
:auth_names => auth_names,
|
3864
4061
|
:return_type => 'Policy')
|
3865
4062
|
if @api_client.config.debugging
|
3866
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4063
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3867
4064
|
end
|
3868
4065
|
return data, status_code, headers
|
3869
4066
|
end
|
@@ -3874,8 +4071,8 @@ module PureCloud
|
|
3874
4071
|
# @param [Hash] opts the optional parameters
|
3875
4072
|
# @option opts [Policy] :body Policy
|
3876
4073
|
# @return [Policy]
|
3877
|
-
def
|
3878
|
-
data, status_code, headers =
|
4074
|
+
def put_retentionpolicies_policy_id(policy_id, opts = {})
|
4075
|
+
data, status_code, headers = put_retentionpolicies_policy_id_with_http_info(policy_id, opts)
|
3879
4076
|
return data
|
3880
4077
|
end
|
3881
4078
|
|
@@ -3885,13 +4082,13 @@ module PureCloud
|
|
3885
4082
|
# @param [Hash] opts the optional parameters
|
3886
4083
|
# @option opts [Policy] :body Policy
|
3887
4084
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
3888
|
-
def
|
4085
|
+
def put_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
|
3889
4086
|
if @api_client.config.debugging
|
3890
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4087
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_retentionpolicies_policy_id ..."
|
3891
4088
|
end
|
3892
4089
|
|
3893
4090
|
# verify the required parameter 'policy_id' is set
|
3894
|
-
fail "Missing the required parameter 'policy_id' when calling
|
4091
|
+
fail "Missing the required parameter 'policy_id' when calling put_retentionpolicies_policy_id" if policy_id.nil?
|
3895
4092
|
|
3896
4093
|
# resource path
|
3897
4094
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -3926,7 +4123,7 @@ module PureCloud
|
|
3926
4123
|
:auth_names => auth_names,
|
3927
4124
|
:return_type => 'Policy')
|
3928
4125
|
if @api_client.config.debugging
|
3929
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4126
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3930
4127
|
end
|
3931
4128
|
return data, status_code, headers
|
3932
4129
|
end
|
@@ -3936,8 +4133,8 @@ module PureCloud
|
|
3936
4133
|
# @param policy_id Policy ID
|
3937
4134
|
# @param [Hash] opts the optional parameters
|
3938
4135
|
# @return [String]
|
3939
|
-
def
|
3940
|
-
data, status_code, headers =
|
4136
|
+
def delete_retentionpolicies_policy_id(policy_id, opts = {})
|
4137
|
+
data, status_code, headers = delete_retentionpolicies_policy_id_with_http_info(policy_id, opts)
|
3941
4138
|
return data
|
3942
4139
|
end
|
3943
4140
|
|
@@ -3946,13 +4143,13 @@ module PureCloud
|
|
3946
4143
|
# @param policy_id Policy ID
|
3947
4144
|
# @param [Hash] opts the optional parameters
|
3948
4145
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3949
|
-
def
|
4146
|
+
def delete_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
|
3950
4147
|
if @api_client.config.debugging
|
3951
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4148
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_retentionpolicies_policy_id ..."
|
3952
4149
|
end
|
3953
4150
|
|
3954
4151
|
# verify the required parameter 'policy_id' is set
|
3955
|
-
fail "Missing the required parameter 'policy_id' when calling
|
4152
|
+
fail "Missing the required parameter 'policy_id' when calling delete_retentionpolicies_policy_id" if policy_id.nil?
|
3956
4153
|
|
3957
4154
|
# resource path
|
3958
4155
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -3987,7 +4184,7 @@ module PureCloud
|
|
3987
4184
|
:auth_names => auth_names,
|
3988
4185
|
:return_type => 'String')
|
3989
4186
|
if @api_client.config.debugging
|
3990
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4187
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3991
4188
|
end
|
3992
4189
|
return data, status_code, headers
|
3993
4190
|
end
|
@@ -3998,8 +4195,8 @@ module PureCloud
|
|
3998
4195
|
# @param [Hash] opts the optional parameters
|
3999
4196
|
# @option opts [Policy] :body Policy
|
4000
4197
|
# @return [Policy]
|
4001
|
-
def
|
4002
|
-
data, status_code, headers =
|
4198
|
+
def patch_retentionpolicies_policy_id(policy_id, opts = {})
|
4199
|
+
data, status_code, headers = patch_retentionpolicies_policy_id_with_http_info(policy_id, opts)
|
4003
4200
|
return data
|
4004
4201
|
end
|
4005
4202
|
|
@@ -4009,13 +4206,13 @@ module PureCloud
|
|
4009
4206
|
# @param [Hash] opts the optional parameters
|
4010
4207
|
# @option opts [Policy] :body Policy
|
4011
4208
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
4012
|
-
def
|
4209
|
+
def patch_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
|
4013
4210
|
if @api_client.config.debugging
|
4014
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4211
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#patch_retentionpolicies_policy_id ..."
|
4015
4212
|
end
|
4016
4213
|
|
4017
4214
|
# verify the required parameter 'policy_id' is set
|
4018
|
-
fail "Missing the required parameter 'policy_id' when calling
|
4215
|
+
fail "Missing the required parameter 'policy_id' when calling patch_retentionpolicies_policy_id" if policy_id.nil?
|
4019
4216
|
|
4020
4217
|
# resource path
|
4021
4218
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -4050,7 +4247,7 @@ module PureCloud
|
|
4050
4247
|
:auth_names => auth_names,
|
4051
4248
|
:return_type => 'Policy')
|
4052
4249
|
if @api_client.config.debugging
|
4053
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4250
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#patch_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4054
4251
|
end
|
4055
4252
|
return data, status_code, headers
|
4056
4253
|
end
|
@@ -4124,8 +4321,8 @@ module PureCloud
|
|
4124
4321
|
# @option opts [Integer] :page_size Page size
|
4125
4322
|
# @option opts [Integer] :page_number Page number
|
4126
4323
|
# @return [SchemaReferenceEntityListing]
|
4127
|
-
def
|
4128
|
-
data, status_code, headers =
|
4324
|
+
def get_schemas_edges_vnext_schemacategory(schema_category, opts = {})
|
4325
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_with_http_info(schema_category, opts)
|
4129
4326
|
return data
|
4130
4327
|
end
|
4131
4328
|
|
@@ -4136,13 +4333,13 @@ module PureCloud
|
|
4136
4333
|
# @option opts [Integer] :page_size Page size
|
4137
4334
|
# @option opts [Integer] :page_number Page number
|
4138
4335
|
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
|
4139
|
-
def
|
4336
|
+
def get_schemas_edges_vnext_schemacategory_with_http_info(schema_category, opts = {})
|
4140
4337
|
if @api_client.config.debugging
|
4141
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4338
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory ..."
|
4142
4339
|
end
|
4143
4340
|
|
4144
4341
|
# verify the required parameter 'schema_category' is set
|
4145
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4342
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory" if schema_category.nil?
|
4146
4343
|
|
4147
4344
|
# resource path
|
4148
4345
|
path = "/api/v1/configuration/schemas/edges/vnext/{schemaCategory}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s)
|
@@ -4179,7 +4376,7 @@ module PureCloud
|
|
4179
4376
|
:auth_names => auth_names,
|
4180
4377
|
:return_type => 'SchemaReferenceEntityListing')
|
4181
4378
|
if @api_client.config.debugging
|
4182
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4379
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4183
4380
|
end
|
4184
4381
|
return data, status_code, headers
|
4185
4382
|
end
|
@@ -4192,8 +4389,8 @@ module PureCloud
|
|
4192
4389
|
# @option opts [Integer] :page_size Page size
|
4193
4390
|
# @option opts [Integer] :page_number Page number
|
4194
4391
|
# @return [SchemaReferenceEntityListing]
|
4195
|
-
def
|
4196
|
-
data, status_code, headers =
|
4392
|
+
def get_schemas_edges_vnext_schemacategory_schematype(schema_category, schema_type, opts = {})
|
4393
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_with_http_info(schema_category, schema_type, opts)
|
4197
4394
|
return data
|
4198
4395
|
end
|
4199
4396
|
|
@@ -4205,16 +4402,16 @@ module PureCloud
|
|
4205
4402
|
# @option opts [Integer] :page_size Page size
|
4206
4403
|
# @option opts [Integer] :page_number Page number
|
4207
4404
|
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
|
4208
|
-
def
|
4405
|
+
def get_schemas_edges_vnext_schemacategory_schematype_with_http_info(schema_category, schema_type, opts = {})
|
4209
4406
|
if @api_client.config.debugging
|
4210
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4407
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype ..."
|
4211
4408
|
end
|
4212
4409
|
|
4213
4410
|
# verify the required parameter 'schema_category' is set
|
4214
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4411
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype" if schema_category.nil?
|
4215
4412
|
|
4216
4413
|
# verify the required parameter 'schema_type' is set
|
4217
|
-
fail "Missing the required parameter 'schema_type' when calling
|
4414
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype" if schema_type.nil?
|
4218
4415
|
|
4219
4416
|
# resource path
|
4220
4417
|
path = "/api/v1/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s).sub('{' + 'schemaType' + '}', schema_type.to_s)
|
@@ -4251,7 +4448,7 @@ module PureCloud
|
|
4251
4448
|
:auth_names => auth_names,
|
4252
4449
|
:return_type => 'SchemaReferenceEntityListing')
|
4253
4450
|
if @api_client.config.debugging
|
4254
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4451
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4255
4452
|
end
|
4256
4453
|
return data, status_code, headers
|
4257
4454
|
end
|
@@ -4263,8 +4460,8 @@ module PureCloud
|
|
4263
4460
|
# @param schema_id Schema ID
|
4264
4461
|
# @param [Hash] opts the optional parameters
|
4265
4462
|
# @return [Organization]
|
4266
|
-
def
|
4267
|
-
data, status_code, headers =
|
4463
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id(schema_category, schema_type, schema_id, opts = {})
|
4464
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_schema_id_with_http_info(schema_category, schema_type, schema_id, opts)
|
4268
4465
|
return data
|
4269
4466
|
end
|
4270
4467
|
|
@@ -4275,19 +4472,19 @@ module PureCloud
|
|
4275
4472
|
# @param schema_id Schema ID
|
4276
4473
|
# @param [Hash] opts the optional parameters
|
4277
4474
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
4278
|
-
def
|
4475
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id_with_http_info(schema_category, schema_type, schema_id, opts = {})
|
4279
4476
|
if @api_client.config.debugging
|
4280
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4477
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id ..."
|
4281
4478
|
end
|
4282
4479
|
|
4283
4480
|
# verify the required parameter 'schema_category' is set
|
4284
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4481
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_category.nil?
|
4285
4482
|
|
4286
4483
|
# verify the required parameter 'schema_type' is set
|
4287
|
-
fail "Missing the required parameter 'schema_type' when calling
|
4484
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_type.nil?
|
4288
4485
|
|
4289
4486
|
# verify the required parameter 'schema_id' is set
|
4290
|
-
fail "Missing the required parameter 'schema_id' when calling
|
4487
|
+
fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_id.nil?
|
4291
4488
|
|
4292
4489
|
# resource path
|
4293
4490
|
path = "/api/v1/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}/{schemaId}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s).sub('{' + 'schemaType' + '}', schema_type.to_s).sub('{' + 'schemaId' + '}', schema_id.to_s)
|
@@ -4322,7 +4519,7 @@ module PureCloud
|
|
4322
4519
|
:auth_names => auth_names,
|
4323
4520
|
:return_type => 'Organization')
|
4324
4521
|
if @api_client.config.debugging
|
4325
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4522
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4326
4523
|
end
|
4327
4524
|
return data, status_code, headers
|
4328
4525
|
end
|
@@ -4337,8 +4534,8 @@ module PureCloud
|
|
4337
4534
|
# @param [Hash] opts the optional parameters
|
4338
4535
|
# @option opts [String] :type Type
|
4339
4536
|
# @return [Organization]
|
4340
|
-
def
|
4341
|
-
data, status_code, headers =
|
4537
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
|
4538
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts)
|
4342
4539
|
return data
|
4343
4540
|
end
|
4344
4541
|
|
@@ -4352,25 +4549,25 @@ module PureCloud
|
|
4352
4549
|
# @param [Hash] opts the optional parameters
|
4353
4550
|
# @option opts [String] :type Type
|
4354
4551
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
4355
|
-
def
|
4552
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
|
4356
4553
|
if @api_client.config.debugging
|
4357
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4554
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id ..."
|
4358
4555
|
end
|
4359
4556
|
|
4360
4557
|
# verify the required parameter 'schema_category' is set
|
4361
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4558
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_category.nil?
|
4362
4559
|
|
4363
4560
|
# verify the required parameter 'schema_type' is set
|
4364
|
-
fail "Missing the required parameter 'schema_type' when calling
|
4561
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_type.nil?
|
4365
4562
|
|
4366
4563
|
# verify the required parameter 'schema_id' is set
|
4367
|
-
fail "Missing the required parameter 'schema_id' when calling
|
4564
|
+
fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_id.nil?
|
4368
4565
|
|
4369
4566
|
# verify the required parameter 'extension' is set
|
4370
|
-
fail "Missing the required parameter 'extension' when calling
|
4567
|
+
fail "Missing the required parameter 'extension' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if extension.nil?
|
4371
4568
|
|
4372
4569
|
# verify the required parameter 'metadata_id' is set
|
4373
|
-
fail "Missing the required parameter 'metadata_id' when calling
|
4570
|
+
fail "Missing the required parameter 'metadata_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if metadata_id.nil?
|
4374
4571
|
|
4375
4572
|
# resource path
|
4376
4573
|
path = "/api/v1/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}/{schemaId}/{extension}/{metadataId}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s).sub('{' + 'schemaType' + '}', schema_type.to_s).sub('{' + 'schemaId' + '}', schema_id.to_s).sub('{' + 'extension' + '}', extension.to_s).sub('{' + 'metadataId' + '}', metadata_id.to_s)
|
@@ -4406,7 +4603,7 @@ module PureCloud
|
|
4406
4603
|
:auth_names => auth_names,
|
4407
4604
|
:return_type => 'Organization')
|
4408
4605
|
if @api_client.config.debugging
|
4409
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4606
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4410
4607
|
end
|
4411
4608
|
return data, status_code, headers
|
4412
4609
|
end
|
@@ -4490,8 +4687,8 @@ module PureCloud
|
|
4490
4687
|
# @param [Hash] opts the optional parameters
|
4491
4688
|
# @option opts [Site] :body Site
|
4492
4689
|
# @return [Site]
|
4493
|
-
def
|
4494
|
-
data, status_code, headers =
|
4690
|
+
def post_sites(opts = {})
|
4691
|
+
data, status_code, headers = post_sites_with_http_info(opts)
|
4495
4692
|
return data
|
4496
4693
|
end
|
4497
4694
|
|
@@ -4500,9 +4697,9 @@ module PureCloud
|
|
4500
4697
|
# @param [Hash] opts the optional parameters
|
4501
4698
|
# @option opts [Site] :body Site
|
4502
4699
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
4503
|
-
def
|
4700
|
+
def post_sites_with_http_info(opts = {})
|
4504
4701
|
if @api_client.config.debugging
|
4505
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4702
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_sites ..."
|
4506
4703
|
end
|
4507
4704
|
|
4508
4705
|
# resource path
|
@@ -4538,7 +4735,7 @@ module PureCloud
|
|
4538
4735
|
:auth_names => auth_names,
|
4539
4736
|
:return_type => 'Site')
|
4540
4737
|
if @api_client.config.debugging
|
4541
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4738
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_sites\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4542
4739
|
end
|
4543
4740
|
return data, status_code, headers
|
4544
4741
|
end
|
@@ -4548,8 +4745,8 @@ module PureCloud
|
|
4548
4745
|
# @param site_id Site ID
|
4549
4746
|
# @param [Hash] opts the optional parameters
|
4550
4747
|
# @return [Site]
|
4551
|
-
def
|
4552
|
-
data, status_code, headers =
|
4748
|
+
def get_sites_site_id(site_id, opts = {})
|
4749
|
+
data, status_code, headers = get_sites_site_id_with_http_info(site_id, opts)
|
4553
4750
|
return data
|
4554
4751
|
end
|
4555
4752
|
|
@@ -4558,13 +4755,13 @@ module PureCloud
|
|
4558
4755
|
# @param site_id Site ID
|
4559
4756
|
# @param [Hash] opts the optional parameters
|
4560
4757
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
4561
|
-
def
|
4758
|
+
def get_sites_site_id_with_http_info(site_id, opts = {})
|
4562
4759
|
if @api_client.config.debugging
|
4563
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4760
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id ..."
|
4564
4761
|
end
|
4565
4762
|
|
4566
4763
|
# verify the required parameter 'site_id' is set
|
4567
|
-
fail "Missing the required parameter 'site_id' when calling
|
4764
|
+
fail "Missing the required parameter 'site_id' when calling get_sites_site_id" if site_id.nil?
|
4568
4765
|
|
4569
4766
|
# resource path
|
4570
4767
|
path = "/api/v1/configuration/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4599,7 +4796,7 @@ module PureCloud
|
|
4599
4796
|
:auth_names => auth_names,
|
4600
4797
|
:return_type => 'Site')
|
4601
4798
|
if @api_client.config.debugging
|
4602
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4799
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4603
4800
|
end
|
4604
4801
|
return data, status_code, headers
|
4605
4802
|
end
|
@@ -4610,8 +4807,8 @@ module PureCloud
|
|
4610
4807
|
# @param [Hash] opts the optional parameters
|
4611
4808
|
# @option opts [Site] :body Site
|
4612
4809
|
# @return [Site]
|
4613
|
-
def
|
4614
|
-
data, status_code, headers =
|
4810
|
+
def put_sites_site_id(site_id, opts = {})
|
4811
|
+
data, status_code, headers = put_sites_site_id_with_http_info(site_id, opts)
|
4615
4812
|
return data
|
4616
4813
|
end
|
4617
4814
|
|
@@ -4621,13 +4818,13 @@ module PureCloud
|
|
4621
4818
|
# @param [Hash] opts the optional parameters
|
4622
4819
|
# @option opts [Site] :body Site
|
4623
4820
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
4624
|
-
def
|
4821
|
+
def put_sites_site_id_with_http_info(site_id, opts = {})
|
4625
4822
|
if @api_client.config.debugging
|
4626
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4823
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_sites_site_id ..."
|
4627
4824
|
end
|
4628
4825
|
|
4629
4826
|
# verify the required parameter 'site_id' is set
|
4630
|
-
fail "Missing the required parameter 'site_id' when calling
|
4827
|
+
fail "Missing the required parameter 'site_id' when calling put_sites_site_id" if site_id.nil?
|
4631
4828
|
|
4632
4829
|
# resource path
|
4633
4830
|
path = "/api/v1/configuration/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4662,7 +4859,7 @@ module PureCloud
|
|
4662
4859
|
:auth_names => auth_names,
|
4663
4860
|
:return_type => 'Site')
|
4664
4861
|
if @api_client.config.debugging
|
4665
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4862
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4666
4863
|
end
|
4667
4864
|
return data, status_code, headers
|
4668
4865
|
end
|
@@ -4672,8 +4869,8 @@ module PureCloud
|
|
4672
4869
|
# @param site_id Site ID
|
4673
4870
|
# @param [Hash] opts the optional parameters
|
4674
4871
|
# @return [String]
|
4675
|
-
def
|
4676
|
-
data, status_code, headers =
|
4872
|
+
def delete_sites_site_id(site_id, opts = {})
|
4873
|
+
data, status_code, headers = delete_sites_site_id_with_http_info(site_id, opts)
|
4677
4874
|
return data
|
4678
4875
|
end
|
4679
4876
|
|
@@ -4682,13 +4879,13 @@ module PureCloud
|
|
4682
4879
|
# @param site_id Site ID
|
4683
4880
|
# @param [Hash] opts the optional parameters
|
4684
4881
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
4685
|
-
def
|
4882
|
+
def delete_sites_site_id_with_http_info(site_id, opts = {})
|
4686
4883
|
if @api_client.config.debugging
|
4687
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4884
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_sites_site_id ..."
|
4688
4885
|
end
|
4689
4886
|
|
4690
4887
|
# verify the required parameter 'site_id' is set
|
4691
|
-
fail "Missing the required parameter 'site_id' when calling
|
4888
|
+
fail "Missing the required parameter 'site_id' when calling delete_sites_site_id" if site_id.nil?
|
4692
4889
|
|
4693
4890
|
# resource path
|
4694
4891
|
path = "/api/v1/configuration/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4723,7 +4920,7 @@ module PureCloud
|
|
4723
4920
|
:auth_names => auth_names,
|
4724
4921
|
:return_type => 'String')
|
4725
4922
|
if @api_client.config.debugging
|
4726
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4923
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4727
4924
|
end
|
4728
4925
|
return data, status_code, headers
|
4729
4926
|
end
|
@@ -4733,8 +4930,8 @@ module PureCloud
|
|
4733
4930
|
# @param site_id Site ID
|
4734
4931
|
# @param [Hash] opts the optional parameters
|
4735
4932
|
# @return [Array<NumberPlan>]
|
4736
|
-
def
|
4737
|
-
data, status_code, headers =
|
4933
|
+
def get_sites_site_id_numberplans(site_id, opts = {})
|
4934
|
+
data, status_code, headers = get_sites_site_id_numberplans_with_http_info(site_id, opts)
|
4738
4935
|
return data
|
4739
4936
|
end
|
4740
4937
|
|
@@ -4743,13 +4940,13 @@ module PureCloud
|
|
4743
4940
|
# @param site_id Site ID
|
4744
4941
|
# @param [Hash] opts the optional parameters
|
4745
4942
|
# @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
|
4746
|
-
def
|
4943
|
+
def get_sites_site_id_numberplans_with_http_info(site_id, opts = {})
|
4747
4944
|
if @api_client.config.debugging
|
4748
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4945
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id_numberplans ..."
|
4749
4946
|
end
|
4750
4947
|
|
4751
4948
|
# verify the required parameter 'site_id' is set
|
4752
|
-
fail "Missing the required parameter 'site_id' when calling
|
4949
|
+
fail "Missing the required parameter 'site_id' when calling get_sites_site_id_numberplans" if site_id.nil?
|
4753
4950
|
|
4754
4951
|
# resource path
|
4755
4952
|
path = "/api/v1/configuration/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4784,7 +4981,7 @@ module PureCloud
|
|
4784
4981
|
:auth_names => auth_names,
|
4785
4982
|
:return_type => 'Array<NumberPlan>')
|
4786
4983
|
if @api_client.config.debugging
|
4787
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4984
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4788
4985
|
end
|
4789
4986
|
return data, status_code, headers
|
4790
4987
|
end
|
@@ -4795,8 +4992,8 @@ module PureCloud
|
|
4795
4992
|
# @param [Hash] opts the optional parameters
|
4796
4993
|
# @option opts [Array<NumberPlan>] :body
|
4797
4994
|
# @return [Array<NumberPlan>]
|
4798
|
-
def
|
4799
|
-
data, status_code, headers =
|
4995
|
+
def put_sites_site_id_numberplans(site_id, opts = {})
|
4996
|
+
data, status_code, headers = put_sites_site_id_numberplans_with_http_info(site_id, opts)
|
4800
4997
|
return data
|
4801
4998
|
end
|
4802
4999
|
|
@@ -4806,13 +5003,13 @@ module PureCloud
|
|
4806
5003
|
# @param [Hash] opts the optional parameters
|
4807
5004
|
# @option opts [Array<NumberPlan>] :body
|
4808
5005
|
# @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
|
4809
|
-
def
|
5006
|
+
def put_sites_site_id_numberplans_with_http_info(site_id, opts = {})
|
4810
5007
|
if @api_client.config.debugging
|
4811
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
5008
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#put_sites_site_id_numberplans ..."
|
4812
5009
|
end
|
4813
5010
|
|
4814
5011
|
# verify the required parameter 'site_id' is set
|
4815
|
-
fail "Missing the required parameter 'site_id' when calling
|
5012
|
+
fail "Missing the required parameter 'site_id' when calling put_sites_site_id_numberplans" if site_id.nil?
|
4816
5013
|
|
4817
5014
|
# resource path
|
4818
5015
|
path = "/api/v1/configuration/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4847,7 +5044,7 @@ module PureCloud
|
|
4847
5044
|
:auth_names => auth_names,
|
4848
5045
|
:return_type => 'Array<NumberPlan>')
|
4849
5046
|
if @api_client.config.debugging
|
4850
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
5047
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#put_sites_site_id_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4851
5048
|
end
|
4852
5049
|
return data, status_code, headers
|
4853
5050
|
end
|
@@ -4858,8 +5055,8 @@ module PureCloud
|
|
4858
5055
|
# @param [Hash] opts the optional parameters
|
4859
5056
|
# @option opts [String] :classification Classification
|
4860
5057
|
# @return [Array<String>]
|
4861
|
-
def
|
4862
|
-
data, status_code, headers =
|
5058
|
+
def get_sites_site_id_numberplans_classifications(site_id, opts = {})
|
5059
|
+
data, status_code, headers = get_sites_site_id_numberplans_classifications_with_http_info(site_id, opts)
|
4863
5060
|
return data
|
4864
5061
|
end
|
4865
5062
|
|
@@ -4869,13 +5066,13 @@ module PureCloud
|
|
4869
5066
|
# @param [Hash] opts the optional parameters
|
4870
5067
|
# @option opts [String] :classification Classification
|
4871
5068
|
# @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
|
4872
|
-
def
|
5069
|
+
def get_sites_site_id_numberplans_classifications_with_http_info(site_id, opts = {})
|
4873
5070
|
if @api_client.config.debugging
|
4874
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
5071
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id_numberplans_classifications ..."
|
4875
5072
|
end
|
4876
5073
|
|
4877
5074
|
# verify the required parameter 'site_id' is set
|
4878
|
-
fail "Missing the required parameter 'site_id' when calling
|
5075
|
+
fail "Missing the required parameter 'site_id' when calling get_sites_site_id_numberplans_classifications" if site_id.nil?
|
4879
5076
|
|
4880
5077
|
# resource path
|
4881
5078
|
path = "/api/v1/configuration/sites/{siteId}/numberplans/classifications".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4911,7 +5108,7 @@ module PureCloud
|
|
4911
5108
|
:auth_names => auth_names,
|
4912
5109
|
:return_type => 'Array<String>')
|
4913
5110
|
if @api_client.config.debugging
|
4914
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
5111
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id_numberplans_classifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4915
5112
|
end
|
4916
5113
|
return data, status_code, headers
|
4917
5114
|
end
|
@@ -4922,8 +5119,8 @@ module PureCloud
|
|
4922
5119
|
# @param number_plan_id Number Plan ID
|
4923
5120
|
# @param [Hash] opts the optional parameters
|
4924
5121
|
# @return [NumberPlan]
|
4925
|
-
def
|
4926
|
-
data, status_code, headers =
|
5122
|
+
def get_sites_site_id_numberplans_numberplan_id(site_id, number_plan_id, opts = {})
|
5123
|
+
data, status_code, headers = get_sites_site_id_numberplans_numberplan_id_with_http_info(site_id, number_plan_id, opts)
|
4927
5124
|
return data
|
4928
5125
|
end
|
4929
5126
|
|
@@ -4933,16 +5130,16 @@ module PureCloud
|
|
4933
5130
|
# @param number_plan_id Number Plan ID
|
4934
5131
|
# @param [Hash] opts the optional parameters
|
4935
5132
|
# @return [Array<(NumberPlan, Fixnum, Hash)>] NumberPlan data, response status code and response headers
|
4936
|
-
def
|
5133
|
+
def get_sites_site_id_numberplans_numberplan_id_with_http_info(site_id, number_plan_id, opts = {})
|
4937
5134
|
if @api_client.config.debugging
|
4938
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
5135
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id_numberplans_numberplan_id ..."
|
4939
5136
|
end
|
4940
5137
|
|
4941
5138
|
# verify the required parameter 'site_id' is set
|
4942
|
-
fail "Missing the required parameter 'site_id' when calling
|
5139
|
+
fail "Missing the required parameter 'site_id' when calling get_sites_site_id_numberplans_numberplan_id" if site_id.nil?
|
4943
5140
|
|
4944
5141
|
# verify the required parameter 'number_plan_id' is set
|
4945
|
-
fail "Missing the required parameter 'number_plan_id' when calling
|
5142
|
+
fail "Missing the required parameter 'number_plan_id' when calling get_sites_site_id_numberplans_numberplan_id" if number_plan_id.nil?
|
4946
5143
|
|
4947
5144
|
# resource path
|
4948
5145
|
path = "/api/v1/configuration/sites/{siteId}/numberplans/{numberPlanId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s).sub('{' + 'numberPlanId' + '}', number_plan_id.to_s)
|
@@ -4977,7 +5174,7 @@ module PureCloud
|
|
4977
5174
|
:auth_names => auth_names,
|
4978
5175
|
:return_type => 'NumberPlan')
|
4979
5176
|
if @api_client.config.debugging
|
4980
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
5177
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id_numberplans_numberplan_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4981
5178
|
end
|
4982
5179
|
return data, status_code, headers
|
4983
5180
|
end
|
@@ -4987,8 +5184,8 @@ module PureCloud
|
|
4987
5184
|
# @param site_id Site ID
|
4988
5185
|
# @param [Hash] opts the optional parameters
|
4989
5186
|
# @return [nil]
|
4990
|
-
def
|
4991
|
-
|
5187
|
+
def post_sites_site_id_rebalance(site_id, opts = {})
|
5188
|
+
post_sites_site_id_rebalance_with_http_info(site_id, opts)
|
4992
5189
|
return nil
|
4993
5190
|
end
|
4994
5191
|
|
@@ -4997,13 +5194,13 @@ module PureCloud
|
|
4997
5194
|
# @param site_id Site ID
|
4998
5195
|
# @param [Hash] opts the optional parameters
|
4999
5196
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
5000
|
-
def
|
5197
|
+
def post_sites_site_id_rebalance_with_http_info(site_id, opts = {})
|
5001
5198
|
if @api_client.config.debugging
|
5002
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
5199
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#post_sites_site_id_rebalance ..."
|
5003
5200
|
end
|
5004
5201
|
|
5005
5202
|
# verify the required parameter 'site_id' is set
|
5006
|
-
fail "Missing the required parameter 'site_id' when calling
|
5203
|
+
fail "Missing the required parameter 'site_id' when calling post_sites_site_id_rebalance" if site_id.nil?
|
5007
5204
|
|
5008
5205
|
# resource path
|
5009
5206
|
path = "/api/v1/configuration/sites/{siteId}/rebalance".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -5037,7 +5234,7 @@ module PureCloud
|
|
5037
5234
|
:body => post_body,
|
5038
5235
|
:auth_names => auth_names)
|
5039
5236
|
if @api_client.config.debugging
|
5040
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
5237
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#post_sites_site_id_rebalance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5041
5238
|
end
|
5042
5239
|
return data, status_code, headers
|
5043
5240
|
end
|