purecloud 0.52.1 → 0.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/notificationMappings.json +8 -0
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +1 -1
- data/doc_out/AttemptLimitsEntityListing.html.md +1 -1
- data/doc_out/AttributeEntityListing.html.md +1 -1
- data/doc_out/CalibrationEntityListing.html.md +1 -1
- data/doc_out/Call.html.md +1 -0
- data/doc_out/CallConversationEntityListing.html.md +1 -1
- data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +1 -0
- data/doc_out/CallConversationNotificationParticipants.html.md +1 -0
- data/doc_out/CallableContactsDiagnostic.html.md +1 -0
- data/doc_out/CallableTimeSetEntityListing.html.md +1 -1
- data/doc_out/Callback.html.md +1 -0
- data/doc_out/CallbackConversationEntityListing.html.md +1 -1
- data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +1 -0
- data/doc_out/CallbackConversationNotificationParticipants.html.md +1 -0
- data/doc_out/Campaign.html.md +1 -0
- data/doc_out/CampaignEntityListing.html.md +1 -1
- data/doc_out/CampaignSequenceEntityListing.html.md +1 -1
- data/doc_out/CertificateAuthorityEntityListing.html.md +1 -1
- data/doc_out/ChannelEntityListing.html.md +1 -1
- data/doc_out/ChatConversationEntityListing.html.md +1 -1
- data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +1 -0
- data/doc_out/ChatConversationNotificationParticipants.html.md +1 -0
- data/doc_out/CobrowseConversationEntityListing.html.md +1 -1
- data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +1 -0
- data/doc_out/CobrowseConversationNotificationParticipants.html.md +9 -8
- data/doc_out/Cobrowsesession.html.md +1 -0
- data/doc_out/CommandStatusEntityListing.html.md +1 -1
- data/doc_out/ContactListEntityListing.html.md +1 -1
- data/doc_out/ConversationEntityListing.html.md +1 -1
- data/doc_out/ConversationNotificationCall.html.md +1 -0
- data/doc_out/ConversationNotificationCallback.html.md +1 -0
- data/doc_out/ConversationNotificationCallbacks.html.md +1 -0
- data/doc_out/ConversationNotificationCalls.html.md +1 -0
- data/doc_out/ConversationNotificationChat.html.md +1 -0
- data/doc_out/ConversationNotificationChats.html.md +1 -0
- data/doc_out/ConversationNotificationCobrowse.html.md +1 -0
- data/doc_out/ConversationNotificationCobrowsesessions.html.md +1 -0
- data/doc_out/ConversationNotificationEmail.html.md +1 -0
- data/doc_out/ConversationNotificationEmails.html.md +1 -0
- data/doc_out/ConversationNotificationScreenShare.html.md +1 -0
- data/doc_out/ConversationNotificationScreenShares.html.md +1 -0
- data/doc_out/ConversationNotificationSocialExpression.html.md +1 -0
- data/doc_out/ConversationNotificationSocialExpressions.html.md +2 -1
- data/doc_out/DIDEntityListing.html.md +1 -1
- data/doc_out/DIDPoolEntityListing.html.md +1 -1
- data/doc_out/DncListEntityListing.html.md +1 -1
- data/doc_out/DocumentAuditEntityListing.html.md +1 -1
- data/doc_out/DocumentEntityListing.html.md +1 -1
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListingEvaluationForm.html.md +1 -1
- data/doc_out/DomainEntityListingQueryResult.html.md +1 -1
- data/doc_out/DomainOrganizationRole.html.md +1 -0
- data/doc_out/DomainOrganizationRoleCreate.html.md +1 -0
- data/doc_out/EdgeEntityListing.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +1 -1
- data/doc_out/EdgeLineEntityListing.html.md +1 -1
- data/doc_out/EmailConversationEntityListing.html.md +1 -1
- data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +1 -0
- data/doc_out/EmailConversationNotificationParticipants.html.md +1 -0
- data/doc_out/EmailMessageListing.html.md +1 -1
- data/doc_out/EncryptionKeyEntityListing.html.md +1 -1
- data/doc_out/EndpointEntityListing.html.md +1 -1
- data/doc_out/EvaluationEntityListing.html.md +1 -1
- data/doc_out/EvaluationFormEntityListing.html.md +1 -1
- data/doc_out/EvaluatorActivityEntityListing.html.md +1 -1
- data/doc_out/ExtensionEntityListing.html.md +1 -1
- data/doc_out/ExtensionPoolEntityListing.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +1 -1
- data/doc_out/GroupEntityListing.html.md +1 -1
- data/doc_out/GroupSearchCriteria.html.md +7 -7
- data/doc_out/GroupSearchRequest.html.md +6 -6
- data/doc_out/GroupsApi.html.md +6 -6
- data/doc_out/GroupsSearchResponse.html.md +9 -9
- data/doc_out/HeartBeatAlertContainer.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +1 -1
- data/doc_out/InboundDomainEntityListing.html.md +1 -1
- data/doc_out/InboundRouteEntityListing.html.md +1 -1
- data/doc_out/InteractionStatsAlertContainer.html.md +1 -1
- data/doc_out/InteractionStatsRuleContainer.html.md +1 -1
- data/doc_out/JsonNode.html.md +3 -3
- data/doc_out/JsonNodeSearchResponse.html.md +9 -9
- data/doc_out/KeywordSetEntityListing.html.md +1 -1
- data/doc_out/LanguageEntityListing.html.md +1 -1
- data/doc_out/LibraryEntityListing.html.md +1 -1
- data/doc_out/LineBaseEntityListing.html.md +1 -1
- data/doc_out/LineEntityListing.html.md +1 -1
- data/doc_out/LocationSearchCriteria.html.md +7 -7
- data/doc_out/LocationSearchRequest.html.md +6 -6
- data/doc_out/LocationsApi.html.md +6 -6
- data/doc_out/LocationsSearchResponse.html.md +9 -9
- data/doc_out/LogicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/ManagementUnit.html.md +18 -0
- data/doc_out/OAuthClientEntityListing.html.md +1 -1
- data/doc_out/OAuthProviderEntityListing.html.md +1 -1
- data/doc_out/OrganizationPresenceEntityListing.html.md +1 -1
- data/doc_out/OrganizationRoleEntityListing.html.md +1 -1
- data/doc_out/OrphanRecordingListing.html.md +1 -1
- data/doc_out/OutboundRouteEntityListing.html.md +1 -1
- data/doc_out/PermissionCollectionEntityListing.html.md +1 -1
- data/doc_out/PhoneBaseEntityListing.html.md +1 -1
- data/doc_out/PhoneEntityListing.html.md +1 -1
- data/doc_out/PhoneMetaBaseEntityListing.html.md +1 -1
- data/doc_out/PhysicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/PolicyEntityListing.html.md +1 -1
- data/doc_out/Predicate.html.md +14 -0
- data/doc_out/QualityAuditPage.html.md +1 -1
- data/doc_out/QuestionGroup.html.md +1 -0
- data/doc_out/QueueEntityListing.html.md +1 -1
- data/doc_out/QueueMemberEntityListing.html.md +1 -1
- data/doc_out/ReportMetaDataEntityListing.html.md +1 -1
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +1 -1
- data/doc_out/ReportScheduleEntityListing.html.md +1 -1
- data/doc_out/ResponseEntityList.html.md +1 -1
- data/doc_out/ResponseEntityListing.html.md +1 -1
- data/doc_out/ResponseSetEntityListing.html.md +1 -1
- data/doc_out/RuleSetEntityListing.html.md +1 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +1 -1
- data/doc_out/SchemaReferenceEntityListing.html.md +1 -1
- data/doc_out/ScreenRecordingSessionListing.html.md +1 -1
- data/doc_out/ScreenShareConversationNotificationParticipants.html.md +10 -9
- data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +1 -0
- data/doc_out/Screenshare.html.md +1 -0
- data/doc_out/SearchAggregation.html.md +6 -6
- data/doc_out/SearchApi.html.md +30 -30
- data/doc_out/SearchCriteria.html.md +7 -7
- data/doc_out/SearchRequest.html.md +9 -9
- data/doc_out/SecurityProfileEntityListing.html.md +1 -1
- data/doc_out/ShareEntityListing.html.md +1 -1
- data/doc_out/SiteEntityListing.html.md +1 -1
- data/doc_out/SkillEntityListing.html.md +1 -1
- data/doc_out/SocialConversationNotificationParticipants.html.md +11 -10
- data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +1 -0
- data/doc_out/SocialExpression.html.md +1 -0
- data/doc_out/StationEntityListing.html.md +1 -1
- data/doc_out/SuggestApi.html.md +12 -12
- data/doc_out/SuggestSearchCriteria.html.md +7 -7
- data/doc_out/SuggestSearchRequest.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +1 -1
- data/doc_out/TimeZoneEntityListing.html.md +1 -1
- data/doc_out/TrunkEntityListing.html.md +1 -1
- data/doc_out/TrunkMetabaseEntityListing.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +1 -1
- data/doc_out/UserQueueEntityListing.html.md +1 -1
- data/doc_out/UserRecordingEntityListing.html.md +1 -1
- data/doc_out/UserScheduleAdherence.html.md +26 -0
- data/doc_out/UserSearchCriteria.html.md +7 -7
- data/doc_out/UserSearchRequest.html.md +6 -6
- data/doc_out/UserSkillEntityListing.html.md +1 -1
- data/doc_out/UsersApi.html.md +124 -6
- data/doc_out/UsersEntityListing.html.md +1 -1
- data/doc_out/UsersSearchResponse.html.md +9 -9
- data/doc_out/Video.html.md +1 -0
- data/doc_out/VideoConversationNotificationParticipants.html.md +1 -1
- data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +1 -1
- data/doc_out/VisibilityCondition.html.md +14 -0
- data/doc_out/WorkforceManagementApi.html.md +69 -0
- data/doc_out/WorkspaceEntityListing.html.md +1 -1
- data/doc_out/WorkspaceMemberEntityListing.html.md +1 -1
- data/doc_out/WrapupCodeEntityListing.html.md +1 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +5 -0
- data/lib/purecloud/api/groups_api.rb +4 -4
- data/lib/purecloud/api/locations_api.rb +4 -4
- data/lib/purecloud/api/search_api.rb +20 -20
- data/lib/purecloud/api/suggest_api.rb +8 -8
- data/lib/purecloud/api/users_api.rb +126 -4
- data/lib/purecloud/api/workforce_management_api.rb +88 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +11 -11
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call.rb +15 -4
- data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/call_conversation_notification_call_media_participant.rb +11 -1
- data/lib/purecloud/models/call_conversation_notification_participants.rb +11 -1
- data/lib/purecloud/models/callable_contacts_diagnostic.rb +12 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback.rb +15 -4
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +11 -1
- data/lib/purecloud/models/callback_conversation_notification_participants.rb +11 -1
- data/lib/purecloud/models/campaign.rb +12 -1
- data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +11 -1
- data/lib/purecloud/models/chat_conversation_notification_participants.rb +11 -1
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +11 -1
- data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +87 -77
- data/lib/purecloud/models/cobrowsesession.rb +15 -4
- data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/conversation_notification_call.rb +11 -1
- data/lib/purecloud/models/conversation_notification_callback.rb +11 -1
- data/lib/purecloud/models/conversation_notification_callbacks.rb +11 -1
- data/lib/purecloud/models/conversation_notification_calls.rb +11 -1
- data/lib/purecloud/models/conversation_notification_chat.rb +11 -1
- data/lib/purecloud/models/conversation_notification_chats.rb +14 -4
- data/lib/purecloud/models/conversation_notification_cobrowse.rb +11 -1
- data/lib/purecloud/models/conversation_notification_cobrowsesessions.rb +11 -1
- data/lib/purecloud/models/conversation_notification_email.rb +11 -1
- data/lib/purecloud/models/conversation_notification_emails.rb +11 -1
- data/lib/purecloud/models/conversation_notification_screen_share.rb +11 -1
- data/lib/purecloud/models/conversation_notification_screen_shares.rb +11 -1
- data/lib/purecloud/models/conversation_notification_social_expression.rb +11 -1
- data/lib/purecloud/models/conversation_notification_social_expressions.rb +21 -11
- data/lib/purecloud/models/conversation_notification_video.rb +0 -9
- data/lib/purecloud/models/conversation_notification_videos.rb +0 -9
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
- data/lib/purecloud/models/domain_organization_role.rb +13 -1
- data/lib/purecloud/models/domain_organization_role_create.rb +13 -1
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +11 -1
- data/lib/purecloud/models/email_conversation_notification_participants.rb +11 -1
- data/lib/purecloud/models/email_message_listing.rb +11 -11
- data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
- data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/group_entity_listing.rb +11 -11
- data/lib/purecloud/models/group_search_criteria.rb +7 -0
- data/lib/purecloud/models/group_search_request.rb +6 -0
- data/lib/purecloud/models/groups_search_response.rb +9 -0
- data/lib/purecloud/models/heart_beat_alert_container.rb +11 -11
- data/lib/purecloud/models/heart_beat_rule_container.rb +11 -11
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/interaction_stats_alert_container.rb +11 -11
- data/lib/purecloud/models/interaction_stats_rule_container.rb +11 -11
- data/lib/purecloud/models/json_node.rb +40 -40
- data/lib/purecloud/models/json_node_search_response.rb +9 -0
- data/lib/purecloud/models/keyword_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/language_entity_listing.rb +11 -11
- data/lib/purecloud/models/library_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_entity_listing.rb +11 -11
- data/lib/purecloud/models/location_search_criteria.rb +7 -0
- data/lib/purecloud/models/location_search_request.rb +6 -0
- data/lib/purecloud/models/locations_search_response.rb +9 -0
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/management_unit.rb +230 -0
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
- data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
- data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/policy_entity_listing.rb +11 -11
- data/lib/purecloud/models/predicate.rb +175 -0
- data/lib/purecloud/models/quality_audit_page.rb +11 -11
- data/lib/purecloud/models/question_group.rb +14 -4
- data/lib/purecloud/models/queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/queue_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
- data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_entity_list.rb +11 -11
- data/lib/purecloud/models/response_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
- data/lib/purecloud/models/screen_recording_session_listing.rb +11 -11
- data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +89 -79
- data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +11 -1
- data/lib/purecloud/models/screenshare.rb +15 -4
- data/lib/purecloud/models/search_aggregation.rb +6 -0
- data/lib/purecloud/models/search_criteria.rb +7 -0
- data/lib/purecloud/models/search_request.rb +9 -1
- data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- data/lib/purecloud/models/site_entity_listing.rb +11 -11
- data/lib/purecloud/models/skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/social_conversation_notification_participants.rb +103 -93
- data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +11 -1
- data/lib/purecloud/models/social_expression.rb +15 -4
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- data/lib/purecloud/models/suggest_search_criteria.rb +7 -0
- data/lib/purecloud/models/suggest_search_request.rb +2 -1
- data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
- data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_schedule_adherence.rb +364 -0
- data/lib/purecloud/models/user_search_criteria.rb +7 -0
- data/lib/purecloud/models/user_search_request.rb +6 -0
- data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/users_entity_listing.rb +11 -11
- data/lib/purecloud/models/users_search_response.rb +9 -0
- data/lib/purecloud/models/video.rb +15 -4
- data/lib/purecloud/models/video_conversation_notification_participants.rb +13 -22
- data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +14 -23
- data/lib/purecloud/models/visibility_condition.rb +186 -0
- data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +12 -2
@@ -28,12 +28,12 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :next_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :previous_uri
|
36
34
|
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
37
|
attr_accessor :last_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
@@ -52,12 +52,12 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'next_uri' => :'nextUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'previous_uri' => :'previousUri',
|
60
58
|
|
59
|
+
:'next_uri' => :'nextUri',
|
60
|
+
|
61
61
|
:'last_uri' => :'lastUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
@@ -73,9 +73,9 @@ module PureCloud
|
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'next_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
77
|
:'previous_uri' => :'String',
|
78
|
+
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
@@ -111,10 +111,6 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'nextUri']
|
115
|
-
self.next_uri = attributes[:'nextUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
@@ -123,6 +119,10 @@ module PureCloud
|
|
123
119
|
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes[:'nextUri']
|
123
|
+
self.next_uri = attributes[:'nextUri']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes[:'lastUri']
|
127
127
|
self.last_uri = attributes[:'lastUri']
|
128
128
|
end
|
@@ -142,9 +142,9 @@ module PureCloud
|
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
next_uri == o.next_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
146
|
previous_uri == o.previous_uri &&
|
147
|
+
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -28,12 +28,12 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :next_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :previous_uri
|
36
34
|
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
37
|
attr_accessor :last_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
@@ -52,12 +52,12 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'next_uri' => :'nextUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'previous_uri' => :'previousUri',
|
60
58
|
|
59
|
+
:'next_uri' => :'nextUri',
|
60
|
+
|
61
61
|
:'last_uri' => :'lastUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
@@ -73,9 +73,9 @@ module PureCloud
|
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'next_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
77
|
:'previous_uri' => :'String',
|
78
|
+
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
@@ -111,10 +111,6 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'nextUri']
|
115
|
-
self.next_uri = attributes[:'nextUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
@@ -123,6 +119,10 @@ module PureCloud
|
|
123
119
|
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes[:'nextUri']
|
123
|
+
self.next_uri = attributes[:'nextUri']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes[:'lastUri']
|
127
127
|
self.last_uri = attributes[:'lastUri']
|
128
128
|
end
|
@@ -142,9 +142,9 @@ module PureCloud
|
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
next_uri == o.next_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
146
|
previous_uri == o.previous_uri &&
|
147
|
+
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -28,12 +28,12 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :next_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :previous_uri
|
36
34
|
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
37
|
attr_accessor :last_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
@@ -52,12 +52,12 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'next_uri' => :'nextUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'previous_uri' => :'previousUri',
|
60
58
|
|
59
|
+
:'next_uri' => :'nextUri',
|
60
|
+
|
61
61
|
:'last_uri' => :'lastUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
@@ -73,9 +73,9 @@ module PureCloud
|
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'next_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
77
|
:'previous_uri' => :'String',
|
78
|
+
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
@@ -111,10 +111,6 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'nextUri']
|
115
|
-
self.next_uri = attributes[:'nextUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
@@ -123,6 +119,10 @@ module PureCloud
|
|
123
119
|
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes[:'nextUri']
|
123
|
+
self.next_uri = attributes[:'nextUri']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes[:'lastUri']
|
127
127
|
self.last_uri = attributes[:'lastUri']
|
128
128
|
end
|
@@ -142,9 +142,9 @@ module PureCloud
|
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
next_uri == o.next_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
146
|
previous_uri == o.previous_uri &&
|
147
|
+
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -28,12 +28,12 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :next_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :previous_uri
|
36
34
|
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
37
|
attr_accessor :last_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
@@ -52,12 +52,12 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'next_uri' => :'nextUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'previous_uri' => :'previousUri',
|
60
58
|
|
59
|
+
:'next_uri' => :'nextUri',
|
60
|
+
|
61
61
|
:'last_uri' => :'lastUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
@@ -73,9 +73,9 @@ module PureCloud
|
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'next_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
77
|
:'previous_uri' => :'String',
|
78
|
+
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
@@ -111,10 +111,6 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'nextUri']
|
115
|
-
self.next_uri = attributes[:'nextUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
@@ -123,6 +119,10 @@ module PureCloud
|
|
123
119
|
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes[:'nextUri']
|
123
|
+
self.next_uri = attributes[:'nextUri']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes[:'lastUri']
|
127
127
|
self.last_uri = attributes[:'lastUri']
|
128
128
|
end
|
@@ -142,9 +142,9 @@ module PureCloud
|
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
next_uri == o.next_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
146
|
previous_uri == o.previous_uri &&
|
147
|
+
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -0,0 +1,175 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@inin.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: ININ
|
11
|
+
http://www.inin.com
|
12
|
+
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class Predicate
|
21
|
+
attr_accessor :question_id
|
22
|
+
|
23
|
+
attr_accessor :answer_id
|
24
|
+
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
+
def self.attribute_map
|
27
|
+
{
|
28
|
+
|
29
|
+
:'question_id' => :'questionId',
|
30
|
+
|
31
|
+
:'answer_id' => :'answerId'
|
32
|
+
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.swagger_types
|
38
|
+
{
|
39
|
+
:'question_id' => :'String',
|
40
|
+
:'answer_id' => :'String'
|
41
|
+
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
def initialize(attributes = {})
|
46
|
+
return unless attributes.is_a?(Hash)
|
47
|
+
|
48
|
+
# convert string to symbol for hash key
|
49
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
50
|
+
|
51
|
+
|
52
|
+
if attributes[:'questionId']
|
53
|
+
self.question_id = attributes[:'questionId']
|
54
|
+
end
|
55
|
+
|
56
|
+
if attributes[:'answerId']
|
57
|
+
self.answer_id = attributes[:'answerId']
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
# Check equality by comparing each attribute.
|
63
|
+
def ==(o)
|
64
|
+
return true if self.equal?(o)
|
65
|
+
self.class == o.class &&
|
66
|
+
question_id == o.question_id &&
|
67
|
+
answer_id == o.answer_id
|
68
|
+
end
|
69
|
+
|
70
|
+
# @see the `==` method
|
71
|
+
def eql?(o)
|
72
|
+
self == o
|
73
|
+
end
|
74
|
+
|
75
|
+
# Calculate hash code according to all attributes.
|
76
|
+
def hash
|
77
|
+
[question_id, answer_id].hash
|
78
|
+
end
|
79
|
+
|
80
|
+
# build the object from hash
|
81
|
+
def build_from_hash(attributes)
|
82
|
+
return nil unless attributes.is_a?(Hash)
|
83
|
+
self.class.swagger_types.each_pair do |key, type|
|
84
|
+
if type =~ /^Array<(.*)>/i
|
85
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
86
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
87
|
+
else
|
88
|
+
#TODO show warning in debug mode
|
89
|
+
end
|
90
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
91
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
92
|
+
else
|
93
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
self
|
98
|
+
end
|
99
|
+
|
100
|
+
def _deserialize(type, value)
|
101
|
+
case type.to_sym
|
102
|
+
when :DateTime
|
103
|
+
DateTime.parse(value)
|
104
|
+
when :Date
|
105
|
+
Date.parse(value)
|
106
|
+
when :String
|
107
|
+
value.to_s
|
108
|
+
when :Integer
|
109
|
+
value.to_i
|
110
|
+
when :Float
|
111
|
+
value.to_f
|
112
|
+
when :BOOLEAN
|
113
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
114
|
+
true
|
115
|
+
else
|
116
|
+
false
|
117
|
+
end
|
118
|
+
when :Object
|
119
|
+
# generic object (usually a Hash), return directly
|
120
|
+
value
|
121
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
122
|
+
inner_type = Regexp.last_match[:inner_type]
|
123
|
+
value.map { |v| _deserialize(inner_type, v) }
|
124
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
125
|
+
k_type = Regexp.last_match[:k_type]
|
126
|
+
v_type = Regexp.last_match[:v_type]
|
127
|
+
{}.tap do |hash|
|
128
|
+
value.each do |k, v|
|
129
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
else # model
|
133
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
134
|
+
_model.build_from_hash(value)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
def to_s
|
139
|
+
to_hash.to_s
|
140
|
+
end
|
141
|
+
|
142
|
+
# to_body is an alias to to_body (backward compatibility))
|
143
|
+
def to_body
|
144
|
+
to_hash
|
145
|
+
end
|
146
|
+
|
147
|
+
# return the object in the form of hash
|
148
|
+
def to_hash
|
149
|
+
hash = {}
|
150
|
+
self.class.attribute_map.each_pair do |attr, param|
|
151
|
+
value = self.send(attr)
|
152
|
+
next if value.nil?
|
153
|
+
hash[param] = _to_hash(value)
|
154
|
+
end
|
155
|
+
hash
|
156
|
+
end
|
157
|
+
|
158
|
+
# Method to output non-array value in the form of hash
|
159
|
+
# For object, use to_hash. Otherwise, just return the value
|
160
|
+
def _to_hash(value)
|
161
|
+
if value.is_a?(Array)
|
162
|
+
value.compact.map{ |v| _to_hash(v) }
|
163
|
+
elsif value.is_a?(Hash)
|
164
|
+
{}.tap do |hash|
|
165
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
166
|
+
end
|
167
|
+
elsif value.respond_to? :to_hash
|
168
|
+
value.to_hash
|
169
|
+
else
|
170
|
+
value
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
end
|
175
|
+
end
|