purecloudplatformclientv2 63.0.0 → 64.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ADFS.md +1 -1
- data/docs/ActionEntityListing.md +1 -1
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AsyncConversationQuery.md +1 -1
- data/docs/AttemptLimitsEntityListing.md +1 -1
- 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/ConversationQuery.md +1 -1
- data/docs/ConversationsApi.md +2 -2
- 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/DependencyStatus.md +2 -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 +2 -1
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowOutcomeListing.md +1 -1
- data/docs/FlowVersion.md +1 -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/HistoryEntry.md +2 -1
- data/docs/HistoryListing.md +1 -0
- 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/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/Location.md +4 -4
- data/docs/{LocationUpdateDefinition.md → LocationCreateUpdateDefinition.md} +7 -6
- data/docs/LocationDefinition.md +1 -0
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LocationsApi.md +4 -4
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessageInfo.md +4 -4
- 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/OAuthProviderEntityListing.md +1 -1
- data/docs/Okta.md +1 -1
- data/docs/OneLogin.md +1 -1
- data/docs/Operation.md +1 -0
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- 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/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/PureEngage.md +1 -1
- 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/Recording.md +4 -4
- data/docs/RecordingApi.md +2 -2
- data/docs/RecordingJobEntityListing.md +1 -1
- data/docs/RecordingMetadata.md +29 -0
- 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/ReportingExportJobRequest.md +1 -0
- data/docs/ReportingExportJobResponse.md +1 -0
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- 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/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/SurveyFormEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TelephonyProvidersEdgeApi.md +6 -6
- 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/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/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WebChatMemberInfoEntityList.md +1 -1
- data/docs/WhatsAppIntegrationEntityListing.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 +2 -1
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/recording_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +4 -4
- 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/async_conversation_query.rb +1 -1
- 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_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +1 -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_status.rb +28 -1
- 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 +28 -1
- 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 +26 -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/history_entry.rb +28 -1
- data/lib/purecloudplatformclientv2/models/history_listing.rb +26 -1
- 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/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.rb +4 -0
- data/lib/purecloudplatformclientv2/models/{location_update_definition.rb → location_create_update_definition.rb} +56 -25
- data/lib/purecloudplatformclientv2/models/location_definition.rb +27 -1
- 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/message_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/message_info.rb +4 -0
- 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_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/operation.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_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_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.rb +4 -2
- data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/recording_metadata.rb +644 -0
- 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/reporting_export_job_request.rb +30 -4
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +27 -1
- 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/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.rb +2 -2
- 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_message_system_message.rb +4 -4
- 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_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_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_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_skill_entity_listing.rb +12 -12
- 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/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 +6 -4
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :next_uri
|
|
34
34
|
|
|
35
|
-
attr_accessor :last_uri
|
|
36
|
-
|
|
37
35
|
attr_accessor :previous_uri
|
|
38
36
|
|
|
37
|
+
attr_accessor :last_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -56,10 +56,10 @@ module PureCloud
|
|
|
56
56
|
|
|
57
57
|
:'next_uri' => :'nextUri',
|
|
58
58
|
|
|
59
|
-
:'last_uri' => :'lastUri',
|
|
60
|
-
|
|
61
59
|
:'previous_uri' => :'previousUri',
|
|
62
60
|
|
|
61
|
+
:'last_uri' => :'lastUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -83,10 +83,10 @@ module PureCloud
|
|
|
83
83
|
|
|
84
84
|
:'next_uri' => :'String',
|
|
85
85
|
|
|
86
|
-
:'last_uri' => :'String',
|
|
87
|
-
|
|
88
86
|
:'previous_uri' => :'String',
|
|
89
87
|
|
|
88
|
+
:'last_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -166,19 +166,19 @@ module PureCloud
|
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
if attributes.has_key?(:'
|
|
169
|
+
if attributes.has_key?(:'previousUri')
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
self.
|
|
172
|
+
self.previous_uri = attributes[:'previousUri']
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
if attributes.has_key?(:'
|
|
178
|
+
if attributes.has_key?(:'lastUri')
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
self.
|
|
181
|
+
self.last_uri = attributes[:'lastUri']
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
end
|
|
@@ -313,8 +313,8 @@ module PureCloud
|
|
|
313
313
|
first_uri == o.first_uri &&
|
|
314
314
|
self_uri == o.self_uri &&
|
|
315
315
|
next_uri == o.next_uri &&
|
|
316
|
-
last_uri == o.last_uri &&
|
|
317
316
|
previous_uri == o.previous_uri &&
|
|
317
|
+
last_uri == o.last_uri &&
|
|
318
318
|
page_count == o.page_count
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
|
327
327
|
# Calculates hash code according to all attributes.
|
|
328
328
|
# @return [Fixnum] Hash code
|
|
329
329
|
def hash
|
|
330
|
-
[entities, page_size, page_number, total, first_uri, self_uri, next_uri,
|
|
330
|
+
[entities, page_size, page_number, total, first_uri, self_uri, next_uri, previous_uri, last_uri, page_count].hash
|
|
331
331
|
end
|
|
332
332
|
|
|
333
333
|
# build the object from hash
|
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :next_uri
|
|
34
34
|
|
|
35
|
-
attr_accessor :last_uri
|
|
36
|
-
|
|
37
35
|
attr_accessor :previous_uri
|
|
38
36
|
|
|
37
|
+
attr_accessor :last_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -56,10 +56,10 @@ module PureCloud
|
|
|
56
56
|
|
|
57
57
|
:'next_uri' => :'nextUri',
|
|
58
58
|
|
|
59
|
-
:'last_uri' => :'lastUri',
|
|
60
|
-
|
|
61
59
|
:'previous_uri' => :'previousUri',
|
|
62
60
|
|
|
61
|
+
:'last_uri' => :'lastUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -83,10 +83,10 @@ module PureCloud
|
|
|
83
83
|
|
|
84
84
|
:'next_uri' => :'String',
|
|
85
85
|
|
|
86
|
-
:'last_uri' => :'String',
|
|
87
|
-
|
|
88
86
|
:'previous_uri' => :'String',
|
|
89
87
|
|
|
88
|
+
:'last_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -166,19 +166,19 @@ module PureCloud
|
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
if attributes.has_key?(:'
|
|
169
|
+
if attributes.has_key?(:'previousUri')
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
self.
|
|
172
|
+
self.previous_uri = attributes[:'previousUri']
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
if attributes.has_key?(:'
|
|
178
|
+
if attributes.has_key?(:'lastUri')
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
self.
|
|
181
|
+
self.last_uri = attributes[:'lastUri']
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
end
|
|
@@ -313,8 +313,8 @@ module PureCloud
|
|
|
313
313
|
first_uri == o.first_uri &&
|
|
314
314
|
self_uri == o.self_uri &&
|
|
315
315
|
next_uri == o.next_uri &&
|
|
316
|
-
last_uri == o.last_uri &&
|
|
317
316
|
previous_uri == o.previous_uri &&
|
|
317
|
+
last_uri == o.last_uri &&
|
|
318
318
|
page_count == o.page_count
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
|
327
327
|
# Calculates hash code according to all attributes.
|
|
328
328
|
# @return [Fixnum] Hash code
|
|
329
329
|
def hash
|
|
330
|
-
[entities, page_size, page_number, total, first_uri, self_uri, next_uri,
|
|
330
|
+
[entities, page_size, page_number, total, first_uri, self_uri, next_uri, previous_uri, last_uri, page_count].hash
|
|
331
331
|
end
|
|
332
332
|
|
|
333
333
|
# build the object from hash
|
|
@@ -27,8 +27,10 @@ module PureCloud
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :path
|
|
29
29
|
|
|
30
|
+
# The start time of the recording. Null when there is no playable media.
|
|
30
31
|
attr_accessor :start_time
|
|
31
32
|
|
|
33
|
+
# The end time of the recording. Null when there is no playable media.
|
|
32
34
|
attr_accessor :end_time
|
|
33
35
|
|
|
34
36
|
# The type of media that the recording is. At the moment that could be audio, chat, or email.
|
|
@@ -52,7 +54,7 @@ module PureCloud
|
|
|
52
54
|
# The amount of time a restored recording will remain restored before being archived again. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
53
55
|
attr_accessor :restore_expiration_time
|
|
54
56
|
|
|
55
|
-
# The different mediaUris for the recording.
|
|
57
|
+
# The different mediaUris for the recording. Null when there is no playable media.
|
|
56
58
|
attr_accessor :media_uris
|
|
57
59
|
|
|
58
60
|
attr_accessor :estimated_transcode_time_ms
|
|
@@ -71,7 +73,7 @@ module PureCloud
|
|
|
71
73
|
# Duration of transcoded media in milliseconds
|
|
72
74
|
attr_accessor :output_duration_ms
|
|
73
75
|
|
|
74
|
-
# Size of transcoded media in bytes
|
|
76
|
+
# Size of transcoded media in bytes. 0 if there is no transcoded media.
|
|
75
77
|
attr_accessor :output_size_in_bytes
|
|
76
78
|
|
|
77
79
|
# How many archive restorations the organization is allowed to have.
|
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
|
32
32
|
|
|
33
33
|
attr_accessor :next_uri
|
|
34
34
|
|
|
35
|
-
attr_accessor :last_uri
|
|
36
|
-
|
|
37
35
|
attr_accessor :previous_uri
|
|
38
36
|
|
|
37
|
+
attr_accessor :last_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -56,10 +56,10 @@ module PureCloud
|
|
|
56
56
|
|
|
57
57
|
:'next_uri' => :'nextUri',
|
|
58
58
|
|
|
59
|
-
:'last_uri' => :'lastUri',
|
|
60
|
-
|
|
61
59
|
:'previous_uri' => :'previousUri',
|
|
62
60
|
|
|
61
|
+
:'last_uri' => :'lastUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -83,10 +83,10 @@ module PureCloud
|
|
|
83
83
|
|
|
84
84
|
:'next_uri' => :'String',
|
|
85
85
|
|
|
86
|
-
:'last_uri' => :'String',
|
|
87
|
-
|
|
88
86
|
:'previous_uri' => :'String',
|
|
89
87
|
|
|
88
|
+
:'last_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -166,19 +166,19 @@ module PureCloud
|
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
if attributes.has_key?(:'
|
|
169
|
+
if attributes.has_key?(:'previousUri')
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
self.
|
|
172
|
+
self.previous_uri = attributes[:'previousUri']
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
if attributes.has_key?(:'
|
|
178
|
+
if attributes.has_key?(:'lastUri')
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
self.
|
|
181
|
+
self.last_uri = attributes[:'lastUri']
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
end
|
|
@@ -313,8 +313,8 @@ module PureCloud
|
|
|
313
313
|
first_uri == o.first_uri &&
|
|
314
314
|
self_uri == o.self_uri &&
|
|
315
315
|
next_uri == o.next_uri &&
|
|
316
|
-
last_uri == o.last_uri &&
|
|
317
316
|
previous_uri == o.previous_uri &&
|
|
317
|
+
last_uri == o.last_uri &&
|
|
318
318
|
page_count == o.page_count
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
|
327
327
|
# Calculates hash code according to all attributes.
|
|
328
328
|
# @return [Fixnum] Hash code
|
|
329
329
|
def hash
|
|
330
|
-
[entities, page_size, page_number, total, first_uri, self_uri, next_uri,
|
|
330
|
+
[entities, page_size, page_number, total, first_uri, self_uri, next_uri, previous_uri, last_uri, page_count].hash
|
|
331
331
|
end
|
|
332
332
|
|
|
333
333
|
# build the object from hash
|
|
@@ -0,0 +1,644 @@
|
|
|
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 RecordingMetadata
|
|
21
|
+
# The globally unique identifier for the object.
|
|
22
|
+
attr_accessor :id
|
|
23
|
+
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
26
|
+
attr_accessor :conversation_id
|
|
27
|
+
|
|
28
|
+
attr_accessor :path
|
|
29
|
+
|
|
30
|
+
# The start time of the recording for screen recordings. Null for other types.
|
|
31
|
+
attr_accessor :start_time
|
|
32
|
+
|
|
33
|
+
attr_accessor :end_time
|
|
34
|
+
|
|
35
|
+
# The type of media that the recording is. At the moment that could be audio, chat, email, or message.
|
|
36
|
+
attr_accessor :media
|
|
37
|
+
|
|
38
|
+
# Annotations that belong to the recording. Populated when recording filestate is AVAILABLE.
|
|
39
|
+
attr_accessor :annotations
|
|
40
|
+
|
|
41
|
+
# Represents the current file state for a recording. Examples: Uploading, Archived, etc
|
|
42
|
+
attr_accessor :file_state
|
|
43
|
+
|
|
44
|
+
# The amount of time a restored recording will remain restored before being archived again. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
45
|
+
attr_accessor :restore_expiration_time
|
|
46
|
+
|
|
47
|
+
# The date the recording will be archived. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
48
|
+
attr_accessor :archive_date
|
|
49
|
+
|
|
50
|
+
# The type of archive medium used. Example: CloudArchive
|
|
51
|
+
attr_accessor :archive_medium
|
|
52
|
+
|
|
53
|
+
# The date the recording will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
54
|
+
attr_accessor :delete_date
|
|
55
|
+
|
|
56
|
+
# How many archive restorations the organization is allowed to have.
|
|
57
|
+
attr_accessor :max_allowed_restorations_for_org
|
|
58
|
+
|
|
59
|
+
# The remaining archive restorations the organization has.
|
|
60
|
+
attr_accessor :remaining_restorations_allowed_for_org
|
|
61
|
+
|
|
62
|
+
# The session id represents an external resource id, such as email, call, chat, etc
|
|
63
|
+
attr_accessor :session_id
|
|
64
|
+
|
|
65
|
+
# The URI for this object
|
|
66
|
+
attr_accessor :self_uri
|
|
67
|
+
|
|
68
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
69
|
+
def self.attribute_map
|
|
70
|
+
{
|
|
71
|
+
|
|
72
|
+
:'id' => :'id',
|
|
73
|
+
|
|
74
|
+
:'name' => :'name',
|
|
75
|
+
|
|
76
|
+
:'conversation_id' => :'conversationId',
|
|
77
|
+
|
|
78
|
+
:'path' => :'path',
|
|
79
|
+
|
|
80
|
+
:'start_time' => :'startTime',
|
|
81
|
+
|
|
82
|
+
:'end_time' => :'endTime',
|
|
83
|
+
|
|
84
|
+
:'media' => :'media',
|
|
85
|
+
|
|
86
|
+
:'annotations' => :'annotations',
|
|
87
|
+
|
|
88
|
+
:'file_state' => :'fileState',
|
|
89
|
+
|
|
90
|
+
:'restore_expiration_time' => :'restoreExpirationTime',
|
|
91
|
+
|
|
92
|
+
:'archive_date' => :'archiveDate',
|
|
93
|
+
|
|
94
|
+
:'archive_medium' => :'archiveMedium',
|
|
95
|
+
|
|
96
|
+
:'delete_date' => :'deleteDate',
|
|
97
|
+
|
|
98
|
+
:'max_allowed_restorations_for_org' => :'maxAllowedRestorationsForOrg',
|
|
99
|
+
|
|
100
|
+
:'remaining_restorations_allowed_for_org' => :'remainingRestorationsAllowedForOrg',
|
|
101
|
+
|
|
102
|
+
:'session_id' => :'sessionId',
|
|
103
|
+
|
|
104
|
+
:'self_uri' => :'selfUri'
|
|
105
|
+
|
|
106
|
+
}
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Attribute type mapping.
|
|
110
|
+
def self.swagger_types
|
|
111
|
+
{
|
|
112
|
+
|
|
113
|
+
:'id' => :'String',
|
|
114
|
+
|
|
115
|
+
:'name' => :'String',
|
|
116
|
+
|
|
117
|
+
:'conversation_id' => :'String',
|
|
118
|
+
|
|
119
|
+
:'path' => :'String',
|
|
120
|
+
|
|
121
|
+
:'start_time' => :'String',
|
|
122
|
+
|
|
123
|
+
:'end_time' => :'String',
|
|
124
|
+
|
|
125
|
+
:'media' => :'String',
|
|
126
|
+
|
|
127
|
+
:'annotations' => :'Array<Annotation>',
|
|
128
|
+
|
|
129
|
+
:'file_state' => :'String',
|
|
130
|
+
|
|
131
|
+
:'restore_expiration_time' => :'DateTime',
|
|
132
|
+
|
|
133
|
+
:'archive_date' => :'DateTime',
|
|
134
|
+
|
|
135
|
+
:'archive_medium' => :'String',
|
|
136
|
+
|
|
137
|
+
:'delete_date' => :'DateTime',
|
|
138
|
+
|
|
139
|
+
:'max_allowed_restorations_for_org' => :'Integer',
|
|
140
|
+
|
|
141
|
+
:'remaining_restorations_allowed_for_org' => :'Integer',
|
|
142
|
+
|
|
143
|
+
:'session_id' => :'String',
|
|
144
|
+
|
|
145
|
+
:'self_uri' => :'String'
|
|
146
|
+
|
|
147
|
+
}
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Initializes the object
|
|
151
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
152
|
+
def initialize(attributes = {})
|
|
153
|
+
return unless attributes.is_a?(Hash)
|
|
154
|
+
|
|
155
|
+
# convert string to symbol for hash key
|
|
156
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
if attributes.has_key?(:'id')
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
self.id = attributes[:'id']
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
if attributes.has_key?(:'name')
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
self.name = attributes[:'name']
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
if attributes.has_key?(:'conversationId')
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
self.conversation_id = attributes[:'conversationId']
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
if attributes.has_key?(:'path')
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
self.path = attributes[:'path']
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
if attributes.has_key?(:'startTime')
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
self.start_time = attributes[:'startTime']
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
if attributes.has_key?(:'endTime')
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
self.end_time = attributes[:'endTime']
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
if attributes.has_key?(:'media')
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
self.media = attributes[:'media']
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
if attributes.has_key?(:'annotations')
|
|
223
|
+
|
|
224
|
+
if (value = attributes[:'annotations']).is_a?(Array)
|
|
225
|
+
self.annotations = value
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
if attributes.has_key?(:'fileState')
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
self.file_state = attributes[:'fileState']
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
if attributes.has_key?(:'restoreExpirationTime')
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
self.restore_expiration_time = attributes[:'restoreExpirationTime']
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
if attributes.has_key?(:'archiveDate')
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
self.archive_date = attributes[:'archiveDate']
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
if attributes.has_key?(:'archiveMedium')
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
self.archive_medium = attributes[:'archiveMedium']
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
if attributes.has_key?(:'deleteDate')
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
self.delete_date = attributes[:'deleteDate']
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
if attributes.has_key?(:'maxAllowedRestorationsForOrg')
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
self.max_allowed_restorations_for_org = attributes[:'maxAllowedRestorationsForOrg']
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
if attributes.has_key?(:'remainingRestorationsAllowedForOrg')
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
self.remaining_restorations_allowed_for_org = attributes[:'remainingRestorationsAllowedForOrg']
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
if attributes.has_key?(:'sessionId')
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
self.session_id = attributes[:'sessionId']
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
if attributes.has_key?(:'selfUri')
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
self.self_uri = attributes[:'selfUri']
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
317
|
+
# @return Array for valid properies with the reasons
|
|
318
|
+
def list_invalid_properties
|
|
319
|
+
invalid_properties = Array.new
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
return invalid_properties
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
# Check to see if the all the properties in the model are valid
|
|
326
|
+
# @return true if the model is valid
|
|
327
|
+
def valid?
|
|
328
|
+
|
|
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
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
allowed_values = ["ARCHIVED", "AVAILABLE", "DELETED", "RESTORED", "RESTORING", "UPLOADING", "ERROR"]
|
|
364
|
+
if @file_state && !allowed_values.include?(@file_state)
|
|
365
|
+
return false
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
allowed_values = ["CLOUDARCHIVE"]
|
|
381
|
+
if @archive_medium && !allowed_values.include?(@archive_medium)
|
|
382
|
+
return false
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
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
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
452
|
+
# @param [Object] file_state Object to be assigned
|
|
453
|
+
def file_state=(file_state)
|
|
454
|
+
allowed_values = ["ARCHIVED", "AVAILABLE", "DELETED", "RESTORED", "RESTORING", "UPLOADING", "ERROR"]
|
|
455
|
+
if file_state && !allowed_values.include?(file_state)
|
|
456
|
+
fail ArgumentError, "invalid value for 'file_state', must be one of #{allowed_values}."
|
|
457
|
+
end
|
|
458
|
+
@file_state = file_state
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
476
|
+
# @param [Object] archive_medium Object to be assigned
|
|
477
|
+
def archive_medium=(archive_medium)
|
|
478
|
+
allowed_values = ["CLOUDARCHIVE"]
|
|
479
|
+
if archive_medium && !allowed_values.include?(archive_medium)
|
|
480
|
+
fail ArgumentError, "invalid value for 'archive_medium', must be one of #{allowed_values}."
|
|
481
|
+
end
|
|
482
|
+
@archive_medium = archive_medium
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
# Checks equality by comparing each attribute.
|
|
514
|
+
# @param [Object] Object to be compared
|
|
515
|
+
def ==(o)
|
|
516
|
+
return true if self.equal?(o)
|
|
517
|
+
self.class == o.class &&
|
|
518
|
+
id == o.id &&
|
|
519
|
+
name == o.name &&
|
|
520
|
+
conversation_id == o.conversation_id &&
|
|
521
|
+
path == o.path &&
|
|
522
|
+
start_time == o.start_time &&
|
|
523
|
+
end_time == o.end_time &&
|
|
524
|
+
media == o.media &&
|
|
525
|
+
annotations == o.annotations &&
|
|
526
|
+
file_state == o.file_state &&
|
|
527
|
+
restore_expiration_time == o.restore_expiration_time &&
|
|
528
|
+
archive_date == o.archive_date &&
|
|
529
|
+
archive_medium == o.archive_medium &&
|
|
530
|
+
delete_date == o.delete_date &&
|
|
531
|
+
max_allowed_restorations_for_org == o.max_allowed_restorations_for_org &&
|
|
532
|
+
remaining_restorations_allowed_for_org == o.remaining_restorations_allowed_for_org &&
|
|
533
|
+
session_id == o.session_id &&
|
|
534
|
+
self_uri == o.self_uri
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
# @see the `==` method
|
|
538
|
+
# @param [Object] Object to be compared
|
|
539
|
+
def eql?(o)
|
|
540
|
+
self == o
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# Calculates hash code according to all attributes.
|
|
544
|
+
# @return [Fixnum] Hash code
|
|
545
|
+
def hash
|
|
546
|
+
[id, name, conversation_id, path, start_time, end_time, media, annotations, file_state, restore_expiration_time, archive_date, archive_medium, delete_date, max_allowed_restorations_for_org, remaining_restorations_allowed_for_org, session_id, self_uri].hash
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
# build the object from hash
|
|
550
|
+
def build_from_hash(attributes)
|
|
551
|
+
return nil unless attributes.is_a?(Hash)
|
|
552
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
553
|
+
if type =~ /^Array<(.*)>/i
|
|
554
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
555
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
556
|
+
else
|
|
557
|
+
#TODO show warning in debug mode
|
|
558
|
+
end
|
|
559
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
560
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
561
|
+
else
|
|
562
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
|
563
|
+
end
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
self
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
def _deserialize(type, value)
|
|
570
|
+
case type.to_sym
|
|
571
|
+
when :DateTime
|
|
572
|
+
DateTime.parse(value)
|
|
573
|
+
when :Date
|
|
574
|
+
Date.parse(value)
|
|
575
|
+
when :String
|
|
576
|
+
value.to_s
|
|
577
|
+
when :Integer
|
|
578
|
+
value.to_i
|
|
579
|
+
when :Float
|
|
580
|
+
value.to_f
|
|
581
|
+
when :BOOLEAN
|
|
582
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
|
583
|
+
true
|
|
584
|
+
else
|
|
585
|
+
false
|
|
586
|
+
end
|
|
587
|
+
when :Object
|
|
588
|
+
# generic object (usually a Hash), return directly
|
|
589
|
+
value
|
|
590
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
591
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
592
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
593
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
|
594
|
+
k_type = Regexp.last_match[:k_type]
|
|
595
|
+
v_type = Regexp.last_match[:v_type]
|
|
596
|
+
{}.tap do |hash|
|
|
597
|
+
value.each do |k, v|
|
|
598
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
599
|
+
end
|
|
600
|
+
end
|
|
601
|
+
else # model
|
|
602
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
|
603
|
+
_model.build_from_hash(value)
|
|
604
|
+
end
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
def to_s
|
|
608
|
+
to_hash.to_s
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
# to_body is an alias to to_body (backward compatibility))
|
|
612
|
+
def to_body
|
|
613
|
+
to_hash
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
# return the object in the form of hash
|
|
617
|
+
def to_hash
|
|
618
|
+
hash = {}
|
|
619
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
620
|
+
value = self.send(attr)
|
|
621
|
+
next if value.nil?
|
|
622
|
+
hash[param] = _to_hash(value)
|
|
623
|
+
end
|
|
624
|
+
hash
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# Method to output non-array value in the form of hash
|
|
628
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
629
|
+
def _to_hash(value)
|
|
630
|
+
if value.is_a?(Array)
|
|
631
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
632
|
+
elsif value.is_a?(Hash)
|
|
633
|
+
{}.tap do |hash|
|
|
634
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
635
|
+
end
|
|
636
|
+
elsif value.respond_to? :to_hash
|
|
637
|
+
value.to_hash
|
|
638
|
+
else
|
|
639
|
+
value
|
|
640
|
+
end
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
end
|
|
644
|
+
end
|