purecloudplatformclientv2 73.0.0 → 75.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/ADFS.md +1 -1
- data/docs/ActionEntityListing.md +1 -1
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AnalyticsApi.md +4 -4
- data/docs/AnalyticsConversation.md +1 -1
- data/docs/AnalyticsConversationWithoutAttributes.md +22 -0
- data/docs/AnalyticsConversationWithoutAttributesMultiGetResponse.md +13 -0
- data/docs/AnalyticsParticipant.md +1 -1
- data/docs/AnalyticsParticipantWithoutAttributes.md +20 -0
- data/docs/AnalyticsSession.md +1 -0
- data/docs/ArrayNode.md +3 -3
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AuthorizationApi.md +7 -3
- data/docs/AuthzDivisionEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignDivisionViewListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/ClientAppEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListDivisionViewListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/ConversationProperties.md +1 -0
- data/docs/ConversationsApi.md +4 -4
- data/docs/CredentialInfoListing.md +1 -1
- data/docs/CredentialTypeListing.md +1 -1
- data/docs/CustomerInteractionCenter.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DataTableRowEntityListing.md +1 -1
- data/docs/DataTablesDomainEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +1 -1
- data/docs/DncListDivisionViewListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainEntityListingSurveyForm.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FacebookIntegrationEntityListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/Flow.md +1 -0
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowOutcomeListing.md +1 -1
- data/docs/FlowVersion.md +3 -0
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- data/docs/GSuite.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/GroupProfileEntityListing.md +1 -1
- data/docs/GroupsApi.md +1 -1
- data/docs/IVREntityListing.md +1 -1
- data/docs/IdentityNow.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/JsonNode.md +3 -3
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LexBotAliasEntityListing.md +1 -1
- data/docs/LexBotEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LineIntegrationEntityListing.md +1 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/{OrgMediaUtilization.md → MediaUtilization.md} +3 -3
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessagingIntegrationEntityListing.md +1 -1
- data/docs/MessagingStickerEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthLastTokenIssued.md +13 -0
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/ObjectsApi.md +6 -2
- data/docs/Okta.md +1 -1
- data/docs/OneLogin.md +1 -1
- data/docs/OrgUser.md +1 -0
- data/docs/OrganizationAuthorizationApi.md +72 -0
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundMessagingMessagingCampaignProgressEventCampaignProgress.md +17 -0
- data/docs/OutboundMessagingMessagingCampaignProgressEventUriReference.md +14 -0
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PingIdentity.md +1 -1
- data/docs/PolicyActions.md +1 -0
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/PureEngage.md +1 -1
- data/docs/QualityApi.md +2 -2
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RecipientListing.md +1 -1
- data/docs/RecordingJobEntityListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ReportingExportJobListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingApi.md +232 -10
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/Salesforce.md +1 -1
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SearchApi.md +2 -2
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsAddressEntityListing.md +1 -1
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SuggestApi.md +2 -2
- data/docs/SurveyFormEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TextMessageListing.md +1 -1
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/TrustEntityListing.md +1 -1
- data/docs/TrustMemberCreate.md +2 -1
- data/docs/TrustUser.md +1 -0
- data/docs/TrustUserEntityListing.md +1 -1
- data/docs/TrustorEntityListing.md +1 -1
- data/docs/TtsEngineEntityListing.md +1 -1
- data/docs/TtsVoiceEntityListing.md +1 -1
- data/docs/TwitterIntegrationEntityListing.md +1 -1
- data/docs/User.md +1 -0
- data/docs/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserMe.md +1 -0
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserScheduleAdherence.md +1 -0
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/UsersApi.md +9 -9
- data/docs/UtilitiesApi.md +0 -59
- data/docs/Utilization.md +1 -1
- data/docs/ViewFilter.md +8 -0
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WebChatMemberInfoEntityList.md +1 -1
- data/docs/WfmBuIntradayDataUpdateTopicBuIntradayDataGroup.md +19 -0
- data/docs/WfmBuIntradayDataUpdateTopicBuIntradayForecastData.md +14 -0
- data/docs/WfmBuIntradayDataUpdateTopicBuIntradayNotification.md +14 -0
- data/docs/WfmBuIntradayDataUpdateTopicBuIntradayResult.md +20 -0
- data/docs/WfmBuIntradayDataUpdateTopicBuIntradayScheduleData.md +13 -0
- data/docs/WfmBuIntradayDataUpdateTopicBuScheduleReference.md +14 -0
- data/docs/WfmBuIntradayDataUpdateTopicBuShortTermForecastReference.md +15 -0
- data/docs/WfmBuIntradayDataUpdateTopicIntradayPerformancePredictionData.md +15 -0
- data/docs/WfmBuIntradayDataUpdateTopicLocalDate.md +16 -0
- data/docs/WfmBuScheduleRunTopicBuScheduleRun.md +4 -1
- data/docs/WfmBuScheduleRunTopicBuSchedulingRunProgressNotification.md +2 -4
- data/docs/WfmHistoricalAdherenceCalculationsCompleteTopicWfmHistoricalAdherenceCalculationsCompleteNotice.md +1 -0
- data/docs/WfmHistoricalAdherenceResponse.md +2 -1
- data/docs/WfmUserScheduleAdherenceUpdatedMuTopicQueueReference.md +13 -0
- data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserReference.md +13 -0
- data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate.md +27 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate.md +1 -0
- data/docs/WhatsAppIntegrationEntityListing.md +1 -1
- data/docs/WorkforceManagementApi.md +1 -1
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +19 -4
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/objects_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/organization_authorization_api.rb +85 -0
- data/lib/purecloudplatformclientv2/api/quality_api.rb +1 -1
- data/lib/purecloudplatformclientv2/api/routing_api.rb +276 -6
- data/lib/purecloudplatformclientv2/api/utilities_api.rb +0 -55
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/analytics_conversation.rb +23 -23
- data/lib/purecloudplatformclientv2/models/analytics_conversation_without_attributes.rb +458 -0
- data/lib/purecloudplatformclientv2/models/{analytics_conversation_multi_get_response.rb → analytics_conversation_without_attributes_multi_get_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +32 -32
- data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +414 -0
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
- data/lib/purecloudplatformclientv2/models/array_node.rb +34 -34
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_properties.rb +27 -1
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow.rb +26 -1
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_version.rb +76 -1
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/json_node.rb +34 -34
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{org_media_utilization.rb → media_utilization.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_last_token_issued.rb +202 -0
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
- data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
- data/lib/purecloudplatformclientv2/models/org_user.rb +26 -1
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_messaging_messaging_campaign_progress_event_campaign_progress.rb +301 -0
- data/lib/purecloudplatformclientv2/models/outbound_messaging_messaging_campaign_progress_event_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
- data/lib/purecloudplatformclientv2/models/policy_actions.rb +30 -4
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/pure_engage.rb +12 -12
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trust_member_create.rb +30 -9
- data/lib/purecloudplatformclientv2/models/trust_user.rb +26 -1
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user.rb +26 -1
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_me.rb +26 -1
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/utilization.rb +2 -2
- data/lib/purecloudplatformclientv2/models/view_filter.rb +225 -1
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_data_group.rb +371 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_forecast_data.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_notification.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_result.rb +380 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_schedule_data.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_schedule_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_short_term_forecast_reference.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_intraday_performance_prediction_data.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_local_date.rb +276 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_schedule_run.rb +96 -7
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_scheduling_run_progress_notification.rb +26 -76
- data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_calculations_complete_topic_wfm_historical_adherence_calculations_comple.rb +28 -1
- data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_response.rb +30 -2
- data/lib/purecloudplatformclientv2/models/{token.rb → wfm_user_schedule_adherence_updated_mu_topic_queue_reference.rb} +8 -14
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update.rb +581 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update.rb +29 -4
- data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +40 -10
- data/docs/AnalyticsConversationMultiGetResponse.md +0 -13
- data/docs/MessagingApi.md +0 -1020
- data/docs/Token.md +0 -13
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -1059
@@ -17,15 +17,14 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
class
|
21
|
-
|
22
|
-
attr_accessor :jwt
|
20
|
+
class WfmUserScheduleAdherenceUpdatedMuTopicQueueReference
|
21
|
+
attr_accessor :id
|
23
22
|
|
24
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
24
|
def self.attribute_map
|
26
25
|
{
|
27
26
|
|
28
|
-
:'
|
27
|
+
:'id' => :'id'
|
29
28
|
|
30
29
|
}
|
31
30
|
end
|
@@ -34,7 +33,7 @@ module PureCloud
|
|
34
33
|
def self.swagger_types
|
35
34
|
{
|
36
35
|
|
37
|
-
:'
|
36
|
+
:'id' => :'String'
|
38
37
|
|
39
38
|
}
|
40
39
|
end
|
@@ -48,10 +47,10 @@ module PureCloud
|
|
48
47
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
49
48
|
|
50
49
|
|
51
|
-
if attributes.has_key?(:'
|
50
|
+
if attributes.has_key?(:'id')
|
52
51
|
|
53
52
|
|
54
|
-
self.
|
53
|
+
self.id = attributes[:'id']
|
55
54
|
|
56
55
|
|
57
56
|
end
|
@@ -73,11 +72,6 @@ module PureCloud
|
|
73
72
|
def valid?
|
74
73
|
|
75
74
|
|
76
|
-
if @jwt.nil?
|
77
|
-
return false
|
78
|
-
end
|
79
|
-
|
80
|
-
|
81
75
|
|
82
76
|
|
83
77
|
|
@@ -94,7 +88,7 @@ module PureCloud
|
|
94
88
|
def ==(o)
|
95
89
|
return true if self.equal?(o)
|
96
90
|
self.class == o.class &&
|
97
|
-
|
91
|
+
id == o.id
|
98
92
|
end
|
99
93
|
|
100
94
|
# @see the `==` method
|
@@ -106,7 +100,7 @@ module PureCloud
|
|
106
100
|
# Calculates hash code according to all attributes.
|
107
101
|
# @return [Fixnum] Hash code
|
108
102
|
def hash
|
109
|
-
[
|
103
|
+
[id].hash
|
110
104
|
end
|
111
105
|
|
112
106
|
# build the object from hash
|
@@ -0,0 +1,201 @@
|
|
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: UNLICENSED
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
12
|
+
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class WfmUserScheduleAdherenceUpdatedMuTopicUserReference
|
21
|
+
attr_accessor :id
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
|
27
|
+
:'id' => :'id'
|
28
|
+
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.swagger_types
|
34
|
+
{
|
35
|
+
|
36
|
+
:'id' => :'String'
|
37
|
+
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
return unless attributes.is_a?(Hash)
|
45
|
+
|
46
|
+
# convert string to symbol for hash key
|
47
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
48
|
+
|
49
|
+
|
50
|
+
if attributes.has_key?(:'id')
|
51
|
+
|
52
|
+
|
53
|
+
self.id = attributes[:'id']
|
54
|
+
|
55
|
+
|
56
|
+
end
|
57
|
+
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
62
|
+
# @return Array for valid properies with the reasons
|
63
|
+
def list_invalid_properties
|
64
|
+
invalid_properties = Array.new
|
65
|
+
|
66
|
+
|
67
|
+
return invalid_properties
|
68
|
+
end
|
69
|
+
|
70
|
+
# Check to see if the all the properties in the model are valid
|
71
|
+
# @return true if the model is valid
|
72
|
+
def valid?
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
end
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
# Checks equality by comparing each attribute.
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def ==(o)
|
89
|
+
return true if self.equal?(o)
|
90
|
+
self.class == o.class &&
|
91
|
+
id == o.id
|
92
|
+
end
|
93
|
+
|
94
|
+
# @see the `==` method
|
95
|
+
# @param [Object] Object to be compared
|
96
|
+
def eql?(o)
|
97
|
+
self == o
|
98
|
+
end
|
99
|
+
|
100
|
+
# Calculates hash code according to all attributes.
|
101
|
+
# @return [Fixnum] Hash code
|
102
|
+
def hash
|
103
|
+
[id].hash
|
104
|
+
end
|
105
|
+
|
106
|
+
# build the object from hash
|
107
|
+
def build_from_hash(attributes)
|
108
|
+
return nil unless attributes.is_a?(Hash)
|
109
|
+
self.class.swagger_types.each_pair do |key, type|
|
110
|
+
if type =~ /^Array<(.*)>/i
|
111
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
112
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
113
|
+
else
|
114
|
+
#TODO show warning in debug mode
|
115
|
+
end
|
116
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
117
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
118
|
+
else
|
119
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
self
|
124
|
+
end
|
125
|
+
|
126
|
+
def _deserialize(type, value)
|
127
|
+
case type.to_sym
|
128
|
+
when :DateTime
|
129
|
+
DateTime.parse(value)
|
130
|
+
when :Date
|
131
|
+
Date.parse(value)
|
132
|
+
when :String
|
133
|
+
value.to_s
|
134
|
+
when :Integer
|
135
|
+
value.to_i
|
136
|
+
when :Float
|
137
|
+
value.to_f
|
138
|
+
when :BOOLEAN
|
139
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
140
|
+
true
|
141
|
+
else
|
142
|
+
false
|
143
|
+
end
|
144
|
+
when :Object
|
145
|
+
# generic object (usually a Hash), return directly
|
146
|
+
value
|
147
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
148
|
+
inner_type = Regexp.last_match[:inner_type]
|
149
|
+
value.map { |v| _deserialize(inner_type, v) }
|
150
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
151
|
+
k_type = Regexp.last_match[:k_type]
|
152
|
+
v_type = Regexp.last_match[:v_type]
|
153
|
+
{}.tap do |hash|
|
154
|
+
value.each do |k, v|
|
155
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
else # model
|
159
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
160
|
+
_model.build_from_hash(value)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
def to_s
|
165
|
+
to_hash.to_s
|
166
|
+
end
|
167
|
+
|
168
|
+
# to_body is an alias to to_body (backward compatibility))
|
169
|
+
def to_body
|
170
|
+
to_hash
|
171
|
+
end
|
172
|
+
|
173
|
+
# return the object in the form of hash
|
174
|
+
def to_hash
|
175
|
+
hash = {}
|
176
|
+
self.class.attribute_map.each_pair do |attr, param|
|
177
|
+
value = self.send(attr)
|
178
|
+
next if value.nil?
|
179
|
+
hash[param] = _to_hash(value)
|
180
|
+
end
|
181
|
+
hash
|
182
|
+
end
|
183
|
+
|
184
|
+
# Method to output non-array value in the form of hash
|
185
|
+
# For object, use to_hash. Otherwise, just return the value
|
186
|
+
def _to_hash(value)
|
187
|
+
if value.is_a?(Array)
|
188
|
+
value.compact.map{ |v| _to_hash(v) }
|
189
|
+
elsif value.is_a?(Hash)
|
190
|
+
{}.tap do |hash|
|
191
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
192
|
+
end
|
193
|
+
elsif value.respond_to? :to_hash
|
194
|
+
value.to_hash
|
195
|
+
else
|
196
|
+
value
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
end
|
201
|
+
end
|
@@ -0,0 +1,581 @@
|
|
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: UNLICENSED
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
12
|
+
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate
|
21
|
+
attr_accessor :user
|
22
|
+
|
23
|
+
attr_accessor :management_unit_id
|
24
|
+
|
25
|
+
attr_accessor :scheduled_activity_category
|
26
|
+
|
27
|
+
attr_accessor :system_presence
|
28
|
+
|
29
|
+
attr_accessor :organization_secondary_presence_id
|
30
|
+
|
31
|
+
attr_accessor :routing_status
|
32
|
+
|
33
|
+
attr_accessor :actual_activity_category
|
34
|
+
|
35
|
+
attr_accessor :is_out_of_office
|
36
|
+
|
37
|
+
attr_accessor :adherence_state
|
38
|
+
|
39
|
+
attr_accessor :impact
|
40
|
+
|
41
|
+
attr_accessor :adherence_change_time
|
42
|
+
|
43
|
+
attr_accessor :presence_update_time
|
44
|
+
|
45
|
+
attr_accessor :active_queues
|
46
|
+
|
47
|
+
attr_accessor :active_queues_modified_time
|
48
|
+
|
49
|
+
attr_accessor :removed_from_management_unit
|
50
|
+
|
51
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
52
|
+
def self.attribute_map
|
53
|
+
{
|
54
|
+
|
55
|
+
:'user' => :'user',
|
56
|
+
|
57
|
+
:'management_unit_id' => :'managementUnitId',
|
58
|
+
|
59
|
+
:'scheduled_activity_category' => :'scheduledActivityCategory',
|
60
|
+
|
61
|
+
:'system_presence' => :'systemPresence',
|
62
|
+
|
63
|
+
:'organization_secondary_presence_id' => :'organizationSecondaryPresenceId',
|
64
|
+
|
65
|
+
:'routing_status' => :'routingStatus',
|
66
|
+
|
67
|
+
:'actual_activity_category' => :'actualActivityCategory',
|
68
|
+
|
69
|
+
:'is_out_of_office' => :'isOutOfOffice',
|
70
|
+
|
71
|
+
:'adherence_state' => :'adherenceState',
|
72
|
+
|
73
|
+
:'impact' => :'impact',
|
74
|
+
|
75
|
+
:'adherence_change_time' => :'adherenceChangeTime',
|
76
|
+
|
77
|
+
:'presence_update_time' => :'presenceUpdateTime',
|
78
|
+
|
79
|
+
:'active_queues' => :'activeQueues',
|
80
|
+
|
81
|
+
:'active_queues_modified_time' => :'activeQueuesModifiedTime',
|
82
|
+
|
83
|
+
:'removed_from_management_unit' => :'removedFromManagementUnit'
|
84
|
+
|
85
|
+
}
|
86
|
+
end
|
87
|
+
|
88
|
+
# Attribute type mapping.
|
89
|
+
def self.swagger_types
|
90
|
+
{
|
91
|
+
|
92
|
+
:'user' => :'WfmUserScheduleAdherenceUpdatedMuTopicUserReference',
|
93
|
+
|
94
|
+
:'management_unit_id' => :'String',
|
95
|
+
|
96
|
+
:'scheduled_activity_category' => :'String',
|
97
|
+
|
98
|
+
:'system_presence' => :'String',
|
99
|
+
|
100
|
+
:'organization_secondary_presence_id' => :'String',
|
101
|
+
|
102
|
+
:'routing_status' => :'String',
|
103
|
+
|
104
|
+
:'actual_activity_category' => :'String',
|
105
|
+
|
106
|
+
:'is_out_of_office' => :'BOOLEAN',
|
107
|
+
|
108
|
+
:'adherence_state' => :'String',
|
109
|
+
|
110
|
+
:'impact' => :'String',
|
111
|
+
|
112
|
+
:'adherence_change_time' => :'DateTime',
|
113
|
+
|
114
|
+
:'presence_update_time' => :'DateTime',
|
115
|
+
|
116
|
+
:'active_queues' => :'Array<WfmUserScheduleAdherenceUpdatedMuTopicQueueReference>',
|
117
|
+
|
118
|
+
:'active_queues_modified_time' => :'DateTime',
|
119
|
+
|
120
|
+
:'removed_from_management_unit' => :'BOOLEAN'
|
121
|
+
|
122
|
+
}
|
123
|
+
end
|
124
|
+
|
125
|
+
# Initializes the object
|
126
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
127
|
+
def initialize(attributes = {})
|
128
|
+
return unless attributes.is_a?(Hash)
|
129
|
+
|
130
|
+
# convert string to symbol for hash key
|
131
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
132
|
+
|
133
|
+
|
134
|
+
if attributes.has_key?(:'user')
|
135
|
+
|
136
|
+
|
137
|
+
self.user = attributes[:'user']
|
138
|
+
|
139
|
+
|
140
|
+
end
|
141
|
+
|
142
|
+
|
143
|
+
if attributes.has_key?(:'managementUnitId')
|
144
|
+
|
145
|
+
|
146
|
+
self.management_unit_id = attributes[:'managementUnitId']
|
147
|
+
|
148
|
+
|
149
|
+
end
|
150
|
+
|
151
|
+
|
152
|
+
if attributes.has_key?(:'scheduledActivityCategory')
|
153
|
+
|
154
|
+
|
155
|
+
self.scheduled_activity_category = attributes[:'scheduledActivityCategory']
|
156
|
+
|
157
|
+
|
158
|
+
end
|
159
|
+
|
160
|
+
|
161
|
+
if attributes.has_key?(:'systemPresence')
|
162
|
+
|
163
|
+
|
164
|
+
self.system_presence = attributes[:'systemPresence']
|
165
|
+
|
166
|
+
|
167
|
+
end
|
168
|
+
|
169
|
+
|
170
|
+
if attributes.has_key?(:'organizationSecondaryPresenceId')
|
171
|
+
|
172
|
+
|
173
|
+
self.organization_secondary_presence_id = attributes[:'organizationSecondaryPresenceId']
|
174
|
+
|
175
|
+
|
176
|
+
end
|
177
|
+
|
178
|
+
|
179
|
+
if attributes.has_key?(:'routingStatus')
|
180
|
+
|
181
|
+
|
182
|
+
self.routing_status = attributes[:'routingStatus']
|
183
|
+
|
184
|
+
|
185
|
+
end
|
186
|
+
|
187
|
+
|
188
|
+
if attributes.has_key?(:'actualActivityCategory')
|
189
|
+
|
190
|
+
|
191
|
+
self.actual_activity_category = attributes[:'actualActivityCategory']
|
192
|
+
|
193
|
+
|
194
|
+
end
|
195
|
+
|
196
|
+
|
197
|
+
if attributes.has_key?(:'isOutOfOffice')
|
198
|
+
|
199
|
+
|
200
|
+
self.is_out_of_office = attributes[:'isOutOfOffice']
|
201
|
+
|
202
|
+
|
203
|
+
end
|
204
|
+
|
205
|
+
|
206
|
+
if attributes.has_key?(:'adherenceState')
|
207
|
+
|
208
|
+
|
209
|
+
self.adherence_state = attributes[:'adherenceState']
|
210
|
+
|
211
|
+
|
212
|
+
end
|
213
|
+
|
214
|
+
|
215
|
+
if attributes.has_key?(:'impact')
|
216
|
+
|
217
|
+
|
218
|
+
self.impact = attributes[:'impact']
|
219
|
+
|
220
|
+
|
221
|
+
end
|
222
|
+
|
223
|
+
|
224
|
+
if attributes.has_key?(:'adherenceChangeTime')
|
225
|
+
|
226
|
+
|
227
|
+
self.adherence_change_time = attributes[:'adherenceChangeTime']
|
228
|
+
|
229
|
+
|
230
|
+
end
|
231
|
+
|
232
|
+
|
233
|
+
if attributes.has_key?(:'presenceUpdateTime')
|
234
|
+
|
235
|
+
|
236
|
+
self.presence_update_time = attributes[:'presenceUpdateTime']
|
237
|
+
|
238
|
+
|
239
|
+
end
|
240
|
+
|
241
|
+
|
242
|
+
if attributes.has_key?(:'activeQueues')
|
243
|
+
|
244
|
+
if (value = attributes[:'activeQueues']).is_a?(Array)
|
245
|
+
self.active_queues = value
|
246
|
+
end
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
end
|
251
|
+
|
252
|
+
|
253
|
+
if attributes.has_key?(:'activeQueuesModifiedTime')
|
254
|
+
|
255
|
+
|
256
|
+
self.active_queues_modified_time = attributes[:'activeQueuesModifiedTime']
|
257
|
+
|
258
|
+
|
259
|
+
end
|
260
|
+
|
261
|
+
|
262
|
+
if attributes.has_key?(:'removedFromManagementUnit')
|
263
|
+
|
264
|
+
|
265
|
+
self.removed_from_management_unit = attributes[:'removedFromManagementUnit']
|
266
|
+
|
267
|
+
|
268
|
+
end
|
269
|
+
|
270
|
+
|
271
|
+
end
|
272
|
+
|
273
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
274
|
+
# @return Array for valid properies with the reasons
|
275
|
+
def list_invalid_properties
|
276
|
+
invalid_properties = Array.new
|
277
|
+
|
278
|
+
|
279
|
+
return invalid_properties
|
280
|
+
end
|
281
|
+
|
282
|
+
# Check to see if the all the properties in the model are valid
|
283
|
+
# @return true if the model is valid
|
284
|
+
def valid?
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
allowed_values = ["__EMPTY__", "OFF_QUEUE", "IDLE", "INTERACTING", "NOT_RESPONDING", "COMMUNICATING", "OFFLINE"]
|
309
|
+
if @routing_status && !allowed_values.include?(@routing_status)
|
310
|
+
return false
|
311
|
+
end
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
allowed_values = ["InAdherence", "OutOfAdherence", "Unscheduled", "Unknown", "Ignored"]
|
326
|
+
if @adherence_state && !allowed_values.include?(@adherence_state)
|
327
|
+
return false
|
328
|
+
end
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
end
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
# Custom attribute writer method checking allowed values (enum).
|
386
|
+
# @param [Object] routing_status Object to be assigned
|
387
|
+
def routing_status=(routing_status)
|
388
|
+
allowed_values = ["__EMPTY__", "OFF_QUEUE", "IDLE", "INTERACTING", "NOT_RESPONDING", "COMMUNICATING", "OFFLINE"]
|
389
|
+
if routing_status && !allowed_values.include?(routing_status)
|
390
|
+
fail ArgumentError, "invalid value for 'routing_status', must be one of #{allowed_values}."
|
391
|
+
end
|
392
|
+
@routing_status = routing_status
|
393
|
+
end
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
# Custom attribute writer method checking allowed values (enum).
|
410
|
+
# @param [Object] adherence_state Object to be assigned
|
411
|
+
def adherence_state=(adherence_state)
|
412
|
+
allowed_values = ["InAdherence", "OutOfAdherence", "Unscheduled", "Unknown", "Ignored"]
|
413
|
+
if adherence_state && !allowed_values.include?(adherence_state)
|
414
|
+
fail ArgumentError, "invalid value for 'adherence_state', must be one of #{allowed_values}."
|
415
|
+
end
|
416
|
+
@adherence_state = adherence_state
|
417
|
+
end
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
# Checks equality by comparing each attribute.
|
453
|
+
# @param [Object] Object to be compared
|
454
|
+
def ==(o)
|
455
|
+
return true if self.equal?(o)
|
456
|
+
self.class == o.class &&
|
457
|
+
user == o.user &&
|
458
|
+
management_unit_id == o.management_unit_id &&
|
459
|
+
scheduled_activity_category == o.scheduled_activity_category &&
|
460
|
+
system_presence == o.system_presence &&
|
461
|
+
organization_secondary_presence_id == o.organization_secondary_presence_id &&
|
462
|
+
routing_status == o.routing_status &&
|
463
|
+
actual_activity_category == o.actual_activity_category &&
|
464
|
+
is_out_of_office == o.is_out_of_office &&
|
465
|
+
adherence_state == o.adherence_state &&
|
466
|
+
impact == o.impact &&
|
467
|
+
adherence_change_time == o.adherence_change_time &&
|
468
|
+
presence_update_time == o.presence_update_time &&
|
469
|
+
active_queues == o.active_queues &&
|
470
|
+
active_queues_modified_time == o.active_queues_modified_time &&
|
471
|
+
removed_from_management_unit == o.removed_from_management_unit
|
472
|
+
end
|
473
|
+
|
474
|
+
# @see the `==` method
|
475
|
+
# @param [Object] Object to be compared
|
476
|
+
def eql?(o)
|
477
|
+
self == o
|
478
|
+
end
|
479
|
+
|
480
|
+
# Calculates hash code according to all attributes.
|
481
|
+
# @return [Fixnum] Hash code
|
482
|
+
def hash
|
483
|
+
[user, management_unit_id, scheduled_activity_category, system_presence, organization_secondary_presence_id, routing_status, actual_activity_category, is_out_of_office, adherence_state, impact, adherence_change_time, presence_update_time, active_queues, active_queues_modified_time, removed_from_management_unit].hash
|
484
|
+
end
|
485
|
+
|
486
|
+
# build the object from hash
|
487
|
+
def build_from_hash(attributes)
|
488
|
+
return nil unless attributes.is_a?(Hash)
|
489
|
+
self.class.swagger_types.each_pair do |key, type|
|
490
|
+
if type =~ /^Array<(.*)>/i
|
491
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
492
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
493
|
+
else
|
494
|
+
#TODO show warning in debug mode
|
495
|
+
end
|
496
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
497
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
498
|
+
else
|
499
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
self
|
504
|
+
end
|
505
|
+
|
506
|
+
def _deserialize(type, value)
|
507
|
+
case type.to_sym
|
508
|
+
when :DateTime
|
509
|
+
DateTime.parse(value)
|
510
|
+
when :Date
|
511
|
+
Date.parse(value)
|
512
|
+
when :String
|
513
|
+
value.to_s
|
514
|
+
when :Integer
|
515
|
+
value.to_i
|
516
|
+
when :Float
|
517
|
+
value.to_f
|
518
|
+
when :BOOLEAN
|
519
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
520
|
+
true
|
521
|
+
else
|
522
|
+
false
|
523
|
+
end
|
524
|
+
when :Object
|
525
|
+
# generic object (usually a Hash), return directly
|
526
|
+
value
|
527
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
528
|
+
inner_type = Regexp.last_match[:inner_type]
|
529
|
+
value.map { |v| _deserialize(inner_type, v) }
|
530
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
531
|
+
k_type = Regexp.last_match[:k_type]
|
532
|
+
v_type = Regexp.last_match[:v_type]
|
533
|
+
{}.tap do |hash|
|
534
|
+
value.each do |k, v|
|
535
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
536
|
+
end
|
537
|
+
end
|
538
|
+
else # model
|
539
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
540
|
+
_model.build_from_hash(value)
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
def to_s
|
545
|
+
to_hash.to_s
|
546
|
+
end
|
547
|
+
|
548
|
+
# to_body is an alias to to_body (backward compatibility))
|
549
|
+
def to_body
|
550
|
+
to_hash
|
551
|
+
end
|
552
|
+
|
553
|
+
# return the object in the form of hash
|
554
|
+
def to_hash
|
555
|
+
hash = {}
|
556
|
+
self.class.attribute_map.each_pair do |attr, param|
|
557
|
+
value = self.send(attr)
|
558
|
+
next if value.nil?
|
559
|
+
hash[param] = _to_hash(value)
|
560
|
+
end
|
561
|
+
hash
|
562
|
+
end
|
563
|
+
|
564
|
+
# Method to output non-array value in the form of hash
|
565
|
+
# For object, use to_hash. Otherwise, just return the value
|
566
|
+
def _to_hash(value)
|
567
|
+
if value.is_a?(Array)
|
568
|
+
value.compact.map{ |v| _to_hash(v) }
|
569
|
+
elsif value.is_a?(Hash)
|
570
|
+
{}.tap do |hash|
|
571
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
572
|
+
end
|
573
|
+
elsif value.respond_to? :to_hash
|
574
|
+
value.to_hash
|
575
|
+
else
|
576
|
+
value
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
end
|
581
|
+
end
|