purecloud 0.53.1 → 0.54.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/bin/notificationMappings.json +12 -0
- data/config-ruby.json +1 -1
- data/doc_out/ADFS.html.md +1 -1
- data/doc_out/Adjacents.html.md +15 -0
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AttemptLimitsEntityListing.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +2 -0
- data/doc_out/CallConversationNotificationParticipants.html.md +3 -1
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +2 -0
- data/doc_out/CallbackConversationNotificationParticipants.html.md +2 -0
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +2 -0
- data/doc_out/ChatConversationNotificationParticipants.html.md +2 -0
- data/doc_out/CobrowseConversationEntityListing.html.md +2 -2
- data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +2 -0
- data/doc_out/CobrowseConversationNotificationParticipants.html.md +2 -0
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/ConversationNotificationParticipant.html.md +1 -0
- data/doc_out/ConversationNotificationParticipants.html.md +14 -13
- data/doc_out/CustomerInteractionCenter.html.md +1 -1
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
- data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +2 -0
- data/doc_out/EmailConversationNotificationParticipants.html.md +12 -10
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +2 -2
- data/doc_out/EvaluationFormEntityListing.html.md +2 -2
- data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
- data/doc_out/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/HeartBeatAlertContainer.html.md +2 -2
- data/doc_out/HeartBeatRuleContainer.html.md +2 -2
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.html.md +2 -2
- data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
- data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
- data/doc_out/JsonNode.html.md +1 -1
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LibraryEntityListing.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +2 -2
- data/doc_out/LineEntityListing.html.md +2 -2
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/OAuthClientEntityListing.html.md +2 -2
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/Okta.html.md +1 -1
- data/doc_out/OneLogin.html.md +1 -1
- data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
- data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
- data/doc_out/OrphanRecordingListing.html.md +2 -2
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
- data/doc_out/PhoneBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneEntityListing.html.md +2 -2
- data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
- data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/PolicyEntityListing.html.md +2 -2
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/QueueMemberEntityListing.html.md +2 -2
- data/doc_out/QueueMemberNotification.html.md +16 -0
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/Salesforce.html.md +1 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScreenRecordingSessionListing.html.md +2 -2
- data/doc_out/ScreenShareConversationNotificationParticipants.html.md +3 -1
- data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +2 -0
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/SocialConversationNotificationParticipants.html.md +2 -0
- data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +2 -0
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserMe.html.md +4 -0
- data/doc_out/UserQueueEntityListing.html.md +2 -2
- data/doc_out/UserRecordingEntityListing.html.md +2 -2
- data/doc_out/UserRoutingStatusNotification.html.md +13 -0
- data/doc_out/UserRoutingStatusNotificationRoutingStatus.html.md +14 -0
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersApi.html.md +246 -0
- data/doc_out/UsersEntityListing.html.md +2 -2
- data/doc_out/VideoConversationNotificationParticipants.html.md +2 -0
- data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +2 -0
- data/doc_out/VoicemailMessageNotification.html.md +20 -0
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +5 -0
- data/lib/purecloud/api/users_api.rb +257 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/adfs.rb +11 -11
- data/lib/purecloud/models/adjacents.rb +191 -0
- data/lib/purecloud/models/agent_activity_entity_listing.rb +21 -21
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +21 -21
- data/lib/purecloud/models/attribute_entity_listing.rb +21 -21
- data/lib/purecloud/models/calibration_entity_listing.rb +21 -21
- data/lib/purecloud/models/call_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/call_conversation_notification_call_media_participant.rb +21 -1
- data/lib/purecloud/models/call_conversation_notification_participants.rb +27 -7
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +21 -1
- data/lib/purecloud/models/callback_conversation_notification_participants.rb +21 -1
- data/lib/purecloud/models/campaign_entity_listing.rb +21 -21
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +21 -21
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +21 -21
- data/lib/purecloud/models/channel_entity_listing.rb +21 -21
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +21 -1
- data/lib/purecloud/models/chat_conversation_notification_participants.rb +21 -1
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +21 -1
- data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +21 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +21 -21
- data/lib/purecloud/models/contact_list_entity_listing.rb +21 -21
- data/lib/purecloud/models/conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/conversation_notification_participant.rb +11 -1
- data/lib/purecloud/models/conversation_notification_participants.rb +138 -128
- data/lib/purecloud/models/customer_interaction_center.rb +11 -11
- data/lib/purecloud/models/did_entity_listing.rb +21 -21
- data/lib/purecloud/models/did_pool_entity_listing.rb +21 -21
- data/lib/purecloud/models/dnc_list_entity_listing.rb +21 -21
- data/lib/purecloud/models/document_audit_entity_listing.rb +21 -21
- data/lib/purecloud/models/document_entity_listing.rb +21 -21
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +21 -21
- data/lib/purecloud/models/domain_entity_listing.rb +21 -21
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +21 -21
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +21 -21
- data/lib/purecloud/models/edge_entity_listing.rb +21 -21
- data/lib/purecloud/models/edge_group_entity_listing.rb +21 -21
- data/lib/purecloud/models/edge_line_entity_listing.rb +21 -21
- data/lib/purecloud/models/email_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +21 -1
- data/lib/purecloud/models/email_conversation_notification_participants.rb +113 -93
- data/lib/purecloud/models/email_message_listing.rb +21 -21
- data/lib/purecloud/models/encryption_key_entity_listing.rb +21 -21
- data/lib/purecloud/models/endpoint_entity_listing.rb +21 -21
- data/lib/purecloud/models/evaluation_entity_listing.rb +21 -21
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +21 -21
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +21 -21
- data/lib/purecloud/models/extension_entity_listing.rb +21 -21
- data/lib/purecloud/models/extension_pool_entity_listing.rb +21 -21
- data/lib/purecloud/models/fax_document_entity_listing.rb +21 -21
- data/lib/purecloud/models/group_entity_listing.rb +21 -21
- data/lib/purecloud/models/heart_beat_alert_container.rb +21 -21
- data/lib/purecloud/models/heart_beat_rule_container.rb +21 -21
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +21 -21
- data/lib/purecloud/models/inbound_route_entity_listing.rb +21 -21
- data/lib/purecloud/models/interaction_stats_alert_container.rb +21 -21
- data/lib/purecloud/models/interaction_stats_rule_container.rb +21 -21
- data/lib/purecloud/models/json_node.rb +13 -13
- data/lib/purecloud/models/keyword_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/language_entity_listing.rb +21 -21
- data/lib/purecloud/models/library_entity_listing.rb +21 -21
- data/lib/purecloud/models/line_base_entity_listing.rb +21 -21
- data/lib/purecloud/models/line_entity_listing.rb +21 -21
- data/lib/purecloud/models/logical_interface_entity_listing.rb +21 -21
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +21 -21
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +21 -21
- data/lib/purecloud/models/okta.rb +11 -11
- data/lib/purecloud/models/one_login.rb +11 -11
- data/lib/purecloud/models/organization_presence_entity_listing.rb +21 -21
- data/lib/purecloud/models/organization_role_entity_listing.rb +21 -21
- data/lib/purecloud/models/orphan_recording_listing.rb +21 -21
- data/lib/purecloud/models/outbound_route_entity_listing.rb +21 -21
- data/lib/purecloud/models/permission_collection_entity_listing.rb +21 -21
- data/lib/purecloud/models/phone_base_entity_listing.rb +21 -21
- data/lib/purecloud/models/phone_entity_listing.rb +21 -21
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +21 -21
- data/lib/purecloud/models/physical_interface_entity_listing.rb +21 -21
- data/lib/purecloud/models/policy_entity_listing.rb +21 -21
- data/lib/purecloud/models/quality_audit_page.rb +21 -21
- data/lib/purecloud/models/queue_entity_listing.rb +21 -21
- data/lib/purecloud/models/queue_member_entity_listing.rb +21 -21
- data/lib/purecloud/models/queue_member_notification.rb +195 -0
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +21 -21
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +21 -21
- data/lib/purecloud/models/report_schedule_entity_listing.rb +21 -21
- data/lib/purecloud/models/response_entity_list.rb +21 -21
- data/lib/purecloud/models/response_entity_listing.rb +21 -21
- data/lib/purecloud/models/response_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/rule_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/salesforce.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +21 -21
- data/lib/purecloud/models/schema_reference_entity_listing.rb +21 -21
- data/lib/purecloud/models/screen_recording_session_listing.rb +21 -21
- data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +31 -11
- data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +21 -1
- data/lib/purecloud/models/security_profile_entity_listing.rb +21 -21
- data/lib/purecloud/models/share_entity_listing.rb +21 -21
- data/lib/purecloud/models/site_entity_listing.rb +21 -21
- data/lib/purecloud/models/skill_entity_listing.rb +21 -21
- data/lib/purecloud/models/social_conversation_notification_participants.rb +21 -1
- data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +21 -1
- data/lib/purecloud/models/station_entity_listing.rb +21 -21
- data/lib/purecloud/models/tag_value_entity_listing.rb +21 -21
- data/lib/purecloud/models/time_zone_entity_listing.rb +21 -21
- data/lib/purecloud/models/trunk_entity_listing.rb +21 -21
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_me.rb +51 -1
- data/lib/purecloud/models/user_queue_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_recording_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_routing_status_notification.rb +165 -0
- data/lib/purecloud/models/user_routing_status_notification_routing_status.rb +184 -0
- data/lib/purecloud/models/user_skill_entity_listing.rb +21 -21
- data/lib/purecloud/models/users_entity_listing.rb +21 -21
- data/lib/purecloud/models/video_conversation_notification_participants.rb +21 -1
- data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +21 -1
- data/lib/purecloud/models/voicemail_message_notification.rb +235 -0
- data/lib/purecloud/models/workspace_entity_listing.rb +21 -21
- data/lib/purecloud/models/workspace_member_entity_listing.rb +21 -21
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +21 -21
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +12 -2
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
34
32
|
|
35
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
36
34
|
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
58
56
|
|
59
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
60
58
|
|
61
59
|
:'last_uri' => :'lastUri',
|
62
60
|
|
61
|
+
:'next_uri' => :'nextUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'next_uri' => :'String',
|
79
78
|
:'last_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,26 +107,26 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes[:'
|
123
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
126
122
|
if attributes[:'lastUri']
|
127
123
|
self.last_uri = attributes[:'lastUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
next_uri == o.next_uri &&
|
148
147
|
last_uri == o.last_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, last_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
34
32
|
|
35
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
36
34
|
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
58
56
|
|
59
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
60
58
|
|
61
59
|
:'last_uri' => :'lastUri',
|
62
60
|
|
61
|
+
:'next_uri' => :'nextUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'next_uri' => :'String',
|
79
78
|
:'last_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,26 +107,26 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes[:'
|
123
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
126
122
|
if attributes[:'lastUri']
|
127
123
|
self.last_uri = attributes[:'lastUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
next_uri == o.next_uri &&
|
148
147
|
last_uri == o.last_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, last_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
34
32
|
|
35
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
36
34
|
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
58
56
|
|
59
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
60
58
|
|
61
59
|
:'last_uri' => :'lastUri',
|
62
60
|
|
61
|
+
:'next_uri' => :'nextUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'next_uri' => :'String',
|
79
78
|
:'last_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,26 +107,26 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes[:'
|
123
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
126
122
|
if attributes[:'lastUri']
|
127
123
|
self.last_uri = attributes[:'lastUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
next_uri == o.next_uri &&
|
148
147
|
last_uri == o.last_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, last_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
34
32
|
|
35
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
36
34
|
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
58
56
|
|
59
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
60
58
|
|
61
59
|
:'last_uri' => :'lastUri',
|
62
60
|
|
61
|
+
:'next_uri' => :'nextUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'next_uri' => :'String',
|
79
78
|
:'last_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,26 +107,26 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes[:'
|
123
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
126
122
|
if attributes[:'lastUri']
|
127
123
|
self.last_uri = attributes[:'lastUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
next_uri == o.next_uri &&
|
148
147
|
last_uri == o.last_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, last_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -0,0 +1,195 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@inin.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: ININ
|
11
|
+
http://www.inin.com
|
12
|
+
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class QueueMemberNotification
|
21
|
+
attr_accessor :id
|
22
|
+
|
23
|
+
attr_accessor :queue_id
|
24
|
+
|
25
|
+
attr_accessor :joined
|
26
|
+
|
27
|
+
attr_accessor :additional_properties
|
28
|
+
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
30
|
+
def self.attribute_map
|
31
|
+
{
|
32
|
+
|
33
|
+
:'id' => :'id',
|
34
|
+
|
35
|
+
:'queue_id' => :'queueId',
|
36
|
+
|
37
|
+
:'joined' => :'joined',
|
38
|
+
|
39
|
+
:'additional_properties' => :'additionalProperties'
|
40
|
+
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Attribute type mapping.
|
45
|
+
def self.swagger_types
|
46
|
+
{
|
47
|
+
:'id' => :'String',
|
48
|
+
:'queue_id' => :'String',
|
49
|
+
:'joined' => :'BOOLEAN',
|
50
|
+
:'additional_properties' => :'Object'
|
51
|
+
|
52
|
+
}
|
53
|
+
end
|
54
|
+
|
55
|
+
def initialize(attributes = {})
|
56
|
+
return unless attributes.is_a?(Hash)
|
57
|
+
|
58
|
+
# convert string to symbol for hash key
|
59
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
60
|
+
|
61
|
+
|
62
|
+
if attributes[:'id']
|
63
|
+
self.id = attributes[:'id']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes[:'queueId']
|
67
|
+
self.queue_id = attributes[:'queueId']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes[:'joined']
|
71
|
+
self.joined = attributes[:'joined']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes[:'additionalProperties']
|
75
|
+
self.additional_properties = attributes[:'additionalProperties']
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
79
|
+
|
80
|
+
# Check equality by comparing each attribute.
|
81
|
+
def ==(o)
|
82
|
+
return true if self.equal?(o)
|
83
|
+
self.class == o.class &&
|
84
|
+
id == o.id &&
|
85
|
+
queue_id == o.queue_id &&
|
86
|
+
joined == o.joined &&
|
87
|
+
additional_properties == o.additional_properties
|
88
|
+
end
|
89
|
+
|
90
|
+
# @see the `==` method
|
91
|
+
def eql?(o)
|
92
|
+
self == o
|
93
|
+
end
|
94
|
+
|
95
|
+
# Calculate hash code according to all attributes.
|
96
|
+
def hash
|
97
|
+
[id, queue_id, joined, additional_properties].hash
|
98
|
+
end
|
99
|
+
|
100
|
+
# build the object from hash
|
101
|
+
def build_from_hash(attributes)
|
102
|
+
return nil unless attributes.is_a?(Hash)
|
103
|
+
self.class.swagger_types.each_pair do |key, type|
|
104
|
+
if type =~ /^Array<(.*)>/i
|
105
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
106
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
107
|
+
else
|
108
|
+
#TODO show warning in debug mode
|
109
|
+
end
|
110
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
111
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
112
|
+
else
|
113
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
self
|
118
|
+
end
|
119
|
+
|
120
|
+
def _deserialize(type, value)
|
121
|
+
case type.to_sym
|
122
|
+
when :DateTime
|
123
|
+
DateTime.parse(value)
|
124
|
+
when :Date
|
125
|
+
Date.parse(value)
|
126
|
+
when :String
|
127
|
+
value.to_s
|
128
|
+
when :Integer
|
129
|
+
value.to_i
|
130
|
+
when :Float
|
131
|
+
value.to_f
|
132
|
+
when :BOOLEAN
|
133
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
134
|
+
true
|
135
|
+
else
|
136
|
+
false
|
137
|
+
end
|
138
|
+
when :Object
|
139
|
+
# generic object (usually a Hash), return directly
|
140
|
+
value
|
141
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
142
|
+
inner_type = Regexp.last_match[:inner_type]
|
143
|
+
value.map { |v| _deserialize(inner_type, v) }
|
144
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
145
|
+
k_type = Regexp.last_match[:k_type]
|
146
|
+
v_type = Regexp.last_match[:v_type]
|
147
|
+
{}.tap do |hash|
|
148
|
+
value.each do |k, v|
|
149
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
else # model
|
153
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
154
|
+
_model.build_from_hash(value)
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
def to_s
|
159
|
+
to_hash.to_s
|
160
|
+
end
|
161
|
+
|
162
|
+
# to_body is an alias to to_body (backward compatibility))
|
163
|
+
def to_body
|
164
|
+
to_hash
|
165
|
+
end
|
166
|
+
|
167
|
+
# return the object in the form of hash
|
168
|
+
def to_hash
|
169
|
+
hash = {}
|
170
|
+
self.class.attribute_map.each_pair do |attr, param|
|
171
|
+
value = self.send(attr)
|
172
|
+
next if value.nil?
|
173
|
+
hash[param] = _to_hash(value)
|
174
|
+
end
|
175
|
+
hash
|
176
|
+
end
|
177
|
+
|
178
|
+
# Method to output non-array value in the form of hash
|
179
|
+
# For object, use to_hash. Otherwise, just return the value
|
180
|
+
def _to_hash(value)
|
181
|
+
if value.is_a?(Array)
|
182
|
+
value.compact.map{ |v| _to_hash(v) }
|
183
|
+
elsif value.is_a?(Hash)
|
184
|
+
{}.tap do |hash|
|
185
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
186
|
+
end
|
187
|
+
elsif value.respond_to? :to_hash
|
188
|
+
value.to_hash
|
189
|
+
else
|
190
|
+
value
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
end
|
195
|
+
end
|