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
@@ -15,8 +15,8 @@ module PureCloud
15
15
  # @option opts [Integer] :page_number Page number
16
16
  # @option opts [String] :expand conversation
17
17
  # @return [UserRecordingEntityListing]
18
- def get_userrecordings(opts = {})
19
- data, status_code, headers = get_userrecordings_with_http_info(opts)
18
+ def get(opts = {})
19
+ data, status_code, headers = get_with_http_info(opts)
20
20
  return data
21
21
  end
22
22
 
@@ -27,9 +27,9 @@ module PureCloud
27
27
  # @option opts [Integer] :page_number Page number
28
28
  # @option opts [String] :expand conversation
29
29
  # @return [Array<(UserRecordingEntityListing, Fixnum, Hash)>] UserRecordingEntityListing data, response status code and response headers
30
- def get_userrecordings_with_http_info(opts = {})
30
+ def get_with_http_info(opts = {})
31
31
  if @api_client.config.debugging
32
- @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_userrecordings ..."
32
+ @api_client.config.logger.debug "Calling API: UserRecordingsApi#get ..."
33
33
  end
34
34
 
35
35
  # resource path
@@ -68,7 +68,7 @@ module PureCloud
68
68
  :auth_names => auth_names,
69
69
  :return_type => 'UserRecordingEntityListing')
70
70
  if @api_client.config.debugging
71
- @api_client.config.logger.debug "API called: UserRecordingsApi#get_userrecordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
71
+ @api_client.config.logger.debug "API called: UserRecordingsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
72
72
  end
73
73
  return data, status_code, headers
74
74
  end
@@ -77,8 +77,8 @@ module PureCloud
77
77
  #
78
78
  # @param [Hash] opts the optional parameters
79
79
  # @return [FaxSummary]
80
- def get_userrecordings_summary(opts = {})
81
- data, status_code, headers = get_userrecordings_summary_with_http_info(opts)
80
+ def get_summary(opts = {})
81
+ data, status_code, headers = get_summary_with_http_info(opts)
82
82
  return data
83
83
  end
84
84
 
@@ -86,9 +86,9 @@ module PureCloud
86
86
  #
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @return [Array<(FaxSummary, Fixnum, Hash)>] FaxSummary data, response status code and response headers
89
- def get_userrecordings_summary_with_http_info(opts = {})
89
+ def get_summary_with_http_info(opts = {})
90
90
  if @api_client.config.debugging
91
- @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_userrecordings_summary ..."
91
+ @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_summary ..."
92
92
  end
93
93
 
94
94
  # resource path
@@ -124,7 +124,7 @@ module PureCloud
124
124
  :auth_names => auth_names,
125
125
  :return_type => 'FaxSummary')
126
126
  if @api_client.config.debugging
127
- @api_client.config.logger.debug "API called: UserRecordingsApi#get_userrecordings_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
127
+ @api_client.config.logger.debug "API called: UserRecordingsApi#get_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
128
128
  end
129
129
  return data, status_code, headers
130
130
  end
@@ -135,8 +135,8 @@ module PureCloud
135
135
  # @param [Hash] opts the optional parameters
136
136
  # @option opts [String] :expand conversation
137
137
  # @return [UserRecording]
138
- def get_userrecording(recording_id, opts = {})
139
- data, status_code, headers = get_userrecording_with_http_info(recording_id, opts)
138
+ def get_recording(recording_id, opts = {})
139
+ data, status_code, headers = get_recording_with_http_info(recording_id, opts)
140
140
  return data
141
141
  end
142
142
 
@@ -146,13 +146,13 @@ module PureCloud
146
146
  # @param [Hash] opts the optional parameters
147
147
  # @option opts [String] :expand conversation
148
148
  # @return [Array<(UserRecording, Fixnum, Hash)>] UserRecording data, response status code and response headers
149
- def get_userrecording_with_http_info(recording_id, opts = {})
149
+ def get_recording_with_http_info(recording_id, opts = {})
150
150
  if @api_client.config.debugging
151
- @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_userrecording ..."
151
+ @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_recording ..."
152
152
  end
153
153
 
154
154
  # verify the required parameter 'recording_id' is set
155
- fail "Missing the required parameter 'recording_id' when calling get_userrecording" if recording_id.nil?
155
+ fail "Missing the required parameter 'recording_id' when calling get_recording" if recording_id.nil?
156
156
 
157
157
  # resource path
158
158
  path = "/api/v1/userrecordings/{recordingId}".sub('{format}','json').sub('{' + 'recordingId' + '}', recording_id.to_s)
@@ -188,7 +188,7 @@ module PureCloud
188
188
  :auth_names => auth_names,
189
189
  :return_type => 'UserRecording')
190
190
  if @api_client.config.debugging
191
- @api_client.config.logger.debug "API called: UserRecordingsApi#get_userrecording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
191
+ @api_client.config.logger.debug "API called: UserRecordingsApi#get_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
192
192
  end
193
193
  return data, status_code, headers
194
194
  end
@@ -200,8 +200,8 @@ module PureCloud
200
200
  # @option opts [UserRecording] :body UserRecording
201
201
  # @option opts [String] :expand conversation
202
202
  # @return [UserRecording]
203
- def put_userrecording(recording_id, opts = {})
204
- data, status_code, headers = put_userrecording_with_http_info(recording_id, opts)
203
+ def update_recording(recording_id, opts = {})
204
+ data, status_code, headers = update_recording_with_http_info(recording_id, opts)
205
205
  return data
206
206
  end
207
207
 
@@ -212,13 +212,13 @@ module PureCloud
212
212
  # @option opts [UserRecording] :body UserRecording
213
213
  # @option opts [String] :expand conversation
214
214
  # @return [Array<(UserRecording, Fixnum, Hash)>] UserRecording data, response status code and response headers
215
- def put_userrecording_with_http_info(recording_id, opts = {})
215
+ def update_recording_with_http_info(recording_id, opts = {})
216
216
  if @api_client.config.debugging
217
- @api_client.config.logger.debug "Calling API: UserRecordingsApi#put_userrecording ..."
217
+ @api_client.config.logger.debug "Calling API: UserRecordingsApi#update_recording ..."
218
218
  end
219
219
 
220
220
  # verify the required parameter 'recording_id' is set
221
- fail "Missing the required parameter 'recording_id' when calling put_userrecording" if recording_id.nil?
221
+ fail "Missing the required parameter 'recording_id' when calling update_recording" if recording_id.nil?
222
222
 
223
223
  # resource path
224
224
  path = "/api/v1/userrecordings/{recordingId}".sub('{format}','json').sub('{' + 'recordingId' + '}', recording_id.to_s)
@@ -254,7 +254,7 @@ module PureCloud
254
254
  :auth_names => auth_names,
255
255
  :return_type => 'UserRecording')
256
256
  if @api_client.config.debugging
257
- @api_client.config.logger.debug "API called: UserRecordingsApi#put_userrecording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
257
+ @api_client.config.logger.debug "API called: UserRecordingsApi#update_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
258
258
  end
259
259
  return data, status_code, headers
260
260
  end
@@ -264,8 +264,8 @@ module PureCloud
264
264
  # @param recording_id User Recording ID
265
265
  # @param [Hash] opts the optional parameters
266
266
  # @return [nil]
267
- def delete_userrecording(recording_id, opts = {})
268
- delete_userrecording_with_http_info(recording_id, opts)
267
+ def delete_recording(recording_id, opts = {})
268
+ delete_recording_with_http_info(recording_id, opts)
269
269
  return nil
270
270
  end
271
271
 
@@ -274,13 +274,13 @@ module PureCloud
274
274
  # @param recording_id User Recording ID
275
275
  # @param [Hash] opts the optional parameters
276
276
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
277
- def delete_userrecording_with_http_info(recording_id, opts = {})
277
+ def delete_recording_with_http_info(recording_id, opts = {})
278
278
  if @api_client.config.debugging
279
- @api_client.config.logger.debug "Calling API: UserRecordingsApi#delete_userrecording ..."
279
+ @api_client.config.logger.debug "Calling API: UserRecordingsApi#delete_recording ..."
280
280
  end
281
281
 
282
282
  # verify the required parameter 'recording_id' is set
283
- fail "Missing the required parameter 'recording_id' when calling delete_userrecording" if recording_id.nil?
283
+ fail "Missing the required parameter 'recording_id' when calling delete_recording" if recording_id.nil?
284
284
 
285
285
  # resource path
286
286
  path = "/api/v1/userrecordings/{recordingId}".sub('{format}','json').sub('{' + 'recordingId' + '}', recording_id.to_s)
@@ -314,7 +314,7 @@ module PureCloud
314
314
  :body => post_body,
315
315
  :auth_names => auth_names)
316
316
  if @api_client.config.debugging
317
- @api_client.config.logger.debug "API called: UserRecordingsApi#delete_userrecording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
317
+ @api_client.config.logger.debug "API called: UserRecordingsApi#delete_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
318
318
  end
319
319
  return data, status_code, headers
320
320
  end
@@ -325,8 +325,8 @@ module PureCloud
325
325
  # @param [Hash] opts the optional parameters
326
326
  # @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
327
327
  # @return [DownloadResponse]
328
- def get_userrecording_media(recording_id, opts = {})
329
- data, status_code, headers = get_userrecording_media_with_http_info(recording_id, opts)
328
+ def get_recording_media(recording_id, opts = {})
329
+ data, status_code, headers = get_recording_media_with_http_info(recording_id, opts)
330
330
  return data
331
331
  end
332
332
 
@@ -336,13 +336,13 @@ module PureCloud
336
336
  # @param [Hash] opts the optional parameters
337
337
  # @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
338
338
  # @return [Array<(DownloadResponse, Fixnum, Hash)>] DownloadResponse data, response status code and response headers
339
- def get_userrecording_media_with_http_info(recording_id, opts = {})
339
+ def get_recording_media_with_http_info(recording_id, opts = {})
340
340
  if @api_client.config.debugging
341
- @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_userrecording_media ..."
341
+ @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_recording_media ..."
342
342
  end
343
343
 
344
344
  # verify the required parameter 'recording_id' is set
345
- fail "Missing the required parameter 'recording_id' when calling get_userrecording_media" if recording_id.nil?
345
+ fail "Missing the required parameter 'recording_id' when calling get_recording_media" if recording_id.nil?
346
346
 
347
347
  if opts[:'format_id'] && !['WEBM', 'WAV'].include?(opts[:'format_id'])
348
348
  fail 'invalid value for "format_id", must be one of WEBM, WAV'
@@ -382,7 +382,7 @@ module PureCloud
382
382
  :auth_names => auth_names,
383
383
  :return_type => 'DownloadResponse')
384
384
  if @api_client.config.debugging
385
- @api_client.config.logger.debug "API called: UserRecordingsApi#get_userrecording_media\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
385
+ @api_client.config.logger.debug "API called: UserRecordingsApi#get_recording_media\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
386
386
  end
387
387
  return data, status_code, headers
388
388
  end
@@ -21,8 +21,8 @@ module PureCloud
21
21
  # @option opts [Array<String>] :skill Skill
22
22
  # @option opts [Array<String>] :expand Which fields, if any, to expand
23
23
  # @return [UsersEntityListing]
24
- def get_users(opts = {})
25
- data, status_code, headers = get_users_with_http_info(opts)
24
+ def get(opts = {})
25
+ data, status_code, headers = get_with_http_info(opts)
26
26
  return data
27
27
  end
28
28
 
@@ -39,9 +39,9 @@ module PureCloud
39
39
  # @option opts [Array<String>] :skill Skill
40
40
  # @option opts [Array<String>] :expand Which fields, if any, to expand
41
41
  # @return [Array<(UsersEntityListing, Fixnum, Hash)>] UsersEntityListing data, response status code and response headers
42
- def get_users_with_http_info(opts = {})
42
+ def get_with_http_info(opts = {})
43
43
  if @api_client.config.debugging
44
- @api_client.config.logger.debug "Calling API: UsersApi#get_users ..."
44
+ @api_client.config.logger.debug "Calling API: UsersApi#get ..."
45
45
  end
46
46
 
47
47
  # resource path
@@ -86,7 +86,7 @@ module PureCloud
86
86
  :auth_names => auth_names,
87
87
  :return_type => 'UsersEntityListing')
88
88
  if @api_client.config.debugging
89
- @api_client.config.logger.debug "API called: UsersApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
89
+ @api_client.config.logger.debug "API called: UsersApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
90
  end
91
91
  return data, status_code, headers
92
92
  end
@@ -96,8 +96,8 @@ module PureCloud
96
96
  # @param [Hash] opts the optional parameters
97
97
  # @option opts [User] :body User
98
98
  # @return [User]
99
- def post_users(opts = {})
100
- data, status_code, headers = post_users_with_http_info(opts)
99
+ def create(opts = {})
100
+ data, status_code, headers = create_with_http_info(opts)
101
101
  return data
102
102
  end
103
103
 
@@ -106,9 +106,9 @@ module PureCloud
106
106
  # @param [Hash] opts the optional parameters
107
107
  # @option opts [User] :body User
108
108
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
109
- def post_users_with_http_info(opts = {})
109
+ def create_with_http_info(opts = {})
110
110
  if @api_client.config.debugging
111
- @api_client.config.logger.debug "Calling API: UsersApi#post_users ..."
111
+ @api_client.config.logger.debug "Calling API: UsersApi#create ..."
112
112
  end
113
113
 
114
114
  # resource path
@@ -144,7 +144,7 @@ module PureCloud
144
144
  :auth_names => auth_names,
145
145
  :return_type => 'User')
146
146
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: UsersApi#post_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: UsersApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
148
  end
149
149
  return data, status_code, headers
150
150
  end
@@ -214,8 +214,8 @@ module PureCloud
214
214
  # @param [Hash] opts the optional parameters
215
215
  # @option opts [Array<String>] :expand Which fields, if any, to expand
216
216
  # @return [User]
217
- def get(user_id, opts = {})
218
- data, status_code, headers = get_with_http_info(user_id, opts)
217
+ def get_user(user_id, opts = {})
218
+ data, status_code, headers = get_user_with_http_info(user_id, opts)
219
219
  return data
220
220
  end
221
221
 
@@ -225,13 +225,13 @@ module PureCloud
225
225
  # @param [Hash] opts the optional parameters
226
226
  # @option opts [Array<String>] :expand Which fields, if any, to expand
227
227
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
228
- def get_with_http_info(user_id, opts = {})
228
+ def get_user_with_http_info(user_id, opts = {})
229
229
  if @api_client.config.debugging
230
- @api_client.config.logger.debug "Calling API: UsersApi#get ..."
230
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user ..."
231
231
  end
232
232
 
233
233
  # verify the required parameter 'user_id' is set
234
- fail "Missing the required parameter 'user_id' when calling get" if user_id.nil?
234
+ fail "Missing the required parameter 'user_id' when calling get_user" if user_id.nil?
235
235
 
236
236
  # resource path
237
237
  path = "/api/v1/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -267,7 +267,7 @@ module PureCloud
267
267
  :auth_names => auth_names,
268
268
  :return_type => 'User')
269
269
  if @api_client.config.debugging
270
- @api_client.config.logger.debug "API called: UsersApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
270
+ @api_client.config.logger.debug "API called: UsersApi#get_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
271
271
  end
272
272
  return data, status_code, headers
273
273
  end
@@ -278,8 +278,8 @@ module PureCloud
278
278
  # @param body stationUri
279
279
  # @param [Hash] opts the optional parameters
280
280
  # @return [User]
281
- def put(user_id, body, opts = {})
282
- data, status_code, headers = put_with_http_info(user_id, body, opts)
281
+ def update_user(user_id, body, opts = {})
282
+ data, status_code, headers = update_user_with_http_info(user_id, body, opts)
283
283
  return data
284
284
  end
285
285
 
@@ -289,16 +289,16 @@ module PureCloud
289
289
  # @param body stationUri
290
290
  # @param [Hash] opts the optional parameters
291
291
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
292
- def put_with_http_info(user_id, body, opts = {})
292
+ def update_user_with_http_info(user_id, body, opts = {})
293
293
  if @api_client.config.debugging
294
- @api_client.config.logger.debug "Calling API: UsersApi#put ..."
294
+ @api_client.config.logger.debug "Calling API: UsersApi#update_user ..."
295
295
  end
296
296
 
297
297
  # verify the required parameter 'user_id' is set
298
- fail "Missing the required parameter 'user_id' when calling put" if user_id.nil?
298
+ fail "Missing the required parameter 'user_id' when calling update_user" if user_id.nil?
299
299
 
300
300
  # verify the required parameter 'body' is set
301
- fail "Missing the required parameter 'body' when calling put" if body.nil?
301
+ fail "Missing the required parameter 'body' when calling update_user" if body.nil?
302
302
 
303
303
  # resource path
304
304
  path = "/api/v1/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -333,7 +333,7 @@ module PureCloud
333
333
  :auth_names => auth_names,
334
334
  :return_type => 'User')
335
335
  if @api_client.config.debugging
336
- @api_client.config.logger.debug "API called: UsersApi#put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
336
+ @api_client.config.logger.debug "API called: UsersApi#update_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
337
337
  end
338
338
  return data, status_code, headers
339
339
  end
@@ -343,8 +343,8 @@ module PureCloud
343
343
  # @param user_id User ID
344
344
  # @param [Hash] opts the optional parameters
345
345
  # @return [CallForwarding]
346
- def get_callforwarding(user_id, opts = {})
347
- data, status_code, headers = get_callforwarding_with_http_info(user_id, opts)
346
+ def get_user_callforwarding(user_id, opts = {})
347
+ data, status_code, headers = get_user_callforwarding_with_http_info(user_id, opts)
348
348
  return data
349
349
  end
350
350
 
@@ -353,13 +353,13 @@ module PureCloud
353
353
  # @param user_id User ID
354
354
  # @param [Hash] opts the optional parameters
355
355
  # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
356
- def get_callforwarding_with_http_info(user_id, opts = {})
356
+ def get_user_callforwarding_with_http_info(user_id, opts = {})
357
357
  if @api_client.config.debugging
358
- @api_client.config.logger.debug "Calling API: UsersApi#get_callforwarding ..."
358
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_callforwarding ..."
359
359
  end
360
360
 
361
361
  # verify the required parameter 'user_id' is set
362
- fail "Missing the required parameter 'user_id' when calling get_callforwarding" if user_id.nil?
362
+ fail "Missing the required parameter 'user_id' when calling get_user_callforwarding" if user_id.nil?
363
363
 
364
364
  # resource path
365
365
  path = "/api/v1/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -394,7 +394,7 @@ module PureCloud
394
394
  :auth_names => auth_names,
395
395
  :return_type => 'CallForwarding')
396
396
  if @api_client.config.debugging
397
- @api_client.config.logger.debug "API called: UsersApi#get_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
397
+ @api_client.config.logger.debug "API called: UsersApi#get_user_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
398
398
  end
399
399
  return data, status_code, headers
400
400
  end
@@ -405,8 +405,8 @@ module PureCloud
405
405
  # @param [Hash] opts the optional parameters
406
406
  # @option opts [CallForwarding] :body
407
407
  # @return [CallForwarding]
408
- def put_callforwarding(user_id, opts = {})
409
- data, status_code, headers = put_callforwarding_with_http_info(user_id, opts)
408
+ def update_user_callforwarding(user_id, opts = {})
409
+ data, status_code, headers = update_user_callforwarding_with_http_info(user_id, opts)
410
410
  return data
411
411
  end
412
412
 
@@ -416,13 +416,13 @@ module PureCloud
416
416
  # @param [Hash] opts the optional parameters
417
417
  # @option opts [CallForwarding] :body
418
418
  # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
419
- def put_callforwarding_with_http_info(user_id, opts = {})
419
+ def update_user_callforwarding_with_http_info(user_id, opts = {})
420
420
  if @api_client.config.debugging
421
- @api_client.config.logger.debug "Calling API: UsersApi#put_callforwarding ..."
421
+ @api_client.config.logger.debug "Calling API: UsersApi#update_user_callforwarding ..."
422
422
  end
423
423
 
424
424
  # verify the required parameter 'user_id' is set
425
- fail "Missing the required parameter 'user_id' when calling put_callforwarding" if user_id.nil?
425
+ fail "Missing the required parameter 'user_id' when calling update_user_callforwarding" if user_id.nil?
426
426
 
427
427
  # resource path
428
428
  path = "/api/v1/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -457,7 +457,7 @@ module PureCloud
457
457
  :auth_names => auth_names,
458
458
  :return_type => 'CallForwarding')
459
459
  if @api_client.config.debugging
460
- @api_client.config.logger.debug "API called: UsersApi#put_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
460
+ @api_client.config.logger.debug "API called: UsersApi#update_user_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
461
461
  end
462
462
  return data, status_code, headers
463
463
  end
@@ -468,8 +468,8 @@ module PureCloud
468
468
  # @param [Hash] opts the optional parameters
469
469
  # @option opts [CallForwarding] :body
470
470
  # @return [CallForwarding]
471
- def patch_callforwarding(user_id, opts = {})
472
- data, status_code, headers = patch_callforwarding_with_http_info(user_id, opts)
471
+ def patch_user_callforwarding(user_id, opts = {})
472
+ data, status_code, headers = patch_user_callforwarding_with_http_info(user_id, opts)
473
473
  return data
474
474
  end
475
475
 
@@ -479,13 +479,13 @@ module PureCloud
479
479
  # @param [Hash] opts the optional parameters
480
480
  # @option opts [CallForwarding] :body
481
481
  # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
482
- def patch_callforwarding_with_http_info(user_id, opts = {})
482
+ def patch_user_callforwarding_with_http_info(user_id, opts = {})
483
483
  if @api_client.config.debugging
484
- @api_client.config.logger.debug "Calling API: UsersApi#patch_callforwarding ..."
484
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_callforwarding ..."
485
485
  end
486
486
 
487
487
  # verify the required parameter 'user_id' is set
488
- fail "Missing the required parameter 'user_id' when calling patch_callforwarding" if user_id.nil?
488
+ fail "Missing the required parameter 'user_id' when calling patch_user_callforwarding" if user_id.nil?
489
489
 
490
490
  # resource path
491
491
  path = "/api/v1/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -520,7 +520,7 @@ module PureCloud
520
520
  :auth_names => auth_names,
521
521
  :return_type => 'CallForwarding')
522
522
  if @api_client.config.debugging
523
- @api_client.config.logger.debug "API called: UsersApi#patch_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
523
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
524
524
  end
525
525
  return data, status_code, headers
526
526
  end
@@ -531,8 +531,8 @@ module PureCloud
531
531
  # @param client_id client Id
532
532
  # @param [Hash] opts the optional parameters
533
533
  # @return [Geolocation]
534
- def get_geolocation(user_id, client_id, opts = {})
535
- data, status_code, headers = get_geolocation_with_http_info(user_id, client_id, opts)
534
+ def get_user_geolocations_by_client_id(user_id, client_id, opts = {})
535
+ data, status_code, headers = get_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts)
536
536
  return data
537
537
  end
538
538
 
@@ -542,16 +542,16 @@ module PureCloud
542
542
  # @param client_id client Id
543
543
  # @param [Hash] opts the optional parameters
544
544
  # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
545
- def get_geolocation_with_http_info(user_id, client_id, opts = {})
545
+ def get_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts = {})
546
546
  if @api_client.config.debugging
547
- @api_client.config.logger.debug "Calling API: UsersApi#get_geolocation ..."
547
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_geolocations_by_client_id ..."
548
548
  end
549
549
 
550
550
  # verify the required parameter 'user_id' is set
551
- fail "Missing the required parameter 'user_id' when calling get_geolocation" if user_id.nil?
551
+ fail "Missing the required parameter 'user_id' when calling get_user_geolocations_by_client_id" if user_id.nil?
552
552
 
553
553
  # verify the required parameter 'client_id' is set
554
- fail "Missing the required parameter 'client_id' when calling get_geolocation" if client_id.nil?
554
+ fail "Missing the required parameter 'client_id' when calling get_user_geolocations_by_client_id" if client_id.nil?
555
555
 
556
556
  # resource path
557
557
  path = "/api/v1/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
@@ -586,7 +586,7 @@ module PureCloud
586
586
  :auth_names => auth_names,
587
587
  :return_type => 'Geolocation')
588
588
  if @api_client.config.debugging
589
- @api_client.config.logger.debug "API called: UsersApi#get_geolocation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
589
+ @api_client.config.logger.debug "API called: UsersApi#get_user_geolocations_by_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
590
590
  end
591
591
  return data, status_code, headers
592
592
  end
@@ -598,8 +598,8 @@ module PureCloud
598
598
  # @param [Hash] opts the optional parameters
599
599
  # @option opts [Geolocation] :body
600
600
  # @return [Geolocation]
601
- def patch_geolocation(user_id, client_id, opts = {})
602
- data, status_code, headers = patch_geolocation_with_http_info(user_id, client_id, opts)
601
+ def patch_user_geolocations_by_client_id(user_id, client_id, opts = {})
602
+ data, status_code, headers = patch_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts)
603
603
  return data
604
604
  end
605
605
 
@@ -610,16 +610,16 @@ module PureCloud
610
610
  # @param [Hash] opts the optional parameters
611
611
  # @option opts [Geolocation] :body
612
612
  # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
613
- def patch_geolocation_with_http_info(user_id, client_id, opts = {})
613
+ def patch_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts = {})
614
614
  if @api_client.config.debugging
615
- @api_client.config.logger.debug "Calling API: UsersApi#patch_geolocation ..."
615
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_geolocations_by_client_id ..."
616
616
  end
617
617
 
618
618
  # verify the required parameter 'user_id' is set
619
- fail "Missing the required parameter 'user_id' when calling patch_geolocation" if user_id.nil?
619
+ fail "Missing the required parameter 'user_id' when calling patch_user_geolocations_by_client_id" if user_id.nil?
620
620
 
621
621
  # verify the required parameter 'client_id' is set
622
- fail "Missing the required parameter 'client_id' when calling patch_geolocation" if client_id.nil?
622
+ fail "Missing the required parameter 'client_id' when calling patch_user_geolocations_by_client_id" if client_id.nil?
623
623
 
624
624
  # resource path
625
625
  path = "/api/v1/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
@@ -654,7 +654,7 @@ module PureCloud
654
654
  :auth_names => auth_names,
655
655
  :return_type => 'Geolocation')
656
656
  if @api_client.config.debugging
657
- @api_client.config.logger.debug "API called: UsersApi#patch_geolocation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
657
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_geolocations_by_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
658
658
  end
659
659
  return data, status_code, headers
660
660
  end
@@ -664,8 +664,8 @@ module PureCloud
664
664
  # @param user_id User ID
665
665
  # @param [Hash] opts the optional parameters
666
666
  # @return [OutOfOffice]
667
- def get_outofoffice(user_id, opts = {})
668
- data, status_code, headers = get_outofoffice_with_http_info(user_id, opts)
667
+ def get_user_outofoffice(user_id, opts = {})
668
+ data, status_code, headers = get_user_outofoffice_with_http_info(user_id, opts)
669
669
  return data
670
670
  end
671
671
 
@@ -674,13 +674,13 @@ module PureCloud
674
674
  # @param user_id User ID
675
675
  # @param [Hash] opts the optional parameters
676
676
  # @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
677
- def get_outofoffice_with_http_info(user_id, opts = {})
677
+ def get_user_outofoffice_with_http_info(user_id, opts = {})
678
678
  if @api_client.config.debugging
679
- @api_client.config.logger.debug "Calling API: UsersApi#get_outofoffice ..."
679
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_outofoffice ..."
680
680
  end
681
681
 
682
682
  # verify the required parameter 'user_id' is set
683
- fail "Missing the required parameter 'user_id' when calling get_outofoffice" if user_id.nil?
683
+ fail "Missing the required parameter 'user_id' when calling get_user_outofoffice" if user_id.nil?
684
684
 
685
685
  # resource path
686
686
  path = "/api/v1/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -715,7 +715,7 @@ module PureCloud
715
715
  :auth_names => auth_names,
716
716
  :return_type => 'OutOfOffice')
717
717
  if @api_client.config.debugging
718
- @api_client.config.logger.debug "API called: UsersApi#get_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
718
+ @api_client.config.logger.debug "API called: UsersApi#get_user_outofoffice\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 body The updated UserPresence
727
727
  # @param [Hash] opts the optional parameters
728
728
  # @return [OutOfOffice]
729
- def put_outofoffice(user_id, body, opts = {})
730
- data, status_code, headers = put_outofoffice_with_http_info(user_id, body, opts)
729
+ def update_user_outofoffice(user_id, body, opts = {})
730
+ data, status_code, headers = update_user_outofoffice_with_http_info(user_id, body, opts)
731
731
  return data
732
732
  end
733
733
 
@@ -737,16 +737,16 @@ module PureCloud
737
737
  # @param body The updated UserPresence
738
738
  # @param [Hash] opts the optional parameters
739
739
  # @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
740
- def put_outofoffice_with_http_info(user_id, body, opts = {})
740
+ def update_user_outofoffice_with_http_info(user_id, body, opts = {})
741
741
  if @api_client.config.debugging
742
- @api_client.config.logger.debug "Calling API: UsersApi#put_outofoffice ..."
742
+ @api_client.config.logger.debug "Calling API: UsersApi#update_user_outofoffice ..."
743
743
  end
744
744
 
745
745
  # verify the required parameter 'user_id' is set
746
- fail "Missing the required parameter 'user_id' when calling put_outofoffice" if user_id.nil?
746
+ fail "Missing the required parameter 'user_id' when calling update_user_outofoffice" if user_id.nil?
747
747
 
748
748
  # verify the required parameter 'body' is set
749
- fail "Missing the required parameter 'body' when calling put_outofoffice" if body.nil?
749
+ fail "Missing the required parameter 'body' when calling update_user_outofoffice" if body.nil?
750
750
 
751
751
  # resource path
752
752
  path = "/api/v1/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -781,7 +781,7 @@ module PureCloud
781
781
  :auth_names => auth_names,
782
782
  :return_type => 'OutOfOffice')
783
783
  if @api_client.config.debugging
784
- @api_client.config.logger.debug "API called: UsersApi#put_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
784
+ @api_client.config.logger.debug "API called: UsersApi#update_user_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
785
785
  end
786
786
  return data, status_code, headers
787
787
  end
@@ -791,8 +791,8 @@ module PureCloud
791
791
  # @param user_id User ID
792
792
  # @param [Hash] opts the optional parameters
793
793
  # @return [PrimaryUserPresenceSource]
794
- def get_primarypresencesource(user_id, opts = {})
795
- data, status_code, headers = get_primarypresencesource_with_http_info(user_id, opts)
794
+ def get_user_primarypresencesource(user_id, opts = {})
795
+ data, status_code, headers = get_user_primarypresencesource_with_http_info(user_id, opts)
796
796
  return data
797
797
  end
798
798
 
@@ -801,13 +801,13 @@ module PureCloud
801
801
  # @param user_id User ID
802
802
  # @param [Hash] opts the optional parameters
803
803
  # @return [Array<(PrimaryUserPresenceSource, Fixnum, Hash)>] PrimaryUserPresenceSource data, response status code and response headers
804
- def get_primarypresencesource_with_http_info(user_id, opts = {})
804
+ def get_user_primarypresencesource_with_http_info(user_id, opts = {})
805
805
  if @api_client.config.debugging
806
- @api_client.config.logger.debug "Calling API: UsersApi#get_primarypresencesource ..."
806
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_primarypresencesource ..."
807
807
  end
808
808
 
809
809
  # verify the required parameter 'user_id' is set
810
- fail "Missing the required parameter 'user_id' when calling get_primarypresencesource" if user_id.nil?
810
+ fail "Missing the required parameter 'user_id' when calling get_user_primarypresencesource" if user_id.nil?
811
811
 
812
812
  # resource path
813
813
  path = "/api/v1/users/{userId}/primarypresencesource".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -842,7 +842,7 @@ module PureCloud
842
842
  :auth_names => auth_names,
843
843
  :return_type => 'PrimaryUserPresenceSource')
844
844
  if @api_client.config.debugging
845
- @api_client.config.logger.debug "API called: UsersApi#get_primarypresencesource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
845
+ @api_client.config.logger.debug "API called: UsersApi#get_user_primarypresencesource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
846
846
  end
847
847
  return data, status_code, headers
848
848
  end
@@ -853,8 +853,8 @@ module PureCloud
853
853
  # @param [Hash] opts the optional parameters
854
854
  # @option opts [PrimaryUserPresenceSource] :body
855
855
  # @return [PrimaryUserPresenceSource]
856
- def put_primarypresencesource(user_id, opts = {})
857
- data, status_code, headers = put_primarypresencesource_with_http_info(user_id, opts)
856
+ def update_user_primarypresencesource(user_id, opts = {})
857
+ data, status_code, headers = update_user_primarypresencesource_with_http_info(user_id, opts)
858
858
  return data
859
859
  end
860
860
 
@@ -864,13 +864,13 @@ module PureCloud
864
864
  # @param [Hash] opts the optional parameters
865
865
  # @option opts [PrimaryUserPresenceSource] :body
866
866
  # @return [Array<(PrimaryUserPresenceSource, Fixnum, Hash)>] PrimaryUserPresenceSource data, response status code and response headers
867
- def put_primarypresencesource_with_http_info(user_id, opts = {})
867
+ def update_user_primarypresencesource_with_http_info(user_id, opts = {})
868
868
  if @api_client.config.debugging
869
- @api_client.config.logger.debug "Calling API: UsersApi#put_primarypresencesource ..."
869
+ @api_client.config.logger.debug "Calling API: UsersApi#update_user_primarypresencesource ..."
870
870
  end
871
871
 
872
872
  # verify the required parameter 'user_id' is set
873
- fail "Missing the required parameter 'user_id' when calling put_primarypresencesource" if user_id.nil?
873
+ fail "Missing the required parameter 'user_id' when calling update_user_primarypresencesource" if user_id.nil?
874
874
 
875
875
  # resource path
876
876
  path = "/api/v1/users/{userId}/primarypresencesource".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -905,7 +905,7 @@ module PureCloud
905
905
  :auth_names => auth_names,
906
906
  :return_type => 'PrimaryUserPresenceSource')
907
907
  if @api_client.config.debugging
908
- @api_client.config.logger.debug "API called: UsersApi#put_primarypresencesource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
908
+ @api_client.config.logger.debug "API called: UsersApi#update_user_primarypresencesource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
909
909
  end
910
910
  return data, status_code, headers
911
911
  end
@@ -917,8 +917,8 @@ module PureCloud
917
917
  # @option opts [Integer] :page_size Page size
918
918
  # @option opts [Integer] :page_number Page number
919
919
  # @return [UserQueueEntityListing]
920
- def get_queues(user_id, opts = {})
921
- data, status_code, headers = get_queues_with_http_info(user_id, opts)
920
+ def get_user_queues(user_id, opts = {})
921
+ data, status_code, headers = get_user_queues_with_http_info(user_id, opts)
922
922
  return data
923
923
  end
924
924
 
@@ -929,13 +929,13 @@ module PureCloud
929
929
  # @option opts [Integer] :page_size Page size
930
930
  # @option opts [Integer] :page_number Page number
931
931
  # @return [Array<(UserQueueEntityListing, Fixnum, Hash)>] UserQueueEntityListing data, response status code and response headers
932
- def get_queues_with_http_info(user_id, opts = {})
932
+ def get_user_queues_with_http_info(user_id, opts = {})
933
933
  if @api_client.config.debugging
934
- @api_client.config.logger.debug "Calling API: UsersApi#get_queues ..."
934
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_queues ..."
935
935
  end
936
936
 
937
937
  # verify the required parameter 'user_id' is set
938
- fail "Missing the required parameter 'user_id' when calling get_queues" if user_id.nil?
938
+ fail "Missing the required parameter 'user_id' when calling get_user_queues" if user_id.nil?
939
939
 
940
940
  # resource path
941
941
  path = "/api/v1/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -972,7 +972,7 @@ module PureCloud
972
972
  :auth_names => auth_names,
973
973
  :return_type => 'UserQueueEntityListing')
974
974
  if @api_client.config.debugging
975
- @api_client.config.logger.debug "API called: UsersApi#get_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
975
+ @api_client.config.logger.debug "API called: UsersApi#get_user_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
976
976
  end
977
977
  return data, status_code, headers
978
978
  end
@@ -983,8 +983,8 @@ module PureCloud
983
983
  # @param [Hash] opts the optional parameters
984
984
  # @option opts [Array<UserQueue>] :body User Queues
985
985
  # @return [UserQueue]
986
- def patch_queues(user_id, opts = {})
987
- data, status_code, headers = patch_queues_with_http_info(user_id, opts)
986
+ def patch_user_queues(user_id, opts = {})
987
+ data, status_code, headers = patch_user_queues_with_http_info(user_id, opts)
988
988
  return data
989
989
  end
990
990
 
@@ -994,13 +994,13 @@ module PureCloud
994
994
  # @param [Hash] opts the optional parameters
995
995
  # @option opts [Array<UserQueue>] :body User Queues
996
996
  # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
997
- def patch_queues_with_http_info(user_id, opts = {})
997
+ def patch_user_queues_with_http_info(user_id, opts = {})
998
998
  if @api_client.config.debugging
999
- @api_client.config.logger.debug "Calling API: UsersApi#patch_queues ..."
999
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_queues ..."
1000
1000
  end
1001
1001
 
1002
1002
  # verify the required parameter 'user_id' is set
1003
- fail "Missing the required parameter 'user_id' when calling patch_queues" if user_id.nil?
1003
+ fail "Missing the required parameter 'user_id' when calling patch_user_queues" if user_id.nil?
1004
1004
 
1005
1005
  # resource path
1006
1006
  path = "/api/v1/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -1035,7 +1035,7 @@ module PureCloud
1035
1035
  :auth_names => auth_names,
1036
1036
  :return_type => 'UserQueue')
1037
1037
  if @api_client.config.debugging
1038
- @api_client.config.logger.debug "API called: UsersApi#patch_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1038
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1039
1039
  end
1040
1040
  return data, status_code, headers
1041
1041
  end
@@ -1047,8 +1047,8 @@ module PureCloud
1047
1047
  # @param [Hash] opts the optional parameters
1048
1048
  # @option opts [UserQueue] :body Queue Member
1049
1049
  # @return [UserQueue]
1050
- def patch_queue(queue_id, user_id, opts = {})
1051
- data, status_code, headers = patch_queue_with_http_info(queue_id, user_id, opts)
1050
+ def patch_user_queues_by_queue_id(queue_id, user_id, opts = {})
1051
+ data, status_code, headers = patch_user_queues_by_queue_id_with_http_info(queue_id, user_id, opts)
1052
1052
  return data
1053
1053
  end
1054
1054
 
@@ -1059,16 +1059,16 @@ module PureCloud
1059
1059
  # @param [Hash] opts the optional parameters
1060
1060
  # @option opts [UserQueue] :body Queue Member
1061
1061
  # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
1062
- def patch_queue_with_http_info(queue_id, user_id, opts = {})
1062
+ def patch_user_queues_by_queue_id_with_http_info(queue_id, user_id, opts = {})
1063
1063
  if @api_client.config.debugging
1064
- @api_client.config.logger.debug "Calling API: UsersApi#patch_queue ..."
1064
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_queues_by_queue_id ..."
1065
1065
  end
1066
1066
 
1067
1067
  # verify the required parameter 'queue_id' is set
1068
- fail "Missing the required parameter 'queue_id' when calling patch_queue" if queue_id.nil?
1068
+ fail "Missing the required parameter 'queue_id' when calling patch_user_queues_by_queue_id" if queue_id.nil?
1069
1069
 
1070
1070
  # verify the required parameter 'user_id' is set
1071
- fail "Missing the required parameter 'user_id' when calling patch_queue" if user_id.nil?
1071
+ fail "Missing the required parameter 'user_id' when calling patch_user_queues_by_queue_id" if user_id.nil?
1072
1072
 
1073
1073
  # resource path
1074
1074
  path = "/api/v1/users/{userId}/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
@@ -1103,7 +1103,7 @@ module PureCloud
1103
1103
  :auth_names => auth_names,
1104
1104
  :return_type => 'UserQueue')
1105
1105
  if @api_client.config.debugging
1106
- @api_client.config.logger.debug "API called: UsersApi#patch_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1106
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_queues_by_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1107
1107
  end
1108
1108
  return data, status_code, headers
1109
1109
  end
@@ -1113,8 +1113,8 @@ module PureCloud
1113
1113
  # @param user_id User ID
1114
1114
  # @param [Hash] opts the optional parameters
1115
1115
  # @return [Array<DomainOrganizationRole>]
1116
- def get_roles(user_id, opts = {})
1117
- data, status_code, headers = get_roles_with_http_info(user_id, opts)
1116
+ def get_user_roles(user_id, opts = {})
1117
+ data, status_code, headers = get_user_roles_with_http_info(user_id, opts)
1118
1118
  return data
1119
1119
  end
1120
1120
 
@@ -1123,13 +1123,13 @@ module PureCloud
1123
1123
  # @param user_id User ID
1124
1124
  # @param [Hash] opts the optional parameters
1125
1125
  # @return [Array<(Array<DomainOrganizationRole>, Fixnum, Hash)>] Array<DomainOrganizationRole> data, response status code and response headers
1126
- def get_roles_with_http_info(user_id, opts = {})
1126
+ def get_user_roles_with_http_info(user_id, opts = {})
1127
1127
  if @api_client.config.debugging
1128
- @api_client.config.logger.debug "Calling API: UsersApi#get_roles ..."
1128
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_roles ..."
1129
1129
  end
1130
1130
 
1131
1131
  # verify the required parameter 'user_id' is set
1132
- fail "Missing the required parameter 'user_id' when calling get_roles" if user_id.nil?
1132
+ fail "Missing the required parameter 'user_id' when calling get_user_roles" if user_id.nil?
1133
1133
 
1134
1134
  # resource path
1135
1135
  path = "/api/v1/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -1164,7 +1164,7 @@ module PureCloud
1164
1164
  :auth_names => auth_names,
1165
1165
  :return_type => 'Array<DomainOrganizationRole>')
1166
1166
  if @api_client.config.debugging
1167
- @api_client.config.logger.debug "API called: UsersApi#get_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1167
+ @api_client.config.logger.debug "API called: UsersApi#get_user_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1168
1168
  end
1169
1169
  return data, status_code, headers
1170
1170
  end
@@ -1174,8 +1174,8 @@ module PureCloud
1174
1174
  # @param user_id User ID
1175
1175
  # @param [Hash] opts the optional parameters
1176
1176
  # @return [RoutingStatus]
1177
- def get_routingstatus(user_id, opts = {})
1178
- data, status_code, headers = get_routingstatus_with_http_info(user_id, opts)
1177
+ def get_user_routingstatus(user_id, opts = {})
1178
+ data, status_code, headers = get_user_routingstatus_with_http_info(user_id, opts)
1179
1179
  return data
1180
1180
  end
1181
1181
 
@@ -1184,13 +1184,13 @@ module PureCloud
1184
1184
  # @param user_id User ID
1185
1185
  # @param [Hash] opts the optional parameters
1186
1186
  # @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
1187
- def get_routingstatus_with_http_info(user_id, opts = {})
1187
+ def get_user_routingstatus_with_http_info(user_id, opts = {})
1188
1188
  if @api_client.config.debugging
1189
- @api_client.config.logger.debug "Calling API: UsersApi#get_routingstatus ..."
1189
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_routingstatus ..."
1190
1190
  end
1191
1191
 
1192
1192
  # verify the required parameter 'user_id' is set
1193
- fail "Missing the required parameter 'user_id' when calling get_routingstatus" if user_id.nil?
1193
+ fail "Missing the required parameter 'user_id' when calling get_user_routingstatus" if user_id.nil?
1194
1194
 
1195
1195
  # resource path
1196
1196
  path = "/api/v1/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -1225,7 +1225,7 @@ module PureCloud
1225
1225
  :auth_names => auth_names,
1226
1226
  :return_type => 'RoutingStatus')
1227
1227
  if @api_client.config.debugging
1228
- @api_client.config.logger.debug "API called: UsersApi#get_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1228
+ @api_client.config.logger.debug "API called: UsersApi#get_user_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1229
1229
  end
1230
1230
  return data, status_code, headers
1231
1231
  end
@@ -1236,8 +1236,8 @@ module PureCloud
1236
1236
  # @param [Hash] opts the optional parameters
1237
1237
  # @option opts [RoutingStatus] :body Routing Status
1238
1238
  # @return [RoutingStatus]
1239
- def put_routingstatus(user_id, opts = {})
1240
- data, status_code, headers = put_routingstatus_with_http_info(user_id, opts)
1239
+ def update_user_routingstatus(user_id, opts = {})
1240
+ data, status_code, headers = update_user_routingstatus_with_http_info(user_id, opts)
1241
1241
  return data
1242
1242
  end
1243
1243
 
@@ -1247,13 +1247,13 @@ module PureCloud
1247
1247
  # @param [Hash] opts the optional parameters
1248
1248
  # @option opts [RoutingStatus] :body Routing Status
1249
1249
  # @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
1250
- def put_routingstatus_with_http_info(user_id, opts = {})
1250
+ def update_user_routingstatus_with_http_info(user_id, opts = {})
1251
1251
  if @api_client.config.debugging
1252
- @api_client.config.logger.debug "Calling API: UsersApi#put_routingstatus ..."
1252
+ @api_client.config.logger.debug "Calling API: UsersApi#update_user_routingstatus ..."
1253
1253
  end
1254
1254
 
1255
1255
  # verify the required parameter 'user_id' is set
1256
- fail "Missing the required parameter 'user_id' when calling put_routingstatus" if user_id.nil?
1256
+ fail "Missing the required parameter 'user_id' when calling update_user_routingstatus" if user_id.nil?
1257
1257
 
1258
1258
  # resource path
1259
1259
  path = "/api/v1/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -1288,7 +1288,7 @@ module PureCloud
1288
1288
  :auth_names => auth_names,
1289
1289
  :return_type => 'RoutingStatus')
1290
1290
  if @api_client.config.debugging
1291
- @api_client.config.logger.debug "API called: UsersApi#put_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1291
+ @api_client.config.logger.debug "API called: UsersApi#update_user_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1292
1292
  end
1293
1293
  return data, status_code, headers
1294
1294
  end
@@ -1298,8 +1298,8 @@ module PureCloud
1298
1298
  # @param user_id User ID
1299
1299
  # @param [Hash] opts the optional parameters
1300
1300
  # @return [UserSkillEntityListing]
1301
- def get_skills(user_id, opts = {})
1302
- data, status_code, headers = get_skills_with_http_info(user_id, opts)
1301
+ def get_user_skills(user_id, opts = {})
1302
+ data, status_code, headers = get_user_skills_with_http_info(user_id, opts)
1303
1303
  return data
1304
1304
  end
1305
1305
 
@@ -1308,13 +1308,13 @@ module PureCloud
1308
1308
  # @param user_id User ID
1309
1309
  # @param [Hash] opts the optional parameters
1310
1310
  # @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
1311
- def get_skills_with_http_info(user_id, opts = {})
1311
+ def get_user_skills_with_http_info(user_id, opts = {})
1312
1312
  if @api_client.config.debugging
1313
- @api_client.config.logger.debug "Calling API: UsersApi#get_skills ..."
1313
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_skills ..."
1314
1314
  end
1315
1315
 
1316
1316
  # verify the required parameter 'user_id' is set
1317
- fail "Missing the required parameter 'user_id' when calling get_skills" if user_id.nil?
1317
+ fail "Missing the required parameter 'user_id' when calling get_user_skills" if user_id.nil?
1318
1318
 
1319
1319
  # resource path
1320
1320
  path = "/api/v1/users/{userId}/skills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -1349,7 +1349,7 @@ module PureCloud
1349
1349
  :auth_names => auth_names,
1350
1350
  :return_type => 'UserSkillEntityListing')
1351
1351
  if @api_client.config.debugging
1352
- @api_client.config.logger.debug "API called: UsersApi#get_skills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1352
+ @api_client.config.logger.debug "API called: UsersApi#get_user_skills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1353
1353
  end
1354
1354
  return data, status_code, headers
1355
1355
  end