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
@@ -21,8 +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
|
|
27
|
+
attr_accessor :description
|
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
|
+
|
26
47
|
# The URI for this object
|
27
48
|
attr_accessor :self_uri
|
28
49
|
|
@@ -34,6 +55,24 @@ module PureCloud
|
|
34
55
|
|
35
56
|
:'name' => :'name',
|
36
57
|
|
58
|
+
:'description' => :'description',
|
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
|
+
|
37
76
|
:'self_uri' => :'selfUri'
|
38
77
|
|
39
78
|
}
|
@@ -44,6 +83,15 @@ module PureCloud
|
|
44
83
|
{
|
45
84
|
:'id' => :'String',
|
46
85
|
:'name' => :'String',
|
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',
|
47
95
|
:'self_uri' => :'String'
|
48
96
|
|
49
97
|
}
|
@@ -64,18 +112,72 @@ module PureCloud
|
|
64
112
|
self.name = attributes[:'name']
|
65
113
|
end
|
66
114
|
|
115
|
+
if attributes[:'description']
|
116
|
+
self.description = attributes[:'description']
|
117
|
+
end
|
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
|
+
|
67
151
|
if attributes[:'selfUri']
|
68
152
|
self.self_uri = attributes[:'selfUri']
|
69
153
|
end
|
70
154
|
|
71
155
|
end
|
72
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
|
+
|
73
166
|
# Check equality by comparing each attribute.
|
74
167
|
def ==(o)
|
75
168
|
return true if self.equal?(o)
|
76
169
|
self.class == o.class &&
|
77
170
|
id == o.id &&
|
78
171
|
name == o.name &&
|
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 &&
|
79
181
|
self_uri == o.self_uri
|
80
182
|
end
|
81
183
|
|
@@ -86,7 +188,7 @@ module PureCloud
|
|
86
188
|
|
87
189
|
# Calculate hash code according to all attributes.
|
88
190
|
def hash
|
89
|
-
[id, name, 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
|
90
192
|
end
|
91
193
|
|
92
194
|
# build the object from hash
|
@@ -22,13 +22,17 @@ module PureCloud
|
|
22
22
|
|
23
23
|
attr_accessor :image_uri
|
24
24
|
|
25
|
+
attr_accessor :thumbnails
|
26
|
+
|
25
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
28
|
def self.attribute_map
|
27
29
|
{
|
28
30
|
|
29
31
|
:'content_location_uri' => :'contentLocationUri',
|
30
32
|
|
31
|
-
:'image_uri' => :'imageUri'
|
33
|
+
:'image_uri' => :'imageUri',
|
34
|
+
|
35
|
+
:'thumbnails' => :'thumbnails'
|
32
36
|
|
33
37
|
}
|
34
38
|
end
|
@@ -37,7 +41,8 @@ module PureCloud
|
|
37
41
|
def self.swagger_types
|
38
42
|
{
|
39
43
|
:'content_location_uri' => :'String',
|
40
|
-
:'image_uri' => :'String'
|
44
|
+
:'image_uri' => :'String',
|
45
|
+
:'thumbnails' => :'Array<DocumentThumbnail>'
|
41
46
|
|
42
47
|
}
|
43
48
|
end
|
@@ -57,6 +62,12 @@ module PureCloud
|
|
57
62
|
self.image_uri = attributes[:'imageUri']
|
58
63
|
end
|
59
64
|
|
65
|
+
if attributes[:'thumbnails']
|
66
|
+
if (value = attributes[:'thumbnails']).is_a?(Array)
|
67
|
+
self.thumbnails = value
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
60
71
|
end
|
61
72
|
|
62
73
|
# Check equality by comparing each attribute.
|
@@ -64,7 +75,8 @@ module PureCloud
|
|
64
75
|
return true if self.equal?(o)
|
65
76
|
self.class == o.class &&
|
66
77
|
content_location_uri == o.content_location_uri &&
|
67
|
-
image_uri == o.image_uri
|
78
|
+
image_uri == o.image_uri &&
|
79
|
+
thumbnails == o.thumbnails
|
68
80
|
end
|
69
81
|
|
70
82
|
# @see the `==` method
|
@@ -74,7 +86,7 @@ module PureCloud
|
|
74
86
|
|
75
87
|
# Calculate hash code according to all attributes.
|
76
88
|
def hash
|
77
|
-
[content_location_uri, image_uri].hash
|
89
|
+
[content_location_uri, image_uri, thumbnails].hash
|
78
90
|
end
|
79
91
|
|
80
92
|
# 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
|
@@ -21,8 +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
|
|
27
|
+
attr_accessor :description
|
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
|
+
|
26
47
|
attr_accessor :schema
|
27
48
|
|
28
49
|
attr_accessor :properties
|
@@ -50,6 +71,24 @@ module PureCloud
|
|
50
71
|
|
51
72
|
:'name' => :'name',
|
52
73
|
|
74
|
+
:'description' => :'description',
|
75
|
+
|
76
|
+
:'version' => :'version',
|
77
|
+
|
78
|
+
:'date_created' => :'dateCreated',
|
79
|
+
|
80
|
+
:'date_modified' => :'dateModified',
|
81
|
+
|
82
|
+
:'modified_by' => :'modifiedBy',
|
83
|
+
|
84
|
+
:'created_by' => :'createdBy',
|
85
|
+
|
86
|
+
:'state' => :'state',
|
87
|
+
|
88
|
+
:'modified_by_app' => :'modifiedByApp',
|
89
|
+
|
90
|
+
:'created_by_app' => :'createdByApp',
|
91
|
+
|
53
92
|
:'schema' => :'schema',
|
54
93
|
|
55
94
|
:'properties' => :'properties',
|
@@ -76,6 +115,15 @@ module PureCloud
|
|
76
115
|
{
|
77
116
|
:'id' => :'String',
|
78
117
|
:'name' => :'String',
|
118
|
+
:'description' => :'String',
|
119
|
+
:'version' => :'Integer',
|
120
|
+
:'date_created' => :'DateTime',
|
121
|
+
:'date_modified' => :'DateTime',
|
122
|
+
:'modified_by' => :'String',
|
123
|
+
:'created_by' => :'String',
|
124
|
+
:'state' => :'String',
|
125
|
+
:'modified_by_app' => :'String',
|
126
|
+
:'created_by_app' => :'String',
|
79
127
|
:'schema' => :'UriReference',
|
80
128
|
:'properties' => :'Hash<String, Object>',
|
81
129
|
:'edge' => :'Edge',
|
@@ -104,6 +152,42 @@ module PureCloud
|
|
104
152
|
self.name = attributes[:'name']
|
105
153
|
end
|
106
154
|
|
155
|
+
if attributes[:'description']
|
156
|
+
self.description = attributes[:'description']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes[:'version']
|
160
|
+
self.version = attributes[:'version']
|
161
|
+
end
|
162
|
+
|
163
|
+
if attributes[:'dateCreated']
|
164
|
+
self.date_created = attributes[:'dateCreated']
|
165
|
+
end
|
166
|
+
|
167
|
+
if attributes[:'dateModified']
|
168
|
+
self.date_modified = attributes[:'dateModified']
|
169
|
+
end
|
170
|
+
|
171
|
+
if attributes[:'modifiedBy']
|
172
|
+
self.modified_by = attributes[:'modifiedBy']
|
173
|
+
end
|
174
|
+
|
175
|
+
if attributes[:'createdBy']
|
176
|
+
self.created_by = attributes[:'createdBy']
|
177
|
+
end
|
178
|
+
|
179
|
+
if attributes[:'state']
|
180
|
+
self.state = attributes[:'state']
|
181
|
+
end
|
182
|
+
|
183
|
+
if attributes[:'modifiedByApp']
|
184
|
+
self.modified_by_app = attributes[:'modifiedByApp']
|
185
|
+
end
|
186
|
+
|
187
|
+
if attributes[:'createdByApp']
|
188
|
+
self.created_by_app = attributes[:'createdByApp']
|
189
|
+
end
|
190
|
+
|
107
191
|
if attributes[:'schema']
|
108
192
|
self.schema = attributes[:'schema']
|
109
193
|
end
|
@@ -144,6 +228,15 @@ module PureCloud
|
|
144
228
|
|
145
229
|
end
|
146
230
|
|
231
|
+
# Custom attribute writer method checking allowed values (enum).
|
232
|
+
def state=(state)
|
233
|
+
allowed_values = ["active", "inactive", "deleted"]
|
234
|
+
if state && !allowed_values.include?(state)
|
235
|
+
fail "invalid value for 'state', must be one of #{allowed_values}"
|
236
|
+
end
|
237
|
+
@state = state
|
238
|
+
end
|
239
|
+
|
147
240
|
# Custom attribute writer method checking allowed values (enum).
|
148
241
|
def line_type=(line_type)
|
149
242
|
allowed_values = ["TIE", "NETWORK", "TRUNK", "STATION"]
|
@@ -159,6 +252,15 @@ module PureCloud
|
|
159
252
|
self.class == o.class &&
|
160
253
|
id == o.id &&
|
161
254
|
name == o.name &&
|
255
|
+
description == o.description &&
|
256
|
+
version == o.version &&
|
257
|
+
date_created == o.date_created &&
|
258
|
+
date_modified == o.date_modified &&
|
259
|
+
modified_by == o.modified_by &&
|
260
|
+
created_by == o.created_by &&
|
261
|
+
state == o.state &&
|
262
|
+
modified_by_app == o.modified_by_app &&
|
263
|
+
created_by_app == o.created_by_app &&
|
162
264
|
schema == o.schema &&
|
163
265
|
properties == o.properties &&
|
164
266
|
edge == o.edge &&
|
@@ -177,7 +279,7 @@ module PureCloud
|
|
177
279
|
|
178
280
|
# Calculate hash code according to all attributes.
|
179
281
|
def hash
|
180
|
-
[id, name, schema, properties, edge, edge_group, line_type, endpoint, ip_address, logical_interface_id, self_uri].hash
|
282
|
+
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, schema, properties, edge, edge_group, line_type, endpoint, ip_address, logical_interface_id, self_uri].hash
|
181
283
|
end
|
182
284
|
|
183
285
|
# build the object from hash
|