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
@@ -75,8 +75,8 @@ module PureCloud
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [String] :content_disposition
77
77
  # @return [UrlResponse]
78
- def get(download_id, opts = {})
79
- data, status_code, headers = get_with_http_info(download_id, opts)
78
+ def get_download(download_id, opts = {})
79
+ data, status_code, headers = get_download_with_http_info(download_id, opts)
80
80
  return data
81
81
  end
82
82
 
@@ -86,13 +86,13 @@ module PureCloud
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @option opts [String] :content_disposition
88
88
  # @return [Array<(UrlResponse, Fixnum, Hash)>] UrlResponse data, response status code and response headers
89
- def get_with_http_info(download_id, opts = {})
89
+ def get_download_with_http_info(download_id, opts = {})
90
90
  if @api_client.config.debugging
91
- @api_client.config.logger.debug "Calling API: DownloadsApi#get ..."
91
+ @api_client.config.logger.debug "Calling API: DownloadsApi#get_download ..."
92
92
  end
93
93
 
94
94
  # verify the required parameter 'download_id' is set
95
- fail "Missing the required parameter 'download_id' when calling get" if download_id.nil?
95
+ fail "Missing the required parameter 'download_id' when calling get_download" if download_id.nil?
96
96
 
97
97
  # resource path
98
98
  path = "/api/v1/downloads/{downloadId}".sub('{format}','json').sub('{' + 'downloadId' + '}', download_id.to_s)
@@ -128,7 +128,7 @@ module PureCloud
128
128
  :auth_names => auth_names,
129
129
  :return_type => 'UrlResponse')
130
130
  if @api_client.config.debugging
131
- @api_client.config.logger.debug "API called: DownloadsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
131
+ @api_client.config.logger.debug "API called: DownloadsApi#get_download\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
132
132
  end
133
133
  return data, status_code, headers
134
134
  end
@@ -137,8 +137,8 @@ module PureCloud
137
137
  # @param [Hash] opts the optional parameters
138
138
  # @option opts [FaxDocument] :body Document
139
139
  # @return [FaxDocument]
140
- def put_document(document_id, opts = {})
141
- data, status_code, headers = put_document_with_http_info(document_id, opts)
140
+ def update_document(document_id, opts = {})
141
+ data, status_code, headers = update_document_with_http_info(document_id, opts)
142
142
  return data
143
143
  end
144
144
 
@@ -148,13 +148,13 @@ module PureCloud
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [FaxDocument] :body Document
150
150
  # @return [Array<(FaxDocument, Fixnum, Hash)>] FaxDocument data, response status code and response headers
151
- def put_document_with_http_info(document_id, opts = {})
151
+ def update_document_with_http_info(document_id, opts = {})
152
152
  if @api_client.config.debugging
153
- @api_client.config.logger.debug "Calling API: FaxApi#put_document ..."
153
+ @api_client.config.logger.debug "Calling API: FaxApi#update_document ..."
154
154
  end
155
155
 
156
156
  # verify the required parameter 'document_id' is set
157
- fail "Missing the required parameter 'document_id' when calling put_document" if document_id.nil?
157
+ fail "Missing the required parameter 'document_id' when calling update_document" if document_id.nil?
158
158
 
159
159
  # resource path
160
160
  path = "/api/v1/fax/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
@@ -189,7 +189,7 @@ module PureCloud
189
189
  :auth_names => auth_names,
190
190
  :return_type => 'FaxDocument')
191
191
  if @api_client.config.debugging
192
- @api_client.config.logger.debug "API called: FaxApi#put_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
192
+ @api_client.config.logger.debug "API called: FaxApi#update_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
193
193
  end
194
194
  return data, status_code, headers
195
195
  end
@@ -12,8 +12,8 @@ module PureCloud
12
12
  #
13
13
  # @param [Hash] opts the optional parameters
14
14
  # @return [GeolocationSettings]
15
- def get_geolocations_settings(opts = {})
16
- data, status_code, headers = get_geolocations_settings_with_http_info(opts)
15
+ def get_settings(opts = {})
16
+ data, status_code, headers = get_settings_with_http_info(opts)
17
17
  return data
18
18
  end
19
19
 
@@ -21,9 +21,9 @@ module PureCloud
21
21
  #
22
22
  # @param [Hash] opts the optional parameters
23
23
  # @return [Array<(GeolocationSettings, Fixnum, Hash)>] GeolocationSettings data, response status code and response headers
24
- def get_geolocations_settings_with_http_info(opts = {})
24
+ def get_settings_with_http_info(opts = {})
25
25
  if @api_client.config.debugging
26
- @api_client.config.logger.debug "Calling API: GeolocationApi#get_geolocations_settings ..."
26
+ @api_client.config.logger.debug "Calling API: GeolocationApi#get_settings ..."
27
27
  end
28
28
 
29
29
  # resource path
@@ -59,7 +59,7 @@ module PureCloud
59
59
  :auth_names => auth_names,
60
60
  :return_type => 'GeolocationSettings')
61
61
  if @api_client.config.debugging
62
- @api_client.config.logger.debug "API called: GeolocationApi#get_geolocations_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
62
+ @api_client.config.logger.debug "API called: GeolocationApi#get_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
63
63
  end
64
64
  return data, status_code, headers
65
65
  end
@@ -69,8 +69,8 @@ module PureCloud
69
69
  # @param [Hash] opts the optional parameters
70
70
  # @option opts [GeolocationSettings] :body
71
71
  # @return [GeolocationSettings]
72
- def patch_geolocations_settings(opts = {})
73
- data, status_code, headers = patch_geolocations_settings_with_http_info(opts)
72
+ def patch_settings(opts = {})
73
+ data, status_code, headers = patch_settings_with_http_info(opts)
74
74
  return data
75
75
  end
76
76
 
@@ -79,9 +79,9 @@ module PureCloud
79
79
  # @param [Hash] opts the optional parameters
80
80
  # @option opts [GeolocationSettings] :body
81
81
  # @return [Array<(GeolocationSettings, Fixnum, Hash)>] GeolocationSettings data, response status code and response headers
82
- def patch_geolocations_settings_with_http_info(opts = {})
82
+ def patch_settings_with_http_info(opts = {})
83
83
  if @api_client.config.debugging
84
- @api_client.config.logger.debug "Calling API: GeolocationApi#patch_geolocations_settings ..."
84
+ @api_client.config.logger.debug "Calling API: GeolocationApi#patch_settings ..."
85
85
  end
86
86
 
87
87
  # resource path
@@ -117,7 +117,7 @@ module PureCloud
117
117
  :auth_names => auth_names,
118
118
  :return_type => 'GeolocationSettings')
119
119
  if @api_client.config.debugging
120
- @api_client.config.logger.debug "API called: GeolocationApi#patch_geolocations_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
120
+ @api_client.config.logger.debug "API called: GeolocationApi#patch_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
121
121
  end
122
122
  return data, status_code, headers
123
123
  end
@@ -128,8 +128,8 @@ module PureCloud
128
128
  # @param client_id client Id
129
129
  # @param [Hash] opts the optional parameters
130
130
  # @return [Geolocation]
131
- def get_geolocation(user_id, client_id, opts = {})
132
- data, status_code, headers = get_geolocation_with_http_info(user_id, client_id, opts)
131
+ def get_user_geolocations_by_client_id(user_id, client_id, opts = {})
132
+ data, status_code, headers = get_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts)
133
133
  return data
134
134
  end
135
135
 
@@ -139,16 +139,16 @@ module PureCloud
139
139
  # @param client_id client Id
140
140
  # @param [Hash] opts the optional parameters
141
141
  # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
142
- def get_geolocation_with_http_info(user_id, client_id, opts = {})
142
+ def get_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts = {})
143
143
  if @api_client.config.debugging
144
- @api_client.config.logger.debug "Calling API: GeolocationApi#get_geolocation ..."
144
+ @api_client.config.logger.debug "Calling API: GeolocationApi#get_user_geolocations_by_client_id ..."
145
145
  end
146
146
 
147
147
  # verify the required parameter 'user_id' is set
148
- fail "Missing the required parameter 'user_id' when calling get_geolocation" if user_id.nil?
148
+ fail "Missing the required parameter 'user_id' when calling get_user_geolocations_by_client_id" if user_id.nil?
149
149
 
150
150
  # verify the required parameter 'client_id' is set
151
- fail "Missing the required parameter 'client_id' when calling get_geolocation" if client_id.nil?
151
+ fail "Missing the required parameter 'client_id' when calling get_user_geolocations_by_client_id" if client_id.nil?
152
152
 
153
153
  # resource path
154
154
  path = "/api/v1/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
@@ -183,7 +183,7 @@ module PureCloud
183
183
  :auth_names => auth_names,
184
184
  :return_type => 'Geolocation')
185
185
  if @api_client.config.debugging
186
- @api_client.config.logger.debug "API called: GeolocationApi#get_geolocation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
186
+ @api_client.config.logger.debug "API called: GeolocationApi#get_user_geolocations_by_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
187
187
  end
188
188
  return data, status_code, headers
189
189
  end
@@ -195,8 +195,8 @@ module PureCloud
195
195
  # @param [Hash] opts the optional parameters
196
196
  # @option opts [Geolocation] :body
197
197
  # @return [Geolocation]
198
- def patch_geolocation(user_id, client_id, opts = {})
199
- data, status_code, headers = patch_geolocation_with_http_info(user_id, client_id, opts)
198
+ def patch_user_geolocations_by_client_id(user_id, client_id, opts = {})
199
+ data, status_code, headers = patch_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts)
200
200
  return data
201
201
  end
202
202
 
@@ -207,16 +207,16 @@ module PureCloud
207
207
  # @param [Hash] opts the optional parameters
208
208
  # @option opts [Geolocation] :body
209
209
  # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
210
- def patch_geolocation_with_http_info(user_id, client_id, opts = {})
210
+ def patch_user_geolocations_by_client_id_with_http_info(user_id, client_id, opts = {})
211
211
  if @api_client.config.debugging
212
- @api_client.config.logger.debug "Calling API: GeolocationApi#patch_geolocation ..."
212
+ @api_client.config.logger.debug "Calling API: GeolocationApi#patch_user_geolocations_by_client_id ..."
213
213
  end
214
214
 
215
215
  # verify the required parameter 'user_id' is set
216
- fail "Missing the required parameter 'user_id' when calling patch_geolocation" if user_id.nil?
216
+ fail "Missing the required parameter 'user_id' when calling patch_user_geolocations_by_client_id" if user_id.nil?
217
217
 
218
218
  # verify the required parameter 'client_id' is set
219
- fail "Missing the required parameter 'client_id' when calling patch_geolocation" if client_id.nil?
219
+ fail "Missing the required parameter 'client_id' when calling patch_user_geolocations_by_client_id" if client_id.nil?
220
220
 
221
221
  # resource path
222
222
  path = "/api/v1/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
@@ -251,7 +251,7 @@ module PureCloud
251
251
  :auth_names => auth_names,
252
252
  :return_type => 'Geolocation')
253
253
  if @api_client.config.debugging
254
- @api_client.config.logger.debug "API called: GeolocationApi#patch_geolocation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
254
+ @api_client.config.logger.debug "API called: GeolocationApi#patch_user_geolocations_by_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
255
255
  end
256
256
  return data, status_code, headers
257
257
  end
@@ -14,8 +14,8 @@ module PureCloud
14
14
  # @option opts [Integer] :page_size Page size
15
15
  # @option opts [Integer] :page_number Page number
16
16
  # @return [DomainEntityListing]
17
- def get_greetings(opts = {})
18
- data, status_code, headers = get_greetings_with_http_info(opts)
17
+ def get(opts = {})
18
+ data, status_code, headers = get_with_http_info(opts)
19
19
  return data
20
20
  end
21
21
 
@@ -25,9 +25,9 @@ module PureCloud
25
25
  # @option opts [Integer] :page_size Page size
26
26
  # @option opts [Integer] :page_number Page number
27
27
  # @return [Array<(DomainEntityListing, Fixnum, Hash)>] DomainEntityListing data, response status code and response headers
28
- def get_greetings_with_http_info(opts = {})
28
+ def get_with_http_info(opts = {})
29
29
  if @api_client.config.debugging
30
- @api_client.config.logger.debug "Calling API: GreetingsApi#get_greetings ..."
30
+ @api_client.config.logger.debug "Calling API: GreetingsApi#get ..."
31
31
  end
32
32
 
33
33
  # resource path
@@ -65,7 +65,7 @@ module PureCloud
65
65
  :auth_names => auth_names,
66
66
  :return_type => 'DomainEntityListing')
67
67
  if @api_client.config.debugging
68
- @api_client.config.logger.debug "API called: GreetingsApi#get_greetings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
68
+ @api_client.config.logger.debug "API called: GreetingsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
69
69
  end
70
70
  return data, status_code, headers
71
71
  end
@@ -75,8 +75,8 @@ module PureCloud
75
75
  # @param body The Greeting to create
76
76
  # @param [Hash] opts the optional parameters
77
77
  # @return [DefaultGreetingList]
78
- def post_greetings(body, opts = {})
79
- data, status_code, headers = post_greetings_with_http_info(body, opts)
78
+ def create(body, opts = {})
79
+ data, status_code, headers = create_with_http_info(body, opts)
80
80
  return data
81
81
  end
82
82
 
@@ -85,13 +85,13 @@ module PureCloud
85
85
  # @param body The Greeting to create
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @return [Array<(DefaultGreetingList, Fixnum, Hash)>] DefaultGreetingList data, response status code and response headers
88
- def post_greetings_with_http_info(body, opts = {})
88
+ def create_with_http_info(body, opts = {})
89
89
  if @api_client.config.debugging
90
- @api_client.config.logger.debug "Calling API: GreetingsApi#post_greetings ..."
90
+ @api_client.config.logger.debug "Calling API: GreetingsApi#create ..."
91
91
  end
92
92
 
93
93
  # verify the required parameter 'body' is set
94
- fail "Missing the required parameter 'body' when calling post_greetings" if body.nil?
94
+ fail "Missing the required parameter 'body' when calling create" if body.nil?
95
95
 
96
96
  # resource path
97
97
  path = "/api/v1/greetings".sub('{format}','json')
@@ -126,7 +126,7 @@ module PureCloud
126
126
  :auth_names => auth_names,
127
127
  :return_type => 'DefaultGreetingList')
128
128
  if @api_client.config.debugging
129
- @api_client.config.logger.debug "API called: GreetingsApi#post_greetings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
129
+ @api_client.config.logger.debug "API called: GreetingsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
130
130
  end
131
131
  return data, status_code, headers
132
132
  end
@@ -192,8 +192,8 @@ module PureCloud
192
192
  # @param body The updated defaultGreetingList
193
193
  # @param [Hash] opts the optional parameters
194
194
  # @return [DefaultGreetingList]
195
- def put_defaults(body, opts = {})
196
- data, status_code, headers = put_defaults_with_http_info(body, opts)
195
+ def update_defaults(body, opts = {})
196
+ data, status_code, headers = update_defaults_with_http_info(body, opts)
197
197
  return data
198
198
  end
199
199
 
@@ -202,13 +202,13 @@ module PureCloud
202
202
  # @param body The updated defaultGreetingList
203
203
  # @param [Hash] opts the optional parameters
204
204
  # @return [Array<(DefaultGreetingList, Fixnum, Hash)>] DefaultGreetingList data, response status code and response headers
205
- def put_defaults_with_http_info(body, opts = {})
205
+ def update_defaults_with_http_info(body, opts = {})
206
206
  if @api_client.config.debugging
207
- @api_client.config.logger.debug "Calling API: GreetingsApi#put_defaults ..."
207
+ @api_client.config.logger.debug "Calling API: GreetingsApi#update_defaults ..."
208
208
  end
209
209
 
210
210
  # verify the required parameter 'body' is set
211
- fail "Missing the required parameter 'body' when calling put_defaults" if body.nil?
211
+ fail "Missing the required parameter 'body' when calling update_defaults" if body.nil?
212
212
 
213
213
  # resource path
214
214
  path = "/api/v1/greetings/defaults".sub('{format}','json')
@@ -243,7 +243,7 @@ module PureCloud
243
243
  :auth_names => auth_names,
244
244
  :return_type => 'DefaultGreetingList')
245
245
  if @api_client.config.debugging
246
- @api_client.config.logger.debug "API called: GreetingsApi#put_defaults\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
246
+ @api_client.config.logger.debug "API called: GreetingsApi#update_defaults\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
247
247
  end
248
248
  return data, status_code, headers
249
249
  end
@@ -253,8 +253,8 @@ module PureCloud
253
253
  # @param greeting_id Greeting ID
254
254
  # @param [Hash] opts the optional parameters
255
255
  # @return [Greeting]
256
- def get(greeting_id, opts = {})
257
- data, status_code, headers = get_with_http_info(greeting_id, opts)
256
+ def get_greeting(greeting_id, opts = {})
257
+ data, status_code, headers = get_greeting_with_http_info(greeting_id, opts)
258
258
  return data
259
259
  end
260
260
 
@@ -263,13 +263,13 @@ module PureCloud
263
263
  # @param greeting_id Greeting ID
264
264
  # @param [Hash] opts the optional parameters
265
265
  # @return [Array<(Greeting, Fixnum, Hash)>] Greeting data, response status code and response headers
266
- def get_with_http_info(greeting_id, opts = {})
266
+ def get_greeting_with_http_info(greeting_id, opts = {})
267
267
  if @api_client.config.debugging
268
- @api_client.config.logger.debug "Calling API: GreetingsApi#get ..."
268
+ @api_client.config.logger.debug "Calling API: GreetingsApi#get_greeting ..."
269
269
  end
270
270
 
271
271
  # verify the required parameter 'greeting_id' is set
272
- fail "Missing the required parameter 'greeting_id' when calling get" if greeting_id.nil?
272
+ fail "Missing the required parameter 'greeting_id' when calling get_greeting" if greeting_id.nil?
273
273
 
274
274
  # resource path
275
275
  path = "/api/v1/greetings/{greetingId}".sub('{format}','json').sub('{' + 'greetingId' + '}', greeting_id.to_s)
@@ -304,7 +304,7 @@ module PureCloud
304
304
  :auth_names => auth_names,
305
305
  :return_type => 'Greeting')
306
306
  if @api_client.config.debugging
307
- @api_client.config.logger.debug "API called: GreetingsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
307
+ @api_client.config.logger.debug "API called: GreetingsApi#get_greeting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
308
308
  end
309
309
  return data, status_code, headers
310
310
  end
@@ -315,8 +315,8 @@ module PureCloud
315
315
  # @param body The updated Greeting
316
316
  # @param [Hash] opts the optional parameters
317
317
  # @return [Greeting]
318
- def put(greeting_id, body, opts = {})
319
- data, status_code, headers = put_with_http_info(greeting_id, body, opts)
318
+ def update_greeting(greeting_id, body, opts = {})
319
+ data, status_code, headers = update_greeting_with_http_info(greeting_id, body, opts)
320
320
  return data
321
321
  end
322
322
 
@@ -326,16 +326,16 @@ module PureCloud
326
326
  # @param body The updated Greeting
327
327
  # @param [Hash] opts the optional parameters
328
328
  # @return [Array<(Greeting, Fixnum, Hash)>] Greeting data, response status code and response headers
329
- def put_with_http_info(greeting_id, body, opts = {})
329
+ def update_greeting_with_http_info(greeting_id, body, opts = {})
330
330
  if @api_client.config.debugging
331
- @api_client.config.logger.debug "Calling API: GreetingsApi#put ..."
331
+ @api_client.config.logger.debug "Calling API: GreetingsApi#update_greeting ..."
332
332
  end
333
333
 
334
334
  # verify the required parameter 'greeting_id' is set
335
- fail "Missing the required parameter 'greeting_id' when calling put" if greeting_id.nil?
335
+ fail "Missing the required parameter 'greeting_id' when calling update_greeting" if greeting_id.nil?
336
336
 
337
337
  # verify the required parameter 'body' is set
338
- fail "Missing the required parameter 'body' when calling put" if body.nil?
338
+ fail "Missing the required parameter 'body' when calling update_greeting" if body.nil?
339
339
 
340
340
  # resource path
341
341
  path = "/api/v1/greetings/{greetingId}".sub('{format}','json').sub('{' + 'greetingId' + '}', greeting_id.to_s)
@@ -370,7 +370,7 @@ module PureCloud
370
370
  :auth_names => auth_names,
371
371
  :return_type => 'Greeting')
372
372
  if @api_client.config.debugging
373
- @api_client.config.logger.debug "API called: GreetingsApi#put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
373
+ @api_client.config.logger.debug "API called: GreetingsApi#update_greeting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
374
374
  end
375
375
  return data, status_code, headers
376
376
  end
@@ -380,8 +380,8 @@ module PureCloud
380
380
  # @param greeting_id Greeting ID
381
381
  # @param [Hash] opts the optional parameters
382
382
  # @return [Greeting]
383
- def delete(greeting_id, opts = {})
384
- data, status_code, headers = delete_with_http_info(greeting_id, opts)
383
+ def delete_greeting(greeting_id, opts = {})
384
+ data, status_code, headers = delete_greeting_with_http_info(greeting_id, opts)
385
385
  return data
386
386
  end
387
387
 
@@ -390,13 +390,13 @@ module PureCloud
390
390
  # @param greeting_id Greeting ID
391
391
  # @param [Hash] opts the optional parameters
392
392
  # @return [Array<(Greeting, Fixnum, Hash)>] Greeting data, response status code and response headers
393
- def delete_with_http_info(greeting_id, opts = {})
393
+ def delete_greeting_with_http_info(greeting_id, opts = {})
394
394
  if @api_client.config.debugging
395
- @api_client.config.logger.debug "Calling API: GreetingsApi#delete ..."
395
+ @api_client.config.logger.debug "Calling API: GreetingsApi#delete_greeting ..."
396
396
  end
397
397
 
398
398
  # verify the required parameter 'greeting_id' is set
399
- fail "Missing the required parameter 'greeting_id' when calling delete" if greeting_id.nil?
399
+ fail "Missing the required parameter 'greeting_id' when calling delete_greeting" if greeting_id.nil?
400
400
 
401
401
  # resource path
402
402
  path = "/api/v1/greetings/{greetingId}".sub('{format}','json').sub('{' + 'greetingId' + '}', greeting_id.to_s)
@@ -431,7 +431,7 @@ module PureCloud
431
431
  :auth_names => auth_names,
432
432
  :return_type => 'Greeting')
433
433
  if @api_client.config.debugging
434
- @api_client.config.logger.debug "API called: GreetingsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
434
+ @api_client.config.logger.debug "API called: GreetingsApi#delete_greeting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
435
435
  end
436
436
  return data, status_code, headers
437
437
  end
@@ -442,8 +442,8 @@ module PureCloud
442
442
  # @param [Hash] opts the optional parameters
443
443
  # @option opts [String] :format_id The desired format (WAV, etc.)
444
444
  # @return [GreetingMediaInfo]
445
- def get_media(greeting_id, opts = {})
446
- data, status_code, headers = get_media_with_http_info(greeting_id, opts)
445
+ def get_greeting_media(greeting_id, opts = {})
446
+ data, status_code, headers = get_greeting_media_with_http_info(greeting_id, opts)
447
447
  return data
448
448
  end
449
449
 
@@ -453,13 +453,13 @@ module PureCloud
453
453
  # @param [Hash] opts the optional parameters
454
454
  # @option opts [String] :format_id The desired format (WAV, etc.)
455
455
  # @return [Array<(GreetingMediaInfo, Fixnum, Hash)>] GreetingMediaInfo data, response status code and response headers
456
- def get_media_with_http_info(greeting_id, opts = {})
456
+ def get_greeting_media_with_http_info(greeting_id, opts = {})
457
457
  if @api_client.config.debugging
458
- @api_client.config.logger.debug "Calling API: GreetingsApi#get_media ..."
458
+ @api_client.config.logger.debug "Calling API: GreetingsApi#get_greeting_media ..."
459
459
  end
460
460
 
461
461
  # verify the required parameter 'greeting_id' is set
462
- fail "Missing the required parameter 'greeting_id' when calling get_media" if greeting_id.nil?
462
+ fail "Missing the required parameter 'greeting_id' when calling get_greeting_media" if greeting_id.nil?
463
463
 
464
464
  if opts[:'format_id'] && !['WAV'].include?(opts[:'format_id'])
465
465
  fail 'invalid value for "format_id", must be one of WAV'
@@ -499,7 +499,7 @@ module PureCloud
499
499
  :auth_names => auth_names,
500
500
  :return_type => 'GreetingMediaInfo')
501
501
  if @api_client.config.debugging
502
- @api_client.config.logger.debug "API called: GreetingsApi#get_media\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
502
+ @api_client.config.logger.debug "API called: GreetingsApi#get_greeting_media\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
503
503
  end
504
504
  return data, status_code, headers
505
505
  end
@@ -577,8 +577,8 @@ module PureCloud
577
577
  # @param body The Greeting to create
578
578
  # @param [Hash] opts the optional parameters
579
579
  # @return [Greeting]
580
- def post_user_greetings(user_id, body, opts = {})
581
- data, status_code, headers = post_user_greetings_with_http_info(user_id, body, opts)
580
+ def create_user_greetings(user_id, body, opts = {})
581
+ data, status_code, headers = create_user_greetings_with_http_info(user_id, body, opts)
582
582
  return data
583
583
  end
584
584
 
@@ -588,16 +588,16 @@ module PureCloud
588
588
  # @param body The Greeting to create
589
589
  # @param [Hash] opts the optional parameters
590
590
  # @return [Array<(Greeting, Fixnum, Hash)>] Greeting data, response status code and response headers
591
- def post_user_greetings_with_http_info(user_id, body, opts = {})
591
+ def create_user_greetings_with_http_info(user_id, body, opts = {})
592
592
  if @api_client.config.debugging
593
- @api_client.config.logger.debug "Calling API: GreetingsApi#post_user_greetings ..."
593
+ @api_client.config.logger.debug "Calling API: GreetingsApi#create_user_greetings ..."
594
594
  end
595
595
 
596
596
  # verify the required parameter 'user_id' is set
597
- fail "Missing the required parameter 'user_id' when calling post_user_greetings" if user_id.nil?
597
+ fail "Missing the required parameter 'user_id' when calling create_user_greetings" if user_id.nil?
598
598
 
599
599
  # verify the required parameter 'body' is set
600
- fail "Missing the required parameter 'body' when calling post_user_greetings" if body.nil?
600
+ fail "Missing the required parameter 'body' when calling create_user_greetings" if body.nil?
601
601
 
602
602
  # resource path
603
603
  path = "/api/v1/users/{userId}/greetings".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -632,7 +632,7 @@ module PureCloud
632
632
  :auth_names => auth_names,
633
633
  :return_type => 'Greeting')
634
634
  if @api_client.config.debugging
635
- @api_client.config.logger.debug "API called: GreetingsApi#post_user_greetings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
635
+ @api_client.config.logger.debug "API called: GreetingsApi#create_user_greetings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
636
636
  end
637
637
  return data, status_code, headers
638
638
  end
@@ -704,8 +704,8 @@ module PureCloud
704
704
  # @param body The updated defaultGreetingList
705
705
  # @param [Hash] opts the optional parameters
706
706
  # @return [DefaultGreetingList]
707
- def put_user_greetings_defaults(user_id, body, opts = {})
708
- data, status_code, headers = put_user_greetings_defaults_with_http_info(user_id, body, opts)
707
+ def update_user_greetings_defaults(user_id, body, opts = {})
708
+ data, status_code, headers = update_user_greetings_defaults_with_http_info(user_id, body, opts)
709
709
  return data
710
710
  end
711
711
 
@@ -715,16 +715,16 @@ module PureCloud
715
715
  # @param body The updated defaultGreetingList
716
716
  # @param [Hash] opts the optional parameters
717
717
  # @return [Array<(DefaultGreetingList, Fixnum, Hash)>] DefaultGreetingList data, response status code and response headers
718
- def put_user_greetings_defaults_with_http_info(user_id, body, opts = {})
718
+ def update_user_greetings_defaults_with_http_info(user_id, body, opts = {})
719
719
  if @api_client.config.debugging
720
- @api_client.config.logger.debug "Calling API: GreetingsApi#put_user_greetings_defaults ..."
720
+ @api_client.config.logger.debug "Calling API: GreetingsApi#update_user_greetings_defaults ..."
721
721
  end
722
722
 
723
723
  # verify the required parameter 'user_id' is set
724
- fail "Missing the required parameter 'user_id' when calling put_user_greetings_defaults" if user_id.nil?
724
+ fail "Missing the required parameter 'user_id' when calling update_user_greetings_defaults" if user_id.nil?
725
725
 
726
726
  # verify the required parameter 'body' is set
727
- fail "Missing the required parameter 'body' when calling put_user_greetings_defaults" if body.nil?
727
+ fail "Missing the required parameter 'body' when calling update_user_greetings_defaults" if body.nil?
728
728
 
729
729
  # resource path
730
730
  path = "/api/v1/users/{userId}/greetings/defaults".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -759,7 +759,7 @@ module PureCloud
759
759
  :auth_names => auth_names,
760
760
  :return_type => 'DefaultGreetingList')
761
761
  if @api_client.config.debugging
762
- @api_client.config.logger.debug "API called: GreetingsApi#put_user_greetings_defaults\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
762
+ @api_client.config.logger.debug "API called: GreetingsApi#update_user_greetings_defaults\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
763
763
  end
764
764
  return data, status_code, headers
765
765
  end