purecloud 0.0.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config-ruby.json +1 -1
- data/lib/purecloud/api/analytics_api.rb +57 -57
- data/lib/purecloud/api/architect_api.rb +16 -16
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +53 -53
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +303 -303
- data/lib/purecloud/api/content_management_api.rb +215 -215
- data/lib/purecloud/api/conversations_api.rb +159 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/fax_api.rb +6 -6
- data/lib/purecloud/api/geolocation_api.rb +24 -24
- data/lib/purecloud/api/greetings_api.rb +56 -56
- data/lib/purecloud/api/groups_api.rb +17 -17
- data/lib/purecloud/api/languages_api.rb +11 -11
- data/lib/purecloud/api/licensing_api.rb +17 -17
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +17 -17
- data/lib/purecloud/api/o_auth_api.rb +97 -97
- data/lib/purecloud/api/orphaned_recordings_api.rb +17 -17
- data/lib/purecloud/api/outbound_api.rb +259 -259
- data/lib/purecloud/api/presence_api.rb +53 -53
- data/lib/purecloud/api/quality_api.rb +101 -101
- data/lib/purecloud/api/routing_api.rb +125 -125
- data/lib/purecloud/api/scripts_api.rb +60 -60
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +17 -17
- data/lib/purecloud/api/telephony_providers_edge_api.rb +212 -212
- data/lib/purecloud/api/user_recordings_api.rb +34 -34
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +15 -15
- data/lib/purecloud/api/voicemail_api.rb +29 -29
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
@@ -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 update_hipaa(opts = {})
|
73
|
+
data, status_code, headers = update_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 update_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#update_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#update_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 create_didpools(opts = {})
|
82
|
+
data, status_code, headers = create_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 create_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#create_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#create_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_d_pool_id(did_pool_id, opts = {})
|
140
|
+
data, status_code, headers = get_didpools_d_pool_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_d_pool_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_d_pool_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_d_pool_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_d_pool_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 update_didpools_d_pool_id(did_pool_id, opts = {})
|
202
|
+
data, status_code, headers = update_didpools_d_pool_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 update_didpools_d_pool_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#update_didpools_d_pool_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 update_didpools_d_pool_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#update_didpools_d_pool_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_d_pool_id(did_pool_id, opts = {})
|
264
|
+
data, status_code, headers = delete_didpools_d_pool_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_d_pool_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_d_pool_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_d_pool_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_d_pool_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_d_id(did_id, opts = {})
|
396
|
+
data, status_code, headers = get_d_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_d_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_d_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_d_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_d_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 update_d_id(did_id, opts = {})
|
458
|
+
data, status_code, headers = update_d_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 update_d_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#update_d_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 update_d_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#update_d_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 create_edges(opts = {})
|
594
|
+
data, status_code, headers = create_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 create_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#create_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#create_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 create_edges_certificateauthorities(opts = {})
|
708
|
+
data, status_code, headers = create_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 create_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#create_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#create_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(certificate_id, opts = {})
|
766
|
+
data, status_code, headers = get_edges_certificateauthorities_certificate_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_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 ..."
|
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" 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\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 update_edges_certificateauthorities_certificate(certificate_id, opts = {})
|
828
|
+
data, status_code, headers = update_edges_certificateauthorities_certificate_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 update_edges_certificateauthorities_certificate_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#update_edges_certificateauthorities_certificate ..."
|
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 update_edges_certificateauthorities_certificate" 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#update_edges_certificateauthorities_certificate\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(certificate_id, opts = {})
|
890
|
+
data, status_code, headers = delete_edges_certificateauthorities_certificate_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_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 ..."
|
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" 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\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
941
941
|
end
|
942
942
|
return data, status_code, headers
|
943
943
|
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 update_edge(edge_id, opts = {})
|
1013
|
+
data, status_code, headers = update_edge_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 update_edge_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#update_edge ..."
|
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 update_edge" 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#update_edge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1065
1065
|
end
|
1066
1066
|
return data, status_code, headers
|
1067
1067
|
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_edge_lines_by_line_id(edge_id, line_id, opts = {})
|
1204
|
+
data, status_code, headers = get_edge_lines_by_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_edge_lines_by_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_edge_lines_by_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_edge_lines_by_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_edge_lines_by_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_edge_lines_by_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 update_edge_lines_by_line_id(edge_id, line_id, opts = {})
|
1271
|
+
data, status_code, headers = update_edge_lines_by_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 update_edge_lines_by_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#update_edge_lines_by_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 update_edge_lines_by_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 update_edge_lines_by_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#update_edge_lines_by_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1327
1327
|
end
|
1328
1328
|
return data, status_code, headers
|
1329
1329
|
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 create_edge_logicalinterfaces(edge_id, opts = {})
|
1399
|
+
data, status_code, headers = create_edge_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 create_edge_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#create_edge_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 create_edge_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#create_edge_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_edge_logicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
|
1462
|
+
data, status_code, headers = get_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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 update_edge_logicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
|
1529
|
+
data, status_code, headers = update_edge_logicalinterfaces_by_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 update_edge_logicalinterfaces_by_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#update_edge_logicalinterfaces_by_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 update_edge_logicalinterfaces_by_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 update_edge_logicalinterfaces_by_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#update_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
|
1596
|
+
delete_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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_edge_logicalinterfaces_by_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,7 @@ 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_edge_logicalinterfaces_by_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1650
1650
|
end
|
1651
1651
|
return data, status_code, headers
|
1652
1652
|
end
|
@@ -1718,8 +1718,8 @@ module PureCloud
|
|
1718
1718
|
# @param interface_id Interface ID
|
1719
1719
|
# @param [Hash] opts the optional parameters
|
1720
1720
|
# @return [DomainPhysicalInterface]
|
1721
|
-
def
|
1722
|
-
data, status_code, headers =
|
1721
|
+
def get_edge_physicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
|
1722
|
+
data, status_code, headers = get_edge_physicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts)
|
1723
1723
|
return data
|
1724
1724
|
end
|
1725
1725
|
|
@@ -1729,16 +1729,16 @@ module PureCloud
|
|
1729
1729
|
# @param interface_id Interface ID
|
1730
1730
|
# @param [Hash] opts the optional parameters
|
1731
1731
|
# @return [Array<(DomainPhysicalInterface, Fixnum, Hash)>] DomainPhysicalInterface data, response status code and response headers
|
1732
|
-
def
|
1732
|
+
def get_edge_physicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
1733
1733
|
if @api_client.config.debugging
|
1734
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1734
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_physicalinterfaces_by_interface_id ..."
|
1735
1735
|
end
|
1736
1736
|
|
1737
1737
|
# verify the required parameter 'edge_id' is set
|
1738
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1738
|
+
fail "Missing the required parameter 'edge_id' when calling get_edge_physicalinterfaces_by_interface_id" if edge_id.nil?
|
1739
1739
|
|
1740
1740
|
# verify the required parameter 'interface_id' is set
|
1741
|
-
fail "Missing the required parameter 'interface_id' when calling
|
1741
|
+
fail "Missing the required parameter 'interface_id' when calling get_edge_physicalinterfaces_by_interface_id" if interface_id.nil?
|
1742
1742
|
|
1743
1743
|
# resource path
|
1744
1744
|
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 +1773,7 @@ module PureCloud
|
|
1773
1773
|
:auth_names => auth_names,
|
1774
1774
|
:return_type => 'DomainPhysicalInterface')
|
1775
1775
|
if @api_client.config.debugging
|
1776
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1776
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_edge_physicalinterfaces_by_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1777
1777
|
end
|
1778
1778
|
return data, status_code, headers
|
1779
1779
|
end
|
@@ -1783,8 +1783,8 @@ module PureCloud
|
|
1783
1783
|
# @param edge_id Edge ID
|
1784
1784
|
# @param [Hash] opts the optional parameters
|
1785
1785
|
# @return [String]
|
1786
|
-
def
|
1787
|
-
data, status_code, headers =
|
1786
|
+
def create_edge_reboot(edge_id, opts = {})
|
1787
|
+
data, status_code, headers = create_edge_reboot_with_http_info(edge_id, opts)
|
1788
1788
|
return data
|
1789
1789
|
end
|
1790
1790
|
|
@@ -1793,13 +1793,13 @@ module PureCloud
|
|
1793
1793
|
# @param edge_id Edge ID
|
1794
1794
|
# @param [Hash] opts the optional parameters
|
1795
1795
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1796
|
-
def
|
1796
|
+
def create_edge_reboot_with_http_info(edge_id, opts = {})
|
1797
1797
|
if @api_client.config.debugging
|
1798
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1798
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_edge_reboot ..."
|
1799
1799
|
end
|
1800
1800
|
|
1801
1801
|
# verify the required parameter 'edge_id' is set
|
1802
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1802
|
+
fail "Missing the required parameter 'edge_id' when calling create_edge_reboot" if edge_id.nil?
|
1803
1803
|
|
1804
1804
|
# resource path
|
1805
1805
|
path = "/api/v1/configuration/edges/{edgeId}/reboot".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1834,7 +1834,7 @@ module PureCloud
|
|
1834
1834
|
:auth_names => auth_names,
|
1835
1835
|
:return_type => 'String')
|
1836
1836
|
if @api_client.config.debugging
|
1837
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1837
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_edge_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1838
1838
|
end
|
1839
1839
|
return data, status_code, headers
|
1840
1840
|
end
|
@@ -1906,8 +1906,8 @@ module PureCloud
|
|
1906
1906
|
# @param [Hash] opts the optional parameters
|
1907
1907
|
# @option opts [DomainEdgeSoftwareUpdateDto] :body
|
1908
1908
|
# @return [nil]
|
1909
|
-
def
|
1910
|
-
|
1909
|
+
def create_edge_softwareupdate(edge_id, opts = {})
|
1910
|
+
create_edge_softwareupdate_with_http_info(edge_id, opts)
|
1911
1911
|
return nil
|
1912
1912
|
end
|
1913
1913
|
|
@@ -1917,13 +1917,13 @@ module PureCloud
|
|
1917
1917
|
# @param [Hash] opts the optional parameters
|
1918
1918
|
# @option opts [DomainEdgeSoftwareUpdateDto] :body
|
1919
1919
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1920
|
-
def
|
1920
|
+
def create_edge_softwareupdate_with_http_info(edge_id, opts = {})
|
1921
1921
|
if @api_client.config.debugging
|
1922
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
1922
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_edge_softwareupdate ..."
|
1923
1923
|
end
|
1924
1924
|
|
1925
1925
|
# verify the required parameter 'edge_id' is set
|
1926
|
-
fail "Missing the required parameter 'edge_id' when calling
|
1926
|
+
fail "Missing the required parameter 'edge_id' when calling create_edge_softwareupdate" if edge_id.nil?
|
1927
1927
|
|
1928
1928
|
# resource path
|
1929
1929
|
path = "/api/v1/configuration/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -1957,7 +1957,7 @@ module PureCloud
|
|
1957
1957
|
:body => post_body,
|
1958
1958
|
:auth_names => auth_names)
|
1959
1959
|
if @api_client.config.debugging
|
1960
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
1960
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_edge_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1961
1961
|
end
|
1962
1962
|
return data, status_code, headers
|
1963
1963
|
end
|
@@ -2089,8 +2089,8 @@ module PureCloud
|
|
2089
2089
|
# @param edge_id Edge Id
|
2090
2090
|
# @param [Hash] opts the optional parameters
|
2091
2091
|
# @return [String]
|
2092
|
-
def
|
2093
|
-
data, status_code, headers =
|
2092
|
+
def create_edge_unpair(edge_id, opts = {})
|
2093
|
+
data, status_code, headers = create_edge_unpair_with_http_info(edge_id, opts)
|
2094
2094
|
return data
|
2095
2095
|
end
|
2096
2096
|
|
@@ -2099,13 +2099,13 @@ module PureCloud
|
|
2099
2099
|
# @param edge_id Edge Id
|
2100
2100
|
# @param [Hash] opts the optional parameters
|
2101
2101
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2102
|
-
def
|
2102
|
+
def create_edge_unpair_with_http_info(edge_id, opts = {})
|
2103
2103
|
if @api_client.config.debugging
|
2104
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2104
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_edge_unpair ..."
|
2105
2105
|
end
|
2106
2106
|
|
2107
2107
|
# verify the required parameter 'edge_id' is set
|
2108
|
-
fail "Missing the required parameter 'edge_id' when calling
|
2108
|
+
fail "Missing the required parameter 'edge_id' when calling create_edge_unpair" if edge_id.nil?
|
2109
2109
|
|
2110
2110
|
# resource path
|
2111
2111
|
path = "/api/v1/configuration/edges/{edgeId}/unpair".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
@@ -2140,7 +2140,7 @@ module PureCloud
|
|
2140
2140
|
:auth_names => auth_names,
|
2141
2141
|
:return_type => 'String')
|
2142
2142
|
if @api_client.config.debugging
|
2143
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2143
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_edge_unpair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2144
2144
|
end
|
2145
2145
|
return data, status_code, headers
|
2146
2146
|
end
|
@@ -2274,8 +2274,8 @@ module PureCloud
|
|
2274
2274
|
# @param [Hash] opts the optional parameters
|
2275
2275
|
# @option opts [Endpoint] :body EndpointTemplate
|
2276
2276
|
# @return [Endpoint]
|
2277
|
-
def
|
2278
|
-
data, status_code, headers =
|
2277
|
+
def create_endpoints(opts = {})
|
2278
|
+
data, status_code, headers = create_endpoints_with_http_info(opts)
|
2279
2279
|
return data
|
2280
2280
|
end
|
2281
2281
|
|
@@ -2284,9 +2284,9 @@ module PureCloud
|
|
2284
2284
|
# @param [Hash] opts the optional parameters
|
2285
2285
|
# @option opts [Endpoint] :body EndpointTemplate
|
2286
2286
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
2287
|
-
def
|
2287
|
+
def create_endpoints_with_http_info(opts = {})
|
2288
2288
|
if @api_client.config.debugging
|
2289
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2289
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_endpoints ..."
|
2290
2290
|
end
|
2291
2291
|
|
2292
2292
|
# resource path
|
@@ -2322,7 +2322,7 @@ module PureCloud
|
|
2322
2322
|
:auth_names => auth_names,
|
2323
2323
|
:return_type => 'Endpoint')
|
2324
2324
|
if @api_client.config.debugging
|
2325
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2325
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2326
2326
|
end
|
2327
2327
|
return data, status_code, headers
|
2328
2328
|
end
|
@@ -2394,8 +2394,8 @@ module PureCloud
|
|
2394
2394
|
# @param [Hash] opts the optional parameters
|
2395
2395
|
# @option opts [Endpoint] :body EndpointTemplate
|
2396
2396
|
# @return [Endpoint]
|
2397
|
-
def
|
2398
|
-
data, status_code, headers =
|
2397
|
+
def update_endpoint(endpoint_id, opts = {})
|
2398
|
+
data, status_code, headers = update_endpoint_with_http_info(endpoint_id, opts)
|
2399
2399
|
return data
|
2400
2400
|
end
|
2401
2401
|
|
@@ -2405,13 +2405,13 @@ module PureCloud
|
|
2405
2405
|
# @param [Hash] opts the optional parameters
|
2406
2406
|
# @option opts [Endpoint] :body EndpointTemplate
|
2407
2407
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
2408
|
-
def
|
2408
|
+
def update_endpoint_with_http_info(endpoint_id, opts = {})
|
2409
2409
|
if @api_client.config.debugging
|
2410
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2410
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_endpoint ..."
|
2411
2411
|
end
|
2412
2412
|
|
2413
2413
|
# verify the required parameter 'endpoint_id' is set
|
2414
|
-
fail "Missing the required parameter 'endpoint_id' when calling
|
2414
|
+
fail "Missing the required parameter 'endpoint_id' when calling update_endpoint" if endpoint_id.nil?
|
2415
2415
|
|
2416
2416
|
# resource path
|
2417
2417
|
path = "/api/v1/configuration/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
|
@@ -2446,7 +2446,7 @@ module PureCloud
|
|
2446
2446
|
:auth_names => auth_names,
|
2447
2447
|
:return_type => 'Endpoint')
|
2448
2448
|
if @api_client.config.debugging
|
2449
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2449
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2450
2450
|
end
|
2451
2451
|
return data, status_code, headers
|
2452
2452
|
end
|
@@ -2585,8 +2585,8 @@ module PureCloud
|
|
2585
2585
|
# @param [Hash] opts the optional parameters
|
2586
2586
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2587
2587
|
# @return [Extension]
|
2588
|
-
def
|
2589
|
-
data, status_code, headers =
|
2588
|
+
def create_extensionpools(opts = {})
|
2589
|
+
data, status_code, headers = create_extensionpools_with_http_info(opts)
|
2590
2590
|
return data
|
2591
2591
|
end
|
2592
2592
|
|
@@ -2595,9 +2595,9 @@ module PureCloud
|
|
2595
2595
|
# @param [Hash] opts the optional parameters
|
2596
2596
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2597
2597
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
2598
|
-
def
|
2598
|
+
def create_extensionpools_with_http_info(opts = {})
|
2599
2599
|
if @api_client.config.debugging
|
2600
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2600
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_extensionpools ..."
|
2601
2601
|
end
|
2602
2602
|
|
2603
2603
|
# resource path
|
@@ -2633,7 +2633,7 @@ module PureCloud
|
|
2633
2633
|
:auth_names => auth_names,
|
2634
2634
|
:return_type => 'Extension')
|
2635
2635
|
if @api_client.config.debugging
|
2636
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2636
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_extensionpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2637
2637
|
end
|
2638
2638
|
return data, status_code, headers
|
2639
2639
|
end
|
@@ -2643,8 +2643,8 @@ module PureCloud
|
|
2643
2643
|
# @param extension_pool_id Extension pool ID
|
2644
2644
|
# @param [Hash] opts the optional parameters
|
2645
2645
|
# @return [ExtensionPool]
|
2646
|
-
def
|
2647
|
-
data, status_code, headers =
|
2646
|
+
def get_extension_pool(extension_pool_id, opts = {})
|
2647
|
+
data, status_code, headers = get_extension_pool_with_http_info(extension_pool_id, opts)
|
2648
2648
|
return data
|
2649
2649
|
end
|
2650
2650
|
|
@@ -2653,13 +2653,13 @@ module PureCloud
|
|
2653
2653
|
# @param extension_pool_id Extension pool ID
|
2654
2654
|
# @param [Hash] opts the optional parameters
|
2655
2655
|
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
|
2656
|
-
def
|
2656
|
+
def get_extension_pool_with_http_info(extension_pool_id, opts = {})
|
2657
2657
|
if @api_client.config.debugging
|
2658
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2658
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_extension_pool ..."
|
2659
2659
|
end
|
2660
2660
|
|
2661
2661
|
# verify the required parameter 'extension_pool_id' is set
|
2662
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
2662
|
+
fail "Missing the required parameter 'extension_pool_id' when calling get_extension_pool" if extension_pool_id.nil?
|
2663
2663
|
|
2664
2664
|
# resource path
|
2665
2665
|
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
@@ -2694,7 +2694,7 @@ module PureCloud
|
|
2694
2694
|
:auth_names => auth_names,
|
2695
2695
|
:return_type => 'ExtensionPool')
|
2696
2696
|
if @api_client.config.debugging
|
2697
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2697
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_extension_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2698
2698
|
end
|
2699
2699
|
return data, status_code, headers
|
2700
2700
|
end
|
@@ -2705,8 +2705,8 @@ module PureCloud
|
|
2705
2705
|
# @param [Hash] opts the optional parameters
|
2706
2706
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2707
2707
|
# @return [ExtensionPool]
|
2708
|
-
def
|
2709
|
-
data, status_code, headers =
|
2708
|
+
def update_extension_pool(extension_pool_id, opts = {})
|
2709
|
+
data, status_code, headers = update_extension_pool_with_http_info(extension_pool_id, opts)
|
2710
2710
|
return data
|
2711
2711
|
end
|
2712
2712
|
|
@@ -2716,13 +2716,13 @@ module PureCloud
|
|
2716
2716
|
# @param [Hash] opts the optional parameters
|
2717
2717
|
# @option opts [ExtensionPool] :body ExtensionPool
|
2718
2718
|
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
|
2719
|
-
def
|
2719
|
+
def update_extension_pool_with_http_info(extension_pool_id, opts = {})
|
2720
2720
|
if @api_client.config.debugging
|
2721
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2721
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_extension_pool ..."
|
2722
2722
|
end
|
2723
2723
|
|
2724
2724
|
# verify the required parameter 'extension_pool_id' is set
|
2725
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
2725
|
+
fail "Missing the required parameter 'extension_pool_id' when calling update_extension_pool" if extension_pool_id.nil?
|
2726
2726
|
|
2727
2727
|
# resource path
|
2728
2728
|
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
@@ -2757,7 +2757,7 @@ module PureCloud
|
|
2757
2757
|
:auth_names => auth_names,
|
2758
2758
|
:return_type => 'ExtensionPool')
|
2759
2759
|
if @api_client.config.debugging
|
2760
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2760
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_extension_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2761
2761
|
end
|
2762
2762
|
return data, status_code, headers
|
2763
2763
|
end
|
@@ -2767,8 +2767,8 @@ module PureCloud
|
|
2767
2767
|
# @param extension_pool_id Extension pool ID
|
2768
2768
|
# @param [Hash] opts the optional parameters
|
2769
2769
|
# @return [String]
|
2770
|
-
def
|
2771
|
-
data, status_code, headers =
|
2770
|
+
def delete_extension_pool(extension_pool_id, opts = {})
|
2771
|
+
data, status_code, headers = delete_extension_pool_with_http_info(extension_pool_id, opts)
|
2772
2772
|
return data
|
2773
2773
|
end
|
2774
2774
|
|
@@ -2777,13 +2777,13 @@ module PureCloud
|
|
2777
2777
|
# @param extension_pool_id Extension pool ID
|
2778
2778
|
# @param [Hash] opts the optional parameters
|
2779
2779
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2780
|
-
def
|
2780
|
+
def delete_extension_pool_with_http_info(extension_pool_id, opts = {})
|
2781
2781
|
if @api_client.config.debugging
|
2782
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2782
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_extension_pool ..."
|
2783
2783
|
end
|
2784
2784
|
|
2785
2785
|
# verify the required parameter 'extension_pool_id' is set
|
2786
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
2786
|
+
fail "Missing the required parameter 'extension_pool_id' when calling delete_extension_pool" if extension_pool_id.nil?
|
2787
2787
|
|
2788
2788
|
# resource path
|
2789
2789
|
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
@@ -2818,7 +2818,7 @@ module PureCloud
|
|
2818
2818
|
:auth_names => auth_names,
|
2819
2819
|
:return_type => 'String')
|
2820
2820
|
if @api_client.config.debugging
|
2821
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
2821
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_extension_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2822
2822
|
end
|
2823
2823
|
return data, status_code, headers
|
2824
2824
|
end
|
@@ -2961,8 +2961,8 @@ module PureCloud
|
|
2961
2961
|
# @param [Hash] opts the optional parameters
|
2962
2962
|
# @option opts [Extension] :body
|
2963
2963
|
# @return [Extension]
|
2964
|
-
def
|
2965
|
-
data, status_code, headers =
|
2964
|
+
def update_extension(extension_id, opts = {})
|
2965
|
+
data, status_code, headers = update_extension_with_http_info(extension_id, opts)
|
2966
2966
|
return data
|
2967
2967
|
end
|
2968
2968
|
|
@@ -2972,13 +2972,13 @@ module PureCloud
|
|
2972
2972
|
# @param [Hash] opts the optional parameters
|
2973
2973
|
# @option opts [Extension] :body
|
2974
2974
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
2975
|
-
def
|
2975
|
+
def update_extension_with_http_info(extension_id, opts = {})
|
2976
2976
|
if @api_client.config.debugging
|
2977
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
2977
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_extension ..."
|
2978
2978
|
end
|
2979
2979
|
|
2980
2980
|
# verify the required parameter 'extension_id' is set
|
2981
|
-
fail "Missing the required parameter 'extension_id' when calling
|
2981
|
+
fail "Missing the required parameter 'extension_id' when calling update_extension" if extension_id.nil?
|
2982
2982
|
|
2983
2983
|
# resource path
|
2984
2984
|
path = "/api/v1/configuration/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
|
@@ -3013,7 +3013,7 @@ module PureCloud
|
|
3013
3013
|
:auth_names => auth_names,
|
3014
3014
|
:return_type => 'Extension')
|
3015
3015
|
if @api_client.config.debugging
|
3016
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3016
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_extension\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3017
3017
|
end
|
3018
3018
|
return data, status_code, headers
|
3019
3019
|
end
|
@@ -3079,8 +3079,8 @@ module PureCloud
|
|
3079
3079
|
# @param [Hash] opts the optional parameters
|
3080
3080
|
# @option opts [Organization] :body Organization
|
3081
3081
|
# @return [Organization]
|
3082
|
-
def
|
3083
|
-
data, status_code, headers =
|
3082
|
+
def update_organization(opts = {})
|
3083
|
+
data, status_code, headers = update_organization_with_http_info(opts)
|
3084
3084
|
return data
|
3085
3085
|
end
|
3086
3086
|
|
@@ -3089,9 +3089,9 @@ module PureCloud
|
|
3089
3089
|
# @param [Hash] opts the optional parameters
|
3090
3090
|
# @option opts [Organization] :body Organization
|
3091
3091
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3092
|
-
def
|
3092
|
+
def update_organization_with_http_info(opts = {})
|
3093
3093
|
if @api_client.config.debugging
|
3094
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3094
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_organization ..."
|
3095
3095
|
end
|
3096
3096
|
|
3097
3097
|
# resource path
|
@@ -3127,7 +3127,7 @@ module PureCloud
|
|
3127
3127
|
:auth_names => auth_names,
|
3128
3128
|
:return_type => 'Organization')
|
3129
3129
|
if @api_client.config.debugging
|
3130
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3130
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3131
3131
|
end
|
3132
3132
|
return data, status_code, headers
|
3133
3133
|
end
|
@@ -3137,8 +3137,8 @@ module PureCloud
|
|
3137
3137
|
# @param [Hash] opts the optional parameters
|
3138
3138
|
# @option opts [OrganizationCreate] :body Organization
|
3139
3139
|
# @return [Organization]
|
3140
|
-
def
|
3141
|
-
data, status_code, headers =
|
3140
|
+
def create_organizations(opts = {})
|
3141
|
+
data, status_code, headers = create_organizations_with_http_info(opts)
|
3142
3142
|
return data
|
3143
3143
|
end
|
3144
3144
|
|
@@ -3147,9 +3147,9 @@ module PureCloud
|
|
3147
3147
|
# @param [Hash] opts the optional parameters
|
3148
3148
|
# @option opts [OrganizationCreate] :body Organization
|
3149
3149
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3150
|
-
def
|
3150
|
+
def create_organizations_with_http_info(opts = {})
|
3151
3151
|
if @api_client.config.debugging
|
3152
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3152
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_organizations ..."
|
3153
3153
|
end
|
3154
3154
|
|
3155
3155
|
# resource path
|
@@ -3185,7 +3185,7 @@ module PureCloud
|
|
3185
3185
|
:auth_names => auth_names,
|
3186
3186
|
:return_type => 'Organization')
|
3187
3187
|
if @api_client.config.debugging
|
3188
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3188
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3189
3189
|
end
|
3190
3190
|
return data, status_code, headers
|
3191
3191
|
end
|
@@ -3195,8 +3195,8 @@ module PureCloud
|
|
3195
3195
|
# @param org_id Organization ID
|
3196
3196
|
# @param [Hash] opts the optional parameters
|
3197
3197
|
# @return [Organization]
|
3198
|
-
def
|
3199
|
-
data, status_code, headers =
|
3198
|
+
def get_organizations_org(org_id, opts = {})
|
3199
|
+
data, status_code, headers = get_organizations_org_with_http_info(org_id, opts)
|
3200
3200
|
return data
|
3201
3201
|
end
|
3202
3202
|
|
@@ -3205,13 +3205,13 @@ module PureCloud
|
|
3205
3205
|
# @param org_id Organization ID
|
3206
3206
|
# @param [Hash] opts the optional parameters
|
3207
3207
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3208
|
-
def
|
3208
|
+
def get_organizations_org_with_http_info(org_id, opts = {})
|
3209
3209
|
if @api_client.config.debugging
|
3210
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3210
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_organizations_org ..."
|
3211
3211
|
end
|
3212
3212
|
|
3213
3213
|
# verify the required parameter 'org_id' is set
|
3214
|
-
fail "Missing the required parameter 'org_id' when calling
|
3214
|
+
fail "Missing the required parameter 'org_id' when calling get_organizations_org" if org_id.nil?
|
3215
3215
|
|
3216
3216
|
# resource path
|
3217
3217
|
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
|
@@ -3246,7 +3246,7 @@ module PureCloud
|
|
3246
3246
|
:auth_names => auth_names,
|
3247
3247
|
:return_type => 'Organization')
|
3248
3248
|
if @api_client.config.debugging
|
3249
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3249
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_organizations_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3250
3250
|
end
|
3251
3251
|
return data, status_code, headers
|
3252
3252
|
end
|
@@ -3257,8 +3257,8 @@ module PureCloud
|
|
3257
3257
|
# @param [Hash] opts the optional parameters
|
3258
3258
|
# @option opts [Organization] :body Organization
|
3259
3259
|
# @return [Organization]
|
3260
|
-
def
|
3261
|
-
data, status_code, headers =
|
3260
|
+
def update_organizations_org(org_id, opts = {})
|
3261
|
+
data, status_code, headers = update_organizations_org_with_http_info(org_id, opts)
|
3262
3262
|
return data
|
3263
3263
|
end
|
3264
3264
|
|
@@ -3268,13 +3268,13 @@ module PureCloud
|
|
3268
3268
|
# @param [Hash] opts the optional parameters
|
3269
3269
|
# @option opts [Organization] :body Organization
|
3270
3270
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
3271
|
-
def
|
3271
|
+
def update_organizations_org_with_http_info(org_id, opts = {})
|
3272
3272
|
if @api_client.config.debugging
|
3273
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3273
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_organizations_org ..."
|
3274
3274
|
end
|
3275
3275
|
|
3276
3276
|
# verify the required parameter 'org_id' is set
|
3277
|
-
fail "Missing the required parameter 'org_id' when calling
|
3277
|
+
fail "Missing the required parameter 'org_id' when calling update_organizations_org" if org_id.nil?
|
3278
3278
|
|
3279
3279
|
# resource path
|
3280
3280
|
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
|
@@ -3309,7 +3309,7 @@ module PureCloud
|
|
3309
3309
|
:auth_names => auth_names,
|
3310
3310
|
:return_type => 'Organization')
|
3311
3311
|
if @api_client.config.debugging
|
3312
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3312
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_organizations_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3313
3313
|
end
|
3314
3314
|
return data, status_code, headers
|
3315
3315
|
end
|
@@ -3319,8 +3319,8 @@ module PureCloud
|
|
3319
3319
|
# @param org_id Organization ID
|
3320
3320
|
# @param [Hash] opts the optional parameters
|
3321
3321
|
# @return [String]
|
3322
|
-
def
|
3323
|
-
data, status_code, headers =
|
3322
|
+
def delete_organizations_org(org_id, opts = {})
|
3323
|
+
data, status_code, headers = delete_organizations_org_with_http_info(org_id, opts)
|
3324
3324
|
return data
|
3325
3325
|
end
|
3326
3326
|
|
@@ -3329,13 +3329,13 @@ module PureCloud
|
|
3329
3329
|
# @param org_id Organization ID
|
3330
3330
|
# @param [Hash] opts the optional parameters
|
3331
3331
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3332
|
-
def
|
3332
|
+
def delete_organizations_org_with_http_info(org_id, opts = {})
|
3333
3333
|
if @api_client.config.debugging
|
3334
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3334
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_organizations_org ..."
|
3335
3335
|
end
|
3336
3336
|
|
3337
3337
|
# verify the required parameter 'org_id' is set
|
3338
|
-
fail "Missing the required parameter 'org_id' when calling
|
3338
|
+
fail "Missing the required parameter 'org_id' when calling delete_organizations_org" if org_id.nil?
|
3339
3339
|
|
3340
3340
|
# resource path
|
3341
3341
|
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
|
@@ -3370,7 +3370,7 @@ module PureCloud
|
|
3370
3370
|
:auth_names => auth_names,
|
3371
3371
|
:return_type => 'String')
|
3372
3372
|
if @api_client.config.debugging
|
3373
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3373
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_organizations_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3374
3374
|
end
|
3375
3375
|
return data, status_code, headers
|
3376
3376
|
end
|
@@ -3441,8 +3441,8 @@ module PureCloud
|
|
3441
3441
|
#
|
3442
3442
|
# @param [Hash] opts the optional parameters
|
3443
3443
|
# @return [EncryptionKey]
|
3444
|
-
def
|
3445
|
-
data, status_code, headers =
|
3444
|
+
def create_recordingkeys(opts = {})
|
3445
|
+
data, status_code, headers = create_recordingkeys_with_http_info(opts)
|
3446
3446
|
return data
|
3447
3447
|
end
|
3448
3448
|
|
@@ -3450,9 +3450,9 @@ module PureCloud
|
|
3450
3450
|
#
|
3451
3451
|
# @param [Hash] opts the optional parameters
|
3452
3452
|
# @return [Array<(EncryptionKey, Fixnum, Hash)>] EncryptionKey data, response status code and response headers
|
3453
|
-
def
|
3453
|
+
def create_recordingkeys_with_http_info(opts = {})
|
3454
3454
|
if @api_client.config.debugging
|
3455
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3455
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_recordingkeys ..."
|
3456
3456
|
end
|
3457
3457
|
|
3458
3458
|
# resource path
|
@@ -3488,7 +3488,7 @@ module PureCloud
|
|
3488
3488
|
:auth_names => auth_names,
|
3489
3489
|
:return_type => 'EncryptionKey')
|
3490
3490
|
if @api_client.config.debugging
|
3491
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3491
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_recordingkeys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3492
3492
|
end
|
3493
3493
|
return data, status_code, headers
|
3494
3494
|
end
|
@@ -3554,8 +3554,8 @@ module PureCloud
|
|
3554
3554
|
# @param [Hash] opts the optional parameters
|
3555
3555
|
# @option opts [KeyRotationSchedule] :body KeyRotationSchedule
|
3556
3556
|
# @return [KeyRotationSchedule]
|
3557
|
-
def
|
3558
|
-
data, status_code, headers =
|
3557
|
+
def update_recordingkeys_rotationschedule(opts = {})
|
3558
|
+
data, status_code, headers = update_recordingkeys_rotationschedule_with_http_info(opts)
|
3559
3559
|
return data
|
3560
3560
|
end
|
3561
3561
|
|
@@ -3564,9 +3564,9 @@ module PureCloud
|
|
3564
3564
|
# @param [Hash] opts the optional parameters
|
3565
3565
|
# @option opts [KeyRotationSchedule] :body KeyRotationSchedule
|
3566
3566
|
# @return [Array<(KeyRotationSchedule, Fixnum, Hash)>] KeyRotationSchedule data, response status code and response headers
|
3567
|
-
def
|
3567
|
+
def update_recordingkeys_rotationschedule_with_http_info(opts = {})
|
3568
3568
|
if @api_client.config.debugging
|
3569
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3569
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_recordingkeys_rotationschedule ..."
|
3570
3570
|
end
|
3571
3571
|
|
3572
3572
|
# resource path
|
@@ -3602,7 +3602,7 @@ module PureCloud
|
|
3602
3602
|
:auth_names => auth_names,
|
3603
3603
|
:return_type => 'KeyRotationSchedule')
|
3604
3604
|
if @api_client.config.debugging
|
3605
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3605
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_recordingkeys_rotationschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3606
3606
|
end
|
3607
3607
|
return data, status_code, headers
|
3608
3608
|
end
|
@@ -3692,8 +3692,8 @@ module PureCloud
|
|
3692
3692
|
# @param [Hash] opts the optional parameters
|
3693
3693
|
# @option opts [Policy] :body Policy
|
3694
3694
|
# @return [Policy]
|
3695
|
-
def
|
3696
|
-
data, status_code, headers =
|
3695
|
+
def create_retentionpolicies(opts = {})
|
3696
|
+
data, status_code, headers = create_retentionpolicies_with_http_info(opts)
|
3697
3697
|
return data
|
3698
3698
|
end
|
3699
3699
|
|
@@ -3702,9 +3702,9 @@ module PureCloud
|
|
3702
3702
|
# @param [Hash] opts the optional parameters
|
3703
3703
|
# @option opts [Policy] :body Policy
|
3704
3704
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
3705
|
-
def
|
3705
|
+
def create_retentionpolicies_with_http_info(opts = {})
|
3706
3706
|
if @api_client.config.debugging
|
3707
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3707
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_retentionpolicies ..."
|
3708
3708
|
end
|
3709
3709
|
|
3710
3710
|
# resource path
|
@@ -3740,7 +3740,7 @@ module PureCloud
|
|
3740
3740
|
:auth_names => auth_names,
|
3741
3741
|
:return_type => 'Policy')
|
3742
3742
|
if @api_client.config.debugging
|
3743
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3743
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_retentionpolicies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3744
3744
|
end
|
3745
3745
|
return data, status_code, headers
|
3746
3746
|
end
|
@@ -3812,8 +3812,8 @@ module PureCloud
|
|
3812
3812
|
# @param policy_id Policy ID
|
3813
3813
|
# @param [Hash] opts the optional parameters
|
3814
3814
|
# @return [Policy]
|
3815
|
-
def
|
3816
|
-
data, status_code, headers =
|
3815
|
+
def get_retentionpolicies_policy(policy_id, opts = {})
|
3816
|
+
data, status_code, headers = get_retentionpolicies_policy_with_http_info(policy_id, opts)
|
3817
3817
|
return data
|
3818
3818
|
end
|
3819
3819
|
|
@@ -3822,13 +3822,13 @@ module PureCloud
|
|
3822
3822
|
# @param policy_id Policy ID
|
3823
3823
|
# @param [Hash] opts the optional parameters
|
3824
3824
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
3825
|
-
def
|
3825
|
+
def get_retentionpolicies_policy_with_http_info(policy_id, opts = {})
|
3826
3826
|
if @api_client.config.debugging
|
3827
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3827
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_retentionpolicies_policy ..."
|
3828
3828
|
end
|
3829
3829
|
|
3830
3830
|
# verify the required parameter 'policy_id' is set
|
3831
|
-
fail "Missing the required parameter 'policy_id' when calling
|
3831
|
+
fail "Missing the required parameter 'policy_id' when calling get_retentionpolicies_policy" if policy_id.nil?
|
3832
3832
|
|
3833
3833
|
# resource path
|
3834
3834
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -3863,7 +3863,7 @@ module PureCloud
|
|
3863
3863
|
:auth_names => auth_names,
|
3864
3864
|
:return_type => 'Policy')
|
3865
3865
|
if @api_client.config.debugging
|
3866
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3866
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3867
3867
|
end
|
3868
3868
|
return data, status_code, headers
|
3869
3869
|
end
|
@@ -3874,8 +3874,8 @@ module PureCloud
|
|
3874
3874
|
# @param [Hash] opts the optional parameters
|
3875
3875
|
# @option opts [Policy] :body Policy
|
3876
3876
|
# @return [Policy]
|
3877
|
-
def
|
3878
|
-
data, status_code, headers =
|
3877
|
+
def update_retentionpolicies_policy(policy_id, opts = {})
|
3878
|
+
data, status_code, headers = update_retentionpolicies_policy_with_http_info(policy_id, opts)
|
3879
3879
|
return data
|
3880
3880
|
end
|
3881
3881
|
|
@@ -3885,13 +3885,13 @@ module PureCloud
|
|
3885
3885
|
# @param [Hash] opts the optional parameters
|
3886
3886
|
# @option opts [Policy] :body Policy
|
3887
3887
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
3888
|
-
def
|
3888
|
+
def update_retentionpolicies_policy_with_http_info(policy_id, opts = {})
|
3889
3889
|
if @api_client.config.debugging
|
3890
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3890
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_retentionpolicies_policy ..."
|
3891
3891
|
end
|
3892
3892
|
|
3893
3893
|
# verify the required parameter 'policy_id' is set
|
3894
|
-
fail "Missing the required parameter 'policy_id' when calling
|
3894
|
+
fail "Missing the required parameter 'policy_id' when calling update_retentionpolicies_policy" if policy_id.nil?
|
3895
3895
|
|
3896
3896
|
# resource path
|
3897
3897
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -3926,7 +3926,7 @@ module PureCloud
|
|
3926
3926
|
:auth_names => auth_names,
|
3927
3927
|
:return_type => 'Policy')
|
3928
3928
|
if @api_client.config.debugging
|
3929
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3929
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3930
3930
|
end
|
3931
3931
|
return data, status_code, headers
|
3932
3932
|
end
|
@@ -3936,8 +3936,8 @@ module PureCloud
|
|
3936
3936
|
# @param policy_id Policy ID
|
3937
3937
|
# @param [Hash] opts the optional parameters
|
3938
3938
|
# @return [String]
|
3939
|
-
def
|
3940
|
-
data, status_code, headers =
|
3939
|
+
def delete_retentionpolicies_policy(policy_id, opts = {})
|
3940
|
+
data, status_code, headers = delete_retentionpolicies_policy_with_http_info(policy_id, opts)
|
3941
3941
|
return data
|
3942
3942
|
end
|
3943
3943
|
|
@@ -3946,13 +3946,13 @@ module PureCloud
|
|
3946
3946
|
# @param policy_id Policy ID
|
3947
3947
|
# @param [Hash] opts the optional parameters
|
3948
3948
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
3949
|
-
def
|
3949
|
+
def delete_retentionpolicies_policy_with_http_info(policy_id, opts = {})
|
3950
3950
|
if @api_client.config.debugging
|
3951
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
3951
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#delete_retentionpolicies_policy ..."
|
3952
3952
|
end
|
3953
3953
|
|
3954
3954
|
# verify the required parameter 'policy_id' is set
|
3955
|
-
fail "Missing the required parameter 'policy_id' when calling
|
3955
|
+
fail "Missing the required parameter 'policy_id' when calling delete_retentionpolicies_policy" if policy_id.nil?
|
3956
3956
|
|
3957
3957
|
# resource path
|
3958
3958
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -3987,7 +3987,7 @@ module PureCloud
|
|
3987
3987
|
:auth_names => auth_names,
|
3988
3988
|
:return_type => 'String')
|
3989
3989
|
if @api_client.config.debugging
|
3990
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
3990
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#delete_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3991
3991
|
end
|
3992
3992
|
return data, status_code, headers
|
3993
3993
|
end
|
@@ -3998,8 +3998,8 @@ module PureCloud
|
|
3998
3998
|
# @param [Hash] opts the optional parameters
|
3999
3999
|
# @option opts [Policy] :body Policy
|
4000
4000
|
# @return [Policy]
|
4001
|
-
def
|
4002
|
-
data, status_code, headers =
|
4001
|
+
def patch_retentionpolicies_policy(policy_id, opts = {})
|
4002
|
+
data, status_code, headers = patch_retentionpolicies_policy_with_http_info(policy_id, opts)
|
4003
4003
|
return data
|
4004
4004
|
end
|
4005
4005
|
|
@@ -4009,13 +4009,13 @@ module PureCloud
|
|
4009
4009
|
# @param [Hash] opts the optional parameters
|
4010
4010
|
# @option opts [Policy] :body Policy
|
4011
4011
|
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
|
4012
|
-
def
|
4012
|
+
def patch_retentionpolicies_policy_with_http_info(policy_id, opts = {})
|
4013
4013
|
if @api_client.config.debugging
|
4014
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4014
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#patch_retentionpolicies_policy ..."
|
4015
4015
|
end
|
4016
4016
|
|
4017
4017
|
# verify the required parameter 'policy_id' is set
|
4018
|
-
fail "Missing the required parameter 'policy_id' when calling
|
4018
|
+
fail "Missing the required parameter 'policy_id' when calling patch_retentionpolicies_policy" if policy_id.nil?
|
4019
4019
|
|
4020
4020
|
# resource path
|
4021
4021
|
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
@@ -4050,7 +4050,7 @@ module PureCloud
|
|
4050
4050
|
:auth_names => auth_names,
|
4051
4051
|
:return_type => 'Policy')
|
4052
4052
|
if @api_client.config.debugging
|
4053
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4053
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#patch_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4054
4054
|
end
|
4055
4055
|
return data, status_code, headers
|
4056
4056
|
end
|
@@ -4124,8 +4124,8 @@ module PureCloud
|
|
4124
4124
|
# @option opts [Integer] :page_size Page size
|
4125
4125
|
# @option opts [Integer] :page_number Page number
|
4126
4126
|
# @return [SchemaReferenceEntityListing]
|
4127
|
-
def
|
4128
|
-
data, status_code, headers =
|
4127
|
+
def get_schemas_edges_vnext_schema_category(schema_category, opts = {})
|
4128
|
+
data, status_code, headers = get_schemas_edges_vnext_schema_category_with_http_info(schema_category, opts)
|
4129
4129
|
return data
|
4130
4130
|
end
|
4131
4131
|
|
@@ -4136,13 +4136,13 @@ module PureCloud
|
|
4136
4136
|
# @option opts [Integer] :page_size Page size
|
4137
4137
|
# @option opts [Integer] :page_number Page number
|
4138
4138
|
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
|
4139
|
-
def
|
4139
|
+
def get_schemas_edges_vnext_schema_category_with_http_info(schema_category, opts = {})
|
4140
4140
|
if @api_client.config.debugging
|
4141
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4141
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category ..."
|
4142
4142
|
end
|
4143
4143
|
|
4144
4144
|
# verify the required parameter 'schema_category' is set
|
4145
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4145
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category" if schema_category.nil?
|
4146
4146
|
|
4147
4147
|
# resource path
|
4148
4148
|
path = "/api/v1/configuration/schemas/edges/vnext/{schemaCategory}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s)
|
@@ -4179,7 +4179,7 @@ module PureCloud
|
|
4179
4179
|
:auth_names => auth_names,
|
4180
4180
|
:return_type => 'SchemaReferenceEntityListing')
|
4181
4181
|
if @api_client.config.debugging
|
4182
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4182
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4183
4183
|
end
|
4184
4184
|
return data, status_code, headers
|
4185
4185
|
end
|
@@ -4192,8 +4192,8 @@ module PureCloud
|
|
4192
4192
|
# @option opts [Integer] :page_size Page size
|
4193
4193
|
# @option opts [Integer] :page_number Page number
|
4194
4194
|
# @return [SchemaReferenceEntityListing]
|
4195
|
-
def
|
4196
|
-
data, status_code, headers =
|
4195
|
+
def get_schemas_edges_vnext_schema_category_by_schema_type(schema_category, schema_type, opts = {})
|
4196
|
+
data, status_code, headers = get_schemas_edges_vnext_schema_category_by_schema_type_with_http_info(schema_category, schema_type, opts)
|
4197
4197
|
return data
|
4198
4198
|
end
|
4199
4199
|
|
@@ -4205,16 +4205,16 @@ module PureCloud
|
|
4205
4205
|
# @option opts [Integer] :page_size Page size
|
4206
4206
|
# @option opts [Integer] :page_number Page number
|
4207
4207
|
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
|
4208
|
-
def
|
4208
|
+
def get_schemas_edges_vnext_schema_category_by_schema_type_with_http_info(schema_category, schema_type, opts = {})
|
4209
4209
|
if @api_client.config.debugging
|
4210
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4210
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type ..."
|
4211
4211
|
end
|
4212
4212
|
|
4213
4213
|
# verify the required parameter 'schema_category' is set
|
4214
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4214
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category_by_schema_type" if schema_category.nil?
|
4215
4215
|
|
4216
4216
|
# verify the required parameter 'schema_type' is set
|
4217
|
-
fail "Missing the required parameter 'schema_type' when calling
|
4217
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schema_category_by_schema_type" if schema_type.nil?
|
4218
4218
|
|
4219
4219
|
# resource path
|
4220
4220
|
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 +4251,7 @@ module PureCloud
|
|
4251
4251
|
:auth_names => auth_names,
|
4252
4252
|
:return_type => 'SchemaReferenceEntityListing')
|
4253
4253
|
if @api_client.config.debugging
|
4254
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4254
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4255
4255
|
end
|
4256
4256
|
return data, status_code, headers
|
4257
4257
|
end
|
@@ -4263,8 +4263,8 @@ module PureCloud
|
|
4263
4263
|
# @param schema_id Schema ID
|
4264
4264
|
# @param [Hash] opts the optional parameters
|
4265
4265
|
# @return [Organization]
|
4266
|
-
def
|
4267
|
-
data, status_code, headers =
|
4266
|
+
def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id(schema_category, schema_type, schema_id, opts = {})
|
4267
|
+
data, status_code, headers = get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_with_http_info(schema_category, schema_type, schema_id, opts)
|
4268
4268
|
return data
|
4269
4269
|
end
|
4270
4270
|
|
@@ -4275,19 +4275,19 @@ module PureCloud
|
|
4275
4275
|
# @param schema_id Schema ID
|
4276
4276
|
# @param [Hash] opts the optional parameters
|
4277
4277
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
4278
|
-
def
|
4278
|
+
def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_with_http_info(schema_category, schema_type, schema_id, opts = {})
|
4279
4279
|
if @api_client.config.debugging
|
4280
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4280
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id ..."
|
4281
4281
|
end
|
4282
4282
|
|
4283
4283
|
# verify the required parameter 'schema_category' is set
|
4284
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4284
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id" if schema_category.nil?
|
4285
4285
|
|
4286
4286
|
# verify the required parameter 'schema_type' is set
|
4287
|
-
fail "Missing the required parameter 'schema_type' when calling
|
4287
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id" if schema_type.nil?
|
4288
4288
|
|
4289
4289
|
# verify the required parameter 'schema_id' is set
|
4290
|
-
fail "Missing the required parameter 'schema_id' when calling
|
4290
|
+
fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id" if schema_id.nil?
|
4291
4291
|
|
4292
4292
|
# resource path
|
4293
4293
|
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 +4322,7 @@ module PureCloud
|
|
4322
4322
|
:auth_names => auth_names,
|
4323
4323
|
:return_type => 'Organization')
|
4324
4324
|
if @api_client.config.debugging
|
4325
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4325
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4326
4326
|
end
|
4327
4327
|
return data, status_code, headers
|
4328
4328
|
end
|
@@ -4337,8 +4337,8 @@ module PureCloud
|
|
4337
4337
|
# @param [Hash] opts the optional parameters
|
4338
4338
|
# @option opts [String] :type Type
|
4339
4339
|
# @return [Organization]
|
4340
|
-
def
|
4341
|
-
data, status_code, headers =
|
4340
|
+
def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
|
4341
|
+
data, status_code, headers = get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts)
|
4342
4342
|
return data
|
4343
4343
|
end
|
4344
4344
|
|
@@ -4352,25 +4352,25 @@ module PureCloud
|
|
4352
4352
|
# @param [Hash] opts the optional parameters
|
4353
4353
|
# @option opts [String] :type Type
|
4354
4354
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
4355
|
-
def
|
4355
|
+
def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
|
4356
4356
|
if @api_client.config.debugging
|
4357
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4357
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id ..."
|
4358
4358
|
end
|
4359
4359
|
|
4360
4360
|
# verify the required parameter 'schema_category' is set
|
4361
|
-
fail "Missing the required parameter 'schema_category' when calling
|
4361
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if schema_category.nil?
|
4362
4362
|
|
4363
4363
|
# verify the required parameter 'schema_type' is set
|
4364
|
-
fail "Missing the required parameter 'schema_type' when calling
|
4364
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if schema_type.nil?
|
4365
4365
|
|
4366
4366
|
# verify the required parameter 'schema_id' is set
|
4367
|
-
fail "Missing the required parameter 'schema_id' when calling
|
4367
|
+
fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if schema_id.nil?
|
4368
4368
|
|
4369
4369
|
# verify the required parameter 'extension' is set
|
4370
|
-
fail "Missing the required parameter 'extension' when calling
|
4370
|
+
fail "Missing the required parameter 'extension' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if extension.nil?
|
4371
4371
|
|
4372
4372
|
# verify the required parameter 'metadata_id' is set
|
4373
|
-
fail "Missing the required parameter 'metadata_id' when calling
|
4373
|
+
fail "Missing the required parameter 'metadata_id' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if metadata_id.nil?
|
4374
4374
|
|
4375
4375
|
# resource path
|
4376
4376
|
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 +4406,7 @@ module PureCloud
|
|
4406
4406
|
:auth_names => auth_names,
|
4407
4407
|
:return_type => 'Organization')
|
4408
4408
|
if @api_client.config.debugging
|
4409
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4409
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4410
4410
|
end
|
4411
4411
|
return data, status_code, headers
|
4412
4412
|
end
|
@@ -4490,8 +4490,8 @@ module PureCloud
|
|
4490
4490
|
# @param [Hash] opts the optional parameters
|
4491
4491
|
# @option opts [Site] :body Site
|
4492
4492
|
# @return [Site]
|
4493
|
-
def
|
4494
|
-
data, status_code, headers =
|
4493
|
+
def create_sites(opts = {})
|
4494
|
+
data, status_code, headers = create_sites_with_http_info(opts)
|
4495
4495
|
return data
|
4496
4496
|
end
|
4497
4497
|
|
@@ -4500,9 +4500,9 @@ module PureCloud
|
|
4500
4500
|
# @param [Hash] opts the optional parameters
|
4501
4501
|
# @option opts [Site] :body Site
|
4502
4502
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
4503
|
-
def
|
4503
|
+
def create_sites_with_http_info(opts = {})
|
4504
4504
|
if @api_client.config.debugging
|
4505
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4505
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_sites ..."
|
4506
4506
|
end
|
4507
4507
|
|
4508
4508
|
# resource path
|
@@ -4538,7 +4538,7 @@ module PureCloud
|
|
4538
4538
|
:auth_names => auth_names,
|
4539
4539
|
:return_type => 'Site')
|
4540
4540
|
if @api_client.config.debugging
|
4541
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4541
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_sites\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4542
4542
|
end
|
4543
4543
|
return data, status_code, headers
|
4544
4544
|
end
|
@@ -4610,8 +4610,8 @@ module PureCloud
|
|
4610
4610
|
# @param [Hash] opts the optional parameters
|
4611
4611
|
# @option opts [Site] :body Site
|
4612
4612
|
# @return [Site]
|
4613
|
-
def
|
4614
|
-
data, status_code, headers =
|
4613
|
+
def update_site(site_id, opts = {})
|
4614
|
+
data, status_code, headers = update_site_with_http_info(site_id, opts)
|
4615
4615
|
return data
|
4616
4616
|
end
|
4617
4617
|
|
@@ -4621,13 +4621,13 @@ module PureCloud
|
|
4621
4621
|
# @param [Hash] opts the optional parameters
|
4622
4622
|
# @option opts [Site] :body Site
|
4623
4623
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
4624
|
-
def
|
4624
|
+
def update_site_with_http_info(site_id, opts = {})
|
4625
4625
|
if @api_client.config.debugging
|
4626
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4626
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_site ..."
|
4627
4627
|
end
|
4628
4628
|
|
4629
4629
|
# verify the required parameter 'site_id' is set
|
4630
|
-
fail "Missing the required parameter 'site_id' when calling
|
4630
|
+
fail "Missing the required parameter 'site_id' when calling update_site" if site_id.nil?
|
4631
4631
|
|
4632
4632
|
# resource path
|
4633
4633
|
path = "/api/v1/configuration/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4662,7 +4662,7 @@ module PureCloud
|
|
4662
4662
|
:auth_names => auth_names,
|
4663
4663
|
:return_type => 'Site')
|
4664
4664
|
if @api_client.config.debugging
|
4665
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4665
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_site\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4666
4666
|
end
|
4667
4667
|
return data, status_code, headers
|
4668
4668
|
end
|
@@ -4795,8 +4795,8 @@ module PureCloud
|
|
4795
4795
|
# @param [Hash] opts the optional parameters
|
4796
4796
|
# @option opts [Array<NumberPlan>] :body
|
4797
4797
|
# @return [Array<NumberPlan>]
|
4798
|
-
def
|
4799
|
-
data, status_code, headers =
|
4798
|
+
def update_site_numberplans(site_id, opts = {})
|
4799
|
+
data, status_code, headers = update_site_numberplans_with_http_info(site_id, opts)
|
4800
4800
|
return data
|
4801
4801
|
end
|
4802
4802
|
|
@@ -4806,13 +4806,13 @@ module PureCloud
|
|
4806
4806
|
# @param [Hash] opts the optional parameters
|
4807
4807
|
# @option opts [Array<NumberPlan>] :body
|
4808
4808
|
# @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
|
4809
|
-
def
|
4809
|
+
def update_site_numberplans_with_http_info(site_id, opts = {})
|
4810
4810
|
if @api_client.config.debugging
|
4811
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4811
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#update_site_numberplans ..."
|
4812
4812
|
end
|
4813
4813
|
|
4814
4814
|
# verify the required parameter 'site_id' is set
|
4815
|
-
fail "Missing the required parameter 'site_id' when calling
|
4815
|
+
fail "Missing the required parameter 'site_id' when calling update_site_numberplans" if site_id.nil?
|
4816
4816
|
|
4817
4817
|
# resource path
|
4818
4818
|
path = "/api/v1/configuration/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -4847,7 +4847,7 @@ module PureCloud
|
|
4847
4847
|
:auth_names => auth_names,
|
4848
4848
|
:return_type => 'Array<NumberPlan>')
|
4849
4849
|
if @api_client.config.debugging
|
4850
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4850
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#update_site_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4851
4851
|
end
|
4852
4852
|
return data, status_code, headers
|
4853
4853
|
end
|
@@ -4922,8 +4922,8 @@ module PureCloud
|
|
4922
4922
|
# @param number_plan_id Number Plan ID
|
4923
4923
|
# @param [Hash] opts the optional parameters
|
4924
4924
|
# @return [NumberPlan]
|
4925
|
-
def
|
4926
|
-
data, status_code, headers =
|
4925
|
+
def get_site_numberplans_by_number_plan_id(site_id, number_plan_id, opts = {})
|
4926
|
+
data, status_code, headers = get_site_numberplans_by_number_plan_id_with_http_info(site_id, number_plan_id, opts)
|
4927
4927
|
return data
|
4928
4928
|
end
|
4929
4929
|
|
@@ -4933,16 +4933,16 @@ module PureCloud
|
|
4933
4933
|
# @param number_plan_id Number Plan ID
|
4934
4934
|
# @param [Hash] opts the optional parameters
|
4935
4935
|
# @return [Array<(NumberPlan, Fixnum, Hash)>] NumberPlan data, response status code and response headers
|
4936
|
-
def
|
4936
|
+
def get_site_numberplans_by_number_plan_id_with_http_info(site_id, number_plan_id, opts = {})
|
4937
4937
|
if @api_client.config.debugging
|
4938
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
4938
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#get_site_numberplans_by_number_plan_id ..."
|
4939
4939
|
end
|
4940
4940
|
|
4941
4941
|
# verify the required parameter 'site_id' is set
|
4942
|
-
fail "Missing the required parameter 'site_id' when calling
|
4942
|
+
fail "Missing the required parameter 'site_id' when calling get_site_numberplans_by_number_plan_id" if site_id.nil?
|
4943
4943
|
|
4944
4944
|
# verify the required parameter 'number_plan_id' is set
|
4945
|
-
fail "Missing the required parameter 'number_plan_id' when calling
|
4945
|
+
fail "Missing the required parameter 'number_plan_id' when calling get_site_numberplans_by_number_plan_id" if number_plan_id.nil?
|
4946
4946
|
|
4947
4947
|
# resource path
|
4948
4948
|
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 +4977,7 @@ module PureCloud
|
|
4977
4977
|
:auth_names => auth_names,
|
4978
4978
|
:return_type => 'NumberPlan')
|
4979
4979
|
if @api_client.config.debugging
|
4980
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
4980
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#get_site_numberplans_by_number_plan_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4981
4981
|
end
|
4982
4982
|
return data, status_code, headers
|
4983
4983
|
end
|
@@ -4987,8 +4987,8 @@ module PureCloud
|
|
4987
4987
|
# @param site_id Site ID
|
4988
4988
|
# @param [Hash] opts the optional parameters
|
4989
4989
|
# @return [nil]
|
4990
|
-
def
|
4991
|
-
|
4990
|
+
def create_site_rebalance(site_id, opts = {})
|
4991
|
+
create_site_rebalance_with_http_info(site_id, opts)
|
4992
4992
|
return nil
|
4993
4993
|
end
|
4994
4994
|
|
@@ -4997,13 +4997,13 @@ module PureCloud
|
|
4997
4997
|
# @param site_id Site ID
|
4998
4998
|
# @param [Hash] opts the optional parameters
|
4999
4999
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
5000
|
-
def
|
5000
|
+
def create_site_rebalance_with_http_info(site_id, opts = {})
|
5001
5001
|
if @api_client.config.debugging
|
5002
|
-
@api_client.config.logger.debug "Calling API: ConfigurationApi#
|
5002
|
+
@api_client.config.logger.debug "Calling API: ConfigurationApi#create_site_rebalance ..."
|
5003
5003
|
end
|
5004
5004
|
|
5005
5005
|
# verify the required parameter 'site_id' is set
|
5006
|
-
fail "Missing the required parameter 'site_id' when calling
|
5006
|
+
fail "Missing the required parameter 'site_id' when calling create_site_rebalance" if site_id.nil?
|
5007
5007
|
|
5008
5008
|
# resource path
|
5009
5009
|
path = "/api/v1/configuration/sites/{siteId}/rebalance".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
@@ -5037,7 +5037,7 @@ module PureCloud
|
|
5037
5037
|
:body => post_body,
|
5038
5038
|
:auth_names => auth_names)
|
5039
5039
|
if @api_client.config.debugging
|
5040
|
-
@api_client.config.logger.debug "API called: ConfigurationApi#
|
5040
|
+
@api_client.config.logger.debug "API called: ConfigurationApi#create_site_rebalance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5041
5041
|
end
|
5042
5042
|
return data, status_code, headers
|
5043
5043
|
end
|