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
@@ -16,8 +16,8 @@ module PureCloud
|
|
16
16
|
# @option opts [String] :name Name
|
17
17
|
# @option opts [String] :sort_by Sort by
|
18
18
|
# @return [EdgeGroupEntityListing]
|
19
|
-
def
|
20
|
-
data, status_code, headers =
|
19
|
+
def get_providers_edge_edgegroups(opts = {})
|
20
|
+
data, status_code, headers = get_providers_edge_edgegroups_with_http_info(opts)
|
21
21
|
return data
|
22
22
|
end
|
23
23
|
|
@@ -29,9 +29,9 @@ module PureCloud
|
|
29
29
|
# @option opts [String] :name Name
|
30
30
|
# @option opts [String] :sort_by Sort by
|
31
31
|
# @return [Array<(EdgeGroupEntityListing, Fixnum, Hash)>] EdgeGroupEntityListing data, response status code and response headers
|
32
|
-
def
|
32
|
+
def get_providers_edge_edgegroups_with_http_info(opts = {})
|
33
33
|
if @api_client.config.debugging
|
34
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
34
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_edgegroups ..."
|
35
35
|
end
|
36
36
|
|
37
37
|
# resource path
|
@@ -71,7 +71,7 @@ module PureCloud
|
|
71
71
|
:auth_names => auth_names,
|
72
72
|
:return_type => 'EdgeGroupEntityListing')
|
73
73
|
if @api_client.config.debugging
|
74
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
74
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_edgegroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
75
75
|
end
|
76
76
|
return data, status_code, headers
|
77
77
|
end
|
@@ -81,8 +81,8 @@ module PureCloud
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
82
|
# @option opts [EdgeGroup] :body EdgeGroup
|
83
83
|
# @return [EdgeGroup]
|
84
|
-
def
|
85
|
-
data, status_code, headers =
|
84
|
+
def create_providers_edge_edgegroups(opts = {})
|
85
|
+
data, status_code, headers = create_providers_edge_edgegroups_with_http_info(opts)
|
86
86
|
return data
|
87
87
|
end
|
88
88
|
|
@@ -91,9 +91,9 @@ module PureCloud
|
|
91
91
|
# @param [Hash] opts the optional parameters
|
92
92
|
# @option opts [EdgeGroup] :body EdgeGroup
|
93
93
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
94
|
-
def
|
94
|
+
def create_providers_edge_edgegroups_with_http_info(opts = {})
|
95
95
|
if @api_client.config.debugging
|
96
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
96
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#create_providers_edge_edgegroups ..."
|
97
97
|
end
|
98
98
|
|
99
99
|
# resource path
|
@@ -129,7 +129,7 @@ module PureCloud
|
|
129
129
|
:auth_names => auth_names,
|
130
130
|
:return_type => 'EdgeGroup')
|
131
131
|
if @api_client.config.debugging
|
132
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
132
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#create_providers_edge_edgegroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
133
133
|
end
|
134
134
|
return data, status_code, headers
|
135
135
|
end
|
@@ -139,8 +139,8 @@ module PureCloud
|
|
139
139
|
# @param edge_group_id Edge group ID
|
140
140
|
# @param [Hash] opts the optional parameters
|
141
141
|
# @return [EdgeGroup]
|
142
|
-
def
|
143
|
-
data, status_code, headers =
|
142
|
+
def get_providers_edge_edge_group(edge_group_id, opts = {})
|
143
|
+
data, status_code, headers = get_providers_edge_edge_group_with_http_info(edge_group_id, opts)
|
144
144
|
return data
|
145
145
|
end
|
146
146
|
|
@@ -149,13 +149,13 @@ module PureCloud
|
|
149
149
|
# @param edge_group_id Edge group ID
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
152
|
-
def
|
152
|
+
def get_providers_edge_edge_group_with_http_info(edge_group_id, opts = {})
|
153
153
|
if @api_client.config.debugging
|
154
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
154
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_edge_group ..."
|
155
155
|
end
|
156
156
|
|
157
157
|
# verify the required parameter 'edge_group_id' is set
|
158
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
158
|
+
fail "Missing the required parameter 'edge_group_id' when calling get_providers_edge_edge_group" if edge_group_id.nil?
|
159
159
|
|
160
160
|
# resource path
|
161
161
|
path = "/api/v1/telephony/providers/edge/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
@@ -190,7 +190,7 @@ module PureCloud
|
|
190
190
|
:auth_names => auth_names,
|
191
191
|
:return_type => 'EdgeGroup')
|
192
192
|
if @api_client.config.debugging
|
193
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
193
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_edge_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
194
194
|
end
|
195
195
|
return data, status_code, headers
|
196
196
|
end
|
@@ -201,8 +201,8 @@ module PureCloud
|
|
201
201
|
# @param [Hash] opts the optional parameters
|
202
202
|
# @option opts [EdgeGroup] :body EdgeGroup
|
203
203
|
# @return [EdgeGroup]
|
204
|
-
def
|
205
|
-
data, status_code, headers =
|
204
|
+
def update_providers_edge_edge_group(edge_group_id, opts = {})
|
205
|
+
data, status_code, headers = update_providers_edge_edge_group_with_http_info(edge_group_id, opts)
|
206
206
|
return data
|
207
207
|
end
|
208
208
|
|
@@ -212,13 +212,13 @@ module PureCloud
|
|
212
212
|
# @param [Hash] opts the optional parameters
|
213
213
|
# @option opts [EdgeGroup] :body EdgeGroup
|
214
214
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
215
|
-
def
|
215
|
+
def update_providers_edge_edge_group_with_http_info(edge_group_id, opts = {})
|
216
216
|
if @api_client.config.debugging
|
217
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
217
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#update_providers_edge_edge_group ..."
|
218
218
|
end
|
219
219
|
|
220
220
|
# verify the required parameter 'edge_group_id' is set
|
221
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
221
|
+
fail "Missing the required parameter 'edge_group_id' when calling update_providers_edge_edge_group" if edge_group_id.nil?
|
222
222
|
|
223
223
|
# resource path
|
224
224
|
path = "/api/v1/telephony/providers/edge/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
@@ -253,7 +253,7 @@ module PureCloud
|
|
253
253
|
:auth_names => auth_names,
|
254
254
|
:return_type => 'EdgeGroup')
|
255
255
|
if @api_client.config.debugging
|
256
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
256
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#update_providers_edge_edge_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
257
257
|
end
|
258
258
|
return data, status_code, headers
|
259
259
|
end
|
@@ -263,8 +263,8 @@ module PureCloud
|
|
263
263
|
# @param edge_group_id Edge group ID
|
264
264
|
# @param [Hash] opts the optional parameters
|
265
265
|
# @return [String]
|
266
|
-
def
|
267
|
-
data, status_code, headers =
|
266
|
+
def delete_providers_edge_edge_group(edge_group_id, opts = {})
|
267
|
+
data, status_code, headers = delete_providers_edge_edge_group_with_http_info(edge_group_id, opts)
|
268
268
|
return data
|
269
269
|
end
|
270
270
|
|
@@ -273,13 +273,13 @@ module PureCloud
|
|
273
273
|
# @param edge_group_id Edge group ID
|
274
274
|
# @param [Hash] opts the optional parameters
|
275
275
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
276
|
-
def
|
276
|
+
def delete_providers_edge_edge_group_with_http_info(edge_group_id, opts = {})
|
277
277
|
if @api_client.config.debugging
|
278
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
278
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_edge_group ..."
|
279
279
|
end
|
280
280
|
|
281
281
|
# verify the required parameter 'edge_group_id' is set
|
282
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
282
|
+
fail "Missing the required parameter 'edge_group_id' when calling delete_providers_edge_edge_group" if edge_group_id.nil?
|
283
283
|
|
284
284
|
# resource path
|
285
285
|
path = "/api/v1/telephony/providers/edge/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
@@ -314,7 +314,7 @@ module PureCloud
|
|
314
314
|
:auth_names => auth_names,
|
315
315
|
:return_type => 'String')
|
316
316
|
if @api_client.config.debugging
|
317
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
317
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_edge_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
318
318
|
end
|
319
319
|
return data, status_code, headers
|
320
320
|
end
|
@@ -327,8 +327,8 @@ module PureCloud
|
|
327
327
|
# @option opts [String] :sort_by Value by which to sort
|
328
328
|
# @option opts [String] :sort_order Sort order
|
329
329
|
# @return [LineBaseEntityListing]
|
330
|
-
def
|
331
|
-
data, status_code, headers =
|
330
|
+
def get_providers_edge_linebasesettings(opts = {})
|
331
|
+
data, status_code, headers = get_providers_edge_linebasesettings_with_http_info(opts)
|
332
332
|
return data
|
333
333
|
end
|
334
334
|
|
@@ -340,9 +340,9 @@ module PureCloud
|
|
340
340
|
# @option opts [String] :sort_by Value by which to sort
|
341
341
|
# @option opts [String] :sort_order Sort order
|
342
342
|
# @return [Array<(LineBaseEntityListing, Fixnum, Hash)>] LineBaseEntityListing data, response status code and response headers
|
343
|
-
def
|
343
|
+
def get_providers_edge_linebasesettings_with_http_info(opts = {})
|
344
344
|
if @api_client.config.debugging
|
345
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
345
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_linebasesettings ..."
|
346
346
|
end
|
347
347
|
|
348
348
|
# resource path
|
@@ -382,7 +382,7 @@ module PureCloud
|
|
382
382
|
:auth_names => auth_names,
|
383
383
|
:return_type => 'LineBaseEntityListing')
|
384
384
|
if @api_client.config.debugging
|
385
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
385
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_linebasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
386
386
|
end
|
387
387
|
return data, status_code, headers
|
388
388
|
end
|
@@ -392,8 +392,8 @@ module PureCloud
|
|
392
392
|
# @param line_base_id Line base ID
|
393
393
|
# @param [Hash] opts the optional parameters
|
394
394
|
# @return [LineBase]
|
395
|
-
def
|
396
|
-
data, status_code, headers =
|
395
|
+
def get_providers_edge_linebasesettings_line_base(line_base_id, opts = {})
|
396
|
+
data, status_code, headers = get_providers_edge_linebasesettings_line_base_with_http_info(line_base_id, opts)
|
397
397
|
return data
|
398
398
|
end
|
399
399
|
|
@@ -402,13 +402,13 @@ module PureCloud
|
|
402
402
|
# @param line_base_id Line base ID
|
403
403
|
# @param [Hash] opts the optional parameters
|
404
404
|
# @return [Array<(LineBase, Fixnum, Hash)>] LineBase data, response status code and response headers
|
405
|
-
def
|
405
|
+
def get_providers_edge_linebasesettings_line_base_with_http_info(line_base_id, opts = {})
|
406
406
|
if @api_client.config.debugging
|
407
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
407
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_linebasesettings_line_base ..."
|
408
408
|
end
|
409
409
|
|
410
410
|
# verify the required parameter 'line_base_id' is set
|
411
|
-
fail "Missing the required parameter 'line_base_id' when calling
|
411
|
+
fail "Missing the required parameter 'line_base_id' when calling get_providers_edge_linebasesettings_line_base" if line_base_id.nil?
|
412
412
|
|
413
413
|
# resource path
|
414
414
|
path = "/api/v1/telephony/providers/edge/linebasesettings/{lineBaseId}".sub('{format}','json').sub('{' + 'lineBaseId' + '}', line_base_id.to_s)
|
@@ -443,7 +443,7 @@ module PureCloud
|
|
443
443
|
:auth_names => auth_names,
|
444
444
|
:return_type => 'LineBase')
|
445
445
|
if @api_client.config.debugging
|
446
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
446
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_linebasesettings_line_base\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
447
447
|
end
|
448
448
|
return data, status_code, headers
|
449
449
|
end
|
@@ -457,8 +457,8 @@ module PureCloud
|
|
457
457
|
# @option opts [String] :sort_by Value by which to sort
|
458
458
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
459
459
|
# @return [LineEntityListing]
|
460
|
-
def
|
461
|
-
data, status_code, headers =
|
460
|
+
def get_providers_edge_lines(opts = {})
|
461
|
+
data, status_code, headers = get_providers_edge_lines_with_http_info(opts)
|
462
462
|
return data
|
463
463
|
end
|
464
464
|
|
@@ -471,9 +471,9 @@ module PureCloud
|
|
471
471
|
# @option opts [String] :sort_by Value by which to sort
|
472
472
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
473
473
|
# @return [Array<(LineEntityListing, Fixnum, Hash)>] LineEntityListing data, response status code and response headers
|
474
|
-
def
|
474
|
+
def get_providers_edge_lines_with_http_info(opts = {})
|
475
475
|
if @api_client.config.debugging
|
476
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
476
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_lines ..."
|
477
477
|
end
|
478
478
|
|
479
479
|
# resource path
|
@@ -514,7 +514,7 @@ module PureCloud
|
|
514
514
|
:auth_names => auth_names,
|
515
515
|
:return_type => 'LineEntityListing')
|
516
516
|
if @api_client.config.debugging
|
517
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
517
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
518
518
|
end
|
519
519
|
return data, status_code, headers
|
520
520
|
end
|
@@ -524,8 +524,8 @@ module PureCloud
|
|
524
524
|
# @param line_base_settings_id The id of a Line Base Settings object upon which to base this Line
|
525
525
|
# @param [Hash] opts the optional parameters
|
526
526
|
# @return [Line]
|
527
|
-
def
|
528
|
-
data, status_code, headers =
|
527
|
+
def get_providers_edge_lines_template(line_base_settings_id, opts = {})
|
528
|
+
data, status_code, headers = get_providers_edge_lines_template_with_http_info(line_base_settings_id, opts)
|
529
529
|
return data
|
530
530
|
end
|
531
531
|
|
@@ -534,13 +534,13 @@ module PureCloud
|
|
534
534
|
# @param line_base_settings_id The id of a Line Base Settings object upon which to base this Line
|
535
535
|
# @param [Hash] opts the optional parameters
|
536
536
|
# @return [Array<(Line, Fixnum, Hash)>] Line data, response status code and response headers
|
537
|
-
def
|
537
|
+
def get_providers_edge_lines_template_with_http_info(line_base_settings_id, opts = {})
|
538
538
|
if @api_client.config.debugging
|
539
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
539
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_lines_template ..."
|
540
540
|
end
|
541
541
|
|
542
542
|
# verify the required parameter 'line_base_settings_id' is set
|
543
|
-
fail "Missing the required parameter 'line_base_settings_id' when calling
|
543
|
+
fail "Missing the required parameter 'line_base_settings_id' when calling get_providers_edge_lines_template" if line_base_settings_id.nil?
|
544
544
|
|
545
545
|
# resource path
|
546
546
|
path = "/api/v1/telephony/providers/edge/lines/template".sub('{format}','json')
|
@@ -576,7 +576,7 @@ module PureCloud
|
|
576
576
|
:auth_names => auth_names,
|
577
577
|
:return_type => 'Line')
|
578
578
|
if @api_client.config.debugging
|
579
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
579
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_lines_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
580
580
|
end
|
581
581
|
return data, status_code, headers
|
582
582
|
end
|
@@ -586,8 +586,8 @@ module PureCloud
|
|
586
586
|
# @param line_id Line ID
|
587
587
|
# @param [Hash] opts the optional parameters
|
588
588
|
# @return [Line]
|
589
|
-
def
|
590
|
-
data, status_code, headers =
|
589
|
+
def get_providers_edge_line(line_id, opts = {})
|
590
|
+
data, status_code, headers = get_providers_edge_line_with_http_info(line_id, opts)
|
591
591
|
return data
|
592
592
|
end
|
593
593
|
|
@@ -596,13 +596,13 @@ module PureCloud
|
|
596
596
|
# @param line_id Line ID
|
597
597
|
# @param [Hash] opts the optional parameters
|
598
598
|
# @return [Array<(Line, Fixnum, Hash)>] Line data, response status code and response headers
|
599
|
-
def
|
599
|
+
def get_providers_edge_line_with_http_info(line_id, opts = {})
|
600
600
|
if @api_client.config.debugging
|
601
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
601
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_line ..."
|
602
602
|
end
|
603
603
|
|
604
604
|
# verify the required parameter 'line_id' is set
|
605
|
-
fail "Missing the required parameter 'line_id' when calling
|
605
|
+
fail "Missing the required parameter 'line_id' when calling get_providers_edge_line" if line_id.nil?
|
606
606
|
|
607
607
|
# resource path
|
608
608
|
path = "/api/v1/telephony/providers/edge/lines/{lineId}".sub('{format}','json').sub('{' + 'lineId' + '}', line_id.to_s)
|
@@ -637,7 +637,7 @@ module PureCloud
|
|
637
637
|
:auth_names => auth_names,
|
638
638
|
:return_type => 'Line')
|
639
639
|
if @api_client.config.debugging
|
640
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
640
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_line\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
641
641
|
end
|
642
642
|
return data, status_code, headers
|
643
643
|
end
|
@@ -651,8 +651,8 @@ module PureCloud
|
|
651
651
|
# @option opts [String] :site_id Filter by site.id
|
652
652
|
# @option opts [String] :sort_by Sort by
|
653
653
|
# @return [OutboundRouteEntityListing]
|
654
|
-
def
|
655
|
-
data, status_code, headers =
|
654
|
+
def get_providers_edge_outboundroutes(opts = {})
|
655
|
+
data, status_code, headers = get_providers_edge_outboundroutes_with_http_info(opts)
|
656
656
|
return data
|
657
657
|
end
|
658
658
|
|
@@ -665,9 +665,9 @@ module PureCloud
|
|
665
665
|
# @option opts [String] :site_id Filter by site.id
|
666
666
|
# @option opts [String] :sort_by Sort by
|
667
667
|
# @return [Array<(OutboundRouteEntityListing, Fixnum, Hash)>] OutboundRouteEntityListing data, response status code and response headers
|
668
|
-
def
|
668
|
+
def get_providers_edge_outboundroutes_with_http_info(opts = {})
|
669
669
|
if @api_client.config.debugging
|
670
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
670
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_outboundroutes ..."
|
671
671
|
end
|
672
672
|
|
673
673
|
# resource path
|
@@ -708,7 +708,7 @@ module PureCloud
|
|
708
708
|
:auth_names => auth_names,
|
709
709
|
:return_type => 'OutboundRouteEntityListing')
|
710
710
|
if @api_client.config.debugging
|
711
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
711
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_outboundroutes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
712
712
|
end
|
713
713
|
return data, status_code, headers
|
714
714
|
end
|
@@ -718,8 +718,8 @@ module PureCloud
|
|
718
718
|
# @param [Hash] opts the optional parameters
|
719
719
|
# @option opts [OutboundRoute] :body OutboundRoute
|
720
720
|
# @return [OutboundRoute]
|
721
|
-
def
|
722
|
-
data, status_code, headers =
|
721
|
+
def create_providers_edge_outboundroutes(opts = {})
|
722
|
+
data, status_code, headers = create_providers_edge_outboundroutes_with_http_info(opts)
|
723
723
|
return data
|
724
724
|
end
|
725
725
|
|
@@ -728,9 +728,9 @@ module PureCloud
|
|
728
728
|
# @param [Hash] opts the optional parameters
|
729
729
|
# @option opts [OutboundRoute] :body OutboundRoute
|
730
730
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
731
|
-
def
|
731
|
+
def create_providers_edge_outboundroutes_with_http_info(opts = {})
|
732
732
|
if @api_client.config.debugging
|
733
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
733
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#create_providers_edge_outboundroutes ..."
|
734
734
|
end
|
735
735
|
|
736
736
|
# resource path
|
@@ -766,7 +766,7 @@ module PureCloud
|
|
766
766
|
:auth_names => auth_names,
|
767
767
|
:return_type => 'OutboundRoute')
|
768
768
|
if @api_client.config.debugging
|
769
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
769
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#create_providers_edge_outboundroutes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
770
770
|
end
|
771
771
|
return data, status_code, headers
|
772
772
|
end
|
@@ -776,8 +776,8 @@ module PureCloud
|
|
776
776
|
# @param outbound_route_id Outbound route ID
|
777
777
|
# @param [Hash] opts the optional parameters
|
778
778
|
# @return [OutboundRoute]
|
779
|
-
def
|
780
|
-
data, status_code, headers =
|
779
|
+
def get_providers_edge_outbound_route(outbound_route_id, opts = {})
|
780
|
+
data, status_code, headers = get_providers_edge_outbound_route_with_http_info(outbound_route_id, opts)
|
781
781
|
return data
|
782
782
|
end
|
783
783
|
|
@@ -786,13 +786,13 @@ module PureCloud
|
|
786
786
|
# @param outbound_route_id Outbound route ID
|
787
787
|
# @param [Hash] opts the optional parameters
|
788
788
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
789
|
-
def
|
789
|
+
def get_providers_edge_outbound_route_with_http_info(outbound_route_id, opts = {})
|
790
790
|
if @api_client.config.debugging
|
791
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
791
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_outbound_route ..."
|
792
792
|
end
|
793
793
|
|
794
794
|
# verify the required parameter 'outbound_route_id' is set
|
795
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
795
|
+
fail "Missing the required parameter 'outbound_route_id' when calling get_providers_edge_outbound_route" if outbound_route_id.nil?
|
796
796
|
|
797
797
|
# resource path
|
798
798
|
path = "/api/v1/telephony/providers/edge/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
@@ -827,7 +827,7 @@ module PureCloud
|
|
827
827
|
:auth_names => auth_names,
|
828
828
|
:return_type => 'OutboundRoute')
|
829
829
|
if @api_client.config.debugging
|
830
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
830
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_outbound_route\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
831
831
|
end
|
832
832
|
return data, status_code, headers
|
833
833
|
end
|
@@ -838,8 +838,8 @@ module PureCloud
|
|
838
838
|
# @param [Hash] opts the optional parameters
|
839
839
|
# @option opts [OutboundRoute] :body OutboundRoute
|
840
840
|
# @return [OutboundRoute]
|
841
|
-
def
|
842
|
-
data, status_code, headers =
|
841
|
+
def update_providers_edge_outbound_route(outbound_route_id, opts = {})
|
842
|
+
data, status_code, headers = update_providers_edge_outbound_route_with_http_info(outbound_route_id, opts)
|
843
843
|
return data
|
844
844
|
end
|
845
845
|
|
@@ -849,13 +849,13 @@ module PureCloud
|
|
849
849
|
# @param [Hash] opts the optional parameters
|
850
850
|
# @option opts [OutboundRoute] :body OutboundRoute
|
851
851
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
852
|
-
def
|
852
|
+
def update_providers_edge_outbound_route_with_http_info(outbound_route_id, opts = {})
|
853
853
|
if @api_client.config.debugging
|
854
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
854
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#update_providers_edge_outbound_route ..."
|
855
855
|
end
|
856
856
|
|
857
857
|
# verify the required parameter 'outbound_route_id' is set
|
858
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
858
|
+
fail "Missing the required parameter 'outbound_route_id' when calling update_providers_edge_outbound_route" if outbound_route_id.nil?
|
859
859
|
|
860
860
|
# resource path
|
861
861
|
path = "/api/v1/telephony/providers/edge/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
@@ -890,7 +890,7 @@ module PureCloud
|
|
890
890
|
:auth_names => auth_names,
|
891
891
|
:return_type => 'OutboundRoute')
|
892
892
|
if @api_client.config.debugging
|
893
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
893
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#update_providers_edge_outbound_route\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
894
894
|
end
|
895
895
|
return data, status_code, headers
|
896
896
|
end
|
@@ -900,8 +900,8 @@ module PureCloud
|
|
900
900
|
# @param outbound_route_id Outbound route ID
|
901
901
|
# @param [Hash] opts the optional parameters
|
902
902
|
# @return [String]
|
903
|
-
def
|
904
|
-
data, status_code, headers =
|
903
|
+
def delete_providers_edge_outbound_route(outbound_route_id, opts = {})
|
904
|
+
data, status_code, headers = delete_providers_edge_outbound_route_with_http_info(outbound_route_id, opts)
|
905
905
|
return data
|
906
906
|
end
|
907
907
|
|
@@ -910,13 +910,13 @@ module PureCloud
|
|
910
910
|
# @param outbound_route_id Outbound route ID
|
911
911
|
# @param [Hash] opts the optional parameters
|
912
912
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
913
|
-
def
|
913
|
+
def delete_providers_edge_outbound_route_with_http_info(outbound_route_id, opts = {})
|
914
914
|
if @api_client.config.debugging
|
915
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
915
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_outbound_route ..."
|
916
916
|
end
|
917
917
|
|
918
918
|
# verify the required parameter 'outbound_route_id' is set
|
919
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
919
|
+
fail "Missing the required parameter 'outbound_route_id' when calling delete_providers_edge_outbound_route" if outbound_route_id.nil?
|
920
920
|
|
921
921
|
# resource path
|
922
922
|
path = "/api/v1/telephony/providers/edge/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
@@ -951,7 +951,7 @@ module PureCloud
|
|
951
951
|
:auth_names => auth_names,
|
952
952
|
:return_type => 'String')
|
953
953
|
if @api_client.config.debugging
|
954
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
954
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_outbound_route\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
955
955
|
end
|
956
956
|
return data, status_code, headers
|
957
957
|
end
|
@@ -964,8 +964,8 @@ module PureCloud
|
|
964
964
|
# @option opts [String] :sort_by Value by which to sort
|
965
965
|
# @option opts [String] :sort_order Sort order
|
966
966
|
# @return [PhoneBaseEntityListing]
|
967
|
-
def
|
968
|
-
data, status_code, headers =
|
967
|
+
def get_providers_edge_phonebasesettings(opts = {})
|
968
|
+
data, status_code, headers = get_providers_edge_phonebasesettings_with_http_info(opts)
|
969
969
|
return data
|
970
970
|
end
|
971
971
|
|
@@ -977,9 +977,9 @@ module PureCloud
|
|
977
977
|
# @option opts [String] :sort_by Value by which to sort
|
978
978
|
# @option opts [String] :sort_order Sort order
|
979
979
|
# @return [Array<(PhoneBaseEntityListing, Fixnum, Hash)>] PhoneBaseEntityListing data, response status code and response headers
|
980
|
-
def
|
980
|
+
def get_providers_edge_phonebasesettings_with_http_info(opts = {})
|
981
981
|
if @api_client.config.debugging
|
982
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
982
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings ..."
|
983
983
|
end
|
984
984
|
|
985
985
|
# resource path
|
@@ -1019,7 +1019,7 @@ module PureCloud
|
|
1019
1019
|
:auth_names => auth_names,
|
1020
1020
|
:return_type => 'PhoneBaseEntityListing')
|
1021
1021
|
if @api_client.config.debugging
|
1022
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1022
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1023
1023
|
end
|
1024
1024
|
return data, status_code, headers
|
1025
1025
|
end
|
@@ -1029,8 +1029,8 @@ module PureCloud
|
|
1029
1029
|
# @param [Hash] opts the optional parameters
|
1030
1030
|
# @option opts [PhoneBase] :body
|
1031
1031
|
# @return [PhoneBase]
|
1032
|
-
def
|
1033
|
-
data, status_code, headers =
|
1032
|
+
def create_providers_edge_phonebasesettings(opts = {})
|
1033
|
+
data, status_code, headers = create_providers_edge_phonebasesettings_with_http_info(opts)
|
1034
1034
|
return data
|
1035
1035
|
end
|
1036
1036
|
|
@@ -1039,9 +1039,9 @@ module PureCloud
|
|
1039
1039
|
# @param [Hash] opts the optional parameters
|
1040
1040
|
# @option opts [PhoneBase] :body
|
1041
1041
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
1042
|
-
def
|
1042
|
+
def create_providers_edge_phonebasesettings_with_http_info(opts = {})
|
1043
1043
|
if @api_client.config.debugging
|
1044
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1044
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#create_providers_edge_phonebasesettings ..."
|
1045
1045
|
end
|
1046
1046
|
|
1047
1047
|
# resource path
|
@@ -1077,7 +1077,7 @@ module PureCloud
|
|
1077
1077
|
:auth_names => auth_names,
|
1078
1078
|
:return_type => 'PhoneBase')
|
1079
1079
|
if @api_client.config.debugging
|
1080
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1080
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#create_providers_edge_phonebasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1081
1081
|
end
|
1082
1082
|
return data, status_code, headers
|
1083
1083
|
end
|
@@ -1088,8 +1088,8 @@ module PureCloud
|
|
1088
1088
|
# @option opts [Integer] :page_size Page size
|
1089
1089
|
# @option opts [Integer] :page_number Page number
|
1090
1090
|
# @return [PhoneMetaBaseEntityListing]
|
1091
|
-
def
|
1092
|
-
data, status_code, headers =
|
1091
|
+
def get_providers_edge_phonebasesettings_availablemetabases(opts = {})
|
1092
|
+
data, status_code, headers = get_providers_edge_phonebasesettings_availablemetabases_with_http_info(opts)
|
1093
1093
|
return data
|
1094
1094
|
end
|
1095
1095
|
|
@@ -1099,9 +1099,9 @@ module PureCloud
|
|
1099
1099
|
# @option opts [Integer] :page_size Page size
|
1100
1100
|
# @option opts [Integer] :page_number Page number
|
1101
1101
|
# @return [Array<(PhoneMetaBaseEntityListing, Fixnum, Hash)>] PhoneMetaBaseEntityListing data, response status code and response headers
|
1102
|
-
def
|
1102
|
+
def get_providers_edge_phonebasesettings_availablemetabases_with_http_info(opts = {})
|
1103
1103
|
if @api_client.config.debugging
|
1104
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1104
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_availablemetabases ..."
|
1105
1105
|
end
|
1106
1106
|
|
1107
1107
|
# resource path
|
@@ -1139,7 +1139,7 @@ module PureCloud
|
|
1139
1139
|
:auth_names => auth_names,
|
1140
1140
|
:return_type => 'PhoneMetaBaseEntityListing')
|
1141
1141
|
if @api_client.config.debugging
|
1142
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1142
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_availablemetabases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1143
1143
|
end
|
1144
1144
|
return data, status_code, headers
|
1145
1145
|
end
|
@@ -1149,8 +1149,8 @@ module PureCloud
|
|
1149
1149
|
# @param phone_metabase_id The id of a metabase object upon which to base this Phone Base Settings
|
1150
1150
|
# @param [Hash] opts the optional parameters
|
1151
1151
|
# @return [PhoneBase]
|
1152
|
-
def
|
1153
|
-
data, status_code, headers =
|
1152
|
+
def get_providers_edge_phonebasesettings_template(phone_metabase_id, opts = {})
|
1153
|
+
data, status_code, headers = get_providers_edge_phonebasesettings_template_with_http_info(phone_metabase_id, opts)
|
1154
1154
|
return data
|
1155
1155
|
end
|
1156
1156
|
|
@@ -1159,13 +1159,13 @@ module PureCloud
|
|
1159
1159
|
# @param phone_metabase_id The id of a metabase object upon which to base this Phone Base Settings
|
1160
1160
|
# @param [Hash] opts the optional parameters
|
1161
1161
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
1162
|
-
def
|
1162
|
+
def get_providers_edge_phonebasesettings_template_with_http_info(phone_metabase_id, opts = {})
|
1163
1163
|
if @api_client.config.debugging
|
1164
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1164
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_template ..."
|
1165
1165
|
end
|
1166
1166
|
|
1167
1167
|
# verify the required parameter 'phone_metabase_id' is set
|
1168
|
-
fail "Missing the required parameter 'phone_metabase_id' when calling
|
1168
|
+
fail "Missing the required parameter 'phone_metabase_id' when calling get_providers_edge_phonebasesettings_template" if phone_metabase_id.nil?
|
1169
1169
|
|
1170
1170
|
# resource path
|
1171
1171
|
path = "/api/v1/telephony/providers/edge/phonebasesettings/template".sub('{format}','json')
|
@@ -1201,7 +1201,7 @@ module PureCloud
|
|
1201
1201
|
:auth_names => auth_names,
|
1202
1202
|
:return_type => 'PhoneBase')
|
1203
1203
|
if @api_client.config.debugging
|
1204
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1204
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1205
1205
|
end
|
1206
1206
|
return data, status_code, headers
|
1207
1207
|
end
|
@@ -1211,8 +1211,8 @@ module PureCloud
|
|
1211
1211
|
# @param phone_base_id Phone base ID
|
1212
1212
|
# @param [Hash] opts the optional parameters
|
1213
1213
|
# @return [PhoneBase]
|
1214
|
-
def
|
1215
|
-
data, status_code, headers =
|
1214
|
+
def get_providers_edge_phonebasesettings_phone_base(phone_base_id, opts = {})
|
1215
|
+
data, status_code, headers = get_providers_edge_phonebasesettings_phone_base_with_http_info(phone_base_id, opts)
|
1216
1216
|
return data
|
1217
1217
|
end
|
1218
1218
|
|
@@ -1221,13 +1221,13 @@ module PureCloud
|
|
1221
1221
|
# @param phone_base_id Phone base ID
|
1222
1222
|
# @param [Hash] opts the optional parameters
|
1223
1223
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
1224
|
-
def
|
1224
|
+
def get_providers_edge_phonebasesettings_phone_base_with_http_info(phone_base_id, opts = {})
|
1225
1225
|
if @api_client.config.debugging
|
1226
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1226
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_phone_base ..."
|
1227
1227
|
end
|
1228
1228
|
|
1229
1229
|
# verify the required parameter 'phone_base_id' is set
|
1230
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
1230
|
+
fail "Missing the required parameter 'phone_base_id' when calling get_providers_edge_phonebasesettings_phone_base" if phone_base_id.nil?
|
1231
1231
|
|
1232
1232
|
# resource path
|
1233
1233
|
path = "/api/v1/telephony/providers/edge/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
@@ -1262,7 +1262,7 @@ module PureCloud
|
|
1262
1262
|
:auth_names => auth_names,
|
1263
1263
|
:return_type => 'PhoneBase')
|
1264
1264
|
if @api_client.config.debugging
|
1265
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1265
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_phone_base\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1266
1266
|
end
|
1267
1267
|
return data, status_code, headers
|
1268
1268
|
end
|
@@ -1273,8 +1273,8 @@ module PureCloud
|
|
1273
1273
|
# @param [Hash] opts the optional parameters
|
1274
1274
|
# @option opts [PhoneBase] :body
|
1275
1275
|
# @return [PhoneBase]
|
1276
|
-
def
|
1277
|
-
data, status_code, headers =
|
1276
|
+
def update_providers_edge_phonebasesettings_phone_base(phone_base_id, opts = {})
|
1277
|
+
data, status_code, headers = update_providers_edge_phonebasesettings_phone_base_with_http_info(phone_base_id, opts)
|
1278
1278
|
return data
|
1279
1279
|
end
|
1280
1280
|
|
@@ -1284,13 +1284,13 @@ module PureCloud
|
|
1284
1284
|
# @param [Hash] opts the optional parameters
|
1285
1285
|
# @option opts [PhoneBase] :body
|
1286
1286
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
1287
|
-
def
|
1287
|
+
def update_providers_edge_phonebasesettings_phone_base_with_http_info(phone_base_id, opts = {})
|
1288
1288
|
if @api_client.config.debugging
|
1289
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1289
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#update_providers_edge_phonebasesettings_phone_base ..."
|
1290
1290
|
end
|
1291
1291
|
|
1292
1292
|
# verify the required parameter 'phone_base_id' is set
|
1293
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
1293
|
+
fail "Missing the required parameter 'phone_base_id' when calling update_providers_edge_phonebasesettings_phone_base" if phone_base_id.nil?
|
1294
1294
|
|
1295
1295
|
# resource path
|
1296
1296
|
path = "/api/v1/telephony/providers/edge/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
@@ -1325,7 +1325,7 @@ module PureCloud
|
|
1325
1325
|
:auth_names => auth_names,
|
1326
1326
|
:return_type => 'PhoneBase')
|
1327
1327
|
if @api_client.config.debugging
|
1328
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1328
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#update_providers_edge_phonebasesettings_phone_base\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1329
1329
|
end
|
1330
1330
|
return data, status_code, headers
|
1331
1331
|
end
|
@@ -1335,8 +1335,8 @@ module PureCloud
|
|
1335
1335
|
# @param phone_base_id Phone base ID
|
1336
1336
|
# @param [Hash] opts the optional parameters
|
1337
1337
|
# @return [String]
|
1338
|
-
def
|
1339
|
-
data, status_code, headers =
|
1338
|
+
def delete_providers_edge_phonebasesettings_phone_base(phone_base_id, opts = {})
|
1339
|
+
data, status_code, headers = delete_providers_edge_phonebasesettings_phone_base_with_http_info(phone_base_id, opts)
|
1340
1340
|
return data
|
1341
1341
|
end
|
1342
1342
|
|
@@ -1345,13 +1345,13 @@ module PureCloud
|
|
1345
1345
|
# @param phone_base_id Phone base ID
|
1346
1346
|
# @param [Hash] opts the optional parameters
|
1347
1347
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1348
|
-
def
|
1348
|
+
def delete_providers_edge_phonebasesettings_phone_base_with_http_info(phone_base_id, opts = {})
|
1349
1349
|
if @api_client.config.debugging
|
1350
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1350
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_phonebasesettings_phone_base ..."
|
1351
1351
|
end
|
1352
1352
|
|
1353
1353
|
# verify the required parameter 'phone_base_id' is set
|
1354
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
1354
|
+
fail "Missing the required parameter 'phone_base_id' when calling delete_providers_edge_phonebasesettings_phone_base" if phone_base_id.nil?
|
1355
1355
|
|
1356
1356
|
# resource path
|
1357
1357
|
path = "/api/v1/telephony/providers/edge/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
@@ -1386,7 +1386,7 @@ module PureCloud
|
|
1386
1386
|
:auth_names => auth_names,
|
1387
1387
|
:return_type => 'String')
|
1388
1388
|
if @api_client.config.debugging
|
1389
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1389
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_phonebasesettings_phone_base\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1390
1390
|
end
|
1391
1391
|
return data, status_code, headers
|
1392
1392
|
end
|
@@ -1404,8 +1404,8 @@ module PureCloud
|
|
1404
1404
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
1405
1405
|
# @option opts [Array<String>] :fields Fields under properties to get, comma-separated
|
1406
1406
|
# @return [PhoneEntityListing]
|
1407
|
-
def
|
1408
|
-
data, status_code, headers =
|
1407
|
+
def get_providers_edge_phones(opts = {})
|
1408
|
+
data, status_code, headers = get_providers_edge_phones_with_http_info(opts)
|
1409
1409
|
return data
|
1410
1410
|
end
|
1411
1411
|
|
@@ -1422,9 +1422,9 @@ module PureCloud
|
|
1422
1422
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
1423
1423
|
# @option opts [Array<String>] :fields Fields under properties to get, comma-separated
|
1424
1424
|
# @return [Array<(PhoneEntityListing, Fixnum, Hash)>] PhoneEntityListing data, response status code and response headers
|
1425
|
-
def
|
1425
|
+
def get_providers_edge_phones_with_http_info(opts = {})
|
1426
1426
|
if @api_client.config.debugging
|
1427
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1427
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phones ..."
|
1428
1428
|
end
|
1429
1429
|
|
1430
1430
|
# resource path
|
@@ -1469,7 +1469,7 @@ module PureCloud
|
|
1469
1469
|
:auth_names => auth_names,
|
1470
1470
|
:return_type => 'PhoneEntityListing')
|
1471
1471
|
if @api_client.config.debugging
|
1472
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1472
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1473
1473
|
end
|
1474
1474
|
return data, status_code, headers
|
1475
1475
|
end
|
@@ -1479,8 +1479,8 @@ module PureCloud
|
|
1479
1479
|
# @param [Hash] opts the optional parameters
|
1480
1480
|
# @option opts [Phone] :body
|
1481
1481
|
# @return [Phone]
|
1482
|
-
def
|
1483
|
-
data, status_code, headers =
|
1482
|
+
def create_providers_edge_phones(opts = {})
|
1483
|
+
data, status_code, headers = create_providers_edge_phones_with_http_info(opts)
|
1484
1484
|
return data
|
1485
1485
|
end
|
1486
1486
|
|
@@ -1489,9 +1489,9 @@ module PureCloud
|
|
1489
1489
|
# @param [Hash] opts the optional parameters
|
1490
1490
|
# @option opts [Phone] :body
|
1491
1491
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
1492
|
-
def
|
1492
|
+
def create_providers_edge_phones_with_http_info(opts = {})
|
1493
1493
|
if @api_client.config.debugging
|
1494
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1494
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#create_providers_edge_phones ..."
|
1495
1495
|
end
|
1496
1496
|
|
1497
1497
|
# resource path
|
@@ -1527,7 +1527,7 @@ module PureCloud
|
|
1527
1527
|
:auth_names => auth_names,
|
1528
1528
|
:return_type => 'Phone')
|
1529
1529
|
if @api_client.config.debugging
|
1530
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1530
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#create_providers_edge_phones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1531
1531
|
end
|
1532
1532
|
return data, status_code, headers
|
1533
1533
|
end
|
@@ -1537,8 +1537,8 @@ module PureCloud
|
|
1537
1537
|
# @param [Hash] opts the optional parameters
|
1538
1538
|
# @option opts [PhonesReboot] :body body
|
1539
1539
|
# @return [nil]
|
1540
|
-
def
|
1541
|
-
|
1540
|
+
def create_providers_edge_phones_reboot(opts = {})
|
1541
|
+
create_providers_edge_phones_reboot_with_http_info(opts)
|
1542
1542
|
return nil
|
1543
1543
|
end
|
1544
1544
|
|
@@ -1547,9 +1547,9 @@ module PureCloud
|
|
1547
1547
|
# @param [Hash] opts the optional parameters
|
1548
1548
|
# @option opts [PhonesReboot] :body body
|
1549
1549
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1550
|
-
def
|
1550
|
+
def create_providers_edge_phones_reboot_with_http_info(opts = {})
|
1551
1551
|
if @api_client.config.debugging
|
1552
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1552
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#create_providers_edge_phones_reboot ..."
|
1553
1553
|
end
|
1554
1554
|
|
1555
1555
|
# resource path
|
@@ -1584,7 +1584,7 @@ module PureCloud
|
|
1584
1584
|
:body => post_body,
|
1585
1585
|
:auth_names => auth_names)
|
1586
1586
|
if @api_client.config.debugging
|
1587
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1587
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#create_providers_edge_phones_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1588
1588
|
end
|
1589
1589
|
return data, status_code, headers
|
1590
1590
|
end
|
@@ -1594,8 +1594,8 @@ module PureCloud
|
|
1594
1594
|
# @param phone_base_settings_id The id of a Phone Base Settings object upon which to base this Phone
|
1595
1595
|
# @param [Hash] opts the optional parameters
|
1596
1596
|
# @return [Phone]
|
1597
|
-
def
|
1598
|
-
data, status_code, headers =
|
1597
|
+
def get_providers_edge_phones_template(phone_base_settings_id, opts = {})
|
1598
|
+
data, status_code, headers = get_providers_edge_phones_template_with_http_info(phone_base_settings_id, opts)
|
1599
1599
|
return data
|
1600
1600
|
end
|
1601
1601
|
|
@@ -1604,13 +1604,13 @@ module PureCloud
|
|
1604
1604
|
# @param phone_base_settings_id The id of a Phone Base Settings object upon which to base this Phone
|
1605
1605
|
# @param [Hash] opts the optional parameters
|
1606
1606
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
1607
|
-
def
|
1607
|
+
def get_providers_edge_phones_template_with_http_info(phone_base_settings_id, opts = {})
|
1608
1608
|
if @api_client.config.debugging
|
1609
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1609
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phones_template ..."
|
1610
1610
|
end
|
1611
1611
|
|
1612
1612
|
# verify the required parameter 'phone_base_settings_id' is set
|
1613
|
-
fail "Missing the required parameter 'phone_base_settings_id' when calling
|
1613
|
+
fail "Missing the required parameter 'phone_base_settings_id' when calling get_providers_edge_phones_template" if phone_base_settings_id.nil?
|
1614
1614
|
|
1615
1615
|
# resource path
|
1616
1616
|
path = "/api/v1/telephony/providers/edge/phones/template".sub('{format}','json')
|
@@ -1646,7 +1646,7 @@ module PureCloud
|
|
1646
1646
|
:auth_names => auth_names,
|
1647
1647
|
:return_type => 'Phone')
|
1648
1648
|
if @api_client.config.debugging
|
1649
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1649
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phones_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1650
1650
|
end
|
1651
1651
|
return data, status_code, headers
|
1652
1652
|
end
|
@@ -1656,8 +1656,8 @@ module PureCloud
|
|
1656
1656
|
# @param phone_id Phone ID
|
1657
1657
|
# @param [Hash] opts the optional parameters
|
1658
1658
|
# @return [Phone]
|
1659
|
-
def
|
1660
|
-
data, status_code, headers =
|
1659
|
+
def get_providers_edge_phone(phone_id, opts = {})
|
1660
|
+
data, status_code, headers = get_providers_edge_phone_with_http_info(phone_id, opts)
|
1661
1661
|
return data
|
1662
1662
|
end
|
1663
1663
|
|
@@ -1666,13 +1666,13 @@ module PureCloud
|
|
1666
1666
|
# @param phone_id Phone ID
|
1667
1667
|
# @param [Hash] opts the optional parameters
|
1668
1668
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
1669
|
-
def
|
1669
|
+
def get_providers_edge_phone_with_http_info(phone_id, opts = {})
|
1670
1670
|
if @api_client.config.debugging
|
1671
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1671
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phone ..."
|
1672
1672
|
end
|
1673
1673
|
|
1674
1674
|
# verify the required parameter 'phone_id' is set
|
1675
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1675
|
+
fail "Missing the required parameter 'phone_id' when calling get_providers_edge_phone" if phone_id.nil?
|
1676
1676
|
|
1677
1677
|
# resource path
|
1678
1678
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1707,7 +1707,7 @@ module PureCloud
|
|
1707
1707
|
:auth_names => auth_names,
|
1708
1708
|
:return_type => 'Phone')
|
1709
1709
|
if @api_client.config.debugging
|
1710
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1710
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phone\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1711
1711
|
end
|
1712
1712
|
return data, status_code, headers
|
1713
1713
|
end
|
@@ -1718,8 +1718,8 @@ module PureCloud
|
|
1718
1718
|
# @param [Hash] opts the optional parameters
|
1719
1719
|
# @option opts [Phone] :body
|
1720
1720
|
# @return [Phone]
|
1721
|
-
def
|
1722
|
-
data, status_code, headers =
|
1721
|
+
def update_providers_edge_phone(phone_id, opts = {})
|
1722
|
+
data, status_code, headers = update_providers_edge_phone_with_http_info(phone_id, opts)
|
1723
1723
|
return data
|
1724
1724
|
end
|
1725
1725
|
|
@@ -1729,13 +1729,13 @@ module PureCloud
|
|
1729
1729
|
# @param [Hash] opts the optional parameters
|
1730
1730
|
# @option opts [Phone] :body
|
1731
1731
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
1732
|
-
def
|
1732
|
+
def update_providers_edge_phone_with_http_info(phone_id, opts = {})
|
1733
1733
|
if @api_client.config.debugging
|
1734
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1734
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#update_providers_edge_phone ..."
|
1735
1735
|
end
|
1736
1736
|
|
1737
1737
|
# verify the required parameter 'phone_id' is set
|
1738
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1738
|
+
fail "Missing the required parameter 'phone_id' when calling update_providers_edge_phone" if phone_id.nil?
|
1739
1739
|
|
1740
1740
|
# resource path
|
1741
1741
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1770,7 +1770,7 @@ module PureCloud
|
|
1770
1770
|
:auth_names => auth_names,
|
1771
1771
|
:return_type => 'Phone')
|
1772
1772
|
if @api_client.config.debugging
|
1773
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1773
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#update_providers_edge_phone\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1774
1774
|
end
|
1775
1775
|
return data, status_code, headers
|
1776
1776
|
end
|
@@ -1780,8 +1780,8 @@ module PureCloud
|
|
1780
1780
|
# @param phone_id Phone ID
|
1781
1781
|
# @param [Hash] opts the optional parameters
|
1782
1782
|
# @return [String]
|
1783
|
-
def
|
1784
|
-
data, status_code, headers =
|
1783
|
+
def delete_providers_edge_phone(phone_id, opts = {})
|
1784
|
+
data, status_code, headers = delete_providers_edge_phone_with_http_info(phone_id, opts)
|
1785
1785
|
return data
|
1786
1786
|
end
|
1787
1787
|
|
@@ -1790,13 +1790,13 @@ module PureCloud
|
|
1790
1790
|
# @param phone_id Phone ID
|
1791
1791
|
# @param [Hash] opts the optional parameters
|
1792
1792
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1793
|
-
def
|
1793
|
+
def delete_providers_edge_phone_with_http_info(phone_id, opts = {})
|
1794
1794
|
if @api_client.config.debugging
|
1795
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1795
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_phone ..."
|
1796
1796
|
end
|
1797
1797
|
|
1798
1798
|
# verify the required parameter 'phone_id' is set
|
1799
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1799
|
+
fail "Missing the required parameter 'phone_id' when calling delete_providers_edge_phone" if phone_id.nil?
|
1800
1800
|
|
1801
1801
|
# resource path
|
1802
1802
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1831,7 +1831,7 @@ module PureCloud
|
|
1831
1831
|
:auth_names => auth_names,
|
1832
1832
|
:return_type => 'String')
|
1833
1833
|
if @api_client.config.debugging
|
1834
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1834
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_phone\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1835
1835
|
end
|
1836
1836
|
return data, status_code, headers
|
1837
1837
|
end
|
@@ -1841,8 +1841,8 @@ module PureCloud
|
|
1841
1841
|
# @param phone_id Phone Id
|
1842
1842
|
# @param [Hash] opts the optional parameters
|
1843
1843
|
# @return [nil]
|
1844
|
-
def
|
1845
|
-
|
1844
|
+
def create_providers_edge_phone_reboot(phone_id, opts = {})
|
1845
|
+
create_providers_edge_phone_reboot_with_http_info(phone_id, opts)
|
1846
1846
|
return nil
|
1847
1847
|
end
|
1848
1848
|
|
@@ -1851,13 +1851,13 @@ module PureCloud
|
|
1851
1851
|
# @param phone_id Phone Id
|
1852
1852
|
# @param [Hash] opts the optional parameters
|
1853
1853
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1854
|
-
def
|
1854
|
+
def create_providers_edge_phone_reboot_with_http_info(phone_id, opts = {})
|
1855
1855
|
if @api_client.config.debugging
|
1856
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1856
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#create_providers_edge_phone_reboot ..."
|
1857
1857
|
end
|
1858
1858
|
|
1859
1859
|
# verify the required parameter 'phone_id' is set
|
1860
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1860
|
+
fail "Missing the required parameter 'phone_id' when calling create_providers_edge_phone_reboot" if phone_id.nil?
|
1861
1861
|
|
1862
1862
|
# resource path
|
1863
1863
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}/reboot".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1891,7 +1891,7 @@ module PureCloud
|
|
1891
1891
|
:body => post_body,
|
1892
1892
|
:auth_names => auth_names)
|
1893
1893
|
if @api_client.config.debugging
|
1894
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1894
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#create_providers_edge_phone_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1895
1895
|
end
|
1896
1896
|
return data, status_code, headers
|
1897
1897
|
end
|
@@ -1902,8 +1902,8 @@ module PureCloud
|
|
1902
1902
|
# @option opts [Integer] :page_size Page size
|
1903
1903
|
# @option opts [Integer] :page_number Page number
|
1904
1904
|
# @return [TimeZoneEntityListing]
|
1905
|
-
def
|
1906
|
-
data, status_code, headers =
|
1905
|
+
def get_providers_edge_timezones(opts = {})
|
1906
|
+
data, status_code, headers = get_providers_edge_timezones_with_http_info(opts)
|
1907
1907
|
return data
|
1908
1908
|
end
|
1909
1909
|
|
@@ -1913,9 +1913,9 @@ module PureCloud
|
|
1913
1913
|
# @option opts [Integer] :page_size Page size
|
1914
1914
|
# @option opts [Integer] :page_number Page number
|
1915
1915
|
# @return [Array<(TimeZoneEntityListing, Fixnum, Hash)>] TimeZoneEntityListing data, response status code and response headers
|
1916
|
-
def
|
1916
|
+
def get_providers_edge_timezones_with_http_info(opts = {})
|
1917
1917
|
if @api_client.config.debugging
|
1918
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1918
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_timezones ..."
|
1919
1919
|
end
|
1920
1920
|
|
1921
1921
|
# resource path
|
@@ -1953,7 +1953,7 @@ module PureCloud
|
|
1953
1953
|
:auth_names => auth_names,
|
1954
1954
|
:return_type => 'TimeZoneEntityListing')
|
1955
1955
|
if @api_client.config.debugging
|
1956
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1956
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_timezones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1957
1957
|
end
|
1958
1958
|
return data, status_code, headers
|
1959
1959
|
end
|
@@ -1966,8 +1966,8 @@ module PureCloud
|
|
1966
1966
|
# @option opts [String] :sort_by Value by which to sort
|
1967
1967
|
# @option opts [String] :sort_order Sort order
|
1968
1968
|
# @return [TrunkBase]
|
1969
|
-
def
|
1970
|
-
data, status_code, headers =
|
1969
|
+
def get_providers_edge_trunkbasesettings(opts = {})
|
1970
|
+
data, status_code, headers = get_providers_edge_trunkbasesettings_with_http_info(opts)
|
1971
1971
|
return data
|
1972
1972
|
end
|
1973
1973
|
|
@@ -1979,9 +1979,9 @@ module PureCloud
|
|
1979
1979
|
# @option opts [String] :sort_by Value by which to sort
|
1980
1980
|
# @option opts [String] :sort_order Sort order
|
1981
1981
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
1982
|
-
def
|
1982
|
+
def get_providers_edge_trunkbasesettings_with_http_info(opts = {})
|
1983
1983
|
if @api_client.config.debugging
|
1984
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1984
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings ..."
|
1985
1985
|
end
|
1986
1986
|
|
1987
1987
|
# resource path
|
@@ -2021,7 +2021,7 @@ module PureCloud
|
|
2021
2021
|
:auth_names => auth_names,
|
2022
2022
|
:return_type => 'TrunkBase')
|
2023
2023
|
if @api_client.config.debugging
|
2024
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2024
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2025
2025
|
end
|
2026
2026
|
return data, status_code, headers
|
2027
2027
|
end
|
@@ -2031,8 +2031,8 @@ module PureCloud
|
|
2031
2031
|
# @param [Hash] opts the optional parameters
|
2032
2032
|
# @option opts [TrunkBase] :body
|
2033
2033
|
# @return [TrunkBase]
|
2034
|
-
def
|
2035
|
-
data, status_code, headers =
|
2034
|
+
def create_providers_edge_trunkbasesettings(opts = {})
|
2035
|
+
data, status_code, headers = create_providers_edge_trunkbasesettings_with_http_info(opts)
|
2036
2036
|
return data
|
2037
2037
|
end
|
2038
2038
|
|
@@ -2041,9 +2041,9 @@ module PureCloud
|
|
2041
2041
|
# @param [Hash] opts the optional parameters
|
2042
2042
|
# @option opts [TrunkBase] :body
|
2043
2043
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
2044
|
-
def
|
2044
|
+
def create_providers_edge_trunkbasesettings_with_http_info(opts = {})
|
2045
2045
|
if @api_client.config.debugging
|
2046
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2046
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#create_providers_edge_trunkbasesettings ..."
|
2047
2047
|
end
|
2048
2048
|
|
2049
2049
|
# resource path
|
@@ -2079,7 +2079,7 @@ module PureCloud
|
|
2079
2079
|
:auth_names => auth_names,
|
2080
2080
|
:return_type => 'TrunkBase')
|
2081
2081
|
if @api_client.config.debugging
|
2082
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2082
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#create_providers_edge_trunkbasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2083
2083
|
end
|
2084
2084
|
return data, status_code, headers
|
2085
2085
|
end
|
@@ -2091,8 +2091,8 @@ module PureCloud
|
|
2091
2091
|
# @option opts [Integer] :page_size
|
2092
2092
|
# @option opts [Integer] :page_number
|
2093
2093
|
# @return [TrunkMetabaseEntityListing]
|
2094
|
-
def
|
2095
|
-
data, status_code, headers =
|
2094
|
+
def get_providers_edge_trunkbasesettings_availablemetabases(opts = {})
|
2095
|
+
data, status_code, headers = get_providers_edge_trunkbasesettings_availablemetabases_with_http_info(opts)
|
2096
2096
|
return data
|
2097
2097
|
end
|
2098
2098
|
|
@@ -2103,9 +2103,9 @@ module PureCloud
|
|
2103
2103
|
# @option opts [Integer] :page_size
|
2104
2104
|
# @option opts [Integer] :page_number
|
2105
2105
|
# @return [Array<(TrunkMetabaseEntityListing, Fixnum, Hash)>] TrunkMetabaseEntityListing data, response status code and response headers
|
2106
|
-
def
|
2106
|
+
def get_providers_edge_trunkbasesettings_availablemetabases_with_http_info(opts = {})
|
2107
2107
|
if @api_client.config.debugging
|
2108
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2108
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_availablemetabases ..."
|
2109
2109
|
end
|
2110
2110
|
|
2111
2111
|
if opts[:'type'] && !['EXTERNAL', 'PHONE', 'EDGE'].include?(opts[:'type'])
|
@@ -2148,7 +2148,7 @@ module PureCloud
|
|
2148
2148
|
:auth_names => auth_names,
|
2149
2149
|
:return_type => 'TrunkMetabaseEntityListing')
|
2150
2150
|
if @api_client.config.debugging
|
2151
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2151
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_availablemetabases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2152
2152
|
end
|
2153
2153
|
return data, status_code, headers
|
2154
2154
|
end
|
@@ -2158,8 +2158,8 @@ module PureCloud
|
|
2158
2158
|
# @param trunk_metabase_id The id of a metabase object upon which to base this Trunk Base Settings
|
2159
2159
|
# @param [Hash] opts the optional parameters
|
2160
2160
|
# @return [TrunkBase]
|
2161
|
-
def
|
2162
|
-
data, status_code, headers =
|
2161
|
+
def get_providers_edge_trunkbasesettings_template(trunk_metabase_id, opts = {})
|
2162
|
+
data, status_code, headers = get_providers_edge_trunkbasesettings_template_with_http_info(trunk_metabase_id, opts)
|
2163
2163
|
return data
|
2164
2164
|
end
|
2165
2165
|
|
@@ -2168,13 +2168,13 @@ module PureCloud
|
|
2168
2168
|
# @param trunk_metabase_id The id of a metabase object upon which to base this Trunk Base Settings
|
2169
2169
|
# @param [Hash] opts the optional parameters
|
2170
2170
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
2171
|
-
def
|
2171
|
+
def get_providers_edge_trunkbasesettings_template_with_http_info(trunk_metabase_id, opts = {})
|
2172
2172
|
if @api_client.config.debugging
|
2173
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2173
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_template ..."
|
2174
2174
|
end
|
2175
2175
|
|
2176
2176
|
# verify the required parameter 'trunk_metabase_id' is set
|
2177
|
-
fail "Missing the required parameter 'trunk_metabase_id' when calling
|
2177
|
+
fail "Missing the required parameter 'trunk_metabase_id' when calling get_providers_edge_trunkbasesettings_template" if trunk_metabase_id.nil?
|
2178
2178
|
|
2179
2179
|
# resource path
|
2180
2180
|
path = "/api/v1/telephony/providers/edge/trunkbasesettings/template".sub('{format}','json')
|
@@ -2210,7 +2210,7 @@ module PureCloud
|
|
2210
2210
|
:auth_names => auth_names,
|
2211
2211
|
:return_type => 'TrunkBase')
|
2212
2212
|
if @api_client.config.debugging
|
2213
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2213
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2214
2214
|
end
|
2215
2215
|
return data, status_code, headers
|
2216
2216
|
end
|
@@ -2220,8 +2220,8 @@ module PureCloud
|
|
2220
2220
|
# @param trunk_base_settings_id Trunk Base ID
|
2221
2221
|
# @param [Hash] opts the optional parameters
|
2222
2222
|
# @return [TrunkBase]
|
2223
|
-
def
|
2224
|
-
data, status_code, headers =
|
2223
|
+
def get_providers_edge_trunkbasesettings_trunk_base_settings(trunk_base_settings_id, opts = {})
|
2224
|
+
data, status_code, headers = get_providers_edge_trunkbasesettings_trunk_base_settings_with_http_info(trunk_base_settings_id, opts)
|
2225
2225
|
return data
|
2226
2226
|
end
|
2227
2227
|
|
@@ -2230,13 +2230,13 @@ module PureCloud
|
|
2230
2230
|
# @param trunk_base_settings_id Trunk Base ID
|
2231
2231
|
# @param [Hash] opts the optional parameters
|
2232
2232
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
2233
|
-
def
|
2233
|
+
def get_providers_edge_trunkbasesettings_trunk_base_settings_with_http_info(trunk_base_settings_id, opts = {})
|
2234
2234
|
if @api_client.config.debugging
|
2235
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2235
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_trunk_base_settings ..."
|
2236
2236
|
end
|
2237
2237
|
|
2238
2238
|
# verify the required parameter 'trunk_base_settings_id' is set
|
2239
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
2239
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling get_providers_edge_trunkbasesettings_trunk_base_settings" if trunk_base_settings_id.nil?
|
2240
2240
|
|
2241
2241
|
# resource path
|
2242
2242
|
path = "/api/v1/telephony/providers/edge/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
@@ -2271,7 +2271,7 @@ module PureCloud
|
|
2271
2271
|
:auth_names => auth_names,
|
2272
2272
|
:return_type => 'TrunkBase')
|
2273
2273
|
if @api_client.config.debugging
|
2274
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2274
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_trunk_base_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2275
2275
|
end
|
2276
2276
|
return data, status_code, headers
|
2277
2277
|
end
|
@@ -2282,8 +2282,8 @@ module PureCloud
|
|
2282
2282
|
# @param [Hash] opts the optional parameters
|
2283
2283
|
# @option opts [TrunkBase] :body
|
2284
2284
|
# @return [TrunkBase]
|
2285
|
-
def
|
2286
|
-
data, status_code, headers =
|
2285
|
+
def update_providers_edge_trunkbasesettings_trunk_base_settings(trunk_base_settings_id, opts = {})
|
2286
|
+
data, status_code, headers = update_providers_edge_trunkbasesettings_trunk_base_settings_with_http_info(trunk_base_settings_id, opts)
|
2287
2287
|
return data
|
2288
2288
|
end
|
2289
2289
|
|
@@ -2293,13 +2293,13 @@ module PureCloud
|
|
2293
2293
|
# @param [Hash] opts the optional parameters
|
2294
2294
|
# @option opts [TrunkBase] :body
|
2295
2295
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
2296
|
-
def
|
2296
|
+
def update_providers_edge_trunkbasesettings_trunk_base_settings_with_http_info(trunk_base_settings_id, opts = {})
|
2297
2297
|
if @api_client.config.debugging
|
2298
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2298
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#update_providers_edge_trunkbasesettings_trunk_base_settings ..."
|
2299
2299
|
end
|
2300
2300
|
|
2301
2301
|
# verify the required parameter 'trunk_base_settings_id' is set
|
2302
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
2302
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling update_providers_edge_trunkbasesettings_trunk_base_settings" if trunk_base_settings_id.nil?
|
2303
2303
|
|
2304
2304
|
# resource path
|
2305
2305
|
path = "/api/v1/telephony/providers/edge/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
@@ -2334,7 +2334,7 @@ module PureCloud
|
|
2334
2334
|
:auth_names => auth_names,
|
2335
2335
|
:return_type => 'TrunkBase')
|
2336
2336
|
if @api_client.config.debugging
|
2337
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2337
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#update_providers_edge_trunkbasesettings_trunk_base_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2338
2338
|
end
|
2339
2339
|
return data, status_code, headers
|
2340
2340
|
end
|
@@ -2344,8 +2344,8 @@ module PureCloud
|
|
2344
2344
|
# @param trunk_base_settings_id Trunk Base ID
|
2345
2345
|
# @param [Hash] opts the optional parameters
|
2346
2346
|
# @return [String]
|
2347
|
-
def
|
2348
|
-
data, status_code, headers =
|
2347
|
+
def delete_providers_edge_trunkbasesettings_trunk_base_settings(trunk_base_settings_id, opts = {})
|
2348
|
+
data, status_code, headers = delete_providers_edge_trunkbasesettings_trunk_base_settings_with_http_info(trunk_base_settings_id, opts)
|
2349
2349
|
return data
|
2350
2350
|
end
|
2351
2351
|
|
@@ -2354,13 +2354,13 @@ module PureCloud
|
|
2354
2354
|
# @param trunk_base_settings_id Trunk Base ID
|
2355
2355
|
# @param [Hash] opts the optional parameters
|
2356
2356
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2357
|
-
def
|
2357
|
+
def delete_providers_edge_trunkbasesettings_trunk_base_settings_with_http_info(trunk_base_settings_id, opts = {})
|
2358
2358
|
if @api_client.config.debugging
|
2359
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2359
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_trunkbasesettings_trunk_base_settings ..."
|
2360
2360
|
end
|
2361
2361
|
|
2362
2362
|
# verify the required parameter 'trunk_base_settings_id' is set
|
2363
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
2363
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling delete_providers_edge_trunkbasesettings_trunk_base_settings" if trunk_base_settings_id.nil?
|
2364
2364
|
|
2365
2365
|
# resource path
|
2366
2366
|
path = "/api/v1/telephony/providers/edge/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
@@ -2395,7 +2395,7 @@ module PureCloud
|
|
2395
2395
|
:auth_names => auth_names,
|
2396
2396
|
:return_type => 'String')
|
2397
2397
|
if @api_client.config.debugging
|
2398
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2398
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_trunkbasesettings_trunk_base_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2399
2399
|
end
|
2400
2400
|
return data, status_code, headers
|
2401
2401
|
end
|