purecloud 0.48.1 → 0.49.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/AttributeEntityListing.html.md +1 -1
- data/doc_out/AvailableTopicEntityListing.html.md +1 -1
- data/doc_out/CalibrationEntityListing.html.md +1 -1
- data/doc_out/Call.html.md +1 -0
- data/doc_out/CallConversationEntityListing.html.md +1 -1
- data/doc_out/CallMediaParticipant.html.md +1 -0
- data/doc_out/CallableTimeSetEntityListing.html.md +1 -1
- data/doc_out/CallbackConversationEntityListing.html.md +1 -1
- data/doc_out/Campaign.html.md +1 -0
- 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/ChannelTopicEntityListing.html.md +1 -1
- data/doc_out/ChatConversationEntityListing.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/CreateQueueRequest.html.md +33 -0
- data/doc_out/DID.html.md +1 -1
- data/doc_out/DIDEntityListing.html.md +1 -1
- data/doc_out/DIDPool.html.md +3 -3
- data/doc_out/DIDPoolEntityListing.html.md +1 -1
- data/doc_out/DialerContactEntityListing.html.md +1 -1
- data/doc_out/DncListEntityListing.html.md +1 -1
- data/doc_out/Document.html.md +1 -1
- data/doc_out/DocumentAuditEntityListing.html.md +1 -1
- data/doc_out/DocumentEntityListing.html.md +1 -1
- data/doc_out/DocumentThumbnail.html.md +2 -0
- data/doc_out/DomainCertificateAuthority.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/DomainLogicalInterface.html.md +1 -1
- data/doc_out/DomainPhysicalInterface.html.md +10 -1
- data/doc_out/DomainSchemaReference.html.md +10 -1
- data/doc_out/DownloadResponse.html.md +1 -0
- data/doc_out/Edge.html.md +1 -1
- data/doc_out/EdgeEntityListing.html.md +1 -1
- data/doc_out/EdgeGroup.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +1 -1
- data/doc_out/EdgeLine.html.md +10 -1
- data/doc_out/EdgeLineEntityListing.html.md +1 -1
- data/doc_out/EdgeLogsJob.html.md +10 -1
- data/doc_out/EdgeLogsJobFile.html.md +10 -1
- data/doc_out/EdgeLogsJobResponse.html.md +10 -1
- data/doc_out/EdgeLogsJobUploadRequest.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/Extension.html.md +1 -1
- data/doc_out/ExtensionEntityListing.html.md +1 -1
- data/doc_out/ExtensionPool.html.md +1 -1
- data/doc_out/ExtensionPoolEntityListing.html.md +1 -1
- data/doc_out/FaxDocument.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +1 -1
- data/doc_out/FaxStatus.html.md +20 -0
- data/doc_out/GroupEntityListing.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/JsonNode.html.md +2 -2
- data/doc_out/Keyword.html.md +3 -0
- data/doc_out/KeywordSetEntityListing.html.md +1 -1
- data/doc_out/LanguageEntityListing.html.md +1 -1
- data/doc_out/LibraryEntityListing.html.md +1 -1
- data/doc_out/Line.html.md +1 -1
- data/doc_out/LineBase.html.md +10 -1
- data/doc_out/LineBaseEntityListing.html.md +1 -1
- data/doc_out/LineEntityListing.html.md +1 -1
- data/doc_out/Location.html.md +1 -0
- data/doc_out/LogicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/Metabase.html.md +9 -1
- data/doc_out/NumberPlan.html.md +2 -2
- 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/OutboundRoute.html.md +2 -2
- data/doc_out/OutboundRouteEntityListing.html.md +1 -1
- data/doc_out/PermissionCollectionEntityListing.html.md +1 -1
- data/doc_out/Phone.html.md +2 -2
- data/doc_out/PhoneBase.html.md +12 -3
- 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/QualityApi.html.md +58 -0
- data/doc_out/QualityAuditPage.html.md +1 -1
- data/doc_out/Queue.html.md +7 -7
- data/doc_out/QueueEntityListing.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 +2 -2
- data/doc_out/RuleSetEntityListing.html.md +1 -1
- data/doc_out/SchemaCategory.html.md +10 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +1 -1
- data/doc_out/SchemaReferenceEntityListing.html.md +1 -1
- data/doc_out/SecurityProfileEntityListing.html.md +1 -1
- data/doc_out/ShareEntityListing.html.md +1 -1
- data/doc_out/Site.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/TagValueEntityListing.html.md +1 -1
- data/doc_out/TelephonyProvidersEdgeApi.html.md +4 -0
- data/doc_out/TimeZoneEntityListing.html.md +1 -1
- data/doc_out/Trunk.html.md +1 -1
- data/doc_out/TrunkBase.html.md +1 -1
- data/doc_out/TrunkEntityListing.html.md +1 -1
- data/doc_out/TrunkMetabaseEntityListing.html.md +1 -1
- data/doc_out/User.html.md +1 -0
- data/doc_out/UserEntityListing.html.md +1 -1
- data/doc_out/UserMe.html.md +1 -0
- data/doc_out/UserQueue.html.md +7 -7
- 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/UsersEntityListing.html.md +1 -1
- data/doc_out/ValidateAddressRequest.html.md +1 -1
- 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 +2 -0
- data/lib/purecloud/api/quality_api.rb +57 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +6 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/available_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call.rb +15 -5
- data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/call_media_participant.rb +13 -2
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback.rb +1 -1
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_media_participant.rb +1 -1
- data/lib/purecloud/models/campaign.rb +12 -1
- 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/channel_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_media_participant.rb +1 -1
- 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/create_queue_request.rb +397 -0
- data/lib/purecloud/models/dialer_contact_entity_listing.rb +11 -11
- data/lib/purecloud/models/did.rb +1 -0
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool.rb +1 -0
- 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.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/document_thumbnail.rb +24 -4
- data/lib/purecloud/models/domain_certificate_authority.rb +1 -0
- 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/domain_logical_interface.rb +1 -0
- data/lib/purecloud/models/domain_physical_interface.rb +103 -1
- data/lib/purecloud/models/domain_schema_reference.rb +103 -1
- data/lib/purecloud/models/download_response.rb +16 -4
- data/lib/purecloud/models/edge.rb +1 -0
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group.rb +1 -0
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line.rb +103 -1
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_logs_job.rb +103 -1
- data/lib/purecloud/models/edge_logs_job_file.rb +103 -1
- data/lib/purecloud/models/edge_logs_job_response.rb +103 -1
- data/lib/purecloud/models/edge_logs_job_upload_request.rb +1 -0
- data/lib/purecloud/models/email.rb +1 -1
- data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_media_participant.rb +1 -1
- 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.rb +1 -0
- data/lib/purecloud/models/extension_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool.rb +1 -0
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/fax_document.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/fax_status.rb +235 -0
- data/lib/purecloud/models/group_entity_listing.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/json_node.rb +25 -25
- data/lib/purecloud/models/keyword.rb +34 -4
- 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 +1 -0
- data/lib/purecloud/models/line_base.rb +103 -1
- 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/location.rb +13 -1
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/metabase.rb +93 -1
- data/lib/purecloud/models/number_plan.rb +1 -10
- 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.rb +2 -1
- data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone.rb +2 -1
- data/lib/purecloud/models/phone_base.rb +105 -3
- 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.rb +7 -0
- data/lib/purecloud/models/queue_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/rule_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_category.rb +103 -1
- 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/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- data/lib/purecloud/models/site.rb +1 -0
- data/lib/purecloud/models/site_entity_listing.rb +11 -11
- data/lib/purecloud/models/skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/social_expression.rb +1 -1
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- 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.rb +1 -0
- data/lib/purecloud/models/trunk_base.rb +1 -0
- 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.rb +14 -1
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_me.rb +14 -1
- data/lib/purecloud/models/user_queue.rb +7 -0
- 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/users_entity_listing.rb +11 -11
- data/lib/purecloud/models/validate_address_request.rb +1 -0
- data/lib/purecloud/models/video.rb +1 -1
- 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 +6 -2
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
35
|
attr_accessor :next_uri
|
38
36
|
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -56,10 +56,10 @@ module PureCloud
|
|
56
56
|
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
59
|
:'next_uri' => :'nextUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -75,8 +75,8 @@ module PureCloud
|
|
75
75
|
:'self_uri' => :'String',
|
76
76
|
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'last_uri' => :'String',
|
79
78
|
:'next_uri' => :'String',
|
79
|
+
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -119,14 +119,14 @@ module PureCloud
|
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
121
121
|
|
122
|
-
if attributes[:'lastUri']
|
123
|
-
self.last_uri = attributes[:'lastUri']
|
124
|
-
end
|
125
|
-
|
126
122
|
if attributes[:'nextUri']
|
127
123
|
self.next_uri = attributes[:'nextUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'lastUri']
|
127
|
+
self.last_uri = attributes[:'lastUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -144,8 +144,8 @@ module PureCloud
|
|
144
144
|
self_uri == o.self_uri &&
|
145
145
|
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
last_uri == o.last_uri &&
|
148
147
|
next_uri == o.next_uri &&
|
148
|
+
last_uri == o.last_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
|
-
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri,
|
159
|
+
[page_size, page_number, total, entities, 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
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
35
|
attr_accessor :next_uri
|
38
36
|
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -56,10 +56,10 @@ module PureCloud
|
|
56
56
|
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
59
|
:'next_uri' => :'nextUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -75,8 +75,8 @@ module PureCloud
|
|
75
75
|
:'self_uri' => :'String',
|
76
76
|
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'last_uri' => :'String',
|
79
78
|
:'next_uri' => :'String',
|
79
|
+
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -119,14 +119,14 @@ module PureCloud
|
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
121
121
|
|
122
|
-
if attributes[:'lastUri']
|
123
|
-
self.last_uri = attributes[:'lastUri']
|
124
|
-
end
|
125
|
-
|
126
122
|
if attributes[:'nextUri']
|
127
123
|
self.next_uri = attributes[:'nextUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'lastUri']
|
127
|
+
self.last_uri = attributes[:'lastUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -144,8 +144,8 @@ module PureCloud
|
|
144
144
|
self_uri == o.self_uri &&
|
145
145
|
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
last_uri == o.last_uri &&
|
148
147
|
next_uri == o.next_uri &&
|
148
|
+
last_uri == o.last_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
|
-
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri,
|
159
|
+
[page_size, page_number, total, entities, 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
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
35
|
attr_accessor :next_uri
|
38
36
|
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -56,10 +56,10 @@ module PureCloud
|
|
56
56
|
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
59
|
:'next_uri' => :'nextUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -75,8 +75,8 @@ module PureCloud
|
|
75
75
|
:'self_uri' => :'String',
|
76
76
|
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'last_uri' => :'String',
|
79
78
|
:'next_uri' => :'String',
|
79
|
+
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -119,14 +119,14 @@ module PureCloud
|
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
121
121
|
|
122
|
-
if attributes[:'lastUri']
|
123
|
-
self.last_uri = attributes[:'lastUri']
|
124
|
-
end
|
125
|
-
|
126
122
|
if attributes[:'nextUri']
|
127
123
|
self.next_uri = attributes[:'nextUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'lastUri']
|
127
|
+
self.last_uri = attributes[:'lastUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -144,8 +144,8 @@ module PureCloud
|
|
144
144
|
self_uri == o.self_uri &&
|
145
145
|
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
last_uri == o.last_uri &&
|
148
147
|
next_uri == o.next_uri &&
|
148
|
+
last_uri == o.last_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
|
-
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri,
|
159
|
+
[page_size, page_number, total, entities, 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
|
@@ -51,10 +51,10 @@ module PureCloud
|
|
51
51
|
|
52
52
|
attr_accessor :thumbnails
|
53
53
|
|
54
|
-
attr_accessor :sharing_uri
|
55
|
-
|
56
54
|
attr_accessor :download_sharing_uri
|
57
55
|
|
56
|
+
attr_accessor :sharing_uri
|
57
|
+
|
58
58
|
# The URI for this object
|
59
59
|
attr_accessor :self_uri
|
60
60
|
|
@@ -92,10 +92,10 @@ module PureCloud
|
|
92
92
|
|
93
93
|
:'thumbnails' => :'thumbnails',
|
94
94
|
|
95
|
-
:'sharing_uri' => :'sharingUri',
|
96
|
-
|
97
95
|
:'download_sharing_uri' => :'downloadSharingUri',
|
98
96
|
|
97
|
+
:'sharing_uri' => :'sharingUri',
|
98
|
+
|
99
99
|
:'self_uri' => :'selfUri'
|
100
100
|
|
101
101
|
}
|
@@ -119,8 +119,8 @@ module PureCloud
|
|
119
119
|
:'caller_address' => :'String',
|
120
120
|
:'receiver_address' => :'String',
|
121
121
|
:'thumbnails' => :'Array<DocumentThumbnail>',
|
122
|
-
:'sharing_uri' => :'String',
|
123
122
|
:'download_sharing_uri' => :'String',
|
123
|
+
:'sharing_uri' => :'String',
|
124
124
|
:'self_uri' => :'String'
|
125
125
|
|
126
126
|
}
|
@@ -197,14 +197,14 @@ module PureCloud
|
|
197
197
|
end
|
198
198
|
end
|
199
199
|
|
200
|
-
if attributes[:'sharingUri']
|
201
|
-
self.sharing_uri = attributes[:'sharingUri']
|
202
|
-
end
|
203
|
-
|
204
200
|
if attributes[:'downloadSharingUri']
|
205
201
|
self.download_sharing_uri = attributes[:'downloadSharingUri']
|
206
202
|
end
|
207
203
|
|
204
|
+
if attributes[:'sharingUri']
|
205
|
+
self.sharing_uri = attributes[:'sharingUri']
|
206
|
+
end
|
207
|
+
|
208
208
|
if attributes[:'selfUri']
|
209
209
|
self.self_uri = attributes[:'selfUri']
|
210
210
|
end
|
@@ -230,8 +230,8 @@ module PureCloud
|
|
230
230
|
caller_address == o.caller_address &&
|
231
231
|
receiver_address == o.receiver_address &&
|
232
232
|
thumbnails == o.thumbnails &&
|
233
|
-
sharing_uri == o.sharing_uri &&
|
234
233
|
download_sharing_uri == o.download_sharing_uri &&
|
234
|
+
sharing_uri == o.sharing_uri &&
|
235
235
|
self_uri == o.self_uri
|
236
236
|
end
|
237
237
|
|
@@ -242,7 +242,7 @@ module PureCloud
|
|
242
242
|
|
243
243
|
# Calculate hash code according to all attributes.
|
244
244
|
def hash
|
245
|
-
[id, name, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails,
|
245
|
+
[id, name, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails, download_sharing_uri, sharing_uri, self_uri].hash
|
246
246
|
end
|
247
247
|
|
248
248
|
# build the object from hash
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
35
|
attr_accessor :next_uri
|
38
36
|
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -56,10 +56,10 @@ module PureCloud
|
|
56
56
|
|
57
57
|
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
59
|
:'next_uri' => :'nextUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -75,8 +75,8 @@ module PureCloud
|
|
75
75
|
:'self_uri' => :'String',
|
76
76
|
:'first_uri' => :'String',
|
77
77
|
:'previous_uri' => :'String',
|
78
|
-
:'last_uri' => :'String',
|
79
78
|
:'next_uri' => :'String',
|
79
|
+
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -119,14 +119,14 @@ module PureCloud
|
|
119
119
|
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
121
121
|
|
122
|
-
if attributes[:'lastUri']
|
123
|
-
self.last_uri = attributes[:'lastUri']
|
124
|
-
end
|
125
|
-
|
126
122
|
if attributes[:'nextUri']
|
127
123
|
self.next_uri = attributes[:'nextUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'lastUri']
|
127
|
+
self.last_uri = attributes[:'lastUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -144,8 +144,8 @@ module PureCloud
|
|
144
144
|
self_uri == o.self_uri &&
|
145
145
|
first_uri == o.first_uri &&
|
146
146
|
previous_uri == o.previous_uri &&
|
147
|
-
last_uri == o.last_uri &&
|
148
147
|
next_uri == o.next_uri &&
|
148
|
+
last_uri == o.last_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
|
-
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri,
|
159
|
+
[page_size, page_number, total, entities, 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
|
@@ -0,0 +1,235 @@
|
|
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 FaxStatus
|
21
|
+
attr_accessor :direction
|
22
|
+
|
23
|
+
attr_accessor :expected_pages
|
24
|
+
|
25
|
+
attr_accessor :active_page
|
26
|
+
|
27
|
+
attr_accessor :lines_transmitted
|
28
|
+
|
29
|
+
attr_accessor :bytes_transmitted
|
30
|
+
|
31
|
+
attr_accessor :baud_rate
|
32
|
+
|
33
|
+
attr_accessor :page_errors
|
34
|
+
|
35
|
+
attr_accessor :line_errors
|
36
|
+
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
|
41
|
+
:'direction' => :'direction',
|
42
|
+
|
43
|
+
:'expected_pages' => :'expectedPages',
|
44
|
+
|
45
|
+
:'active_page' => :'activePage',
|
46
|
+
|
47
|
+
:'lines_transmitted' => :'linesTransmitted',
|
48
|
+
|
49
|
+
:'bytes_transmitted' => :'bytesTransmitted',
|
50
|
+
|
51
|
+
:'baud_rate' => :'baudRate',
|
52
|
+
|
53
|
+
:'page_errors' => :'pageErrors',
|
54
|
+
|
55
|
+
:'line_errors' => :'lineErrors'
|
56
|
+
|
57
|
+
}
|
58
|
+
end
|
59
|
+
|
60
|
+
# Attribute type mapping.
|
61
|
+
def self.swagger_types
|
62
|
+
{
|
63
|
+
:'direction' => :'String',
|
64
|
+
:'expected_pages' => :'Integer',
|
65
|
+
:'active_page' => :'Integer',
|
66
|
+
:'lines_transmitted' => :'Integer',
|
67
|
+
:'bytes_transmitted' => :'Integer',
|
68
|
+
:'baud_rate' => :'Integer',
|
69
|
+
:'page_errors' => :'Integer',
|
70
|
+
:'line_errors' => :'Integer'
|
71
|
+
|
72
|
+
}
|
73
|
+
end
|
74
|
+
|
75
|
+
def initialize(attributes = {})
|
76
|
+
return unless attributes.is_a?(Hash)
|
77
|
+
|
78
|
+
# convert string to symbol for hash key
|
79
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
80
|
+
|
81
|
+
|
82
|
+
if attributes[:'direction']
|
83
|
+
self.direction = attributes[:'direction']
|
84
|
+
end
|
85
|
+
|
86
|
+
if attributes[:'expectedPages']
|
87
|
+
self.expected_pages = attributes[:'expectedPages']
|
88
|
+
end
|
89
|
+
|
90
|
+
if attributes[:'activePage']
|
91
|
+
self.active_page = attributes[:'activePage']
|
92
|
+
end
|
93
|
+
|
94
|
+
if attributes[:'linesTransmitted']
|
95
|
+
self.lines_transmitted = attributes[:'linesTransmitted']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes[:'bytesTransmitted']
|
99
|
+
self.bytes_transmitted = attributes[:'bytesTransmitted']
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes[:'baudRate']
|
103
|
+
self.baud_rate = attributes[:'baudRate']
|
104
|
+
end
|
105
|
+
|
106
|
+
if attributes[:'pageErrors']
|
107
|
+
self.page_errors = attributes[:'pageErrors']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes[:'lineErrors']
|
111
|
+
self.line_errors = attributes[:'lineErrors']
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
115
|
+
|
116
|
+
# Check equality by comparing each attribute.
|
117
|
+
def ==(o)
|
118
|
+
return true if self.equal?(o)
|
119
|
+
self.class == o.class &&
|
120
|
+
direction == o.direction &&
|
121
|
+
expected_pages == o.expected_pages &&
|
122
|
+
active_page == o.active_page &&
|
123
|
+
lines_transmitted == o.lines_transmitted &&
|
124
|
+
bytes_transmitted == o.bytes_transmitted &&
|
125
|
+
baud_rate == o.baud_rate &&
|
126
|
+
page_errors == o.page_errors &&
|
127
|
+
line_errors == o.line_errors
|
128
|
+
end
|
129
|
+
|
130
|
+
# @see the `==` method
|
131
|
+
def eql?(o)
|
132
|
+
self == o
|
133
|
+
end
|
134
|
+
|
135
|
+
# Calculate hash code according to all attributes.
|
136
|
+
def hash
|
137
|
+
[direction, expected_pages, active_page, lines_transmitted, bytes_transmitted, baud_rate, page_errors, line_errors].hash
|
138
|
+
end
|
139
|
+
|
140
|
+
# build the object from hash
|
141
|
+
def build_from_hash(attributes)
|
142
|
+
return nil unless attributes.is_a?(Hash)
|
143
|
+
self.class.swagger_types.each_pair do |key, type|
|
144
|
+
if type =~ /^Array<(.*)>/i
|
145
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
146
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
147
|
+
else
|
148
|
+
#TODO show warning in debug mode
|
149
|
+
end
|
150
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
151
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
152
|
+
else
|
153
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
self
|
158
|
+
end
|
159
|
+
|
160
|
+
def _deserialize(type, value)
|
161
|
+
case type.to_sym
|
162
|
+
when :DateTime
|
163
|
+
DateTime.parse(value)
|
164
|
+
when :Date
|
165
|
+
Date.parse(value)
|
166
|
+
when :String
|
167
|
+
value.to_s
|
168
|
+
when :Integer
|
169
|
+
value.to_i
|
170
|
+
when :Float
|
171
|
+
value.to_f
|
172
|
+
when :BOOLEAN
|
173
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
174
|
+
true
|
175
|
+
else
|
176
|
+
false
|
177
|
+
end
|
178
|
+
when :Object
|
179
|
+
# generic object (usually a Hash), return directly
|
180
|
+
value
|
181
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
182
|
+
inner_type = Regexp.last_match[:inner_type]
|
183
|
+
value.map { |v| _deserialize(inner_type, v) }
|
184
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
185
|
+
k_type = Regexp.last_match[:k_type]
|
186
|
+
v_type = Regexp.last_match[:v_type]
|
187
|
+
{}.tap do |hash|
|
188
|
+
value.each do |k, v|
|
189
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
190
|
+
end
|
191
|
+
end
|
192
|
+
else # model
|
193
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
194
|
+
_model.build_from_hash(value)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
def to_s
|
199
|
+
to_hash.to_s
|
200
|
+
end
|
201
|
+
|
202
|
+
# to_body is an alias to to_body (backward compatibility))
|
203
|
+
def to_body
|
204
|
+
to_hash
|
205
|
+
end
|
206
|
+
|
207
|
+
# return the object in the form of hash
|
208
|
+
def to_hash
|
209
|
+
hash = {}
|
210
|
+
self.class.attribute_map.each_pair do |attr, param|
|
211
|
+
value = self.send(attr)
|
212
|
+
next if value.nil?
|
213
|
+
hash[param] = _to_hash(value)
|
214
|
+
end
|
215
|
+
hash
|
216
|
+
end
|
217
|
+
|
218
|
+
# Method to output non-array value in the form of hash
|
219
|
+
# For object, use to_hash. Otherwise, just return the value
|
220
|
+
def _to_hash(value)
|
221
|
+
if value.is_a?(Array)
|
222
|
+
value.compact.map{ |v| _to_hash(v) }
|
223
|
+
elsif value.is_a?(Hash)
|
224
|
+
{}.tap do |hash|
|
225
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
226
|
+
end
|
227
|
+
elsif value.respond_to? :to_hash
|
228
|
+
value.to_hash
|
229
|
+
else
|
230
|
+
value
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|
235
|
+
end
|