purecloudplatformclientv2 9.0.0 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AttributeEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDto.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EndpointEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalContactsApi.md +130 -4
- data/docs/ExternalOrganization.md +1 -0
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/HeartBeatAlertContainer.md +1 -1
- data/docs/HeartBeatRuleContainer.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/JsonNode.md +3 -3
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LicenseApi.md +4 -4
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrgUser.md +36 -0
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingStatusAlertContainer.md +1 -1
- data/docs/RoutingStatusRuleContainer.md +1 -1
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/Trustor.md +18 -0
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserPresenceAlertContainer.md +1 -1
- data/docs/UserPresenceRuleContainer.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +2 -2
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +166 -9
- data/lib/purecloudplatformclientv2/api/license_api.rb +6 -6
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/external_organization.rb +26 -1
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/json_node.rb +29 -29
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/org_user.rb +822 -0
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{license_definition_listing.rb → trustor.rb} +48 -139
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +6 -6
- data/docs/LicenseDefinitionListing.md +0 -22
- data/docs/LicenseUpdateResponse.md +0 -13
- data/lib/purecloudplatformclientv2/models/license_update_response.rb +0 -203
@@ -17,50 +17,40 @@ Terms of Service: https://developer.mypurecloud.com/tos
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
class
|
21
|
-
|
20
|
+
class Trustor
|
21
|
+
# Organization Id for this trust.
|
22
|
+
attr_accessor :id
|
22
23
|
|
23
|
-
|
24
|
+
# If disabled no trustee user will have access, even if they were previously added.
|
25
|
+
attr_accessor :enabled
|
24
26
|
|
25
|
-
|
27
|
+
# Date Trust was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
28
|
+
attr_accessor :date_created
|
26
29
|
|
27
|
-
|
30
|
+
# User that created trust.
|
31
|
+
attr_accessor :created_by
|
28
32
|
|
29
|
-
|
30
|
-
|
31
|
-
attr_accessor :first_uri
|
32
|
-
|
33
|
-
attr_accessor :next_uri
|
33
|
+
# Organization associated with this trust.
|
34
|
+
attr_accessor :organization
|
34
35
|
|
35
|
-
|
36
|
-
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
|
-
attr_accessor :page_count
|
36
|
+
# The URI for this object
|
37
|
+
attr_accessor :self_uri
|
40
38
|
|
41
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
40
|
def self.attribute_map
|
43
41
|
{
|
44
42
|
|
45
|
-
:'
|
43
|
+
:'id' => :'id',
|
46
44
|
|
47
|
-
:'
|
45
|
+
:'enabled' => :'enabled',
|
48
46
|
|
49
|
-
:'
|
47
|
+
:'date_created' => :'dateCreated',
|
50
48
|
|
51
|
-
:'
|
49
|
+
:'created_by' => :'createdBy',
|
52
50
|
|
53
|
-
:'
|
51
|
+
:'organization' => :'organization',
|
54
52
|
|
55
|
-
:'
|
56
|
-
|
57
|
-
:'next_uri' => :'nextUri',
|
58
|
-
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
|
-
:'previous_uri' => :'previousUri',
|
62
|
-
|
63
|
-
:'page_count' => :'pageCount'
|
53
|
+
:'self_uri' => :'selfUri'
|
64
54
|
|
65
55
|
}
|
66
56
|
end
|
@@ -69,25 +59,17 @@ module PureCloud
|
|
69
59
|
def self.swagger_types
|
70
60
|
{
|
71
61
|
|
72
|
-
:'
|
73
|
-
|
74
|
-
:'page_size' => :'Integer',
|
62
|
+
:'id' => :'String',
|
75
63
|
|
76
|
-
:'
|
64
|
+
:'enabled' => :'BOOLEAN',
|
77
65
|
|
78
|
-
:'
|
66
|
+
:'date_created' => :'DateTime',
|
79
67
|
|
80
|
-
:'
|
68
|
+
:'created_by' => :'OrgUser',
|
81
69
|
|
82
|
-
:'
|
70
|
+
:'organization' => :'Organization',
|
83
71
|
|
84
|
-
:'
|
85
|
-
|
86
|
-
:'last_uri' => :'String',
|
87
|
-
|
88
|
-
:'previous_uri' => :'String',
|
89
|
-
|
90
|
-
:'page_count' => :'Integer'
|
72
|
+
:'self_uri' => :'String'
|
91
73
|
|
92
74
|
}
|
93
75
|
end
|
@@ -101,93 +83,55 @@ module PureCloud
|
|
101
83
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
102
84
|
|
103
85
|
|
104
|
-
if attributes.has_key?(:'
|
105
|
-
|
106
|
-
if (value = attributes[:'entities']).is_a?(Array)
|
107
|
-
self.entities = value
|
108
|
-
end
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
end
|
113
|
-
|
114
|
-
|
115
|
-
if attributes.has_key?(:'pageSize')
|
116
|
-
|
117
|
-
|
118
|
-
self.page_size = attributes[:'pageSize']
|
119
|
-
|
120
|
-
|
121
|
-
end
|
122
|
-
|
123
|
-
|
124
|
-
if attributes.has_key?(:'pageNumber')
|
125
|
-
|
126
|
-
|
127
|
-
self.page_number = attributes[:'pageNumber']
|
128
|
-
|
129
|
-
|
130
|
-
end
|
131
|
-
|
132
|
-
|
133
|
-
if attributes.has_key?(:'total')
|
134
|
-
|
135
|
-
|
136
|
-
self.total = attributes[:'total']
|
137
|
-
|
138
|
-
|
139
|
-
end
|
140
|
-
|
141
|
-
|
142
|
-
if attributes.has_key?(:'selfUri')
|
86
|
+
if attributes.has_key?(:'id')
|
143
87
|
|
144
88
|
|
145
|
-
self.
|
89
|
+
self.id = attributes[:'id']
|
146
90
|
|
147
91
|
|
148
92
|
end
|
149
93
|
|
150
94
|
|
151
|
-
if attributes.has_key?(:'
|
95
|
+
if attributes.has_key?(:'enabled')
|
152
96
|
|
153
97
|
|
154
|
-
self.
|
98
|
+
self.enabled = attributes[:'enabled']
|
155
99
|
|
156
100
|
|
157
101
|
end
|
158
102
|
|
159
103
|
|
160
|
-
if attributes.has_key?(:'
|
104
|
+
if attributes.has_key?(:'dateCreated')
|
161
105
|
|
162
106
|
|
163
|
-
self.
|
107
|
+
self.date_created = attributes[:'dateCreated']
|
164
108
|
|
165
109
|
|
166
110
|
end
|
167
111
|
|
168
112
|
|
169
|
-
if attributes.has_key?(:'
|
113
|
+
if attributes.has_key?(:'createdBy')
|
170
114
|
|
171
115
|
|
172
|
-
self.
|
116
|
+
self.created_by = attributes[:'createdBy']
|
173
117
|
|
174
118
|
|
175
119
|
end
|
176
120
|
|
177
121
|
|
178
|
-
if attributes.has_key?(:'
|
122
|
+
if attributes.has_key?(:'organization')
|
179
123
|
|
180
124
|
|
181
|
-
self.
|
125
|
+
self.organization = attributes[:'organization']
|
182
126
|
|
183
127
|
|
184
128
|
end
|
185
129
|
|
186
130
|
|
187
|
-
if attributes.has_key?(:'
|
131
|
+
if attributes.has_key?(:'selfUri')
|
188
132
|
|
189
133
|
|
190
|
-
self.
|
134
|
+
self.self_uri = attributes[:'selfUri']
|
191
135
|
|
192
136
|
|
193
137
|
end
|
@@ -213,21 +157,10 @@ module PureCloud
|
|
213
157
|
|
214
158
|
|
215
159
|
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
160
|
+
if @enabled.nil?
|
161
|
+
return false
|
162
|
+
end
|
163
|
+
|
231
164
|
|
232
165
|
|
233
166
|
|
@@ -269,26 +202,6 @@ module PureCloud
|
|
269
202
|
|
270
203
|
|
271
204
|
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
205
|
|
293
206
|
|
294
207
|
|
@@ -306,16 +219,12 @@ module PureCloud
|
|
306
219
|
def ==(o)
|
307
220
|
return true if self.equal?(o)
|
308
221
|
self.class == o.class &&
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
next_uri == o.next_uri &&
|
316
|
-
last_uri == o.last_uri &&
|
317
|
-
previous_uri == o.previous_uri &&
|
318
|
-
page_count == o.page_count
|
222
|
+
id == o.id &&
|
223
|
+
enabled == o.enabled &&
|
224
|
+
date_created == o.date_created &&
|
225
|
+
created_by == o.created_by &&
|
226
|
+
organization == o.organization &&
|
227
|
+
self_uri == o.self_uri
|
319
228
|
end
|
320
229
|
|
321
230
|
# @see the `==` method
|
@@ -327,7 +236,7 @@ module PureCloud
|
|
327
236
|
# Calculates hash code according to all attributes.
|
328
237
|
# @return [Fixnum] Hash code
|
329
238
|
def hash
|
330
|
-
[
|
239
|
+
[id, enabled, date_created, created_by, organization, self_uri].hash
|
331
240
|
end
|
332
241
|
|
333
242
|
# build the object from hash
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :next_uri
|
34
34
|
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
35
|
attr_accessor :previous_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
|
:'next_uri' => :'nextUri',
|
58
58
|
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
59
|
:'previous_uri' => :'previousUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -83,10 +83,10 @@ module PureCloud
|
|
83
83
|
|
84
84
|
:'next_uri' => :'String',
|
85
85
|
|
86
|
-
:'last_uri' => :'String',
|
87
|
-
|
88
86
|
:'previous_uri' => :'String',
|
89
87
|
|
88
|
+
:'last_uri' => :'String',
|
89
|
+
|
90
90
|
:'page_count' => :'Integer'
|
91
91
|
|
92
92
|
}
|
@@ -166,19 +166,19 @@ module PureCloud
|
|
166
166
|
end
|
167
167
|
|
168
168
|
|
169
|
-
if attributes.has_key?(:'
|
169
|
+
if attributes.has_key?(:'previousUri')
|
170
170
|
|
171
171
|
|
172
|
-
self.
|
172
|
+
self.previous_uri = attributes[:'previousUri']
|
173
173
|
|
174
174
|
|
175
175
|
end
|
176
176
|
|
177
177
|
|
178
|
-
if attributes.has_key?(:'
|
178
|
+
if attributes.has_key?(:'lastUri')
|
179
179
|
|
180
180
|
|
181
|
-
self.
|
181
|
+
self.last_uri = attributes[:'lastUri']
|
182
182
|
|
183
183
|
|
184
184
|
end
|
@@ -313,8 +313,8 @@ module PureCloud
|
|
313
313
|
self_uri == o.self_uri &&
|
314
314
|
first_uri == o.first_uri &&
|
315
315
|
next_uri == o.next_uri &&
|
316
|
-
last_uri == o.last_uri &&
|
317
316
|
previous_uri == o.previous_uri &&
|
317
|
+
last_uri == o.last_uri &&
|
318
318
|
page_count == o.page_count
|
319
319
|
end
|
320
320
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
327
327
|
# Calculates hash code according to all attributes.
|
328
328
|
# @return [Fixnum] Hash code
|
329
329
|
def hash
|
330
|
-
[entities, page_size, page_number, total, self_uri, first_uri, next_uri,
|
330
|
+
[entities, page_size, page_number, total, self_uri, first_uri, next_uri, previous_uri, last_uri, page_count].hash
|
331
331
|
end
|
332
332
|
|
333
333
|
# build the object from hash
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :next_uri
|
34
34
|
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
35
|
attr_accessor :previous_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
|
:'next_uri' => :'nextUri',
|
58
58
|
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
59
|
:'previous_uri' => :'previousUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -83,10 +83,10 @@ module PureCloud
|
|
83
83
|
|
84
84
|
:'next_uri' => :'String',
|
85
85
|
|
86
|
-
:'last_uri' => :'String',
|
87
|
-
|
88
86
|
:'previous_uri' => :'String',
|
89
87
|
|
88
|
+
:'last_uri' => :'String',
|
89
|
+
|
90
90
|
:'page_count' => :'Integer'
|
91
91
|
|
92
92
|
}
|
@@ -166,19 +166,19 @@ module PureCloud
|
|
166
166
|
end
|
167
167
|
|
168
168
|
|
169
|
-
if attributes.has_key?(:'
|
169
|
+
if attributes.has_key?(:'previousUri')
|
170
170
|
|
171
171
|
|
172
|
-
self.
|
172
|
+
self.previous_uri = attributes[:'previousUri']
|
173
173
|
|
174
174
|
|
175
175
|
end
|
176
176
|
|
177
177
|
|
178
|
-
if attributes.has_key?(:'
|
178
|
+
if attributes.has_key?(:'lastUri')
|
179
179
|
|
180
180
|
|
181
|
-
self.
|
181
|
+
self.last_uri = attributes[:'lastUri']
|
182
182
|
|
183
183
|
|
184
184
|
end
|
@@ -313,8 +313,8 @@ module PureCloud
|
|
313
313
|
self_uri == o.self_uri &&
|
314
314
|
first_uri == o.first_uri &&
|
315
315
|
next_uri == o.next_uri &&
|
316
|
-
last_uri == o.last_uri &&
|
317
316
|
previous_uri == o.previous_uri &&
|
317
|
+
last_uri == o.last_uri &&
|
318
318
|
page_count == o.page_count
|
319
319
|
end
|
320
320
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
327
327
|
# Calculates hash code according to all attributes.
|
328
328
|
# @return [Fixnum] Hash code
|
329
329
|
def hash
|
330
|
-
[entities, page_size, page_number, total, self_uri, first_uri, next_uri,
|
330
|
+
[entities, page_size, page_number, total, self_uri, first_uri, next_uri, previous_uri, last_uri, page_count].hash
|
331
331
|
end
|
332
332
|
|
333
333
|
# build the object from hash
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :next_uri
|
34
34
|
|
35
|
-
attr_accessor :last_uri
|
36
|
-
|
37
35
|
attr_accessor :previous_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
|
:'next_uri' => :'nextUri',
|
58
58
|
|
59
|
-
:'last_uri' => :'lastUri',
|
60
|
-
|
61
59
|
:'previous_uri' => :'previousUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -83,10 +83,10 @@ module PureCloud
|
|
83
83
|
|
84
84
|
:'next_uri' => :'String',
|
85
85
|
|
86
|
-
:'last_uri' => :'String',
|
87
|
-
|
88
86
|
:'previous_uri' => :'String',
|
89
87
|
|
88
|
+
:'last_uri' => :'String',
|
89
|
+
|
90
90
|
:'page_count' => :'Integer'
|
91
91
|
|
92
92
|
}
|
@@ -166,19 +166,19 @@ module PureCloud
|
|
166
166
|
end
|
167
167
|
|
168
168
|
|
169
|
-
if attributes.has_key?(:'
|
169
|
+
if attributes.has_key?(:'previousUri')
|
170
170
|
|
171
171
|
|
172
|
-
self.
|
172
|
+
self.previous_uri = attributes[:'previousUri']
|
173
173
|
|
174
174
|
|
175
175
|
end
|
176
176
|
|
177
177
|
|
178
|
-
if attributes.has_key?(:'
|
178
|
+
if attributes.has_key?(:'lastUri')
|
179
179
|
|
180
180
|
|
181
|
-
self.
|
181
|
+
self.last_uri = attributes[:'lastUri']
|
182
182
|
|
183
183
|
|
184
184
|
end
|
@@ -313,8 +313,8 @@ module PureCloud
|
|
313
313
|
self_uri == o.self_uri &&
|
314
314
|
first_uri == o.first_uri &&
|
315
315
|
next_uri == o.next_uri &&
|
316
|
-
last_uri == o.last_uri &&
|
317
316
|
previous_uri == o.previous_uri &&
|
317
|
+
last_uri == o.last_uri &&
|
318
318
|
page_count == o.page_count
|
319
319
|
end
|
320
320
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
327
327
|
# Calculates hash code according to all attributes.
|
328
328
|
# @return [Fixnum] Hash code
|
329
329
|
def hash
|
330
|
-
[entities, page_size, page_number, total, self_uri, first_uri, next_uri,
|
330
|
+
[entities, page_size, page_number, total, self_uri, first_uri, next_uri, previous_uri, last_uri, page_count].hash
|
331
331
|
end
|
332
332
|
|
333
333
|
# build the object from hash
|