purecloudplatformclientv2 6.0.0 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AgentActivityEntityListing.md +2 -2
- data/docs/AttemptLimitsEntityListing.md +2 -2
- data/docs/AttributeEntityListing.md +2 -2
- data/docs/CalibrationEntityListing.md +2 -2
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/CallConversationEntityListing.md +2 -2
- data/docs/CallConversationNotificationCallMediaParticipant.md +1 -0
- data/docs/CallConversationNotificationParticipants.md +1 -0
- data/docs/CallMediaParticipant.md +1 -0
- data/docs/CallableTimeSetEntityListing.md +2 -2
- data/docs/Callback.md +2 -0
- data/docs/CallbackBasic.md +2 -0
- data/docs/CallbackConversationEntityListing.md +2 -2
- data/docs/CallbackConversationNotificationCallbackMediaParticipant.md +1 -0
- data/docs/CallbackConversationNotificationParticipants.md +1 -0
- data/docs/CallbackMediaParticipant.md +2 -0
- data/docs/CampaignEntityListing.md +2 -2
- data/docs/CampaignRuleEntityListing.md +2 -2
- data/docs/CampaignSequenceEntityListing.md +2 -2
- data/docs/CertificateAuthorityEntityListing.md +2 -2
- data/docs/ChatConversationEntityListing.md +2 -2
- data/docs/ChatConversationNotificationChatMediaParticipant.md +1 -0
- data/docs/ChatConversationNotificationParticipants.md +1 -0
- data/docs/ChatMediaParticipant.md +1 -0
- data/docs/CobrowseConversationEntityListing.md +2 -2
- data/docs/CobrowseConversationNotificationCobrowseMediaParticipant.md +1 -0
- data/docs/CobrowseConversationNotificationParticipants.md +1 -0
- data/docs/CobrowseMediaParticipant.md +1 -0
- data/docs/Cobrowsesession.md +1 -0
- data/docs/CommandStatusEntityListing.md +2 -2
- data/docs/Condition.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +2 -2
- data/docs/ConsumingResourcesEntityListing.md +2 -2
- data/docs/Contact.md +1 -0
- data/docs/ContactListEntityListing.md +2 -2
- data/docs/ContactListFilterNotificationFilterPredicate.md +1 -0
- data/docs/ContactListFilterNotificationPredicates.md +1 -0
- data/docs/ContactListing.md +2 -2
- data/docs/ConversationChat.md +1 -0
- data/docs/ConversationEntityListing.md +2 -2
- data/docs/ConversationNotificationCall.md +1 -0
- data/docs/ConversationNotificationCallback.md +1 -0
- data/docs/ConversationNotificationCallbacks.md +1 -0
- data/docs/ConversationNotificationCalls.md +1 -0
- data/docs/ConversationNotificationChat.md +1 -0
- data/docs/ConversationNotificationChats.md +1 -0
- data/docs/ConversationNotificationCobrowse.md +1 -0
- data/docs/ConversationNotificationCobrowsesessions.md +1 -0
- data/docs/ConversationNotificationEmail.md +2 -0
- data/docs/ConversationNotificationEmails.md +2 -0
- data/docs/ConversationNotificationScreenshare.md +1 -0
- data/docs/ConversationNotificationScreenshares.md +1 -0
- data/docs/ConversationNotificationSocialExpression.md +1 -0
- data/docs/ConversationNotificationSocialExpressions.md +1 -0
- data/docs/ConversationNotificationVideo.md +1 -0
- data/docs/ConversationNotificationVideos.md +1 -0
- data/docs/DIDEntityListing.md +2 -2
- data/docs/DIDPoolEntityListing.md +2 -2
- data/docs/DependencyObjectEntityListing.md +2 -2
- data/docs/DependencyTypeEntityListing.md +2 -2
- data/docs/DialerEventEntityListing.md +2 -2
- data/docs/DncListEntityListing.md +2 -2
- data/docs/DocumentAuditEntityListing.md +2 -2
- data/docs/DocumentEntityListing.md +2 -2
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
- data/docs/DomainEntityListing.md +2 -2
- data/docs/DomainEntityListingEvaluationForm.md +2 -2
- data/docs/DomainEntityListingQueryResult.md +2 -2
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/Edge.md +1 -1
- data/docs/EdgeEntityListing.md +2 -2
- data/docs/EdgeGroupEntityListing.md +2 -2
- data/docs/EdgeLineEntityListing.md +2 -2
- data/docs/Email.md +1 -0
- data/docs/EmailConversationEntityListing.md +2 -2
- data/docs/EmailConversationNotificationEmailMediaParticipant.md +2 -0
- data/docs/EmailConversationNotificationParticipants.md +2 -0
- data/docs/EmailMediaParticipant.md +1 -0
- data/docs/EmailMessageListing.md +2 -2
- data/docs/EncryptionKey.md +1 -0
- data/docs/EncryptionKeyEntityListing.md +2 -2
- data/docs/EndpointEntityListing.md +2 -2
- data/docs/EvaluationEntityListing.md +2 -2
- data/docs/EvaluationFormEntityListing.md +2 -2
- data/docs/EvaluatorActivityEntityListing.md +2 -2
- data/docs/ExtensionEntityListing.md +2 -2
- data/docs/ExtensionPoolEntityListing.md +2 -2
- data/docs/ExternalOrganizationListing.md +2 -2
- data/docs/FaxDocumentEntityListing.md +2 -2
- data/docs/Flow.md +2 -2
- data/docs/FlowEntityListing.md +2 -2
- data/docs/FlowVersion.md +1 -1
- data/docs/FlowVersionEntityListing.md +2 -2
- data/docs/GreetingListing.md +2 -2
- data/docs/GroupEntityListing.md +2 -2
- data/docs/HeartBeatAlertContainer.md +2 -2
- data/docs/HeartBeatRuleContainer.md +2 -2
- data/docs/InboundDomainEntityListing.md +2 -2
- data/docs/InboundRouteEntityListing.md +2 -2
- data/docs/InteractionStatsAlertContainer.md +2 -2
- data/docs/InteractionStatsRuleContainer.md +2 -2
- data/docs/JsonNode.md +4 -4
- data/docs/JsonSchemaDocument.md +1 -1
- data/docs/KeywordSetEntityListing.md +2 -2
- data/docs/LanguageEntityListing.md +2 -2
- data/docs/LibraryEntityListing.md +2 -2
- data/docs/LicenseDefinitionListing.md +2 -2
- data/docs/LineBaseEntityListing.md +2 -2
- data/docs/LineEntityListing.md +2 -2
- data/docs/LocationEntityListing.md +22 -0
- data/docs/LocationsApi.md +2 -2
- data/docs/LogicalInterfaceEntityListing.md +2 -2
- data/docs/ManagementUnit.md +1 -0
- data/docs/NoteListing.md +2 -2
- data/docs/OAuthClientEntityListing.md +2 -2
- data/docs/OAuthProviderEntityListing.md +2 -2
- data/docs/OrganizationPresenceEntityListing.md +2 -2
- data/docs/OrganizationRoleEntityListing.md +2 -2
- data/docs/OrphanRecordingListing.md +2 -2
- data/docs/OutboundRouteBaseEntityListing.md +2 -2
- data/docs/OutboundRouteEntityListing.md +2 -2
- data/docs/PermissionCollectionEntityListing.md +2 -2
- data/docs/PhoneBaseEntityListing.md +2 -2
- data/docs/PhoneEntityListing.md +2 -2
- data/docs/PhoneMetaBaseEntityListing.md +2 -2
- data/docs/PhysicalInterfaceEntityListing.md +2 -2
- data/docs/PolicyEntityListing.md +2 -2
- data/docs/PromptAssetEntityListing.md +2 -2
- data/docs/PromptEntityListing.md +2 -2
- data/docs/QualityAuditPage.md +2 -2
- data/docs/QueueEntityListing.md +2 -2
- data/docs/QueueMemberEntityListing.md +2 -2
- data/docs/RelationshipListing.md +2 -2
- data/docs/ReportMetaDataEntityListing.md +2 -2
- data/docs/ReportRunEntryEntityDomainListing.md +2 -2
- data/docs/ReportScheduleEntityListing.md +2 -2
- data/docs/ResponseEntityList.md +2 -2
- data/docs/ResponseEntityListing.md +2 -2
- data/docs/ResponseSetEntityListing.md +2 -2
- data/docs/RoutingStatusAlertContainer.md +2 -2
- data/docs/RoutingStatusRuleContainer.md +2 -2
- data/docs/RuleSetEntityListing.md +2 -2
- data/docs/SchemaCategoryEntityListing.md +2 -2
- data/docs/SchemaReferenceEntityListing.md +2 -2
- data/docs/ScreenRecordingSessionListing.md +2 -2
- data/docs/ScreenShareConversationNotificationParticipants.md +1 -0
- data/docs/ScreenShareConversationNotificationScreenShareMediaParticipant.md +1 -0
- data/docs/Screenshare.md +1 -0
- data/docs/ScriptEntityListing.md +2 -2
- data/docs/SecurityProfileEntityListing.md +2 -2
- data/docs/ShareEntityListing.md +2 -2
- data/docs/SiteEntityListing.md +2 -2
- data/docs/SkillEntityListing.md +2 -2
- data/docs/SocialConversationNotificationParticipants.md +1 -0
- data/docs/SocialConversationNotificationSocialMediaParticipant.md +1 -0
- data/docs/SocialExpression.md +1 -0
- data/docs/StationEntityListing.md +2 -2
- data/docs/SystemPromptAssetEntityListing.md +2 -2
- data/docs/SystemPromptEntityListing.md +2 -2
- data/docs/TagValueEntityListing.md +2 -2
- data/docs/TelephonyProvidersEdgeApi.md +74 -0
- data/docs/TimeZoneEntityListing.md +2 -2
- data/docs/TrunkBaseEntityListing.md +2 -2
- data/docs/TrunkEntityListing.md +2 -2
- data/docs/TrunkMetabaseEntityListing.md +2 -2
- data/docs/UpdateUser.md +2 -1
- data/docs/UserEntityListing.md +2 -2
- data/docs/UserPresenceAlertContainer.md +2 -2
- data/docs/UserPresenceRuleContainer.md +2 -2
- data/docs/UserQueueEntityListing.md +2 -2
- data/docs/UserRecordingEntityListing.md +2 -2
- data/docs/UserSkillEntityListing.md +2 -2
- data/docs/UsersApi.md +3 -1
- data/docs/Video.md +1 -0
- data/docs/VideoConversationNotificationParticipants.md +1 -0
- data/docs/VideoConversationNotificationVideoMediaParticipant.md +1 -0
- data/docs/Voicemail.md +13 -0
- data/docs/VoicemailMediaInfo.md +1 -0
- data/docs/VoicemailMessageEntityListing.md +2 -2
- data/docs/WorkforceManagementApi.md +14 -14
- data/docs/WorkspaceEntityListing.md +2 -2
- data/docs/WorkspaceMemberEntityListing.md +2 -2
- data/docs/WrapupCodeEntityListing.md +2 -2
- data/lib/purecloudplatformclientv2.rb +2 -0
- data/lib/purecloudplatformclientv2/api/locations_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +78 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +6 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +14 -14
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/call.rb +14 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +14 -4
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_call_media_participant.rb +10 -1
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_participants.rb +10 -1
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +11 -1
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/callback.rb +24 -4
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +24 -4
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +16 -16
- 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_media_participant.rb +21 -1
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_chat_media_participant.rb +10 -1
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_participants.rb +10 -1
- data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +11 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +10 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_participants.rb +10 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +11 -1
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +11 -1
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/condition.rb +3 -3
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/contact.rb +14 -4
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/contact_list_filter_notification_filter_predicate.rb +10 -1
- data/lib/purecloudplatformclientv2/models/contact_list_filter_notification_predicates.rb +10 -1
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +14 -4
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/conversation_notification_call.rb +10 -1
- 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_calls.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_chat.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_chats.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_cobrowse.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_cobrowsesessions.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +19 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +19 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_screenshare.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_screenshares.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_social_expression.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_social_expressions.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_video.rb +10 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_videos.rb +10 -1
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +16 -16
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +16 -16
- 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.rb +1 -0
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/email.rb +14 -4
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_email_media_participant.rb +22 -4
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_participants.rb +22 -4
- data/lib/purecloudplatformclientv2/models/email_media_participant.rb +11 -1
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/encryption_key.rb +11 -1
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/flow_version.rb +1 -1
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/json_node.rb +37 -37
- data/lib/purecloudplatformclientv2/models/json_schema_document.rb +13 -13
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/license_definition_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +261 -0
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/management_unit.rb +11 -1
- data/lib/purecloudplatformclientv2/models/note_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +16 -16
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +16 -16
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_participants.rb +10 -1
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_screen_share_media_participant.rb +10 -1
- data/lib/purecloudplatformclientv2/models/screenshare.rb +11 -1
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_participants.rb +10 -1
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_social_media_participant.rb +10 -1
- data/lib/purecloudplatformclientv2/models/social_expression.rb +14 -4
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/update_user.rb +30 -2
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +16 -16
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/video.rb +14 -4
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_participants.rb +10 -1
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_video_media_participant.rb +10 -1
- data/lib/purecloudplatformclientv2/models/voicemail.rb +179 -0
- data/lib/purecloudplatformclientv2/models/voicemail_media_info.rb +15 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +16 -16
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +6 -2
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,11 +45,11 @@ module PureCloud
|
|
45
45
|
:'page_size' => :'pageSize',
|
46
46
|
:'page_number' => :'pageNumber',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'self_uri' => :'selfUri',
|
49
48
|
:'first_uri' => :'firstUri',
|
49
|
+
:'self_uri' => :'selfUri',
|
50
|
+
:'previous_uri' => :'previousUri',
|
50
51
|
:'next_uri' => :'nextUri',
|
51
52
|
:'last_uri' => :'lastUri',
|
52
|
-
:'previous_uri' => :'previousUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -61,11 +61,11 @@ module PureCloud
|
|
61
61
|
:'page_size' => :'Integer',
|
62
62
|
:'page_number' => :'Integer',
|
63
63
|
:'total' => :'Integer',
|
64
|
-
:'self_uri' => :'String',
|
65
64
|
:'first_uri' => :'String',
|
65
|
+
:'self_uri' => :'String',
|
66
|
+
:'previous_uri' => :'String',
|
66
67
|
:'next_uri' => :'String',
|
67
68
|
:'last_uri' => :'String',
|
68
|
-
:'previous_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -96,12 +96,16 @@ module PureCloud
|
|
96
96
|
self.total = attributes[:'total']
|
97
97
|
end
|
98
98
|
|
99
|
+
if attributes.has_key?(:'firstUri')
|
100
|
+
self.first_uri = attributes[:'firstUri']
|
101
|
+
end
|
102
|
+
|
99
103
|
if attributes.has_key?(:'selfUri')
|
100
104
|
self.self_uri = attributes[:'selfUri']
|
101
105
|
end
|
102
106
|
|
103
|
-
if attributes.has_key?(:'
|
104
|
-
self.
|
107
|
+
if attributes.has_key?(:'previousUri')
|
108
|
+
self.previous_uri = attributes[:'previousUri']
|
105
109
|
end
|
106
110
|
|
107
111
|
if attributes.has_key?(:'nextUri')
|
@@ -112,10 +116,6 @@ module PureCloud
|
|
112
116
|
self.last_uri = attributes[:'lastUri']
|
113
117
|
end
|
114
118
|
|
115
|
-
if attributes.has_key?(:'previousUri')
|
116
|
-
self.previous_uri = attributes[:'previousUri']
|
117
|
-
end
|
118
|
-
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -143,11 +143,11 @@ module PureCloud
|
|
143
143
|
page_size == o.page_size &&
|
144
144
|
page_number == o.page_number &&
|
145
145
|
total == o.total &&
|
146
|
-
self_uri == o.self_uri &&
|
147
146
|
first_uri == o.first_uri &&
|
147
|
+
self_uri == o.self_uri &&
|
148
|
+
previous_uri == o.previous_uri &&
|
148
149
|
next_uri == o.next_uri &&
|
149
150
|
last_uri == o.last_uri &&
|
150
|
-
previous_uri == o.previous_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -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,
|
163
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,11 +45,11 @@ module PureCloud
|
|
45
45
|
:'page_size' => :'pageSize',
|
46
46
|
:'page_number' => :'pageNumber',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'self_uri' => :'selfUri',
|
49
48
|
:'first_uri' => :'firstUri',
|
49
|
+
:'self_uri' => :'selfUri',
|
50
|
+
:'previous_uri' => :'previousUri',
|
50
51
|
:'next_uri' => :'nextUri',
|
51
52
|
:'last_uri' => :'lastUri',
|
52
|
-
:'previous_uri' => :'previousUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -61,11 +61,11 @@ module PureCloud
|
|
61
61
|
:'page_size' => :'Integer',
|
62
62
|
:'page_number' => :'Integer',
|
63
63
|
:'total' => :'Integer',
|
64
|
-
:'self_uri' => :'String',
|
65
64
|
:'first_uri' => :'String',
|
65
|
+
:'self_uri' => :'String',
|
66
|
+
:'previous_uri' => :'String',
|
66
67
|
:'next_uri' => :'String',
|
67
68
|
:'last_uri' => :'String',
|
68
|
-
:'previous_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -96,12 +96,16 @@ module PureCloud
|
|
96
96
|
self.total = attributes[:'total']
|
97
97
|
end
|
98
98
|
|
99
|
+
if attributes.has_key?(:'firstUri')
|
100
|
+
self.first_uri = attributes[:'firstUri']
|
101
|
+
end
|
102
|
+
|
99
103
|
if attributes.has_key?(:'selfUri')
|
100
104
|
self.self_uri = attributes[:'selfUri']
|
101
105
|
end
|
102
106
|
|
103
|
-
if attributes.has_key?(:'
|
104
|
-
self.
|
107
|
+
if attributes.has_key?(:'previousUri')
|
108
|
+
self.previous_uri = attributes[:'previousUri']
|
105
109
|
end
|
106
110
|
|
107
111
|
if attributes.has_key?(:'nextUri')
|
@@ -112,10 +116,6 @@ module PureCloud
|
|
112
116
|
self.last_uri = attributes[:'lastUri']
|
113
117
|
end
|
114
118
|
|
115
|
-
if attributes.has_key?(:'previousUri')
|
116
|
-
self.previous_uri = attributes[:'previousUri']
|
117
|
-
end
|
118
|
-
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -143,11 +143,11 @@ module PureCloud
|
|
143
143
|
page_size == o.page_size &&
|
144
144
|
page_number == o.page_number &&
|
145
145
|
total == o.total &&
|
146
|
-
self_uri == o.self_uri &&
|
147
146
|
first_uri == o.first_uri &&
|
147
|
+
self_uri == o.self_uri &&
|
148
|
+
previous_uri == o.previous_uri &&
|
148
149
|
next_uri == o.next_uri &&
|
149
150
|
last_uri == o.last_uri &&
|
150
|
-
previous_uri == o.previous_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -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,
|
163
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,11 +45,11 @@ module PureCloud
|
|
45
45
|
:'page_size' => :'pageSize',
|
46
46
|
:'page_number' => :'pageNumber',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'self_uri' => :'selfUri',
|
49
48
|
:'first_uri' => :'firstUri',
|
49
|
+
:'self_uri' => :'selfUri',
|
50
|
+
:'previous_uri' => :'previousUri',
|
50
51
|
:'next_uri' => :'nextUri',
|
51
52
|
:'last_uri' => :'lastUri',
|
52
|
-
:'previous_uri' => :'previousUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -61,11 +61,11 @@ module PureCloud
|
|
61
61
|
:'page_size' => :'Integer',
|
62
62
|
:'page_number' => :'Integer',
|
63
63
|
:'total' => :'Integer',
|
64
|
-
:'self_uri' => :'String',
|
65
64
|
:'first_uri' => :'String',
|
65
|
+
:'self_uri' => :'String',
|
66
|
+
:'previous_uri' => :'String',
|
66
67
|
:'next_uri' => :'String',
|
67
68
|
:'last_uri' => :'String',
|
68
|
-
:'previous_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -96,12 +96,16 @@ module PureCloud
|
|
96
96
|
self.total = attributes[:'total']
|
97
97
|
end
|
98
98
|
|
99
|
+
if attributes.has_key?(:'firstUri')
|
100
|
+
self.first_uri = attributes[:'firstUri']
|
101
|
+
end
|
102
|
+
|
99
103
|
if attributes.has_key?(:'selfUri')
|
100
104
|
self.self_uri = attributes[:'selfUri']
|
101
105
|
end
|
102
106
|
|
103
|
-
if attributes.has_key?(:'
|
104
|
-
self.
|
107
|
+
if attributes.has_key?(:'previousUri')
|
108
|
+
self.previous_uri = attributes[:'previousUri']
|
105
109
|
end
|
106
110
|
|
107
111
|
if attributes.has_key?(:'nextUri')
|
@@ -112,10 +116,6 @@ module PureCloud
|
|
112
116
|
self.last_uri = attributes[:'lastUri']
|
113
117
|
end
|
114
118
|
|
115
|
-
if attributes.has_key?(:'previousUri')
|
116
|
-
self.previous_uri = attributes[:'previousUri']
|
117
|
-
end
|
118
|
-
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -143,11 +143,11 @@ module PureCloud
|
|
143
143
|
page_size == o.page_size &&
|
144
144
|
page_number == o.page_number &&
|
145
145
|
total == o.total &&
|
146
|
-
self_uri == o.self_uri &&
|
147
146
|
first_uri == o.first_uri &&
|
147
|
+
self_uri == o.self_uri &&
|
148
|
+
previous_uri == o.previous_uri &&
|
148
149
|
next_uri == o.next_uri &&
|
149
150
|
last_uri == o.last_uri &&
|
150
|
-
previous_uri == o.previous_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -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,
|
163
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,11 +45,11 @@ module PureCloud
|
|
45
45
|
:'page_size' => :'pageSize',
|
46
46
|
:'page_number' => :'pageNumber',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'self_uri' => :'selfUri',
|
49
48
|
:'first_uri' => :'firstUri',
|
49
|
+
:'self_uri' => :'selfUri',
|
50
|
+
:'previous_uri' => :'previousUri',
|
50
51
|
:'next_uri' => :'nextUri',
|
51
52
|
:'last_uri' => :'lastUri',
|
52
|
-
:'previous_uri' => :'previousUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -61,11 +61,11 @@ module PureCloud
|
|
61
61
|
:'page_size' => :'Integer',
|
62
62
|
:'page_number' => :'Integer',
|
63
63
|
:'total' => :'Integer',
|
64
|
-
:'self_uri' => :'String',
|
65
64
|
:'first_uri' => :'String',
|
65
|
+
:'self_uri' => :'String',
|
66
|
+
:'previous_uri' => :'String',
|
66
67
|
:'next_uri' => :'String',
|
67
68
|
:'last_uri' => :'String',
|
68
|
-
:'previous_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -96,12 +96,16 @@ module PureCloud
|
|
96
96
|
self.total = attributes[:'total']
|
97
97
|
end
|
98
98
|
|
99
|
+
if attributes.has_key?(:'firstUri')
|
100
|
+
self.first_uri = attributes[:'firstUri']
|
101
|
+
end
|
102
|
+
|
99
103
|
if attributes.has_key?(:'selfUri')
|
100
104
|
self.self_uri = attributes[:'selfUri']
|
101
105
|
end
|
102
106
|
|
103
|
-
if attributes.has_key?(:'
|
104
|
-
self.
|
107
|
+
if attributes.has_key?(:'previousUri')
|
108
|
+
self.previous_uri = attributes[:'previousUri']
|
105
109
|
end
|
106
110
|
|
107
111
|
if attributes.has_key?(:'nextUri')
|
@@ -112,10 +116,6 @@ module PureCloud
|
|
112
116
|
self.last_uri = attributes[:'lastUri']
|
113
117
|
end
|
114
118
|
|
115
|
-
if attributes.has_key?(:'previousUri')
|
116
|
-
self.previous_uri = attributes[:'previousUri']
|
117
|
-
end
|
118
|
-
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -143,11 +143,11 @@ module PureCloud
|
|
143
143
|
page_size == o.page_size &&
|
144
144
|
page_number == o.page_number &&
|
145
145
|
total == o.total &&
|
146
|
-
self_uri == o.self_uri &&
|
147
146
|
first_uri == o.first_uri &&
|
147
|
+
self_uri == o.self_uri &&
|
148
|
+
previous_uri == o.previous_uri &&
|
148
149
|
next_uri == o.next_uri &&
|
149
150
|
last_uri == o.last_uri &&
|
150
|
-
previous_uri == o.previous_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -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,
|
163
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|
@@ -0,0 +1,261 @@
|
|
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@genesys.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 LocationEntityListing
|
21
|
+
attr_accessor :entities
|
22
|
+
|
23
|
+
attr_accessor :page_size
|
24
|
+
|
25
|
+
attr_accessor :page_number
|
26
|
+
|
27
|
+
attr_accessor :total
|
28
|
+
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
31
|
+
attr_accessor :self_uri
|
32
|
+
|
33
|
+
attr_accessor :previous_uri
|
34
|
+
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
|
+
attr_accessor :page_count
|
40
|
+
|
41
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
42
|
+
def self.attribute_map
|
43
|
+
{
|
44
|
+
:'entities' => :'entities',
|
45
|
+
:'page_size' => :'pageSize',
|
46
|
+
:'page_number' => :'pageNumber',
|
47
|
+
:'total' => :'total',
|
48
|
+
:'first_uri' => :'firstUri',
|
49
|
+
:'self_uri' => :'selfUri',
|
50
|
+
:'previous_uri' => :'previousUri',
|
51
|
+
:'next_uri' => :'nextUri',
|
52
|
+
:'last_uri' => :'lastUri',
|
53
|
+
:'page_count' => :'pageCount'
|
54
|
+
}
|
55
|
+
end
|
56
|
+
|
57
|
+
# Attribute type mapping.
|
58
|
+
def self.swagger_types
|
59
|
+
{
|
60
|
+
:'entities' => :'Array<LocationDefinition>',
|
61
|
+
:'page_size' => :'Integer',
|
62
|
+
:'page_number' => :'Integer',
|
63
|
+
:'total' => :'Integer',
|
64
|
+
:'first_uri' => :'String',
|
65
|
+
:'self_uri' => :'String',
|
66
|
+
:'previous_uri' => :'String',
|
67
|
+
:'next_uri' => :'String',
|
68
|
+
:'last_uri' => :'String',
|
69
|
+
:'page_count' => :'Integer'
|
70
|
+
}
|
71
|
+
end
|
72
|
+
|
73
|
+
# Initializes the object
|
74
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
75
|
+
def initialize(attributes = {})
|
76
|
+
return unless attributes.is_a?(Hash)
|
77
|
+
|
78
|
+
# convert string to symbol for hash key
|
79
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
80
|
+
|
81
|
+
if attributes.has_key?(:'entities')
|
82
|
+
if (value = attributes[:'entities']).is_a?(Array)
|
83
|
+
self.entities = value
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
if attributes.has_key?(:'pageSize')
|
88
|
+
self.page_size = attributes[:'pageSize']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.has_key?(:'pageNumber')
|
92
|
+
self.page_number = attributes[:'pageNumber']
|
93
|
+
end
|
94
|
+
|
95
|
+
if attributes.has_key?(:'total')
|
96
|
+
self.total = attributes[:'total']
|
97
|
+
end
|
98
|
+
|
99
|
+
if attributes.has_key?(:'firstUri')
|
100
|
+
self.first_uri = attributes[:'firstUri']
|
101
|
+
end
|
102
|
+
|
103
|
+
if attributes.has_key?(:'selfUri')
|
104
|
+
self.self_uri = attributes[:'selfUri']
|
105
|
+
end
|
106
|
+
|
107
|
+
if attributes.has_key?(:'previousUri')
|
108
|
+
self.previous_uri = attributes[:'previousUri']
|
109
|
+
end
|
110
|
+
|
111
|
+
if attributes.has_key?(:'nextUri')
|
112
|
+
self.next_uri = attributes[:'nextUri']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.has_key?(:'lastUri')
|
116
|
+
self.last_uri = attributes[:'lastUri']
|
117
|
+
end
|
118
|
+
|
119
|
+
if attributes.has_key?(:'pageCount')
|
120
|
+
self.page_count = attributes[:'pageCount']
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
126
|
+
# @return Array for valid properies with the reasons
|
127
|
+
def list_invalid_properties
|
128
|
+
invalid_properties = Array.new
|
129
|
+
return invalid_properties
|
130
|
+
end
|
131
|
+
|
132
|
+
# Check to see if the all the properties in the model are valid
|
133
|
+
# @return true if the model is valid
|
134
|
+
def valid?
|
135
|
+
end
|
136
|
+
|
137
|
+
# Checks equality by comparing each attribute.
|
138
|
+
# @param [Object] Object to be compared
|
139
|
+
def ==(o)
|
140
|
+
return true if self.equal?(o)
|
141
|
+
self.class == o.class &&
|
142
|
+
entities == o.entities &&
|
143
|
+
page_size == o.page_size &&
|
144
|
+
page_number == o.page_number &&
|
145
|
+
total == o.total &&
|
146
|
+
first_uri == o.first_uri &&
|
147
|
+
self_uri == o.self_uri &&
|
148
|
+
previous_uri == o.previous_uri &&
|
149
|
+
next_uri == o.next_uri &&
|
150
|
+
last_uri == o.last_uri &&
|
151
|
+
page_count == o.page_count
|
152
|
+
end
|
153
|
+
|
154
|
+
# @see the `==` method
|
155
|
+
# @param [Object] Object to be compared
|
156
|
+
def eql?(o)
|
157
|
+
self == o
|
158
|
+
end
|
159
|
+
|
160
|
+
# Calculates hash code according to all attributes.
|
161
|
+
# @return [Fixnum] Hash code
|
162
|
+
def hash
|
163
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# build the object from hash
|
167
|
+
def build_from_hash(attributes)
|
168
|
+
return nil unless attributes.is_a?(Hash)
|
169
|
+
self.class.swagger_types.each_pair do |key, type|
|
170
|
+
if type =~ /^Array<(.*)>/i
|
171
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
172
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
173
|
+
else
|
174
|
+
#TODO show warning in debug mode
|
175
|
+
end
|
176
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
177
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
178
|
+
else
|
179
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
self
|
184
|
+
end
|
185
|
+
|
186
|
+
def _deserialize(type, value)
|
187
|
+
case type.to_sym
|
188
|
+
when :DateTime
|
189
|
+
DateTime.parse(value)
|
190
|
+
when :Date
|
191
|
+
Date.parse(value)
|
192
|
+
when :String
|
193
|
+
value.to_s
|
194
|
+
when :Integer
|
195
|
+
value.to_i
|
196
|
+
when :Float
|
197
|
+
value.to_f
|
198
|
+
when :BOOLEAN
|
199
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
200
|
+
true
|
201
|
+
else
|
202
|
+
false
|
203
|
+
end
|
204
|
+
when :Object
|
205
|
+
# generic object (usually a Hash), return directly
|
206
|
+
value
|
207
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
208
|
+
inner_type = Regexp.last_match[:inner_type]
|
209
|
+
value.map { |v| _deserialize(inner_type, v) }
|
210
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
211
|
+
k_type = Regexp.last_match[:k_type]
|
212
|
+
v_type = Regexp.last_match[:v_type]
|
213
|
+
{}.tap do |hash|
|
214
|
+
value.each do |k, v|
|
215
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
216
|
+
end
|
217
|
+
end
|
218
|
+
else # model
|
219
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
220
|
+
_model.build_from_hash(value)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
def to_s
|
225
|
+
to_hash.to_s
|
226
|
+
end
|
227
|
+
|
228
|
+
# to_body is an alias to to_body (backward compatibility))
|
229
|
+
def to_body
|
230
|
+
to_hash
|
231
|
+
end
|
232
|
+
|
233
|
+
# return the object in the form of hash
|
234
|
+
def to_hash
|
235
|
+
hash = {}
|
236
|
+
self.class.attribute_map.each_pair do |attr, param|
|
237
|
+
value = self.send(attr)
|
238
|
+
next if value.nil?
|
239
|
+
hash[param] = _to_hash(value)
|
240
|
+
end
|
241
|
+
hash
|
242
|
+
end
|
243
|
+
|
244
|
+
# Method to output non-array value in the form of hash
|
245
|
+
# For object, use to_hash. Otherwise, just return the value
|
246
|
+
def _to_hash(value)
|
247
|
+
if value.is_a?(Array)
|
248
|
+
value.compact.map{ |v| _to_hash(v) }
|
249
|
+
elsif value.is_a?(Hash)
|
250
|
+
{}.tap do |hash|
|
251
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
252
|
+
end
|
253
|
+
elsif value.respond_to? :to_hash
|
254
|
+
value.to_hash
|
255
|
+
else
|
256
|
+
value
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
end
|
261
|
+
end
|