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
@@ -1804,6 +1804,84 @@ module PureCloud
|
|
1804
1804
|
return data, status_code, headers
|
1805
1805
|
end
|
1806
1806
|
|
1807
|
+
# Get the list of available trunks for the given Edge.
|
1808
|
+
# Trunks are created by assigning trunk base settings to an Edge or Edge Group.
|
1809
|
+
# @param edge_id Edge ID
|
1810
|
+
# @param [Hash] opts the optional parameters
|
1811
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1812
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1813
|
+
# @option opts [String] :sort_by Value by which to sort (default to name)
|
1814
|
+
# @option opts [String] :sort_order Sort order (default to ASC)
|
1815
|
+
# @option opts [String] :trunk_base_id Filter by Trunk Base Ids
|
1816
|
+
# @option opts [String] :trunk_type Filter by a Trunk type
|
1817
|
+
# @return [TrunkEntityListing]
|
1818
|
+
def get_telephony_providers_edge_trunks(edge_id, opts = {})
|
1819
|
+
data, _status_code, _headers = get_telephony_providers_edge_trunks_with_http_info(edge_id, opts)
|
1820
|
+
return data
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
# Get the list of available trunks for the given Edge.
|
1824
|
+
# Trunks are created by assigning trunk base settings to an Edge or Edge Group.
|
1825
|
+
# @param edge_id Edge ID
|
1826
|
+
# @param [Hash] opts the optional parameters
|
1827
|
+
# @option opts [Integer] :page_number Page number
|
1828
|
+
# @option opts [Integer] :page_size Page size
|
1829
|
+
# @option opts [String] :sort_by Value by which to sort
|
1830
|
+
# @option opts [String] :sort_order Sort order
|
1831
|
+
# @option opts [String] :trunk_base_id Filter by Trunk Base Ids
|
1832
|
+
# @option opts [String] :trunk_type Filter by a Trunk type
|
1833
|
+
# @return [Array<(TrunkEntityListing, Fixnum, Hash)>] TrunkEntityListing data, response status code and response headers
|
1834
|
+
def get_telephony_providers_edge_trunks_with_http_info(edge_id, opts = {})
|
1835
|
+
if @api_client.config.debugging
|
1836
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi.get_telephony_providers_edge_trunks ..."
|
1837
|
+
end
|
1838
|
+
# verify the required parameter 'edge_id' is set
|
1839
|
+
fail ArgumentError, "Missing the required parameter 'edge_id' when calling TelephonyProvidersEdgeApi.get_telephony_providers_edge_trunks" if edge_id.nil?
|
1840
|
+
if opts[:'trunk_type'] && !['EXTERNAL', 'PHONE', 'EDGE'].include?(opts[:'trunk_type'])
|
1841
|
+
fail ArgumentError, 'invalid value for "trunk_type", must be one of EXTERNAL, PHONE, EDGE'
|
1842
|
+
end
|
1843
|
+
# resource path
|
1844
|
+
local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/trunks".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
1845
|
+
|
1846
|
+
# query parameters
|
1847
|
+
query_params = {}
|
1848
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1849
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1850
|
+
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
1851
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
1852
|
+
query_params[:'trunkBase.id'] = opts[:'trunk_base_id'] if opts[:'trunk_base_id']
|
1853
|
+
query_params[:'trunkType'] = opts[:'trunk_type'] if opts[:'trunk_type']
|
1854
|
+
|
1855
|
+
# header parameters
|
1856
|
+
header_params = {}
|
1857
|
+
|
1858
|
+
# HTTP header 'Accept' (if needed)
|
1859
|
+
local_header_accept = ['application/json']
|
1860
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
1861
|
+
|
1862
|
+
# HTTP header 'Content-Type'
|
1863
|
+
local_header_content_type = ['application/json']
|
1864
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
1865
|
+
|
1866
|
+
# form parameters
|
1867
|
+
form_params = {}
|
1868
|
+
|
1869
|
+
# http body (model)
|
1870
|
+
post_body = nil
|
1871
|
+
auth_names = ['PureCloud Auth']
|
1872
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1873
|
+
:header_params => header_params,
|
1874
|
+
:query_params => query_params,
|
1875
|
+
:form_params => form_params,
|
1876
|
+
:body => post_body,
|
1877
|
+
:auth_names => auth_names,
|
1878
|
+
:return_type => 'TrunkEntityListing')
|
1879
|
+
if @api_client.config.debugging
|
1880
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_telephony_providers_edge_trunks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1881
|
+
end
|
1882
|
+
return data, status_code, headers
|
1883
|
+
end
|
1884
|
+
|
1807
1885
|
# Get the list of edges.
|
1808
1886
|
#
|
1809
1887
|
# @param [Hash] opts the optional parameters
|
@@ -1226,6 +1226,7 @@ module PureCloud
|
|
1226
1226
|
# @option opts [Array<String>] :id id
|
1227
1227
|
# @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
|
1228
1228
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
1229
|
+
# @option opts [String] :state Only list users of this state (default to active)
|
1229
1230
|
# @return [UserEntityListing]
|
1230
1231
|
def get_users(opts = {})
|
1231
1232
|
data, _status_code, _headers = get_users_with_http_info(opts)
|
@@ -1240,6 +1241,7 @@ module PureCloud
|
|
1240
1241
|
# @option opts [Array<String>] :id id
|
1241
1242
|
# @option opts [String] :sort_order Ascending or descending sort order
|
1242
1243
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
1244
|
+
# @option opts [String] :state Only list users of this state
|
1243
1245
|
# @return [Array<(UserEntityListing, Fixnum, Hash)>] UserEntityListing data, response status code and response headers
|
1244
1246
|
def get_users_with_http_info(opts = {})
|
1245
1247
|
if @api_client.config.debugging
|
@@ -1248,6 +1250,9 @@ module PureCloud
|
|
1248
1250
|
if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
|
1249
1251
|
fail ArgumentError, 'invalid value for "sort_order", must be one of ascending, descending'
|
1250
1252
|
end
|
1253
|
+
if opts[:'state'] && !['active', 'deleted'].include?(opts[:'state'])
|
1254
|
+
fail ArgumentError, 'invalid value for "state", must be one of active, deleted'
|
1255
|
+
end
|
1251
1256
|
# resource path
|
1252
1257
|
local_var_path = "/api/v2/users".sub('{format}','json')
|
1253
1258
|
|
@@ -1258,6 +1263,7 @@ module PureCloud
|
|
1258
1263
|
query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
|
1259
1264
|
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
1260
1265
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
1266
|
+
query_params[:'state'] = opts[:'state'] if opts[:'state']
|
1261
1267
|
|
1262
1268
|
# header parameters
|
1263
1269
|
header_params = {}
|
@@ -84,7 +84,7 @@ module PureCloud
|
|
84
84
|
|
85
85
|
# Get activity codes corresponding to a management unit
|
86
86
|
#
|
87
|
-
# @param mu_id The muId of the management unit.
|
87
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @return [ActivityCodeContainer]
|
90
90
|
def get_workforcemanagement_managementunit_activitycodes(mu_id, opts = {})
|
@@ -94,7 +94,7 @@ module PureCloud
|
|
94
94
|
|
95
95
|
# Get activity codes corresponding to a management unit
|
96
96
|
#
|
97
|
-
# @param mu_id The muId of the management unit.
|
97
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
99
|
# @return [Array<(ActivityCodeContainer, Fixnum, Hash)>] ActivityCodeContainer data, response status code and response headers
|
100
100
|
def get_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts = {})
|
@@ -141,7 +141,7 @@ module PureCloud
|
|
141
141
|
|
142
142
|
# Get intraday queues for the given date
|
143
143
|
#
|
144
|
-
# @param mu_id The muId of the management unit.
|
144
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
145
145
|
# @param date ISO-8601 date string with no time or timezone component, interpreted in the configured management unit time zone, e.g. 2017-01-23
|
146
146
|
# @param [Hash] opts the optional parameters
|
147
147
|
# @return [WfmIntradayQueueListing]
|
@@ -152,7 +152,7 @@ module PureCloud
|
|
152
152
|
|
153
153
|
# Get intraday queues for the given date
|
154
154
|
#
|
155
|
-
# @param mu_id The muId of the management unit.
|
155
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
156
156
|
# @param date ISO-8601 date string with no time or timezone component, interpreted in the configured management unit time zone, e.g. 2017-01-23
|
157
157
|
# @param [Hash] opts the optional parameters
|
158
158
|
# @return [Array<(WfmIntradayQueueListing, Fixnum, Hash)>] WfmIntradayQueueListing data, response status code and response headers
|
@@ -203,7 +203,7 @@ module PureCloud
|
|
203
203
|
|
204
204
|
# Get a time off request by id
|
205
205
|
#
|
206
|
-
# @param mu_id The muId of the management unit.
|
206
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
207
207
|
# @param user_id The userId to whom the Time Off Request applies.
|
208
208
|
# @param time_off_request_id Time Off Request Id
|
209
209
|
# @param [Hash] opts the optional parameters
|
@@ -215,7 +215,7 @@ module PureCloud
|
|
215
215
|
|
216
216
|
# Get a time off request by id
|
217
217
|
#
|
218
|
-
# @param mu_id The muId of the management unit.
|
218
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
219
219
|
# @param user_id The userId to whom the Time Off Request applies.
|
220
220
|
# @param time_off_request_id Time Off Request Id
|
221
221
|
# @param [Hash] opts the optional parameters
|
@@ -268,7 +268,7 @@ module PureCloud
|
|
268
268
|
|
269
269
|
# Get a list of time off requests for any user
|
270
270
|
#
|
271
|
-
# @param mu_id The muId of the management unit.
|
271
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
272
272
|
# @param user_id The userId to whom the Time Off Request applies.
|
273
273
|
# @param [Hash] opts the optional parameters
|
274
274
|
# @option opts [BOOLEAN] :recently_reviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
@@ -280,7 +280,7 @@ module PureCloud
|
|
280
280
|
|
281
281
|
# Get a list of time off requests for any user
|
282
282
|
#
|
283
|
-
# @param mu_id The muId of the management unit.
|
283
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
284
284
|
# @param user_id The userId to whom the Time Off Request applies.
|
285
285
|
# @param [Hash] opts the optional parameters
|
286
286
|
# @option opts [BOOLEAN] :recently_reviewed Limit results to requests that have been reviewed within the preceding 30 days
|
@@ -332,7 +332,7 @@ module PureCloud
|
|
332
332
|
|
333
333
|
# Get agents in the management unit
|
334
334
|
#
|
335
|
-
# @param mu_id The muId of the management unit.
|
335
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
336
336
|
# @param [Hash] opts the optional parameters
|
337
337
|
# @return [WfmUserEntityListing]
|
338
338
|
def get_workforcemanagement_managementunit_users(mu_id, opts = {})
|
@@ -342,7 +342,7 @@ module PureCloud
|
|
342
342
|
|
343
343
|
# Get agents in the management unit
|
344
344
|
#
|
345
|
-
# @param mu_id The muId of the management unit.
|
345
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
346
346
|
# @param [Hash] opts the optional parameters
|
347
347
|
# @return [Array<(WfmUserEntityListing, Fixnum, Hash)>] WfmUserEntityListing data, response status code and response headers
|
348
348
|
def get_workforcemanagement_managementunit_users_with_http_info(mu_id, opts = {})
|
@@ -622,7 +622,7 @@ module PureCloud
|
|
622
622
|
|
623
623
|
# Get intraday data for the given date for the requested queueIds
|
624
624
|
#
|
625
|
-
# @param mu_id The muId of the management unit.
|
625
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
626
626
|
# @param [Hash] opts the optional parameters
|
627
627
|
# @option opts [IntradayQueryDataCommand] :body body
|
628
628
|
# @return [IntradayResponse]
|
@@ -633,7 +633,7 @@ module PureCloud
|
|
633
633
|
|
634
634
|
# Get intraday data for the given date for the requested queueIds
|
635
635
|
#
|
636
|
-
# @param mu_id The muId of the management unit.
|
636
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
637
637
|
# @param [Hash] opts the optional parameters
|
638
638
|
# @option opts [IntradayQueryDataCommand] :body body
|
639
639
|
# @return [Array<(IntradayResponse, Fixnum, Hash)>] IntradayResponse data, response status code and response headers
|
@@ -681,7 +681,7 @@ module PureCloud
|
|
681
681
|
|
682
682
|
# Get user schedules within the given time range
|
683
683
|
#
|
684
|
-
# @param mu_id The muId of the management unit.
|
684
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
685
685
|
# @param [Hash] opts the optional parameters
|
686
686
|
# @option opts [UserListScheduleRequestBody] :body body
|
687
687
|
# @return [UserScheduleContainer]
|
@@ -692,7 +692,7 @@ module PureCloud
|
|
692
692
|
|
693
693
|
# Get user schedules within the given time range
|
694
694
|
#
|
695
|
-
# @param mu_id The muId of the management unit.
|
695
|
+
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
696
696
|
# @param [Hash] opts the optional parameters
|
697
697
|
# @option opts [UserListScheduleRequestBody] :body body
|
698
698
|
# @return [Array<(UserScheduleContainer, Fixnum, Hash)>] UserScheduleContainer data, response status code and response headers
|
@@ -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
|