purecloud 0.60.1 → 0.61.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/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +1 -1
- data/doc_out/AttemptLimitsEntityListing.html.md +1 -1
- data/doc_out/AttributeEntityListing.html.md +1 -1
- data/doc_out/CalibrationEntityListing.html.md +1 -1
- data/doc_out/CallConversationEntityListing.html.md +1 -1
- data/doc_out/CallableTimeSetEntityListing.html.md +1 -1
- data/doc_out/CallbackConversationEntityListing.html.md +1 -1
- data/doc_out/CampaignEntityListing.html.md +1 -1
- data/doc_out/CampaignSequenceEntityListing.html.md +1 -1
- data/doc_out/CertificateAuthorityEntityListing.html.md +1 -1
- data/doc_out/ChannelEntityListing.html.md +1 -1
- data/doc_out/ChatConversationEntityListing.html.md +1 -1
- data/doc_out/CobrowseConversationEntityListing.html.md +1 -1
- data/doc_out/CommandStatusEntityListing.html.md +1 -1
- data/doc_out/ContactListEntityListing.html.md +1 -1
- data/doc_out/ConversationEntityListing.html.md +1 -1
- data/doc_out/CopyVoicemailMessage.html.md +15 -0
- data/doc_out/DIDEntityListing.html.md +1 -1
- data/doc_out/DIDPoolEntityListing.html.md +1 -1
- data/doc_out/DecisionsDownloadLink.html.md +14 -0
- data/doc_out/DecisionsDownloadMetadata.html.md +20 -0
- data/doc_out/DecisionsFileMetadataEntityListing.html.md +22 -0
- data/doc_out/DncListEntityListing.html.md +1 -1
- data/doc_out/DocumentAuditEntityListing.html.md +1 -1
- data/doc_out/DocumentEntityListing.html.md +1 -1
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListingEvaluationForm.html.md +1 -1
- data/doc_out/DomainEntityListingQueryResult.html.md +1 -1
- data/doc_out/Edge.html.md +2 -0
- data/doc_out/EdgeEntityListing.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +1 -1
- data/doc_out/EdgeLineEntityListing.html.md +1 -1
- data/doc_out/EmailConversationEntityListing.html.md +1 -1
- data/doc_out/EmailMessageListing.html.md +1 -1
- data/doc_out/EncryptionKeyEntityListing.html.md +1 -1
- data/doc_out/EndpointEntityListing.html.md +1 -1
- data/doc_out/EvaluationEntityListing.html.md +1 -1
- data/doc_out/EvaluationFormEntityListing.html.md +1 -1
- data/doc_out/EvaluatorActivityEntityListing.html.md +1 -1
- data/doc_out/ExtensionEntityListing.html.md +1 -1
- data/doc_out/ExtensionPoolEntityListing.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +1 -1
- data/doc_out/ForecastSearchCriteria.html.md +20 -0
- data/doc_out/ForecastSearchRequest.html.md +20 -0
- data/doc_out/GreetingListing.html.md +22 -0
- data/doc_out/GreetingsApi.html.md +240 -0
- data/doc_out/GroupEntityListing.html.md +1 -1
- data/doc_out/HeartBeatAlertContainer.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +1 -1
- data/doc_out/InboundDomainEntityListing.html.md +1 -1
- data/doc_out/InboundRouteEntityListing.html.md +1 -1
- data/doc_out/InteractionStatsAlertContainer.html.md +1 -1
- data/doc_out/InteractionStatsRuleContainer.html.md +1 -1
- data/doc_out/KeywordSetEntityListing.html.md +1 -1
- data/doc_out/LanguageEntityListing.html.md +1 -1
- data/doc_out/LanguagesApi.html.md +123 -70
- data/doc_out/LibraryEntityListing.html.md +1 -1
- data/doc_out/Line.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +1 -1
- data/doc_out/LineEntityListing.html.md +1 -1
- data/doc_out/LocalEncryptionConfigurationListing.html.md +1 -1
- data/doc_out/LogicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/OAuthClientEntityListing.html.md +1 -1
- data/doc_out/OAuthProviderEntityListing.html.md +1 -1
- data/doc_out/OrganizationPresenceEntityListing.html.md +1 -1
- data/doc_out/OrganizationRoleEntityListing.html.md +1 -1
- data/doc_out/OrphanRecordingListing.html.md +1 -1
- data/doc_out/OutboundApi.html.md +3 -1
- data/doc_out/OutboundRouteEntityListing.html.md +1 -1
- data/doc_out/Participant.html.md +1 -0
- data/doc_out/PermissionCollectionEntityListing.html.md +1 -1
- data/doc_out/Phone.html.md +2 -0
- data/doc_out/PhoneBaseEntityListing.html.md +1 -1
- data/doc_out/PhoneEntityListing.html.md +1 -1
- data/doc_out/PhoneMetaBaseEntityListing.html.md +1 -1
- data/doc_out/PhysicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/PolicyEntityListing.html.md +1 -1
- data/doc_out/QualityAuditPage.html.md +1 -1
- data/doc_out/QueueEntityListing.html.md +1 -1
- data/doc_out/QueueMemberEntityListing.html.md +1 -1
- data/doc_out/ReportMetaDataEntityListing.html.md +1 -1
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +1 -1
- data/doc_out/ReportScheduleEntityListing.html.md +1 -1
- data/doc_out/ResponseEntityList.html.md +1 -1
- data/doc_out/ResponseEntityListing.html.md +1 -1
- data/doc_out/ResponseSetEntityListing.html.md +1 -1
- data/doc_out/RoutingApi.html.md +121 -0
- data/doc_out/RoutingStatusAlertContainer.html.md +1 -1
- data/doc_out/RoutingStatusRuleContainer.html.md +1 -1
- data/doc_out/RuleSetEntityListing.html.md +1 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +1 -1
- data/doc_out/SchemaReferenceEntityListing.html.md +1 -1
- data/doc_out/ScreenRecordingSessionListing.html.md +1 -1
- data/doc_out/ScriptEntityListing.html.md +1 -1
- data/doc_out/SearchApi.html.md +122 -2
- data/doc_out/SecurityProfileEntityListing.html.md +1 -1
- data/doc_out/ShareEntityListing.html.md +1 -1
- data/doc_out/SiteEntityListing.html.md +1 -1
- data/doc_out/SkillEntityListing.html.md +1 -1
- data/doc_out/StationEntityListing.html.md +1 -1
- data/doc_out/SuggestApi.html.md +4 -2
- data/doc_out/SuggestSearchRequest.html.md +1 -0
- data/doc_out/TagValueEntityListing.html.md +1 -1
- data/doc_out/TelephonyProvidersEdgeApi.html.md +19 -5
- data/doc_out/TimeZoneEntityListing.html.md +1 -1
- data/doc_out/TrunkBaseEntityListing.html.md +1 -1
- data/doc_out/TrunkEntityListing.html.md +1 -1
- data/doc_out/TrunkMetabaseEntityListing.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +1 -1
- data/doc_out/UserPresenceAlertContainer.html.md +1 -1
- data/doc_out/UserPresenceRuleContainer.html.md +1 -1
- data/doc_out/UserQueueEntityListing.html.md +1 -1
- data/doc_out/UserRecordingEntityListing.html.md +1 -1
- data/doc_out/UserSkillEntityListing.html.md +1 -1
- data/doc_out/VoicemailApi.html.md +649 -10
- data/doc_out/VoicemailGroupPolicy.html.md +16 -0
- data/doc_out/VoicemailMailboxInfo.html.md +6 -6
- data/doc_out/VoicemailMessage.html.md +13 -9
- data/doc_out/VoicemailMessageEntityListing.html.md +8 -1
- data/doc_out/VoicemailOrganizationPolicy.html.md +1 -0
- data/doc_out/VoicemailSearchCriteria.html.md +20 -0
- data/doc_out/VoicemailSearchRequest.html.md +19 -0
- data/doc_out/VoicemailsSearchResponse.html.md +21 -0
- data/doc_out/WorkforceManagementApi.html.md +118 -0
- data/doc_out/WorkspaceEntityListing.html.md +1 -1
- data/doc_out/WorkspaceMemberEntityListing.html.md +1 -1
- data/doc_out/WrapupCodeEntityListing.html.md +1 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +11 -0
- data/lib/purecloud/api/greetings_api.rb +256 -0
- data/lib/purecloud/api/languages_api.rb +134 -80
- data/lib/purecloud/api/outbound_api.rb +3 -0
- data/lib/purecloud/api/routing_api.rb +131 -0
- data/lib/purecloud/api/search_api.rb +129 -2
- data/lib/purecloud/api/suggest_api.rb +5 -2
- data/lib/purecloud/api/telephony_providers_edge_api.rb +18 -0
- data/lib/purecloud/api/voicemail_api.rb +674 -8
- data/lib/purecloud/api/workforce_management_api.rb +123 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/analytics_conversation_segment.rb +1 -1
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +11 -11
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/copy_voicemail_message.rb +189 -0
- data/lib/purecloud/models/decisions_download_link.rb +177 -0
- data/lib/purecloud/models/decisions_download_metadata.rb +242 -0
- data/lib/purecloud/models/decisions_file_metadata_entity_listing.rb +257 -0
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
- data/lib/purecloud/models/edge.rb +30 -1
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_message_listing.rb +11 -11
- data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
- data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/forecast_search_criteria.rb +267 -0
- data/lib/purecloud/models/forecast_search_request.rb +259 -0
- data/lib/purecloud/models/greeting_listing.rb +257 -0
- data/lib/purecloud/models/group_entity_listing.rb +11 -11
- data/lib/purecloud/models/heart_beat_alert_container.rb +11 -11
- data/lib/purecloud/models/heart_beat_rule_container.rb +11 -11
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/interaction_stats_alert_container.rb +11 -11
- data/lib/purecloud/models/interaction_stats_rule_container.rb +11 -11
- data/lib/purecloud/models/keyword_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/language_entity_listing.rb +11 -11
- data/lib/purecloud/models/library_entity_listing.rb +11 -11
- data/lib/purecloud/models/line.rb +2 -0
- data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_entity_listing.rb +11 -11
- data/lib/purecloud/models/local_encryption_configuration_listing.rb +11 -11
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
- data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
- data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/participant.rb +12 -1
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone.rb +21 -1
- data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/policy_entity_listing.rb +11 -11
- data/lib/purecloud/models/quality_audit_page.rb +11 -11
- data/lib/purecloud/models/queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/queue_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
- data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_entity_list.rb +11 -11
- data/lib/purecloud/models/response_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/routing_status_alert_container.rb +11 -11
- data/lib/purecloud/models/routing_status_rule_container.rb +11 -11
- data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
- data/lib/purecloud/models/screen_recording_session_listing.rb +11 -11
- data/lib/purecloud/models/script_entity_listing.rb +11 -11
- data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- data/lib/purecloud/models/site_entity_listing.rb +11 -11
- data/lib/purecloud/models/skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- data/lib/purecloud/models/suggest_search_request.rb +14 -1
- data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
- data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_presence_alert_container.rb +11 -11
- data/lib/purecloud/models/user_presence_rule_container.rb +11 -11
- data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/voicemail_group_policy.rb +202 -0
- data/lib/purecloud/models/voicemail_mailbox_info.rb +13 -9
- data/lib/purecloud/models/voicemail_message.rb +56 -3
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +83 -13
- data/lib/purecloud/models/voicemail_organization_policy.rb +17 -4
- data/lib/purecloud/models/voicemail_search_criteria.rb +267 -0
- data/lib/purecloud/models/voicemail_search_request.rb +246 -0
- data/lib/purecloud/models/voicemails_search_response.rb +258 -0
- data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +24 -2
@@ -26,10 +26,10 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :first_uri
|
30
|
-
|
31
29
|
attr_accessor :self_uri
|
32
30
|
|
31
|
+
attr_accessor :first_uri
|
32
|
+
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :next_uri
|
@@ -50,10 +50,10 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'first_uri' => :'firstUri',
|
54
|
-
|
55
53
|
:'self_uri' => :'selfUri',
|
56
54
|
|
55
|
+
:'first_uri' => :'firstUri',
|
56
|
+
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'next_uri' => :'nextUri',
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'first_uri' => :'String',
|
76
75
|
:'self_uri' => :'String',
|
76
|
+
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
78
|
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
@@ -107,14 +107,14 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'firstUri']
|
111
|
-
self.first_uri = attributes[:'firstUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'selfUri']
|
115
111
|
self.self_uri = attributes[:'selfUri']
|
116
112
|
end
|
117
113
|
|
114
|
+
if attributes[:'firstUri']
|
115
|
+
self.first_uri = attributes[:'firstUri']
|
116
|
+
end
|
117
|
+
|
118
118
|
if attributes[:'previousUri']
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
@@ -141,8 +141,8 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
first_uri == o.first_uri &&
|
145
144
|
self_uri == o.self_uri &&
|
145
|
+
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
147
|
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
@@ -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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,10 +26,10 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :first_uri
|
30
|
-
|
31
29
|
attr_accessor :self_uri
|
32
30
|
|
31
|
+
attr_accessor :first_uri
|
32
|
+
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :next_uri
|
@@ -50,10 +50,10 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'first_uri' => :'firstUri',
|
54
|
-
|
55
53
|
:'self_uri' => :'selfUri',
|
56
54
|
|
55
|
+
:'first_uri' => :'firstUri',
|
56
|
+
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'next_uri' => :'nextUri',
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'first_uri' => :'String',
|
76
75
|
:'self_uri' => :'String',
|
76
|
+
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
78
|
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
@@ -107,14 +107,14 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'firstUri']
|
111
|
-
self.first_uri = attributes[:'firstUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'selfUri']
|
115
111
|
self.self_uri = attributes[:'selfUri']
|
116
112
|
end
|
117
113
|
|
114
|
+
if attributes[:'firstUri']
|
115
|
+
self.first_uri = attributes[:'firstUri']
|
116
|
+
end
|
117
|
+
|
118
118
|
if attributes[:'previousUri']
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
@@ -141,8 +141,8 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
first_uri == o.first_uri &&
|
145
144
|
self_uri == o.self_uri &&
|
145
|
+
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
147
|
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
@@ -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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -94,6 +94,10 @@ module PureCloud
|
|
94
94
|
|
95
95
|
attr_accessor :edge_deployment_type
|
96
96
|
|
97
|
+
attr_accessor :call_draining_state
|
98
|
+
|
99
|
+
attr_accessor :conversation_count
|
100
|
+
|
97
101
|
# The URI for this object
|
98
102
|
attr_accessor :self_uri
|
99
103
|
|
@@ -171,6 +175,10 @@ module PureCloud
|
|
171
175
|
|
172
176
|
:'edge_deployment_type' => :'edgeDeploymentType',
|
173
177
|
|
178
|
+
:'call_draining_state' => :'callDrainingState',
|
179
|
+
|
180
|
+
:'conversation_count' => :'conversationCount',
|
181
|
+
|
174
182
|
:'self_uri' => :'selfUri'
|
175
183
|
|
176
184
|
}
|
@@ -214,6 +222,8 @@ module PureCloud
|
|
214
222
|
:'physical_edge' => :'BOOLEAN',
|
215
223
|
:'managed' => :'BOOLEAN',
|
216
224
|
:'edge_deployment_type' => :'String',
|
225
|
+
:'call_draining_state' => :'String',
|
226
|
+
:'conversation_count' => :'Integer',
|
217
227
|
:'self_uri' => :'String'
|
218
228
|
|
219
229
|
}
|
@@ -372,6 +382,14 @@ module PureCloud
|
|
372
382
|
self.edge_deployment_type = attributes[:'edgeDeploymentType']
|
373
383
|
end
|
374
384
|
|
385
|
+
if attributes[:'callDrainingState']
|
386
|
+
self.call_draining_state = attributes[:'callDrainingState']
|
387
|
+
end
|
388
|
+
|
389
|
+
if attributes[:'conversationCount']
|
390
|
+
self.conversation_count = attributes[:'conversationCount']
|
391
|
+
end
|
392
|
+
|
375
393
|
if attributes[:'selfUri']
|
376
394
|
self.self_uri = attributes[:'selfUri']
|
377
395
|
end
|
@@ -414,6 +432,15 @@ module PureCloud
|
|
414
432
|
@edge_deployment_type = edge_deployment_type
|
415
433
|
end
|
416
434
|
|
435
|
+
# Custom attribute writer method checking allowed values (enum).
|
436
|
+
def call_draining_state=(call_draining_state)
|
437
|
+
allowed_values = ["NONE", "WAIT", "WAIT_TIMEOUT", "TERMINATE", "COMPLETE"]
|
438
|
+
if call_draining_state && !allowed_values.include?(call_draining_state)
|
439
|
+
fail "invalid value for 'call_draining_state', must be one of #{allowed_values}"
|
440
|
+
end
|
441
|
+
@call_draining_state = call_draining_state
|
442
|
+
end
|
443
|
+
|
417
444
|
# Check equality by comparing each attribute.
|
418
445
|
def ==(o)
|
419
446
|
return true if self.equal?(o)
|
@@ -453,6 +480,8 @@ module PureCloud
|
|
453
480
|
physical_edge == o.physical_edge &&
|
454
481
|
managed == o.managed &&
|
455
482
|
edge_deployment_type == o.edge_deployment_type &&
|
483
|
+
call_draining_state == o.call_draining_state &&
|
484
|
+
conversation_count == o.conversation_count &&
|
456
485
|
self_uri == o.self_uri
|
457
486
|
end
|
458
487
|
|
@@ -463,7 +492,7 @@ module PureCloud
|
|
463
492
|
|
464
493
|
# Calculate hash code according to all attributes.
|
465
494
|
def hash
|
466
|
-
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, interfaces, make, model, api_version, software_version, software_version_timestamp, software_version_platform, software_version_configuration, full_software_version, pairing_id, fingerprint, fingerprint_hint, current_version, staged_version, patch, status_code, edge_group, site, software_status, online_status, serial_number, physical_edge, managed, edge_deployment_type, self_uri].hash
|
495
|
+
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, interfaces, make, model, api_version, software_version, software_version_timestamp, software_version_platform, software_version_configuration, full_software_version, pairing_id, fingerprint, fingerprint_hint, current_version, staged_version, patch, status_code, edge_group, site, software_status, online_status, serial_number, physical_edge, managed, edge_deployment_type, call_draining_state, conversation_count, self_uri].hash
|
467
496
|
end
|
468
497
|
|
469
498
|
# build the object from hash
|
@@ -26,10 +26,10 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :first_uri
|
30
|
-
|
31
29
|
attr_accessor :self_uri
|
32
30
|
|
31
|
+
attr_accessor :first_uri
|
32
|
+
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :next_uri
|
@@ -50,10 +50,10 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'first_uri' => :'firstUri',
|
54
|
-
|
55
53
|
:'self_uri' => :'selfUri',
|
56
54
|
|
55
|
+
:'first_uri' => :'firstUri',
|
56
|
+
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'next_uri' => :'nextUri',
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'first_uri' => :'String',
|
76
75
|
:'self_uri' => :'String',
|
76
|
+
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
78
|
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
@@ -107,14 +107,14 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'firstUri']
|
111
|
-
self.first_uri = attributes[:'firstUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'selfUri']
|
115
111
|
self.self_uri = attributes[:'selfUri']
|
116
112
|
end
|
117
113
|
|
114
|
+
if attributes[:'firstUri']
|
115
|
+
self.first_uri = attributes[:'firstUri']
|
116
|
+
end
|
117
|
+
|
118
118
|
if attributes[:'previousUri']
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
@@ -141,8 +141,8 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
first_uri == o.first_uri &&
|
145
144
|
self_uri == o.self_uri &&
|
145
|
+
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
147
|
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
@@ -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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,10 +26,10 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :first_uri
|
30
|
-
|
31
29
|
attr_accessor :self_uri
|
32
30
|
|
31
|
+
attr_accessor :first_uri
|
32
|
+
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :next_uri
|
@@ -50,10 +50,10 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'first_uri' => :'firstUri',
|
54
|
-
|
55
53
|
:'self_uri' => :'selfUri',
|
56
54
|
|
55
|
+
:'first_uri' => :'firstUri',
|
56
|
+
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'next_uri' => :'nextUri',
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'first_uri' => :'String',
|
76
75
|
:'self_uri' => :'String',
|
76
|
+
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
78
|
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
@@ -107,14 +107,14 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'firstUri']
|
111
|
-
self.first_uri = attributes[:'firstUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'selfUri']
|
115
111
|
self.self_uri = attributes[:'selfUri']
|
116
112
|
end
|
117
113
|
|
114
|
+
if attributes[:'firstUri']
|
115
|
+
self.first_uri = attributes[:'firstUri']
|
116
|
+
end
|
117
|
+
|
118
118
|
if attributes[:'previousUri']
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
@@ -141,8 +141,8 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
first_uri == o.first_uri &&
|
145
144
|
self_uri == o.self_uri &&
|
145
|
+
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
147
|
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
@@ -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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,10 +26,10 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :first_uri
|
30
|
-
|
31
29
|
attr_accessor :self_uri
|
32
30
|
|
31
|
+
attr_accessor :first_uri
|
32
|
+
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :next_uri
|
@@ -50,10 +50,10 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'first_uri' => :'firstUri',
|
54
|
-
|
55
53
|
:'self_uri' => :'selfUri',
|
56
54
|
|
55
|
+
:'first_uri' => :'firstUri',
|
56
|
+
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'next_uri' => :'nextUri',
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'first_uri' => :'String',
|
76
75
|
:'self_uri' => :'String',
|
76
|
+
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
78
|
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
@@ -107,14 +107,14 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'firstUri']
|
111
|
-
self.first_uri = attributes[:'firstUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'selfUri']
|
115
111
|
self.self_uri = attributes[:'selfUri']
|
116
112
|
end
|
117
113
|
|
114
|
+
if attributes[:'firstUri']
|
115
|
+
self.first_uri = attributes[:'firstUri']
|
116
|
+
end
|
117
|
+
|
118
118
|
if attributes[:'previousUri']
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
@@ -141,8 +141,8 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
first_uri == o.first_uri &&
|
145
144
|
self_uri == o.self_uri &&
|
145
|
+
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
147
|
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
@@ -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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,10 +26,10 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :first_uri
|
30
|
-
|
31
29
|
attr_accessor :self_uri
|
32
30
|
|
31
|
+
attr_accessor :first_uri
|
32
|
+
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :next_uri
|
@@ -50,10 +50,10 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'first_uri' => :'firstUri',
|
54
|
-
|
55
53
|
:'self_uri' => :'selfUri',
|
56
54
|
|
55
|
+
:'first_uri' => :'firstUri',
|
56
|
+
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'next_uri' => :'nextUri',
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'first_uri' => :'String',
|
76
75
|
:'self_uri' => :'String',
|
76
|
+
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
78
|
:'next_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
@@ -107,14 +107,14 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'firstUri']
|
111
|
-
self.first_uri = attributes[:'firstUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'selfUri']
|
115
111
|
self.self_uri = attributes[:'selfUri']
|
116
112
|
end
|
117
113
|
|
114
|
+
if attributes[:'firstUri']
|
115
|
+
self.first_uri = attributes[:'firstUri']
|
116
|
+
end
|
117
|
+
|
118
118
|
if attributes[:'previousUri']
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
@@ -141,8 +141,8 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
first_uri == o.first_uri &&
|
145
144
|
self_uri == o.self_uri &&
|
145
|
+
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
147
|
next_uri == o.next_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
@@ -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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|