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
@@ -18,8 +18,8 @@ module PureCloud
|
|
18
18
|
# @option opts [String] :expand2 Expand
|
19
19
|
# @option opts [String] :name Name
|
20
20
|
# @return [EvaluationFormEntityListing]
|
21
|
-
def
|
22
|
-
data, status_code, headers =
|
21
|
+
def get_forms(opts = {})
|
22
|
+
data, status_code, headers = get_forms_with_http_info(opts)
|
23
23
|
return data
|
24
24
|
end
|
25
25
|
|
@@ -33,9 +33,9 @@ module PureCloud
|
|
33
33
|
# @option opts [String] :expand2 Expand
|
34
34
|
# @option opts [String] :name Name
|
35
35
|
# @return [Array<(EvaluationFormEntityListing, Fixnum, Hash)>] EvaluationFormEntityListing data, response status code and response headers
|
36
|
-
def
|
36
|
+
def get_forms_with_http_info(opts = {})
|
37
37
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
38
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_forms ..."
|
39
39
|
end
|
40
40
|
|
41
41
|
# resource path
|
@@ -77,7 +77,7 @@ module PureCloud
|
|
77
77
|
:auth_names => auth_names,
|
78
78
|
:return_type => 'EvaluationFormEntityListing')
|
79
79
|
if @api_client.config.debugging
|
80
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
80
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_forms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
81
81
|
end
|
82
82
|
return data, status_code, headers
|
83
83
|
end
|
@@ -87,8 +87,8 @@ module PureCloud
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @option opts [EvaluationForm] :body
|
89
89
|
# @return [EvaluationForm]
|
90
|
-
def
|
91
|
-
data, status_code, headers =
|
90
|
+
def create_forms(opts = {})
|
91
|
+
data, status_code, headers = create_forms_with_http_info(opts)
|
92
92
|
return data
|
93
93
|
end
|
94
94
|
|
@@ -97,9 +97,9 @@ module PureCloud
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
98
98
|
# @option opts [EvaluationForm] :body
|
99
99
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
100
|
-
def
|
100
|
+
def create_forms_with_http_info(opts = {})
|
101
101
|
if @api_client.config.debugging
|
102
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
102
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#create_forms ..."
|
103
103
|
end
|
104
104
|
|
105
105
|
# resource path
|
@@ -135,7 +135,7 @@ module PureCloud
|
|
135
135
|
:auth_names => auth_names,
|
136
136
|
:return_type => 'EvaluationForm')
|
137
137
|
if @api_client.config.debugging
|
138
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
138
|
+
@api_client.config.logger.debug "API called: ScriptsApi#create_forms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
139
139
|
end
|
140
140
|
return data, status_code, headers
|
141
141
|
end
|
@@ -145,8 +145,8 @@ module PureCloud
|
|
145
145
|
# @param form_id Form ID
|
146
146
|
# @param [Hash] opts the optional parameters
|
147
147
|
# @return [EvaluationForm]
|
148
|
-
def
|
149
|
-
data, status_code, headers =
|
148
|
+
def get_form(form_id, opts = {})
|
149
|
+
data, status_code, headers = get_form_with_http_info(form_id, opts)
|
150
150
|
return data
|
151
151
|
end
|
152
152
|
|
@@ -155,13 +155,13 @@ module PureCloud
|
|
155
155
|
# @param form_id Form ID
|
156
156
|
# @param [Hash] opts the optional parameters
|
157
157
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
158
|
-
def
|
158
|
+
def get_form_with_http_info(form_id, opts = {})
|
159
159
|
if @api_client.config.debugging
|
160
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
160
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_form ..."
|
161
161
|
end
|
162
162
|
|
163
163
|
# verify the required parameter 'form_id' is set
|
164
|
-
fail "Missing the required parameter 'form_id' when calling
|
164
|
+
fail "Missing the required parameter 'form_id' when calling get_form" if form_id.nil?
|
165
165
|
|
166
166
|
# resource path
|
167
167
|
path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -196,7 +196,7 @@ module PureCloud
|
|
196
196
|
:auth_names => auth_names,
|
197
197
|
:return_type => 'EvaluationForm')
|
198
198
|
if @api_client.config.debugging
|
199
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
199
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_form\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
200
200
|
end
|
201
201
|
return data, status_code, headers
|
202
202
|
end
|
@@ -207,8 +207,8 @@ module PureCloud
|
|
207
207
|
# @param [Hash] opts the optional parameters
|
208
208
|
# @option opts [EvaluationForm] :body
|
209
209
|
# @return [EvaluationForm]
|
210
|
-
def
|
211
|
-
data, status_code, headers =
|
210
|
+
def update_form(form_id, opts = {})
|
211
|
+
data, status_code, headers = update_form_with_http_info(form_id, opts)
|
212
212
|
return data
|
213
213
|
end
|
214
214
|
|
@@ -218,13 +218,13 @@ module PureCloud
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
219
|
# @option opts [EvaluationForm] :body
|
220
220
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
221
|
-
def
|
221
|
+
def update_form_with_http_info(form_id, opts = {})
|
222
222
|
if @api_client.config.debugging
|
223
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
223
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#update_form ..."
|
224
224
|
end
|
225
225
|
|
226
226
|
# verify the required parameter 'form_id' is set
|
227
|
-
fail "Missing the required parameter 'form_id' when calling
|
227
|
+
fail "Missing the required parameter 'form_id' when calling update_form" if form_id.nil?
|
228
228
|
|
229
229
|
# resource path
|
230
230
|
path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -259,7 +259,7 @@ module PureCloud
|
|
259
259
|
:auth_names => auth_names,
|
260
260
|
:return_type => 'EvaluationForm')
|
261
261
|
if @api_client.config.debugging
|
262
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
262
|
+
@api_client.config.logger.debug "API called: ScriptsApi#update_form\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
263
263
|
end
|
264
264
|
return data, status_code, headers
|
265
265
|
end
|
@@ -269,8 +269,8 @@ module PureCloud
|
|
269
269
|
# @param form_id Form ID
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
271
|
# @return [String]
|
272
|
-
def
|
273
|
-
data, status_code, headers =
|
272
|
+
def delete_form(form_id, opts = {})
|
273
|
+
data, status_code, headers = delete_form_with_http_info(form_id, opts)
|
274
274
|
return data
|
275
275
|
end
|
276
276
|
|
@@ -279,13 +279,13 @@ module PureCloud
|
|
279
279
|
# @param form_id Form ID
|
280
280
|
# @param [Hash] opts the optional parameters
|
281
281
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
282
|
-
def
|
282
|
+
def delete_form_with_http_info(form_id, opts = {})
|
283
283
|
if @api_client.config.debugging
|
284
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
284
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#delete_form ..."
|
285
285
|
end
|
286
286
|
|
287
287
|
# verify the required parameter 'form_id' is set
|
288
|
-
fail "Missing the required parameter 'form_id' when calling
|
288
|
+
fail "Missing the required parameter 'form_id' when calling delete_form" if form_id.nil?
|
289
289
|
|
290
290
|
# resource path
|
291
291
|
path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -320,7 +320,7 @@ module PureCloud
|
|
320
320
|
:auth_names => auth_names,
|
321
321
|
:return_type => 'String')
|
322
322
|
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
323
|
+
@api_client.config.logger.debug "API called: ScriptsApi#delete_form\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
324
324
|
end
|
325
325
|
return data, status_code, headers
|
326
326
|
end
|
@@ -332,8 +332,8 @@ module PureCloud
|
|
332
332
|
# @option opts [Integer] :page_size Page size
|
333
333
|
# @option opts [Integer] :page_number Page number
|
334
334
|
# @return [EvaluationFormEntityListing]
|
335
|
-
def
|
336
|
-
data, status_code, headers =
|
335
|
+
def get_form_versions(form_id, opts = {})
|
336
|
+
data, status_code, headers = get_form_versions_with_http_info(form_id, opts)
|
337
337
|
return data
|
338
338
|
end
|
339
339
|
|
@@ -344,13 +344,13 @@ module PureCloud
|
|
344
344
|
# @option opts [Integer] :page_size Page size
|
345
345
|
# @option opts [Integer] :page_number Page number
|
346
346
|
# @return [Array<(EvaluationFormEntityListing, Fixnum, Hash)>] EvaluationFormEntityListing data, response status code and response headers
|
347
|
-
def
|
347
|
+
def get_form_versions_with_http_info(form_id, opts = {})
|
348
348
|
if @api_client.config.debugging
|
349
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
349
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_form_versions ..."
|
350
350
|
end
|
351
351
|
|
352
352
|
# verify the required parameter 'form_id' is set
|
353
|
-
fail "Missing the required parameter 'form_id' when calling
|
353
|
+
fail "Missing the required parameter 'form_id' when calling get_form_versions" if form_id.nil?
|
354
354
|
|
355
355
|
# resource path
|
356
356
|
path = "/api/v1/quality/forms/{formId}/versions".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -387,7 +387,7 @@ module PureCloud
|
|
387
387
|
:auth_names => auth_names,
|
388
388
|
:return_type => 'EvaluationFormEntityListing')
|
389
389
|
if @api_client.config.debugging
|
390
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
390
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_form_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
391
391
|
end
|
392
392
|
return data, status_code, headers
|
393
393
|
end
|
@@ -399,8 +399,8 @@ module PureCloud
|
|
399
399
|
# @option opts [Integer] :page_number Page number
|
400
400
|
# @option opts [String] :name Name
|
401
401
|
# @return [EvaluationFormEntityListing]
|
402
|
-
def
|
403
|
-
data, status_code, headers =
|
402
|
+
def get_publishedforms(opts = {})
|
403
|
+
data, status_code, headers = get_publishedforms_with_http_info(opts)
|
404
404
|
return data
|
405
405
|
end
|
406
406
|
|
@@ -411,9 +411,9 @@ module PureCloud
|
|
411
411
|
# @option opts [Integer] :page_number Page number
|
412
412
|
# @option opts [String] :name Name
|
413
413
|
# @return [Array<(EvaluationFormEntityListing, Fixnum, Hash)>] EvaluationFormEntityListing data, response status code and response headers
|
414
|
-
def
|
414
|
+
def get_publishedforms_with_http_info(opts = {})
|
415
415
|
if @api_client.config.debugging
|
416
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
416
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_publishedforms ..."
|
417
417
|
end
|
418
418
|
|
419
419
|
# resource path
|
@@ -452,7 +452,7 @@ module PureCloud
|
|
452
452
|
:auth_names => auth_names,
|
453
453
|
:return_type => 'EvaluationFormEntityListing')
|
454
454
|
if @api_client.config.debugging
|
455
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
455
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_publishedforms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
456
456
|
end
|
457
457
|
return data, status_code, headers
|
458
458
|
end
|
@@ -462,8 +462,8 @@ module PureCloud
|
|
462
462
|
# @param [Hash] opts the optional parameters
|
463
463
|
# @option opts [EvaluationForm] :body
|
464
464
|
# @return [EvaluationForm]
|
465
|
-
def
|
466
|
-
data, status_code, headers =
|
465
|
+
def create_publishedforms(opts = {})
|
466
|
+
data, status_code, headers = create_publishedforms_with_http_info(opts)
|
467
467
|
return data
|
468
468
|
end
|
469
469
|
|
@@ -472,9 +472,9 @@ module PureCloud
|
|
472
472
|
# @param [Hash] opts the optional parameters
|
473
473
|
# @option opts [EvaluationForm] :body
|
474
474
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
475
|
-
def
|
475
|
+
def create_publishedforms_with_http_info(opts = {})
|
476
476
|
if @api_client.config.debugging
|
477
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
477
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#create_publishedforms ..."
|
478
478
|
end
|
479
479
|
|
480
480
|
# resource path
|
@@ -510,7 +510,7 @@ module PureCloud
|
|
510
510
|
:auth_names => auth_names,
|
511
511
|
:return_type => 'EvaluationForm')
|
512
512
|
if @api_client.config.debugging
|
513
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
513
|
+
@api_client.config.logger.debug "API called: ScriptsApi#create_publishedforms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
514
514
|
end
|
515
515
|
return data, status_code, headers
|
516
516
|
end
|
@@ -520,8 +520,8 @@ module PureCloud
|
|
520
520
|
# @param form_id Form ID
|
521
521
|
# @param [Hash] opts the optional parameters
|
522
522
|
# @return [EvaluationForm]
|
523
|
-
def
|
524
|
-
data, status_code, headers =
|
523
|
+
def get_publishedforms_form(form_id, opts = {})
|
524
|
+
data, status_code, headers = get_publishedforms_form_with_http_info(form_id, opts)
|
525
525
|
return data
|
526
526
|
end
|
527
527
|
|
@@ -530,13 +530,13 @@ module PureCloud
|
|
530
530
|
# @param form_id Form ID
|
531
531
|
# @param [Hash] opts the optional parameters
|
532
532
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
533
|
-
def
|
533
|
+
def get_publishedforms_form_with_http_info(form_id, opts = {})
|
534
534
|
if @api_client.config.debugging
|
535
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
535
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_publishedforms_form ..."
|
536
536
|
end
|
537
537
|
|
538
538
|
# verify the required parameter 'form_id' is set
|
539
|
-
fail "Missing the required parameter 'form_id' when calling
|
539
|
+
fail "Missing the required parameter 'form_id' when calling get_publishedforms_form" if form_id.nil?
|
540
540
|
|
541
541
|
# resource path
|
542
542
|
path = "/api/v1/quality/publishedforms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -571,7 +571,7 @@ module PureCloud
|
|
571
571
|
:auth_names => auth_names,
|
572
572
|
:return_type => 'EvaluationForm')
|
573
573
|
if @api_client.config.debugging
|
574
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
574
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_publishedforms_form\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
575
575
|
end
|
576
576
|
return data, status_code, headers
|
577
577
|
end
|
@@ -585,8 +585,8 @@ module PureCloud
|
|
585
585
|
# @option opts [String] :name Name
|
586
586
|
# @option opts [String] :feature Feature
|
587
587
|
# @return [ScriptEntityListing]
|
588
|
-
def
|
589
|
-
data, status_code, headers =
|
588
|
+
def get(opts = {})
|
589
|
+
data, status_code, headers = get_with_http_info(opts)
|
590
590
|
return data
|
591
591
|
end
|
592
592
|
|
@@ -599,9 +599,9 @@ module PureCloud
|
|
599
599
|
# @option opts [String] :name Name
|
600
600
|
# @option opts [String] :feature Feature
|
601
601
|
# @return [Array<(ScriptEntityListing, Fixnum, Hash)>] ScriptEntityListing data, response status code and response headers
|
602
|
-
def
|
602
|
+
def get_with_http_info(opts = {})
|
603
603
|
if @api_client.config.debugging
|
604
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
604
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get ..."
|
605
605
|
end
|
606
606
|
|
607
607
|
# resource path
|
@@ -642,7 +642,7 @@ module PureCloud
|
|
642
642
|
:auth_names => auth_names,
|
643
643
|
:return_type => 'ScriptEntityListing')
|
644
644
|
if @api_client.config.debugging
|
645
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
645
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
646
646
|
end
|
647
647
|
return data, status_code, headers
|
648
648
|
end
|
@@ -652,8 +652,8 @@ module PureCloud
|
|
652
652
|
# @param [Hash] opts the optional parameters
|
653
653
|
# @option opts [Body2] :body
|
654
654
|
# @return [Script]
|
655
|
-
def
|
656
|
-
data, status_code, headers =
|
655
|
+
def create(opts = {})
|
656
|
+
data, status_code, headers = create_with_http_info(opts)
|
657
657
|
return data
|
658
658
|
end
|
659
659
|
|
@@ -662,9 +662,9 @@ module PureCloud
|
|
662
662
|
# @param [Hash] opts the optional parameters
|
663
663
|
# @option opts [Body2] :body
|
664
664
|
# @return [Array<(Script, Fixnum, Hash)>] Script data, response status code and response headers
|
665
|
-
def
|
665
|
+
def create_with_http_info(opts = {})
|
666
666
|
if @api_client.config.debugging
|
667
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
667
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#create ..."
|
668
668
|
end
|
669
669
|
|
670
670
|
# resource path
|
@@ -700,7 +700,7 @@ module PureCloud
|
|
700
700
|
:auth_names => auth_names,
|
701
701
|
:return_type => 'Script')
|
702
702
|
if @api_client.config.debugging
|
703
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
703
|
+
@api_client.config.logger.debug "API called: ScriptsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
704
704
|
end
|
705
705
|
return data, status_code, headers
|
706
706
|
end
|
@@ -13,8 +13,8 @@ module PureCloud
|
|
13
13
|
# @param [Hash] opts the optional parameters
|
14
14
|
# @option opts [ChatSearchRequest] :body Search request options
|
15
15
|
# @return [ChatSearchListing]
|
16
|
-
def
|
17
|
-
data, status_code, headers =
|
16
|
+
def create_chats(opts = {})
|
17
|
+
data, status_code, headers = create_chats_with_http_info(opts)
|
18
18
|
return data
|
19
19
|
end
|
20
20
|
|
@@ -23,9 +23,9 @@ module PureCloud
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
24
|
# @option opts [ChatSearchRequest] :body Search request options
|
25
25
|
# @return [Array<(ChatSearchListing, Fixnum, Hash)>] ChatSearchListing data, response status code and response headers
|
26
|
-
def
|
26
|
+
def create_chats_with_http_info(opts = {})
|
27
27
|
if @api_client.config.debugging
|
28
|
-
@api_client.config.logger.debug "Calling API: SearchApi#
|
28
|
+
@api_client.config.logger.debug "Calling API: SearchApi#create_chats ..."
|
29
29
|
end
|
30
30
|
|
31
31
|
# resource path
|
@@ -61,7 +61,7 @@ module PureCloud
|
|
61
61
|
:auth_names => auth_names,
|
62
62
|
:return_type => 'ChatSearchListing')
|
63
63
|
if @api_client.config.debugging
|
64
|
-
@api_client.config.logger.debug "API called: SearchApi#
|
64
|
+
@api_client.config.logger.debug "API called: SearchApi#create_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
65
65
|
end
|
66
66
|
return data, status_code, headers
|
67
67
|
end
|
@@ -16,8 +16,8 @@ module PureCloud
|
|
16
16
|
# @option opts [String] :sort_by Sort by
|
17
17
|
# @option opts [String] :name Name
|
18
18
|
# @return [StationEntityListing]
|
19
|
-
def
|
20
|
-
data, status_code, headers =
|
19
|
+
def get(opts = {})
|
20
|
+
data, status_code, headers = get_with_http_info(opts)
|
21
21
|
return data
|
22
22
|
end
|
23
23
|
|
@@ -29,9 +29,9 @@ module PureCloud
|
|
29
29
|
# @option opts [String] :sort_by Sort by
|
30
30
|
# @option opts [String] :name Name
|
31
31
|
# @return [Array<(StationEntityListing, Fixnum, Hash)>] StationEntityListing data, response status code and response headers
|
32
|
-
def
|
32
|
+
def get_with_http_info(opts = {})
|
33
33
|
if @api_client.config.debugging
|
34
|
-
@api_client.config.logger.debug "Calling API: StationsApi#
|
34
|
+
@api_client.config.logger.debug "Calling API: StationsApi#get ..."
|
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 => 'StationEntityListing')
|
73
73
|
if @api_client.config.debugging
|
74
|
-
@api_client.config.logger.debug "API called: StationsApi#
|
74
|
+
@api_client.config.logger.debug "API called: StationsApi#get\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 id Station ID
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
83
|
# @return [UserStationResource]
|
84
|
-
def
|
85
|
-
data, status_code, headers =
|
84
|
+
def get_id(id, opts = {})
|
85
|
+
data, status_code, headers = get_id_with_http_info(id, opts)
|
86
86
|
return data
|
87
87
|
end
|
88
88
|
|
@@ -91,13 +91,13 @@ module PureCloud
|
|
91
91
|
# @param id Station ID
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @return [Array<(UserStationResource, Fixnum, Hash)>] UserStationResource data, response status code and response headers
|
94
|
-
def
|
94
|
+
def get_id_with_http_info(id, opts = {})
|
95
95
|
if @api_client.config.debugging
|
96
|
-
@api_client.config.logger.debug "Calling API: StationsApi#
|
96
|
+
@api_client.config.logger.debug "Calling API: StationsApi#get_id ..."
|
97
97
|
end
|
98
98
|
|
99
99
|
# verify the required parameter 'id' is set
|
100
|
-
fail "Missing the required parameter 'id' when calling
|
100
|
+
fail "Missing the required parameter 'id' when calling get_id" if id.nil?
|
101
101
|
|
102
102
|
# resource path
|
103
103
|
path = "/api/v1/stations/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
@@ -132,7 +132,7 @@ module PureCloud
|
|
132
132
|
:auth_names => auth_names,
|
133
133
|
:return_type => 'UserStationResource')
|
134
134
|
if @api_client.config.debugging
|
135
|
-
@api_client.config.logger.debug "API called: StationsApi#
|
135
|
+
@api_client.config.logger.debug "API called: StationsApi#get_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
136
136
|
end
|
137
137
|
return data, status_code, headers
|
138
138
|
end
|
@@ -142,8 +142,8 @@ module PureCloud
|
|
142
142
|
# @param id Station ID
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
144
|
# @return [String]
|
145
|
-
def
|
146
|
-
data, status_code, headers =
|
145
|
+
def delete_id_associateduser(id, opts = {})
|
146
|
+
data, status_code, headers = delete_id_associateduser_with_http_info(id, opts)
|
147
147
|
return data
|
148
148
|
end
|
149
149
|
|
@@ -152,13 +152,13 @@ module PureCloud
|
|
152
152
|
# @param id Station ID
|
153
153
|
# @param [Hash] opts the optional parameters
|
154
154
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
155
|
-
def
|
155
|
+
def delete_id_associateduser_with_http_info(id, opts = {})
|
156
156
|
if @api_client.config.debugging
|
157
|
-
@api_client.config.logger.debug "Calling API: StationsApi#
|
157
|
+
@api_client.config.logger.debug "Calling API: StationsApi#delete_id_associateduser ..."
|
158
158
|
end
|
159
159
|
|
160
160
|
# verify the required parameter 'id' is set
|
161
|
-
fail "Missing the required parameter 'id' when calling
|
161
|
+
fail "Missing the required parameter 'id' when calling delete_id_associateduser" if id.nil?
|
162
162
|
|
163
163
|
# resource path
|
164
164
|
path = "/api/v1/stations/{id}/associateduser".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
@@ -193,7 +193,7 @@ module PureCloud
|
|
193
193
|
:auth_names => auth_names,
|
194
194
|
:return_type => 'String')
|
195
195
|
if @api_client.config.debugging
|
196
|
-
@api_client.config.logger.debug "API called: StationsApi#
|
196
|
+
@api_client.config.logger.debug "API called: StationsApi#delete_id_associateduser\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
197
197
|
end
|
198
198
|
return data, status_code, headers
|
199
199
|
end
|