purecloudplatformclientv2 33.1.0 → 34.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActionEntityListing.md +3 -3
- data/docs/AgentActivityEntityListing.md +3 -3
- data/docs/ArchitectApi.md +80 -0
- data/docs/AttemptLimitsEntityListing.md +3 -3
- data/docs/AttributeEntityListing.md +3 -3
- data/docs/CalibrationEntityListing.md +3 -3
- data/docs/CallConversationEntityListing.md +3 -3
- data/docs/CallHistoryConversationEntityListing.md +3 -3
- data/docs/CallableTimeSetEntityListing.md +3 -3
- data/docs/CallbackConversationEntityListing.md +3 -3
- data/docs/CampaignEntityListing.md +3 -3
- data/docs/CampaignRuleEntityListing.md +3 -3
- data/docs/CampaignSequenceEntityListing.md +3 -3
- data/docs/CertificateAuthorityEntityListing.md +3 -3
- data/docs/CertificateDetails.md +1 -1
- data/docs/Channel.md +1 -0
- data/docs/ChatConversationEntityListing.md +3 -3
- data/docs/ClientAppEntityListing.md +3 -3
- data/docs/CobrowseConversationEntityListing.md +3 -3
- data/docs/CommandStatusEntityListing.md +3 -3
- data/docs/ConsumedResourcesEntityListing.md +3 -3
- data/docs/ConsumingResourcesEntityListing.md +3 -3
- data/docs/ContactListEntityListing.md +3 -3
- data/docs/ContactListFilterEntityListing.md +3 -3
- data/docs/ContactListing.md +3 -3
- data/docs/ConversationEntityListing.md +3 -3
- data/docs/CreateQueueRequest.md +1 -1
- data/docs/CredentialInfoListing.md +3 -3
- data/docs/CredentialTypeListing.md +3 -3
- data/docs/DIDEntityListing.md +3 -3
- data/docs/DIDPoolEntityListing.md +3 -3
- data/docs/DataTableRowEntityListing.md +3 -3
- data/docs/DataTablesDomainEntityListing.md +3 -3
- data/docs/DependencyObjectEntityListing.md +3 -3
- data/docs/DependencyTypeEntityListing.md +3 -3
- data/docs/DialerEventEntityListing.md +3 -3
- data/docs/DirectoryUserDevicesListing.md +3 -3
- data/docs/DncListEntityListing.md +3 -3
- data/docs/DocumentAuditEntityListing.md +3 -3
- data/docs/DocumentEntityListing.md +3 -3
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +3 -3
- data/docs/DomainEntityListing.md +3 -3
- data/docs/DomainEntityListingEvaluationForm.md +3 -3
- data/docs/DomainEntityListingQueryResult.md +3 -3
- data/docs/DomainEntityListingSurveyForm.md +3 -3
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/EdgeEntityListing.md +3 -3
- data/docs/EdgeGroupEntityListing.md +3 -3
- data/docs/EdgeLineEntityListing.md +3 -3
- data/docs/EmailConversationEntityListing.md +3 -3
- data/docs/EmailMessageListing.md +3 -3
- data/docs/EmergencyGroupListing.md +3 -3
- data/docs/EncryptionKeyEntityListing.md +3 -3
- data/docs/EndpointEntityListing.md +3 -3
- data/docs/EvaluationEntityListing.md +3 -3
- data/docs/EvaluationFormEntityListing.md +3 -3
- data/docs/EvaluatorActivityEntityListing.md +3 -3
- data/docs/ExtensionEntityListing.md +3 -3
- data/docs/ExtensionPoolEntityListing.md +3 -3
- data/docs/ExternalOrganizationListing.md +3 -3
- data/docs/FaxDocumentEntityListing.md +3 -3
- data/docs/FlowDivisionView.md +16 -0
- data/docs/FlowDivisionViewEntityListing.md +22 -0
- data/docs/FlowEntityListing.md +3 -3
- data/docs/FlowVersionEntityListing.md +3 -3
- data/docs/GDPRRequestEntityListing.md +3 -3
- data/docs/GDPRSubjectEntityListing.md +3 -3
- data/docs/GreetingListing.md +3 -3
- data/docs/GroupEntityListing.md +3 -3
- data/docs/GroupProfileEntityListing.md +3 -3
- data/docs/IVREntityListing.md +3 -3
- data/docs/InboundDomainEntityListing.md +3 -3
- data/docs/InboundRouteEntityListing.md +3 -3
- data/docs/IntegrationEntityListing.md +3 -3
- data/docs/IntegrationEventEntityListing.md +3 -3
- data/docs/IntegrationTypeEntityListing.md +3 -3
- data/docs/InteractionStatsAlertContainer.md +3 -3
- data/docs/InteractionStatsRuleContainer.md +3 -3
- data/docs/JsonNode.md +4 -4
- data/docs/KeywordSetEntityListing.md +3 -3
- data/docs/LanguageEntityListing.md +3 -3
- data/docs/LibraryEntityListing.md +3 -3
- data/docs/LineBaseEntityListing.md +3 -3
- data/docs/LineEntityListing.md +3 -3
- data/docs/LocationEntityListing.md +3 -3
- data/docs/LogicalInterfaceEntityListing.md +3 -3
- data/docs/ManagementUnitListing.md +3 -3
- data/docs/MessageConversationEntityListing.md +3 -3
- data/docs/NoteListing.md +3 -3
- data/docs/NotificationsApi.md +11 -4
- data/docs/OAuthClientEntityListing.md +3 -3
- data/docs/OAuthProviderEntityListing.md +3 -3
- data/docs/OrganizationPresenceEntityListing.md +3 -3
- data/docs/OrganizationRoleEntityListing.md +3 -3
- data/docs/OrphanRecordingListing.md +3 -3
- data/docs/OutboundRouteBaseEntityListing.md +3 -3
- data/docs/OutboundRouteEntityListing.md +3 -3
- data/docs/PermissionCollectionEntityListing.md +3 -3
- data/docs/PhoneBaseEntityListing.md +3 -3
- data/docs/PhoneEntityListing.md +3 -3
- data/docs/PhoneMetaBaseEntityListing.md +3 -3
- data/docs/PhysicalInterfaceEntityListing.md +3 -3
- data/docs/PolicyEntityListing.md +3 -3
- data/docs/PromptAssetEntityListing.md +3 -3
- data/docs/PromptEntityListing.md +3 -3
- data/docs/QualityAuditPage.md +3 -3
- data/docs/Queue.md +1 -1
- data/docs/QueueEntityListing.md +3 -3
- data/docs/QueueMemberEntityListing.md +3 -3
- data/docs/RecipientListing.md +3 -3
- data/docs/RelationshipListing.md +3 -3
- data/docs/ReportMetaDataEntityListing.md +3 -3
- data/docs/ReportRunEntryEntityDomainListing.md +3 -3
- data/docs/ReportScheduleEntityListing.md +3 -3
- data/docs/ReportingExportJobListing.md +3 -3
- data/docs/ResponseEntityList.md +3 -3
- data/docs/ResponseEntityListing.md +3 -3
- data/docs/ResponseSetEntityListing.md +3 -3
- data/docs/RuleSetEntityListing.md +3 -3
- data/docs/ScheduleEntityListing.md +3 -3
- data/docs/ScheduleGroupEntityListing.md +3 -3
- data/docs/SchemaCategoryEntityListing.md +3 -3
- data/docs/SchemaReferenceEntityListing.md +3 -3
- data/docs/ScreenRecordingSessionListing.md +3 -3
- data/docs/ScriptEntityListing.md +3 -3
- data/docs/SecurityProfileEntityListing.md +3 -3
- data/docs/ShareEntityListing.md +3 -3
- data/docs/SiteEntityListing.md +3 -3
- data/docs/SkillEntityListing.md +3 -3
- data/docs/SmsPhoneNumberEntityListing.md +3 -3
- data/docs/StationEntityListing.md +3 -3
- data/docs/SurveyFormEntityListing.md +3 -3
- data/docs/SystemPromptAssetEntityListing.md +3 -3
- data/docs/SystemPromptEntityListing.md +3 -3
- data/docs/TagValueEntityListing.md +3 -3
- data/docs/TextMessageListing.md +3 -3
- data/docs/TimeZone.md +2 -2
- data/docs/TimeZoneEntityListing.md +3 -3
- data/docs/TrunkBaseEntityListing.md +3 -3
- data/docs/TrunkEntityListing.md +3 -3
- data/docs/TrunkMetabaseEntityListing.md +3 -3
- data/docs/TrustEntityListing.md +3 -3
- data/docs/TrustUserEntityListing.md +3 -3
- data/docs/TrustorEntityListing.md +3 -3
- data/docs/UserActionCategoryEntityListing.md +3 -3
- data/docs/UserEntityListing.md +3 -3
- data/docs/UserLanguageEntityListing.md +3 -3
- data/docs/UserProfileEntityListing.md +3 -3
- data/docs/UserQueue.md +1 -1
- data/docs/UserQueueEntityListing.md +3 -3
- data/docs/UserRecordingEntityListing.md +3 -3
- data/docs/UserSkillEntityListing.md +3 -3
- data/docs/ViewFilter.md +2 -0
- data/docs/VoicemailMessageEntityListing.md +3 -3
- data/docs/WfmScheduleNotificationNotification.md +16 -0
- data/docs/WorkspaceEntityListing.md +3 -3
- data/docs/WorkspaceMemberEntityListing.md +3 -3
- data/docs/WrapupCodeEntityListing.md +3 -3
- data/lib/purecloudplatformclientv2.rb +3 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +152 -0
- data/lib/purecloudplatformclientv2/api/notifications_api.rb +15 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
- data/lib/purecloudplatformclientv2/models/channel.rb +30 -4
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +15 -15
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +24 -24
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +298 -0
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +24 -24
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +24 -24
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/json_node.rb +65 -65
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/note_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue.rb +15 -15
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +24 -24
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_queue.rb +15 -15
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/view_filter.rb +57 -1
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/wfm_schedule_notification_notification.rb +304 -0
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +24 -24
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +8 -2
@@ -28,13 +28,13 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :
|
32
|
-
|
33
|
-
attr_accessor :previous_uri
|
31
|
+
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :last_uri
|
36
34
|
|
37
|
-
attr_accessor :
|
35
|
+
attr_accessor :previous_uri
|
36
|
+
|
37
|
+
attr_accessor :next_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
@@ -52,13 +52,13 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'
|
56
|
-
|
57
|
-
:'previous_uri' => :'previousUri',
|
55
|
+
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'last_uri' => :'lastUri',
|
60
58
|
|
61
|
-
:'
|
59
|
+
:'previous_uri' => :'previousUri',
|
60
|
+
|
61
|
+
:'next_uri' => :'nextUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
@@ -79,13 +79,13 @@ module PureCloud
|
|
79
79
|
|
80
80
|
:'self_uri' => :'String',
|
81
81
|
|
82
|
-
:'
|
83
|
-
|
84
|
-
:'previous_uri' => :'String',
|
82
|
+
:'first_uri' => :'String',
|
85
83
|
|
86
84
|
:'last_uri' => :'String',
|
87
85
|
|
88
|
-
:'
|
86
|
+
:'previous_uri' => :'String',
|
87
|
+
|
88
|
+
:'next_uri' => :'String',
|
89
89
|
|
90
90
|
:'page_count' => :'Integer'
|
91
91
|
|
@@ -148,37 +148,37 @@ module PureCloud
|
|
148
148
|
end
|
149
149
|
|
150
150
|
|
151
|
-
if attributes.has_key?(:'
|
151
|
+
if attributes.has_key?(:'firstUri')
|
152
152
|
|
153
153
|
|
154
|
-
self.
|
154
|
+
self.first_uri = attributes[:'firstUri']
|
155
155
|
|
156
156
|
|
157
157
|
end
|
158
158
|
|
159
159
|
|
160
|
-
if attributes.has_key?(:'
|
160
|
+
if attributes.has_key?(:'lastUri')
|
161
161
|
|
162
162
|
|
163
|
-
self.
|
163
|
+
self.last_uri = attributes[:'lastUri']
|
164
164
|
|
165
165
|
|
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?(:'nextUri')
|
179
179
|
|
180
180
|
|
181
|
-
self.
|
181
|
+
self.next_uri = attributes[:'nextUri']
|
182
182
|
|
183
183
|
|
184
184
|
end
|
@@ -311,10 +311,10 @@ module PureCloud
|
|
311
311
|
page_number == o.page_number &&
|
312
312
|
total == o.total &&
|
313
313
|
self_uri == o.self_uri &&
|
314
|
-
next_uri == o.next_uri &&
|
315
|
-
previous_uri == o.previous_uri &&
|
316
|
-
last_uri == o.last_uri &&
|
317
314
|
first_uri == o.first_uri &&
|
315
|
+
last_uri == o.last_uri &&
|
316
|
+
previous_uri == o.previous_uri &&
|
317
|
+
next_uri == o.next_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, self_uri,
|
330
|
+
[entities, page_size, page_number, total, self_uri, first_uri, last_uri, previous_uri, next_uri, page_count].hash
|
331
331
|
end
|
332
332
|
|
333
333
|
# build the object from hash
|
@@ -28,13 +28,13 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :
|
32
|
-
|
33
|
-
attr_accessor :previous_uri
|
31
|
+
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :last_uri
|
36
34
|
|
37
|
-
attr_accessor :
|
35
|
+
attr_accessor :previous_uri
|
36
|
+
|
37
|
+
attr_accessor :next_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
@@ -52,13 +52,13 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'
|
56
|
-
|
57
|
-
:'previous_uri' => :'previousUri',
|
55
|
+
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'last_uri' => :'lastUri',
|
60
58
|
|
61
|
-
:'
|
59
|
+
:'previous_uri' => :'previousUri',
|
60
|
+
|
61
|
+
:'next_uri' => :'nextUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
@@ -79,13 +79,13 @@ module PureCloud
|
|
79
79
|
|
80
80
|
:'self_uri' => :'String',
|
81
81
|
|
82
|
-
:'
|
83
|
-
|
84
|
-
:'previous_uri' => :'String',
|
82
|
+
:'first_uri' => :'String',
|
85
83
|
|
86
84
|
:'last_uri' => :'String',
|
87
85
|
|
88
|
-
:'
|
86
|
+
:'previous_uri' => :'String',
|
87
|
+
|
88
|
+
:'next_uri' => :'String',
|
89
89
|
|
90
90
|
:'page_count' => :'Integer'
|
91
91
|
|
@@ -148,37 +148,37 @@ module PureCloud
|
|
148
148
|
end
|
149
149
|
|
150
150
|
|
151
|
-
if attributes.has_key?(:'
|
151
|
+
if attributes.has_key?(:'firstUri')
|
152
152
|
|
153
153
|
|
154
|
-
self.
|
154
|
+
self.first_uri = attributes[:'firstUri']
|
155
155
|
|
156
156
|
|
157
157
|
end
|
158
158
|
|
159
159
|
|
160
|
-
if attributes.has_key?(:'
|
160
|
+
if attributes.has_key?(:'lastUri')
|
161
161
|
|
162
162
|
|
163
|
-
self.
|
163
|
+
self.last_uri = attributes[:'lastUri']
|
164
164
|
|
165
165
|
|
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?(:'nextUri')
|
179
179
|
|
180
180
|
|
181
|
-
self.
|
181
|
+
self.next_uri = attributes[:'nextUri']
|
182
182
|
|
183
183
|
|
184
184
|
end
|
@@ -311,10 +311,10 @@ module PureCloud
|
|
311
311
|
page_number == o.page_number &&
|
312
312
|
total == o.total &&
|
313
313
|
self_uri == o.self_uri &&
|
314
|
-
next_uri == o.next_uri &&
|
315
|
-
previous_uri == o.previous_uri &&
|
316
|
-
last_uri == o.last_uri &&
|
317
314
|
first_uri == o.first_uri &&
|
315
|
+
last_uri == o.last_uri &&
|
316
|
+
previous_uri == o.previous_uri &&
|
317
|
+
next_uri == o.next_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, self_uri,
|
330
|
+
[entities, page_size, page_number, total, self_uri, first_uri, last_uri, previous_uri, next_uri, page_count].hash
|
331
331
|
end
|
332
332
|
|
333
333
|
# build the object from hash
|
@@ -28,13 +28,13 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :
|
32
|
-
|
33
|
-
attr_accessor :previous_uri
|
31
|
+
attr_accessor :first_uri
|
34
32
|
|
35
33
|
attr_accessor :last_uri
|
36
34
|
|
37
|
-
attr_accessor :
|
35
|
+
attr_accessor :previous_uri
|
36
|
+
|
37
|
+
attr_accessor :next_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
@@ -52,13 +52,13 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'
|
56
|
-
|
57
|
-
:'previous_uri' => :'previousUri',
|
55
|
+
:'first_uri' => :'firstUri',
|
58
56
|
|
59
57
|
:'last_uri' => :'lastUri',
|
60
58
|
|
61
|
-
:'
|
59
|
+
:'previous_uri' => :'previousUri',
|
60
|
+
|
61
|
+
:'next_uri' => :'nextUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
@@ -79,13 +79,13 @@ module PureCloud
|
|
79
79
|
|
80
80
|
:'self_uri' => :'String',
|
81
81
|
|
82
|
-
:'
|
83
|
-
|
84
|
-
:'previous_uri' => :'String',
|
82
|
+
:'first_uri' => :'String',
|
85
83
|
|
86
84
|
:'last_uri' => :'String',
|
87
85
|
|
88
|
-
:'
|
86
|
+
:'previous_uri' => :'String',
|
87
|
+
|
88
|
+
:'next_uri' => :'String',
|
89
89
|
|
90
90
|
:'page_count' => :'Integer'
|
91
91
|
|
@@ -148,37 +148,37 @@ module PureCloud
|
|
148
148
|
end
|
149
149
|
|
150
150
|
|
151
|
-
if attributes.has_key?(:'
|
151
|
+
if attributes.has_key?(:'firstUri')
|
152
152
|
|
153
153
|
|
154
|
-
self.
|
154
|
+
self.first_uri = attributes[:'firstUri']
|
155
155
|
|
156
156
|
|
157
157
|
end
|
158
158
|
|
159
159
|
|
160
|
-
if attributes.has_key?(:'
|
160
|
+
if attributes.has_key?(:'lastUri')
|
161
161
|
|
162
162
|
|
163
|
-
self.
|
163
|
+
self.last_uri = attributes[:'lastUri']
|
164
164
|
|
165
165
|
|
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?(:'nextUri')
|
179
179
|
|
180
180
|
|
181
|
-
self.
|
181
|
+
self.next_uri = attributes[:'nextUri']
|
182
182
|
|
183
183
|
|
184
184
|
end
|
@@ -311,10 +311,10 @@ module PureCloud
|
|
311
311
|
page_number == o.page_number &&
|
312
312
|
total == o.total &&
|
313
313
|
self_uri == o.self_uri &&
|
314
|
-
next_uri == o.next_uri &&
|
315
|
-
previous_uri == o.previous_uri &&
|
316
|
-
last_uri == o.last_uri &&
|
317
314
|
first_uri == o.first_uri &&
|
315
|
+
last_uri == o.last_uri &&
|
316
|
+
previous_uri == o.previous_uri &&
|
317
|
+
next_uri == o.next_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, self_uri,
|
330
|
+
[entities, page_size, page_number, total, self_uri, first_uri, last_uri, previous_uri, next_uri, page_count].hash
|
331
331
|
end
|
332
332
|
|
333
333
|
# build the object from hash
|
@@ -0,0 +1,298 @@
|
|
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: ININ
|
11
|
+
http://www.inin.com
|
12
|
+
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class FlowDivisionView
|
21
|
+
# The globally unique identifier for the object.
|
22
|
+
attr_accessor :id
|
23
|
+
|
24
|
+
# The flow name
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
attr_accessor :type
|
28
|
+
|
29
|
+
# The URI for this object
|
30
|
+
attr_accessor :self_uri
|
31
|
+
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
33
|
+
def self.attribute_map
|
34
|
+
{
|
35
|
+
|
36
|
+
:'id' => :'id',
|
37
|
+
|
38
|
+
:'name' => :'name',
|
39
|
+
|
40
|
+
:'type' => :'type',
|
41
|
+
|
42
|
+
:'self_uri' => :'selfUri'
|
43
|
+
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
# Attribute type mapping.
|
48
|
+
def self.swagger_types
|
49
|
+
{
|
50
|
+
|
51
|
+
:'id' => :'String',
|
52
|
+
|
53
|
+
:'name' => :'String',
|
54
|
+
|
55
|
+
:'type' => :'String',
|
56
|
+
|
57
|
+
:'self_uri' => :'String'
|
58
|
+
|
59
|
+
}
|
60
|
+
end
|
61
|
+
|
62
|
+
# Initializes the object
|
63
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
64
|
+
def initialize(attributes = {})
|
65
|
+
return unless attributes.is_a?(Hash)
|
66
|
+
|
67
|
+
# convert string to symbol for hash key
|
68
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
69
|
+
|
70
|
+
|
71
|
+
if attributes.has_key?(:'id')
|
72
|
+
|
73
|
+
|
74
|
+
self.id = attributes[:'id']
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
|
80
|
+
if attributes.has_key?(:'name')
|
81
|
+
|
82
|
+
|
83
|
+
self.name = attributes[:'name']
|
84
|
+
|
85
|
+
|
86
|
+
end
|
87
|
+
|
88
|
+
|
89
|
+
if attributes.has_key?(:'type')
|
90
|
+
|
91
|
+
|
92
|
+
self.type = attributes[:'type']
|
93
|
+
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
|
98
|
+
if attributes.has_key?(:'selfUri')
|
99
|
+
|
100
|
+
|
101
|
+
self.self_uri = attributes[:'selfUri']
|
102
|
+
|
103
|
+
|
104
|
+
end
|
105
|
+
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
110
|
+
# @return Array for valid properies with the reasons
|
111
|
+
def list_invalid_properties
|
112
|
+
invalid_properties = Array.new
|
113
|
+
|
114
|
+
|
115
|
+
return invalid_properties
|
116
|
+
end
|
117
|
+
|
118
|
+
# Check to see if the all the properties in the model are valid
|
119
|
+
# @return true if the model is valid
|
120
|
+
def valid?
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
if @name.nil?
|
128
|
+
return false
|
129
|
+
end
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
|
138
|
+
if @type && !allowed_values.include?(@type)
|
139
|
+
return false
|
140
|
+
end
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
end
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
# Custom attribute writer method checking allowed values (enum).
|
163
|
+
# @param [Object] type Object to be assigned
|
164
|
+
def type=(type)
|
165
|
+
allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
|
166
|
+
if type && !allowed_values.include?(type)
|
167
|
+
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
168
|
+
end
|
169
|
+
@type = type
|
170
|
+
end
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
# Checks equality by comparing each attribute.
|
181
|
+
# @param [Object] Object to be compared
|
182
|
+
def ==(o)
|
183
|
+
return true if self.equal?(o)
|
184
|
+
self.class == o.class &&
|
185
|
+
id == o.id &&
|
186
|
+
name == o.name &&
|
187
|
+
type == o.type &&
|
188
|
+
self_uri == o.self_uri
|
189
|
+
end
|
190
|
+
|
191
|
+
# @see the `==` method
|
192
|
+
# @param [Object] Object to be compared
|
193
|
+
def eql?(o)
|
194
|
+
self == o
|
195
|
+
end
|
196
|
+
|
197
|
+
# Calculates hash code according to all attributes.
|
198
|
+
# @return [Fixnum] Hash code
|
199
|
+
def hash
|
200
|
+
[id, name, type, self_uri].hash
|
201
|
+
end
|
202
|
+
|
203
|
+
# build the object from hash
|
204
|
+
def build_from_hash(attributes)
|
205
|
+
return nil unless attributes.is_a?(Hash)
|
206
|
+
self.class.swagger_types.each_pair do |key, type|
|
207
|
+
if type =~ /^Array<(.*)>/i
|
208
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
209
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
210
|
+
else
|
211
|
+
#TODO show warning in debug mode
|
212
|
+
end
|
213
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
214
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
215
|
+
else
|
216
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
self
|
221
|
+
end
|
222
|
+
|
223
|
+
def _deserialize(type, value)
|
224
|
+
case type.to_sym
|
225
|
+
when :DateTime
|
226
|
+
DateTime.parse(value)
|
227
|
+
when :Date
|
228
|
+
Date.parse(value)
|
229
|
+
when :String
|
230
|
+
value.to_s
|
231
|
+
when :Integer
|
232
|
+
value.to_i
|
233
|
+
when :Float
|
234
|
+
value.to_f
|
235
|
+
when :BOOLEAN
|
236
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
237
|
+
true
|
238
|
+
else
|
239
|
+
false
|
240
|
+
end
|
241
|
+
when :Object
|
242
|
+
# generic object (usually a Hash), return directly
|
243
|
+
value
|
244
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
245
|
+
inner_type = Regexp.last_match[:inner_type]
|
246
|
+
value.map { |v| _deserialize(inner_type, v) }
|
247
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
248
|
+
k_type = Regexp.last_match[:k_type]
|
249
|
+
v_type = Regexp.last_match[:v_type]
|
250
|
+
{}.tap do |hash|
|
251
|
+
value.each do |k, v|
|
252
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
253
|
+
end
|
254
|
+
end
|
255
|
+
else # model
|
256
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
257
|
+
_model.build_from_hash(value)
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
def to_s
|
262
|
+
to_hash.to_s
|
263
|
+
end
|
264
|
+
|
265
|
+
# to_body is an alias to to_body (backward compatibility))
|
266
|
+
def to_body
|
267
|
+
to_hash
|
268
|
+
end
|
269
|
+
|
270
|
+
# return the object in the form of hash
|
271
|
+
def to_hash
|
272
|
+
hash = {}
|
273
|
+
self.class.attribute_map.each_pair do |attr, param|
|
274
|
+
value = self.send(attr)
|
275
|
+
next if value.nil?
|
276
|
+
hash[param] = _to_hash(value)
|
277
|
+
end
|
278
|
+
hash
|
279
|
+
end
|
280
|
+
|
281
|
+
# Method to output non-array value in the form of hash
|
282
|
+
# For object, use to_hash. Otherwise, just return the value
|
283
|
+
def _to_hash(value)
|
284
|
+
if value.is_a?(Array)
|
285
|
+
value.compact.map{ |v| _to_hash(v) }
|
286
|
+
elsif value.is_a?(Hash)
|
287
|
+
{}.tap do |hash|
|
288
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
289
|
+
end
|
290
|
+
elsif value.respond_to? :to_hash
|
291
|
+
value.to_hash
|
292
|
+
else
|
293
|
+
value
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
end
|
298
|
+
end
|