purecloudplatformclientv2 5.1.0 → 5.1.1
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/AgentActivityEntityListing.md +1 -1
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AttributeEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CallbackConversationNotificationCallbackMediaParticipant.md +1 -0
- data/docs/CallbackConversationNotificationParticipants.md +1 -0
- data/docs/CallbackConversationNotificationVoicemail.md +13 -0
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterNotificationRange.md +4 -4
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/ConversationNotificationCallback.md +1 -0
- data/docs/ConversationNotificationCallbacks.md +1 -0
- data/docs/ConversationNotificationVoicemail.md +13 -0
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDto.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EndpointEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/HeartBeatAlertContainer.md +1 -1
- data/docs/HeartBeatRuleContainer.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/JsonNode.md +3 -3
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LicenseDefinitionListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingStatusAlertContainer.md +1 -1
- data/docs/RoutingStatusRuleContainer.md +1 -1
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserPresenceAlertContainer.md +1 -1
- data/docs/UserPresenceRuleContainer.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +2 -0
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_callback_media_participant.rb +10 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_participants.rb +10 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_voicemail.rb +178 -0
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/contact_list_filter_notification_range.rb +25 -25
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/conversation_notification_callback.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_callbacks.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_voicemail.rb +178 -0
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +10 -10
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/json_node.rb +31 -31
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/license_definition_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/note_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +10 -10
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +10 -10
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +6 -2
|
@@ -30,10 +30,10 @@ module PureCloud
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :first_uri
|
|
32
32
|
|
|
33
|
-
attr_accessor :previous_uri
|
|
34
|
-
|
|
35
33
|
attr_accessor :next_uri
|
|
36
34
|
|
|
35
|
+
attr_accessor :previous_uri
|
|
36
|
+
|
|
37
37
|
attr_accessor :last_uri
|
|
38
38
|
|
|
39
39
|
attr_accessor :page_count
|
|
@@ -47,8 +47,8 @@ module PureCloud
|
|
|
47
47
|
:'total' => :'total',
|
|
48
48
|
:'self_uri' => :'selfUri',
|
|
49
49
|
:'first_uri' => :'firstUri',
|
|
50
|
-
:'previous_uri' => :'previousUri',
|
|
51
50
|
:'next_uri' => :'nextUri',
|
|
51
|
+
:'previous_uri' => :'previousUri',
|
|
52
52
|
:'last_uri' => :'lastUri',
|
|
53
53
|
:'page_count' => :'pageCount'
|
|
54
54
|
}
|
|
@@ -63,8 +63,8 @@ module PureCloud
|
|
|
63
63
|
:'total' => :'Integer',
|
|
64
64
|
:'self_uri' => :'String',
|
|
65
65
|
:'first_uri' => :'String',
|
|
66
|
-
:'previous_uri' => :'String',
|
|
67
66
|
:'next_uri' => :'String',
|
|
67
|
+
:'previous_uri' => :'String',
|
|
68
68
|
:'last_uri' => :'String',
|
|
69
69
|
:'page_count' => :'Integer'
|
|
70
70
|
}
|
|
@@ -104,14 +104,14 @@ module PureCloud
|
|
|
104
104
|
self.first_uri = attributes[:'firstUri']
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
if attributes.has_key?(:'previousUri')
|
|
108
|
-
self.previous_uri = attributes[:'previousUri']
|
|
109
|
-
end
|
|
110
|
-
|
|
111
107
|
if attributes.has_key?(:'nextUri')
|
|
112
108
|
self.next_uri = attributes[:'nextUri']
|
|
113
109
|
end
|
|
114
110
|
|
|
111
|
+
if attributes.has_key?(:'previousUri')
|
|
112
|
+
self.previous_uri = attributes[:'previousUri']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
115
|
if attributes.has_key?(:'lastUri')
|
|
116
116
|
self.last_uri = attributes[:'lastUri']
|
|
117
117
|
end
|
|
@@ -145,8 +145,8 @@ module PureCloud
|
|
|
145
145
|
total == o.total &&
|
|
146
146
|
self_uri == o.self_uri &&
|
|
147
147
|
first_uri == o.first_uri &&
|
|
148
|
-
previous_uri == o.previous_uri &&
|
|
149
148
|
next_uri == o.next_uri &&
|
|
149
|
+
previous_uri == o.previous_uri &&
|
|
150
150
|
last_uri == o.last_uri &&
|
|
151
151
|
page_count == o.page_count
|
|
152
152
|
end
|
|
@@ -160,7 +160,7 @@ module PureCloud
|
|
|
160
160
|
# Calculates hash code according to all attributes.
|
|
161
161
|
# @return [Fixnum] Hash code
|
|
162
162
|
def hash
|
|
163
|
-
[entities, page_size, page_number, total, self_uri, first_uri,
|
|
163
|
+
[entities, page_size, page_number, total, self_uri, first_uri, next_uri, previous_uri, last_uri, page_count].hash
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
# build the object from hash
|
|
@@ -30,10 +30,10 @@ module PureCloud
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :first_uri
|
|
32
32
|
|
|
33
|
-
attr_accessor :previous_uri
|
|
34
|
-
|
|
35
33
|
attr_accessor :next_uri
|
|
36
34
|
|
|
35
|
+
attr_accessor :previous_uri
|
|
36
|
+
|
|
37
37
|
attr_accessor :last_uri
|
|
38
38
|
|
|
39
39
|
attr_accessor :page_count
|
|
@@ -47,8 +47,8 @@ module PureCloud
|
|
|
47
47
|
:'total' => :'total',
|
|
48
48
|
:'self_uri' => :'selfUri',
|
|
49
49
|
:'first_uri' => :'firstUri',
|
|
50
|
-
:'previous_uri' => :'previousUri',
|
|
51
50
|
:'next_uri' => :'nextUri',
|
|
51
|
+
:'previous_uri' => :'previousUri',
|
|
52
52
|
:'last_uri' => :'lastUri',
|
|
53
53
|
:'page_count' => :'pageCount'
|
|
54
54
|
}
|
|
@@ -63,8 +63,8 @@ module PureCloud
|
|
|
63
63
|
:'total' => :'Integer',
|
|
64
64
|
:'self_uri' => :'String',
|
|
65
65
|
:'first_uri' => :'String',
|
|
66
|
-
:'previous_uri' => :'String',
|
|
67
66
|
:'next_uri' => :'String',
|
|
67
|
+
:'previous_uri' => :'String',
|
|
68
68
|
:'last_uri' => :'String',
|
|
69
69
|
:'page_count' => :'Integer'
|
|
70
70
|
}
|
|
@@ -104,14 +104,14 @@ module PureCloud
|
|
|
104
104
|
self.first_uri = attributes[:'firstUri']
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
if attributes.has_key?(:'previousUri')
|
|
108
|
-
self.previous_uri = attributes[:'previousUri']
|
|
109
|
-
end
|
|
110
|
-
|
|
111
107
|
if attributes.has_key?(:'nextUri')
|
|
112
108
|
self.next_uri = attributes[:'nextUri']
|
|
113
109
|
end
|
|
114
110
|
|
|
111
|
+
if attributes.has_key?(:'previousUri')
|
|
112
|
+
self.previous_uri = attributes[:'previousUri']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
115
|
if attributes.has_key?(:'lastUri')
|
|
116
116
|
self.last_uri = attributes[:'lastUri']
|
|
117
117
|
end
|
|
@@ -145,8 +145,8 @@ module PureCloud
|
|
|
145
145
|
total == o.total &&
|
|
146
146
|
self_uri == o.self_uri &&
|
|
147
147
|
first_uri == o.first_uri &&
|
|
148
|
-
previous_uri == o.previous_uri &&
|
|
149
148
|
next_uri == o.next_uri &&
|
|
149
|
+
previous_uri == o.previous_uri &&
|
|
150
150
|
last_uri == o.last_uri &&
|
|
151
151
|
page_count == o.page_count
|
|
152
152
|
end
|
|
@@ -160,7 +160,7 @@ module PureCloud
|
|
|
160
160
|
# Calculates hash code according to all attributes.
|
|
161
161
|
# @return [Fixnum] Hash code
|
|
162
162
|
def hash
|
|
163
|
-
[entities, page_size, page_number, total, self_uri, first_uri,
|
|
163
|
+
[entities, page_size, page_number, total, self_uri, first_uri, next_uri, previous_uri, last_uri, page_count].hash
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
# build the object from hash
|
|
@@ -70,6 +70,8 @@ module PureCloud
|
|
|
70
70
|
|
|
71
71
|
attr_accessor :outbound_preview
|
|
72
72
|
|
|
73
|
+
attr_accessor :voicemail
|
|
74
|
+
|
|
73
75
|
attr_accessor :callback_numbers
|
|
74
76
|
|
|
75
77
|
attr_accessor :callback_user_name
|
|
@@ -111,6 +113,7 @@ module PureCloud
|
|
|
111
113
|
:'external_organization' => :'externalOrganization',
|
|
112
114
|
:'wrapup' => :'wrapup',
|
|
113
115
|
:'outbound_preview' => :'outboundPreview',
|
|
116
|
+
:'voicemail' => :'voicemail',
|
|
114
117
|
:'callback_numbers' => :'callbackNumbers',
|
|
115
118
|
:'callback_user_name' => :'callbackUserName',
|
|
116
119
|
:'skip_enabled' => :'skipEnabled',
|
|
@@ -149,6 +152,7 @@ module PureCloud
|
|
|
149
152
|
:'external_organization' => :'CallbackConversationNotificationUriReference',
|
|
150
153
|
:'wrapup' => :'ConversationNotificationWrapup',
|
|
151
154
|
:'outbound_preview' => :'ConversationNotificationDialerPreview',
|
|
155
|
+
:'voicemail' => :'DocumentDataV2NotificationWorkspace',
|
|
152
156
|
:'callback_numbers' => :'Array<String>',
|
|
153
157
|
:'callback_user_name' => :'String',
|
|
154
158
|
:'skip_enabled' => :'BOOLEAN',
|
|
@@ -272,6 +276,10 @@ module PureCloud
|
|
|
272
276
|
self.outbound_preview = attributes[:'outboundPreview']
|
|
273
277
|
end
|
|
274
278
|
|
|
279
|
+
if attributes.has_key?(:'voicemail')
|
|
280
|
+
self.voicemail = attributes[:'voicemail']
|
|
281
|
+
end
|
|
282
|
+
|
|
275
283
|
if attributes.has_key?(:'callbackNumbers')
|
|
276
284
|
if (value = attributes[:'callbackNumbers']).is_a?(Array)
|
|
277
285
|
self.callback_numbers = value
|
|
@@ -385,6 +393,7 @@ module PureCloud
|
|
|
385
393
|
external_organization == o.external_organization &&
|
|
386
394
|
wrapup == o.wrapup &&
|
|
387
395
|
outbound_preview == o.outbound_preview &&
|
|
396
|
+
voicemail == o.voicemail &&
|
|
388
397
|
callback_numbers == o.callback_numbers &&
|
|
389
398
|
callback_user_name == o.callback_user_name &&
|
|
390
399
|
skip_enabled == o.skip_enabled &&
|
|
@@ -402,7 +411,7 @@ module PureCloud
|
|
|
402
411
|
# Calculates hash code according to all attributes.
|
|
403
412
|
# @return [Fixnum] Hash code
|
|
404
413
|
def hash
|
|
405
|
-
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, callback_scheduled_time, automated_callback_config_id].hash
|
|
414
|
+
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, outbound_preview, voicemail, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, callback_scheduled_time, automated_callback_config_id].hash
|
|
406
415
|
end
|
|
407
416
|
|
|
408
417
|
# build the object from hash
|
data/lib/purecloudplatformclientv2/models/callback_conversation_notification_participants.rb
CHANGED
|
@@ -70,6 +70,8 @@ module PureCloud
|
|
|
70
70
|
|
|
71
71
|
attr_accessor :outbound_preview
|
|
72
72
|
|
|
73
|
+
attr_accessor :voicemail
|
|
74
|
+
|
|
73
75
|
attr_accessor :callback_numbers
|
|
74
76
|
|
|
75
77
|
attr_accessor :callback_user_name
|
|
@@ -111,6 +113,7 @@ module PureCloud
|
|
|
111
113
|
:'external_organization' => :'externalOrganization',
|
|
112
114
|
:'wrapup' => :'wrapup',
|
|
113
115
|
:'outbound_preview' => :'outboundPreview',
|
|
116
|
+
:'voicemail' => :'voicemail',
|
|
114
117
|
:'callback_numbers' => :'callbackNumbers',
|
|
115
118
|
:'callback_user_name' => :'callbackUserName',
|
|
116
119
|
:'skip_enabled' => :'skipEnabled',
|
|
@@ -149,6 +152,7 @@ module PureCloud
|
|
|
149
152
|
:'external_organization' => :'CallbackConversationNotificationUriReference',
|
|
150
153
|
:'wrapup' => :'ConversationNotificationWrapup',
|
|
151
154
|
:'outbound_preview' => :'ConversationNotificationDialerPreview',
|
|
155
|
+
:'voicemail' => :'DocumentDataV2NotificationWorkspace',
|
|
152
156
|
:'callback_numbers' => :'Array<String>',
|
|
153
157
|
:'callback_user_name' => :'String',
|
|
154
158
|
:'skip_enabled' => :'BOOLEAN',
|
|
@@ -272,6 +276,10 @@ module PureCloud
|
|
|
272
276
|
self.outbound_preview = attributes[:'outboundPreview']
|
|
273
277
|
end
|
|
274
278
|
|
|
279
|
+
if attributes.has_key?(:'voicemail')
|
|
280
|
+
self.voicemail = attributes[:'voicemail']
|
|
281
|
+
end
|
|
282
|
+
|
|
275
283
|
if attributes.has_key?(:'callbackNumbers')
|
|
276
284
|
if (value = attributes[:'callbackNumbers']).is_a?(Array)
|
|
277
285
|
self.callback_numbers = value
|
|
@@ -385,6 +393,7 @@ module PureCloud
|
|
|
385
393
|
external_organization == o.external_organization &&
|
|
386
394
|
wrapup == o.wrapup &&
|
|
387
395
|
outbound_preview == o.outbound_preview &&
|
|
396
|
+
voicemail == o.voicemail &&
|
|
388
397
|
callback_numbers == o.callback_numbers &&
|
|
389
398
|
callback_user_name == o.callback_user_name &&
|
|
390
399
|
skip_enabled == o.skip_enabled &&
|
|
@@ -402,7 +411,7 @@ module PureCloud
|
|
|
402
411
|
# Calculates hash code according to all attributes.
|
|
403
412
|
# @return [Fixnum] Hash code
|
|
404
413
|
def hash
|
|
405
|
-
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, callback_scheduled_time, automated_callback_config_id].hash
|
|
414
|
+
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, outbound_preview, voicemail, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, callback_scheduled_time, automated_callback_config_id].hash
|
|
406
415
|
end
|
|
407
416
|
|
|
408
417
|
# build the object from hash
|
|
@@ -0,0 +1,178 @@
|
|
|
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 CallbackConversationNotificationVoicemail
|
|
21
|
+
attr_accessor :id
|
|
22
|
+
|
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
|
+
def self.attribute_map
|
|
25
|
+
{
|
|
26
|
+
:'id' => :'id'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Attribute type mapping.
|
|
31
|
+
def self.swagger_types
|
|
32
|
+
{
|
|
33
|
+
:'id' => :'String'
|
|
34
|
+
}
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Initializes the object
|
|
38
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
39
|
+
def initialize(attributes = {})
|
|
40
|
+
return unless attributes.is_a?(Hash)
|
|
41
|
+
|
|
42
|
+
# convert string to symbol for hash key
|
|
43
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
44
|
+
|
|
45
|
+
if attributes.has_key?(:'id')
|
|
46
|
+
self.id = attributes[:'id']
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
52
|
+
# @return Array for valid properies with the reasons
|
|
53
|
+
def list_invalid_properties
|
|
54
|
+
invalid_properties = Array.new
|
|
55
|
+
return invalid_properties
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Check to see if the all the properties in the model are valid
|
|
59
|
+
# @return true if the model is valid
|
|
60
|
+
def valid?
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Checks equality by comparing each attribute.
|
|
64
|
+
# @param [Object] Object to be compared
|
|
65
|
+
def ==(o)
|
|
66
|
+
return true if self.equal?(o)
|
|
67
|
+
self.class == o.class &&
|
|
68
|
+
id == o.id
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# @see the `==` method
|
|
72
|
+
# @param [Object] Object to be compared
|
|
73
|
+
def eql?(o)
|
|
74
|
+
self == o
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Calculates hash code according to all attributes.
|
|
78
|
+
# @return [Fixnum] Hash code
|
|
79
|
+
def hash
|
|
80
|
+
[id].hash
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# build the object from hash
|
|
84
|
+
def build_from_hash(attributes)
|
|
85
|
+
return nil unless attributes.is_a?(Hash)
|
|
86
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
87
|
+
if type =~ /^Array<(.*)>/i
|
|
88
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
89
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
90
|
+
else
|
|
91
|
+
#TODO show warning in debug mode
|
|
92
|
+
end
|
|
93
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
94
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
95
|
+
else
|
|
96
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
self
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
def _deserialize(type, value)
|
|
104
|
+
case type.to_sym
|
|
105
|
+
when :DateTime
|
|
106
|
+
DateTime.parse(value)
|
|
107
|
+
when :Date
|
|
108
|
+
Date.parse(value)
|
|
109
|
+
when :String
|
|
110
|
+
value.to_s
|
|
111
|
+
when :Integer
|
|
112
|
+
value.to_i
|
|
113
|
+
when :Float
|
|
114
|
+
value.to_f
|
|
115
|
+
when :BOOLEAN
|
|
116
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
|
117
|
+
true
|
|
118
|
+
else
|
|
119
|
+
false
|
|
120
|
+
end
|
|
121
|
+
when :Object
|
|
122
|
+
# generic object (usually a Hash), return directly
|
|
123
|
+
value
|
|
124
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
125
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
126
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
127
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
|
128
|
+
k_type = Regexp.last_match[:k_type]
|
|
129
|
+
v_type = Regexp.last_match[:v_type]
|
|
130
|
+
{}.tap do |hash|
|
|
131
|
+
value.each do |k, v|
|
|
132
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
else # model
|
|
136
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
|
137
|
+
_model.build_from_hash(value)
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def to_s
|
|
142
|
+
to_hash.to_s
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# to_body is an alias to to_body (backward compatibility))
|
|
146
|
+
def to_body
|
|
147
|
+
to_hash
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# return the object in the form of hash
|
|
151
|
+
def to_hash
|
|
152
|
+
hash = {}
|
|
153
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
154
|
+
value = self.send(attr)
|
|
155
|
+
next if value.nil?
|
|
156
|
+
hash[param] = _to_hash(value)
|
|
157
|
+
end
|
|
158
|
+
hash
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Method to output non-array value in the form of hash
|
|
162
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
163
|
+
def _to_hash(value)
|
|
164
|
+
if value.is_a?(Array)
|
|
165
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
166
|
+
elsif value.is_a?(Hash)
|
|
167
|
+
{}.tap do |hash|
|
|
168
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
169
|
+
end
|
|
170
|
+
elsif value.respond_to? :to_hash
|
|
171
|
+
value.to_hash
|
|
172
|
+
else
|
|
173
|
+
value
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
end
|
|
178
|
+
end
|
|
@@ -30,10 +30,10 @@ module PureCloud
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :first_uri
|
|
32
32
|
|
|
33
|
-
attr_accessor :previous_uri
|
|
34
|
-
|
|
35
33
|
attr_accessor :next_uri
|
|
36
34
|
|
|
35
|
+
attr_accessor :previous_uri
|
|
36
|
+
|
|
37
37
|
attr_accessor :last_uri
|
|
38
38
|
|
|
39
39
|
attr_accessor :page_count
|
|
@@ -47,8 +47,8 @@ module PureCloud
|
|
|
47
47
|
:'total' => :'total',
|
|
48
48
|
:'self_uri' => :'selfUri',
|
|
49
49
|
:'first_uri' => :'firstUri',
|
|
50
|
-
:'previous_uri' => :'previousUri',
|
|
51
50
|
:'next_uri' => :'nextUri',
|
|
51
|
+
:'previous_uri' => :'previousUri',
|
|
52
52
|
:'last_uri' => :'lastUri',
|
|
53
53
|
:'page_count' => :'pageCount'
|
|
54
54
|
}
|
|
@@ -63,8 +63,8 @@ module PureCloud
|
|
|
63
63
|
:'total' => :'Integer',
|
|
64
64
|
:'self_uri' => :'String',
|
|
65
65
|
:'first_uri' => :'String',
|
|
66
|
-
:'previous_uri' => :'String',
|
|
67
66
|
:'next_uri' => :'String',
|
|
67
|
+
:'previous_uri' => :'String',
|
|
68
68
|
:'last_uri' => :'String',
|
|
69
69
|
:'page_count' => :'Integer'
|
|
70
70
|
}
|
|
@@ -104,14 +104,14 @@ module PureCloud
|
|
|
104
104
|
self.first_uri = attributes[:'firstUri']
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
if attributes.has_key?(:'previousUri')
|
|
108
|
-
self.previous_uri = attributes[:'previousUri']
|
|
109
|
-
end
|
|
110
|
-
|
|
111
107
|
if attributes.has_key?(:'nextUri')
|
|
112
108
|
self.next_uri = attributes[:'nextUri']
|
|
113
109
|
end
|
|
114
110
|
|
|
111
|
+
if attributes.has_key?(:'previousUri')
|
|
112
|
+
self.previous_uri = attributes[:'previousUri']
|
|
113
|
+
end
|
|
114
|
+
|
|
115
115
|
if attributes.has_key?(:'lastUri')
|
|
116
116
|
self.last_uri = attributes[:'lastUri']
|
|
117
117
|
end
|
|
@@ -145,8 +145,8 @@ module PureCloud
|
|
|
145
145
|
total == o.total &&
|
|
146
146
|
self_uri == o.self_uri &&
|
|
147
147
|
first_uri == o.first_uri &&
|
|
148
|
-
previous_uri == o.previous_uri &&
|
|
149
148
|
next_uri == o.next_uri &&
|
|
149
|
+
previous_uri == o.previous_uri &&
|
|
150
150
|
last_uri == o.last_uri &&
|
|
151
151
|
page_count == o.page_count
|
|
152
152
|
end
|
|
@@ -160,7 +160,7 @@ module PureCloud
|
|
|
160
160
|
# Calculates hash code according to all attributes.
|
|
161
161
|
# @return [Fixnum] Hash code
|
|
162
162
|
def hash
|
|
163
|
-
[entities, page_size, page_number, total, self_uri, first_uri,
|
|
163
|
+
[entities, page_size, page_number, total, self_uri, first_uri, next_uri, previous_uri, last_uri, page_count].hash
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
# build the object from hash
|