purecloud 0.68.1 → 0.69.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/notificationMappings.json +12 -4
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +3 -3
- data/doc_out/AggregateViewData.html.md +14 -0
- data/doc_out/AggregationQuery.html.md +1 -0
- data/doc_out/AnalyticsView.html.md +16 -0
- data/doc_out/AnswerOption.html.md +15 -0
- data/doc_out/AttemptLimitsEntityListing.html.md +3 -3
- data/doc_out/AttemptLimitsNotificationRecallEntries.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +3 -3
- data/doc_out/AvailableTopic.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +3 -3
- data/doc_out/CallBasic.html.md +31 -0
- data/doc_out/CallConversationEntityListing.html.md +3 -3
- data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +1 -0
- data/doc_out/CallConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/CallConversationNotificationFaxStatus.html.md +5 -5
- data/doc_out/CallConversationNotificationParticipants.html.md +25 -24
- data/doc_out/CallConversationNotificationWrapup.html.md +18 -0
- data/doc_out/CallMediaParticipant.html.md +1 -0
- data/doc_out/CallableTimeSetEntityListing.html.md +3 -3
- data/doc_out/CallableTimeSetNotificationCallableTimes.html.md +1 -1
- data/doc_out/CallableTimeSetNotificationTimeSlots.html.md +1 -1
- data/doc_out/CallbackBasic.html.md +30 -0
- data/doc_out/CallbackConversationEntityListing.html.md +3 -3
- data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +1 -0
- data/doc_out/CallbackConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/CallbackConversationNotificationErrorInfoDetails.html.md +2 -2
- data/doc_out/CallbackConversationNotificationParticipants.html.md +24 -23
- data/doc_out/CallbackConversationNotificationWrapup.html.md +18 -0
- data/doc_out/CallbackMediaParticipant.html.md +1 -0
- data/doc_out/CampaignEntityListing.html.md +3 -3
- data/doc_out/CampaignInteraction.html.md +1 -1
- data/doc_out/CampaignNotificationContactSort.html.md +1 -1
- data/doc_out/CampaignNotificationErrors.html.md +1 -1
- data/doc_out/CampaignNotificationPhoneColumns.html.md +1 -1
- data/doc_out/CampaignRuleEntityListing.html.md +3 -3
- data/doc_out/CampaignRuleNotificationCampaignRuleActionEntities.html.md +2 -2
- data/doc_out/CampaignRuleNotificationCampaignRuleActions.html.md +1 -1
- data/doc_out/CampaignRuleNotificationCampaignRuleConditions.html.md +1 -1
- data/doc_out/CampaignRuleNotificationCampaignRuleEntities.html.md +1 -1
- data/doc_out/CampaignScheduleNotificationIntervals.html.md +1 -1
- data/doc_out/CampaignSequenceEntityListing.html.md +3 -3
- data/doc_out/CampaignStats.html.md +2 -0
- data/doc_out/CertificateAuthorityEntityListing.html.md +3 -3
- data/doc_out/Channel.html.md +1 -1
- data/doc_out/ChannelEntityListing.html.md +0 -9
- data/doc_out/ChannelTopic.html.md +1 -1
- data/doc_out/ChatConversationEntityListing.html.md +3 -3
- data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +1 -0
- data/doc_out/ChatConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/ChatConversationNotificationParticipants.html.md +17 -16
- data/doc_out/ChatConversationNotificationWrapup.html.md +18 -0
- data/doc_out/ChatMediaParticipant.html.md +1 -0
- data/doc_out/CobrowseConversationEntityListing.html.md +3 -3
- data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +1 -0
- data/doc_out/CobrowseConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/CobrowseConversationNotificationParticipants.html.md +22 -21
- data/doc_out/CobrowseConversationNotificationWrapup.html.md +18 -0
- data/doc_out/CobrowseMediaParticipant.html.md +1 -0
- data/doc_out/CommandStatusEntityListing.html.md +3 -3
- data/doc_out/ContactList.html.md +1 -0
- data/doc_out/ContactListEntityListing.html.md +3 -3
- data/doc_out/ContactListNotificationImportStatus.html.md +3 -3
- data/doc_out/ContactListNotificationPhoneColumns.html.md +1 -1
- data/doc_out/ConversationBasic.html.md +18 -0
- data/doc_out/ConversationEntityListing.html.md +3 -3
- data/doc_out/ConversationNotificationCallbacks.html.md +11 -11
- data/doc_out/ConversationNotificationCalls.html.md +12 -12
- data/doc_out/ConversationNotificationChats.html.md +5 -5
- data/doc_out/ConversationNotificationCobrowsesessions.html.md +8 -8
- data/doc_out/ConversationNotificationDialerPreview.html.md +3 -3
- data/doc_out/ConversationNotificationDisconnectReasons.html.md +1 -1
- data/doc_out/ConversationNotificationEmails.html.md +7 -7
- data/doc_out/ConversationNotificationErrorInfo.html.md +4 -4
- data/doc_out/ConversationNotificationFaxStatus.html.md +5 -5
- data/doc_out/ConversationNotificationParticipants.html.md +20 -20
- data/doc_out/ConversationNotificationScreenshares.html.md +7 -7
- data/doc_out/ConversationNotificationSelf.html.md +3 -3
- data/doc_out/ConversationNotificationSocialExpressions.html.md +5 -5
- data/doc_out/ConversationNotificationVideos.html.md +7 -7
- data/doc_out/ConversationNotificationWrapup.html.md +4 -4
- data/doc_out/CreateEmailRequest.html.md +1 -0
- data/doc_out/DIDEntityListing.html.md +3 -3
- data/doc_out/DIDPoolEntityListing.html.md +3 -3
- data/doc_out/DncListCreate.html.md +24 -0
- data/doc_out/DncListEntityListing.html.md +3 -3
- data/doc_out/DocumentAuditEntityListing.html.md +3 -3
- data/doc_out/DocumentDataV2NotificationCreatedBy.html.md +1 -1
- data/doc_out/DocumentDataV2NotificationLockInfo.html.md +1 -1
- data/doc_out/DocumentEntityListing.html.md +3 -3
- data/doc_out/DocumentationResult.html.md +32 -0
- data/doc_out/{ForecastSearchCriteria.html.md → DocumentationSearchCriteria.html.md} +3 -3
- data/doc_out/{ForecastSearchRequest.html.md → DocumentationSearchRequest.html.md} +3 -6
- data/doc_out/DocumentationSearchResponse.html.md +21 -0
- data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -0
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +3 -3
- data/doc_out/DomainEntityListing.html.md +3 -3
- data/doc_out/DomainEntityListingEvaluationForm.html.md +3 -3
- data/doc_out/DomainEntityListingQueryResult.html.md +3 -3
- data/doc_out/DomainOrganizationRole.html.md +1 -1
- data/doc_out/DomainOrganizationRoleCreate.html.md +1 -1
- data/doc_out/DomainOrganizationRoleUpdate.html.md +1 -1
- data/doc_out/EdgeEntityListing.html.md +3 -3
- data/doc_out/EdgeGroup.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +3 -3
- data/doc_out/EdgeLineEntityListing.html.md +3 -3
- data/doc_out/EdgeServiceStateRequest.html.md +14 -0
- data/doc_out/EdgeTrunkBase.html.md +27 -0
- data/doc_out/EmailConversationEntityListing.html.md +3 -3
- data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +1 -0
- data/doc_out/EmailConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/EmailConversationNotificationParticipants.html.md +19 -18
- data/doc_out/EmailConversationNotificationWrapup.html.md +18 -0
- data/doc_out/EmailMediaParticipant.html.md +1 -0
- data/doc_out/EmailMessageListing.html.md +3 -3
- data/doc_out/EncryptionKeyEntityListing.html.md +3 -3
- data/doc_out/EndpointEntityListing.html.md +3 -3
- data/doc_out/Entry.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +3 -3
- data/doc_out/EvaluationFormEntityListing.html.md +3 -3
- data/doc_out/EvaluatorActivityEntityListing.html.md +3 -3
- data/doc_out/ExtensionEntityListing.html.md +3 -3
- data/doc_out/ExtensionPoolEntityListing.html.md +3 -3
- data/doc_out/FaxDataV2NotificationLockInfo.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +3 -3
- data/doc_out/{EntryFeatureBoolean.html.md → FeatureState.html.md} +3 -4
- data/doc_out/GSuite.html.md +20 -0
- data/doc_out/Geolocation.html.md +1 -0
- data/doc_out/GreetingListing.html.md +3 -3
- data/doc_out/GreetingsApi.html.md +3 -4
- data/doc_out/GroupEntityListing.html.md +3 -3
- data/doc_out/GroupSearchRequest.html.md +0 -2
- data/doc_out/GroupsApi.html.md +3 -4
- data/doc_out/HeartBeatAlertContainer.html.md +3 -3
- data/doc_out/HeartBeatAlertNotificationNotificationUsers.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +3 -3
- data/doc_out/IdentityProviderApi.html.md +247 -65
- data/doc_out/InboundDomainEntityListing.html.md +3 -3
- data/doc_out/InboundRouteEntityListing.html.md +3 -3
- data/doc_out/InteractionStatsAlertContainer.html.md +3 -3
- data/doc_out/InteractionStatsRuleContainer.html.md +3 -3
- data/doc_out/JsonNode.html.md +3 -3
- data/doc_out/KeywordSet.html.md +0 -1
- data/doc_out/KeywordSetEntityListing.html.md +3 -3
- data/doc_out/LanguageEntityListing.html.md +3 -3
- data/doc_out/LibraryEntityListing.html.md +3 -3
- data/doc_out/LineBaseEntityListing.html.md +3 -3
- data/doc_out/LineEntityListing.html.md +3 -3
- data/doc_out/LocalEncryptionConfigurationListing.html.md +1 -8
- data/doc_out/LocationSearchRequest.html.md +0 -2
- data/doc_out/LogicalInterfaceEntityListing.html.md +3 -3
- data/doc_out/NotificationsApi.html.md +7 -8
- data/doc_out/OAuthApi.html.md +4 -3
- data/doc_out/OAuthClientEntityListing.html.md +3 -3
- data/doc_out/OAuthProviderEntityListing.html.md +3 -3
- data/doc_out/OrganizationApi.html.md +13 -11
- data/doc_out/OrganizationFeatures.html.md +25 -0
- data/doc_out/OrganizationPresenceEntityListing.html.md +3 -3
- data/doc_out/OrganizationRoleEntityListing.html.md +3 -3
- data/doc_out/OrphanRecordingListing.html.md +3 -3
- data/doc_out/OutboundApi.html.md +8 -8
- data/doc_out/OutboundRouteBaseEntityListing.html.md +3 -3
- data/doc_out/OutboundRouteEntityListing.html.md +3 -3
- data/doc_out/ParticipantBasic.html.md +48 -0
- data/doc_out/PermissionCollectionEntityListing.html.md +3 -3
- data/doc_out/PhoneBaseEntityListing.html.md +3 -3
- data/doc_out/PhoneEntityListing.html.md +3 -3
- data/doc_out/PhoneMetaBaseEntityListing.html.md +3 -3
- data/doc_out/PhysicalInterfaceEntityListing.html.md +3 -3
- data/doc_out/PingIdentity.html.md +20 -0
- data/doc_out/PolicyEntityListing.html.md +3 -3
- data/doc_out/PredictionResults.html.md +1 -0
- data/doc_out/QualityAudit.html.md +1 -1
- data/doc_out/QualityAuditPage.html.md +3 -3
- data/doc_out/Question.html.md +24 -0
- data/doc_out/QuestionGroup.html.md +1 -1
- data/doc_out/QueueEntityListing.html.md +3 -3
- data/doc_out/QueueMember.html.md +1 -1
- data/doc_out/QueueMemberEntityListing.html.md +3 -3
- data/doc_out/RecordingDataV2NotificationLockInfo.html.md +1 -1
- data/doc_out/ReportMetaDataEntityListing.html.md +3 -3
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +3 -3
- data/doc_out/ReportScheduleEntityListing.html.md +3 -3
- data/doc_out/Response.html.md +1 -0
- data/doc_out/ResponseEntityList.html.md +3 -3
- data/doc_out/ResponseEntityListing.html.md +3 -3
- data/doc_out/ResponseSetEntityListing.html.md +3 -3
- data/doc_out/ResponseSetNotificationResponses.html.md +2 -2
- data/doc_out/ResponseSubstitution.html.md +15 -0
- data/doc_out/RoutingApi.html.md +23 -290
- data/doc_out/RoutingStatusAlertContainer.html.md +3 -3
- data/doc_out/RoutingStatusRuleContainer.html.md +3 -3
- data/doc_out/RuleSetEntityListing.html.md +3 -3
- data/doc_out/RuleSetNotificationActions.html.md +2 -2
- data/doc_out/RuleSetNotificationConditions.html.md +4 -4
- data/doc_out/RuleSetNotificationRules.html.md +4 -4
- data/doc_out/SchemaCategoryEntityListing.html.md +3 -3
- data/doc_out/SchemaReferenceEntityListing.html.md +3 -3
- data/doc_out/ScreenRecordingSessionListing.html.md +3 -3
- data/doc_out/ScreenShareConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/ScreenShareConversationNotificationParticipants.html.md +18 -17
- data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +1 -0
- data/doc_out/ScreenShareConversationNotificationWrapup.html.md +18 -0
- data/doc_out/ScriptEntityListing.html.md +3 -3
- data/doc_out/ScriptsApi.html.md +10 -2
- data/doc_out/SearchApi.html.md +168 -48
- data/doc_out/SearchRequest.html.md +1 -1
- data/doc_out/SecurityProfileEntityListing.html.md +3 -3
- data/doc_out/ShareEntityListing.html.md +3 -3
- data/doc_out/SiteEntityListing.html.md +3 -3
- data/doc_out/SkillEntityListing.html.md +3 -3
- data/doc_out/SocialConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/SocialConversationNotificationParticipants.html.md +20 -19
- data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +1 -0
- data/doc_out/SocialConversationNotificationWrapup.html.md +18 -0
- data/doc_out/StationEntityListing.html.md +3 -3
- data/doc_out/StatisticalResponse.html.md +1 -0
- data/doc_out/TagValueEntityListing.html.md +3 -3
- data/doc_out/TelephonyProvidersEdgeApi.html.md +347 -79
- data/doc_out/TimeOffRequestUpdateNotification.html.md +28 -0
- data/doc_out/TimeOffRequestUpdateNotificationUser.html.md +13 -0
- data/doc_out/TimeZoneEntityListing.html.md +3 -3
- data/doc_out/TransferRequest.html.md +1 -1
- data/doc_out/Trunk.html.md +2 -1
- data/doc_out/TrunkBase.html.md +1 -1
- data/doc_out/TrunkBaseEntityListing.html.md +3 -3
- data/doc_out/TrunkEntityListing.html.md +3 -3
- data/doc_out/TrunkMetabaseEntityListing.html.md +3 -3
- data/doc_out/TrunkMetrics.html.md +17 -0
- data/doc_out/TrunkMetricsCalls.html.md +14 -0
- data/doc_out/TrunkMetricsQoS.html.md +13 -0
- data/doc_out/User.html.md +1 -0
- data/doc_out/UserConversationSummaryNotificationCallContactCenter.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +3 -3
- data/doc_out/UserMe.html.md +1 -0
- data/doc_out/UserPresenceAlertContainer.html.md +3 -3
- data/doc_out/UserPresenceNotificationPresenceDefinition.html.md +1 -1
- data/doc_out/UserPresenceRuleContainer.html.md +3 -3
- data/doc_out/UserQueueEntityListing.html.md +3 -3
- data/doc_out/UserRecordingEntityListing.html.md +3 -3
- data/doc_out/UserScheduleAdherenceUpdateNotification.html.md +22 -0
- data/doc_out/UserScheduleAdherenceUpdateNotificationUser.html.md +13 -0
- data/doc_out/UserSearchRequest.html.md +0 -1
- data/doc_out/UserSkillEntityListing.html.md +3 -3
- data/doc_out/UserStationsNotification.html.md +13 -0
- data/doc_out/UserStationsNotificationAssociatedStation.html.md +15 -0
- data/doc_out/UserStationsNotificationUser.html.md +13 -0
- data/doc_out/UserStationsNotificationUserStation.html.md +15 -0
- data/doc_out/UsersApi.html.md +2 -2
- data/doc_out/VideoConversationNotificationErrorInfo.html.md +7 -7
- data/doc_out/VideoConversationNotificationParticipants.html.md +20 -19
- data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +1 -0
- data/doc_out/VideoConversationNotificationWrapup.html.md +18 -0
- data/doc_out/VoicemailMessageEntityListing.html.md +3 -3
- data/doc_out/VoicemailSearchRequest.html.md +0 -1
- data/doc_out/WorkforceManagementApi.html.md +15 -134
- data/doc_out/WorkspaceEntityListing.html.md +3 -3
- data/doc_out/WorkspaceMemberEntityListing.html.md +3 -3
- data/doc_out/WrapUpCodeMappingNotification.html.md +2 -3
- data/doc_out/WrapupCodeEntityListing.html.md +3 -3
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +39 -15
- data/lib/purecloud/api/greetings_api.rb +5 -6
- data/lib/purecloud/api/groups_api.rb +5 -6
- data/lib/purecloud/api/identity_provider_api.rb +280 -96
- data/lib/purecloud/api/notifications_api.rb +9 -10
- data/lib/purecloud/api/o_auth_api.rb +6 -5
- data/lib/purecloud/api/organization_api.rb +23 -12
- data/lib/purecloud/api/outbound_api.rb +9 -9
- data/lib/purecloud/api/routing_api.rb +32 -297
- data/lib/purecloud/api/scripts_api.rb +9 -0
- data/lib/purecloud/api/search_api.rb +180 -59
- data/lib/purecloud/api/telephony_providers_edge_api.rb +368 -89
- data/lib/purecloud/api/users_api.rb +3 -3
- data/lib/purecloud/api/workforce_management_api.rb +20 -139
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +23 -23
- data/lib/purecloud/models/aggregate_view_data.rb +175 -0
- data/lib/purecloud/models/aggregation_query.rb +17 -4
- data/lib/purecloud/models/analytics_view.rb +208 -0
- data/lib/purecloud/models/{entry_feature_boolean.rb → answer_option.rb} +23 -22
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +23 -23
- data/lib/purecloud/models/attempt_limits_notification_recall_entries.rb +13 -13
- data/lib/purecloud/models/attribute_entity_listing.rb +23 -23
- data/lib/purecloud/models/available_topic.rb +22 -22
- data/lib/purecloud/models/calibration_entity_listing.rb +23 -23
- data/lib/purecloud/models/call_basic.rb +403 -0
- data/lib/purecloud/models/call_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/call_conversation_notification_call_media_participant.rb +11 -1
- data/lib/purecloud/models/call_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/call_conversation_notification_fax_status.rb +39 -39
- data/lib/purecloud/models/call_conversation_notification_participants.rb +193 -183
- data/lib/purecloud/models/call_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/call_media_participant.rb +12 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/callable_time_set_notification_callable_times.rb +14 -14
- data/lib/purecloud/models/callable_time_set_notification_time_slots.rb +14 -14
- data/lib/purecloud/models/callback_basic.rb +384 -0
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +11 -1
- data/lib/purecloud/models/callback_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/callback_conversation_notification_error_info_details.rb +23 -23
- data/lib/purecloud/models/callback_conversation_notification_participants.rb +185 -175
- data/lib/purecloud/models/callback_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/callback_media_participant.rb +12 -1
- data/lib/purecloud/models/campaign_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_interaction.rb +1 -1
- data/lib/purecloud/models/campaign_notification_contact_sort.rb +14 -14
- data/lib/purecloud/models/campaign_notification_errors.rb +13 -13
- data/lib/purecloud/models/campaign_notification_phone_columns.rb +13 -13
- data/lib/purecloud/models/campaign_rule_action.rb +1 -1
- data/lib/purecloud/models/campaign_rule_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_action_entities.rb +25 -25
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_actions.rb +11 -11
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_conditions.rb +11 -11
- data/lib/purecloud/models/campaign_rule_notification_campaign_rule_entities.rb +15 -15
- data/lib/purecloud/models/campaign_schedule_notification_intervals.rb +13 -13
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_stats.rb +26 -4
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +23 -23
- data/lib/purecloud/models/channel.rb +14 -14
- data/lib/purecloud/models/channel_entity_listing.rb +4 -94
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +11 -1
- data/lib/purecloud/models/chat_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/chat_conversation_notification_participants.rb +144 -134
- data/lib/purecloud/models/chat_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/chat_media_participant.rb +12 -1
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +11 -1
- data/lib/purecloud/models/cobrowse_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +168 -158
- data/lib/purecloud/models/cobrowse_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/cobrowse_media_participant.rb +12 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +23 -23
- data/lib/purecloud/models/contact_list.rb +12 -1
- data/lib/purecloud/models/contact_list_entity_listing.rb +23 -23
- data/lib/purecloud/models/contact_list_notification_import_status.rb +27 -27
- data/lib/purecloud/models/contact_list_notification_phone_columns.rb +14 -14
- data/lib/purecloud/models/{edge_metrics_network.rb → conversation_basic.rb} +48 -37
- data/lib/purecloud/models/conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/conversation_notification_callbacks.rb +95 -95
- data/lib/purecloud/models/conversation_notification_calls.rb +117 -117
- data/lib/purecloud/models/conversation_notification_chats.rb +46 -46
- data/lib/purecloud/models/conversation_notification_cobrowsesessions.rb +71 -71
- data/lib/purecloud/models/conversation_notification_dialer_preview.rb +25 -25
- data/lib/purecloud/models/conversation_notification_disconnect_reasons.rb +11 -11
- data/lib/purecloud/models/conversation_notification_emails.rb +59 -59
- data/lib/purecloud/models/conversation_notification_error_info.rb +35 -35
- data/lib/purecloud/models/conversation_notification_fax_status.rb +39 -39
- data/lib/purecloud/models/conversation_notification_participants.rb +154 -154
- data/lib/purecloud/models/conversation_notification_screenshares.rb +55 -55
- data/lib/purecloud/models/conversation_notification_self.rb +27 -27
- data/lib/purecloud/models/conversation_notification_social_expressions.rb +57 -57
- data/lib/purecloud/models/conversation_notification_videos.rb +61 -61
- data/lib/purecloud/models/conversation_notification_wrapup.rb +35 -35
- data/lib/purecloud/models/create_email_request.rb +24 -4
- data/lib/purecloud/models/did_entity_listing.rb +23 -23
- data/lib/purecloud/models/did_pool_entity_listing.rb +23 -23
- data/lib/purecloud/models/dnc_list_create.rb +298 -0
- data/lib/purecloud/models/dnc_list_entity_listing.rb +23 -23
- data/lib/purecloud/models/document_audit_entity_listing.rb +23 -23
- data/lib/purecloud/models/document_data_v2_notification_created_by.rb +13 -13
- data/lib/purecloud/models/document_data_v2_notification_lock_info.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +23 -23
- data/lib/purecloud/models/documentation_result.rb +395 -0
- data/lib/purecloud/models/{forecast_search_criteria.rb → documentation_search_criteria.rb} +3 -3
- data/lib/purecloud/models/{forecast_search_request.rb → documentation_search_request.rb} +3 -42
- data/lib/purecloud/models/{decisions_file_metadata_entity_listing.rb → documentation_search_response.rb} +61 -60
- data/lib/purecloud/models/domain_edge_software_update_dto.rb +11 -1
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +23 -23
- data/lib/purecloud/models/domain_organization_role.rb +11 -11
- data/lib/purecloud/models/domain_organization_role_create.rb +11 -11
- data/lib/purecloud/models/domain_organization_role_update.rb +11 -11
- data/lib/purecloud/models/edge_entity_listing.rb +23 -23
- data/lib/purecloud/models/edge_group_entity_listing.rb +23 -23
- data/lib/purecloud/models/edge_line_entity_listing.rb +23 -23
- data/lib/purecloud/models/{edge_metrics_disk.rb → edge_service_state_request.rb} +16 -27
- data/lib/purecloud/models/edge_trunk_base.rb +332 -0
- data/lib/purecloud/models/email_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +11 -1
- data/lib/purecloud/models/email_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/email_conversation_notification_participants.rb +147 -137
- data/lib/purecloud/models/email_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/email_media_participant.rb +12 -1
- data/lib/purecloud/models/email_message_listing.rb +23 -23
- data/lib/purecloud/models/encryption_key_entity_listing.rb +23 -23
- data/lib/purecloud/models/endpoint_entity_listing.rb +23 -23
- data/lib/purecloud/models/entry.rb +10 -8
- data/lib/purecloud/models/evaluation_entity_listing.rb +23 -23
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +23 -23
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +23 -23
- data/lib/purecloud/models/extension_entity_listing.rb +23 -23
- data/lib/purecloud/models/extension_pool_entity_listing.rb +23 -23
- data/lib/purecloud/models/fax_data_v2_notification_lock_info.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +23 -23
- data/lib/purecloud/models/feature_state.rb +165 -0
- data/lib/purecloud/models/{decisions_download_metadata.rb → g_suite.rb} +32 -37
- data/lib/purecloud/models/geolocation.rb +13 -1
- data/lib/purecloud/models/greeting_listing.rb +23 -23
- data/lib/purecloud/models/group_entity_listing.rb +23 -23
- data/lib/purecloud/models/group_search_request.rb +1 -27
- data/lib/purecloud/models/heart_beat_alert_container.rb +23 -23
- data/lib/purecloud/models/heart_beat_alert_notification_notification_users.rb +13 -13
- data/lib/purecloud/models/heart_beat_rule_container.rb +23 -23
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +23 -23
- data/lib/purecloud/models/inbound_route_entity_listing.rb +23 -23
- data/lib/purecloud/models/interaction_stats_alert_container.rb +23 -23
- data/lib/purecloud/models/interaction_stats_rule_container.rb +23 -23
- data/lib/purecloud/models/json_node.rb +34 -34
- data/lib/purecloud/models/keyword_set.rb +1 -11
- data/lib/purecloud/models/keyword_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/language_entity_listing.rb +23 -23
- data/lib/purecloud/models/library_entity_listing.rb +23 -23
- data/lib/purecloud/models/line_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/line_entity_listing.rb +23 -23
- data/lib/purecloud/models/local_encryption_configuration_listing.rb +13 -83
- data/lib/purecloud/models/location_search_request.rb +1 -27
- data/lib/purecloud/models/logical_interface_entity_listing.rb +23 -23
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +23 -23
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +23 -23
- data/lib/purecloud/models/organization_features.rb +285 -0
- data/lib/purecloud/models/organization_presence_entity_listing.rb +23 -23
- data/lib/purecloud/models/organization_role_entity_listing.rb +23 -23
- data/lib/purecloud/models/orphan_recording_listing.rb +23 -23
- data/lib/purecloud/models/outbound_route_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/outbound_route_entity_listing.rb +23 -23
- data/lib/purecloud/models/participant_basic.rb +571 -0
- data/lib/purecloud/models/permission_collection_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/physical_interface_entity_listing.rb +23 -23
- data/lib/purecloud/models/ping_identity.rb +237 -0
- data/lib/purecloud/models/policy_entity_listing.rb +23 -23
- data/lib/purecloud/models/prediction_results.rb +22 -2
- data/lib/purecloud/models/quality_audit.rb +11 -11
- data/lib/purecloud/models/quality_audit_page.rb +23 -23
- data/lib/purecloud/models/{billing_task_result_notification.rb → question.rb} +80 -66
- data/lib/purecloud/models/question_group.rb +1 -1
- data/lib/purecloud/models/queue_entity_listing.rb +23 -23
- data/lib/purecloud/models/queue_member.rb +1 -1
- data/lib/purecloud/models/queue_member_entity_listing.rb +23 -23
- data/lib/purecloud/models/recording_data_v2_notification_lock_info.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +23 -23
- data/lib/purecloud/models/report_run_entry.rb +1 -1
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +23 -23
- data/lib/purecloud/models/report_schedule_entity_listing.rb +23 -23
- data/lib/purecloud/models/response.rb +14 -1
- data/lib/purecloud/models/response_entity_list.rb +23 -23
- data/lib/purecloud/models/response_entity_listing.rb +23 -23
- data/lib/purecloud/models/response_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/response_set_notification_responses.rb +23 -23
- data/lib/purecloud/models/{forecast_creation_completion.rb → response_substitution.rb} +21 -29
- data/lib/purecloud/models/routing_status_alert_container.rb +23 -23
- data/lib/purecloud/models/routing_status_rule_container.rb +23 -23
- data/lib/purecloud/models/rule_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/rule_set_notification_actions.rb +23 -23
- data/lib/purecloud/models/rule_set_notification_conditions.rb +35 -35
- data/lib/purecloud/models/rule_set_notification_rules.rb +37 -37
- data/lib/purecloud/models/schema_category_entity_listing.rb +23 -23
- data/lib/purecloud/models/schema_reference_entity_listing.rb +23 -23
- data/lib/purecloud/models/screen_recording_session_listing.rb +23 -23
- data/lib/purecloud/models/screen_share_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +159 -149
- data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +11 -1
- data/lib/purecloud/models/screen_share_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/script_entity_listing.rb +23 -23
- data/lib/purecloud/models/search_request.rb +1 -1
- data/lib/purecloud/models/security_profile_entity_listing.rb +23 -23
- data/lib/purecloud/models/share_entity_listing.rb +23 -23
- data/lib/purecloud/models/site_entity_listing.rb +23 -23
- data/lib/purecloud/models/skill_entity_listing.rb +23 -23
- data/lib/purecloud/models/social_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/social_conversation_notification_participants.rb +158 -148
- data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +11 -1
- data/lib/purecloud/models/social_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/station_entity_listing.rb +23 -23
- data/lib/purecloud/models/statistical_response.rb +16 -4
- data/lib/purecloud/models/tag_value_entity_listing.rb +23 -23
- data/lib/purecloud/models/time_off_request_update_notification.rb +328 -0
- data/lib/purecloud/models/{decisions_download_link.rb → time_off_request_update_notification_user.rb} +5 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +23 -23
- data/lib/purecloud/models/transfer_request.rb +1 -1
- data/lib/purecloud/models/trunk.rb +12 -1
- data/lib/purecloud/models/trunk_base.rb +1 -1
- data/lib/purecloud/models/trunk_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_metrics.rb +206 -0
- data/lib/purecloud/models/trunk_metrics_calls.rb +175 -0
- data/lib/purecloud/models/trunk_metrics_qo_s.rb +166 -0
- data/lib/purecloud/models/user.rb +14 -1
- data/lib/purecloud/models/user_conversation_summary_notification_call_contact_center.rb +13 -13
- data/lib/purecloud/models/user_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_me.rb +14 -1
- data/lib/purecloud/models/user_presence_alert_container.rb +23 -23
- data/lib/purecloud/models/user_presence_notification_presence_definition.rb +13 -13
- data/lib/purecloud/models/user_presence_rule_container.rb +23 -23
- data/lib/purecloud/models/user_queue_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_recording_entity_listing.rb +23 -23
- data/lib/purecloud/models/{forecast_creation.rb → user_schedule_adherence_update_notification.rb} +81 -49
- data/lib/purecloud/models/user_schedule_adherence_update_notification_user.rb +165 -0
- data/lib/purecloud/models/user_search_request.rb +1 -14
- data/lib/purecloud/models/user_skill_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_stations_notification.rb +165 -0
- data/lib/purecloud/models/{edge_metrics_memory.rb → user_stations_notification_associated_station.rb} +20 -23
- data/lib/purecloud/models/user_stations_notification_user.rb +165 -0
- data/lib/purecloud/models/{edge_metrics_subsystem.rb → user_stations_notification_user_station.rb} +20 -23
- data/lib/purecloud/models/video_conversation_notification_error_info.rb +61 -61
- data/lib/purecloud/models/video_conversation_notification_participants.rb +161 -151
- data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +11 -1
- data/lib/purecloud/models/video_conversation_notification_wrapup.rb +217 -0
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +23 -23
- data/lib/purecloud/models/voicemail_search_request.rb +1 -14
- data/lib/purecloud/models/workspace_entity_listing.rb +23 -23
- data/lib/purecloud/models/workspace_member_entity_listing.rb +23 -23
- data/lib/purecloud/models/wrap_up_code_mapping_notification.rb +27 -46
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +23 -23
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +80 -32
- data/doc_out/BillingTaskResultNotification.html.md +0 -21
- data/doc_out/DecisionsDownloadLink.html.md +0 -14
- data/doc_out/DecisionsDownloadMetadata.html.md +0 -20
- data/doc_out/DecisionsFileMetadataEntityListing.html.md +0 -22
- data/doc_out/EdgeMetrics.html.md +0 -20
- data/doc_out/EdgeMetricsDisk.html.md +0 -15
- data/doc_out/EdgeMetricsMemory.html.md +0 -15
- data/doc_out/EdgeMetricsNetwork.html.md +0 -17
- data/doc_out/EdgeMetricsProcessor.html.md +0 -17
- data/doc_out/EdgeMetricsSubsystem.html.md +0 -15
- data/doc_out/ForecastCreation.html.md +0 -18
- data/doc_out/ForecastCreationCompletion.html.md +0 -15
- data/lib/purecloud/models/edge_metrics.rb +0 -246
- data/lib/purecloud/models/edge_metrics_processor.rb +0 -210
@@ -26,15 +26,15 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
32
|
+
|
33
|
+
attr_accessor :last_uri
|
34
34
|
|
35
35
|
attr_accessor :previous_uri
|
36
36
|
|
37
|
-
attr_accessor :
|
37
|
+
attr_accessor :next_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
@@ -50,15 +50,15 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
56
|
+
|
57
|
+
:'last_uri' => :'lastUri',
|
58
58
|
|
59
59
|
:'previous_uri' => :'previousUri',
|
60
60
|
|
61
|
-
:'
|
61
|
+
:'next_uri' => :'nextUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
77
|
-
:'
|
78
|
-
:'previous_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
79
77
|
:'last_uri' => :'String',
|
78
|
+
:'previous_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,24 +107,24 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes[:'lastUri']
|
119
|
+
self.last_uri = attributes[:'lastUri']
|
120
120
|
end
|
121
121
|
|
122
122
|
if attributes[:'previousUri']
|
123
123
|
self.previous_uri = attributes[:'previousUri']
|
124
124
|
end
|
125
125
|
|
126
|
-
if attributes[:'
|
127
|
-
self.
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
128
|
end
|
129
129
|
|
130
130
|
if attributes[:'pageCount']
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
146
|
-
|
147
|
-
previous_uri == o.previous_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
148
146
|
last_uri == o.last_uri &&
|
147
|
+
previous_uri == o.previous_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, last_uri, previous_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -18,17 +18,17 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class DocumentDataV2NotificationCreatedBy
|
21
|
-
attr_accessor :id
|
22
|
-
|
23
21
|
attr_accessor :name
|
24
22
|
|
23
|
+
attr_accessor :id
|
24
|
+
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
28
|
|
29
|
-
:'
|
29
|
+
:'name' => :'name',
|
30
30
|
|
31
|
-
:'
|
31
|
+
:'id' => :'id'
|
32
32
|
|
33
33
|
}
|
34
34
|
end
|
@@ -36,8 +36,8 @@ module PureCloud
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.swagger_types
|
38
38
|
{
|
39
|
-
:'
|
40
|
-
:'
|
39
|
+
:'name' => :'String',
|
40
|
+
:'id' => :'String'
|
41
41
|
|
42
42
|
}
|
43
43
|
end
|
@@ -49,22 +49,22 @@ module PureCloud
|
|
49
49
|
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
50
50
|
|
51
51
|
|
52
|
-
if attributes[:'id']
|
53
|
-
self.id = attributes[:'id']
|
54
|
-
end
|
55
|
-
|
56
52
|
if attributes[:'name']
|
57
53
|
self.name = attributes[:'name']
|
58
54
|
end
|
59
55
|
|
56
|
+
if attributes[:'id']
|
57
|
+
self.id = attributes[:'id']
|
58
|
+
end
|
59
|
+
|
60
60
|
end
|
61
61
|
|
62
62
|
# Check equality by comparing each attribute.
|
63
63
|
def ==(o)
|
64
64
|
return true if self.equal?(o)
|
65
65
|
self.class == o.class &&
|
66
|
-
|
67
|
-
|
66
|
+
name == o.name &&
|
67
|
+
id == o.id
|
68
68
|
end
|
69
69
|
|
70
70
|
# @see the `==` method
|
@@ -74,7 +74,7 @@ module PureCloud
|
|
74
74
|
|
75
75
|
# Calculate hash code according to all attributes.
|
76
76
|
def hash
|
77
|
-
[
|
77
|
+
[name, id].hash
|
78
78
|
end
|
79
79
|
|
80
80
|
# build the object from hash
|
@@ -18,20 +18,20 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class DocumentDataV2NotificationLockInfo
|
21
|
-
attr_accessor :locked_by
|
22
|
-
|
23
21
|
attr_accessor :date_created
|
24
22
|
|
23
|
+
attr_accessor :locked_by
|
24
|
+
|
25
25
|
attr_accessor :date_expires
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
30
|
|
31
|
-
:'locked_by' => :'lockedBy',
|
32
|
-
|
33
31
|
:'date_created' => :'dateCreated',
|
34
32
|
|
33
|
+
:'locked_by' => :'lockedBy',
|
34
|
+
|
35
35
|
:'date_expires' => :'dateExpires'
|
36
36
|
|
37
37
|
}
|
@@ -40,8 +40,8 @@ module PureCloud
|
|
40
40
|
# Attribute type mapping.
|
41
41
|
def self.swagger_types
|
42
42
|
{
|
43
|
-
:'locked_by' => :'DocumentDataV2NotificationUserData',
|
44
43
|
:'date_created' => :'DateTime',
|
44
|
+
:'locked_by' => :'DocumentDataV2NotificationUserData',
|
45
45
|
:'date_expires' => :'DateTime'
|
46
46
|
|
47
47
|
}
|
@@ -54,14 +54,14 @@ module PureCloud
|
|
54
54
|
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
55
55
|
|
56
56
|
|
57
|
-
if attributes[:'lockedBy']
|
58
|
-
self.locked_by = attributes[:'lockedBy']
|
59
|
-
end
|
60
|
-
|
61
57
|
if attributes[:'dateCreated']
|
62
58
|
self.date_created = attributes[:'dateCreated']
|
63
59
|
end
|
64
60
|
|
61
|
+
if attributes[:'lockedBy']
|
62
|
+
self.locked_by = attributes[:'lockedBy']
|
63
|
+
end
|
64
|
+
|
65
65
|
if attributes[:'dateExpires']
|
66
66
|
self.date_expires = attributes[:'dateExpires']
|
67
67
|
end
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
def ==(o)
|
73
73
|
return true if self.equal?(o)
|
74
74
|
self.class == o.class &&
|
75
|
-
locked_by == o.locked_by &&
|
76
75
|
date_created == o.date_created &&
|
76
|
+
locked_by == o.locked_by &&
|
77
77
|
date_expires == o.date_expires
|
78
78
|
end
|
79
79
|
|
@@ -84,7 +84,7 @@ module PureCloud
|
|
84
84
|
|
85
85
|
# Calculate hash code according to all attributes.
|
86
86
|
def hash
|
87
|
-
[
|
87
|
+
[date_created, locked_by, date_expires].hash
|
88
88
|
end
|
89
89
|
|
90
90
|
# build the object from hash
|
@@ -26,15 +26,15 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
32
|
+
|
33
|
+
attr_accessor :last_uri
|
34
34
|
|
35
35
|
attr_accessor :previous_uri
|
36
36
|
|
37
|
-
attr_accessor :
|
37
|
+
attr_accessor :next_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
@@ -50,15 +50,15 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
56
|
+
|
57
|
+
:'last_uri' => :'lastUri',
|
58
58
|
|
59
59
|
:'previous_uri' => :'previousUri',
|
60
60
|
|
61
|
-
:'
|
61
|
+
:'next_uri' => :'nextUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
77
|
-
:'
|
78
|
-
:'previous_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
79
77
|
:'last_uri' => :'String',
|
78
|
+
:'previous_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,24 +107,24 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes[:'lastUri']
|
119
|
+
self.last_uri = attributes[:'lastUri']
|
120
120
|
end
|
121
121
|
|
122
122
|
if attributes[:'previousUri']
|
123
123
|
self.previous_uri = attributes[:'previousUri']
|
124
124
|
end
|
125
125
|
|
126
|
-
if attributes[:'
|
127
|
-
self.
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
128
|
end
|
129
129
|
|
130
130
|
if attributes[:'pageCount']
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
146
|
-
|
147
|
-
previous_uri == o.previous_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
148
146
|
last_uri == o.last_uri &&
|
147
|
+
previous_uri == o.previous_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, last_uri, previous_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -0,0 +1,395 @@
|
|
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@inin.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 DocumentationResult
|
21
|
+
# The globally unique identifier for the object.
|
22
|
+
attr_accessor :id
|
23
|
+
|
24
|
+
# The category of the documentation entity. Will be returned in responses for certain entities.
|
25
|
+
attr_accessor :categories
|
26
|
+
|
27
|
+
# The description of the documentation entity. Will be returned in responses for certain entities.
|
28
|
+
attr_accessor :description
|
29
|
+
|
30
|
+
# The text or html content for the documentation entity. Will be returned in responses for certain entities.
|
31
|
+
attr_accessor :content
|
32
|
+
|
33
|
+
# The excerpt of the documentation entity. Will be returned in responses for certain entities.
|
34
|
+
attr_accessor :excerpt
|
35
|
+
|
36
|
+
# URL link for the documentation entity. Will be returned in responses for certain entities.
|
37
|
+
attr_accessor :link
|
38
|
+
|
39
|
+
# The modified date for the documentation entity. Will be returned in responses for certain entities. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
40
|
+
attr_accessor :modified
|
41
|
+
|
42
|
+
# The name of the documentation entity. Will be returned in responses for certain entities.
|
43
|
+
attr_accessor :name
|
44
|
+
|
45
|
+
# The service of the documentation entity. Will be returned in responses for certain entities.
|
46
|
+
attr_accessor :service
|
47
|
+
|
48
|
+
# The slug of the documentation entity. Will be returned in responses for certain entities.
|
49
|
+
attr_accessor :slug
|
50
|
+
|
51
|
+
# The title of the documentation entity. Will be returned in responses for certain entities.
|
52
|
+
attr_accessor :title
|
53
|
+
|
54
|
+
# The search type. Will be returned in responses for certain entities.
|
55
|
+
attr_accessor :get_type
|
56
|
+
|
57
|
+
# The facet feature of the documentation entity. Will be returned in responses for certain entities.
|
58
|
+
attr_accessor :facet_feature
|
59
|
+
|
60
|
+
# The facet role of the documentation entity. Will be returned in responses for certain entities.
|
61
|
+
attr_accessor :facet_role
|
62
|
+
|
63
|
+
# The facet service of the documentation entity. Will be returned in responses for certain entities.
|
64
|
+
attr_accessor :facet_service
|
65
|
+
|
66
|
+
# The faq categories of the documentation entity. Will be returned in responses for certain entities.
|
67
|
+
attr_accessor :faq_categories
|
68
|
+
|
69
|
+
# The releasenote category of the documentation entity. Will be returned in responses for certain entities.
|
70
|
+
attr_accessor :releasenote_category
|
71
|
+
|
72
|
+
# The releasenote tag of the documentation entity. Will be returned in responses for certain entities.
|
73
|
+
attr_accessor :releasenote_tag
|
74
|
+
|
75
|
+
# The service area of the documentation entity. Will be returned in responses for certain entities.
|
76
|
+
attr_accessor :service_area
|
77
|
+
|
78
|
+
# The video categories of the documentation entity. Will be returned in responses for certain entities.
|
79
|
+
attr_accessor :video_categories
|
80
|
+
|
81
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
82
|
+
def self.attribute_map
|
83
|
+
{
|
84
|
+
|
85
|
+
:'id' => :'id',
|
86
|
+
|
87
|
+
:'categories' => :'categories',
|
88
|
+
|
89
|
+
:'description' => :'description',
|
90
|
+
|
91
|
+
:'content' => :'content',
|
92
|
+
|
93
|
+
:'excerpt' => :'excerpt',
|
94
|
+
|
95
|
+
:'link' => :'link',
|
96
|
+
|
97
|
+
:'modified' => :'modified',
|
98
|
+
|
99
|
+
:'name' => :'name',
|
100
|
+
|
101
|
+
:'service' => :'service',
|
102
|
+
|
103
|
+
:'slug' => :'slug',
|
104
|
+
|
105
|
+
:'title' => :'title',
|
106
|
+
|
107
|
+
:'get_type' => :'get_type',
|
108
|
+
|
109
|
+
:'facet_feature' => :'facet_feature',
|
110
|
+
|
111
|
+
:'facet_role' => :'facet_role',
|
112
|
+
|
113
|
+
:'facet_service' => :'facet_service',
|
114
|
+
|
115
|
+
:'faq_categories' => :'faq_categories',
|
116
|
+
|
117
|
+
:'releasenote_category' => :'releasenote_category',
|
118
|
+
|
119
|
+
:'releasenote_tag' => :'releasenote_tag',
|
120
|
+
|
121
|
+
:'service_area' => :'service-area',
|
122
|
+
|
123
|
+
:'video_categories' => :'video_categories'
|
124
|
+
|
125
|
+
}
|
126
|
+
end
|
127
|
+
|
128
|
+
# Attribute type mapping.
|
129
|
+
def self.swagger_types
|
130
|
+
{
|
131
|
+
:'id' => :'Integer',
|
132
|
+
:'categories' => :'Array<Integer>',
|
133
|
+
:'description' => :'String',
|
134
|
+
:'content' => :'String',
|
135
|
+
:'excerpt' => :'String',
|
136
|
+
:'link' => :'String',
|
137
|
+
:'modified' => :'DateTime',
|
138
|
+
:'name' => :'String',
|
139
|
+
:'service' => :'Array<Integer>',
|
140
|
+
:'slug' => :'String',
|
141
|
+
:'title' => :'String',
|
142
|
+
:'get_type' => :'String',
|
143
|
+
:'facet_feature' => :'Array<Integer>',
|
144
|
+
:'facet_role' => :'Array<Integer>',
|
145
|
+
:'facet_service' => :'Array<Integer>',
|
146
|
+
:'faq_categories' => :'Array<Integer>',
|
147
|
+
:'releasenote_category' => :'Array<Integer>',
|
148
|
+
:'releasenote_tag' => :'Array<Integer>',
|
149
|
+
:'service_area' => :'Array<Integer>',
|
150
|
+
:'video_categories' => :'Array<Integer>'
|
151
|
+
|
152
|
+
}
|
153
|
+
end
|
154
|
+
|
155
|
+
def initialize(attributes = {})
|
156
|
+
return unless attributes.is_a?(Hash)
|
157
|
+
|
158
|
+
# convert string to symbol for hash key
|
159
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
160
|
+
|
161
|
+
|
162
|
+
if attributes[:'id']
|
163
|
+
self.id = attributes[:'id']
|
164
|
+
end
|
165
|
+
|
166
|
+
if attributes[:'categories']
|
167
|
+
if (value = attributes[:'categories']).is_a?(Array)
|
168
|
+
self.categories = value
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes[:'description']
|
173
|
+
self.description = attributes[:'description']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes[:'content']
|
177
|
+
self.content = attributes[:'content']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes[:'excerpt']
|
181
|
+
self.excerpt = attributes[:'excerpt']
|
182
|
+
end
|
183
|
+
|
184
|
+
if attributes[:'link']
|
185
|
+
self.link = attributes[:'link']
|
186
|
+
end
|
187
|
+
|
188
|
+
if attributes[:'modified']
|
189
|
+
self.modified = attributes[:'modified']
|
190
|
+
end
|
191
|
+
|
192
|
+
if attributes[:'name']
|
193
|
+
self.name = attributes[:'name']
|
194
|
+
end
|
195
|
+
|
196
|
+
if attributes[:'service']
|
197
|
+
if (value = attributes[:'service']).is_a?(Array)
|
198
|
+
self.service = value
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
if attributes[:'slug']
|
203
|
+
self.slug = attributes[:'slug']
|
204
|
+
end
|
205
|
+
|
206
|
+
if attributes[:'title']
|
207
|
+
self.title = attributes[:'title']
|
208
|
+
end
|
209
|
+
|
210
|
+
if attributes[:'get_type']
|
211
|
+
self.get_type = attributes[:'get_type']
|
212
|
+
end
|
213
|
+
|
214
|
+
if attributes[:'facet_feature']
|
215
|
+
if (value = attributes[:'facet_feature']).is_a?(Array)
|
216
|
+
self.facet_feature = value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
if attributes[:'facet_role']
|
221
|
+
if (value = attributes[:'facet_role']).is_a?(Array)
|
222
|
+
self.facet_role = value
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
if attributes[:'facet_service']
|
227
|
+
if (value = attributes[:'facet_service']).is_a?(Array)
|
228
|
+
self.facet_service = value
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
if attributes[:'faq_categories']
|
233
|
+
if (value = attributes[:'faq_categories']).is_a?(Array)
|
234
|
+
self.faq_categories = value
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes[:'releasenote_category']
|
239
|
+
if (value = attributes[:'releasenote_category']).is_a?(Array)
|
240
|
+
self.releasenote_category = value
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
if attributes[:'releasenote_tag']
|
245
|
+
if (value = attributes[:'releasenote_tag']).is_a?(Array)
|
246
|
+
self.releasenote_tag = value
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
if attributes[:'service-area']
|
251
|
+
if (value = attributes[:'service-area']).is_a?(Array)
|
252
|
+
self.service_area = value
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
if attributes[:'video_categories']
|
257
|
+
if (value = attributes[:'video_categories']).is_a?(Array)
|
258
|
+
self.video_categories = value
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
end
|
263
|
+
|
264
|
+
# Check equality by comparing each attribute.
|
265
|
+
def ==(o)
|
266
|
+
return true if self.equal?(o)
|
267
|
+
self.class == o.class &&
|
268
|
+
id == o.id &&
|
269
|
+
categories == o.categories &&
|
270
|
+
description == o.description &&
|
271
|
+
content == o.content &&
|
272
|
+
excerpt == o.excerpt &&
|
273
|
+
link == o.link &&
|
274
|
+
modified == o.modified &&
|
275
|
+
name == o.name &&
|
276
|
+
service == o.service &&
|
277
|
+
slug == o.slug &&
|
278
|
+
title == o.title &&
|
279
|
+
get_type == o.get_type &&
|
280
|
+
facet_feature == o.facet_feature &&
|
281
|
+
facet_role == o.facet_role &&
|
282
|
+
facet_service == o.facet_service &&
|
283
|
+
faq_categories == o.faq_categories &&
|
284
|
+
releasenote_category == o.releasenote_category &&
|
285
|
+
releasenote_tag == o.releasenote_tag &&
|
286
|
+
service_area == o.service_area &&
|
287
|
+
video_categories == o.video_categories
|
288
|
+
end
|
289
|
+
|
290
|
+
# @see the `==` method
|
291
|
+
def eql?(o)
|
292
|
+
self == o
|
293
|
+
end
|
294
|
+
|
295
|
+
# Calculate hash code according to all attributes.
|
296
|
+
def hash
|
297
|
+
[id, categories, description, content, excerpt, link, modified, name, service, slug, title, get_type, facet_feature, facet_role, facet_service, faq_categories, releasenote_category, releasenote_tag, service_area, video_categories].hash
|
298
|
+
end
|
299
|
+
|
300
|
+
# build the object from hash
|
301
|
+
def build_from_hash(attributes)
|
302
|
+
return nil unless attributes.is_a?(Hash)
|
303
|
+
self.class.swagger_types.each_pair do |key, type|
|
304
|
+
if type =~ /^Array<(.*)>/i
|
305
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
306
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
307
|
+
else
|
308
|
+
#TODO show warning in debug mode
|
309
|
+
end
|
310
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
311
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
312
|
+
else
|
313
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
self
|
318
|
+
end
|
319
|
+
|
320
|
+
def _deserialize(type, value)
|
321
|
+
case type.to_sym
|
322
|
+
when :DateTime
|
323
|
+
DateTime.parse(value)
|
324
|
+
when :Date
|
325
|
+
Date.parse(value)
|
326
|
+
when :String
|
327
|
+
value.to_s
|
328
|
+
when :Integer
|
329
|
+
value.to_i
|
330
|
+
when :Float
|
331
|
+
value.to_f
|
332
|
+
when :BOOLEAN
|
333
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
334
|
+
true
|
335
|
+
else
|
336
|
+
false
|
337
|
+
end
|
338
|
+
when :Object
|
339
|
+
# generic object (usually a Hash), return directly
|
340
|
+
value
|
341
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
342
|
+
inner_type = Regexp.last_match[:inner_type]
|
343
|
+
value.map { |v| _deserialize(inner_type, v) }
|
344
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
345
|
+
k_type = Regexp.last_match[:k_type]
|
346
|
+
v_type = Regexp.last_match[:v_type]
|
347
|
+
{}.tap do |hash|
|
348
|
+
value.each do |k, v|
|
349
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
350
|
+
end
|
351
|
+
end
|
352
|
+
else # model
|
353
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
354
|
+
_model.build_from_hash(value)
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
def to_s
|
359
|
+
to_hash.to_s
|
360
|
+
end
|
361
|
+
|
362
|
+
# to_body is an alias to to_body (backward compatibility))
|
363
|
+
def to_body
|
364
|
+
to_hash
|
365
|
+
end
|
366
|
+
|
367
|
+
# return the object in the form of hash
|
368
|
+
def to_hash
|
369
|
+
hash = {}
|
370
|
+
self.class.attribute_map.each_pair do |attr, param|
|
371
|
+
value = self.send(attr)
|
372
|
+
next if value.nil?
|
373
|
+
hash[param] = _to_hash(value)
|
374
|
+
end
|
375
|
+
hash
|
376
|
+
end
|
377
|
+
|
378
|
+
# Method to output non-array value in the form of hash
|
379
|
+
# For object, use to_hash. Otherwise, just return the value
|
380
|
+
def _to_hash(value)
|
381
|
+
if value.is_a?(Array)
|
382
|
+
value.compact.map{ |v| _to_hash(v) }
|
383
|
+
elsif value.is_a?(Hash)
|
384
|
+
{}.tap do |hash|
|
385
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
386
|
+
end
|
387
|
+
elsif value.respond_to? :to_hash
|
388
|
+
value.to_hash
|
389
|
+
else
|
390
|
+
value
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
end
|
395
|
+
end
|