purecloud 0.39.1 → 0.40.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/ChannelTopic.html.md +1 -1
- data/doc_out/CustomerInteractionCenter.html.md +1 -1
- data/doc_out/Flow.html.md +2 -0
- data/doc_out/GreetingsApi.html.md +2 -2
- data/doc_out/Okta.html.md +1 -1
- data/doc_out/OneLogin.html.md +1 -1
- data/doc_out/RecordingApi.html.md +4 -4
- data/doc_out/Salesforce.html.md +1 -1
- data/doc_out/UserRecordingsApi.html.md +2 -2
- data/doc_out/VoicemailApi.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud/api/greetings_api.rb +4 -4
- data/lib/purecloud/api/recording_api.rb +8 -8
- data/lib/purecloud/api/user_recordings_api.rb +4 -4
- data/lib/purecloud/api/voicemail_api.rb +4 -4
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/channel_topic.rb +1 -1
- data/lib/purecloud/models/customer_interaction_center.rb +11 -11
- data/lib/purecloud/models/flow.rb +30 -1
- data/lib/purecloud/models/okta.rb +11 -11
- data/lib/purecloud/models/one_login.rb +11 -11
- data/lib/purecloud/models/salesforce.rb +11 -11
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2ddd46acb7dc49374a25c646ee0a0cdfb1ca874
|
4
|
+
data.tar.gz: b534d8607079ad2875ae6234f1e6ecbefee86b49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250dc0c2821f0f7a8688e10c87c8b44e74579fc1079356c00f7e6e7b94278456b69d224fab44306a483dcf9563602ed3254812bd2f1f03ad0a650dbf03217caf
|
7
|
+
data.tar.gz: a441963eb7a3b9d6167c1ff21edd439dca0d0bb7942519cb01ff759a3fd5dd86596e76ec84f5a570d664a5ab52b64dd1ab166b3800ad01236a7cf29457f3ff5e
|
data/README.md
CHANGED
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
11
|
- API version: v2
|
12
|
-
- Package version: 0.
|
13
|
-
- Build date: 2016-05-
|
12
|
+
- Package version: 0.40.1
|
13
|
+
- Build date: 2016-05-15T03:13:53.911Z
|
14
14
|
|
15
15
|
For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
|
16
16
|
|
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
|
|
18
18
|
|
19
19
|
### from rubygems.org
|
20
20
|
|
21
|
-
gem 'purecloud', '~> 0.
|
21
|
+
gem 'purecloud', '~> 0.40.1'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
data/config-ruby.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"gemVersion":"0.
|
1
|
+
{"gemVersion":"0.40.1","gemName":"purecloud","moduleName":"PureCloud","gemLicense":"MIT","gemSummary":"PureCloud Platform API Library","gemDescription":"A Ruby library to interface with the PureCloud Platform API","gemHomepage":"https://developer.mypurecloud.com","gemAuthor":"Kevin Glinski","gemAuthorEmail":"Kevin.Glinski@inin.com","httpUserAgent":"PureCloud SDK/Ruby 0.40.1","gitUserId":"mypurecloud","gitRepoId":"purecloud_api_sdk_ruby"}
|
@@ -7,7 +7,7 @@ title: ChannelTopic
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **id** | **String** |
|
10
|
+
| **id** | **String** | Topic id for subscription | |
|
11
11
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
12
12
|
{: class="table table-striped"}
|
13
13
|
|
@@ -10,8 +10,8 @@ title: CustomerInteractionCenter
|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
12
|
| **certificate** | **String** | | [optional] |
|
13
|
-
| **sso_target_uri** | **String** | | [optional] |
|
14
13
|
| **issuer_uri** | **String** | | [optional] |
|
14
|
+
| **sso_target_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
16
16
|
{: class="table table-striped"}
|
17
17
|
|
data/doc_out/Flow.html.md
CHANGED
@@ -18,6 +18,8 @@ title: Flow
|
|
18
18
|
| **checked_in_version** | [**FlowVersion**](FlowVersion.html) | | [optional] |
|
19
19
|
| **saved_version** | [**FlowVersion**](FlowVersion.html) | | [optional] |
|
20
20
|
| **system** | **BOOLEAN** | | [optional] [default to false]|
|
21
|
+
| **publish_status** | **String** | | [optional] |
|
22
|
+
| **published_by** | [**UriReference**](UriReference.html) | | [optional] |
|
21
23
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
22
24
|
{: class="table table-striped"}
|
23
25
|
|
@@ -212,7 +212,7 @@ api_instance = PureCloud::GreetingsApi.new
|
|
212
212
|
greeting_id = "greeting_id_example" # String | Greeting ID
|
213
213
|
|
214
214
|
opts = {
|
215
|
-
format_id: "WAV" # String | The desired format
|
215
|
+
format_id: "WAV" # String | The desired media format.
|
216
216
|
}
|
217
217
|
|
218
218
|
begin
|
@@ -229,7 +229,7 @@ end
|
|
229
229
|
Name | Type | Description | Notes
|
230
230
|
------------- | ------------- | ------------- | -------------
|
231
231
|
**greeting_id** | **String**| Greeting ID |
|
232
|
-
**format_id** | **String**| The desired format
|
232
|
+
**format_id** | **String**| The desired media format. | [optional] [default to WAV]
|
233
233
|
{: class="table table-striped"}
|
234
234
|
|
235
235
|
|
data/doc_out/Okta.html.md
CHANGED
@@ -10,8 +10,8 @@ title: Okta
|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
12
|
| **certificate** | **String** | | [optional] |
|
13
|
-
| **sso_target_uri** | **String** | | [optional] |
|
14
13
|
| **issuer_uri** | **String** | | [optional] |
|
14
|
+
| **sso_target_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
16
16
|
{: class="table table-striped"}
|
17
17
|
|
data/doc_out/OneLogin.html.md
CHANGED
@@ -10,8 +10,8 @@ title: OneLogin
|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
12
|
| **certificate** | **String** | | [optional] |
|
13
|
-
| **sso_target_uri** | **String** | | [optional] |
|
14
13
|
| **issuer_uri** | **String** | | [optional] |
|
14
|
+
| **sso_target_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
16
16
|
{: class="table table-striped"}
|
17
17
|
|
@@ -287,7 +287,7 @@ api_instance = PureCloud::RecordingApi.new
|
|
287
287
|
conversation_id = "conversation_id_example" # String | Conversation ID
|
288
288
|
|
289
289
|
opts = {
|
290
|
-
format_id: "WEBM" # String | The desired media format
|
290
|
+
format_id: "WEBM" # String | The desired media format.
|
291
291
|
}
|
292
292
|
|
293
293
|
begin
|
@@ -304,7 +304,7 @@ end
|
|
304
304
|
Name | Type | Description | Notes
|
305
305
|
------------- | ------------- | ------------- | -------------
|
306
306
|
**conversation_id** | **String**| Conversation ID |
|
307
|
-
**format_id** | **String**| The desired media format
|
307
|
+
**format_id** | **String**| The desired media format. | [optional] [default to WEBM]
|
308
308
|
{: class="table table-striped"}
|
309
309
|
|
310
310
|
|
@@ -349,7 +349,7 @@ conversation_id = "conversation_id_example" # String | Conversation ID
|
|
349
349
|
recording_id = "recording_id_example" # String | Recording ID
|
350
350
|
|
351
351
|
opts = {
|
352
|
-
format_id: "WEBM", # String | The desired media format
|
352
|
+
format_id: "WEBM", # String | The desired media format.
|
353
353
|
download: false, # BOOLEAN | requesting a download format of the recording
|
354
354
|
file_name: "file_name_example" # String | the name of the downloaded fileName
|
355
355
|
}
|
@@ -368,7 +368,7 @@ Name | Type | Description | Notes
|
|
368
368
|
------------- | ------------- | ------------- | -------------
|
369
369
|
**conversation_id** | **String**| Conversation ID |
|
370
370
|
**recording_id** | **String**| Recording ID |
|
371
|
-
**format_id** | **String**| The desired media format
|
371
|
+
**format_id** | **String**| The desired media format. | [optional] [default to WEBM]
|
372
372
|
**download** | **BOOLEAN**| requesting a download format of the recording | [optional] [default to false]
|
373
373
|
**file_name** | **String**| the name of the downloaded fileName | [optional]
|
374
374
|
{: class="table table-striped"}
|
data/doc_out/Salesforce.html.md
CHANGED
@@ -10,8 +10,8 @@ title: Salesforce
|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
12
|
| **certificate** | **String** | | [optional] |
|
13
|
-
| **sso_target_uri** | **String** | | [optional] |
|
14
13
|
| **issuer_uri** | **String** | | [optional] |
|
14
|
+
| **sso_target_uri** | **String** | | [optional] |
|
15
15
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
16
16
|
{: class="table table-striped"}
|
17
17
|
|
@@ -159,7 +159,7 @@ api_instance = PureCloud::UserRecordingsApi.new
|
|
159
159
|
recording_id = "recording_id_example" # String | User Recording ID
|
160
160
|
|
161
161
|
opts = {
|
162
|
-
format_id: "WEBM" # String | The desired media format
|
162
|
+
format_id: "WEBM" # String | The desired media format.
|
163
163
|
}
|
164
164
|
|
165
165
|
begin
|
@@ -176,7 +176,7 @@ end
|
|
176
176
|
Name | Type | Description | Notes
|
177
177
|
------------- | ------------- | ------------- | -------------
|
178
178
|
**recording_id** | **String**| User Recording ID |
|
179
|
-
**format_id** | **String**| The desired media format
|
179
|
+
**format_id** | **String**| The desired media format. | [optional] [default to WEBM]
|
180
180
|
{: class="table table-striped"}
|
181
181
|
|
182
182
|
|
@@ -311,7 +311,7 @@ api_instance = PureCloud::VoicemailApi.new
|
|
311
311
|
message_id = "message_id_example" # String | Message ID
|
312
312
|
|
313
313
|
opts = {
|
314
|
-
format_id: "WEBM" # String | The desired media format
|
314
|
+
format_id: "WEBM" # String | The desired media format.
|
315
315
|
}
|
316
316
|
|
317
317
|
begin
|
@@ -328,7 +328,7 @@ end
|
|
328
328
|
Name | Type | Description | Notes
|
329
329
|
------------- | ------------- | ------------- | -------------
|
330
330
|
**message_id** | **String**| Message ID |
|
331
|
-
**format_id** | **String**| The desired media format
|
331
|
+
**format_id** | **String**| The desired media format. | [optional] [default to WEBM]
|
332
332
|
{: class="table table-striped"}
|
333
333
|
|
334
334
|
|
data/doc_out/index.html.md
CHANGED
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
11
|
- API version: v2
|
12
|
-
- Package version: 0.
|
13
|
-
- Build date: 2016-05-
|
12
|
+
- Package version: 0.40.1
|
13
|
+
- Build date: 2016-05-15T03:13:53.911Z
|
14
14
|
|
15
15
|
For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
|
16
16
|
|
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
|
|
18
18
|
|
19
19
|
### from rubygems.org
|
20
20
|
|
21
|
-
gem 'purecloud', '~> 0.
|
21
|
+
gem 'purecloud', '~> 0.40.1'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
@@ -203,7 +203,7 @@ module PureCloud
|
|
203
203
|
#
|
204
204
|
# @param greeting_id Greeting ID
|
205
205
|
# @param [Hash] opts the optional parameters
|
206
|
-
# @option opts [String] :format_id The desired format
|
206
|
+
# @option opts [String] :format_id The desired media format. (default to WAV)
|
207
207
|
# @return [GreetingMediaInfo]
|
208
208
|
def get_greeting_id_media(greeting_id, opts = {})
|
209
209
|
data, status_code, headers = get_greeting_id_media_with_http_info(greeting_id, opts)
|
@@ -214,7 +214,7 @@ module PureCloud
|
|
214
214
|
#
|
215
215
|
# @param greeting_id Greeting ID
|
216
216
|
# @param [Hash] opts the optional parameters
|
217
|
-
# @option opts [String] :format_id The desired format
|
217
|
+
# @option opts [String] :format_id The desired media format.
|
218
218
|
# @return [Array<(GreetingMediaInfo, Fixnum, Hash)>] GreetingMediaInfo data, response status code and response headers
|
219
219
|
def get_greeting_id_media_with_http_info(greeting_id, opts = {})
|
220
220
|
if @api_client.config.debugging
|
@@ -224,8 +224,8 @@ module PureCloud
|
|
224
224
|
# verify the required parameter 'greeting_id' is set
|
225
225
|
fail "Missing the required parameter 'greeting_id' when calling get_greeting_id_media" if greeting_id.nil?
|
226
226
|
|
227
|
-
if opts[:'format_id'] && !['WAV'].include?(opts[:'format_id'])
|
228
|
-
fail 'invalid value for "format_id", must be one of WAV'
|
227
|
+
if opts[:'format_id'] && !['WAV', 'WEBM', 'WAV_ULAW', 'OGG_VORBIS', 'OGG_OPUS', 'NONE'].include?(opts[:'format_id'])
|
228
|
+
fail 'invalid value for "format_id", must be one of WAV, WEBM, WAV_ULAW, OGG_VORBIS, OGG_OPUS, NONE'
|
229
229
|
end
|
230
230
|
|
231
231
|
# resource path
|
@@ -278,7 +278,7 @@ module PureCloud
|
|
278
278
|
#
|
279
279
|
# @param conversation_id Conversation ID
|
280
280
|
# @param [Hash] opts the optional parameters
|
281
|
-
# @option opts [String] :format_id The desired media format (
|
281
|
+
# @option opts [String] :format_id The desired media format. (default to WEBM)
|
282
282
|
# @return [Array<Recording>]
|
283
283
|
def get_conversation_id_recordings(conversation_id, opts = {})
|
284
284
|
data, status_code, headers = get_conversation_id_recordings_with_http_info(conversation_id, opts)
|
@@ -289,7 +289,7 @@ module PureCloud
|
|
289
289
|
#
|
290
290
|
# @param conversation_id Conversation ID
|
291
291
|
# @param [Hash] opts the optional parameters
|
292
|
-
# @option opts [String] :format_id The desired media format
|
292
|
+
# @option opts [String] :format_id The desired media format.
|
293
293
|
# @return [Array<(Array<Recording>, Fixnum, Hash)>] Array<Recording> data, response status code and response headers
|
294
294
|
def get_conversation_id_recordings_with_http_info(conversation_id, opts = {})
|
295
295
|
if @api_client.config.debugging
|
@@ -299,8 +299,8 @@ module PureCloud
|
|
299
299
|
# verify the required parameter 'conversation_id' is set
|
300
300
|
fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_recordings" if conversation_id.nil?
|
301
301
|
|
302
|
-
if opts[:'format_id'] && !['WEBM', '
|
303
|
-
fail 'invalid value for "format_id", must be one of WEBM,
|
302
|
+
if opts[:'format_id'] && !['WAV', 'WEBM', 'WAV_ULAW', 'OGG_VORBIS', 'OGG_OPUS', 'NONE'].include?(opts[:'format_id'])
|
303
|
+
fail 'invalid value for "format_id", must be one of WAV, WEBM, WAV_ULAW, OGG_VORBIS, OGG_OPUS, NONE'
|
304
304
|
end
|
305
305
|
|
306
306
|
# resource path
|
@@ -346,7 +346,7 @@ module PureCloud
|
|
346
346
|
# @param conversation_id Conversation ID
|
347
347
|
# @param recording_id Recording ID
|
348
348
|
# @param [Hash] opts the optional parameters
|
349
|
-
# @option opts [String] :format_id The desired media format (
|
349
|
+
# @option opts [String] :format_id The desired media format. (default to WEBM)
|
350
350
|
# @option opts [BOOLEAN] :download requesting a download format of the recording (default to false)
|
351
351
|
# @option opts [String] :file_name the name of the downloaded fileName
|
352
352
|
# @return [nil]
|
@@ -360,7 +360,7 @@ module PureCloud
|
|
360
360
|
# @param conversation_id Conversation ID
|
361
361
|
# @param recording_id Recording ID
|
362
362
|
# @param [Hash] opts the optional parameters
|
363
|
-
# @option opts [String] :format_id The desired media format
|
363
|
+
# @option opts [String] :format_id The desired media format.
|
364
364
|
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
365
365
|
# @option opts [String] :file_name the name of the downloaded fileName
|
366
366
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
@@ -375,8 +375,8 @@ module PureCloud
|
|
375
375
|
# verify the required parameter 'recording_id' is set
|
376
376
|
fail "Missing the required parameter 'recording_id' when calling get_conversation_id_recordings_recording_id" if recording_id.nil?
|
377
377
|
|
378
|
-
if opts[:'format_id'] && !['WEBM', '
|
379
|
-
fail 'invalid value for "format_id", must be one of WEBM,
|
378
|
+
if opts[:'format_id'] && !['WAV', 'WEBM', 'WAV_ULAW', 'OGG_VORBIS', 'OGG_OPUS', 'NONE'].include?(opts[:'format_id'])
|
379
|
+
fail 'invalid value for "format_id", must be one of WAV, WEBM, WAV_ULAW, OGG_VORBIS, OGG_OPUS, NONE'
|
380
380
|
end
|
381
381
|
|
382
382
|
# resource path
|
@@ -150,7 +150,7 @@ module PureCloud
|
|
150
150
|
#
|
151
151
|
# @param recording_id User Recording ID
|
152
152
|
# @param [Hash] opts the optional parameters
|
153
|
-
# @option opts [String] :format_id The desired media format (
|
153
|
+
# @option opts [String] :format_id The desired media format. (default to WEBM)
|
154
154
|
# @return [DownloadResponse]
|
155
155
|
def get_recording_id_media(recording_id, opts = {})
|
156
156
|
data, status_code, headers = get_recording_id_media_with_http_info(recording_id, opts)
|
@@ -161,7 +161,7 @@ module PureCloud
|
|
161
161
|
#
|
162
162
|
# @param recording_id User Recording ID
|
163
163
|
# @param [Hash] opts the optional parameters
|
164
|
-
# @option opts [String] :format_id The desired media format
|
164
|
+
# @option opts [String] :format_id The desired media format.
|
165
165
|
# @return [Array<(DownloadResponse, Fixnum, Hash)>] DownloadResponse data, response status code and response headers
|
166
166
|
def get_recording_id_media_with_http_info(recording_id, opts = {})
|
167
167
|
if @api_client.config.debugging
|
@@ -171,8 +171,8 @@ module PureCloud
|
|
171
171
|
# verify the required parameter 'recording_id' is set
|
172
172
|
fail "Missing the required parameter 'recording_id' when calling get_recording_id_media" if recording_id.nil?
|
173
173
|
|
174
|
-
if opts[:'format_id'] && !['WEBM', '
|
175
|
-
fail 'invalid value for "format_id", must be one of WEBM,
|
174
|
+
if opts[:'format_id'] && !['WAV', 'WEBM', 'WAV_ULAW', 'OGG_VORBIS', 'OGG_OPUS', 'NONE'].include?(opts[:'format_id'])
|
175
|
+
fail 'invalid value for "format_id", must be one of WAV, WEBM, WAV_ULAW, OGG_VORBIS, OGG_OPUS, NONE'
|
176
176
|
end
|
177
177
|
|
178
178
|
# resource path
|
@@ -313,7 +313,7 @@ module PureCloud
|
|
313
313
|
#
|
314
314
|
# @param message_id Message ID
|
315
315
|
# @param [Hash] opts the optional parameters
|
316
|
-
# @option opts [String] :format_id The desired media format (
|
316
|
+
# @option opts [String] :format_id The desired media format. (default to WEBM)
|
317
317
|
# @return [VoicemailMediaInfo]
|
318
318
|
def get_messages_message_id_media(message_id, opts = {})
|
319
319
|
data, status_code, headers = get_messages_message_id_media_with_http_info(message_id, opts)
|
@@ -324,7 +324,7 @@ module PureCloud
|
|
324
324
|
#
|
325
325
|
# @param message_id Message ID
|
326
326
|
# @param [Hash] opts the optional parameters
|
327
|
-
# @option opts [String] :format_id The desired media format
|
327
|
+
# @option opts [String] :format_id The desired media format.
|
328
328
|
# @return [Array<(VoicemailMediaInfo, Fixnum, Hash)>] VoicemailMediaInfo data, response status code and response headers
|
329
329
|
def get_messages_message_id_media_with_http_info(message_id, opts = {})
|
330
330
|
if @api_client.config.debugging
|
@@ -334,8 +334,8 @@ module PureCloud
|
|
334
334
|
# verify the required parameter 'message_id' is set
|
335
335
|
fail "Missing the required parameter 'message_id' when calling get_messages_message_id_media" if message_id.nil?
|
336
336
|
|
337
|
-
if opts[:'format_id'] && !['WEBM', '
|
338
|
-
fail 'invalid value for "format_id", must be one of WEBM,
|
337
|
+
if opts[:'format_id'] && !['WAV', 'WEBM', 'WAV_ULAW', 'OGG_VORBIS', 'OGG_OPUS', 'NONE'].include?(opts[:'format_id'])
|
338
|
+
fail 'invalid value for "format_id", must be one of WAV, WEBM, WAV_ULAW, OGG_VORBIS, OGG_OPUS, NONE'
|
339
339
|
end
|
340
340
|
|
341
341
|
# resource path
|
data/lib/purecloud/api_client.rb
CHANGED
@@ -33,7 +33,7 @@ module PureCloud
|
|
33
33
|
|
34
34
|
def initialize(config = Configuration.default)
|
35
35
|
@config = config
|
36
|
-
@user_agent = "PureCloud SDK/Ruby 0.
|
36
|
+
@user_agent = "PureCloud SDK/Ruby 0.40.1"
|
37
37
|
@default_headers = {
|
38
38
|
'Content-Type' => "application/json",
|
39
39
|
'User-Agent' => @user_agent
|
@@ -25,10 +25,10 @@ module PureCloud
|
|
25
25
|
|
26
26
|
attr_accessor :certificate
|
27
27
|
|
28
|
-
attr_accessor :sso_target_uri
|
29
|
-
|
30
28
|
attr_accessor :issuer_uri
|
31
29
|
|
30
|
+
attr_accessor :sso_target_uri
|
31
|
+
|
32
32
|
# The URI for this object
|
33
33
|
attr_accessor :self_uri
|
34
34
|
|
@@ -42,10 +42,10 @@ module PureCloud
|
|
42
42
|
|
43
43
|
:'certificate' => :'certificate',
|
44
44
|
|
45
|
-
:'sso_target_uri' => :'ssoTargetURI',
|
46
|
-
|
47
45
|
:'issuer_uri' => :'issuerURI',
|
48
46
|
|
47
|
+
:'sso_target_uri' => :'ssoTargetURI',
|
48
|
+
|
49
49
|
:'self_uri' => :'selfUri'
|
50
50
|
|
51
51
|
}
|
@@ -57,8 +57,8 @@ module PureCloud
|
|
57
57
|
:'id' => :'String',
|
58
58
|
:'name' => :'String',
|
59
59
|
:'certificate' => :'String',
|
60
|
-
:'sso_target_uri' => :'String',
|
61
60
|
:'issuer_uri' => :'String',
|
61
|
+
:'sso_target_uri' => :'String',
|
62
62
|
:'self_uri' => :'String'
|
63
63
|
|
64
64
|
}
|
@@ -83,14 +83,14 @@ module PureCloud
|
|
83
83
|
self.certificate = attributes[:'certificate']
|
84
84
|
end
|
85
85
|
|
86
|
-
if attributes[:'ssoTargetURI']
|
87
|
-
self.sso_target_uri = attributes[:'ssoTargetURI']
|
88
|
-
end
|
89
|
-
|
90
86
|
if attributes[:'issuerURI']
|
91
87
|
self.issuer_uri = attributes[:'issuerURI']
|
92
88
|
end
|
93
89
|
|
90
|
+
if attributes[:'ssoTargetURI']
|
91
|
+
self.sso_target_uri = attributes[:'ssoTargetURI']
|
92
|
+
end
|
93
|
+
|
94
94
|
if attributes[:'selfUri']
|
95
95
|
self.self_uri = attributes[:'selfUri']
|
96
96
|
end
|
@@ -104,8 +104,8 @@ module PureCloud
|
|
104
104
|
id == o.id &&
|
105
105
|
name == o.name &&
|
106
106
|
certificate == o.certificate &&
|
107
|
-
sso_target_uri == o.sso_target_uri &&
|
108
107
|
issuer_uri == o.issuer_uri &&
|
108
|
+
sso_target_uri == o.sso_target_uri &&
|
109
109
|
self_uri == o.self_uri
|
110
110
|
end
|
111
111
|
|
@@ -116,7 +116,7 @@ module PureCloud
|
|
116
116
|
|
117
117
|
# Calculate hash code according to all attributes.
|
118
118
|
def hash
|
119
|
-
[id, name, certificate,
|
119
|
+
[id, name, certificate, issuer_uri, sso_target_uri, self_uri].hash
|
120
120
|
end
|
121
121
|
|
122
122
|
# build the object from hash
|