purecloudplatformclientv2 44.0.0 → 45.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ADFS.md +1 -1
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/AnalyticsSurvey.md +2 -1
- data/docs/ArchitectApi.md +52 -127
- data/docs/ContactListDivisionView.md +20 -0
- data/docs/ContactListDivisionViewListing.md +22 -0
- data/docs/ContactListNotification.md +1 -0
- data/docs/ConversationQuery.md +1 -1
- data/docs/CreateOutboundMessagingConversationRequest.md +1 -1
- data/docs/CreateWorkPlan.md +2 -0
- data/docs/CustomerInteractionCenter.md +1 -1
- data/docs/DataExportNotificationNotification.md +1 -0
- data/docs/DncListNotification.md +1 -0
- data/docs/DncListNotificationUriReference.md +14 -0
- data/docs/GSuite.md +1 -1
- data/docs/HelpLink.md +15 -0
- data/docs/IdentityNow.md +1 -1
- data/docs/IntegrationType.md +8 -0
- data/docs/IntradayDataUpdateNotification.md +2 -2
- data/docs/Okta.md +1 -1
- data/docs/OneLogin.md +1 -1
- data/docs/OutboundApi.md +152 -0
- data/docs/PingIdentity.md +1 -1
- data/docs/QualityApi.md +66 -0
- data/docs/ReportingExportJobResponse.md +1 -0
- data/docs/RoutingApi.md +74 -0
- data/docs/Salesforce.md +1 -1
- data/docs/UserScheduleAdherenceUpdateNotification.md +2 -2
- data/docs/WfmAgentScheduleUpdateNotificationNotification.md +18 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationActivities.md +18 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationFullDayTimeOffMarkers.md +19 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationShifts.md +15 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationUpdates.md +14 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationUserReference.md +13 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmAgentScheduleUpdate.md +14 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmFullDayTimeOffMarker.md +19 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmScheduleActivity.md +18 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmScheduleShift.md +15 -0
- data/docs/WfmScheduleNotificationNotification.md +1 -0
- data/docs/WorkPlan.md +2 -0
- data/docs/WorkPlanListItemResponse.md +16 -5
- data/docs/WorkforceManagementApi.md +2 -2
- data/lib/purecloudplatformclientv2.rb +14 -3
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +230 -0
- data/lib/purecloudplatformclientv2/api/quality_api.rb +66 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +100 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -7
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
- data/lib/purecloudplatformclientv2/models/analytics_survey.rb +34 -8
- data/lib/purecloudplatformclientv2/models/contact_list_division_view.rb +397 -0
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/contact_list_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_work_plan.rb +53 -1
- data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_export_notification_notification.rb +31 -6
- data/lib/purecloudplatformclientv2/models/dnc_list_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/dnc_list_notification_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/document_audit.rb +2 -2
- data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{intraday_data_update_notification_date_time.rb → help_link.rb} +24 -45
- data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_type.rb +211 -1
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_details.rb +2 -2
- data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
- data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +34 -3
- data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence_update_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification.rb +332 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_activities.rb +326 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_full_day_time_off_markers.rb +351 -0
- data/lib/purecloudplatformclientv2/models/{intraday_data_update_notification_start_date.rb → wfm_agent_schedule_update_notification_notification_shifts.rb} +22 -45
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_updates.rb +242 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_wfm_agent_schedule_update.rb +242 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_wfm_full_day_time_off_marker.rb +351 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_wfm_schedule_activity.rb +326 -0
- data/lib/purecloudplatformclientv2/models/{user_schedule_adherence_update_notification_date_time.rb → wfm_agent_schedule_update_notification_notification_wfm_schedule_shift.rb} +22 -45
- data/lib/purecloudplatformclientv2/models/wfm_schedule_notification_notification.rb +28 -3
- data/lib/purecloudplatformclientv2/models/work_plan.rb +53 -1
- data/lib/purecloudplatformclientv2/models/work_plan_list_item_response.rb +313 -18
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +30 -8
- data/docs/IntradayDataUpdateNotificationDateTime.md +0 -16
- data/docs/IntradayDataUpdateNotificationStartDate.md +0 -16
- data/docs/UserScheduleAdherenceUpdateNotificationDateTime.md +0 -16
|
@@ -27,10 +27,10 @@ module PureCloud
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :certificate
|
|
29
29
|
|
|
30
|
-
attr_accessor :issuer_uri
|
|
31
|
-
|
|
32
30
|
attr_accessor :sso_target_uri
|
|
33
31
|
|
|
32
|
+
attr_accessor :issuer_uri
|
|
33
|
+
|
|
34
34
|
attr_accessor :disabled
|
|
35
35
|
|
|
36
36
|
# The URI for this object
|
|
@@ -48,10 +48,10 @@ module PureCloud
|
|
|
48
48
|
|
|
49
49
|
:'certificate' => :'certificate',
|
|
50
50
|
|
|
51
|
-
:'issuer_uri' => :'issuerURI',
|
|
52
|
-
|
|
53
51
|
:'sso_target_uri' => :'ssoTargetURI',
|
|
54
52
|
|
|
53
|
+
:'issuer_uri' => :'issuerURI',
|
|
54
|
+
|
|
55
55
|
:'disabled' => :'disabled',
|
|
56
56
|
|
|
57
57
|
:'self_uri' => :'selfUri'
|
|
@@ -71,10 +71,10 @@ module PureCloud
|
|
|
71
71
|
|
|
72
72
|
:'certificate' => :'String',
|
|
73
73
|
|
|
74
|
-
:'issuer_uri' => :'String',
|
|
75
|
-
|
|
76
74
|
:'sso_target_uri' => :'String',
|
|
77
75
|
|
|
76
|
+
:'issuer_uri' => :'String',
|
|
77
|
+
|
|
78
78
|
:'disabled' => :'BOOLEAN',
|
|
79
79
|
|
|
80
80
|
:'self_uri' => :'String'
|
|
@@ -127,19 +127,19 @@ module PureCloud
|
|
|
127
127
|
end
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
if attributes.has_key?(:'
|
|
130
|
+
if attributes.has_key?(:'ssoTargetURI')
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
self.
|
|
133
|
+
self.sso_target_uri = attributes[:'ssoTargetURI']
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
if attributes.has_key?(:'
|
|
139
|
+
if attributes.has_key?(:'issuerURI')
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
self.
|
|
142
|
+
self.issuer_uri = attributes[:'issuerURI']
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
end
|
|
@@ -262,8 +262,8 @@ module PureCloud
|
|
|
262
262
|
name == o.name &&
|
|
263
263
|
relying_party_identifier == o.relying_party_identifier &&
|
|
264
264
|
certificate == o.certificate &&
|
|
265
|
-
issuer_uri == o.issuer_uri &&
|
|
266
265
|
sso_target_uri == o.sso_target_uri &&
|
|
266
|
+
issuer_uri == o.issuer_uri &&
|
|
267
267
|
disabled == o.disabled &&
|
|
268
268
|
self_uri == o.self_uri
|
|
269
269
|
end
|
|
@@ -277,7 +277,7 @@ module PureCloud
|
|
|
277
277
|
# Calculates hash code according to all attributes.
|
|
278
278
|
# @return [Fixnum] Hash code
|
|
279
279
|
def hash
|
|
280
|
-
[id, name, relying_party_identifier, certificate,
|
|
280
|
+
[id, name, relying_party_identifier, certificate, sso_target_uri, issuer_uri, disabled, self_uri].hash
|
|
281
281
|
end
|
|
282
282
|
|
|
283
283
|
# build the object from hash
|
|
@@ -48,6 +48,30 @@ module PureCloud
|
|
|
48
48
|
# URI of a page with terms and conditions for the integration type
|
|
49
49
|
attr_accessor :terms_of_service_uri
|
|
50
50
|
|
|
51
|
+
# Name of the vendor of this integration type
|
|
52
|
+
attr_accessor :vendor_name
|
|
53
|
+
|
|
54
|
+
# URI of the vendor's website
|
|
55
|
+
attr_accessor :vendor_website_uri
|
|
56
|
+
|
|
57
|
+
# URI of the marketplace listing for this integration type
|
|
58
|
+
attr_accessor :marketplace_uri
|
|
59
|
+
|
|
60
|
+
# URI of frequently asked questions about the integration type
|
|
61
|
+
attr_accessor :faq_uri
|
|
62
|
+
|
|
63
|
+
# URI of a privacy policy for users of the integration type
|
|
64
|
+
attr_accessor :privacy_policy_uri
|
|
65
|
+
|
|
66
|
+
# URI for vendor support
|
|
67
|
+
attr_accessor :support_contact_uri
|
|
68
|
+
|
|
69
|
+
# URI for vendor sales information
|
|
70
|
+
attr_accessor :sales_contact_uri
|
|
71
|
+
|
|
72
|
+
# List of links to additional help resources
|
|
73
|
+
attr_accessor :help_links
|
|
74
|
+
|
|
51
75
|
# Map of credentials for integrations of this type. The key is the name of a credential that can be provided in the credentials property of the integration configuration.
|
|
52
76
|
attr_accessor :credentials
|
|
53
77
|
|
|
@@ -87,6 +111,22 @@ module PureCloud
|
|
|
87
111
|
|
|
88
112
|
:'terms_of_service_uri' => :'termsOfServiceUri',
|
|
89
113
|
|
|
114
|
+
:'vendor_name' => :'vendorName',
|
|
115
|
+
|
|
116
|
+
:'vendor_website_uri' => :'vendorWebsiteUri',
|
|
117
|
+
|
|
118
|
+
:'marketplace_uri' => :'marketplaceUri',
|
|
119
|
+
|
|
120
|
+
:'faq_uri' => :'faqUri',
|
|
121
|
+
|
|
122
|
+
:'privacy_policy_uri' => :'privacyPolicyUri',
|
|
123
|
+
|
|
124
|
+
:'support_contact_uri' => :'supportContactUri',
|
|
125
|
+
|
|
126
|
+
:'sales_contact_uri' => :'salesContactUri',
|
|
127
|
+
|
|
128
|
+
:'help_links' => :'helpLinks',
|
|
129
|
+
|
|
90
130
|
:'credentials' => :'credentials',
|
|
91
131
|
|
|
92
132
|
:'non_installable' => :'nonInstallable',
|
|
@@ -124,6 +164,22 @@ module PureCloud
|
|
|
124
164
|
|
|
125
165
|
:'terms_of_service_uri' => :'String',
|
|
126
166
|
|
|
167
|
+
:'vendor_name' => :'String',
|
|
168
|
+
|
|
169
|
+
:'vendor_website_uri' => :'String',
|
|
170
|
+
|
|
171
|
+
:'marketplace_uri' => :'String',
|
|
172
|
+
|
|
173
|
+
:'faq_uri' => :'String',
|
|
174
|
+
|
|
175
|
+
:'privacy_policy_uri' => :'String',
|
|
176
|
+
|
|
177
|
+
:'support_contact_uri' => :'String',
|
|
178
|
+
|
|
179
|
+
:'sales_contact_uri' => :'String',
|
|
180
|
+
|
|
181
|
+
:'help_links' => :'Array<HelpLink>',
|
|
182
|
+
|
|
127
183
|
:'credentials' => :'Hash<String, CredentialSpecification>',
|
|
128
184
|
|
|
129
185
|
:'non_installable' => :'BOOLEAN',
|
|
@@ -238,6 +294,80 @@ module PureCloud
|
|
|
238
294
|
end
|
|
239
295
|
|
|
240
296
|
|
|
297
|
+
if attributes.has_key?(:'vendorName')
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
self.vendor_name = attributes[:'vendorName']
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
if attributes.has_key?(:'vendorWebsiteUri')
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
self.vendor_website_uri = attributes[:'vendorWebsiteUri']
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
if attributes.has_key?(:'marketplaceUri')
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
self.marketplace_uri = attributes[:'marketplaceUri']
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
if attributes.has_key?(:'faqUri')
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
self.faq_uri = attributes[:'faqUri']
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
if attributes.has_key?(:'privacyPolicyUri')
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
self.privacy_policy_uri = attributes[:'privacyPolicyUri']
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
if attributes.has_key?(:'supportContactUri')
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
self.support_contact_uri = attributes[:'supportContactUri']
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
if attributes.has_key?(:'salesContactUri')
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
self.sales_contact_uri = attributes[:'salesContactUri']
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
if attributes.has_key?(:'helpLinks')
|
|
361
|
+
|
|
362
|
+
if (value = attributes[:'helpLinks']).is_a?(Array)
|
|
363
|
+
self.help_links = value
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
|
|
241
371
|
if attributes.has_key?(:'credentials')
|
|
242
372
|
|
|
243
373
|
if (value = attributes[:'credentials']).is_a?(Array)
|
|
@@ -346,6 +476,38 @@ module PureCloud
|
|
|
346
476
|
|
|
347
477
|
|
|
348
478
|
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
349
511
|
|
|
350
512
|
|
|
351
513
|
|
|
@@ -424,6 +586,46 @@ module PureCloud
|
|
|
424
586
|
|
|
425
587
|
|
|
426
588
|
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
427
629
|
|
|
428
630
|
|
|
429
631
|
|
|
@@ -460,6 +662,14 @@ module PureCloud
|
|
|
460
662
|
config_advanced_schema_uri == o.config_advanced_schema_uri &&
|
|
461
663
|
help_uri == o.help_uri &&
|
|
462
664
|
terms_of_service_uri == o.terms_of_service_uri &&
|
|
665
|
+
vendor_name == o.vendor_name &&
|
|
666
|
+
vendor_website_uri == o.vendor_website_uri &&
|
|
667
|
+
marketplace_uri == o.marketplace_uri &&
|
|
668
|
+
faq_uri == o.faq_uri &&
|
|
669
|
+
privacy_policy_uri == o.privacy_policy_uri &&
|
|
670
|
+
support_contact_uri == o.support_contact_uri &&
|
|
671
|
+
sales_contact_uri == o.sales_contact_uri &&
|
|
672
|
+
help_links == o.help_links &&
|
|
463
673
|
credentials == o.credentials &&
|
|
464
674
|
non_installable == o.non_installable &&
|
|
465
675
|
max_instances == o.max_instances &&
|
|
@@ -476,7 +686,7 @@ module PureCloud
|
|
|
476
686
|
# Calculates hash code according to all attributes.
|
|
477
687
|
# @return [Fixnum] Hash code
|
|
478
688
|
def hash
|
|
479
|
-
[id, name, description, provider, category, images, config_properties_schema_uri, config_advanced_schema_uri, help_uri, terms_of_service_uri, credentials, non_installable, max_instances, user_permissions, self_uri].hash
|
|
689
|
+
[id, name, description, provider, category, images, config_properties_schema_uri, config_advanced_schema_uri, help_uri, terms_of_service_uri, vendor_name, vendor_website_uri, marketplace_uri, faq_uri, privacy_policy_uri, support_contact_uri, sales_contact_uri, help_links, credentials, non_installable, max_instances, user_permissions, self_uri].hash
|
|
480
690
|
end
|
|
481
691
|
|
|
482
692
|
# build the object from hash
|
|
@@ -57,9 +57,9 @@ module PureCloud
|
|
|
57
57
|
def self.swagger_types
|
|
58
58
|
{
|
|
59
59
|
|
|
60
|
-
:'start_date' => :'
|
|
60
|
+
:'start_date' => :'DateTime',
|
|
61
61
|
|
|
62
|
-
:'end_date' => :'
|
|
62
|
+
:'end_date' => :'DateTime',
|
|
63
63
|
|
|
64
64
|
:'interval_length_minutes' => :'Integer',
|
|
65
65
|
|
|
@@ -346,7 +346,7 @@ module PureCloud
|
|
|
346
346
|
|
|
347
347
|
|
|
348
348
|
|
|
349
|
-
allowed_values = ["queued", "sent", "failed", "received"]
|
|
349
|
+
allowed_values = ["queued", "sent", "failed", "received", "delivery-success", "delivery-failed", "read"]
|
|
350
350
|
if @status && !allowed_values.include?(@status)
|
|
351
351
|
return false
|
|
352
352
|
end
|
|
@@ -439,7 +439,7 @@ module PureCloud
|
|
|
439
439
|
# Custom attribute writer method checking allowed values (enum).
|
|
440
440
|
# @param [Object] status Object to be assigned
|
|
441
441
|
def status=(status)
|
|
442
|
-
allowed_values = ["queued", "sent", "failed", "received"]
|
|
442
|
+
allowed_values = ["queued", "sent", "failed", "received", "delivery-success", "delivery-failed", "read"]
|
|
443
443
|
if status && !allowed_values.include?(status)
|
|
444
444
|
fail ArgumentError, "invalid value for 'status', must be one of #{allowed_values}."
|
|
445
445
|
end
|
|
@@ -182,7 +182,7 @@ module PureCloud
|
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
allowed_values = ["queued", "sent", "failed", "received"]
|
|
185
|
+
allowed_values = ["queued", "sent", "failed", "received", "delivery-success", "delivery-failed", "read"]
|
|
186
186
|
if @message_status && !allowed_values.include?(@message_status)
|
|
187
187
|
return false
|
|
188
188
|
end
|
|
@@ -222,7 +222,7 @@ module PureCloud
|
|
|
222
222
|
# Custom attribute writer method checking allowed values (enum).
|
|
223
223
|
# @param [Object] message_status Object to be assigned
|
|
224
224
|
def message_status=(message_status)
|
|
225
|
-
allowed_values = ["queued", "sent", "failed", "received"]
|
|
225
|
+
allowed_values = ["queued", "sent", "failed", "received", "delivery-success", "delivery-failed", "read"]
|
|
226
226
|
if message_status && !allowed_values.include?(message_status)
|
|
227
227
|
fail ArgumentError, "invalid value for 'message_status', must be one of #{allowed_values}."
|
|
228
228
|
end
|
|
@@ -25,10 +25,10 @@ module PureCloud
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :certificate
|
|
27
27
|
|
|
28
|
-
attr_accessor :issuer_uri
|
|
29
|
-
|
|
30
28
|
attr_accessor :sso_target_uri
|
|
31
29
|
|
|
30
|
+
attr_accessor :issuer_uri
|
|
31
|
+
|
|
32
32
|
attr_accessor :disabled
|
|
33
33
|
|
|
34
34
|
# The URI for this object
|
|
@@ -44,10 +44,10 @@ module PureCloud
|
|
|
44
44
|
|
|
45
45
|
:'certificate' => :'certificate',
|
|
46
46
|
|
|
47
|
-
:'issuer_uri' => :'issuerURI',
|
|
48
|
-
|
|
49
47
|
:'sso_target_uri' => :'ssoTargetURI',
|
|
50
48
|
|
|
49
|
+
:'issuer_uri' => :'issuerURI',
|
|
50
|
+
|
|
51
51
|
:'disabled' => :'disabled',
|
|
52
52
|
|
|
53
53
|
:'self_uri' => :'selfUri'
|
|
@@ -65,10 +65,10 @@ module PureCloud
|
|
|
65
65
|
|
|
66
66
|
:'certificate' => :'String',
|
|
67
67
|
|
|
68
|
-
:'issuer_uri' => :'String',
|
|
69
|
-
|
|
70
68
|
:'sso_target_uri' => :'String',
|
|
71
69
|
|
|
70
|
+
:'issuer_uri' => :'String',
|
|
71
|
+
|
|
72
72
|
:'disabled' => :'BOOLEAN',
|
|
73
73
|
|
|
74
74
|
:'self_uri' => :'String'
|
|
@@ -112,19 +112,19 @@ module PureCloud
|
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
if attributes.has_key?(:'
|
|
115
|
+
if attributes.has_key?(:'ssoTargetURI')
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
self.
|
|
118
|
+
self.sso_target_uri = attributes[:'ssoTargetURI']
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
end
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
if attributes.has_key?(:'
|
|
124
|
+
if attributes.has_key?(:'issuerURI')
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
self.
|
|
127
|
+
self.issuer_uri = attributes[:'issuerURI']
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
end
|
|
@@ -237,8 +237,8 @@ module PureCloud
|
|
|
237
237
|
id == o.id &&
|
|
238
238
|
name == o.name &&
|
|
239
239
|
certificate == o.certificate &&
|
|
240
|
-
issuer_uri == o.issuer_uri &&
|
|
241
240
|
sso_target_uri == o.sso_target_uri &&
|
|
241
|
+
issuer_uri == o.issuer_uri &&
|
|
242
242
|
disabled == o.disabled &&
|
|
243
243
|
self_uri == o.self_uri
|
|
244
244
|
end
|
|
@@ -252,7 +252,7 @@ module PureCloud
|
|
|
252
252
|
# Calculates hash code according to all attributes.
|
|
253
253
|
# @return [Fixnum] Hash code
|
|
254
254
|
def hash
|
|
255
|
-
[id, name, certificate,
|
|
255
|
+
[id, name, certificate, sso_target_uri, issuer_uri, disabled, self_uri].hash
|
|
256
256
|
end
|
|
257
257
|
|
|
258
258
|
# build the object from hash
|