purecloudplatformclientv2 15.0.0 → 16.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/Action.md +21 -0
- data/docs/ActionConfig.md +14 -0
- data/docs/ActionContract.md +14 -0
- data/docs/ActionContractInput.md +14 -0
- data/docs/ActionEntityListing.md +22 -0
- data/docs/ActionInput.md +15 -0
- data/docs/ActionOutput.md +18 -0
- data/docs/ActiveAlertCount.md +13 -0
- data/docs/AggregationQuery.md +1 -1
- data/docs/AlertingApi.md +54 -0
- data/docs/ArchitectApi.md +31 -25
- data/docs/CallConversationNotificationCallMediaParticipant.md +1 -0
- data/docs/CallConversationNotificationParticipants.md +1 -0
- data/docs/CallbackConversationNotificationCallbackMediaParticipant.md +1 -0
- data/docs/CallbackConversationNotificationParticipants.md +1 -0
- data/docs/Category.md +13 -0
- data/docs/CategoryEntityListing.md +17 -0
- data/docs/ChatConversationNotificationChatMediaParticipant.md +1 -0
- data/docs/ChatConversationNotificationParticipants.md +1 -0
- data/docs/CobrowseConversationNotificationCobrowseMediaParticipant.md +1 -0
- data/docs/CobrowseConversationNotificationParticipants.md +1 -0
- data/docs/ConversationNotificationCall.md +1 -0
- data/docs/ConversationNotificationCalls.md +1 -0
- data/docs/ConversationNotificationEmail.md +1 -0
- data/docs/ConversationNotificationEmails.md +1 -0
- data/docs/ConversationNotificationParticipant.md +1 -0
- data/docs/ConversationNotificationParticipants.md +1 -0
- data/docs/ConversationsApi.md +3 -3
- data/docs/Document.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/DraftValidationResult.md +14 -0
- data/docs/EmailConversationNotificationEmailMediaParticipant.md +2 -0
- data/docs/EmailConversationNotificationParticipants.md +2 -0
- data/docs/FaxDocument.md +1 -1
- data/docs/IntegrationsApi.md +1355 -0
- data/docs/JsonNode.md +4 -4
- data/docs/ManagementUnit.md +1 -1
- data/docs/ManagementUnitListing.md +22 -0
- data/docs/OutboundApi.md +59 -0
- data/docs/PostActionInput.md +18 -0
- data/docs/PostInputContract.md +13 -0
- data/docs/PostOutputContract.md +13 -0
- data/docs/PublishDraftInput.md +13 -0
- data/docs/RecordingApi.md +123 -0
- data/docs/RequestConfig.md +17 -0
- data/docs/ResponseConfig.md +15 -0
- data/docs/ScreenShareConversationNotificationParticipants.md +1 -0
- data/docs/ScreenShareConversationNotificationScreenShareMediaParticipant.md +1 -0
- data/docs/SocialConversationNotificationParticipants.md +1 -0
- data/docs/SocialConversationNotificationSocialMediaParticipant.md +1 -0
- data/docs/TestExecutionOperationResult.md +17 -0
- data/docs/TestExecutionResult.md +16 -0
- data/docs/UpdateActionInput.md +16 -0
- data/docs/UpdateDraftInput.md +18 -0
- data/docs/VideoConversationNotificationParticipants.md +1 -0
- data/docs/VideoConversationNotificationVideoMediaParticipant.md +1 -0
- data/docs/WorkforceManagementApi.md +2 -4
- data/lib/purecloudplatformclientv2.rb +23 -1
- data/lib/purecloudplatformclientv2/api/alerting_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +52 -20
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/integrations_api.rb +1723 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +65 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +140 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -12
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action.rb +409 -0
- data/lib/purecloudplatformclientv2/models/action_config.rb +229 -0
- data/lib/purecloudplatformclientv2/models/action_contract.rb +229 -0
- data/lib/purecloudplatformclientv2/models/action_contract_input.rb +239 -0
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/action_input.rb +255 -0
- data/lib/purecloudplatformclientv2/models/action_output.rb +333 -0
- data/lib/purecloudplatformclientv2/models/active_alert_count.rb +202 -0
- data/lib/purecloudplatformclientv2/models/aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_call_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/category.rb +203 -0
- data/lib/purecloudplatformclientv2/models/category_entity_listing.rb +303 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_chat_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/condition.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_notification_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_calls.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_participant.rb +40 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_participants.rb +40 -1
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/draft_validation_result.rb +231 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_email_media_participant.rb +54 -4
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_participants.rb +54 -4
- data/lib/purecloudplatformclientv2/models/fax_document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule.rb +2 -2
- data/lib/purecloudplatformclientv2/models/json_node.rb +72 -72
- data/lib/purecloudplatformclientv2/models/management_unit.rb +7 -7
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/post_action_input.rb +358 -0
- data/lib/purecloudplatformclientv2/models/post_input_contract.rb +208 -0
- data/lib/purecloudplatformclientv2/models/post_output_contract.rb +208 -0
- data/lib/purecloudplatformclientv2/models/publish_draft_input.rb +208 -0
- data/lib/purecloudplatformclientv2/models/request_config.rb +309 -0
- data/lib/purecloudplatformclientv2/models/response_config.rb +257 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_screen_share_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_social_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/test_execution_operation_result.rb +306 -0
- data/lib/purecloudplatformclientv2/models/test_execution_result.rb +282 -0
- data/lib/purecloudplatformclientv2/models/{publish_flow_notification_notification.rb → update_action_input.rb} +35 -26
- data/lib/purecloudplatformclientv2/models/update_draft_input.rb +338 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_video_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +91 -47
- data/docs/PublishFlowNotificationNotification.md +0 -16
@@ -46,6 +46,8 @@ module PureCloud
|
|
46
46
|
|
47
47
|
attr_accessor :disconnected_time
|
48
48
|
|
49
|
+
attr_accessor :message_id
|
50
|
+
|
49
51
|
attr_accessor :additional_properties
|
50
52
|
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -80,6 +82,8 @@ module PureCloud
|
|
80
82
|
|
81
83
|
:'disconnected_time' => :'disconnectedTime',
|
82
84
|
|
85
|
+
:'message_id' => :'messageId',
|
86
|
+
|
83
87
|
:'additional_properties' => :'additionalProperties'
|
84
88
|
|
85
89
|
}
|
@@ -117,6 +121,8 @@ module PureCloud
|
|
117
121
|
|
118
122
|
:'disconnected_time' => :'DateTime',
|
119
123
|
|
124
|
+
:'message_id' => :'String',
|
125
|
+
|
120
126
|
:'additional_properties' => :'Object'
|
121
127
|
|
122
128
|
}
|
@@ -257,6 +263,15 @@ module PureCloud
|
|
257
263
|
end
|
258
264
|
|
259
265
|
|
266
|
+
if attributes.has_key?(:'messageId')
|
267
|
+
|
268
|
+
|
269
|
+
self.message_id = attributes[:'messageId']
|
270
|
+
|
271
|
+
|
272
|
+
end
|
273
|
+
|
274
|
+
|
260
275
|
if attributes.has_key?(:'additionalProperties')
|
261
276
|
|
262
277
|
|
@@ -348,6 +363,10 @@ module PureCloud
|
|
348
363
|
|
349
364
|
|
350
365
|
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
351
370
|
|
352
371
|
|
353
372
|
|
@@ -441,6 +460,11 @@ module PureCloud
|
|
441
460
|
|
442
461
|
|
443
462
|
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
444
468
|
|
445
469
|
|
446
470
|
|
@@ -466,6 +490,7 @@ module PureCloud
|
|
466
490
|
start_hold_time == o.start_hold_time &&
|
467
491
|
connected_time == o.connected_time &&
|
468
492
|
disconnected_time == o.disconnected_time &&
|
493
|
+
message_id == o.message_id &&
|
469
494
|
additional_properties == o.additional_properties
|
470
495
|
end
|
471
496
|
|
@@ -478,7 +503,7 @@ module PureCloud
|
|
478
503
|
# Calculates hash code according to all attributes.
|
479
504
|
# @return [Fixnum] Hash code
|
480
505
|
def hash
|
481
|
-
[id, state, held, auto_generated, subject, provider, script_id, peer_id, messages_sent, error_info, disconnect_type, start_hold_time, connected_time, disconnected_time, additional_properties].hash
|
506
|
+
[id, state, held, auto_generated, subject, provider, script_id, peer_id, messages_sent, error_info, disconnect_type, start_hold_time, connected_time, disconnected_time, message_id, additional_properties].hash
|
482
507
|
end
|
483
508
|
|
484
509
|
# build the object from hash
|
@@ -46,6 +46,8 @@ module PureCloud
|
|
46
46
|
|
47
47
|
attr_accessor :disconnected_time
|
48
48
|
|
49
|
+
attr_accessor :message_id
|
50
|
+
|
49
51
|
attr_accessor :additional_properties
|
50
52
|
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -80,6 +82,8 @@ module PureCloud
|
|
80
82
|
|
81
83
|
:'disconnected_time' => :'disconnectedTime',
|
82
84
|
|
85
|
+
:'message_id' => :'messageId',
|
86
|
+
|
83
87
|
:'additional_properties' => :'additionalProperties'
|
84
88
|
|
85
89
|
}
|
@@ -117,6 +121,8 @@ module PureCloud
|
|
117
121
|
|
118
122
|
:'disconnected_time' => :'DateTime',
|
119
123
|
|
124
|
+
:'message_id' => :'String',
|
125
|
+
|
120
126
|
:'additional_properties' => :'Object'
|
121
127
|
|
122
128
|
}
|
@@ -257,6 +263,15 @@ module PureCloud
|
|
257
263
|
end
|
258
264
|
|
259
265
|
|
266
|
+
if attributes.has_key?(:'messageId')
|
267
|
+
|
268
|
+
|
269
|
+
self.message_id = attributes[:'messageId']
|
270
|
+
|
271
|
+
|
272
|
+
end
|
273
|
+
|
274
|
+
|
260
275
|
if attributes.has_key?(:'additionalProperties')
|
261
276
|
|
262
277
|
|
@@ -348,6 +363,10 @@ module PureCloud
|
|
348
363
|
|
349
364
|
|
350
365
|
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
351
370
|
|
352
371
|
|
353
372
|
|
@@ -441,6 +460,11 @@ module PureCloud
|
|
441
460
|
|
442
461
|
|
443
462
|
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
444
468
|
|
445
469
|
|
446
470
|
|
@@ -466,6 +490,7 @@ module PureCloud
|
|
466
490
|
start_hold_time == o.start_hold_time &&
|
467
491
|
connected_time == o.connected_time &&
|
468
492
|
disconnected_time == o.disconnected_time &&
|
493
|
+
message_id == o.message_id &&
|
469
494
|
additional_properties == o.additional_properties
|
470
495
|
end
|
471
496
|
|
@@ -478,7 +503,7 @@ module PureCloud
|
|
478
503
|
# Calculates hash code according to all attributes.
|
479
504
|
# @return [Fixnum] Hash code
|
480
505
|
def hash
|
481
|
-
[id, state, held, auto_generated, subject, provider, script_id, peer_id, messages_sent, error_info, disconnect_type, start_hold_time, connected_time, disconnected_time, additional_properties].hash
|
506
|
+
[id, state, held, auto_generated, subject, provider, script_id, peer_id, messages_sent, error_info, disconnect_type, start_hold_time, connected_time, disconnected_time, message_id, additional_properties].hash
|
482
507
|
end
|
483
508
|
|
484
509
|
# build the object from hash
|
@@ -54,6 +54,8 @@ module PureCloud
|
|
54
54
|
|
55
55
|
attr_accessor :monitored_participant_id
|
56
56
|
|
57
|
+
attr_accessor :screen_recording_state
|
58
|
+
|
57
59
|
attr_accessor :attributes
|
58
60
|
|
59
61
|
attr_accessor :calls
|
@@ -114,6 +116,8 @@ module PureCloud
|
|
114
116
|
|
115
117
|
:'monitored_participant_id' => :'monitoredParticipantId',
|
116
118
|
|
119
|
+
:'screen_recording_state' => :'screenRecordingState',
|
120
|
+
|
117
121
|
:'attributes' => :'attributes',
|
118
122
|
|
119
123
|
:'calls' => :'calls',
|
@@ -177,6 +181,8 @@ module PureCloud
|
|
177
181
|
|
178
182
|
:'monitored_participant_id' => :'String',
|
179
183
|
|
184
|
+
:'screen_recording_state' => :'String',
|
185
|
+
|
180
186
|
:'attributes' => :'Hash<String, String>',
|
181
187
|
|
182
188
|
:'calls' => :'Array<ConversationNotificationCalls>',
|
@@ -371,6 +377,15 @@ module PureCloud
|
|
371
377
|
end
|
372
378
|
|
373
379
|
|
380
|
+
if attributes.has_key?(:'screenRecordingState')
|
381
|
+
|
382
|
+
|
383
|
+
self.screen_recording_state = attributes[:'screenRecordingState']
|
384
|
+
|
385
|
+
|
386
|
+
end
|
387
|
+
|
388
|
+
|
374
389
|
if attributes.has_key?(:'attributes')
|
375
390
|
|
376
391
|
if (value = attributes[:'attributes']).is_a?(Array)
|
@@ -568,6 +583,15 @@ module PureCloud
|
|
568
583
|
|
569
584
|
|
570
585
|
|
586
|
+
allowed_values = ["REQUESTED", "ACTIVE", "PAUSED", "STOPPED", "ERROR"]
|
587
|
+
if @screen_recording_state && !allowed_values.include?(@screen_recording_state)
|
588
|
+
return false
|
589
|
+
end
|
590
|
+
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
|
571
595
|
|
572
596
|
|
573
597
|
|
@@ -700,6 +724,20 @@ module PureCloud
|
|
700
724
|
|
701
725
|
|
702
726
|
|
727
|
+
# Custom attribute writer method checking allowed values (enum).
|
728
|
+
# @param [Object] screen_recording_state Object to be assigned
|
729
|
+
def screen_recording_state=(screen_recording_state)
|
730
|
+
allowed_values = ["REQUESTED", "ACTIVE", "PAUSED", "STOPPED", "ERROR"]
|
731
|
+
if screen_recording_state && !allowed_values.include?(screen_recording_state)
|
732
|
+
fail ArgumentError, "invalid value for 'screen_recording_state', must be one of #{allowed_values}."
|
733
|
+
end
|
734
|
+
@screen_recording_state = screen_recording_state
|
735
|
+
end
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
703
741
|
|
704
742
|
|
705
743
|
|
@@ -772,6 +810,7 @@ module PureCloud
|
|
772
810
|
wrapup_timeout_ms == o.wrapup_timeout_ms &&
|
773
811
|
wrapup == o.wrapup &&
|
774
812
|
monitored_participant_id == o.monitored_participant_id &&
|
813
|
+
screen_recording_state == o.screen_recording_state &&
|
775
814
|
attributes == o.attributes &&
|
776
815
|
calls == o.calls &&
|
777
816
|
callbacks == o.callbacks &&
|
@@ -793,7 +832,7 @@ module PureCloud
|
|
793
832
|
# Calculates hash code according to all attributes.
|
794
833
|
# @return [Fixnum] Hash code
|
795
834
|
def hash
|
796
|
-
[id, connected_time, end_time, user_id, external_contact_id, external_organization_id, name, queue_id, group_id, purpose, consult_participant_id, address, wrapup_required, wrapup_expected, wrapup_prompt, wrapup_timeout_ms, wrapup, monitored_participant_id, attributes, calls, callbacks, chats, cobrowsesessions, emails, screenshares, social_expressions, videos, additional_properties].hash
|
835
|
+
[id, connected_time, end_time, user_id, external_contact_id, external_organization_id, name, queue_id, group_id, purpose, consult_participant_id, address, wrapup_required, wrapup_expected, wrapup_prompt, wrapup_timeout_ms, wrapup, monitored_participant_id, screen_recording_state, attributes, calls, callbacks, chats, cobrowsesessions, emails, screenshares, social_expressions, videos, additional_properties].hash
|
797
836
|
end
|
798
837
|
|
799
838
|
# build the object from hash
|
@@ -54,6 +54,8 @@ module PureCloud
|
|
54
54
|
|
55
55
|
attr_accessor :monitored_participant_id
|
56
56
|
|
57
|
+
attr_accessor :screen_recording_state
|
58
|
+
|
57
59
|
attr_accessor :attributes
|
58
60
|
|
59
61
|
attr_accessor :calls
|
@@ -114,6 +116,8 @@ module PureCloud
|
|
114
116
|
|
115
117
|
:'monitored_participant_id' => :'monitoredParticipantId',
|
116
118
|
|
119
|
+
:'screen_recording_state' => :'screenRecordingState',
|
120
|
+
|
117
121
|
:'attributes' => :'attributes',
|
118
122
|
|
119
123
|
:'calls' => :'calls',
|
@@ -177,6 +181,8 @@ module PureCloud
|
|
177
181
|
|
178
182
|
:'monitored_participant_id' => :'String',
|
179
183
|
|
184
|
+
:'screen_recording_state' => :'String',
|
185
|
+
|
180
186
|
:'attributes' => :'Hash<String, String>',
|
181
187
|
|
182
188
|
:'calls' => :'Array<ConversationNotificationCalls>',
|
@@ -371,6 +377,15 @@ module PureCloud
|
|
371
377
|
end
|
372
378
|
|
373
379
|
|
380
|
+
if attributes.has_key?(:'screenRecordingState')
|
381
|
+
|
382
|
+
|
383
|
+
self.screen_recording_state = attributes[:'screenRecordingState']
|
384
|
+
|
385
|
+
|
386
|
+
end
|
387
|
+
|
388
|
+
|
374
389
|
if attributes.has_key?(:'attributes')
|
375
390
|
|
376
391
|
if (value = attributes[:'attributes']).is_a?(Array)
|
@@ -568,6 +583,15 @@ module PureCloud
|
|
568
583
|
|
569
584
|
|
570
585
|
|
586
|
+
allowed_values = ["REQUESTED", "ACTIVE", "PAUSED", "STOPPED", "ERROR"]
|
587
|
+
if @screen_recording_state && !allowed_values.include?(@screen_recording_state)
|
588
|
+
return false
|
589
|
+
end
|
590
|
+
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
|
571
595
|
|
572
596
|
|
573
597
|
|
@@ -700,6 +724,20 @@ module PureCloud
|
|
700
724
|
|
701
725
|
|
702
726
|
|
727
|
+
# Custom attribute writer method checking allowed values (enum).
|
728
|
+
# @param [Object] screen_recording_state Object to be assigned
|
729
|
+
def screen_recording_state=(screen_recording_state)
|
730
|
+
allowed_values = ["REQUESTED", "ACTIVE", "PAUSED", "STOPPED", "ERROR"]
|
731
|
+
if screen_recording_state && !allowed_values.include?(screen_recording_state)
|
732
|
+
fail ArgumentError, "invalid value for 'screen_recording_state', must be one of #{allowed_values}."
|
733
|
+
end
|
734
|
+
@screen_recording_state = screen_recording_state
|
735
|
+
end
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
703
741
|
|
704
742
|
|
705
743
|
|
@@ -772,6 +810,7 @@ module PureCloud
|
|
772
810
|
wrapup_timeout_ms == o.wrapup_timeout_ms &&
|
773
811
|
wrapup == o.wrapup &&
|
774
812
|
monitored_participant_id == o.monitored_participant_id &&
|
813
|
+
screen_recording_state == o.screen_recording_state &&
|
775
814
|
attributes == o.attributes &&
|
776
815
|
calls == o.calls &&
|
777
816
|
callbacks == o.callbacks &&
|
@@ -793,7 +832,7 @@ module PureCloud
|
|
793
832
|
# Calculates hash code according to all attributes.
|
794
833
|
# @return [Fixnum] Hash code
|
795
834
|
def hash
|
796
|
-
[id, connected_time, end_time, user_id, external_contact_id, external_organization_id, name, queue_id, group_id, purpose, consult_participant_id, address, wrapup_required, wrapup_expected, wrapup_prompt, wrapup_timeout_ms, wrapup, monitored_participant_id, attributes, calls, callbacks, chats, cobrowsesessions, emails, screenshares, social_expressions, videos, additional_properties].hash
|
835
|
+
[id, connected_time, end_time, user_id, external_contact_id, external_organization_id, name, queue_id, group_id, purpose, consult_participant_id, address, wrapup_required, wrapup_expected, wrapup_prompt, wrapup_timeout_ms, wrapup, monitored_participant_id, screen_recording_state, attributes, calls, callbacks, chats, cobrowsesessions, emails, screenshares, social_expressions, videos, additional_properties].hash
|
797
836
|
end
|
798
837
|
|
799
838
|
# build the object from hash
|
@@ -192,7 +192,7 @@ module PureCloud
|
|
192
192
|
|
193
193
|
|
194
194
|
|
195
|
-
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
195
|
+
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INBOUNDSHORTMESSAGE", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
196
196
|
if @type && !allowed_values.include?(@type)
|
197
197
|
return false
|
198
198
|
end
|
@@ -237,7 +237,7 @@ module PureCloud
|
|
237
237
|
# Custom attribute writer method checking allowed values (enum).
|
238
238
|
# @param [Object] type Object to be assigned
|
239
239
|
def type=(type)
|
240
|
-
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
240
|
+
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INBOUNDSHORTMESSAGE", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
241
241
|
if type && !allowed_values.include?(type)
|
242
242
|
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
243
243
|
end
|
@@ -226,7 +226,7 @@ module PureCloud
|
|
226
226
|
|
227
227
|
|
228
228
|
|
229
|
-
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
229
|
+
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INBOUNDSHORTMESSAGE", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
230
230
|
if @type && !allowed_values.include?(@type)
|
231
231
|
return false
|
232
232
|
end
|
@@ -279,7 +279,7 @@ module PureCloud
|
|
279
279
|
# Custom attribute writer method checking allowed values (enum).
|
280
280
|
# @param [Object] type Object to be assigned
|
281
281
|
def type=(type)
|
282
|
-
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
282
|
+
allowed_values = ["ACDLANGUAGE", "ACDSKILL", "ACDWRAPUPCODE", "BRIDGEACTION", "COMPOSERSCRIPT", "CONTACTLIST", "DATAACTION", "EMAILROUTE", "GROUP", "INBOUNDCALLFLOW", "INBOUNDEMAILFLOW", "INBOUNDSHORTMESSAGE", "INQUEUECALLFLOW", "IVRCONFIGURATION", "LANGUAGE", "OUTBOUNDCALLFLOW", "QUEUE", "RESPONSE", "SCHEDULE", "SCHEDULEGROUP", "SECUREACTION", "SECURECALLFLOW", "SURVEYINVITEFLOW", "SYSTEMPROMPT", "USER", "USERPROMPT", "VOICEXML", "WORKFLOW"]
|
283
283
|
if type && !allowed_values.include?(type)
|
284
284
|
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
285
285
|
end
|
@@ -79,10 +79,10 @@ module PureCloud
|
|
79
79
|
|
80
80
|
attr_accessor :sharing_status
|
81
81
|
|
82
|
-
attr_accessor :sharing_uri
|
83
|
-
|
84
82
|
attr_accessor :download_sharing_uri
|
85
83
|
|
84
|
+
attr_accessor :sharing_uri
|
85
|
+
|
86
86
|
# The URI for this object
|
87
87
|
attr_accessor :self_uri
|
88
88
|
|
@@ -146,10 +146,10 @@ module PureCloud
|
|
146
146
|
|
147
147
|
:'sharing_status' => :'sharingStatus',
|
148
148
|
|
149
|
-
:'sharing_uri' => :'sharingUri',
|
150
|
-
|
151
149
|
:'download_sharing_uri' => :'downloadSharingUri',
|
152
150
|
|
151
|
+
:'sharing_uri' => :'sharingUri',
|
152
|
+
|
153
153
|
:'self_uri' => :'selfUri'
|
154
154
|
|
155
155
|
}
|
@@ -215,10 +215,10 @@ module PureCloud
|
|
215
215
|
|
216
216
|
:'sharing_status' => :'String',
|
217
217
|
|
218
|
-
:'sharing_uri' => :'String',
|
219
|
-
|
220
218
|
:'download_sharing_uri' => :'String',
|
221
219
|
|
220
|
+
:'sharing_uri' => :'String',
|
221
|
+
|
222
222
|
:'self_uri' => :'String'
|
223
223
|
|
224
224
|
}
|
@@ -495,19 +495,19 @@ module PureCloud
|
|
495
495
|
end
|
496
496
|
|
497
497
|
|
498
|
-
if attributes.has_key?(:'
|
498
|
+
if attributes.has_key?(:'downloadSharingUri')
|
499
499
|
|
500
500
|
|
501
|
-
self.
|
501
|
+
self.download_sharing_uri = attributes[:'downloadSharingUri']
|
502
502
|
|
503
503
|
|
504
504
|
end
|
505
505
|
|
506
506
|
|
507
|
-
if attributes.has_key?(:'
|
507
|
+
if attributes.has_key?(:'sharingUri')
|
508
508
|
|
509
509
|
|
510
|
-
self.
|
510
|
+
self.sharing_uri = attributes[:'sharingUri']
|
511
511
|
|
512
512
|
|
513
513
|
end
|
@@ -894,8 +894,8 @@ module PureCloud
|
|
894
894
|
lock_info == o.lock_info &&
|
895
895
|
acl == o.acl &&
|
896
896
|
sharing_status == o.sharing_status &&
|
897
|
-
sharing_uri == o.sharing_uri &&
|
898
897
|
download_sharing_uri == o.download_sharing_uri &&
|
898
|
+
sharing_uri == o.sharing_uri &&
|
899
899
|
self_uri == o.self_uri
|
900
900
|
end
|
901
901
|
|
@@ -908,7 +908,7 @@ module PureCloud
|
|
908
908
|
# Calculates hash code according to all attributes.
|
909
909
|
# @return [Fixnum] Hash code
|
910
910
|
def hash
|
911
|
-
[id, name, change_number, date_created, date_modified, date_uploaded, content_uri, workspace, created_by, uploaded_by, content_type, content_length, system_type, filename, page_count, read, caller_address, receiver_address, tags, tag_values, attributes, thumbnails, upload_status, upload_destination_uri, upload_method, lock_info, acl, sharing_status,
|
911
|
+
[id, name, change_number, date_created, date_modified, date_uploaded, content_uri, workspace, created_by, uploaded_by, content_type, content_length, system_type, filename, page_count, read, caller_address, receiver_address, tags, tag_values, attributes, thumbnails, upload_status, upload_destination_uri, upload_method, lock_info, acl, sharing_status, download_sharing_uri, sharing_uri, self_uri].hash
|
912
912
|
end
|
913
913
|
|
914
914
|
# build the object from hash
|