purecloudplatformclientv2 71.0.0 → 72.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/ActionEntityListing.md +3 -3
- data/docs/AgentActivityEntityListing.md +3 -3
- data/docs/AnalyticsApi.md +267 -0
- data/docs/AnalyticsUserDetailsAsyncQueryResponse.md +14 -0
- data/docs/AsyncConversationQuery.md +1 -1
- data/docs/AsyncUserDetailsQuery.md +18 -0
- data/docs/AttemptLimitsEntityListing.md +3 -3
- data/docs/AuditApi.md +216 -0
- data/docs/AuditLogMessage.md +24 -0
- data/docs/AuditQueryExecutionResultsResponse.md +16 -0
- data/docs/AuditQueryExecutionStatusResponse.md +18 -0
- data/docs/AuditQueryFilter.md +14 -0
- data/docs/AuditQueryRequest.md +15 -0
- data/docs/AuthzDivisionEntityListing.md +3 -3
- data/docs/CalibrationEntityListing.md +3 -3
- data/docs/CallConversationEntityListing.md +3 -3
- data/docs/CallHistoryConversationEntityListing.md +3 -3
- data/docs/CallableTimeSetEntityListing.md +3 -3
- data/docs/CallbackConversationEntityListing.md +3 -3
- data/docs/CampaignDivisionViewListing.md +3 -3
- data/docs/CampaignEntityListing.md +3 -3
- data/docs/CampaignRuleEntityListing.md +3 -3
- data/docs/CampaignSequenceEntityListing.md +3 -3
- data/docs/CertificateAuthorityEntityListing.md +3 -3
- data/docs/ChatConversationEntityListing.md +3 -3
- data/docs/ClientAppEntityListing.md +3 -3
- data/docs/CobrowseConversationEntityListing.md +3 -3
- data/docs/CommandStatusEntityListing.md +3 -3
- data/docs/ConsumedResourcesEntityListing.md +3 -3
- data/docs/ConsumingResourcesEntityListing.md +3 -3
- data/docs/ContactListDivisionViewListing.md +3 -3
- data/docs/ContactListEntityListing.md +3 -3
- data/docs/ContactListFilterEntityListing.md +3 -3
- data/docs/ContactListing.md +3 -3
- data/docs/ConversationAggregationQuery.md +1 -1
- data/docs/ConversationEntityListing.md +3 -3
- data/docs/ConversationQuery.md +1 -1
- data/docs/CredentialInfoListing.md +3 -3
- data/docs/CredentialTypeListing.md +3 -3
- data/docs/DIDEntityListing.md +3 -3
- data/docs/DIDPoolEntityListing.md +3 -3
- data/docs/DataTableRowEntityListing.md +3 -3
- data/docs/DataTablesDomainEntityListing.md +3 -3
- data/docs/DependencyObjectEntityListing.md +3 -3
- data/docs/DependencyTypeEntityListing.md +3 -3
- data/docs/DialerEventEntityListing.md +3 -3
- data/docs/DialogflowAgentSummaryEntityListing.md +3 -3
- data/docs/DirectoryUserDevicesListing.md +3 -3
- data/docs/DncListDivisionViewListing.md +3 -3
- data/docs/DncListEntityListing.md +3 -3
- data/docs/DocumentAuditEntityListing.md +3 -3
- data/docs/DocumentEntityListing.md +3 -3
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +3 -3
- data/docs/DomainEntityListing.md +3 -3
- data/docs/DomainEntityListingEvaluationForm.md +3 -3
- data/docs/DomainEntityListingQueryResult.md +3 -3
- data/docs/DomainEntityListingSurveyForm.md +3 -3
- data/docs/EdgeEntityListing.md +3 -3
- data/docs/EdgeGroupEntityListing.md +3 -3
- data/docs/EdgeLineEntityListing.md +3 -3
- data/docs/EmailConversationEntityListing.md +3 -3
- data/docs/EmailMessageListing.md +3 -3
- data/docs/EmergencyGroupListing.md +3 -3
- data/docs/EncryptionKeyEntityListing.md +3 -3
- data/docs/EvaluationAggregationQuery.md +1 -1
- data/docs/EvaluationEntityListing.md +3 -3
- data/docs/EvaluationFormEntityListing.md +3 -3
- data/docs/EvaluatorActivityEntityListing.md +3 -3
- data/docs/ExtensionEntityListing.md +3 -3
- data/docs/ExtensionPoolEntityListing.md +3 -3
- data/docs/ExternalOrganizationListing.md +3 -3
- data/docs/FacebookIntegrationEntityListing.md +3 -3
- data/docs/FaxDocumentEntityListing.md +3 -3
- data/docs/FlowAggregationQuery.md +1 -1
- data/docs/FlowDivisionViewEntityListing.md +3 -3
- data/docs/FlowEntityListing.md +3 -3
- data/docs/FlowOutcomeListing.md +3 -3
- data/docs/FlowVersionEntityListing.md +3 -3
- data/docs/GDPRRequestEntityListing.md +3 -3
- data/docs/GDPRSubjectEntityListing.md +3 -3
- data/docs/GreetingListing.md +3 -3
- data/docs/GroupEntityListing.md +3 -3
- data/docs/GroupProfileEntityListing.md +3 -3
- data/docs/IVREntityListing.md +3 -3
- data/docs/InboundDomainEntityListing.md +3 -3
- data/docs/InboundRouteEntityListing.md +3 -3
- data/docs/IntegrationEntityListing.md +3 -3
- data/docs/IntegrationEventEntityListing.md +3 -3
- data/docs/IntegrationTypeEntityListing.md +3 -3
- data/docs/InteractionStatsAlertContainer.md +3 -3
- data/docs/InteractionStatsRuleContainer.md +3 -3
- data/docs/KeywordSetEntityListing.md +3 -3
- data/docs/LanguageEntityListing.md +3 -3
- data/docs/LexBotAliasEntityListing.md +3 -3
- data/docs/LexBotEntityListing.md +3 -3
- data/docs/LibraryEntityListing.md +3 -3
- data/docs/LineBaseEntityListing.md +3 -3
- data/docs/LineEntityListing.md +3 -3
- data/docs/LineIntegrationEntityListing.md +3 -3
- data/docs/LocationEntityListing.md +3 -3
- data/docs/LogicalInterfaceEntityListing.md +3 -3
- data/docs/ManagementUnitListing.md +3 -3
- data/docs/MessageConversationEntityListing.md +3 -3
- data/docs/MessagingIntegrationEntityListing.md +3 -3
- data/docs/MessagingStickerEntityListing.md +3 -3
- data/docs/NoteListing.md +3 -3
- data/docs/OAuthApi.md +261 -0
- data/docs/OAuthAuthorization.md +20 -0
- data/docs/OAuthAuthorizationListing.md +14 -0
- data/docs/OAuthClientEntityListing.md +3 -3
- data/docs/OAuthProviderEntityListing.md +3 -3
- data/docs/OAuthScope.md +15 -0
- data/docs/OAuthScopeListing.md +14 -0
- data/docs/OrganizationPresenceEntityListing.md +3 -3
- data/docs/OrganizationRoleEntityListing.md +3 -3
- data/docs/OrphanRecordingListing.md +3 -3
- data/docs/OutboundRouteBaseEntityListing.md +3 -3
- data/docs/OutboundRouteEntityListing.md +3 -3
- data/docs/PermissionCollectionEntityListing.md +3 -3
- data/docs/PhoneBaseEntityListing.md +3 -3
- data/docs/PhoneEntityListing.md +3 -3
- data/docs/PhoneMetaBaseEntityListing.md +3 -3
- data/docs/PhysicalInterfaceEntityListing.md +3 -3
- data/docs/PolicyEntityListing.md +3 -3
- data/docs/PromptAssetEntityListing.md +3 -3
- data/docs/PromptEntityListing.md +3 -3
- data/docs/PropertyChange.md +15 -0
- data/docs/QualityAuditPage.md +3 -3
- data/docs/QueueEntityListing.md +3 -3
- data/docs/QueueMemberEntityListing.md +3 -3
- data/docs/QueueUserEventTopicQueueMember.md +4 -4
- data/docs/RecipientListing.md +3 -3
- data/docs/RecordingApi.md +0 -134
- data/docs/RecordingJobEntityListing.md +3 -3
- data/docs/RelationshipListing.md +3 -3
- data/docs/ReportMetaDataEntityListing.md +3 -3
- data/docs/ReportRunEntryEntityDomainListing.md +3 -3
- data/docs/ReportSchedule.md +1 -1
- data/docs/ReportScheduleEntityListing.md +3 -3
- data/docs/ReportingExportJobListing.md +3 -3
- data/docs/ReportingExportJobRequest.md +3 -3
- data/docs/ReportingExportJobResponse.md +3 -3
- data/docs/ResponseEntityList.md +3 -3
- data/docs/ResponseEntityListing.md +3 -3
- data/docs/ResponseSetEntityListing.md +3 -3
- data/docs/RuleSetEntityListing.md +3 -3
- data/docs/Schedule.md +2 -2
- data/docs/ScheduleEntityListing.md +3 -3
- data/docs/ScheduleGroupEntityListing.md +3 -3
- data/docs/SchemaCategoryEntityListing.md +3 -3
- data/docs/SchemaReferenceEntityListing.md +3 -3
- data/docs/ScreenRecordingSessionListing.md +3 -3
- data/docs/ScriptEntityListing.md +3 -3
- data/docs/SecurityProfileEntityListing.md +3 -3
- data/docs/SendAgentlessOutboundMessageRequest.md +1 -1
- data/docs/ShareEntityListing.md +3 -3
- data/docs/SiteEntityListing.md +3 -3
- data/docs/SkillEntityListing.md +3 -3
- data/docs/SmsAddressEntityListing.md +3 -3
- data/docs/SmsPhoneNumberEntityListing.md +3 -3
- data/docs/StationEntityListing.md +3 -3
- data/docs/SubjectDivisionGrantsEntityListing.md +3 -3
- data/docs/SurveyAggregationQuery.md +1 -1
- data/docs/SurveyFormEntityListing.md +3 -3
- data/docs/SystemPromptAssetEntityListing.md +3 -3
- data/docs/SystemPromptEntityListing.md +3 -3
- data/docs/TagValueEntityListing.md +3 -3
- data/docs/TextMessageListing.md +3 -3
- data/docs/TimeZoneEntityListing.md +3 -3
- data/docs/TrunkBaseEntityListing.md +3 -3
- data/docs/TrunkEntityListing.md +3 -3
- data/docs/TrunkMetabaseEntityListing.md +3 -3
- data/docs/TrustEntityListing.md +3 -3
- data/docs/TrustUserEntityListing.md +3 -3
- data/docs/TrustorEntityListing.md +3 -3
- data/docs/TtsEngineEntityListing.md +3 -3
- data/docs/TtsVoiceEntityListing.md +3 -3
- data/docs/TwitterIntegrationEntityListing.md +3 -3
- data/docs/UserActionCategoryEntityListing.md +3 -3
- data/docs/UserAggregationQuery.md +1 -1
- data/docs/UserDetailsQuery.md +1 -1
- data/docs/UserEntityListing.md +3 -3
- data/docs/UserLanguageEntityListing.md +3 -3
- data/docs/UserProfileEntityListing.md +3 -3
- data/docs/UserQueueEntityListing.md +3 -3
- data/docs/UserRecordingEntityListing.md +3 -3
- data/docs/UserSkillEntityListing.md +3 -3
- data/docs/UsersApi.md +267 -0
- data/docs/Utilization.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +3 -3
- data/docs/WebChatMemberInfoEntityList.md +3 -3
- data/docs/WfmBuScheduleQueryResultTopicBuScheduleSearchResultNotification.md +15 -0
- data/docs/WfmBuScheduleRunTopicBuScheduleReference.md +14 -0
- data/docs/WfmBuScheduleRunTopicBuScheduleRun.md +18 -0
- data/docs/WfmBuScheduleRunTopicBuSchedulingRunProgressNotification.md +17 -0
- data/docs/WfmBuScheduleRunTopicLocalDate.md +16 -0
- data/docs/{TimeZone.md → WfmBuScheduleRunTopicUserReference.md} +2 -5
- data/docs/WfmBuScheduleSearchResultTopicBuScheduleSearchResultNotification.md +15 -0
- data/docs/WfmBuScheduleTopicBuManagementUnitScheduleSummary.md +17 -0
- data/docs/WfmBuScheduleTopicBuScheduleGenerationResultSummary.md +15 -0
- data/docs/WfmBuScheduleTopicBuScheduleMetadata.md +21 -0
- data/docs/WfmBuScheduleTopicBuScheduleNotification.md +16 -0
- data/docs/WfmBuScheduleTopicBuShortTermForecastReference.md +15 -0
- data/docs/WfmBuScheduleTopicLocalDate.md +16 -0
- data/docs/{QueueUserEventTopicUserReference.md → WfmBuScheduleTopicManagementUnit.md} +2 -2
- data/docs/WfmBuScheduleTopicUserReference.md +13 -0
- data/docs/WfmBuScheduleTopicWfmVersionedEntityMetadata.md +15 -0
- data/docs/WhatsAppIntegrationEntityListing.md +3 -3
- data/docs/WorkspaceEntityListing.md +3 -3
- data/docs/WorkspaceMemberEntityListing.md +3 -3
- data/docs/WrapupCodeEntityListing.md +3 -3
- data/lib/purecloudplatformclientv2.rb +29 -3
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +268 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +240 -0
- data/lib/purecloudplatformclientv2/api/o_auth_api.rb +258 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +0 -136
- data/lib/purecloudplatformclientv2/api/users_api.rb +268 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/analytics_user_details_async_query_response.rb +229 -0
- data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/async_query_status.rb +2 -2
- data/lib/purecloudplatformclientv2/models/async_user_details_query.rb +357 -0
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +536 -0
- data/lib/purecloudplatformclientv2/models/{time_zone.rb → audit_query_execution_results_response.rb} +31 -25
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +362 -0
- data/lib/purecloudplatformclientv2/models/audit_query_filter.rb +252 -0
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +280 -0
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +24 -24
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +24 -24
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/note_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_authorization.rb +381 -0
- data/lib/purecloudplatformclientv2/models/o_auth_authorization_listing.rb +228 -0
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_scope.rb +253 -0
- data/lib/purecloudplatformclientv2/models/o_auth_scope_listing.rb +228 -0
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/property_change.rb +258 -0
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue_user_event_topic_queue_member.rb +31 -31
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_schedule.rb +5 -0
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +12 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +12 -2
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +24 -24
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schedule.rb +10 -0
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/user_details_query.rb +5 -0
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/utilization.rb +1 -1
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +24 -24
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_query_result_topic_bu_schedule_search_result_notification.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_schedule_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_schedule_run.rb +326 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_scheduling_run_progress_notification.rb +315 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_local_date.rb +276 -0
- data/lib/purecloudplatformclientv2/models/{conversation_deletion_protection_query.rb → wfm_bu_schedule_run_topic_user_reference.rb} +8 -16
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_search_result_topic_bu_schedule_search_result_notification.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_management_unit_schedule_summary.rb +303 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_schedule_generation_result_summary.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_schedule_metadata.rb +403 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_schedule_notification.rb +304 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_bu_short_term_forecast_reference.rb +251 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_local_date.rb +276 -0
- data/lib/purecloudplatformclientv2/models/{queue_user_event_topic_user_reference.rb → wfm_bu_schedule_topic_management_unit.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_topic_wfm_versioned_entity_metadata.rb +251 -0
- data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +60 -8
- data/docs/ConversationDeletionProtectionQuery.md +0 -13
@@ -0,0 +1,403 @@
|
|
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 WfmBuScheduleTopicBuScheduleMetadata
|
21
|
+
attr_accessor :id
|
22
|
+
|
23
|
+
attr_accessor :week_date
|
24
|
+
|
25
|
+
attr_accessor :week_count
|
26
|
+
|
27
|
+
attr_accessor :description
|
28
|
+
|
29
|
+
attr_accessor :published
|
30
|
+
|
31
|
+
attr_accessor :short_term_forecast
|
32
|
+
|
33
|
+
attr_accessor :management_units
|
34
|
+
|
35
|
+
attr_accessor :generation_results
|
36
|
+
|
37
|
+
attr_accessor :metadata
|
38
|
+
|
39
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
40
|
+
def self.attribute_map
|
41
|
+
{
|
42
|
+
|
43
|
+
:'id' => :'id',
|
44
|
+
|
45
|
+
:'week_date' => :'weekDate',
|
46
|
+
|
47
|
+
:'week_count' => :'weekCount',
|
48
|
+
|
49
|
+
:'description' => :'description',
|
50
|
+
|
51
|
+
:'published' => :'published',
|
52
|
+
|
53
|
+
:'short_term_forecast' => :'shortTermForecast',
|
54
|
+
|
55
|
+
:'management_units' => :'managementUnits',
|
56
|
+
|
57
|
+
:'generation_results' => :'generationResults',
|
58
|
+
|
59
|
+
:'metadata' => :'metadata'
|
60
|
+
|
61
|
+
}
|
62
|
+
end
|
63
|
+
|
64
|
+
# Attribute type mapping.
|
65
|
+
def self.swagger_types
|
66
|
+
{
|
67
|
+
|
68
|
+
:'id' => :'String',
|
69
|
+
|
70
|
+
:'week_date' => :'WfmBuScheduleTopicLocalDate',
|
71
|
+
|
72
|
+
:'week_count' => :'Integer',
|
73
|
+
|
74
|
+
:'description' => :'String',
|
75
|
+
|
76
|
+
:'published' => :'BOOLEAN',
|
77
|
+
|
78
|
+
:'short_term_forecast' => :'WfmBuScheduleTopicBuShortTermForecastReference',
|
79
|
+
|
80
|
+
:'management_units' => :'Array<WfmBuScheduleTopicBuManagementUnitScheduleSummary>',
|
81
|
+
|
82
|
+
:'generation_results' => :'WfmBuScheduleTopicBuScheduleGenerationResultSummary',
|
83
|
+
|
84
|
+
:'metadata' => :'WfmBuScheduleTopicWfmVersionedEntityMetadata'
|
85
|
+
|
86
|
+
}
|
87
|
+
end
|
88
|
+
|
89
|
+
# Initializes the object
|
90
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
+
def initialize(attributes = {})
|
92
|
+
return unless attributes.is_a?(Hash)
|
93
|
+
|
94
|
+
# convert string to symbol for hash key
|
95
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
96
|
+
|
97
|
+
|
98
|
+
if attributes.has_key?(:'id')
|
99
|
+
|
100
|
+
|
101
|
+
self.id = attributes[:'id']
|
102
|
+
|
103
|
+
|
104
|
+
end
|
105
|
+
|
106
|
+
|
107
|
+
if attributes.has_key?(:'weekDate')
|
108
|
+
|
109
|
+
|
110
|
+
self.week_date = attributes[:'weekDate']
|
111
|
+
|
112
|
+
|
113
|
+
end
|
114
|
+
|
115
|
+
|
116
|
+
if attributes.has_key?(:'weekCount')
|
117
|
+
|
118
|
+
|
119
|
+
self.week_count = attributes[:'weekCount']
|
120
|
+
|
121
|
+
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
if attributes.has_key?(:'description')
|
126
|
+
|
127
|
+
|
128
|
+
self.description = attributes[:'description']
|
129
|
+
|
130
|
+
|
131
|
+
end
|
132
|
+
|
133
|
+
|
134
|
+
if attributes.has_key?(:'published')
|
135
|
+
|
136
|
+
|
137
|
+
self.published = attributes[:'published']
|
138
|
+
|
139
|
+
|
140
|
+
end
|
141
|
+
|
142
|
+
|
143
|
+
if attributes.has_key?(:'shortTermForecast')
|
144
|
+
|
145
|
+
|
146
|
+
self.short_term_forecast = attributes[:'shortTermForecast']
|
147
|
+
|
148
|
+
|
149
|
+
end
|
150
|
+
|
151
|
+
|
152
|
+
if attributes.has_key?(:'managementUnits')
|
153
|
+
|
154
|
+
if (value = attributes[:'managementUnits']).is_a?(Array)
|
155
|
+
self.management_units = value
|
156
|
+
end
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
end
|
161
|
+
|
162
|
+
|
163
|
+
if attributes.has_key?(:'generationResults')
|
164
|
+
|
165
|
+
|
166
|
+
self.generation_results = attributes[:'generationResults']
|
167
|
+
|
168
|
+
|
169
|
+
end
|
170
|
+
|
171
|
+
|
172
|
+
if attributes.has_key?(:'metadata')
|
173
|
+
|
174
|
+
|
175
|
+
self.metadata = attributes[:'metadata']
|
176
|
+
|
177
|
+
|
178
|
+
end
|
179
|
+
|
180
|
+
|
181
|
+
end
|
182
|
+
|
183
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
184
|
+
# @return Array for valid properies with the reasons
|
185
|
+
def list_invalid_properties
|
186
|
+
invalid_properties = Array.new
|
187
|
+
|
188
|
+
|
189
|
+
return invalid_properties
|
190
|
+
end
|
191
|
+
|
192
|
+
# Check to see if the all the properties in the model are valid
|
193
|
+
# @return true if the model is valid
|
194
|
+
def valid?
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
end
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
# Checks equality by comparing each attribute.
|
281
|
+
# @param [Object] Object to be compared
|
282
|
+
def ==(o)
|
283
|
+
return true if self.equal?(o)
|
284
|
+
self.class == o.class &&
|
285
|
+
id == o.id &&
|
286
|
+
week_date == o.week_date &&
|
287
|
+
week_count == o.week_count &&
|
288
|
+
description == o.description &&
|
289
|
+
published == o.published &&
|
290
|
+
short_term_forecast == o.short_term_forecast &&
|
291
|
+
management_units == o.management_units &&
|
292
|
+
generation_results == o.generation_results &&
|
293
|
+
metadata == o.metadata
|
294
|
+
end
|
295
|
+
|
296
|
+
# @see the `==` method
|
297
|
+
# @param [Object] Object to be compared
|
298
|
+
def eql?(o)
|
299
|
+
self == o
|
300
|
+
end
|
301
|
+
|
302
|
+
# Calculates hash code according to all attributes.
|
303
|
+
# @return [Fixnum] Hash code
|
304
|
+
def hash
|
305
|
+
[id, week_date, week_count, description, published, short_term_forecast, management_units, generation_results, metadata].hash
|
306
|
+
end
|
307
|
+
|
308
|
+
# build the object from hash
|
309
|
+
def build_from_hash(attributes)
|
310
|
+
return nil unless attributes.is_a?(Hash)
|
311
|
+
self.class.swagger_types.each_pair do |key, type|
|
312
|
+
if type =~ /^Array<(.*)>/i
|
313
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
314
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
315
|
+
else
|
316
|
+
#TODO show warning in debug mode
|
317
|
+
end
|
318
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
319
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
320
|
+
else
|
321
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
self
|
326
|
+
end
|
327
|
+
|
328
|
+
def _deserialize(type, value)
|
329
|
+
case type.to_sym
|
330
|
+
when :DateTime
|
331
|
+
DateTime.parse(value)
|
332
|
+
when :Date
|
333
|
+
Date.parse(value)
|
334
|
+
when :String
|
335
|
+
value.to_s
|
336
|
+
when :Integer
|
337
|
+
value.to_i
|
338
|
+
when :Float
|
339
|
+
value.to_f
|
340
|
+
when :BOOLEAN
|
341
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
342
|
+
true
|
343
|
+
else
|
344
|
+
false
|
345
|
+
end
|
346
|
+
when :Object
|
347
|
+
# generic object (usually a Hash), return directly
|
348
|
+
value
|
349
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
350
|
+
inner_type = Regexp.last_match[:inner_type]
|
351
|
+
value.map { |v| _deserialize(inner_type, v) }
|
352
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
353
|
+
k_type = Regexp.last_match[:k_type]
|
354
|
+
v_type = Regexp.last_match[:v_type]
|
355
|
+
{}.tap do |hash|
|
356
|
+
value.each do |k, v|
|
357
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
else # model
|
361
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
362
|
+
_model.build_from_hash(value)
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
def to_s
|
367
|
+
to_hash.to_s
|
368
|
+
end
|
369
|
+
|
370
|
+
# to_body is an alias to to_body (backward compatibility))
|
371
|
+
def to_body
|
372
|
+
to_hash
|
373
|
+
end
|
374
|
+
|
375
|
+
# return the object in the form of hash
|
376
|
+
def to_hash
|
377
|
+
hash = {}
|
378
|
+
self.class.attribute_map.each_pair do |attr, param|
|
379
|
+
value = self.send(attr)
|
380
|
+
next if value.nil?
|
381
|
+
hash[param] = _to_hash(value)
|
382
|
+
end
|
383
|
+
hash
|
384
|
+
end
|
385
|
+
|
386
|
+
# Method to output non-array value in the form of hash
|
387
|
+
# For object, use to_hash. Otherwise, just return the value
|
388
|
+
def _to_hash(value)
|
389
|
+
if value.is_a?(Array)
|
390
|
+
value.compact.map{ |v| _to_hash(v) }
|
391
|
+
elsif value.is_a?(Hash)
|
392
|
+
{}.tap do |hash|
|
393
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
394
|
+
end
|
395
|
+
elsif value.respond_to? :to_hash
|
396
|
+
value.to_hash
|
397
|
+
else
|
398
|
+
value
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
end
|
403
|
+
end
|
@@ -0,0 +1,304 @@
|
|
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 WfmBuScheduleTopicBuScheduleNotification
|
21
|
+
attr_accessor :status
|
22
|
+
|
23
|
+
attr_accessor :operation_id
|
24
|
+
|
25
|
+
attr_accessor :event_type
|
26
|
+
|
27
|
+
attr_accessor :result
|
28
|
+
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
30
|
+
def self.attribute_map
|
31
|
+
{
|
32
|
+
|
33
|
+
:'status' => :'status',
|
34
|
+
|
35
|
+
:'operation_id' => :'operationId',
|
36
|
+
|
37
|
+
:'event_type' => :'eventType',
|
38
|
+
|
39
|
+
:'result' => :'result'
|
40
|
+
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Attribute type mapping.
|
45
|
+
def self.swagger_types
|
46
|
+
{
|
47
|
+
|
48
|
+
:'status' => :'String',
|
49
|
+
|
50
|
+
:'operation_id' => :'String',
|
51
|
+
|
52
|
+
:'event_type' => :'String',
|
53
|
+
|
54
|
+
:'result' => :'WfmBuScheduleTopicBuScheduleMetadata'
|
55
|
+
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
59
|
+
# Initializes the object
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
61
|
+
def initialize(attributes = {})
|
62
|
+
return unless attributes.is_a?(Hash)
|
63
|
+
|
64
|
+
# convert string to symbol for hash key
|
65
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
66
|
+
|
67
|
+
|
68
|
+
if attributes.has_key?(:'status')
|
69
|
+
|
70
|
+
|
71
|
+
self.status = attributes[:'status']
|
72
|
+
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
|
77
|
+
if attributes.has_key?(:'operationId')
|
78
|
+
|
79
|
+
|
80
|
+
self.operation_id = attributes[:'operationId']
|
81
|
+
|
82
|
+
|
83
|
+
end
|
84
|
+
|
85
|
+
|
86
|
+
if attributes.has_key?(:'eventType')
|
87
|
+
|
88
|
+
|
89
|
+
self.event_type = attributes[:'eventType']
|
90
|
+
|
91
|
+
|
92
|
+
end
|
93
|
+
|
94
|
+
|
95
|
+
if attributes.has_key?(:'result')
|
96
|
+
|
97
|
+
|
98
|
+
self.result = attributes[:'result']
|
99
|
+
|
100
|
+
|
101
|
+
end
|
102
|
+
|
103
|
+
|
104
|
+
end
|
105
|
+
|
106
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
107
|
+
# @return Array for valid properies with the reasons
|
108
|
+
def list_invalid_properties
|
109
|
+
invalid_properties = Array.new
|
110
|
+
|
111
|
+
|
112
|
+
return invalid_properties
|
113
|
+
end
|
114
|
+
|
115
|
+
# Check to see if the all the properties in the model are valid
|
116
|
+
# @return true if the model is valid
|
117
|
+
def valid?
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
allowed_values = ["Processing", "Complete", "Canceled", "Error"]
|
122
|
+
if @status && !allowed_values.include?(@status)
|
123
|
+
return false
|
124
|
+
end
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
allowed_values = ["Update", "Import", "Copy", "Delete"]
|
135
|
+
if @event_type && !allowed_values.include?(@event_type)
|
136
|
+
return false
|
137
|
+
end
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
end
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
# Custom attribute writer method checking allowed values (enum).
|
150
|
+
# @param [Object] status Object to be assigned
|
151
|
+
def status=(status)
|
152
|
+
allowed_values = ["Processing", "Complete", "Canceled", "Error"]
|
153
|
+
if status && !allowed_values.include?(status)
|
154
|
+
fail ArgumentError, "invalid value for 'status', must be one of #{allowed_values}."
|
155
|
+
end
|
156
|
+
@status = status
|
157
|
+
end
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
# Custom attribute writer method checking allowed values (enum).
|
169
|
+
# @param [Object] event_type Object to be assigned
|
170
|
+
def event_type=(event_type)
|
171
|
+
allowed_values = ["Update", "Import", "Copy", "Delete"]
|
172
|
+
if event_type && !allowed_values.include?(event_type)
|
173
|
+
fail ArgumentError, "invalid value for 'event_type', must be one of #{allowed_values}."
|
174
|
+
end
|
175
|
+
@event_type = event_type
|
176
|
+
end
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
# Checks equality by comparing each attribute.
|
187
|
+
# @param [Object] Object to be compared
|
188
|
+
def ==(o)
|
189
|
+
return true if self.equal?(o)
|
190
|
+
self.class == o.class &&
|
191
|
+
status == o.status &&
|
192
|
+
operation_id == o.operation_id &&
|
193
|
+
event_type == o.event_type &&
|
194
|
+
result == o.result
|
195
|
+
end
|
196
|
+
|
197
|
+
# @see the `==` method
|
198
|
+
# @param [Object] Object to be compared
|
199
|
+
def eql?(o)
|
200
|
+
self == o
|
201
|
+
end
|
202
|
+
|
203
|
+
# Calculates hash code according to all attributes.
|
204
|
+
# @return [Fixnum] Hash code
|
205
|
+
def hash
|
206
|
+
[status, operation_id, event_type, result].hash
|
207
|
+
end
|
208
|
+
|
209
|
+
# build the object from hash
|
210
|
+
def build_from_hash(attributes)
|
211
|
+
return nil unless attributes.is_a?(Hash)
|
212
|
+
self.class.swagger_types.each_pair do |key, type|
|
213
|
+
if type =~ /^Array<(.*)>/i
|
214
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
215
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
216
|
+
else
|
217
|
+
#TODO show warning in debug mode
|
218
|
+
end
|
219
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
220
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
221
|
+
else
|
222
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
self
|
227
|
+
end
|
228
|
+
|
229
|
+
def _deserialize(type, value)
|
230
|
+
case type.to_sym
|
231
|
+
when :DateTime
|
232
|
+
DateTime.parse(value)
|
233
|
+
when :Date
|
234
|
+
Date.parse(value)
|
235
|
+
when :String
|
236
|
+
value.to_s
|
237
|
+
when :Integer
|
238
|
+
value.to_i
|
239
|
+
when :Float
|
240
|
+
value.to_f
|
241
|
+
when :BOOLEAN
|
242
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
243
|
+
true
|
244
|
+
else
|
245
|
+
false
|
246
|
+
end
|
247
|
+
when :Object
|
248
|
+
# generic object (usually a Hash), return directly
|
249
|
+
value
|
250
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
251
|
+
inner_type = Regexp.last_match[:inner_type]
|
252
|
+
value.map { |v| _deserialize(inner_type, v) }
|
253
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
254
|
+
k_type = Regexp.last_match[:k_type]
|
255
|
+
v_type = Regexp.last_match[:v_type]
|
256
|
+
{}.tap do |hash|
|
257
|
+
value.each do |k, v|
|
258
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
259
|
+
end
|
260
|
+
end
|
261
|
+
else # model
|
262
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
263
|
+
_model.build_from_hash(value)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
def to_s
|
268
|
+
to_hash.to_s
|
269
|
+
end
|
270
|
+
|
271
|
+
# to_body is an alias to to_body (backward compatibility))
|
272
|
+
def to_body
|
273
|
+
to_hash
|
274
|
+
end
|
275
|
+
|
276
|
+
# return the object in the form of hash
|
277
|
+
def to_hash
|
278
|
+
hash = {}
|
279
|
+
self.class.attribute_map.each_pair do |attr, param|
|
280
|
+
value = self.send(attr)
|
281
|
+
next if value.nil?
|
282
|
+
hash[param] = _to_hash(value)
|
283
|
+
end
|
284
|
+
hash
|
285
|
+
end
|
286
|
+
|
287
|
+
# Method to output non-array value in the form of hash
|
288
|
+
# For object, use to_hash. Otherwise, just return the value
|
289
|
+
def _to_hash(value)
|
290
|
+
if value.is_a?(Array)
|
291
|
+
value.compact.map{ |v| _to_hash(v) }
|
292
|
+
elsif value.is_a?(Hash)
|
293
|
+
{}.tap do |hash|
|
294
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
295
|
+
end
|
296
|
+
elsif value.respond_to? :to_hash
|
297
|
+
value.to_hash
|
298
|
+
else
|
299
|
+
value
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
end
|
304
|
+
end
|