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
|
@@ -34,6 +34,8 @@ module PureCloud
|
|
34
34
|
|
35
35
|
attr_accessor :version
|
36
36
|
|
37
|
+
attr_accessor :path
|
38
|
+
|
37
39
|
# The URI for this object
|
38
40
|
attr_accessor :self_uri
|
39
41
|
|
@@ -55,6 +57,8 @@ module PureCloud
|
|
55
57
|
|
56
58
|
:'version' => :'version',
|
57
59
|
|
60
|
+
:'path' => :'path',
|
61
|
+
|
58
62
|
:'self_uri' => :'selfUri'
|
59
63
|
|
60
64
|
}
|
@@ -70,6 +74,7 @@ module PureCloud
|
|
70
74
|
:'emergency_number' => :'LocationEmergencyNumber',
|
71
75
|
:'state' => :'String',
|
72
76
|
:'version' => :'Integer',
|
77
|
+
:'path' => :'Array<String>',
|
73
78
|
:'self_uri' => :'String'
|
74
79
|
|
75
80
|
}
|
@@ -112,6 +117,12 @@ module PureCloud
|
|
112
117
|
self.version = attributes[:'version']
|
113
118
|
end
|
114
119
|
|
120
|
+
if attributes[:'path']
|
121
|
+
if (value = attributes[:'path']).is_a?(Array)
|
122
|
+
self.path = value
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
115
126
|
if attributes[:'selfUri']
|
116
127
|
self.self_uri = attributes[:'selfUri']
|
117
128
|
end
|
@@ -138,6 +149,7 @@ module PureCloud
|
|
138
149
|
emergency_number == o.emergency_number &&
|
139
150
|
state == o.state &&
|
140
151
|
version == o.version &&
|
152
|
+
path == o.path &&
|
141
153
|
self_uri == o.self_uri
|
142
154
|
end
|
143
155
|
|
@@ -148,7 +160,7 @@ module PureCloud
|
|
148
160
|
|
149
161
|
# Calculate hash code according to all attributes.
|
150
162
|
def hash
|
151
|
-
[id, name, address, address_verified, emergency_number, state, version, self_uri].hash
|
163
|
+
[id, name, address, address_verified, emergency_number, state, version, path, self_uri].hash
|
152
164
|
end
|
153
165
|
|
154
166
|
# 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
|
@@ -21,10 +21,29 @@ module PureCloud
|
|
21
21
|
# The globally unique identifier for the object.
|
22
22
|
attr_accessor :id
|
23
23
|
|
24
|
+
# The name of the entity.
|
24
25
|
attr_accessor :name
|
25
26
|
|
26
27
|
attr_accessor :description
|
27
28
|
|
29
|
+
attr_accessor :version
|
30
|
+
|
31
|
+
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
|
+
attr_accessor :date_created
|
33
|
+
|
34
|
+
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
35
|
+
attr_accessor :date_modified
|
36
|
+
|
37
|
+
attr_accessor :modified_by
|
38
|
+
|
39
|
+
attr_accessor :created_by
|
40
|
+
|
41
|
+
attr_accessor :state
|
42
|
+
|
43
|
+
attr_accessor :modified_by_app
|
44
|
+
|
45
|
+
attr_accessor :created_by_app
|
46
|
+
|
28
47
|
# The URI for this object
|
29
48
|
attr_accessor :self_uri
|
30
49
|
|
@@ -38,6 +57,22 @@ module PureCloud
|
|
38
57
|
|
39
58
|
:'description' => :'description',
|
40
59
|
|
60
|
+
:'version' => :'version',
|
61
|
+
|
62
|
+
:'date_created' => :'dateCreated',
|
63
|
+
|
64
|
+
:'date_modified' => :'dateModified',
|
65
|
+
|
66
|
+
:'modified_by' => :'modifiedBy',
|
67
|
+
|
68
|
+
:'created_by' => :'createdBy',
|
69
|
+
|
70
|
+
:'state' => :'state',
|
71
|
+
|
72
|
+
:'modified_by_app' => :'modifiedByApp',
|
73
|
+
|
74
|
+
:'created_by_app' => :'createdByApp',
|
75
|
+
|
41
76
|
:'self_uri' => :'selfUri'
|
42
77
|
|
43
78
|
}
|
@@ -49,6 +84,14 @@ module PureCloud
|
|
49
84
|
:'id' => :'String',
|
50
85
|
:'name' => :'String',
|
51
86
|
:'description' => :'String',
|
87
|
+
:'version' => :'Integer',
|
88
|
+
:'date_created' => :'DateTime',
|
89
|
+
:'date_modified' => :'DateTime',
|
90
|
+
:'modified_by' => :'String',
|
91
|
+
:'created_by' => :'String',
|
92
|
+
:'state' => :'String',
|
93
|
+
:'modified_by_app' => :'String',
|
94
|
+
:'created_by_app' => :'String',
|
52
95
|
:'self_uri' => :'String'
|
53
96
|
|
54
97
|
}
|
@@ -73,12 +116,53 @@ module PureCloud
|
|
73
116
|
self.description = attributes[:'description']
|
74
117
|
end
|
75
118
|
|
119
|
+
if attributes[:'version']
|
120
|
+
self.version = attributes[:'version']
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes[:'dateCreated']
|
124
|
+
self.date_created = attributes[:'dateCreated']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes[:'dateModified']
|
128
|
+
self.date_modified = attributes[:'dateModified']
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes[:'modifiedBy']
|
132
|
+
self.modified_by = attributes[:'modifiedBy']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes[:'createdBy']
|
136
|
+
self.created_by = attributes[:'createdBy']
|
137
|
+
end
|
138
|
+
|
139
|
+
if attributes[:'state']
|
140
|
+
self.state = attributes[:'state']
|
141
|
+
end
|
142
|
+
|
143
|
+
if attributes[:'modifiedByApp']
|
144
|
+
self.modified_by_app = attributes[:'modifiedByApp']
|
145
|
+
end
|
146
|
+
|
147
|
+
if attributes[:'createdByApp']
|
148
|
+
self.created_by_app = attributes[:'createdByApp']
|
149
|
+
end
|
150
|
+
|
76
151
|
if attributes[:'selfUri']
|
77
152
|
self.self_uri = attributes[:'selfUri']
|
78
153
|
end
|
79
154
|
|
80
155
|
end
|
81
156
|
|
157
|
+
# Custom attribute writer method checking allowed values (enum).
|
158
|
+
def state=(state)
|
159
|
+
allowed_values = ["active", "inactive", "deleted"]
|
160
|
+
if state && !allowed_values.include?(state)
|
161
|
+
fail "invalid value for 'state', must be one of #{allowed_values}"
|
162
|
+
end
|
163
|
+
@state = state
|
164
|
+
end
|
165
|
+
|
82
166
|
# Check equality by comparing each attribute.
|
83
167
|
def ==(o)
|
84
168
|
return true if self.equal?(o)
|
@@ -86,6 +170,14 @@ module PureCloud
|
|
86
170
|
id == o.id &&
|
87
171
|
name == o.name &&
|
88
172
|
description == o.description &&
|
173
|
+
version == o.version &&
|
174
|
+
date_created == o.date_created &&
|
175
|
+
date_modified == o.date_modified &&
|
176
|
+
modified_by == o.modified_by &&
|
177
|
+
created_by == o.created_by &&
|
178
|
+
state == o.state &&
|
179
|
+
modified_by_app == o.modified_by_app &&
|
180
|
+
created_by_app == o.created_by_app &&
|
89
181
|
self_uri == o.self_uri
|
90
182
|
end
|
91
183
|
|
@@ -96,7 +188,7 @@ module PureCloud
|
|
96
188
|
|
97
189
|
# Calculate hash code according to all attributes.
|
98
190
|
def hash
|
99
|
-
[id, name, description, self_uri].hash
|
191
|
+
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, self_uri].hash
|
100
192
|
end
|
101
193
|
|
102
194
|
# build the object from hash
|
@@ -21,6 +21,7 @@ module PureCloud
|
|
21
21
|
# The globally unique identifier for the object.
|
22
22
|
attr_accessor :id
|
23
23
|
|
24
|
+
# The name of the entity.
|
24
25
|
attr_accessor :name
|
25
26
|
|
26
27
|
attr_accessor :description
|
@@ -55,7 +56,6 @@ module PureCloud
|
|
55
56
|
|
56
57
|
attr_accessor :classification
|
57
58
|
|
58
|
-
# The type of matching technique the number plan uses.
|
59
59
|
attr_accessor :match_type
|
60
60
|
|
61
61
|
# The URI for this object
|
@@ -228,15 +228,6 @@ module PureCloud
|
|
228
228
|
@state = state
|
229
229
|
end
|
230
230
|
|
231
|
-
# Custom attribute writer method checking allowed values (enum).
|
232
|
-
def match_type=(match_type)
|
233
|
-
allowed_values = ["e164NumberList", "numberList", "digitLength", "regex", "intraCountryCode", "interCountryCode"]
|
234
|
-
if match_type && !allowed_values.include?(match_type)
|
235
|
-
fail "invalid value for 'match_type', must be one of #{allowed_values}"
|
236
|
-
end
|
237
|
-
@match_type = match_type
|
238
|
-
end
|
239
|
-
|
240
231
|
# Check equality by comparing each attribute.
|
241
232
|
def ==(o)
|
242
233
|
return true if self.equal?(o)
|
@@ -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
|