purecloud 0.0.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/config-ruby.json +1 -1
  3. data/lib/purecloud/api/analytics_api.rb +57 -57
  4. data/lib/purecloud/api/architect_api.rb +16 -16
  5. data/lib/purecloud/api/attributes_api.rb +33 -33
  6. data/lib/purecloud/api/authorization_api.rb +53 -53
  7. data/lib/purecloud/api/compliance_api.rb +5 -5
  8. data/lib/purecloud/api/configuration_api.rb +303 -303
  9. data/lib/purecloud/api/content_management_api.rb +215 -215
  10. data/lib/purecloud/api/conversations_api.rb +159 -159
  11. data/lib/purecloud/api/downloads_api.rb +6 -6
  12. data/lib/purecloud/api/fax_api.rb +6 -6
  13. data/lib/purecloud/api/geolocation_api.rb +24 -24
  14. data/lib/purecloud/api/greetings_api.rb +56 -56
  15. data/lib/purecloud/api/groups_api.rb +17 -17
  16. data/lib/purecloud/api/languages_api.rb +11 -11
  17. data/lib/purecloud/api/licensing_api.rb +17 -17
  18. data/lib/purecloud/api/locations_api.rb +11 -11
  19. data/lib/purecloud/api/notifications_api.rb +17 -17
  20. data/lib/purecloud/api/o_auth_api.rb +97 -97
  21. data/lib/purecloud/api/orphaned_recordings_api.rb +17 -17
  22. data/lib/purecloud/api/outbound_api.rb +259 -259
  23. data/lib/purecloud/api/presence_api.rb +53 -53
  24. data/lib/purecloud/api/quality_api.rb +101 -101
  25. data/lib/purecloud/api/routing_api.rb +125 -125
  26. data/lib/purecloud/api/scripts_api.rb +60 -60
  27. data/lib/purecloud/api/search_api.rb +5 -5
  28. data/lib/purecloud/api/stations_api.rb +17 -17
  29. data/lib/purecloud/api/telephony_providers_edge_api.rb +212 -212
  30. data/lib/purecloud/api/user_recordings_api.rb +34 -34
  31. data/lib/purecloud/api/users_api.rb +123 -123
  32. data/lib/purecloud/api/utilities_api.rb +15 -15
  33. data/lib/purecloud/api/voicemail_api.rb +29 -29
  34. data/lib/purecloud/version.rb +1 -1
  35. data/newVersion.md +1 -1
  36. data/swagger.json +1 -1
  37. data/version.json +1 -1
  38. metadata +2 -2
@@ -13,8 +13,8 @@ module PureCloud
13
13
  # @param body Allows for a filtered query returning facet information
14
14
  # @param [Hash] opts the optional parameters
15
15
  # @return [QueryResults]
16
- def post_contentmanagement_auditquery(body, opts = {})
17
- data, status_code, headers = post_contentmanagement_auditquery_with_http_info(body, opts)
16
+ def create_auditquery(body, opts = {})
17
+ data, status_code, headers = create_auditquery_with_http_info(body, opts)
18
18
  return data
19
19
  end
20
20
 
@@ -23,13 +23,13 @@ module PureCloud
23
23
  # @param body Allows for a filtered query returning facet information
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
26
- def post_contentmanagement_auditquery_with_http_info(body, opts = {})
26
+ def create_auditquery_with_http_info(body, opts = {})
27
27
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_auditquery ..."
28
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_auditquery ..."
29
29
  end
30
30
 
31
31
  # verify the required parameter 'body' is set
32
- fail "Missing the required parameter 'body' when calling post_contentmanagement_auditquery" if body.nil?
32
+ fail "Missing the required parameter 'body' when calling create_auditquery" if body.nil?
33
33
 
34
34
  # resource path
35
35
  path = "/api/v1/contentmanagement/auditquery".sub('{format}','json')
@@ -64,7 +64,7 @@ module PureCloud
64
64
  :auth_names => auth_names,
65
65
  :return_type => 'QueryResults')
66
66
  if @api_client.config.debugging
67
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_auditquery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
67
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_auditquery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
68
68
  end
69
69
  return data, status_code, headers
70
70
  end
@@ -80,8 +80,8 @@ module PureCloud
80
80
  # @option opts [String] :sort_by name or dateCreated
81
81
  # @option opts [String] :sort_order ascending or descending
82
82
  # @return [DocumentEntityListing]
83
- def get_contentmanagement_documents(workspace_id, opts = {})
84
- data, status_code, headers = get_contentmanagement_documents_with_http_info(workspace_id, opts)
83
+ def get_documents(workspace_id, opts = {})
84
+ data, status_code, headers = get_documents_with_http_info(workspace_id, opts)
85
85
  return data
86
86
  end
87
87
 
@@ -96,13 +96,13 @@ module PureCloud
96
96
  # @option opts [String] :sort_by name or dateCreated
97
97
  # @option opts [String] :sort_order ascending or descending
98
98
  # @return [Array<(DocumentEntityListing, Fixnum, Hash)>] DocumentEntityListing data, response status code and response headers
99
- def get_contentmanagement_documents_with_http_info(workspace_id, opts = {})
99
+ def get_documents_with_http_info(workspace_id, opts = {})
100
100
  if @api_client.config.debugging
101
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_documents ..."
101
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_documents ..."
102
102
  end
103
103
 
104
104
  # verify the required parameter 'workspace_id' is set
105
- fail "Missing the required parameter 'workspace_id' when calling get_contentmanagement_documents" if workspace_id.nil?
105
+ fail "Missing the required parameter 'workspace_id' when calling get_documents" if workspace_id.nil?
106
106
 
107
107
  if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
108
108
  fail 'invalid value for "expand", must be one of acl, workspace'
@@ -148,7 +148,7 @@ module PureCloud
148
148
  :auth_names => auth_names,
149
149
  :return_type => 'DocumentEntityListing')
150
150
  if @api_client.config.debugging
151
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
151
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
152
152
  end
153
153
  return data, status_code, headers
154
154
  end
@@ -161,8 +161,8 @@ module PureCloud
161
161
  # @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
162
162
  # @option opts [BOOLEAN] :override Override any lock on the source document
163
163
  # @return [Document]
164
- def post_contentmanagement_documents(opts = {})
165
- data, status_code, headers = post_contentmanagement_documents_with_http_info(opts)
164
+ def create_documents(opts = {})
165
+ data, status_code, headers = create_documents_with_http_info(opts)
166
166
  return data
167
167
  end
168
168
 
@@ -174,9 +174,9 @@ module PureCloud
174
174
  # @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
175
175
  # @option opts [BOOLEAN] :override Override any lock on the source document
176
176
  # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
177
- def post_contentmanagement_documents_with_http_info(opts = {})
177
+ def create_documents_with_http_info(opts = {})
178
178
  if @api_client.config.debugging
179
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_documents ..."
179
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_documents ..."
180
180
  end
181
181
 
182
182
  # resource path
@@ -215,7 +215,7 @@ module PureCloud
215
215
  :auth_names => auth_names,
216
216
  :return_type => 'Document')
217
217
  if @api_client.config.debugging
218
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
218
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
219
219
  end
220
220
  return data, status_code, headers
221
221
  end
@@ -226,8 +226,8 @@ module PureCloud
226
226
  # @param [Hash] opts the optional parameters
227
227
  # @option opts [String] :expand Expand some document fields
228
228
  # @return [Document]
229
- def get_contentmanagement_document(document_id, opts = {})
230
- data, status_code, headers = get_contentmanagement_document_with_http_info(document_id, opts)
229
+ def get_document(document_id, opts = {})
230
+ data, status_code, headers = get_document_with_http_info(document_id, opts)
231
231
  return data
232
232
  end
233
233
 
@@ -237,13 +237,13 @@ module PureCloud
237
237
  # @param [Hash] opts the optional parameters
238
238
  # @option opts [String] :expand Expand some document fields
239
239
  # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
240
- def get_contentmanagement_document_with_http_info(document_id, opts = {})
240
+ def get_document_with_http_info(document_id, opts = {})
241
241
  if @api_client.config.debugging
242
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_document ..."
242
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_document ..."
243
243
  end
244
244
 
245
245
  # verify the required parameter 'document_id' is set
246
- fail "Missing the required parameter 'document_id' when calling get_contentmanagement_document" if document_id.nil?
246
+ fail "Missing the required parameter 'document_id' when calling get_document" if document_id.nil?
247
247
 
248
248
  if opts[:'expand'] && !['lockInfo', 'acl', 'workspace'].include?(opts[:'expand'])
249
249
  fail 'invalid value for "expand", must be one of lockInfo, acl, workspace'
@@ -283,7 +283,7 @@ module PureCloud
283
283
  :auth_names => auth_names,
284
284
  :return_type => 'Document')
285
285
  if @api_client.config.debugging
286
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
286
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
287
287
  end
288
288
  return data, status_code, headers
289
289
  end
@@ -296,8 +296,8 @@ module PureCloud
296
296
  # @option opts [String] :expand Expand some document fields
297
297
  # @option opts [BOOLEAN] :override Override any lock on the document
298
298
  # @return [Document]
299
- def post_contentmanagement_document(document_id, opts = {})
300
- data, status_code, headers = post_contentmanagement_document_with_http_info(document_id, opts)
299
+ def create_document(document_id, opts = {})
300
+ data, status_code, headers = create_document_with_http_info(document_id, opts)
301
301
  return data
302
302
  end
303
303
 
@@ -309,13 +309,13 @@ module PureCloud
309
309
  # @option opts [String] :expand Expand some document fields
310
310
  # @option opts [BOOLEAN] :override Override any lock on the document
311
311
  # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
312
- def post_contentmanagement_document_with_http_info(document_id, opts = {})
312
+ def create_document_with_http_info(document_id, opts = {})
313
313
  if @api_client.config.debugging
314
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_document ..."
314
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_document ..."
315
315
  end
316
316
 
317
317
  # verify the required parameter 'document_id' is set
318
- fail "Missing the required parameter 'document_id' when calling post_contentmanagement_document" if document_id.nil?
318
+ fail "Missing the required parameter 'document_id' when calling create_document" if document_id.nil?
319
319
 
320
320
  if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
321
321
  fail 'invalid value for "expand", must be one of acl'
@@ -356,7 +356,7 @@ module PureCloud
356
356
  :auth_names => auth_names,
357
357
  :return_type => 'Document')
358
358
  if @api_client.config.debugging
359
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
359
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
360
360
  end
361
361
  return data, status_code, headers
362
362
  end
@@ -367,8 +367,8 @@ module PureCloud
367
367
  # @param [Hash] opts the optional parameters
368
368
  # @option opts [BOOLEAN] :override Override any lock on the document
369
369
  # @return [nil]
370
- def delete_contentmanagement_document(document_id, opts = {})
371
- delete_contentmanagement_document_with_http_info(document_id, opts)
370
+ def delete_document(document_id, opts = {})
371
+ delete_document_with_http_info(document_id, opts)
372
372
  return nil
373
373
  end
374
374
 
@@ -378,13 +378,13 @@ module PureCloud
378
378
  # @param [Hash] opts the optional parameters
379
379
  # @option opts [BOOLEAN] :override Override any lock on the document
380
380
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
381
- def delete_contentmanagement_document_with_http_info(document_id, opts = {})
381
+ def delete_document_with_http_info(document_id, opts = {})
382
382
  if @api_client.config.debugging
383
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_contentmanagement_document ..."
383
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_document ..."
384
384
  end
385
385
 
386
386
  # verify the required parameter 'document_id' is set
387
- fail "Missing the required parameter 'document_id' when calling delete_contentmanagement_document" if document_id.nil?
387
+ fail "Missing the required parameter 'document_id' when calling delete_document" if document_id.nil?
388
388
 
389
389
  # resource path
390
390
  path = "/api/v1/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
@@ -419,7 +419,7 @@ module PureCloud
419
419
  :body => post_body,
420
420
  :auth_names => auth_names)
421
421
  if @api_client.config.debugging
422
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_contentmanagement_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
422
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
423
423
  end
424
424
  return data, status_code, headers
425
425
  end
@@ -435,8 +435,8 @@ module PureCloud
435
435
  # @option opts [String] :sort_by Sort by
436
436
  # @option opts [String] :sort_order Sort order
437
437
  # @return [DocumentAuditEntityListing]
438
- def get_contentmanagement_document_audits(document_id, opts = {})
439
- data, status_code, headers = get_contentmanagement_document_audits_with_http_info(document_id, opts)
438
+ def get_document_audits(document_id, opts = {})
439
+ data, status_code, headers = get_document_audits_with_http_info(document_id, opts)
440
440
  return data
441
441
  end
442
442
 
@@ -451,13 +451,13 @@ module PureCloud
451
451
  # @option opts [String] :sort_by Sort by
452
452
  # @option opts [String] :sort_order Sort order
453
453
  # @return [Array<(DocumentAuditEntityListing, Fixnum, Hash)>] DocumentAuditEntityListing data, response status code and response headers
454
- def get_contentmanagement_document_audits_with_http_info(document_id, opts = {})
454
+ def get_document_audits_with_http_info(document_id, opts = {})
455
455
  if @api_client.config.debugging
456
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_document_audits ..."
456
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_document_audits ..."
457
457
  end
458
458
 
459
459
  # verify the required parameter 'document_id' is set
460
- fail "Missing the required parameter 'document_id' when calling get_contentmanagement_document_audits" if document_id.nil?
460
+ fail "Missing the required parameter 'document_id' when calling get_document_audits" if document_id.nil?
461
461
 
462
462
  # resource path
463
463
  path = "/api/v1/contentmanagement/documents/{documentId}/audits".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
@@ -498,7 +498,7 @@ module PureCloud
498
498
  :auth_names => auth_names,
499
499
  :return_type => 'DocumentAuditEntityListing')
500
500
  if @api_client.config.debugging
501
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_document_audits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
501
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_document_audits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
502
502
  end
503
503
  return data, status_code, headers
504
504
  end
@@ -510,8 +510,8 @@ module PureCloud
510
510
  # @option opts [String] :disposition Request how the content will be downloaded: attached as a file or inline. Default is attachment.
511
511
  # @option opts [String] :content_type The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
512
512
  # @return [nil]
513
- def get_contentmanagement_document_content(document_id, opts = {})
514
- get_contentmanagement_document_content_with_http_info(document_id, opts)
513
+ def get_document_content(document_id, opts = {})
514
+ get_document_content_with_http_info(document_id, opts)
515
515
  return nil
516
516
  end
517
517
 
@@ -522,13 +522,13 @@ module PureCloud
522
522
  # @option opts [String] :disposition Request how the content will be downloaded: attached as a file or inline. Default is attachment.
523
523
  # @option opts [String] :content_type The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
524
524
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
525
- def get_contentmanagement_document_content_with_http_info(document_id, opts = {})
525
+ def get_document_content_with_http_info(document_id, opts = {})
526
526
  if @api_client.config.debugging
527
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_document_content ..."
527
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_document_content ..."
528
528
  end
529
529
 
530
530
  # verify the required parameter 'document_id' is set
531
- fail "Missing the required parameter 'document_id' when calling get_contentmanagement_document_content" if document_id.nil?
531
+ fail "Missing the required parameter 'document_id' when calling get_document_content" if document_id.nil?
532
532
 
533
533
  if opts[:'disposition'] && !['attachment', 'inline'].include?(opts[:'disposition'])
534
534
  fail 'invalid value for "disposition", must be one of attachment, inline'
@@ -568,7 +568,7 @@ module PureCloud
568
568
  :body => post_body,
569
569
  :auth_names => auth_names)
570
570
  if @api_client.config.debugging
571
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_document_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
571
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_document_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
572
572
  end
573
573
  return data, status_code, headers
574
574
  end
@@ -580,8 +580,8 @@ module PureCloud
580
580
  # @option opts [ReplaceRequest] :body Replace Request
581
581
  # @option opts [BOOLEAN] :override Override any lock on the document
582
582
  # @return [ReplaceResponse]
583
- def post_contentmanagement_document_content(document_id, opts = {})
584
- data, status_code, headers = post_contentmanagement_document_content_with_http_info(document_id, opts)
583
+ def create_document_content(document_id, opts = {})
584
+ data, status_code, headers = create_document_content_with_http_info(document_id, opts)
585
585
  return data
586
586
  end
587
587
 
@@ -592,13 +592,13 @@ module PureCloud
592
592
  # @option opts [ReplaceRequest] :body Replace Request
593
593
  # @option opts [BOOLEAN] :override Override any lock on the document
594
594
  # @return [Array<(ReplaceResponse, Fixnum, Hash)>] ReplaceResponse data, response status code and response headers
595
- def post_contentmanagement_document_content_with_http_info(document_id, opts = {})
595
+ def create_document_content_with_http_info(document_id, opts = {})
596
596
  if @api_client.config.debugging
597
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_document_content ..."
597
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_document_content ..."
598
598
  end
599
599
 
600
600
  # verify the required parameter 'document_id' is set
601
- fail "Missing the required parameter 'document_id' when calling post_contentmanagement_document_content" if document_id.nil?
601
+ fail "Missing the required parameter 'document_id' when calling create_document_content" if document_id.nil?
602
602
 
603
603
  # resource path
604
604
  path = "/api/v1/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
@@ -634,7 +634,7 @@ module PureCloud
634
634
  :auth_names => auth_names,
635
635
  :return_type => 'ReplaceResponse')
636
636
  if @api_client.config.debugging
637
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_document_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
637
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_document_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
638
638
  end
639
639
  return data, status_code, headers
640
640
  end
@@ -649,8 +649,8 @@ module PureCloud
649
649
  # @option opts [String] :sort_order ascending or descending
650
650
  # @option opts [String] :expand Expand some document fields
651
651
  # @return [QueryResults]
652
- def get_contentmanagement_query(query_phrase, opts = {})
653
- data, status_code, headers = get_contentmanagement_query_with_http_info(query_phrase, opts)
652
+ def get_query(query_phrase, opts = {})
653
+ data, status_code, headers = get_query_with_http_info(query_phrase, opts)
654
654
  return data
655
655
  end
656
656
 
@@ -664,13 +664,13 @@ module PureCloud
664
664
  # @option opts [String] :sort_order ascending or descending
665
665
  # @option opts [String] :expand Expand some document fields
666
666
  # @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
667
- def get_contentmanagement_query_with_http_info(query_phrase, opts = {})
667
+ def get_query_with_http_info(query_phrase, opts = {})
668
668
  if @api_client.config.debugging
669
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_query ..."
669
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_query ..."
670
670
  end
671
671
 
672
672
  # verify the required parameter 'query_phrase' is set
673
- fail "Missing the required parameter 'query_phrase' when calling get_contentmanagement_query" if query_phrase.nil?
673
+ fail "Missing the required parameter 'query_phrase' when calling get_query" if query_phrase.nil?
674
674
 
675
675
  if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
676
676
  fail 'invalid value for "expand", must be one of acl, workspace'
@@ -715,7 +715,7 @@ module PureCloud
715
715
  :auth_names => auth_names,
716
716
  :return_type => 'QueryResults')
717
717
  if @api_client.config.debugging
718
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
718
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
719
719
  end
720
720
  return data, status_code, headers
721
721
  end
@@ -726,8 +726,8 @@ module PureCloud
726
726
  # @param [Hash] opts the optional parameters
727
727
  # @option opts [String] :expand Expand some document fields
728
728
  # @return [QueryResults]
729
- def post_contentmanagement_query(body, opts = {})
730
- data, status_code, headers = post_contentmanagement_query_with_http_info(body, opts)
729
+ def create_query(body, opts = {})
730
+ data, status_code, headers = create_query_with_http_info(body, opts)
731
731
  return data
732
732
  end
733
733
 
@@ -737,13 +737,13 @@ module PureCloud
737
737
  # @param [Hash] opts the optional parameters
738
738
  # @option opts [String] :expand Expand some document fields
739
739
  # @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
740
- def post_contentmanagement_query_with_http_info(body, opts = {})
740
+ def create_query_with_http_info(body, opts = {})
741
741
  if @api_client.config.debugging
742
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_query ..."
742
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_query ..."
743
743
  end
744
744
 
745
745
  # verify the required parameter 'body' is set
746
- fail "Missing the required parameter 'body' when calling post_contentmanagement_query" if body.nil?
746
+ fail "Missing the required parameter 'body' when calling create_query" if body.nil?
747
747
 
748
748
  if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
749
749
  fail 'invalid value for "expand", must be one of acl, workspace'
@@ -783,7 +783,7 @@ module PureCloud
783
783
  :auth_names => auth_names,
784
784
  :return_type => 'QueryResults')
785
785
  if @api_client.config.debugging
786
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
786
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
787
787
  end
788
788
  return data, status_code, headers
789
789
  end
@@ -792,8 +792,8 @@ module PureCloud
792
792
  #
793
793
  # @param [Hash] opts the optional parameters
794
794
  # @return [SecurityProfileEntityListing]
795
- def get_contentmanagement_securityprofiles(opts = {})
796
- data, status_code, headers = get_contentmanagement_securityprofiles_with_http_info(opts)
795
+ def get_securityprofiles(opts = {})
796
+ data, status_code, headers = get_securityprofiles_with_http_info(opts)
797
797
  return data
798
798
  end
799
799
 
@@ -801,9 +801,9 @@ module PureCloud
801
801
  #
802
802
  # @param [Hash] opts the optional parameters
803
803
  # @return [Array<(SecurityProfileEntityListing, Fixnum, Hash)>] SecurityProfileEntityListing data, response status code and response headers
804
- def get_contentmanagement_securityprofiles_with_http_info(opts = {})
804
+ def get_securityprofiles_with_http_info(opts = {})
805
805
  if @api_client.config.debugging
806
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_securityprofiles ..."
806
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_securityprofiles ..."
807
807
  end
808
808
 
809
809
  # resource path
@@ -839,7 +839,7 @@ module PureCloud
839
839
  :auth_names => auth_names,
840
840
  :return_type => 'SecurityProfileEntityListing')
841
841
  if @api_client.config.debugging
842
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_securityprofiles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
842
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_securityprofiles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
843
843
  end
844
844
  return data, status_code, headers
845
845
  end
@@ -849,8 +849,8 @@ module PureCloud
849
849
  # @param security_profile_id Security Profile Id
850
850
  # @param [Hash] opts the optional parameters
851
851
  # @return [SecurityProfile]
852
- def get_contentmanagement_securityprofile(security_profile_id, opts = {})
853
- data, status_code, headers = get_contentmanagement_securityprofile_with_http_info(security_profile_id, opts)
852
+ def get_security_profile(security_profile_id, opts = {})
853
+ data, status_code, headers = get_security_profile_with_http_info(security_profile_id, opts)
854
854
  return data
855
855
  end
856
856
 
@@ -859,13 +859,13 @@ module PureCloud
859
859
  # @param security_profile_id Security Profile Id
860
860
  # @param [Hash] opts the optional parameters
861
861
  # @return [Array<(SecurityProfile, Fixnum, Hash)>] SecurityProfile data, response status code and response headers
862
- def get_contentmanagement_securityprofile_with_http_info(security_profile_id, opts = {})
862
+ def get_security_profile_with_http_info(security_profile_id, opts = {})
863
863
  if @api_client.config.debugging
864
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_securityprofile ..."
864
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_security_profile ..."
865
865
  end
866
866
 
867
867
  # verify the required parameter 'security_profile_id' is set
868
- fail "Missing the required parameter 'security_profile_id' when calling get_contentmanagement_securityprofile" if security_profile_id.nil?
868
+ fail "Missing the required parameter 'security_profile_id' when calling get_security_profile" if security_profile_id.nil?
869
869
 
870
870
  # resource path
871
871
  path = "/api/v1/contentmanagement/securityprofiles/{securityProfileId}".sub('{format}','json').sub('{' + 'securityProfileId' + '}', security_profile_id.to_s)
@@ -900,7 +900,7 @@ module PureCloud
900
900
  :auth_names => auth_names,
901
901
  :return_type => 'SecurityProfile')
902
902
  if @api_client.config.debugging
903
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_securityprofile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
903
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_security_profile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
904
904
  end
905
905
  return data, status_code, headers
906
906
  end
@@ -914,8 +914,8 @@ module PureCloud
914
914
  # @option opts [String] :content_type The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
915
915
  # @option opts [String] :expand Expand some document fields
916
916
  # @return [nil]
917
- def get_contentmanagement_shared(shared_id, opts = {})
918
- get_contentmanagement_shared_with_http_info(shared_id, opts)
917
+ def get_shared_shared(shared_id, opts = {})
918
+ get_shared_shared_with_http_info(shared_id, opts)
919
919
  return nil
920
920
  end
921
921
 
@@ -928,13 +928,13 @@ module PureCloud
928
928
  # @option opts [String] :content_type The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
929
929
  # @option opts [String] :expand Expand some document fields
930
930
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
931
- def get_contentmanagement_shared_with_http_info(shared_id, opts = {})
931
+ def get_shared_shared_with_http_info(shared_id, opts = {})
932
932
  if @api_client.config.debugging
933
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_shared ..."
933
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_shared_shared ..."
934
934
  end
935
935
 
936
936
  # verify the required parameter 'shared_id' is set
937
- fail "Missing the required parameter 'shared_id' when calling get_contentmanagement_shared" if shared_id.nil?
937
+ fail "Missing the required parameter 'shared_id' when calling get_shared_shared" if shared_id.nil?
938
938
 
939
939
  if opts[:'disposition'] && !['attachment', 'inline', 'none'].include?(opts[:'disposition'])
940
940
  fail 'invalid value for "disposition", must be one of attachment, inline, none'
@@ -980,7 +980,7 @@ module PureCloud
980
980
  :body => post_body,
981
981
  :auth_names => auth_names)
982
982
  if @api_client.config.debugging
983
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_shared\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
983
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_shared_shared\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
984
984
  end
985
985
  return data, status_code, headers
986
986
  end
@@ -993,8 +993,8 @@ module PureCloud
993
993
  # @option opts [Integer] :page_size Page size
994
994
  # @option opts [Integer] :page_number Page number
995
995
  # @return [ShareEntityListing]
996
- def get_contentmanagement_shares(opts = {})
997
- data, status_code, headers = get_contentmanagement_shares_with_http_info(opts)
996
+ def get_shares(opts = {})
997
+ data, status_code, headers = get_shares_with_http_info(opts)
998
998
  return data
999
999
  end
1000
1000
 
@@ -1006,9 +1006,9 @@ module PureCloud
1006
1006
  # @option opts [Integer] :page_size Page size
1007
1007
  # @option opts [Integer] :page_number Page number
1008
1008
  # @return [Array<(ShareEntityListing, Fixnum, Hash)>] ShareEntityListing data, response status code and response headers
1009
- def get_contentmanagement_shares_with_http_info(opts = {})
1009
+ def get_shares_with_http_info(opts = {})
1010
1010
  if @api_client.config.debugging
1011
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_shares ..."
1011
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_shares ..."
1012
1012
  end
1013
1013
 
1014
1014
  if opts[:'expand'] && !['member'].include?(opts[:'expand'])
@@ -1052,7 +1052,7 @@ module PureCloud
1052
1052
  :auth_names => auth_names,
1053
1053
  :return_type => 'ShareEntityListing')
1054
1054
  if @api_client.config.debugging
1055
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1055
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1056
1056
  end
1057
1057
  return data, status_code, headers
1058
1058
  end
@@ -1062,8 +1062,8 @@ module PureCloud
1062
1062
  # @param [Hash] opts the optional parameters
1063
1063
  # @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
1064
1064
  # @return [CreateShareResponse]
1065
- def post_contentmanagement_shares(opts = {})
1066
- data, status_code, headers = post_contentmanagement_shares_with_http_info(opts)
1065
+ def create_shares(opts = {})
1066
+ data, status_code, headers = create_shares_with_http_info(opts)
1067
1067
  return data
1068
1068
  end
1069
1069
 
@@ -1072,9 +1072,9 @@ module PureCloud
1072
1072
  # @param [Hash] opts the optional parameters
1073
1073
  # @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
1074
1074
  # @return [Array<(CreateShareResponse, Fixnum, Hash)>] CreateShareResponse data, response status code and response headers
1075
- def post_contentmanagement_shares_with_http_info(opts = {})
1075
+ def create_shares_with_http_info(opts = {})
1076
1076
  if @api_client.config.debugging
1077
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_shares ..."
1077
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_shares ..."
1078
1078
  end
1079
1079
 
1080
1080
  # resource path
@@ -1110,7 +1110,7 @@ module PureCloud
1110
1110
  :auth_names => auth_names,
1111
1111
  :return_type => 'CreateShareResponse')
1112
1112
  if @api_client.config.debugging
1113
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1113
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1114
1114
  end
1115
1115
  return data, status_code, headers
1116
1116
  end
@@ -1121,8 +1121,8 @@ module PureCloud
1121
1121
  # @param [Hash] opts the optional parameters
1122
1122
  # @option opts [String] :expand Expand share fields
1123
1123
  # @return [Share]
1124
- def get_contentmanagement_share(share_id, opts = {})
1125
- data, status_code, headers = get_contentmanagement_share_with_http_info(share_id, opts)
1124
+ def get_share(share_id, opts = {})
1125
+ data, status_code, headers = get_share_with_http_info(share_id, opts)
1126
1126
  return data
1127
1127
  end
1128
1128
 
@@ -1132,13 +1132,13 @@ module PureCloud
1132
1132
  # @param [Hash] opts the optional parameters
1133
1133
  # @option opts [String] :expand Expand share fields
1134
1134
  # @return [Array<(Share, Fixnum, Hash)>] Share data, response status code and response headers
1135
- def get_contentmanagement_share_with_http_info(share_id, opts = {})
1135
+ def get_share_with_http_info(share_id, opts = {})
1136
1136
  if @api_client.config.debugging
1137
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_share ..."
1137
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_share ..."
1138
1138
  end
1139
1139
 
1140
1140
  # verify the required parameter 'share_id' is set
1141
- fail "Missing the required parameter 'share_id' when calling get_contentmanagement_share" if share_id.nil?
1141
+ fail "Missing the required parameter 'share_id' when calling get_share" if share_id.nil?
1142
1142
 
1143
1143
  if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1144
1144
  fail 'invalid value for "expand", must be one of member'
@@ -1178,7 +1178,7 @@ module PureCloud
1178
1178
  :auth_names => auth_names,
1179
1179
  :return_type => 'Share')
1180
1180
  if @api_client.config.debugging
1181
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_share\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1181
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_share\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1182
1182
  end
1183
1183
  return data, status_code, headers
1184
1184
  end
@@ -1188,8 +1188,8 @@ module PureCloud
1188
1188
  # @param share_id Share ID
1189
1189
  # @param [Hash] opts the optional parameters
1190
1190
  # @return [nil]
1191
- def delete_contentmanagement_share(share_id, opts = {})
1192
- delete_contentmanagement_share_with_http_info(share_id, opts)
1191
+ def delete_share(share_id, opts = {})
1192
+ delete_share_with_http_info(share_id, opts)
1193
1193
  return nil
1194
1194
  end
1195
1195
 
@@ -1198,13 +1198,13 @@ module PureCloud
1198
1198
  # @param share_id Share ID
1199
1199
  # @param [Hash] opts the optional parameters
1200
1200
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1201
- def delete_contentmanagement_share_with_http_info(share_id, opts = {})
1201
+ def delete_share_with_http_info(share_id, opts = {})
1202
1202
  if @api_client.config.debugging
1203
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_contentmanagement_share ..."
1203
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_share ..."
1204
1204
  end
1205
1205
 
1206
1206
  # verify the required parameter 'share_id' is set
1207
- fail "Missing the required parameter 'share_id' when calling delete_contentmanagement_share" if share_id.nil?
1207
+ fail "Missing the required parameter 'share_id' when calling delete_share" if share_id.nil?
1208
1208
 
1209
1209
  # resource path
1210
1210
  path = "/api/v1/contentmanagement/shares/{shareId}".sub('{format}','json').sub('{' + 'shareId' + '}', share_id.to_s)
@@ -1238,7 +1238,7 @@ module PureCloud
1238
1238
  :body => post_body,
1239
1239
  :auth_names => auth_names)
1240
1240
  if @api_client.config.debugging
1241
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_contentmanagement_share\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1241
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_share\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1242
1242
  end
1243
1243
  return data, status_code, headers
1244
1244
  end
@@ -1249,8 +1249,8 @@ module PureCloud
1249
1249
  # @option opts [Integer] :page_size Page size
1250
1250
  # @option opts [Integer] :page_number Page number
1251
1251
  # @return [CommandStatusEntityListing]
1252
- def get_contentmanagement_status(opts = {})
1253
- data, status_code, headers = get_contentmanagement_status_with_http_info(opts)
1252
+ def get_status(opts = {})
1253
+ data, status_code, headers = get_status_with_http_info(opts)
1254
1254
  return data
1255
1255
  end
1256
1256
 
@@ -1260,9 +1260,9 @@ module PureCloud
1260
1260
  # @option opts [Integer] :page_size Page size
1261
1261
  # @option opts [Integer] :page_number Page number
1262
1262
  # @return [Array<(CommandStatusEntityListing, Fixnum, Hash)>] CommandStatusEntityListing data, response status code and response headers
1263
- def get_contentmanagement_status_with_http_info(opts = {})
1263
+ def get_status_with_http_info(opts = {})
1264
1264
  if @api_client.config.debugging
1265
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_status ..."
1265
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_status ..."
1266
1266
  end
1267
1267
 
1268
1268
  # resource path
@@ -1300,7 +1300,7 @@ module PureCloud
1300
1300
  :auth_names => auth_names,
1301
1301
  :return_type => 'CommandStatusEntityListing')
1302
1302
  if @api_client.config.debugging
1303
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1303
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1304
1304
  end
1305
1305
  return data, status_code, headers
1306
1306
  end
@@ -1310,8 +1310,8 @@ module PureCloud
1310
1310
  # @param status_id Status ID
1311
1311
  # @param [Hash] opts the optional parameters
1312
1312
  # @return [CommandStatus]
1313
- def get_contentmanagement_statu(status_id, opts = {})
1314
- data, status_code, headers = get_contentmanagement_statu_with_http_info(status_id, opts)
1313
+ def get_status_status(status_id, opts = {})
1314
+ data, status_code, headers = get_status_status_with_http_info(status_id, opts)
1315
1315
  return data
1316
1316
  end
1317
1317
 
@@ -1320,13 +1320,13 @@ module PureCloud
1320
1320
  # @param status_id Status ID
1321
1321
  # @param [Hash] opts the optional parameters
1322
1322
  # @return [Array<(CommandStatus, Fixnum, Hash)>] CommandStatus data, response status code and response headers
1323
- def get_contentmanagement_statu_with_http_info(status_id, opts = {})
1323
+ def get_status_status_with_http_info(status_id, opts = {})
1324
1324
  if @api_client.config.debugging
1325
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_statu ..."
1325
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_status_status ..."
1326
1326
  end
1327
1327
 
1328
1328
  # verify the required parameter 'status_id' is set
1329
- fail "Missing the required parameter 'status_id' when calling get_contentmanagement_statu" if status_id.nil?
1329
+ fail "Missing the required parameter 'status_id' when calling get_status_status" if status_id.nil?
1330
1330
 
1331
1331
  # resource path
1332
1332
  path = "/api/v1/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
@@ -1361,7 +1361,7 @@ module PureCloud
1361
1361
  :auth_names => auth_names,
1362
1362
  :return_type => 'CommandStatus')
1363
1363
  if @api_client.config.debugging
1364
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_statu\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1364
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_status_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1365
1365
  end
1366
1366
  return data, status_code, headers
1367
1367
  end
@@ -1371,8 +1371,8 @@ module PureCloud
1371
1371
  # @param status_id Status ID
1372
1372
  # @param [Hash] opts the optional parameters
1373
1373
  # @return [nil]
1374
- def delete_contentmanagement_statu(status_id, opts = {})
1375
- delete_contentmanagement_statu_with_http_info(status_id, opts)
1374
+ def delete_status_status(status_id, opts = {})
1375
+ delete_status_status_with_http_info(status_id, opts)
1376
1376
  return nil
1377
1377
  end
1378
1378
 
@@ -1381,13 +1381,13 @@ module PureCloud
1381
1381
  # @param status_id Status ID
1382
1382
  # @param [Hash] opts the optional parameters
1383
1383
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1384
- def delete_contentmanagement_statu_with_http_info(status_id, opts = {})
1384
+ def delete_status_status_with_http_info(status_id, opts = {})
1385
1385
  if @api_client.config.debugging
1386
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_contentmanagement_statu ..."
1386
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_status_status ..."
1387
1387
  end
1388
1388
 
1389
1389
  # verify the required parameter 'status_id' is set
1390
- fail "Missing the required parameter 'status_id' when calling delete_contentmanagement_statu" if status_id.nil?
1390
+ fail "Missing the required parameter 'status_id' when calling delete_status_status" if status_id.nil?
1391
1391
 
1392
1392
  # resource path
1393
1393
  path = "/api/v1/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
@@ -1421,7 +1421,7 @@ module PureCloud
1421
1421
  :body => post_body,
1422
1422
  :auth_names => auth_names)
1423
1423
  if @api_client.config.debugging
1424
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_contentmanagement_statu\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1424
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_status_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1425
1425
  end
1426
1426
  return data, status_code, headers
1427
1427
  end
@@ -1434,8 +1434,8 @@ module PureCloud
1434
1434
  # @option opts [String] :access Requested access level
1435
1435
  # @option opts [String] :expand Expand some workspace fields
1436
1436
  # @return [WorkspaceEntityListing]
1437
- def get_contentmanagement_workspaces(opts = {})
1438
- data, status_code, headers = get_contentmanagement_workspaces_with_http_info(opts)
1437
+ def get_workspaces(opts = {})
1438
+ data, status_code, headers = get_workspaces_with_http_info(opts)
1439
1439
  return data
1440
1440
  end
1441
1441
 
@@ -1447,9 +1447,9 @@ module PureCloud
1447
1447
  # @option opts [String] :access Requested access level
1448
1448
  # @option opts [String] :expand Expand some workspace fields
1449
1449
  # @return [Array<(WorkspaceEntityListing, Fixnum, Hash)>] WorkspaceEntityListing data, response status code and response headers
1450
- def get_contentmanagement_workspaces_with_http_info(opts = {})
1450
+ def get_workspaces_with_http_info(opts = {})
1451
1451
  if @api_client.config.debugging
1452
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_workspaces ..."
1452
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces ..."
1453
1453
  end
1454
1454
 
1455
1455
  if opts[:'access'] && !['content', 'admin', 'document:create', 'document:viewContent', 'document:viewMetadata', 'document:download', 'document:delete', 'document:update', 'document:share', 'document:shareView', 'document:email', 'document:print', 'document:auditView', 'document:replace', 'document:tag', 'tag:create', 'tag:view', 'tag:update', 'tag:apply', 'tag:remove', 'tag:delete'].include?(opts[:'access'])
@@ -1497,7 +1497,7 @@ module PureCloud
1497
1497
  :auth_names => auth_names,
1498
1498
  :return_type => 'WorkspaceEntityListing')
1499
1499
  if @api_client.config.debugging
1500
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1500
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1501
1501
  end
1502
1502
  return data, status_code, headers
1503
1503
  end
@@ -1507,8 +1507,8 @@ module PureCloud
1507
1507
  # @param [Hash] opts the optional parameters
1508
1508
  # @option opts [WorkspaceCreate] :body Workspace
1509
1509
  # @return [Workspace]
1510
- def post_contentmanagement_workspaces(opts = {})
1511
- data, status_code, headers = post_contentmanagement_workspaces_with_http_info(opts)
1510
+ def create_workspaces(opts = {})
1511
+ data, status_code, headers = create_workspaces_with_http_info(opts)
1512
1512
  return data
1513
1513
  end
1514
1514
 
@@ -1517,9 +1517,9 @@ module PureCloud
1517
1517
  # @param [Hash] opts the optional parameters
1518
1518
  # @option opts [WorkspaceCreate] :body Workspace
1519
1519
  # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
1520
- def post_contentmanagement_workspaces_with_http_info(opts = {})
1520
+ def create_workspaces_with_http_info(opts = {})
1521
1521
  if @api_client.config.debugging
1522
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_workspaces ..."
1522
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_workspaces ..."
1523
1523
  end
1524
1524
 
1525
1525
  # resource path
@@ -1555,7 +1555,7 @@ module PureCloud
1555
1555
  :auth_names => auth_names,
1556
1556
  :return_type => 'Workspace')
1557
1557
  if @api_client.config.debugging
1558
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1558
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1559
1559
  end
1560
1560
  return data, status_code, headers
1561
1561
  end
@@ -1566,8 +1566,8 @@ module PureCloud
1566
1566
  # @param [Hash] opts the optional parameters
1567
1567
  # @option opts [String] :expand Expand some workspace fields
1568
1568
  # @return [Workspace]
1569
- def get_contentmanagement_workspace(workspace_id, opts = {})
1570
- data, status_code, headers = get_contentmanagement_workspace_with_http_info(workspace_id, opts)
1569
+ def get_workspace(workspace_id, opts = {})
1570
+ data, status_code, headers = get_workspace_with_http_info(workspace_id, opts)
1571
1571
  return data
1572
1572
  end
1573
1573
 
@@ -1577,13 +1577,13 @@ module PureCloud
1577
1577
  # @param [Hash] opts the optional parameters
1578
1578
  # @option opts [String] :expand Expand some workspace fields
1579
1579
  # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
1580
- def get_contentmanagement_workspace_with_http_info(workspace_id, opts = {})
1580
+ def get_workspace_with_http_info(workspace_id, opts = {})
1581
1581
  if @api_client.config.debugging
1582
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_workspace ..."
1582
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspace ..."
1583
1583
  end
1584
1584
 
1585
1585
  # verify the required parameter 'workspace_id' is set
1586
- fail "Missing the required parameter 'workspace_id' when calling get_contentmanagement_workspace" if workspace_id.nil?
1586
+ fail "Missing the required parameter 'workspace_id' when calling get_workspace" if workspace_id.nil?
1587
1587
 
1588
1588
  if opts[:'expand'] && !['summary', 'acl'].include?(opts[:'expand'])
1589
1589
  fail 'invalid value for "expand", must be one of summary, acl'
@@ -1623,7 +1623,7 @@ module PureCloud
1623
1623
  :auth_names => auth_names,
1624
1624
  :return_type => 'Workspace')
1625
1625
  if @api_client.config.debugging
1626
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_workspace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1626
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1627
1627
  end
1628
1628
  return data, status_code, headers
1629
1629
  end
@@ -1634,8 +1634,8 @@ module PureCloud
1634
1634
  # @param [Hash] opts the optional parameters
1635
1635
  # @option opts [Workspace] :body Workspace
1636
1636
  # @return [Workspace]
1637
- def put_contentmanagement_workspace(workspace_id, opts = {})
1638
- data, status_code, headers = put_contentmanagement_workspace_with_http_info(workspace_id, opts)
1637
+ def update_workspace(workspace_id, opts = {})
1638
+ data, status_code, headers = update_workspace_with_http_info(workspace_id, opts)
1639
1639
  return data
1640
1640
  end
1641
1641
 
@@ -1645,13 +1645,13 @@ module PureCloud
1645
1645
  # @param [Hash] opts the optional parameters
1646
1646
  # @option opts [Workspace] :body Workspace
1647
1647
  # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
1648
- def put_contentmanagement_workspace_with_http_info(workspace_id, opts = {})
1648
+ def update_workspace_with_http_info(workspace_id, opts = {})
1649
1649
  if @api_client.config.debugging
1650
- @api_client.config.logger.debug "Calling API: ContentManagementApi#put_contentmanagement_workspace ..."
1650
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#update_workspace ..."
1651
1651
  end
1652
1652
 
1653
1653
  # verify the required parameter 'workspace_id' is set
1654
- fail "Missing the required parameter 'workspace_id' when calling put_contentmanagement_workspace" if workspace_id.nil?
1654
+ fail "Missing the required parameter 'workspace_id' when calling update_workspace" if workspace_id.nil?
1655
1655
 
1656
1656
  # resource path
1657
1657
  path = "/api/v1/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
@@ -1686,7 +1686,7 @@ module PureCloud
1686
1686
  :auth_names => auth_names,
1687
1687
  :return_type => 'Workspace')
1688
1688
  if @api_client.config.debugging
1689
- @api_client.config.logger.debug "API called: ContentManagementApi#put_contentmanagement_workspace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1689
+ @api_client.config.logger.debug "API called: ContentManagementApi#update_workspace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1690
1690
  end
1691
1691
  return data, status_code, headers
1692
1692
  end
@@ -1697,8 +1697,8 @@ module PureCloud
1697
1697
  # @param [Hash] opts the optional parameters
1698
1698
  # @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
1699
1699
  # @return [nil]
1700
- def delete_contentmanagement_workspace(workspace_id, opts = {})
1701
- delete_contentmanagement_workspace_with_http_info(workspace_id, opts)
1700
+ def delete_workspace(workspace_id, opts = {})
1701
+ delete_workspace_with_http_info(workspace_id, opts)
1702
1702
  return nil
1703
1703
  end
1704
1704
 
@@ -1708,13 +1708,13 @@ module PureCloud
1708
1708
  # @param [Hash] opts the optional parameters
1709
1709
  # @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
1710
1710
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1711
- def delete_contentmanagement_workspace_with_http_info(workspace_id, opts = {})
1711
+ def delete_workspace_with_http_info(workspace_id, opts = {})
1712
1712
  if @api_client.config.debugging
1713
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_contentmanagement_workspace ..."
1713
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspace ..."
1714
1714
  end
1715
1715
 
1716
1716
  # verify the required parameter 'workspace_id' is set
1717
- fail "Missing the required parameter 'workspace_id' when calling delete_contentmanagement_workspace" if workspace_id.nil?
1717
+ fail "Missing the required parameter 'workspace_id' when calling delete_workspace" if workspace_id.nil?
1718
1718
 
1719
1719
  # resource path
1720
1720
  path = "/api/v1/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
@@ -1749,7 +1749,7 @@ module PureCloud
1749
1749
  :body => post_body,
1750
1750
  :auth_names => auth_names)
1751
1751
  if @api_client.config.debugging
1752
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_contentmanagement_workspace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1752
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1753
1753
  end
1754
1754
  return data, status_code, headers
1755
1755
  end
@@ -1762,8 +1762,8 @@ module PureCloud
1762
1762
  # @option opts [Integer] :page_number Page number
1763
1763
  # @option opts [String] :expand Expand workspace member fields
1764
1764
  # @return [WorkspaceMemberEntityListing]
1765
- def get_contentmanagement_workspace_members(workspace_id, opts = {})
1766
- data, status_code, headers = get_contentmanagement_workspace_members_with_http_info(workspace_id, opts)
1765
+ def get_workspace_members(workspace_id, opts = {})
1766
+ data, status_code, headers = get_workspace_members_with_http_info(workspace_id, opts)
1767
1767
  return data
1768
1768
  end
1769
1769
 
@@ -1775,13 +1775,13 @@ module PureCloud
1775
1775
  # @option opts [Integer] :page_number Page number
1776
1776
  # @option opts [String] :expand Expand workspace member fields
1777
1777
  # @return [Array<(WorkspaceMemberEntityListing, Fixnum, Hash)>] WorkspaceMemberEntityListing data, response status code and response headers
1778
- def get_contentmanagement_workspace_members_with_http_info(workspace_id, opts = {})
1778
+ def get_workspace_members_with_http_info(workspace_id, opts = {})
1779
1779
  if @api_client.config.debugging
1780
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_workspace_members ..."
1780
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspace_members ..."
1781
1781
  end
1782
1782
 
1783
1783
  # verify the required parameter 'workspace_id' is set
1784
- fail "Missing the required parameter 'workspace_id' when calling get_contentmanagement_workspace_members" if workspace_id.nil?
1784
+ fail "Missing the required parameter 'workspace_id' when calling get_workspace_members" if workspace_id.nil?
1785
1785
 
1786
1786
  if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1787
1787
  fail 'invalid value for "expand", must be one of member'
@@ -1823,7 +1823,7 @@ module PureCloud
1823
1823
  :auth_names => auth_names,
1824
1824
  :return_type => 'WorkspaceMemberEntityListing')
1825
1825
  if @api_client.config.debugging
1826
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_workspace_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1826
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspace_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1827
1827
  end
1828
1828
  return data, status_code, headers
1829
1829
  end
@@ -1835,8 +1835,8 @@ module PureCloud
1835
1835
  # @param [Hash] opts the optional parameters
1836
1836
  # @option opts [String] :expand Expand workspace member fields
1837
1837
  # @return [WorkspaceMember]
1838
- def get_contentmanagement_workspace_member(workspace_id, member_id, opts = {})
1839
- data, status_code, headers = get_contentmanagement_workspace_member_with_http_info(workspace_id, member_id, opts)
1838
+ def get_workspace_members_by_member_id(workspace_id, member_id, opts = {})
1839
+ data, status_code, headers = get_workspace_members_by_member_id_with_http_info(workspace_id, member_id, opts)
1840
1840
  return data
1841
1841
  end
1842
1842
 
@@ -1847,16 +1847,16 @@ module PureCloud
1847
1847
  # @param [Hash] opts the optional parameters
1848
1848
  # @option opts [String] :expand Expand workspace member fields
1849
1849
  # @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
1850
- def get_contentmanagement_workspace_member_with_http_info(workspace_id, member_id, opts = {})
1850
+ def get_workspace_members_by_member_id_with_http_info(workspace_id, member_id, opts = {})
1851
1851
  if @api_client.config.debugging
1852
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_workspace_member ..."
1852
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspace_members_by_member_id ..."
1853
1853
  end
1854
1854
 
1855
1855
  # verify the required parameter 'workspace_id' is set
1856
- fail "Missing the required parameter 'workspace_id' when calling get_contentmanagement_workspace_member" if workspace_id.nil?
1856
+ fail "Missing the required parameter 'workspace_id' when calling get_workspace_members_by_member_id" if workspace_id.nil?
1857
1857
 
1858
1858
  # verify the required parameter 'member_id' is set
1859
- fail "Missing the required parameter 'member_id' when calling get_contentmanagement_workspace_member" if member_id.nil?
1859
+ fail "Missing the required parameter 'member_id' when calling get_workspace_members_by_member_id" if member_id.nil?
1860
1860
 
1861
1861
  if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1862
1862
  fail 'invalid value for "expand", must be one of member'
@@ -1896,7 +1896,7 @@ module PureCloud
1896
1896
  :auth_names => auth_names,
1897
1897
  :return_type => 'WorkspaceMember')
1898
1898
  if @api_client.config.debugging
1899
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_workspace_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1899
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspace_members_by_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1900
1900
  end
1901
1901
  return data, status_code, headers
1902
1902
  end
@@ -1908,8 +1908,8 @@ module PureCloud
1908
1908
  # @param [Hash] opts the optional parameters
1909
1909
  # @option opts [WorkspaceMember] :body Workspace
1910
1910
  # @return [WorkspaceMember]
1911
- def put_contentmanagement_workspace_member(workspace_id, member_id, opts = {})
1912
- data, status_code, headers = put_contentmanagement_workspace_member_with_http_info(workspace_id, member_id, opts)
1911
+ def update_workspace_members_by_member_id(workspace_id, member_id, opts = {})
1912
+ data, status_code, headers = update_workspace_members_by_member_id_with_http_info(workspace_id, member_id, opts)
1913
1913
  return data
1914
1914
  end
1915
1915
 
@@ -1920,16 +1920,16 @@ module PureCloud
1920
1920
  # @param [Hash] opts the optional parameters
1921
1921
  # @option opts [WorkspaceMember] :body Workspace
1922
1922
  # @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
1923
- def put_contentmanagement_workspace_member_with_http_info(workspace_id, member_id, opts = {})
1923
+ def update_workspace_members_by_member_id_with_http_info(workspace_id, member_id, opts = {})
1924
1924
  if @api_client.config.debugging
1925
- @api_client.config.logger.debug "Calling API: ContentManagementApi#put_contentmanagement_workspace_member ..."
1925
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#update_workspace_members_by_member_id ..."
1926
1926
  end
1927
1927
 
1928
1928
  # verify the required parameter 'workspace_id' is set
1929
- fail "Missing the required parameter 'workspace_id' when calling put_contentmanagement_workspace_member" if workspace_id.nil?
1929
+ fail "Missing the required parameter 'workspace_id' when calling update_workspace_members_by_member_id" if workspace_id.nil?
1930
1930
 
1931
1931
  # verify the required parameter 'member_id' is set
1932
- fail "Missing the required parameter 'member_id' when calling put_contentmanagement_workspace_member" if member_id.nil?
1932
+ fail "Missing the required parameter 'member_id' when calling update_workspace_members_by_member_id" if member_id.nil?
1933
1933
 
1934
1934
  # resource path
1935
1935
  path = "/api/v1/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
@@ -1964,7 +1964,7 @@ module PureCloud
1964
1964
  :auth_names => auth_names,
1965
1965
  :return_type => 'WorkspaceMember')
1966
1966
  if @api_client.config.debugging
1967
- @api_client.config.logger.debug "API called: ContentManagementApi#put_contentmanagement_workspace_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1967
+ @api_client.config.logger.debug "API called: ContentManagementApi#update_workspace_members_by_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1968
1968
  end
1969
1969
  return data, status_code, headers
1970
1970
  end
@@ -1975,8 +1975,8 @@ module PureCloud
1975
1975
  # @param member_id Member ID
1976
1976
  # @param [Hash] opts the optional parameters
1977
1977
  # @return [nil]
1978
- def delete_contentmanagement_workspace_member(workspace_id, member_id, opts = {})
1979
- delete_contentmanagement_workspace_member_with_http_info(workspace_id, member_id, opts)
1978
+ def delete_workspace_members_by_member_id(workspace_id, member_id, opts = {})
1979
+ delete_workspace_members_by_member_id_with_http_info(workspace_id, member_id, opts)
1980
1980
  return nil
1981
1981
  end
1982
1982
 
@@ -1986,16 +1986,16 @@ module PureCloud
1986
1986
  # @param member_id Member ID
1987
1987
  # @param [Hash] opts the optional parameters
1988
1988
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1989
- def delete_contentmanagement_workspace_member_with_http_info(workspace_id, member_id, opts = {})
1989
+ def delete_workspace_members_by_member_id_with_http_info(workspace_id, member_id, opts = {})
1990
1990
  if @api_client.config.debugging
1991
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_contentmanagement_workspace_member ..."
1991
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspace_members_by_member_id ..."
1992
1992
  end
1993
1993
 
1994
1994
  # verify the required parameter 'workspace_id' is set
1995
- fail "Missing the required parameter 'workspace_id' when calling delete_contentmanagement_workspace_member" if workspace_id.nil?
1995
+ fail "Missing the required parameter 'workspace_id' when calling delete_workspace_members_by_member_id" if workspace_id.nil?
1996
1996
 
1997
1997
  # verify the required parameter 'member_id' is set
1998
- fail "Missing the required parameter 'member_id' when calling delete_contentmanagement_workspace_member" if member_id.nil?
1998
+ fail "Missing the required parameter 'member_id' when calling delete_workspace_members_by_member_id" if member_id.nil?
1999
1999
 
2000
2000
  # resource path
2001
2001
  path = "/api/v1/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
@@ -2029,7 +2029,7 @@ module PureCloud
2029
2029
  :body => post_body,
2030
2030
  :auth_names => auth_names)
2031
2031
  if @api_client.config.debugging
2032
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_contentmanagement_workspace_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2032
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspace_members_by_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2033
2033
  end
2034
2034
  return data, status_code, headers
2035
2035
  end
@@ -2043,8 +2043,8 @@ module PureCloud
2043
2043
  # @option opts [Integer] :page_number Page number
2044
2044
  # @option opts [String] :expand Expand some document fields
2045
2045
  # @return [TagValueEntityListing]
2046
- def get_contentmanagement_workspace_tagvalues(workspace_id, opts = {})
2047
- data, status_code, headers = get_contentmanagement_workspace_tagvalues_with_http_info(workspace_id, opts)
2046
+ def get_workspace_tagvalues(workspace_id, opts = {})
2047
+ data, status_code, headers = get_workspace_tagvalues_with_http_info(workspace_id, opts)
2048
2048
  return data
2049
2049
  end
2050
2050
 
@@ -2057,13 +2057,13 @@ module PureCloud
2057
2057
  # @option opts [Integer] :page_number Page number
2058
2058
  # @option opts [String] :expand Expand some document fields
2059
2059
  # @return [Array<(TagValueEntityListing, Fixnum, Hash)>] TagValueEntityListing data, response status code and response headers
2060
- def get_contentmanagement_workspace_tagvalues_with_http_info(workspace_id, opts = {})
2060
+ def get_workspace_tagvalues_with_http_info(workspace_id, opts = {})
2061
2061
  if @api_client.config.debugging
2062
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_workspace_tagvalues ..."
2062
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspace_tagvalues ..."
2063
2063
  end
2064
2064
 
2065
2065
  # verify the required parameter 'workspace_id' is set
2066
- fail "Missing the required parameter 'workspace_id' when calling get_contentmanagement_workspace_tagvalues" if workspace_id.nil?
2066
+ fail "Missing the required parameter 'workspace_id' when calling get_workspace_tagvalues" if workspace_id.nil?
2067
2067
 
2068
2068
  if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
2069
2069
  fail 'invalid value for "expand", must be one of acl'
@@ -2106,7 +2106,7 @@ module PureCloud
2106
2106
  :auth_names => auth_names,
2107
2107
  :return_type => 'TagValueEntityListing')
2108
2108
  if @api_client.config.debugging
2109
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_workspace_tagvalues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2109
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspace_tagvalues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2110
2110
  end
2111
2111
  return data, status_code, headers
2112
2112
  end
@@ -2117,8 +2117,8 @@ module PureCloud
2117
2117
  # @param [Hash] opts the optional parameters
2118
2118
  # @option opts [TagValue] :body tag
2119
2119
  # @return [TagValue]
2120
- def post_contentmanagement_workspace_tagvalues(workspace_id, opts = {})
2121
- data, status_code, headers = post_contentmanagement_workspace_tagvalues_with_http_info(workspace_id, opts)
2120
+ def create_workspace_tagvalues(workspace_id, opts = {})
2121
+ data, status_code, headers = create_workspace_tagvalues_with_http_info(workspace_id, opts)
2122
2122
  return data
2123
2123
  end
2124
2124
 
@@ -2128,13 +2128,13 @@ module PureCloud
2128
2128
  # @param [Hash] opts the optional parameters
2129
2129
  # @option opts [TagValue] :body tag
2130
2130
  # @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
2131
- def post_contentmanagement_workspace_tagvalues_with_http_info(workspace_id, opts = {})
2131
+ def create_workspace_tagvalues_with_http_info(workspace_id, opts = {})
2132
2132
  if @api_client.config.debugging
2133
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_workspace_tagvalues ..."
2133
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_workspace_tagvalues ..."
2134
2134
  end
2135
2135
 
2136
2136
  # verify the required parameter 'workspace_id' is set
2137
- fail "Missing the required parameter 'workspace_id' when calling post_contentmanagement_workspace_tagvalues" if workspace_id.nil?
2137
+ fail "Missing the required parameter 'workspace_id' when calling create_workspace_tagvalues" if workspace_id.nil?
2138
2138
 
2139
2139
  # resource path
2140
2140
  path = "/api/v1/contentmanagement/workspaces/{workspaceId}/tagvalues".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
@@ -2169,7 +2169,7 @@ module PureCloud
2169
2169
  :auth_names => auth_names,
2170
2170
  :return_type => 'TagValue')
2171
2171
  if @api_client.config.debugging
2172
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_workspace_tagvalues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2172
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_workspace_tagvalues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2173
2173
  end
2174
2174
  return data, status_code, headers
2175
2175
  end
@@ -2181,8 +2181,8 @@ module PureCloud
2181
2181
  # @option opts [TagQueryRequest] :body query
2182
2182
  # @option opts [String] :expand Expand some document fields
2183
2183
  # @return [TagValueEntityListing]
2184
- def post_contentmanagement_workspace_tagvalues_query(workspace_id, opts = {})
2185
- data, status_code, headers = post_contentmanagement_workspace_tagvalues_query_with_http_info(workspace_id, opts)
2184
+ def create_workspace_tagvalues_query(workspace_id, opts = {})
2185
+ data, status_code, headers = create_workspace_tagvalues_query_with_http_info(workspace_id, opts)
2186
2186
  return data
2187
2187
  end
2188
2188
 
@@ -2193,13 +2193,13 @@ module PureCloud
2193
2193
  # @option opts [TagQueryRequest] :body query
2194
2194
  # @option opts [String] :expand Expand some document fields
2195
2195
  # @return [Array<(TagValueEntityListing, Fixnum, Hash)>] TagValueEntityListing data, response status code and response headers
2196
- def post_contentmanagement_workspace_tagvalues_query_with_http_info(workspace_id, opts = {})
2196
+ def create_workspace_tagvalues_query_with_http_info(workspace_id, opts = {})
2197
2197
  if @api_client.config.debugging
2198
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_contentmanagement_workspace_tagvalues_query ..."
2198
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#create_workspace_tagvalues_query ..."
2199
2199
  end
2200
2200
 
2201
2201
  # verify the required parameter 'workspace_id' is set
2202
- fail "Missing the required parameter 'workspace_id' when calling post_contentmanagement_workspace_tagvalues_query" if workspace_id.nil?
2202
+ fail "Missing the required parameter 'workspace_id' when calling create_workspace_tagvalues_query" if workspace_id.nil?
2203
2203
 
2204
2204
  if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
2205
2205
  fail 'invalid value for "expand", must be one of acl'
@@ -2239,7 +2239,7 @@ module PureCloud
2239
2239
  :auth_names => auth_names,
2240
2240
  :return_type => 'TagValueEntityListing')
2241
2241
  if @api_client.config.debugging
2242
- @api_client.config.logger.debug "API called: ContentManagementApi#post_contentmanagement_workspace_tagvalues_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2242
+ @api_client.config.logger.debug "API called: ContentManagementApi#create_workspace_tagvalues_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2243
2243
  end
2244
2244
  return data, status_code, headers
2245
2245
  end
@@ -2251,8 +2251,8 @@ module PureCloud
2251
2251
  # @param [Hash] opts the optional parameters
2252
2252
  # @option opts [String] :expand Expand some document fields
2253
2253
  # @return [TagValue]
2254
- def get_contentmanagement_workspace_tagvalue(workspace_id, tag_id, opts = {})
2255
- data, status_code, headers = get_contentmanagement_workspace_tagvalue_with_http_info(workspace_id, tag_id, opts)
2254
+ def get_workspace_tagvalues_by_tag_id(workspace_id, tag_id, opts = {})
2255
+ data, status_code, headers = get_workspace_tagvalues_by_tag_id_with_http_info(workspace_id, tag_id, opts)
2256
2256
  return data
2257
2257
  end
2258
2258
 
@@ -2263,16 +2263,16 @@ module PureCloud
2263
2263
  # @param [Hash] opts the optional parameters
2264
2264
  # @option opts [String] :expand Expand some document fields
2265
2265
  # @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
2266
- def get_contentmanagement_workspace_tagvalue_with_http_info(workspace_id, tag_id, opts = {})
2266
+ def get_workspace_tagvalues_by_tag_id_with_http_info(workspace_id, tag_id, opts = {})
2267
2267
  if @api_client.config.debugging
2268
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_contentmanagement_workspace_tagvalue ..."
2268
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspace_tagvalues_by_tag_id ..."
2269
2269
  end
2270
2270
 
2271
2271
  # verify the required parameter 'workspace_id' is set
2272
- fail "Missing the required parameter 'workspace_id' when calling get_contentmanagement_workspace_tagvalue" if workspace_id.nil?
2272
+ fail "Missing the required parameter 'workspace_id' when calling get_workspace_tagvalues_by_tag_id" if workspace_id.nil?
2273
2273
 
2274
2274
  # verify the required parameter 'tag_id' is set
2275
- fail "Missing the required parameter 'tag_id' when calling get_contentmanagement_workspace_tagvalue" if tag_id.nil?
2275
+ fail "Missing the required parameter 'tag_id' when calling get_workspace_tagvalues_by_tag_id" if tag_id.nil?
2276
2276
 
2277
2277
  if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
2278
2278
  fail 'invalid value for "expand", must be one of acl'
@@ -2312,7 +2312,7 @@ module PureCloud
2312
2312
  :auth_names => auth_names,
2313
2313
  :return_type => 'TagValue')
2314
2314
  if @api_client.config.debugging
2315
- @api_client.config.logger.debug "API called: ContentManagementApi#get_contentmanagement_workspace_tagvalue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2315
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspace_tagvalues_by_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2316
2316
  end
2317
2317
  return data, status_code, headers
2318
2318
  end
@@ -2324,8 +2324,8 @@ module PureCloud
2324
2324
  # @param [Hash] opts the optional parameters
2325
2325
  # @option opts [TagValue] :body Workspace
2326
2326
  # @return [TagValue]
2327
- def put_contentmanagement_workspace_tagvalue(workspace_id, tag_id, opts = {})
2328
- data, status_code, headers = put_contentmanagement_workspace_tagvalue_with_http_info(workspace_id, tag_id, opts)
2327
+ def update_workspace_tagvalues_by_tag_id(workspace_id, tag_id, opts = {})
2328
+ data, status_code, headers = update_workspace_tagvalues_by_tag_id_with_http_info(workspace_id, tag_id, opts)
2329
2329
  return data
2330
2330
  end
2331
2331
 
@@ -2336,16 +2336,16 @@ module PureCloud
2336
2336
  # @param [Hash] opts the optional parameters
2337
2337
  # @option opts [TagValue] :body Workspace
2338
2338
  # @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
2339
- def put_contentmanagement_workspace_tagvalue_with_http_info(workspace_id, tag_id, opts = {})
2339
+ def update_workspace_tagvalues_by_tag_id_with_http_info(workspace_id, tag_id, opts = {})
2340
2340
  if @api_client.config.debugging
2341
- @api_client.config.logger.debug "Calling API: ContentManagementApi#put_contentmanagement_workspace_tagvalue ..."
2341
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#update_workspace_tagvalues_by_tag_id ..."
2342
2342
  end
2343
2343
 
2344
2344
  # verify the required parameter 'workspace_id' is set
2345
- fail "Missing the required parameter 'workspace_id' when calling put_contentmanagement_workspace_tagvalue" if workspace_id.nil?
2345
+ fail "Missing the required parameter 'workspace_id' when calling update_workspace_tagvalues_by_tag_id" if workspace_id.nil?
2346
2346
 
2347
2347
  # verify the required parameter 'tag_id' is set
2348
- fail "Missing the required parameter 'tag_id' when calling put_contentmanagement_workspace_tagvalue" if tag_id.nil?
2348
+ fail "Missing the required parameter 'tag_id' when calling update_workspace_tagvalues_by_tag_id" if tag_id.nil?
2349
2349
 
2350
2350
  # resource path
2351
2351
  path = "/api/v1/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
@@ -2380,7 +2380,7 @@ module PureCloud
2380
2380
  :auth_names => auth_names,
2381
2381
  :return_type => 'TagValue')
2382
2382
  if @api_client.config.debugging
2383
- @api_client.config.logger.debug "API called: ContentManagementApi#put_contentmanagement_workspace_tagvalue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2383
+ @api_client.config.logger.debug "API called: ContentManagementApi#update_workspace_tagvalues_by_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2384
2384
  end
2385
2385
  return data, status_code, headers
2386
2386
  end
@@ -2391,8 +2391,8 @@ module PureCloud
2391
2391
  # @param tag_id Tag ID
2392
2392
  # @param [Hash] opts the optional parameters
2393
2393
  # @return [nil]
2394
- def delete_contentmanagement_workspace_tagvalue(workspace_id, tag_id, opts = {})
2395
- delete_contentmanagement_workspace_tagvalue_with_http_info(workspace_id, tag_id, opts)
2394
+ def delete_workspace_tagvalues_by_tag_id(workspace_id, tag_id, opts = {})
2395
+ delete_workspace_tagvalues_by_tag_id_with_http_info(workspace_id, tag_id, opts)
2396
2396
  return nil
2397
2397
  end
2398
2398
 
@@ -2402,16 +2402,16 @@ module PureCloud
2402
2402
  # @param tag_id Tag ID
2403
2403
  # @param [Hash] opts the optional parameters
2404
2404
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2405
- def delete_contentmanagement_workspace_tagvalue_with_http_info(workspace_id, tag_id, opts = {})
2405
+ def delete_workspace_tagvalues_by_tag_id_with_http_info(workspace_id, tag_id, opts = {})
2406
2406
  if @api_client.config.debugging
2407
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_contentmanagement_workspace_tagvalue ..."
2407
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspace_tagvalues_by_tag_id ..."
2408
2408
  end
2409
2409
 
2410
2410
  # verify the required parameter 'workspace_id' is set
2411
- fail "Missing the required parameter 'workspace_id' when calling delete_contentmanagement_workspace_tagvalue" if workspace_id.nil?
2411
+ fail "Missing the required parameter 'workspace_id' when calling delete_workspace_tagvalues_by_tag_id" if workspace_id.nil?
2412
2412
 
2413
2413
  # verify the required parameter 'tag_id' is set
2414
- fail "Missing the required parameter 'tag_id' when calling delete_contentmanagement_workspace_tagvalue" if tag_id.nil?
2414
+ fail "Missing the required parameter 'tag_id' when calling delete_workspace_tagvalues_by_tag_id" if tag_id.nil?
2415
2415
 
2416
2416
  # resource path
2417
2417
  path = "/api/v1/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
@@ -2445,7 +2445,7 @@ module PureCloud
2445
2445
  :body => post_body,
2446
2446
  :auth_names => auth_names)
2447
2447
  if @api_client.config.debugging
2448
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_contentmanagement_workspace_tagvalue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2448
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspace_tagvalues_by_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2449
2449
  end
2450
2450
  return data, status_code, headers
2451
2451
  end