purecloudplatformclientv2 62.0.0 → 66.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/AnalyticsApi.md +32 -32
- data/docs/AnalyticsEvaluation.md +2 -0
- data/docs/AnalyticsParticipant.md +1 -0
- data/docs/ArchitectDependencyTrackingBuildNotificationClient.md +14 -0
- data/docs/ArchitectDependencyTrackingBuildNotificationDependencyTrackingBuildNotification.md +1 -0
- data/docs/ArchitectFlowNotificationArchitectOperation.md +1 -0
- data/docs/ArchitectFlowNotificationClient.md +14 -0
- data/docs/ArchitectFlowOutcomeNotificationArchitectOperation.md +1 -0
- data/docs/ArchitectFlowOutcomeNotificationClient.md +14 -0
- data/docs/ArchitectPromptNotificationArchitectOperation.md +1 -0
- data/docs/ArchitectPromptNotificationClient.md +14 -0
- data/docs/ArrayNode.md +5 -5
- data/docs/AsyncConversationQuery.md +7 -6
- data/docs/AuthorizationApi.md +7 -7
- data/docs/CallConversation.md +1 -0
- data/docs/ConversationAggregateDataContainer.md +14 -0
- data/docs/ConversationAggregateQueryClause.md +14 -0
- data/docs/ConversationAggregateQueryFilter.md +15 -0
- data/docs/ConversationAggregateQueryPredicate.md +17 -0
- data/docs/ConversationAggregateQueryResponse.md +13 -0
- data/docs/ConversationAggregationQuery.md +20 -0
- data/docs/ConversationAggregationView.md +16 -0
- data/docs/ConversationDetailQueryClause.md +14 -0
- data/docs/ConversationDetailQueryFilter.md +15 -0
- data/docs/ConversationDetailQueryPredicate.md +18 -0
- data/docs/ConversationQuery.md +6 -6
- data/docs/ConversationsApi.md +286 -4
- data/docs/CreateQueueMediaAssociationRequest.md +1 -0
- data/docs/DataSchema.md +1 -1
- data/docs/DependencyStatus.md +2 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/EvaluationAggregateDataContainer.md +14 -0
- data/docs/EvaluationAggregateQueryClause.md +14 -0
- data/docs/EvaluationAggregateQueryFilter.md +15 -0
- data/docs/EvaluationAggregateQueryPredicate.md +17 -0
- data/docs/EvaluationAggregateQueryResponse.md +13 -0
- data/docs/EvaluationAggregationQuery.md +21 -0
- data/docs/EvaluationAggregationView.md +16 -0
- data/docs/EvaluationDetailQueryClause.md +14 -0
- data/docs/EvaluationDetailQueryFilter.md +15 -0
- data/docs/EvaluationDetailQueryPredicate.md +18 -0
- data/docs/Flow.md +2 -1
- data/docs/{AggregateDataContainer.md → FlowAggregateDataContainer.md} +2 -2
- data/docs/FlowAggregateQueryClause.md +14 -0
- data/docs/FlowAggregateQueryFilter.md +15 -0
- data/docs/FlowAggregateQueryPredicate.md +17 -0
- data/docs/FlowAggregateQueryResponse.md +13 -0
- data/docs/{AggregationQuery.md → FlowAggregationQuery.md} +4 -4
- data/docs/{AnalyticsView.md → FlowAggregationView.md} +3 -3
- data/docs/{ObservationDataContainer.md → FlowObservationDataContainer.md} +2 -2
- data/docs/{ObservationQuery.md → FlowObservationQuery.md} +3 -3
- data/docs/FlowObservationQueryClause.md +14 -0
- data/docs/FlowObservationQueryFilter.md +15 -0
- data/docs/FlowObservationQueryPredicate.md +17 -0
- data/docs/FlowObservationQueryResponse.md +13 -0
- data/docs/FlowVersion.md +1 -0
- data/docs/FlowsApi.md +8 -8
- data/docs/HistoryEntry.md +2 -1
- data/docs/HistoryListing.md +1 -0
- data/docs/HomerRecord.md +63 -0
- data/docs/IpAddressRange.md +15 -0
- data/docs/IpAddressRangeListing.md +13 -0
- data/docs/JsonNode.md +5 -5
- data/docs/Location.md +4 -4
- data/docs/{LocationUpdateDefinition.md → LocationCreateUpdateDefinition.md} +7 -6
- data/docs/LocationDefinition.md +1 -0
- data/docs/LocationSearchRequest.md +1 -0
- data/docs/LocationsApi.md +6 -6
- data/docs/Manager.md +1 -1
- data/docs/MediaEndpointStatDetailQueryClause.md +14 -0
- data/docs/MediaEndpointStatDetailQueryFilter.md +15 -0
- data/docs/MediaEndpointStatDetailQueryPredicate.md +17 -0
- data/docs/MessageInfo.md +4 -4
- data/docs/ObjectsApi.md +1 -1
- data/docs/Operation.md +1 -0
- data/docs/PresenceDetailQueryClause.md +14 -0
- data/docs/PresenceDetailQueryFilter.md +15 -0
- data/docs/PresenceDetailQueryPredicate.md +17 -0
- data/docs/QualityApi.md +8 -8
- data/docs/QueueMediaAssociation.md +1 -1
- data/docs/QueueObservationDataContainer.md +14 -0
- data/docs/QueueObservationQuery.md +15 -0
- data/docs/QueueObservationQueryClause.md +14 -0
- data/docs/QueueObservationQueryFilter.md +15 -0
- data/docs/QueueObservationQueryPredicate.md +17 -0
- data/docs/{QualifierMappingObservationQueryResponse.md → QueueObservationQueryResponse.md} +3 -3
- data/docs/Recording.md +5 -4
- data/docs/RecordingApi.md +2 -2
- data/docs/RecordingJob.md +1 -0
- data/docs/RecordingJobsQuery.md +2 -2
- data/docs/RecordingMetadata.md +30 -0
- data/docs/ReportingExportJobRequest.md +2 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/RoutingApi.md +4 -4
- data/docs/RoutingStatusDetailQueryClause.md +14 -0
- data/docs/RoutingStatusDetailQueryFilter.md +15 -0
- data/docs/RoutingStatusDetailQueryPredicate.md +17 -0
- data/docs/SCIMApi.md +295 -31
- data/docs/SIPSearchPublicRequest.md +22 -0
- data/docs/ScimConfigResourceType.md +20 -0
- data/docs/ScimConfigResourceTypeSchemaExtension.md +14 -0
- data/docs/ScimConfigResourceTypesListResponse.md +17 -0
- data/docs/ScimError.md +16 -0
- data/docs/ScimGroupListResponse.md +2 -2
- data/docs/ScimMetadata.md +2 -2
- data/docs/ScimPhoneNumber.md +1 -1
- data/docs/ScimServiceProviderConfig.md +10 -2
- data/docs/ScimServiceProviderConfigAuthenticationScheme.md +18 -0
- data/docs/ScimServiceProviderConfigBulkFeature.md +15 -0
- data/docs/ScimServiceProviderConfigFilterFeature.md +14 -0
- data/docs/ScimServiceProviderConfigSimpleFeature.md +13 -0
- data/docs/ScimUserListResponse.md +2 -2
- data/docs/ScimV2CreateUser.md +8 -8
- data/docs/ScimV2Group.md +3 -3
- data/docs/ScimV2GroupReference.md +2 -2
- data/docs/ScimV2MemberReference.md +2 -2
- data/docs/ScimV2PatchOperation.md +2 -2
- data/docs/ScimV2PatchRequest.md +2 -2
- data/docs/ScimV2User.md +9 -9
- data/docs/SearchApi.md +4 -4
- data/docs/SegmentDetailQueryClause.md +14 -0
- data/docs/SegmentDetailQueryFilter.md +15 -0
- data/docs/{AnalyticsQueryPredicate.md → SegmentDetailQueryPredicate.md} +4 -4
- data/docs/SignedUrlResponse.md +16 -0
- data/docs/SipDownloadResponse.md +14 -0
- data/docs/SipSearchResult.md +20 -0
- data/docs/Site.md +1 -0
- data/docs/SmsPhoneNumber.md +1 -0
- data/docs/SuggestApi.md +2 -2
- data/docs/SurveyAggregateDataContainer.md +14 -0
- data/docs/SurveyAggregateQueryClause.md +14 -0
- data/docs/SurveyAggregateQueryFilter.md +15 -0
- data/docs/SurveyAggregateQueryPredicate.md +17 -0
- data/docs/SurveyAggregateQueryResponse.md +13 -0
- data/docs/SurveyAggregationQuery.md +20 -0
- data/docs/SurveyAggregationView.md +16 -0
- data/docs/SurveyDetailQueryClause.md +14 -0
- data/docs/SurveyDetailQueryFilter.md +15 -0
- data/docs/SurveyDetailQueryPredicate.md +18 -0
- data/docs/TelephonyApi.md +223 -0
- data/docs/TelephonyProvidersEdgeApi.md +6 -6
- data/docs/TokensApi.md +2 -1
- data/docs/TrusteeBillingOverview.md +1 -0
- data/docs/UserAggregateDataContainer.md +14 -0
- data/docs/UserAggregateQueryClause.md +14 -0
- data/docs/UserAggregateQueryFilter.md +15 -0
- data/docs/UserAggregateQueryPredicate.md +17 -0
- data/docs/{PresenceQueryResponse.md → UserAggregateQueryResponse.md} +3 -3
- data/docs/UserAggregationQuery.md +20 -0
- data/docs/UserAggregationView.md +16 -0
- data/docs/UserAuthorization.md +1 -1
- data/docs/UserDetailQueryClause.md +14 -0
- data/docs/UserDetailQueryFilter.md +15 -0
- data/docs/UserDetailQueryPredicate.md +17 -0
- data/docs/UserDetailsQuery.md +4 -4
- data/docs/UserObservationDataContainer.md +14 -0
- data/docs/UserObservationQuery.md +15 -0
- data/docs/UserObservationQueryClause.md +14 -0
- data/docs/UserObservationQueryFilter.md +15 -0
- data/docs/UserObservationQueryPredicate.md +17 -0
- data/docs/UserObservationQueryResponse.md +13 -0
- data/docs/UsersApi.md +10 -10
- data/docs/UtilitiesApi.md +59 -0
- data/lib/purecloudplatformclientv2.rb +99 -13
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +24 -24
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +343 -3
- data/lib/purecloudplatformclientv2/api/flows_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/locations_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/objects_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/quality_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/recording_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/routing_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/scim_api.rb +344 -30
- data/lib/purecloudplatformclientv2/api/search_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/telephony_api.rb +270 -0
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/users_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/utilities_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +1 -15
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +53 -1
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +31 -3
- data/lib/purecloudplatformclientv2/models/architect_dependency_tracking_build_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/architect_dependency_tracking_build_notification_dependency_tracking_build_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_flow_notification_architect_operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_flow_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/architect_flow_outcome_notification_architect_operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_flow_outcome_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/architect_prompt_notification_architect_operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_prompt_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/array_node.rb +51 -51
- data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +57 -31
- data/lib/purecloudplatformclientv2/models/call_conversation.rb +27 -1
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/{analytics_query_clause.rb → conversation_aggregate_query_clause.rb} +3 -3
- data/lib/purecloudplatformclientv2/models/{analytics_query_filter.rb → conversation_aggregate_query_filter.rb} +4 -4
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +390 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/conversation_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/conversation_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/conversation_detail_query_predicate.rb +388 -0
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +28 -28
- data/lib/purecloudplatformclientv2/models/create_queue_media_association_request.rb +27 -1
- data/lib/purecloudplatformclientv2/models/data_schema.rb +1 -1
- data/lib/purecloudplatformclientv2/models/dependency_status.rb +28 -1
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +1 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +1 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +1 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +430 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/evaluation_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/evaluation_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/evaluation_detail_query_predicate.rb +388 -0
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow.rb +28 -1
- data/lib/purecloudplatformclientv2/models/{aggregate_data_container.rb → flow_aggregate_data_container.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{aggregate_query_response.rb → flow_aggregate_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/{aggregation_query.rb → flow_aggregation_query.rb} +3 -3
- data/lib/purecloudplatformclientv2/models/flow_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/{observation_data_container.rb → flow_observation_data_container.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/{observation_query.rb → flow_observation_query.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/flow_observation_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/flow_observation_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/flow_observation_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{observation_query_response.rb → flow_observation_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/flow_version.rb +26 -1
- data/lib/purecloudplatformclientv2/models/history_entry.rb +28 -1
- data/lib/purecloudplatformclientv2/models/history_listing.rb +26 -1
- data/lib/purecloudplatformclientv2/models/homer_record.rb +1501 -0
- data/lib/purecloudplatformclientv2/models/ip_address_range.rb +265 -0
- data/lib/purecloudplatformclientv2/models/ip_address_range_listing.rb +203 -0
- data/lib/purecloudplatformclientv2/models/json_node.rb +51 -51
- 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_search_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
- data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/message_info.rb +4 -0
- data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +1 -15
- data/lib/purecloudplatformclientv2/models/operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/presence_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/presence_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/presence_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/queue_media_association.rb +17 -17
- data/lib/purecloudplatformclientv2/models/queue_observation_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query.rb +263 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{qualifier_mapping_observation_query_response.rb → queue_observation_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/recording.rb +31 -3
- data/lib/purecloudplatformclientv2/models/recording_job.rb +30 -4
- data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +2 -2
- data/lib/purecloudplatformclientv2/models/recording_metadata.rb +670 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +58 -6
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +55 -3
- data/lib/purecloudplatformclientv2/models/routing_status_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/routing_status_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/routing_status_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +389 -0
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +229 -0
- data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +311 -0
- data/lib/purecloudplatformclientv2/models/scim_error.rb +297 -0
- data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +4 -4
- data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +216 -3
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +362 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +255 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +229 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +203 -0
- data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +8 -8
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +4 -4
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +4 -4
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +2 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +9 -9
- data/lib/purecloudplatformclientv2/models/segment_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/segment_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/{analytics_query_predicate.rb → segment_detail_query_predicate.rb} +7 -7
- data/lib/purecloudplatformclientv2/models/signed_url_response.rb +279 -0
- data/lib/purecloudplatformclientv2/models/sip_download_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/sip_search_public_request.rb +445 -0
- data/lib/purecloudplatformclientv2/models/sip_search_result.rb +386 -0
- data/lib/purecloudplatformclientv2/models/site.rb +26 -1
- data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +41 -1
- data/lib/purecloudplatformclientv2/models/subject_division_grants.rb +2 -2
- data/lib/purecloudplatformclientv2/models/survey_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +390 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/survey_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/survey_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/survey_detail_query_predicate.rb +388 -0
- data/lib/purecloudplatformclientv2/models/system_message_system_message.rb +4 -4
- data/lib/purecloudplatformclientv2/models/trustee_billing_overview.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/user_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/user_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/user_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{presence_query_response.rb → user_aggregate_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +390 -0
- data/lib/purecloudplatformclientv2/models/{analytics_view.rb → user_aggregation_view.rb} +17 -3
- data/lib/purecloudplatformclientv2/models/user_authorization.rb +1 -0
- data/lib/purecloudplatformclientv2/models/user_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/user_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/user_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/user_details_query.rb +37 -38
- data/lib/purecloudplatformclientv2/models/user_observation_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query.rb +263 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +200 -28
- data/docs/AggregateQueryResponse.md +0 -13
- data/docs/AnalyticsQueryClause.md +0 -14
- data/docs/AnalyticsQueryFilter.md +0 -15
- data/docs/ObservationQueryResponse.md +0 -13
@@ -48,6 +48,9 @@ module PureCloud
|
|
48
48
|
# The URI for this object
|
49
49
|
attr_accessor :self_uri
|
50
50
|
|
51
|
+
# Details of the user created the job
|
52
|
+
attr_accessor :user
|
53
|
+
|
51
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
55
|
def self.attribute_map
|
53
56
|
{
|
@@ -70,7 +73,9 @@ module PureCloud
|
|
70
73
|
|
71
74
|
:'error_message' => :'errorMessage',
|
72
75
|
|
73
|
-
:'self_uri' => :'selfUri'
|
76
|
+
:'self_uri' => :'selfUri',
|
77
|
+
|
78
|
+
:'user' => :'user'
|
74
79
|
|
75
80
|
}
|
76
81
|
end
|
@@ -97,7 +102,9 @@ module PureCloud
|
|
97
102
|
|
98
103
|
:'error_message' => :'String',
|
99
104
|
|
100
|
-
:'self_uri' => :'String'
|
105
|
+
:'self_uri' => :'String',
|
106
|
+
|
107
|
+
:'user' => :'AddressableEntityRef'
|
101
108
|
|
102
109
|
}
|
103
110
|
end
|
@@ -201,6 +208,15 @@ module PureCloud
|
|
201
208
|
end
|
202
209
|
|
203
210
|
|
211
|
+
if attributes.has_key?(:'user')
|
212
|
+
|
213
|
+
|
214
|
+
self.user = attributes[:'user']
|
215
|
+
|
216
|
+
|
217
|
+
end
|
218
|
+
|
219
|
+
|
204
220
|
end
|
205
221
|
|
206
222
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -261,6 +277,10 @@ module PureCloud
|
|
261
277
|
|
262
278
|
|
263
279
|
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
264
284
|
|
265
285
|
|
266
286
|
|
@@ -322,6 +342,11 @@ module PureCloud
|
|
322
342
|
|
323
343
|
|
324
344
|
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
325
350
|
|
326
351
|
|
327
352
|
|
@@ -342,7 +367,8 @@ module PureCloud
|
|
342
367
|
total_processed_recordings == o.total_processed_recordings &&
|
343
368
|
percent_progress == o.percent_progress &&
|
344
369
|
error_message == o.error_message &&
|
345
|
-
self_uri == o.self_uri
|
370
|
+
self_uri == o.self_uri &&
|
371
|
+
user == o.user
|
346
372
|
end
|
347
373
|
|
348
374
|
# @see the `==` method
|
@@ -354,7 +380,7 @@ module PureCloud
|
|
354
380
|
# Calculates hash code according to all attributes.
|
355
381
|
# @return [Fixnum] Hash code
|
356
382
|
def hash
|
357
|
-
[id, state, recording_jobs_query, date_created, total_conversations, total_recordings, total_processed_recordings, percent_progress, error_message, self_uri].hash
|
383
|
+
[id, state, recording_jobs_query, date_created, total_conversations, total_recordings, total_processed_recordings, percent_progress, error_message, self_uri, user].hash
|
358
384
|
end
|
359
385
|
|
360
386
|
# build the object from hash
|
@@ -21,10 +21,10 @@ module PureCloud
|
|
21
21
|
# Operation to perform bulk task
|
22
22
|
attr_accessor :action
|
23
23
|
|
24
|
-
# The date when the action will be performed. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
24
|
+
# The date when the action will be performed. If the operation will cause the delete date of a recording to be older than the export date, the export date will be adjusted to the delete date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
25
25
|
attr_accessor :action_date
|
26
26
|
|
27
|
-
#
|
27
|
+
# IntegrationId to Access AWS S3 bucket for bulk recording exports. This field is for EXPORT only
|
28
28
|
attr_accessor :integration_id
|
29
29
|
|
30
30
|
# Include Screen recordings for export action, default value = true
|
@@ -0,0 +1,670 @@
|
|
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
|
+
# The date the recording will be exported. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
57
|
+
attr_accessor :export_date
|
58
|
+
|
59
|
+
# How many archive restorations the organization is allowed to have.
|
60
|
+
attr_accessor :max_allowed_restorations_for_org
|
61
|
+
|
62
|
+
# The remaining archive restorations the organization has.
|
63
|
+
attr_accessor :remaining_restorations_allowed_for_org
|
64
|
+
|
65
|
+
# The session id represents an external resource id, such as email, call, chat, etc
|
66
|
+
attr_accessor :session_id
|
67
|
+
|
68
|
+
# The URI for this object
|
69
|
+
attr_accessor :self_uri
|
70
|
+
|
71
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
72
|
+
def self.attribute_map
|
73
|
+
{
|
74
|
+
|
75
|
+
:'id' => :'id',
|
76
|
+
|
77
|
+
:'name' => :'name',
|
78
|
+
|
79
|
+
:'conversation_id' => :'conversationId',
|
80
|
+
|
81
|
+
:'path' => :'path',
|
82
|
+
|
83
|
+
:'start_time' => :'startTime',
|
84
|
+
|
85
|
+
:'end_time' => :'endTime',
|
86
|
+
|
87
|
+
:'media' => :'media',
|
88
|
+
|
89
|
+
:'annotations' => :'annotations',
|
90
|
+
|
91
|
+
:'file_state' => :'fileState',
|
92
|
+
|
93
|
+
:'restore_expiration_time' => :'restoreExpirationTime',
|
94
|
+
|
95
|
+
:'archive_date' => :'archiveDate',
|
96
|
+
|
97
|
+
:'archive_medium' => :'archiveMedium',
|
98
|
+
|
99
|
+
:'delete_date' => :'deleteDate',
|
100
|
+
|
101
|
+
:'export_date' => :'exportDate',
|
102
|
+
|
103
|
+
:'max_allowed_restorations_for_org' => :'maxAllowedRestorationsForOrg',
|
104
|
+
|
105
|
+
:'remaining_restorations_allowed_for_org' => :'remainingRestorationsAllowedForOrg',
|
106
|
+
|
107
|
+
:'session_id' => :'sessionId',
|
108
|
+
|
109
|
+
:'self_uri' => :'selfUri'
|
110
|
+
|
111
|
+
}
|
112
|
+
end
|
113
|
+
|
114
|
+
# Attribute type mapping.
|
115
|
+
def self.swagger_types
|
116
|
+
{
|
117
|
+
|
118
|
+
:'id' => :'String',
|
119
|
+
|
120
|
+
:'name' => :'String',
|
121
|
+
|
122
|
+
:'conversation_id' => :'String',
|
123
|
+
|
124
|
+
:'path' => :'String',
|
125
|
+
|
126
|
+
:'start_time' => :'String',
|
127
|
+
|
128
|
+
:'end_time' => :'String',
|
129
|
+
|
130
|
+
:'media' => :'String',
|
131
|
+
|
132
|
+
:'annotations' => :'Array<Annotation>',
|
133
|
+
|
134
|
+
:'file_state' => :'String',
|
135
|
+
|
136
|
+
:'restore_expiration_time' => :'DateTime',
|
137
|
+
|
138
|
+
:'archive_date' => :'DateTime',
|
139
|
+
|
140
|
+
:'archive_medium' => :'String',
|
141
|
+
|
142
|
+
:'delete_date' => :'DateTime',
|
143
|
+
|
144
|
+
:'export_date' => :'DateTime',
|
145
|
+
|
146
|
+
:'max_allowed_restorations_for_org' => :'Integer',
|
147
|
+
|
148
|
+
:'remaining_restorations_allowed_for_org' => :'Integer',
|
149
|
+
|
150
|
+
:'session_id' => :'String',
|
151
|
+
|
152
|
+
:'self_uri' => :'String'
|
153
|
+
|
154
|
+
}
|
155
|
+
end
|
156
|
+
|
157
|
+
# Initializes the object
|
158
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
159
|
+
def initialize(attributes = {})
|
160
|
+
return unless attributes.is_a?(Hash)
|
161
|
+
|
162
|
+
# convert string to symbol for hash key
|
163
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
164
|
+
|
165
|
+
|
166
|
+
if attributes.has_key?(:'id')
|
167
|
+
|
168
|
+
|
169
|
+
self.id = attributes[:'id']
|
170
|
+
|
171
|
+
|
172
|
+
end
|
173
|
+
|
174
|
+
|
175
|
+
if attributes.has_key?(:'name')
|
176
|
+
|
177
|
+
|
178
|
+
self.name = attributes[:'name']
|
179
|
+
|
180
|
+
|
181
|
+
end
|
182
|
+
|
183
|
+
|
184
|
+
if attributes.has_key?(:'conversationId')
|
185
|
+
|
186
|
+
|
187
|
+
self.conversation_id = attributes[:'conversationId']
|
188
|
+
|
189
|
+
|
190
|
+
end
|
191
|
+
|
192
|
+
|
193
|
+
if attributes.has_key?(:'path')
|
194
|
+
|
195
|
+
|
196
|
+
self.path = attributes[:'path']
|
197
|
+
|
198
|
+
|
199
|
+
end
|
200
|
+
|
201
|
+
|
202
|
+
if attributes.has_key?(:'startTime')
|
203
|
+
|
204
|
+
|
205
|
+
self.start_time = attributes[:'startTime']
|
206
|
+
|
207
|
+
|
208
|
+
end
|
209
|
+
|
210
|
+
|
211
|
+
if attributes.has_key?(:'endTime')
|
212
|
+
|
213
|
+
|
214
|
+
self.end_time = attributes[:'endTime']
|
215
|
+
|
216
|
+
|
217
|
+
end
|
218
|
+
|
219
|
+
|
220
|
+
if attributes.has_key?(:'media')
|
221
|
+
|
222
|
+
|
223
|
+
self.media = attributes[:'media']
|
224
|
+
|
225
|
+
|
226
|
+
end
|
227
|
+
|
228
|
+
|
229
|
+
if attributes.has_key?(:'annotations')
|
230
|
+
|
231
|
+
if (value = attributes[:'annotations']).is_a?(Array)
|
232
|
+
self.annotations = value
|
233
|
+
end
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
end
|
238
|
+
|
239
|
+
|
240
|
+
if attributes.has_key?(:'fileState')
|
241
|
+
|
242
|
+
|
243
|
+
self.file_state = attributes[:'fileState']
|
244
|
+
|
245
|
+
|
246
|
+
end
|
247
|
+
|
248
|
+
|
249
|
+
if attributes.has_key?(:'restoreExpirationTime')
|
250
|
+
|
251
|
+
|
252
|
+
self.restore_expiration_time = attributes[:'restoreExpirationTime']
|
253
|
+
|
254
|
+
|
255
|
+
end
|
256
|
+
|
257
|
+
|
258
|
+
if attributes.has_key?(:'archiveDate')
|
259
|
+
|
260
|
+
|
261
|
+
self.archive_date = attributes[:'archiveDate']
|
262
|
+
|
263
|
+
|
264
|
+
end
|
265
|
+
|
266
|
+
|
267
|
+
if attributes.has_key?(:'archiveMedium')
|
268
|
+
|
269
|
+
|
270
|
+
self.archive_medium = attributes[:'archiveMedium']
|
271
|
+
|
272
|
+
|
273
|
+
end
|
274
|
+
|
275
|
+
|
276
|
+
if attributes.has_key?(:'deleteDate')
|
277
|
+
|
278
|
+
|
279
|
+
self.delete_date = attributes[:'deleteDate']
|
280
|
+
|
281
|
+
|
282
|
+
end
|
283
|
+
|
284
|
+
|
285
|
+
if attributes.has_key?(:'exportDate')
|
286
|
+
|
287
|
+
|
288
|
+
self.export_date = attributes[:'exportDate']
|
289
|
+
|
290
|
+
|
291
|
+
end
|
292
|
+
|
293
|
+
|
294
|
+
if attributes.has_key?(:'maxAllowedRestorationsForOrg')
|
295
|
+
|
296
|
+
|
297
|
+
self.max_allowed_restorations_for_org = attributes[:'maxAllowedRestorationsForOrg']
|
298
|
+
|
299
|
+
|
300
|
+
end
|
301
|
+
|
302
|
+
|
303
|
+
if attributes.has_key?(:'remainingRestorationsAllowedForOrg')
|
304
|
+
|
305
|
+
|
306
|
+
self.remaining_restorations_allowed_for_org = attributes[:'remainingRestorationsAllowedForOrg']
|
307
|
+
|
308
|
+
|
309
|
+
end
|
310
|
+
|
311
|
+
|
312
|
+
if attributes.has_key?(:'sessionId')
|
313
|
+
|
314
|
+
|
315
|
+
self.session_id = attributes[:'sessionId']
|
316
|
+
|
317
|
+
|
318
|
+
end
|
319
|
+
|
320
|
+
|
321
|
+
if attributes.has_key?(:'selfUri')
|
322
|
+
|
323
|
+
|
324
|
+
self.self_uri = attributes[:'selfUri']
|
325
|
+
|
326
|
+
|
327
|
+
end
|
328
|
+
|
329
|
+
|
330
|
+
end
|
331
|
+
|
332
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
333
|
+
# @return Array for valid properies with the reasons
|
334
|
+
def list_invalid_properties
|
335
|
+
invalid_properties = Array.new
|
336
|
+
|
337
|
+
|
338
|
+
return invalid_properties
|
339
|
+
end
|
340
|
+
|
341
|
+
# Check to see if the all the properties in the model are valid
|
342
|
+
# @return true if the model is valid
|
343
|
+
def valid?
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
allowed_values = ["ARCHIVED", "AVAILABLE", "DELETED", "RESTORED", "RESTORING", "UPLOADING", "ERROR"]
|
380
|
+
if @file_state && !allowed_values.include?(@file_state)
|
381
|
+
return false
|
382
|
+
end
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
allowed_values = ["CLOUDARCHIVE"]
|
397
|
+
if @archive_medium && !allowed_values.include?(@archive_medium)
|
398
|
+
return false
|
399
|
+
end
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
end
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
# Custom attribute writer method checking allowed values (enum).
|
472
|
+
# @param [Object] file_state Object to be assigned
|
473
|
+
def file_state=(file_state)
|
474
|
+
allowed_values = ["ARCHIVED", "AVAILABLE", "DELETED", "RESTORED", "RESTORING", "UPLOADING", "ERROR"]
|
475
|
+
if file_state && !allowed_values.include?(file_state)
|
476
|
+
fail ArgumentError, "invalid value for 'file_state', must be one of #{allowed_values}."
|
477
|
+
end
|
478
|
+
@file_state = file_state
|
479
|
+
end
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
# Custom attribute writer method checking allowed values (enum).
|
496
|
+
# @param [Object] archive_medium Object to be assigned
|
497
|
+
def archive_medium=(archive_medium)
|
498
|
+
allowed_values = ["CLOUDARCHIVE"]
|
499
|
+
if archive_medium && !allowed_values.include?(archive_medium)
|
500
|
+
fail ArgumentError, "invalid value for 'archive_medium', must be one of #{allowed_values}."
|
501
|
+
end
|
502
|
+
@archive_medium = archive_medium
|
503
|
+
end
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
# Checks equality by comparing each attribute.
|
539
|
+
# @param [Object] Object to be compared
|
540
|
+
def ==(o)
|
541
|
+
return true if self.equal?(o)
|
542
|
+
self.class == o.class &&
|
543
|
+
id == o.id &&
|
544
|
+
name == o.name &&
|
545
|
+
conversation_id == o.conversation_id &&
|
546
|
+
path == o.path &&
|
547
|
+
start_time == o.start_time &&
|
548
|
+
end_time == o.end_time &&
|
549
|
+
media == o.media &&
|
550
|
+
annotations == o.annotations &&
|
551
|
+
file_state == o.file_state &&
|
552
|
+
restore_expiration_time == o.restore_expiration_time &&
|
553
|
+
archive_date == o.archive_date &&
|
554
|
+
archive_medium == o.archive_medium &&
|
555
|
+
delete_date == o.delete_date &&
|
556
|
+
export_date == o.export_date &&
|
557
|
+
max_allowed_restorations_for_org == o.max_allowed_restorations_for_org &&
|
558
|
+
remaining_restorations_allowed_for_org == o.remaining_restorations_allowed_for_org &&
|
559
|
+
session_id == o.session_id &&
|
560
|
+
self_uri == o.self_uri
|
561
|
+
end
|
562
|
+
|
563
|
+
# @see the `==` method
|
564
|
+
# @param [Object] Object to be compared
|
565
|
+
def eql?(o)
|
566
|
+
self == o
|
567
|
+
end
|
568
|
+
|
569
|
+
# Calculates hash code according to all attributes.
|
570
|
+
# @return [Fixnum] Hash code
|
571
|
+
def hash
|
572
|
+
[id, name, conversation_id, path, start_time, end_time, media, annotations, file_state, restore_expiration_time, archive_date, archive_medium, delete_date, export_date, max_allowed_restorations_for_org, remaining_restorations_allowed_for_org, session_id, self_uri].hash
|
573
|
+
end
|
574
|
+
|
575
|
+
# build the object from hash
|
576
|
+
def build_from_hash(attributes)
|
577
|
+
return nil unless attributes.is_a?(Hash)
|
578
|
+
self.class.swagger_types.each_pair do |key, type|
|
579
|
+
if type =~ /^Array<(.*)>/i
|
580
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
581
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
582
|
+
else
|
583
|
+
#TODO show warning in debug mode
|
584
|
+
end
|
585
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
586
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
587
|
+
else
|
588
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
self
|
593
|
+
end
|
594
|
+
|
595
|
+
def _deserialize(type, value)
|
596
|
+
case type.to_sym
|
597
|
+
when :DateTime
|
598
|
+
DateTime.parse(value)
|
599
|
+
when :Date
|
600
|
+
Date.parse(value)
|
601
|
+
when :String
|
602
|
+
value.to_s
|
603
|
+
when :Integer
|
604
|
+
value.to_i
|
605
|
+
when :Float
|
606
|
+
value.to_f
|
607
|
+
when :BOOLEAN
|
608
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
609
|
+
true
|
610
|
+
else
|
611
|
+
false
|
612
|
+
end
|
613
|
+
when :Object
|
614
|
+
# generic object (usually a Hash), return directly
|
615
|
+
value
|
616
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
617
|
+
inner_type = Regexp.last_match[:inner_type]
|
618
|
+
value.map { |v| _deserialize(inner_type, v) }
|
619
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
620
|
+
k_type = Regexp.last_match[:k_type]
|
621
|
+
v_type = Regexp.last_match[:v_type]
|
622
|
+
{}.tap do |hash|
|
623
|
+
value.each do |k, v|
|
624
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
625
|
+
end
|
626
|
+
end
|
627
|
+
else # model
|
628
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
629
|
+
_model.build_from_hash(value)
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
def to_s
|
634
|
+
to_hash.to_s
|
635
|
+
end
|
636
|
+
|
637
|
+
# to_body is an alias to to_body (backward compatibility))
|
638
|
+
def to_body
|
639
|
+
to_hash
|
640
|
+
end
|
641
|
+
|
642
|
+
# return the object in the form of hash
|
643
|
+
def to_hash
|
644
|
+
hash = {}
|
645
|
+
self.class.attribute_map.each_pair do |attr, param|
|
646
|
+
value = self.send(attr)
|
647
|
+
next if value.nil?
|
648
|
+
hash[param] = _to_hash(value)
|
649
|
+
end
|
650
|
+
hash
|
651
|
+
end
|
652
|
+
|
653
|
+
# Method to output non-array value in the form of hash
|
654
|
+
# For object, use to_hash. Otherwise, just return the value
|
655
|
+
def _to_hash(value)
|
656
|
+
if value.is_a?(Array)
|
657
|
+
value.compact.map{ |v| _to_hash(v) }
|
658
|
+
elsif value.is_a?(Hash)
|
659
|
+
{}.tap do |hash|
|
660
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
661
|
+
end
|
662
|
+
elsif value.respond_to? :to_hash
|
663
|
+
value.to_hash
|
664
|
+
else
|
665
|
+
value
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
end
|
670
|
+
end
|