purecloudplatformclientv2 32.0.0 → 33.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 +2 -2
- data/docs/AdminTimeOffRequestPatch.md +19 -0
- data/docs/AgentActivityEntityListing.md +2 -2
- data/docs/AttemptLimitsEntityListing.md +2 -2
- data/docs/AttributeEntityListing.md +2 -2
- data/docs/AuthorizationApi.md +6 -6
- data/docs/AuthzDivision.md +18 -0
- data/docs/AvailableTopic.md +1 -1
- data/docs/CalibrationEntityListing.md +2 -2
- data/docs/CallConversationEntityListing.md +2 -2
- data/docs/CallHistoryConversationEntityListing.md +2 -2
- data/docs/CallHistoryParticipant.md +1 -0
- data/docs/CallableTimeSetEntityListing.md +2 -2
- data/docs/CallbackConversationEntityListing.md +2 -2
- data/docs/Campaign.md +1 -0
- data/docs/CampaignDiagnostics.md +1 -0
- data/docs/CampaignEntityListing.md +2 -2
- data/docs/CampaignRuleEntityListing.md +2 -2
- data/docs/CampaignSequenceEntityListing.md +2 -2
- data/docs/CertificateAuthorityEntityListing.md +2 -2
- data/docs/CertificateDetails.md +1 -1
- data/docs/Channel.md +1 -1
- data/docs/ChannelTopic.md +1 -1
- data/docs/ChatConversationEntityListing.md +2 -2
- data/docs/ClientAppEntityListing.md +2 -2
- data/docs/CobrowseConversationEntityListing.md +2 -2
- data/docs/CommandStatusEntityListing.md +2 -2
- data/docs/ConsumedResourcesEntityListing.md +2 -2
- data/docs/ConsumingResourcesEntityListing.md +2 -2
- data/docs/ContactColumnTimeZone.md +2 -0
- data/docs/ContactList.md +3 -1
- data/docs/ContactListEntityListing.md +2 -2
- data/docs/ContactListFilterEntityListing.md +2 -2
- data/docs/ContactListing.md +2 -2
- data/docs/ContactPhoneNumberColumn.md +1 -1
- data/docs/ConversationEntityListing.md +2 -2
- data/docs/CredentialInfoListing.md +2 -2
- data/docs/CredentialTypeListing.md +2 -2
- data/docs/DIDEntityListing.md +2 -2
- data/docs/DIDPoolEntityListing.md +2 -2
- data/docs/DataTableRowEntityListing.md +2 -2
- data/docs/DataTablesDomainEntityListing.md +2 -2
- data/docs/DependencyObjectEntityListing.md +2 -2
- data/docs/DependencyTypeEntityListing.md +2 -2
- data/docs/DialerAction.md +1 -1
- data/docs/DialerContact.md +1 -0
- data/docs/DialerEventEntityListing.md +2 -2
- data/docs/Digits.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +2 -2
- data/docs/DncListEntityListing.md +2 -2
- data/docs/DocumentAuditEntityListing.md +2 -2
- data/docs/DocumentEntityListing.md +2 -2
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
- data/docs/DomainEntityListing.md +2 -2
- data/docs/DomainEntityListingEvaluationForm.md +2 -2
- data/docs/DomainEntityListingQueryResult.md +2 -2
- data/docs/DomainEntityListingSurveyForm.md +2 -2
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/DomainPermission.md +1 -0
- data/docs/EdgeEntityListing.md +2 -2
- data/docs/EdgeGroupEntityListing.md +2 -2
- data/docs/EdgeLineEntityListing.md +2 -2
- data/docs/EmailConversationEntityListing.md +2 -2
- data/docs/EmailMessageListing.md +2 -2
- data/docs/EmergencyGroupListing.md +2 -2
- data/docs/EncryptionKeyEntityListing.md +2 -2
- data/docs/EndpointEntityListing.md +2 -2
- data/docs/EvaluationEntityListing.md +2 -2
- data/docs/EvaluationFormEntityListing.md +2 -2
- data/docs/EvaluatorActivityEntityListing.md +2 -2
- data/docs/ExtensionEntityListing.md +2 -2
- data/docs/ExtensionPoolEntityListing.md +2 -2
- data/docs/ExternalContact.md +1 -1
- data/docs/ExternalOrganization.md +1 -1
- data/docs/ExternalOrganizationListing.md +2 -2
- data/docs/FaxDocumentEntityListing.md +2 -2
- data/docs/Flow.md +1 -0
- data/docs/FlowEntityListing.md +2 -2
- data/docs/FlowVersionEntityListing.md +2 -2
- data/docs/GreetingListing.md +2 -2
- data/docs/GroupEntityListing.md +2 -2
- data/docs/GroupProfileEntityListing.md +2 -2
- data/docs/GroupsApi.md +2 -2
- data/docs/IVREntityListing.md +2 -2
- data/docs/InboundDomainEntityListing.md +2 -2
- data/docs/InboundRouteEntityListing.md +2 -2
- data/docs/IntegrationEntityListing.md +2 -2
- data/docs/IntegrationEventEntityListing.md +2 -2
- data/docs/IntegrationTypeEntityListing.md +2 -2
- data/docs/IntegrationsApi.md +16 -16
- data/docs/InteractionStatsAlertContainer.md +2 -2
- data/docs/InteractionStatsRuleContainer.md +2 -2
- data/docs/JsonNode.md +3 -3
- data/docs/KeywordSetEntityListing.md +2 -2
- data/docs/LanguageEntityListing.md +2 -2
- data/docs/LibraryEntityListing.md +2 -2
- data/docs/LineBaseEntityListing.md +2 -2
- data/docs/LineEntityListing.md +2 -2
- data/docs/LocationEntityListing.md +2 -2
- data/docs/LogicalInterfaceEntityListing.md +2 -2
- data/docs/ManagementUnitListing.md +2 -2
- data/docs/MessageConversationEntityListing.md +2 -2
- data/docs/NoteListing.md +2 -2
- data/docs/OAuthClientEntityListing.md +2 -2
- data/docs/OAuthProviderEntityListing.md +2 -2
- data/docs/OrganizationPresenceEntityListing.md +2 -2
- data/docs/OrganizationRoleEntityListing.md +2 -2
- data/docs/OrphanRecordingListing.md +2 -2
- data/docs/OutboundRouteBaseEntityListing.md +2 -2
- data/docs/OutboundRouteEntityListing.md +2 -2
- data/docs/OutboundSettings.md +2 -0
- data/docs/PermissionCollectionEntityListing.md +2 -2
- data/docs/PhoneBaseEntityListing.md +2 -2
- data/docs/PhoneEntityListing.md +2 -2
- data/docs/PhoneMetaBaseEntityListing.md +2 -2
- data/docs/PhysicalInterfaceEntityListing.md +2 -2
- data/docs/PolicyEntityListing.md +2 -2
- data/docs/PromptAssetEntityListing.md +2 -2
- data/docs/PromptEntityListing.md +2 -2
- data/docs/QualityApi.md +18 -18
- data/docs/QualityAuditPage.md +2 -2
- data/docs/QueueEntityListing.md +2 -2
- data/docs/QueueMemberEntityListing.md +2 -2
- data/docs/RecipientListing.md +2 -2
- data/docs/RecordingApi.md +4 -4
- data/docs/RelationshipListing.md +2 -2
- data/docs/ReportMetaDataEntityListing.md +2 -2
- data/docs/ReportRunEntryEntityDomainListing.md +2 -2
- data/docs/ReportScheduleEntityListing.md +2 -2
- data/docs/ReportingExportJobListing.md +2 -2
- data/docs/ResponseEntityList.md +2 -2
- data/docs/ResponseEntityListing.md +2 -2
- data/docs/ResponseSetEntityListing.md +2 -2
- data/docs/RoutingApi.md +2 -2
- data/docs/RuleSetEntityListing.md +2 -2
- data/docs/ScheduleEntityListing.md +2 -2
- data/docs/ScheduleGroupEntityListing.md +2 -2
- data/docs/SchemaCategoryEntityListing.md +2 -2
- data/docs/SchemaReferenceEntityListing.md +2 -2
- data/docs/ScreenRecordingSessionListing.md +2 -2
- data/docs/ScriptEntityListing.md +2 -2
- data/docs/SecurityProfileEntityListing.md +2 -2
- data/docs/ShareEntityListing.md +2 -2
- data/docs/SiteEntityListing.md +2 -2
- data/docs/SkillEntityListing.md +2 -2
- data/docs/SmsPhoneNumberEntityListing.md +2 -2
- data/docs/StationEntityListing.md +2 -2
- data/docs/SurveyFormEntityListing.md +2 -2
- data/docs/SystemPromptAssetEntityListing.md +2 -2
- data/docs/SystemPromptEntityListing.md +2 -2
- data/docs/TagValueEntityListing.md +2 -2
- data/docs/TextMessageListing.md +2 -2
- data/docs/TimeOffRequestList.md +1 -1
- data/docs/{TimeOffRequest.md → TimeOffRequestResponse.md} +15 -15
- data/docs/TimeZone.md +2 -2
- data/docs/TimeZoneEntityListing.md +2 -2
- data/docs/TrunkBaseEntityListing.md +2 -2
- data/docs/TrunkEntityListing.md +2 -2
- data/docs/TrunkMetabaseEntityListing.md +2 -2
- data/docs/TrustEntityListing.md +2 -2
- data/docs/TrustUserEntityListing.md +2 -2
- data/docs/TrustorEntityListing.md +2 -2
- data/docs/UserActionCategoryEntityListing.md +2 -2
- data/docs/UserEntityListing.md +2 -2
- data/docs/UserLanguageEntityListing.md +2 -2
- data/docs/UserProfileEntityListing.md +2 -2
- data/docs/UserQueueEntityListing.md +2 -2
- data/docs/UserRecordingEntityListing.md +2 -2
- data/docs/UserSchedule.md +3 -0
- data/docs/UserScheduleActivity.md +1 -0
- data/docs/UserScheduleFullDayTimeOffMarker.md +2 -1
- data/docs/UserScheduleShift.md +3 -0
- data/docs/UserSkillEntityListing.md +2 -2
- data/docs/ViewFilter.md +1 -0
- data/docs/VoicemailMessageEntityListing.md +2 -2
- data/docs/WorkforceManagementApi.md +89 -19
- data/docs/WorkspaceEntityListing.md +2 -2
- data/docs/WorkspaceMemberEntityListing.md +2 -2
- data/docs/WrapupCodeEntityListing.md +2 -2
- data/docs/{Entity.md → WritableEntity.md} +2 -2
- data/lib/purecloudplatformclientv2.rb +4 -12
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/groups_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/integrations_api.rb +16 -16
- data/lib/purecloudplatformclientv2/api/quality_api.rb +18 -18
- data/lib/purecloudplatformclientv2/api/recording_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +110 -17
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{platform.rb → admin_time_off_request_patch.rb} +165 -20
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{paged_listing_entity.rb → authz_division.rb} +69 -34
- data/lib/purecloudplatformclientv2/models/available_topic.rb +0 -1
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/call_history_participant.rb +44 -4
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign.rb +27 -1
- data/lib/purecloudplatformclientv2/models/campaign_diagnostics.rb +30 -4
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
- data/lib/purecloudplatformclientv2/models/channel.rb +0 -1
- data/lib/purecloudplatformclientv2/models/channel_topic.rb +0 -1
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_column_time_zone.rb +68 -2
- data/lib/purecloudplatformclientv2/models/contact_list.rb +54 -2
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_phone_number_column.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dialer_action.rb +1 -1
- data/lib/purecloudplatformclientv2/models/dialer_contact.rb +29 -1
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/digits.rb +1 -6
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +13 -13
- 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/domain_permission.rb +29 -4
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/external_contact.rb +1 -1
- data/lib/purecloudplatformclientv2/models/external_organization.rb +1 -1
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow.rb +26 -1
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +13 -13
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +13 -13
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/json_node.rb +53 -53
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/note_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/outbound_settings.rb +67 -1
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +13 -13
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/time_off_request_list.rb +1 -1
- data/lib/purecloudplatformclientv2/models/{time_off_request.rb → time_off_request_response.rb} +51 -80
- data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/user_schedule.rb +87 -4
- data/lib/purecloudplatformclientv2/models/user_schedule_activity.rb +30 -4
- data/lib/purecloudplatformclientv2/models/user_schedule_full_day_time_off_marker.rb +31 -5
- data/lib/purecloudplatformclientv2/models/user_schedule_shift.rb +82 -4
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/view_filter.rb +32 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +13 -13
- data/lib/purecloudplatformclientv2/models/{entity.rb → writable_entity.rb} +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +11 -27
- data/docs/AppFoundryApi.md +0 -229
- data/docs/AppFoundryListing.md +0 -36
- data/docs/AppFoundryListingCategory.md +0 -14
- data/docs/AppFoundryListingRegistryInfo.md +0 -14
- data/docs/LocalizedField.md +0 -12
- data/docs/MarketingInfo.md +0 -14
- data/docs/PagedListingEntity.md +0 -17
- data/docs/Platform.md +0 -14
- data/docs/PricingOption.md +0 -14
- data/docs/SmartCase.md +0 -14
- data/lib/purecloudplatformclientv2/api/app_foundry_api.rb +0 -360
- data/lib/purecloudplatformclientv2/models/app_foundry_listing.rb +0 -815
- data/lib/purecloudplatformclientv2/models/app_foundry_listing_category.rb +0 -231
- data/lib/purecloudplatformclientv2/models/app_foundry_listing_registry_info.rb +0 -231
- data/lib/purecloudplatformclientv2/models/localized_field.rb +0 -177
- data/lib/purecloudplatformclientv2/models/marketing_info.rb +0 -229
- data/lib/purecloudplatformclientv2/models/pricing_option.rb +0 -234
- data/lib/purecloudplatformclientv2/models/smart_case.rb +0 -229
@@ -1,815 +0,0 @@
|
|
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
|
-
# Represents a listing in the AppFoundry
|
21
|
-
class AppFoundryListing
|
22
|
-
# The globally unique identifier for the object.
|
23
|
-
attr_accessor :id
|
24
|
-
|
25
|
-
# Localized name
|
26
|
-
attr_accessor :name
|
27
|
-
|
28
|
-
# Provides information about the integration implementation
|
29
|
-
attr_accessor :registry_info
|
30
|
-
|
31
|
-
# Marketing data
|
32
|
-
attr_accessor :marketing_info
|
33
|
-
|
34
|
-
# Localized tagline
|
35
|
-
attr_accessor :tagline
|
36
|
-
|
37
|
-
# Localized short description
|
38
|
-
attr_accessor :brief_description
|
39
|
-
|
40
|
-
# Localized full description
|
41
|
-
attr_accessor :full_description
|
42
|
-
|
43
|
-
# The supported platform
|
44
|
-
attr_accessor :platform
|
45
|
-
|
46
|
-
# URL to the company logo to be displayed
|
47
|
-
attr_accessor :company_logo
|
48
|
-
|
49
|
-
# URL to the app logo to be displayed
|
50
|
-
attr_accessor :app_logo
|
51
|
-
|
52
|
-
# Localized company name for the listing publisher
|
53
|
-
attr_accessor :company_name
|
54
|
-
|
55
|
-
# Localized URL to the website associated with the listing
|
56
|
-
attr_accessor :website
|
57
|
-
|
58
|
-
# Screenshot URLS
|
59
|
-
attr_accessor :screenshots
|
60
|
-
|
61
|
-
# Usage video URLS
|
62
|
-
attr_accessor :video_links
|
63
|
-
|
64
|
-
# Indicates the languages that the application supports. Supported application languages may differ from the listing localization languages
|
65
|
-
attr_accessor :languages
|
66
|
-
|
67
|
-
# Contact email for the listing publisher
|
68
|
-
attr_accessor :vendor_email
|
69
|
-
|
70
|
-
# URL to the terms of service
|
71
|
-
attr_accessor :terms_of_service
|
72
|
-
|
73
|
-
# URL to help documentation
|
74
|
-
attr_accessor :help_documentation_url
|
75
|
-
|
76
|
-
# URL to external marketing page
|
77
|
-
attr_accessor :marketing_url
|
78
|
-
|
79
|
-
# Industries targeted
|
80
|
-
attr_accessor :industries
|
81
|
-
|
82
|
-
# Indicated the categories the listing belongs to
|
83
|
-
attr_accessor :categories
|
84
|
-
|
85
|
-
# Use cases the listing is meant to address
|
86
|
-
attr_accessor :smart_cases
|
87
|
-
|
88
|
-
# Pricing options for the listing
|
89
|
-
attr_accessor :pricing
|
90
|
-
|
91
|
-
# The URI for this object
|
92
|
-
attr_accessor :self_uri
|
93
|
-
|
94
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
95
|
-
def self.attribute_map
|
96
|
-
{
|
97
|
-
|
98
|
-
:'id' => :'id',
|
99
|
-
|
100
|
-
:'name' => :'name',
|
101
|
-
|
102
|
-
:'registry_info' => :'registryInfo',
|
103
|
-
|
104
|
-
:'marketing_info' => :'marketingInfo',
|
105
|
-
|
106
|
-
:'tagline' => :'tagline',
|
107
|
-
|
108
|
-
:'brief_description' => :'briefDescription',
|
109
|
-
|
110
|
-
:'full_description' => :'fullDescription',
|
111
|
-
|
112
|
-
:'platform' => :'platform',
|
113
|
-
|
114
|
-
:'company_logo' => :'companyLogo',
|
115
|
-
|
116
|
-
:'app_logo' => :'appLogo',
|
117
|
-
|
118
|
-
:'company_name' => :'companyName',
|
119
|
-
|
120
|
-
:'website' => :'website',
|
121
|
-
|
122
|
-
:'screenshots' => :'screenshots',
|
123
|
-
|
124
|
-
:'video_links' => :'videoLinks',
|
125
|
-
|
126
|
-
:'languages' => :'languages',
|
127
|
-
|
128
|
-
:'vendor_email' => :'vendorEmail',
|
129
|
-
|
130
|
-
:'terms_of_service' => :'termsOfService',
|
131
|
-
|
132
|
-
:'help_documentation_url' => :'helpDocumentationURL',
|
133
|
-
|
134
|
-
:'marketing_url' => :'marketingURL',
|
135
|
-
|
136
|
-
:'industries' => :'industries',
|
137
|
-
|
138
|
-
:'categories' => :'categories',
|
139
|
-
|
140
|
-
:'smart_cases' => :'smartCases',
|
141
|
-
|
142
|
-
:'pricing' => :'pricing',
|
143
|
-
|
144
|
-
:'self_uri' => :'selfUri'
|
145
|
-
|
146
|
-
}
|
147
|
-
end
|
148
|
-
|
149
|
-
# Attribute type mapping.
|
150
|
-
def self.swagger_types
|
151
|
-
{
|
152
|
-
|
153
|
-
:'id' => :'String',
|
154
|
-
|
155
|
-
:'name' => :'LocalizedField',
|
156
|
-
|
157
|
-
:'registry_info' => :'AppFoundryListingRegistryInfo',
|
158
|
-
|
159
|
-
:'marketing_info' => :'MarketingInfo',
|
160
|
-
|
161
|
-
:'tagline' => :'LocalizedField',
|
162
|
-
|
163
|
-
:'brief_description' => :'LocalizedField',
|
164
|
-
|
165
|
-
:'full_description' => :'LocalizedField',
|
166
|
-
|
167
|
-
:'platform' => :'Platform',
|
168
|
-
|
169
|
-
:'company_logo' => :'String',
|
170
|
-
|
171
|
-
:'app_logo' => :'String',
|
172
|
-
|
173
|
-
:'company_name' => :'LocalizedField',
|
174
|
-
|
175
|
-
:'website' => :'LocalizedField',
|
176
|
-
|
177
|
-
:'screenshots' => :'Array<String>',
|
178
|
-
|
179
|
-
:'video_links' => :'Array<String>',
|
180
|
-
|
181
|
-
:'languages' => :'Array<String>',
|
182
|
-
|
183
|
-
:'vendor_email' => :'String',
|
184
|
-
|
185
|
-
:'terms_of_service' => :'String',
|
186
|
-
|
187
|
-
:'help_documentation_url' => :'LocalizedField',
|
188
|
-
|
189
|
-
:'marketing_url' => :'LocalizedField',
|
190
|
-
|
191
|
-
:'industries' => :'Array<String>',
|
192
|
-
|
193
|
-
:'categories' => :'Array<String>',
|
194
|
-
|
195
|
-
:'smart_cases' => :'Array<SmartCase>',
|
196
|
-
|
197
|
-
:'pricing' => :'Array<PricingOption>',
|
198
|
-
|
199
|
-
:'self_uri' => :'String'
|
200
|
-
|
201
|
-
}
|
202
|
-
end
|
203
|
-
|
204
|
-
# Initializes the object
|
205
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
206
|
-
def initialize(attributes = {})
|
207
|
-
return unless attributes.is_a?(Hash)
|
208
|
-
|
209
|
-
# convert string to symbol for hash key
|
210
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
211
|
-
|
212
|
-
|
213
|
-
if attributes.has_key?(:'id')
|
214
|
-
|
215
|
-
|
216
|
-
self.id = attributes[:'id']
|
217
|
-
|
218
|
-
|
219
|
-
end
|
220
|
-
|
221
|
-
|
222
|
-
if attributes.has_key?(:'name')
|
223
|
-
|
224
|
-
|
225
|
-
self.name = attributes[:'name']
|
226
|
-
|
227
|
-
|
228
|
-
end
|
229
|
-
|
230
|
-
|
231
|
-
if attributes.has_key?(:'registryInfo')
|
232
|
-
|
233
|
-
|
234
|
-
self.registry_info = attributes[:'registryInfo']
|
235
|
-
|
236
|
-
|
237
|
-
end
|
238
|
-
|
239
|
-
|
240
|
-
if attributes.has_key?(:'marketingInfo')
|
241
|
-
|
242
|
-
|
243
|
-
self.marketing_info = attributes[:'marketingInfo']
|
244
|
-
|
245
|
-
|
246
|
-
end
|
247
|
-
|
248
|
-
|
249
|
-
if attributes.has_key?(:'tagline')
|
250
|
-
|
251
|
-
|
252
|
-
self.tagline = attributes[:'tagline']
|
253
|
-
|
254
|
-
|
255
|
-
end
|
256
|
-
|
257
|
-
|
258
|
-
if attributes.has_key?(:'briefDescription')
|
259
|
-
|
260
|
-
|
261
|
-
self.brief_description = attributes[:'briefDescription']
|
262
|
-
|
263
|
-
|
264
|
-
end
|
265
|
-
|
266
|
-
|
267
|
-
if attributes.has_key?(:'fullDescription')
|
268
|
-
|
269
|
-
|
270
|
-
self.full_description = attributes[:'fullDescription']
|
271
|
-
|
272
|
-
|
273
|
-
end
|
274
|
-
|
275
|
-
|
276
|
-
if attributes.has_key?(:'platform')
|
277
|
-
|
278
|
-
|
279
|
-
self.platform = attributes[:'platform']
|
280
|
-
|
281
|
-
|
282
|
-
end
|
283
|
-
|
284
|
-
|
285
|
-
if attributes.has_key?(:'companyLogo')
|
286
|
-
|
287
|
-
|
288
|
-
self.company_logo = attributes[:'companyLogo']
|
289
|
-
|
290
|
-
|
291
|
-
end
|
292
|
-
|
293
|
-
|
294
|
-
if attributes.has_key?(:'appLogo')
|
295
|
-
|
296
|
-
|
297
|
-
self.app_logo = attributes[:'appLogo']
|
298
|
-
|
299
|
-
|
300
|
-
end
|
301
|
-
|
302
|
-
|
303
|
-
if attributes.has_key?(:'companyName')
|
304
|
-
|
305
|
-
|
306
|
-
self.company_name = attributes[:'companyName']
|
307
|
-
|
308
|
-
|
309
|
-
end
|
310
|
-
|
311
|
-
|
312
|
-
if attributes.has_key?(:'website')
|
313
|
-
|
314
|
-
|
315
|
-
self.website = attributes[:'website']
|
316
|
-
|
317
|
-
|
318
|
-
end
|
319
|
-
|
320
|
-
|
321
|
-
if attributes.has_key?(:'screenshots')
|
322
|
-
|
323
|
-
if (value = attributes[:'screenshots']).is_a?(Array)
|
324
|
-
self.screenshots = value
|
325
|
-
end
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
end
|
330
|
-
|
331
|
-
|
332
|
-
if attributes.has_key?(:'videoLinks')
|
333
|
-
|
334
|
-
if (value = attributes[:'videoLinks']).is_a?(Array)
|
335
|
-
self.video_links = value
|
336
|
-
end
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
end
|
341
|
-
|
342
|
-
|
343
|
-
if attributes.has_key?(:'languages')
|
344
|
-
|
345
|
-
if (value = attributes[:'languages']).is_a?(Array)
|
346
|
-
self.languages = value
|
347
|
-
end
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
end
|
352
|
-
|
353
|
-
|
354
|
-
if attributes.has_key?(:'vendorEmail')
|
355
|
-
|
356
|
-
|
357
|
-
self.vendor_email = attributes[:'vendorEmail']
|
358
|
-
|
359
|
-
|
360
|
-
end
|
361
|
-
|
362
|
-
|
363
|
-
if attributes.has_key?(:'termsOfService')
|
364
|
-
|
365
|
-
|
366
|
-
self.terms_of_service = attributes[:'termsOfService']
|
367
|
-
|
368
|
-
|
369
|
-
end
|
370
|
-
|
371
|
-
|
372
|
-
if attributes.has_key?(:'helpDocumentationURL')
|
373
|
-
|
374
|
-
|
375
|
-
self.help_documentation_url = attributes[:'helpDocumentationURL']
|
376
|
-
|
377
|
-
|
378
|
-
end
|
379
|
-
|
380
|
-
|
381
|
-
if attributes.has_key?(:'marketingURL')
|
382
|
-
|
383
|
-
|
384
|
-
self.marketing_url = attributes[:'marketingURL']
|
385
|
-
|
386
|
-
|
387
|
-
end
|
388
|
-
|
389
|
-
|
390
|
-
if attributes.has_key?(:'industries')
|
391
|
-
|
392
|
-
if (value = attributes[:'industries']).is_a?(Array)
|
393
|
-
self.industries = value
|
394
|
-
end
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
end
|
399
|
-
|
400
|
-
|
401
|
-
if attributes.has_key?(:'categories')
|
402
|
-
|
403
|
-
if (value = attributes[:'categories']).is_a?(Array)
|
404
|
-
self.categories = value
|
405
|
-
end
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
end
|
410
|
-
|
411
|
-
|
412
|
-
if attributes.has_key?(:'smartCases')
|
413
|
-
|
414
|
-
if (value = attributes[:'smartCases']).is_a?(Array)
|
415
|
-
self.smart_cases = value
|
416
|
-
end
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
end
|
421
|
-
|
422
|
-
|
423
|
-
if attributes.has_key?(:'pricing')
|
424
|
-
|
425
|
-
if (value = attributes[:'pricing']).is_a?(Array)
|
426
|
-
self.pricing = value
|
427
|
-
end
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
end
|
432
|
-
|
433
|
-
|
434
|
-
if attributes.has_key?(:'selfUri')
|
435
|
-
|
436
|
-
|
437
|
-
self.self_uri = attributes[:'selfUri']
|
438
|
-
|
439
|
-
|
440
|
-
end
|
441
|
-
|
442
|
-
|
443
|
-
end
|
444
|
-
|
445
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
446
|
-
# @return Array for valid properies with the reasons
|
447
|
-
def list_invalid_properties
|
448
|
-
invalid_properties = Array.new
|
449
|
-
|
450
|
-
|
451
|
-
return invalid_properties
|
452
|
-
end
|
453
|
-
|
454
|
-
# Check to see if the all the properties in the model are valid
|
455
|
-
# @return true if the model is valid
|
456
|
-
def valid?
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
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
|
-
|
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
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
end
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
# Checks equality by comparing each attribute.
|
678
|
-
# @param [Object] Object to be compared
|
679
|
-
def ==(o)
|
680
|
-
return true if self.equal?(o)
|
681
|
-
self.class == o.class &&
|
682
|
-
id == o.id &&
|
683
|
-
name == o.name &&
|
684
|
-
registry_info == o.registry_info &&
|
685
|
-
marketing_info == o.marketing_info &&
|
686
|
-
tagline == o.tagline &&
|
687
|
-
brief_description == o.brief_description &&
|
688
|
-
full_description == o.full_description &&
|
689
|
-
platform == o.platform &&
|
690
|
-
company_logo == o.company_logo &&
|
691
|
-
app_logo == o.app_logo &&
|
692
|
-
company_name == o.company_name &&
|
693
|
-
website == o.website &&
|
694
|
-
screenshots == o.screenshots &&
|
695
|
-
video_links == o.video_links &&
|
696
|
-
languages == o.languages &&
|
697
|
-
vendor_email == o.vendor_email &&
|
698
|
-
terms_of_service == o.terms_of_service &&
|
699
|
-
help_documentation_url == o.help_documentation_url &&
|
700
|
-
marketing_url == o.marketing_url &&
|
701
|
-
industries == o.industries &&
|
702
|
-
categories == o.categories &&
|
703
|
-
smart_cases == o.smart_cases &&
|
704
|
-
pricing == o.pricing &&
|
705
|
-
self_uri == o.self_uri
|
706
|
-
end
|
707
|
-
|
708
|
-
# @see the `==` method
|
709
|
-
# @param [Object] Object to be compared
|
710
|
-
def eql?(o)
|
711
|
-
self == o
|
712
|
-
end
|
713
|
-
|
714
|
-
# Calculates hash code according to all attributes.
|
715
|
-
# @return [Fixnum] Hash code
|
716
|
-
def hash
|
717
|
-
[id, name, registry_info, marketing_info, tagline, brief_description, full_description, platform, company_logo, app_logo, company_name, website, screenshots, video_links, languages, vendor_email, terms_of_service, help_documentation_url, marketing_url, industries, categories, smart_cases, pricing, self_uri].hash
|
718
|
-
end
|
719
|
-
|
720
|
-
# build the object from hash
|
721
|
-
def build_from_hash(attributes)
|
722
|
-
return nil unless attributes.is_a?(Hash)
|
723
|
-
self.class.swagger_types.each_pair do |key, type|
|
724
|
-
if type =~ /^Array<(.*)>/i
|
725
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
726
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
727
|
-
else
|
728
|
-
#TODO show warning in debug mode
|
729
|
-
end
|
730
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
731
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
732
|
-
else
|
733
|
-
# data not found in attributes(hash), not an issue as the data can be optional
|
734
|
-
end
|
735
|
-
end
|
736
|
-
|
737
|
-
self
|
738
|
-
end
|
739
|
-
|
740
|
-
def _deserialize(type, value)
|
741
|
-
case type.to_sym
|
742
|
-
when :DateTime
|
743
|
-
DateTime.parse(value)
|
744
|
-
when :Date
|
745
|
-
Date.parse(value)
|
746
|
-
when :String
|
747
|
-
value.to_s
|
748
|
-
when :Integer
|
749
|
-
value.to_i
|
750
|
-
when :Float
|
751
|
-
value.to_f
|
752
|
-
when :BOOLEAN
|
753
|
-
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
754
|
-
true
|
755
|
-
else
|
756
|
-
false
|
757
|
-
end
|
758
|
-
when :Object
|
759
|
-
# generic object (usually a Hash), return directly
|
760
|
-
value
|
761
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
762
|
-
inner_type = Regexp.last_match[:inner_type]
|
763
|
-
value.map { |v| _deserialize(inner_type, v) }
|
764
|
-
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
765
|
-
k_type = Regexp.last_match[:k_type]
|
766
|
-
v_type = Regexp.last_match[:v_type]
|
767
|
-
{}.tap do |hash|
|
768
|
-
value.each do |k, v|
|
769
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
770
|
-
end
|
771
|
-
end
|
772
|
-
else # model
|
773
|
-
_model = Object.const_get("PureCloud").const_get(type).new
|
774
|
-
_model.build_from_hash(value)
|
775
|
-
end
|
776
|
-
end
|
777
|
-
|
778
|
-
def to_s
|
779
|
-
to_hash.to_s
|
780
|
-
end
|
781
|
-
|
782
|
-
# to_body is an alias to to_body (backward compatibility))
|
783
|
-
def to_body
|
784
|
-
to_hash
|
785
|
-
end
|
786
|
-
|
787
|
-
# return the object in the form of hash
|
788
|
-
def to_hash
|
789
|
-
hash = {}
|
790
|
-
self.class.attribute_map.each_pair do |attr, param|
|
791
|
-
value = self.send(attr)
|
792
|
-
next if value.nil?
|
793
|
-
hash[param] = _to_hash(value)
|
794
|
-
end
|
795
|
-
hash
|
796
|
-
end
|
797
|
-
|
798
|
-
# Method to output non-array value in the form of hash
|
799
|
-
# For object, use to_hash. Otherwise, just return the value
|
800
|
-
def _to_hash(value)
|
801
|
-
if value.is_a?(Array)
|
802
|
-
value.compact.map{ |v| _to_hash(v) }
|
803
|
-
elsif value.is_a?(Hash)
|
804
|
-
{}.tap do |hash|
|
805
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
806
|
-
end
|
807
|
-
elsif value.respond_to? :to_hash
|
808
|
-
value.to_hash
|
809
|
-
else
|
810
|
-
value
|
811
|
-
end
|
812
|
-
end
|
813
|
-
|
814
|
-
end
|
815
|
-
end
|