purecloudplatformclientv2 41.0.0 → 42.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActionEntityListing.md +1 -1
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AttributeEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignDivisionViewListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/ClientAppEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/CredentialInfoListing.md +1 -1
- data/docs/CredentialTypeListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DataTableRowEntityListing.md +1 -1
- data/docs/DataTablesDomainEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/Document.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainEntityListingSurveyForm.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EndpointEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FaxDocument.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/GroupProfileEntityListing.md +1 -1
- data/docs/IVREntityListing.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/JsonNode.md +2 -2
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RecipientListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ReportingExportJobListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SurveyFormEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TelephonyProvidersEdgeApi.md +0 -135
- data/docs/TextMessageListing.md +1 -1
- data/docs/TimeZone.md +2 -2
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/TrustEntityListing.md +1 -1
- data/docs/TrustUserEntityListing.md +1 -1
- data/docs/TrustorEntityListing.md +1 -1
- data/docs/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +0 -3
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +0 -140
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +14 -14
- 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 +14 -14
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/fax_document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +14 -14
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +14 -14
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/json_node.rb +50 -50
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/note_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +2 -8
- data/docs/AsgInfoResponse.md +0 -18
- data/docs/CreateAsgRequest.md +0 -22
- data/docs/InstanceInfo.md +0 -17
- data/lib/purecloudplatformclientv2/models/asg_info_response.rb +0 -334
- data/lib/purecloudplatformclientv2/models/create_asg_request.rb +0 -455
- data/lib/purecloudplatformclientv2/models/instance_info.rb +0 -320
|
@@ -30,12 +30,12 @@ module PureCloud
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :first_uri
|
|
32
32
|
|
|
33
|
-
attr_accessor :next_uri
|
|
34
|
-
|
|
35
33
|
attr_accessor :last_uri
|
|
36
34
|
|
|
37
35
|
attr_accessor :previous_uri
|
|
38
36
|
|
|
37
|
+
attr_accessor :next_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -54,12 +54,12 @@ module PureCloud
|
|
|
54
54
|
|
|
55
55
|
:'first_uri' => :'firstUri',
|
|
56
56
|
|
|
57
|
-
:'next_uri' => :'nextUri',
|
|
58
|
-
|
|
59
57
|
:'last_uri' => :'lastUri',
|
|
60
58
|
|
|
61
59
|
:'previous_uri' => :'previousUri',
|
|
62
60
|
|
|
61
|
+
:'next_uri' => :'nextUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -81,12 +81,12 @@ module PureCloud
|
|
|
81
81
|
|
|
82
82
|
:'first_uri' => :'String',
|
|
83
83
|
|
|
84
|
-
:'next_uri' => :'String',
|
|
85
|
-
|
|
86
84
|
:'last_uri' => :'String',
|
|
87
85
|
|
|
88
86
|
:'previous_uri' => :'String',
|
|
89
87
|
|
|
88
|
+
:'next_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -157,28 +157,28 @@ module PureCloud
|
|
|
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
|
|
@@ -312,9 +312,9 @@ module PureCloud
|
|
|
312
312
|
total == o.total &&
|
|
313
313
|
self_uri == o.self_uri &&
|
|
314
314
|
first_uri == o.first_uri &&
|
|
315
|
-
next_uri == o.next_uri &&
|
|
316
315
|
last_uri == o.last_uri &&
|
|
317
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, first_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
|
|
@@ -30,12 +30,12 @@ module PureCloud
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :first_uri
|
|
32
32
|
|
|
33
|
-
attr_accessor :next_uri
|
|
34
|
-
|
|
35
33
|
attr_accessor :last_uri
|
|
36
34
|
|
|
37
35
|
attr_accessor :previous_uri
|
|
38
36
|
|
|
37
|
+
attr_accessor :next_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -54,12 +54,12 @@ module PureCloud
|
|
|
54
54
|
|
|
55
55
|
:'first_uri' => :'firstUri',
|
|
56
56
|
|
|
57
|
-
:'next_uri' => :'nextUri',
|
|
58
|
-
|
|
59
57
|
:'last_uri' => :'lastUri',
|
|
60
58
|
|
|
61
59
|
:'previous_uri' => :'previousUri',
|
|
62
60
|
|
|
61
|
+
:'next_uri' => :'nextUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -81,12 +81,12 @@ module PureCloud
|
|
|
81
81
|
|
|
82
82
|
:'first_uri' => :'String',
|
|
83
83
|
|
|
84
|
-
:'next_uri' => :'String',
|
|
85
|
-
|
|
86
84
|
:'last_uri' => :'String',
|
|
87
85
|
|
|
88
86
|
:'previous_uri' => :'String',
|
|
89
87
|
|
|
88
|
+
:'next_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -157,28 +157,28 @@ module PureCloud
|
|
|
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
|
|
@@ -312,9 +312,9 @@ module PureCloud
|
|
|
312
312
|
total == o.total &&
|
|
313
313
|
self_uri == o.self_uri &&
|
|
314
314
|
first_uri == o.first_uri &&
|
|
315
|
-
next_uri == o.next_uri &&
|
|
316
315
|
last_uri == o.last_uri &&
|
|
317
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, first_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
|
|
@@ -30,12 +30,12 @@ module PureCloud
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :first_uri
|
|
32
32
|
|
|
33
|
-
attr_accessor :next_uri
|
|
34
|
-
|
|
35
33
|
attr_accessor :last_uri
|
|
36
34
|
|
|
37
35
|
attr_accessor :previous_uri
|
|
38
36
|
|
|
37
|
+
attr_accessor :next_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -54,12 +54,12 @@ module PureCloud
|
|
|
54
54
|
|
|
55
55
|
:'first_uri' => :'firstUri',
|
|
56
56
|
|
|
57
|
-
:'next_uri' => :'nextUri',
|
|
58
|
-
|
|
59
57
|
:'last_uri' => :'lastUri',
|
|
60
58
|
|
|
61
59
|
:'previous_uri' => :'previousUri',
|
|
62
60
|
|
|
61
|
+
:'next_uri' => :'nextUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -81,12 +81,12 @@ module PureCloud
|
|
|
81
81
|
|
|
82
82
|
:'first_uri' => :'String',
|
|
83
83
|
|
|
84
|
-
:'next_uri' => :'String',
|
|
85
|
-
|
|
86
84
|
:'last_uri' => :'String',
|
|
87
85
|
|
|
88
86
|
:'previous_uri' => :'String',
|
|
89
87
|
|
|
88
|
+
:'next_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -157,28 +157,28 @@ module PureCloud
|
|
|
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
|
|
@@ -312,9 +312,9 @@ module PureCloud
|
|
|
312
312
|
total == o.total &&
|
|
313
313
|
self_uri == o.self_uri &&
|
|
314
314
|
first_uri == o.first_uri &&
|
|
315
|
-
next_uri == o.next_uri &&
|
|
316
315
|
last_uri == o.last_uri &&
|
|
317
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, first_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
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: purecloudplatformclientv2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 42.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Genesys Developer Evangelists
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-08-
|
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -283,7 +283,6 @@ files:
|
|
|
283
283
|
- docs/AnswerOption.md
|
|
284
284
|
- docs/ArchitectApi.md
|
|
285
285
|
- docs/ArchiveRetention.md
|
|
286
|
-
- docs/AsgInfoResponse.md
|
|
287
286
|
- docs/AssignedWrapupCode.md
|
|
288
287
|
- docs/AsyncWeekScheduleResponse.md
|
|
289
288
|
- docs/Attachment.md
|
|
@@ -568,7 +567,6 @@ files:
|
|
|
568
567
|
- docs/CreateActivityCodeRequest.md
|
|
569
568
|
- docs/CreateAdminTimeOffRequest.md
|
|
570
569
|
- docs/CreateAgentTimeOffRequest.md
|
|
571
|
-
- docs/CreateAsgRequest.md
|
|
572
570
|
- docs/CreateCallRequest.md
|
|
573
571
|
- docs/CreateCallResponse.md
|
|
574
572
|
- docs/CreateCallbackCommand.md
|
|
@@ -885,7 +883,6 @@ files:
|
|
|
885
883
|
- docs/InboundRoute.md
|
|
886
884
|
- docs/InboundRouteEntityListing.md
|
|
887
885
|
- docs/InitiateScreenRecording.md
|
|
888
|
-
- docs/InstanceInfo.md
|
|
889
886
|
- docs/Integration.md
|
|
890
887
|
- docs/IntegrationConfiguration.md
|
|
891
888
|
- docs/IntegrationConfigurationInfo.md
|
|
@@ -1651,7 +1648,6 @@ files:
|
|
|
1651
1648
|
- lib/purecloudplatformclientv2/models/annotation.rb
|
|
1652
1649
|
- lib/purecloudplatformclientv2/models/answer_option.rb
|
|
1653
1650
|
- lib/purecloudplatformclientv2/models/archive_retention.rb
|
|
1654
|
-
- lib/purecloudplatformclientv2/models/asg_info_response.rb
|
|
1655
1651
|
- lib/purecloudplatformclientv2/models/assigned_wrapup_code.rb
|
|
1656
1652
|
- lib/purecloudplatformclientv2/models/async_week_schedule_response.rb
|
|
1657
1653
|
- lib/purecloudplatformclientv2/models/attachment.rb
|
|
@@ -1931,7 +1927,6 @@ files:
|
|
|
1931
1927
|
- lib/purecloudplatformclientv2/models/create_activity_code_request.rb
|
|
1932
1928
|
- lib/purecloudplatformclientv2/models/create_admin_time_off_request.rb
|
|
1933
1929
|
- lib/purecloudplatformclientv2/models/create_agent_time_off_request.rb
|
|
1934
|
-
- lib/purecloudplatformclientv2/models/create_asg_request.rb
|
|
1935
1930
|
- lib/purecloudplatformclientv2/models/create_call_request.rb
|
|
1936
1931
|
- lib/purecloudplatformclientv2/models/create_call_response.rb
|
|
1937
1932
|
- lib/purecloudplatformclientv2/models/create_callback_command.rb
|
|
@@ -2239,7 +2234,6 @@ files:
|
|
|
2239
2234
|
- lib/purecloudplatformclientv2/models/inbound_route.rb
|
|
2240
2235
|
- lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb
|
|
2241
2236
|
- lib/purecloudplatformclientv2/models/initiate_screen_recording.rb
|
|
2242
|
-
- lib/purecloudplatformclientv2/models/instance_info.rb
|
|
2243
2237
|
- lib/purecloudplatformclientv2/models/integration.rb
|
|
2244
2238
|
- lib/purecloudplatformclientv2/models/integration_configuration.rb
|
|
2245
2239
|
- lib/purecloudplatformclientv2/models/integration_configuration_info.rb
|
data/docs/AsgInfoResponse.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: AsgInfoResponse
|
|
3
|
-
---
|
|
4
|
-
## PureCloud::AsgInfoResponse
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
|Name | Type | Description | Notes|
|
|
9
|
-
|------------ | ------------- | ------------- | -------------|
|
|
10
|
-
| **id** | **String** | The full id of the asg <orgId>-<siteId>-ASG-<asgVersion> | [optional] |
|
|
11
|
-
| **site** | [**Site**](Site.html) | The site that the asg belongs to. | [optional] |
|
|
12
|
-
| **ami** | **String** | The version of the asg, ex '003' | [optional] |
|
|
13
|
-
| **edge_version** | **String** | The software ami of the edges in the asg. | [optional] |
|
|
14
|
-
| **instance_info** | [**Array<InstanceInfo>**](InstanceInfo.html) | List of instances and their information that live in the ASG. | [optional] |
|
|
15
|
-
| **self_uri** | **String** | The URI for this object | [optional] |
|
|
16
|
-
{: class="table table-striped"}
|
|
17
|
-
|
|
18
|
-
|
data/docs/CreateAsgRequest.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: CreateAsgRequest
|
|
3
|
-
---
|
|
4
|
-
## PureCloud::CreateAsgRequest
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
|Name | Type | Description | Notes|
|
|
9
|
-
|------------ | ------------- | ------------- | -------------|
|
|
10
|
-
| **asg_owner_email** | **String** | Email address of the individual starting the ASG | |
|
|
11
|
-
| **edge_group_id** | **String** | Edge group that the user wants the asg edges to be assigned to. | [optional] |
|
|
12
|
-
| **external_trunk_base_id** | **String** | Trunk base that the user wants the asg edges to be assigned to | [optional] |
|
|
13
|
-
| **asg_logical_iam_instance_profile** | **String** | Overrides the default logical IAM Instance Profile | [optional] |
|
|
14
|
-
| **asg_ami** | **String** | Overrides the default EDGE AMI used with the ASG | [optional] |
|
|
15
|
-
| **asg_type** | **String** | Overrides the type of ASG being created. By default we always create a 'standard' asg. | [optional] |
|
|
16
|
-
| **asg_instance_count** | **Integer** | Overrides the default number of Edge instances to start in the ASG | [optional] |
|
|
17
|
-
| **asg_network_space** | **String** | Overrides the network space the ASG will start in. The default will always be mediaservices | [optional] |
|
|
18
|
-
| **asg_chaos_exempt** | **BOOLEAN** | Optional parameter that exempts this ASG from chaos monkey killing one of its instances. | [optional] |
|
|
19
|
-
| **asg_recovery_shutdown_minutes** | **Integer** | Number of minutes a recovery ASG will stay active before it is torn down | [optional] |
|
|
20
|
-
{: class="table table-striped"}
|
|
21
|
-
|
|
22
|
-
|
data/docs/InstanceInfo.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: InstanceInfo
|
|
3
|
-
---
|
|
4
|
-
## PureCloud::InstanceInfo
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
|Name | Type | Description | Notes|
|
|
9
|
-
|------------ | ------------- | ------------- | -------------|
|
|
10
|
-
| **id** | **String** | Id of the ec2 instance. | [optional] |
|
|
11
|
-
| **state** | **String** | State of the instance in AWS | [optional] |
|
|
12
|
-
| **edge** | [**Edge**](Edge.html) | Edge object that the instance is associated with. | [optional] |
|
|
13
|
-
| **assigned_phone_count** | **Integer** | Number of phones assigned to the edge. | [optional] |
|
|
14
|
-
| **ami** | **String** | The image id of the instance. | [optional] |
|
|
15
|
-
{: class="table table-striped"}
|
|
16
|
-
|
|
17
|
-
|
|
@@ -1,334 +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
|
-
class AsgInfoResponse
|
|
21
|
-
# The full id of the asg <orgId>-<siteId>-ASG-<asgVersion>
|
|
22
|
-
attr_accessor :id
|
|
23
|
-
|
|
24
|
-
# The site that the asg belongs to.
|
|
25
|
-
attr_accessor :site
|
|
26
|
-
|
|
27
|
-
# The version of the asg, ex '003'
|
|
28
|
-
attr_accessor :ami
|
|
29
|
-
|
|
30
|
-
# The software ami of the edges in the asg.
|
|
31
|
-
attr_accessor :edge_version
|
|
32
|
-
|
|
33
|
-
# List of instances and their information that live in the ASG.
|
|
34
|
-
attr_accessor :instance_info
|
|
35
|
-
|
|
36
|
-
# The URI for this object
|
|
37
|
-
attr_accessor :self_uri
|
|
38
|
-
|
|
39
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
|
-
def self.attribute_map
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
:'id' => :'id',
|
|
44
|
-
|
|
45
|
-
:'site' => :'site',
|
|
46
|
-
|
|
47
|
-
:'ami' => :'ami',
|
|
48
|
-
|
|
49
|
-
:'edge_version' => :'edgeVersion',
|
|
50
|
-
|
|
51
|
-
:'instance_info' => :'instanceInfo',
|
|
52
|
-
|
|
53
|
-
:'self_uri' => :'selfUri'
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
# Attribute type mapping.
|
|
59
|
-
def self.swagger_types
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
:'id' => :'String',
|
|
63
|
-
|
|
64
|
-
:'site' => :'Site',
|
|
65
|
-
|
|
66
|
-
:'ami' => :'String',
|
|
67
|
-
|
|
68
|
-
:'edge_version' => :'String',
|
|
69
|
-
|
|
70
|
-
:'instance_info' => :'Array<InstanceInfo>',
|
|
71
|
-
|
|
72
|
-
:'self_uri' => :'String'
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
# Initializes the object
|
|
78
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
79
|
-
def initialize(attributes = {})
|
|
80
|
-
return unless attributes.is_a?(Hash)
|
|
81
|
-
|
|
82
|
-
# convert string to symbol for hash key
|
|
83
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
if attributes.has_key?(:'id')
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
self.id = attributes[:'id']
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
if attributes.has_key?(:'site')
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
self.site = attributes[:'site']
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
if attributes.has_key?(:'ami')
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
self.ami = attributes[:'ami']
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
if attributes.has_key?(:'edgeVersion')
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
self.edge_version = attributes[:'edgeVersion']
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if attributes.has_key?(:'instanceInfo')
|
|
123
|
-
|
|
124
|
-
if (value = attributes[:'instanceInfo']).is_a?(Array)
|
|
125
|
-
self.instance_info = value
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
if attributes.has_key?(:'selfUri')
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
self.self_uri = attributes[:'selfUri']
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
|
145
|
-
# @return Array for valid properies with the reasons
|
|
146
|
-
def list_invalid_properties
|
|
147
|
-
invalid_properties = Array.new
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
return invalid_properties
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
# Check to see if the all the properties in the model are valid
|
|
154
|
-
# @return true if the model is valid
|
|
155
|
-
def valid?
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
# Checks equality by comparing each attribute.
|
|
215
|
-
# @param [Object] Object to be compared
|
|
216
|
-
def ==(o)
|
|
217
|
-
return true if self.equal?(o)
|
|
218
|
-
self.class == o.class &&
|
|
219
|
-
id == o.id &&
|
|
220
|
-
site == o.site &&
|
|
221
|
-
ami == o.ami &&
|
|
222
|
-
edge_version == o.edge_version &&
|
|
223
|
-
instance_info == o.instance_info &&
|
|
224
|
-
self_uri == o.self_uri
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
# @see the `==` method
|
|
228
|
-
# @param [Object] Object to be compared
|
|
229
|
-
def eql?(o)
|
|
230
|
-
self == o
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
# Calculates hash code according to all attributes.
|
|
234
|
-
# @return [Fixnum] Hash code
|
|
235
|
-
def hash
|
|
236
|
-
[id, site, ami, edge_version, instance_info, self_uri].hash
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
# build the object from hash
|
|
240
|
-
def build_from_hash(attributes)
|
|
241
|
-
return nil unless attributes.is_a?(Hash)
|
|
242
|
-
self.class.swagger_types.each_pair do |key, type|
|
|
243
|
-
if type =~ /^Array<(.*)>/i
|
|
244
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
245
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
246
|
-
else
|
|
247
|
-
#TODO show warning in debug mode
|
|
248
|
-
end
|
|
249
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
250
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
251
|
-
else
|
|
252
|
-
# data not found in attributes(hash), not an issue as the data can be optional
|
|
253
|
-
end
|
|
254
|
-
end
|
|
255
|
-
|
|
256
|
-
self
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
def _deserialize(type, value)
|
|
260
|
-
case type.to_sym
|
|
261
|
-
when :DateTime
|
|
262
|
-
DateTime.parse(value)
|
|
263
|
-
when :Date
|
|
264
|
-
Date.parse(value)
|
|
265
|
-
when :String
|
|
266
|
-
value.to_s
|
|
267
|
-
when :Integer
|
|
268
|
-
value.to_i
|
|
269
|
-
when :Float
|
|
270
|
-
value.to_f
|
|
271
|
-
when :BOOLEAN
|
|
272
|
-
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
|
273
|
-
true
|
|
274
|
-
else
|
|
275
|
-
false
|
|
276
|
-
end
|
|
277
|
-
when :Object
|
|
278
|
-
# generic object (usually a Hash), return directly
|
|
279
|
-
value
|
|
280
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
281
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
282
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
283
|
-
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
|
284
|
-
k_type = Regexp.last_match[:k_type]
|
|
285
|
-
v_type = Regexp.last_match[:v_type]
|
|
286
|
-
{}.tap do |hash|
|
|
287
|
-
value.each do |k, v|
|
|
288
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
289
|
-
end
|
|
290
|
-
end
|
|
291
|
-
else # model
|
|
292
|
-
_model = Object.const_get("PureCloud").const_get(type).new
|
|
293
|
-
_model.build_from_hash(value)
|
|
294
|
-
end
|
|
295
|
-
end
|
|
296
|
-
|
|
297
|
-
def to_s
|
|
298
|
-
to_hash.to_s
|
|
299
|
-
end
|
|
300
|
-
|
|
301
|
-
# to_body is an alias to to_body (backward compatibility))
|
|
302
|
-
def to_body
|
|
303
|
-
to_hash
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
# return the object in the form of hash
|
|
307
|
-
def to_hash
|
|
308
|
-
hash = {}
|
|
309
|
-
self.class.attribute_map.each_pair do |attr, param|
|
|
310
|
-
value = self.send(attr)
|
|
311
|
-
next if value.nil?
|
|
312
|
-
hash[param] = _to_hash(value)
|
|
313
|
-
end
|
|
314
|
-
hash
|
|
315
|
-
end
|
|
316
|
-
|
|
317
|
-
# Method to output non-array value in the form of hash
|
|
318
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
319
|
-
def _to_hash(value)
|
|
320
|
-
if value.is_a?(Array)
|
|
321
|
-
value.compact.map{ |v| _to_hash(v) }
|
|
322
|
-
elsif value.is_a?(Hash)
|
|
323
|
-
{}.tap do |hash|
|
|
324
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
325
|
-
end
|
|
326
|
-
elsif value.respond_to? :to_hash
|
|
327
|
-
value.to_hash
|
|
328
|
-
else
|
|
329
|
-
value
|
|
330
|
-
end
|
|
331
|
-
end
|
|
332
|
-
|
|
333
|
-
end
|
|
334
|
-
end
|