purecloud 0.49.1 → 0.50.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/AuthorizationApi.html.md +4 -4
- data/doc_out/CallbackMediaParticipant.html.md +5 -5
- data/doc_out/CampaignDiagnostics.html.md +1 -0
- data/doc_out/ConversationsApi.html.md +10 -10
- data/doc_out/Document.html.md +1 -1
- data/doc_out/DomainLogicalInterface.html.md +0 -1
- data/doc_out/EdgeGroup.html.md +1 -2
- data/doc_out/FaxDocument.html.md +1 -1
- data/doc_out/GroupsSearchResponse.html.md +0 -1
- data/doc_out/JsonNode.html.md +2 -2
- data/doc_out/Keyword.html.md +5 -5
- data/doc_out/KeywordSet.html.md +3 -3
- data/doc_out/Line.html.md +1 -0
- data/doc_out/LocationsSearchResponse.html.md +0 -1
- data/doc_out/OutboundApi.html.md +2 -2
- data/doc_out/PresenceApi.html.md +2 -2
- data/doc_out/QualityApi.html.md +18 -18
- data/doc_out/QualityAudit.html.md +1 -1
- data/doc_out/RecordingApi.html.md +4 -4
- data/doc_out/RoutingApi.html.md +315 -0
- data/doc_out/RuleSetDiagnostic.html.md +14 -0
- data/doc_out/ScreenRecordingSession.html.md +1 -1
- data/doc_out/TelephonyProvidersEdgeApi.html.md +20 -6
- data/doc_out/TrunkBaseAssignment.html.md +1 -1
- data/doc_out/UsersApi.html.md +3 -1
- data/doc_out/UsersSearchResponse.html.md +0 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +1 -1
- data/lib/purecloud/api/authorization_api.rb +4 -4
- data/lib/purecloud/api/conversations_api.rb +15 -15
- data/lib/purecloud/api/outbound_api.rb +3 -3
- data/lib/purecloud/api/presence_api.rb +3 -3
- data/lib/purecloud/api/quality_api.rb +18 -18
- data/lib/purecloud/api/recording_api.rb +4 -4
- data/lib/purecloud/api/routing_api.rb +330 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +12 -0
- data/lib/purecloud/api/users_api.rb +3 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
- data/lib/purecloud/models/callback_media_participant.rb +5 -0
- data/lib/purecloud/models/campaign_diagnostics.rb +14 -1
- data/lib/purecloud/models/document.rb +11 -11
- data/lib/purecloud/models/domain_logical_interface.rb +1 -14
- data/lib/purecloud/models/edge_group.rb +2 -15
- data/lib/purecloud/models/fax_document.rb +11 -11
- data/lib/purecloud/models/groups_search_response.rb +4 -16
- data/lib/purecloud/models/json_node.rb +20 -20
- data/lib/purecloud/models/keyword.rb +5 -0
- data/lib/purecloud/models/keyword_set.rb +2 -0
- data/lib/purecloud/models/line.rb +11 -1
- data/lib/purecloud/models/locations_search_response.rb +4 -16
- data/lib/purecloud/models/quality_audit.rb +11 -11
- data/lib/purecloud/models/{dialer_contact_entity_listing.rb → rule_set_diagnostic.rb} +17 -95
- data/lib/purecloud/models/screen_recording_session.rb +1 -0
- data/lib/purecloud/models/trunk_base_assignment.rb +1 -1
- data/lib/purecloud/models/users_search_response.rb +4 -16
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +4 -4
- data/doc_out/DialerContactEntityListing.html.md +0 -22
@@ -132,7 +132,7 @@ module PureCloud
|
|
132
132
|
|
133
133
|
# Custom attribute writer method checking allowed values (enum).
|
134
134
|
def dimension=(dimension)
|
135
|
-
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime"]
|
135
|
+
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime"]
|
136
136
|
if dimension && !allowed_values.include?(dimension)
|
137
137
|
fail "invalid value for 'dimension', must be one of #{allowed_values}"
|
138
138
|
end
|
@@ -81,14 +81,19 @@ module PureCloud
|
|
81
81
|
# Value is true when the participant has skipped wrap-up.
|
82
82
|
attr_accessor :wrapup_skipped
|
83
83
|
|
84
|
+
# The outbound preview associated with this callback.
|
84
85
|
attr_accessor :outbound_preview
|
85
86
|
|
87
|
+
# The list of phone number to use for this callback.
|
86
88
|
attr_accessor :callback_numbers
|
87
89
|
|
90
|
+
# The name of the callback target.
|
88
91
|
attr_accessor :callback_user_name
|
89
92
|
|
93
|
+
# If true, the callback can be skipped
|
90
94
|
attr_accessor :skip_enabled
|
91
95
|
|
96
|
+
# Duration in seconds before the callback will be auto-dialed.
|
92
97
|
attr_accessor :timeout_seconds
|
93
98
|
|
94
99
|
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
@@ -24,6 +24,9 @@ module PureCloud
|
|
24
24
|
# Information regarding the campaign's queue
|
25
25
|
attr_accessor :queue_utilization_diagnostic
|
26
26
|
|
27
|
+
# Information regarding the campaign's rule sets
|
28
|
+
attr_accessor :rule_set_diagnostics
|
29
|
+
|
27
30
|
# Current number of outstanding interactions on the campaign
|
28
31
|
attr_accessor :outstanding_interactions_count
|
29
32
|
|
@@ -35,6 +38,8 @@ module PureCloud
|
|
35
38
|
|
36
39
|
:'queue_utilization_diagnostic' => :'queueUtilizationDiagnostic',
|
37
40
|
|
41
|
+
:'rule_set_diagnostics' => :'ruleSetDiagnostics',
|
42
|
+
|
38
43
|
:'outstanding_interactions_count' => :'outstandingInteractionsCount'
|
39
44
|
|
40
45
|
}
|
@@ -45,6 +50,7 @@ module PureCloud
|
|
45
50
|
{
|
46
51
|
:'callable_contacts' => :'CallableContactsDiagnostic',
|
47
52
|
:'queue_utilization_diagnostic' => :'QueueUtilizationDiagnostic',
|
53
|
+
:'rule_set_diagnostics' => :'Array<RuleSetDiagnostic>',
|
48
54
|
:'outstanding_interactions_count' => :'Integer'
|
49
55
|
|
50
56
|
}
|
@@ -65,6 +71,12 @@ module PureCloud
|
|
65
71
|
self.queue_utilization_diagnostic = attributes[:'queueUtilizationDiagnostic']
|
66
72
|
end
|
67
73
|
|
74
|
+
if attributes[:'ruleSetDiagnostics']
|
75
|
+
if (value = attributes[:'ruleSetDiagnostics']).is_a?(Array)
|
76
|
+
self.rule_set_diagnostics = value
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
68
80
|
if attributes[:'outstandingInteractionsCount']
|
69
81
|
self.outstanding_interactions_count = attributes[:'outstandingInteractionsCount']
|
70
82
|
end
|
@@ -77,6 +89,7 @@ module PureCloud
|
|
77
89
|
self.class == o.class &&
|
78
90
|
callable_contacts == o.callable_contacts &&
|
79
91
|
queue_utilization_diagnostic == o.queue_utilization_diagnostic &&
|
92
|
+
rule_set_diagnostics == o.rule_set_diagnostics &&
|
80
93
|
outstanding_interactions_count == o.outstanding_interactions_count
|
81
94
|
end
|
82
95
|
|
@@ -87,7 +100,7 @@ module PureCloud
|
|
87
100
|
|
88
101
|
# Calculate hash code according to all attributes.
|
89
102
|
def hash
|
90
|
-
[callable_contacts, queue_utilization_diagnostic, outstanding_interactions_count].hash
|
103
|
+
[callable_contacts, queue_utilization_diagnostic, rule_set_diagnostics, outstanding_interactions_count].hash
|
91
104
|
end
|
92
105
|
|
93
106
|
# build the object from hash
|
@@ -79,10 +79,10 @@ module PureCloud
|
|
79
79
|
|
80
80
|
attr_accessor :sharing_status
|
81
81
|
|
82
|
-
attr_accessor :download_sharing_uri
|
83
|
-
|
84
82
|
attr_accessor :sharing_uri
|
85
83
|
|
84
|
+
attr_accessor :download_sharing_uri
|
85
|
+
|
86
86
|
# The URI for this object
|
87
87
|
attr_accessor :self_uri
|
88
88
|
|
@@ -146,10 +146,10 @@ module PureCloud
|
|
146
146
|
|
147
147
|
:'sharing_status' => :'sharingStatus',
|
148
148
|
|
149
|
-
:'download_sharing_uri' => :'downloadSharingUri',
|
150
|
-
|
151
149
|
:'sharing_uri' => :'sharingUri',
|
152
150
|
|
151
|
+
:'download_sharing_uri' => :'downloadSharingUri',
|
152
|
+
|
153
153
|
:'self_uri' => :'selfUri'
|
154
154
|
|
155
155
|
}
|
@@ -186,8 +186,8 @@ module PureCloud
|
|
186
186
|
:'lock_info' => :'LockInfo',
|
187
187
|
:'acl' => :'Array<String>',
|
188
188
|
:'sharing_status' => :'String',
|
189
|
-
:'download_sharing_uri' => :'String',
|
190
189
|
:'sharing_uri' => :'String',
|
190
|
+
:'download_sharing_uri' => :'String',
|
191
191
|
:'self_uri' => :'String'
|
192
192
|
|
193
193
|
}
|
@@ -324,14 +324,14 @@ module PureCloud
|
|
324
324
|
self.sharing_status = attributes[:'sharingStatus']
|
325
325
|
end
|
326
326
|
|
327
|
-
if attributes[:'downloadSharingUri']
|
328
|
-
self.download_sharing_uri = attributes[:'downloadSharingUri']
|
329
|
-
end
|
330
|
-
|
331
327
|
if attributes[:'sharingUri']
|
332
328
|
self.sharing_uri = attributes[:'sharingUri']
|
333
329
|
end
|
334
330
|
|
331
|
+
if attributes[:'downloadSharingUri']
|
332
|
+
self.download_sharing_uri = attributes[:'downloadSharingUri']
|
333
|
+
end
|
334
|
+
|
335
335
|
if attributes[:'selfUri']
|
336
336
|
self.self_uri = attributes[:'selfUri']
|
337
337
|
end
|
@@ -397,8 +397,8 @@ module PureCloud
|
|
397
397
|
lock_info == o.lock_info &&
|
398
398
|
acl == o.acl &&
|
399
399
|
sharing_status == o.sharing_status &&
|
400
|
-
download_sharing_uri == o.download_sharing_uri &&
|
401
400
|
sharing_uri == o.sharing_uri &&
|
401
|
+
download_sharing_uri == o.download_sharing_uri &&
|
402
402
|
self_uri == o.self_uri
|
403
403
|
end
|
404
404
|
|
@@ -409,7 +409,7 @@ module PureCloud
|
|
409
409
|
|
410
410
|
# Calculate hash code according to all attributes.
|
411
411
|
def hash
|
412
|
-
[id, name, change_number, date_created, date_modified, date_uploaded, content_uri, workspace, created_by, uploaded_by, content_type, content_length, system_type, filename, page_count, read, caller_address, receiver_address, tags, tag_values, attributes, thumbnails, upload_status, upload_destination_uri, upload_method, lock_info, acl, sharing_status,
|
412
|
+
[id, name, change_number, date_created, date_modified, date_uploaded, content_uri, workspace, created_by, uploaded_by, content_type, content_length, system_type, filename, page_count, read, caller_address, receiver_address, tags, tag_values, attributes, thumbnails, upload_status, upload_destination_uri, upload_method, lock_info, acl, sharing_status, sharing_uri, download_sharing_uri, self_uri].hash
|
413
413
|
end
|
414
414
|
|
415
415
|
# build the object from hash
|
@@ -85,9 +85,6 @@ module PureCloud
|
|
85
85
|
|
86
86
|
attr_accessor :command_responses
|
87
87
|
|
88
|
-
# Phone trunk base assignment will be inherited from the Edge Group.
|
89
|
-
attr_accessor :inherit_phone_trunk_bases
|
90
|
-
|
91
88
|
# The IPv4 phone trunk base assignment will be inherited from the Edge Group.
|
92
89
|
attr_accessor :inherit_phone_trunk_bases_i_pv4
|
93
90
|
|
@@ -170,8 +167,6 @@ module PureCloud
|
|
170
167
|
|
171
168
|
:'command_responses' => :'commandResponses',
|
172
169
|
|
173
|
-
:'inherit_phone_trunk_bases' => :'inheritPhoneTrunkBases',
|
174
|
-
|
175
170
|
:'inherit_phone_trunk_bases_i_pv4' => :'inheritPhoneTrunkBasesIPv4',
|
176
171
|
|
177
172
|
:'inherit_phone_trunk_bases_i_pv6' => :'inheritPhoneTrunkBasesIPv6',
|
@@ -220,7 +215,6 @@ module PureCloud
|
|
220
215
|
:'last_modified_user_id' => :'String',
|
221
216
|
:'last_modified_correlation_id' => :'String',
|
222
217
|
:'command_responses' => :'Array<DomainNetworkCommandResponse>',
|
223
|
-
:'inherit_phone_trunk_bases' => :'BOOLEAN',
|
224
218
|
:'inherit_phone_trunk_bases_i_pv4' => :'BOOLEAN',
|
225
219
|
:'inherit_phone_trunk_bases_i_pv6' => :'BOOLEAN',
|
226
220
|
:'use_for_internal_edge_communication' => :'BOOLEAN',
|
@@ -364,12 +358,6 @@ module PureCloud
|
|
364
358
|
end
|
365
359
|
end
|
366
360
|
|
367
|
-
if attributes[:'inheritPhoneTrunkBases']
|
368
|
-
self.inherit_phone_trunk_bases = attributes[:'inheritPhoneTrunkBases']
|
369
|
-
else
|
370
|
-
self.inherit_phone_trunk_bases = false
|
371
|
-
end
|
372
|
-
|
373
361
|
if attributes[:'inheritPhoneTrunkBasesIPv4']
|
374
362
|
self.inherit_phone_trunk_bases_i_pv4 = attributes[:'inheritPhoneTrunkBasesIPv4']
|
375
363
|
else
|
@@ -458,7 +446,6 @@ module PureCloud
|
|
458
446
|
last_modified_user_id == o.last_modified_user_id &&
|
459
447
|
last_modified_correlation_id == o.last_modified_correlation_id &&
|
460
448
|
command_responses == o.command_responses &&
|
461
|
-
inherit_phone_trunk_bases == o.inherit_phone_trunk_bases &&
|
462
449
|
inherit_phone_trunk_bases_i_pv4 == o.inherit_phone_trunk_bases_i_pv4 &&
|
463
450
|
inherit_phone_trunk_bases_i_pv6 == o.inherit_phone_trunk_bases_i_pv6 &&
|
464
451
|
use_for_internal_edge_communication == o.use_for_internal_edge_communication &&
|
@@ -474,7 +461,7 @@ module PureCloud
|
|
474
461
|
|
475
462
|
# Calculate hash code according to all attributes.
|
476
463
|
def hash
|
477
|
-
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, edge_uri, edge_assigned_id, friendly_name, vlan_tag_id, hardware_address, physical_adapter_id, ip_address, gateway, primary_dns, secondary_dns, if_status, routes, addresses, ipv4_capabilities, ipv6_capabilities, current_state, last_modified_user_id, last_modified_correlation_id, command_responses,
|
464
|
+
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, edge_uri, edge_assigned_id, friendly_name, vlan_tag_id, hardware_address, physical_adapter_id, ip_address, gateway, primary_dns, secondary_dns, if_status, routes, addresses, ipv4_capabilities, ipv6_capabilities, current_state, last_modified_user_id, last_modified_correlation_id, command_responses, inherit_phone_trunk_bases_i_pv4, inherit_phone_trunk_bases_i_pv6, use_for_internal_edge_communication, external_trunk_base_assignments, phone_trunk_base_assignments, self_uri].hash
|
478
465
|
end
|
479
466
|
|
480
467
|
# build the object from hash
|
@@ -50,9 +50,6 @@ module PureCloud
|
|
50
50
|
# A trunk base settings assignment of trunkType \"EDGE\" to use for edge-to-edge communication.
|
51
51
|
attr_accessor :edge_trunk_base_assignment
|
52
52
|
|
53
|
-
# Trunk base settings assignments of trunkType \"PHONE\" to inherit to edge logical interfaces for phone communication.
|
54
|
-
attr_accessor :phone_trunk_base_assignments
|
55
|
-
|
56
53
|
# Trunk base settings of trunkType \"PHONE\" to inherit to edge logical interface for phone communication.
|
57
54
|
attr_accessor :phone_trunk_bases
|
58
55
|
|
@@ -89,8 +86,6 @@ module PureCloud
|
|
89
86
|
|
90
87
|
:'edge_trunk_base_assignment' => :'edgeTrunkBaseAssignment',
|
91
88
|
|
92
|
-
:'phone_trunk_base_assignments' => :'phoneTrunkBaseAssignments',
|
93
|
-
|
94
89
|
:'phone_trunk_bases' => :'phoneTrunkBases',
|
95
90
|
|
96
91
|
:'self_uri' => :'selfUri'
|
@@ -114,8 +109,7 @@ module PureCloud
|
|
114
109
|
:'created_by_app' => :'String',
|
115
110
|
:'managed' => :'BOOLEAN',
|
116
111
|
:'edge_trunk_base_assignment' => :'TrunkBaseAssignment',
|
117
|
-
:'
|
118
|
-
:'phone_trunk_bases' => :'Array<UriReference>',
|
112
|
+
:'phone_trunk_bases' => :'Array<TrunkBase>',
|
119
113
|
:'self_uri' => :'String'
|
120
114
|
|
121
115
|
}
|
@@ -182,12 +176,6 @@ module PureCloud
|
|
182
176
|
self.edge_trunk_base_assignment = attributes[:'edgeTrunkBaseAssignment']
|
183
177
|
end
|
184
178
|
|
185
|
-
if attributes[:'phoneTrunkBaseAssignments']
|
186
|
-
if (value = attributes[:'phoneTrunkBaseAssignments']).is_a?(Array)
|
187
|
-
self.phone_trunk_base_assignments = value
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
179
|
if attributes[:'phoneTrunkBases']
|
192
180
|
if (value = attributes[:'phoneTrunkBases']).is_a?(Array)
|
193
181
|
self.phone_trunk_bases = value
|
@@ -226,7 +214,6 @@ module PureCloud
|
|
226
214
|
created_by_app == o.created_by_app &&
|
227
215
|
managed == o.managed &&
|
228
216
|
edge_trunk_base_assignment == o.edge_trunk_base_assignment &&
|
229
|
-
phone_trunk_base_assignments == o.phone_trunk_base_assignments &&
|
230
217
|
phone_trunk_bases == o.phone_trunk_bases &&
|
231
218
|
self_uri == o.self_uri
|
232
219
|
end
|
@@ -238,7 +225,7 @@ module PureCloud
|
|
238
225
|
|
239
226
|
# Calculate hash code according to all attributes.
|
240
227
|
def hash
|
241
|
-
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, managed, edge_trunk_base_assignment,
|
228
|
+
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, managed, edge_trunk_base_assignment, phone_trunk_bases, self_uri].hash
|
242
229
|
end
|
243
230
|
|
244
231
|
# build the object from hash
|
@@ -51,10 +51,10 @@ module PureCloud
|
|
51
51
|
|
52
52
|
attr_accessor :thumbnails
|
53
53
|
|
54
|
-
attr_accessor :download_sharing_uri
|
55
|
-
|
56
54
|
attr_accessor :sharing_uri
|
57
55
|
|
56
|
+
attr_accessor :download_sharing_uri
|
57
|
+
|
58
58
|
# The URI for this object
|
59
59
|
attr_accessor :self_uri
|
60
60
|
|
@@ -92,10 +92,10 @@ module PureCloud
|
|
92
92
|
|
93
93
|
:'thumbnails' => :'thumbnails',
|
94
94
|
|
95
|
-
:'download_sharing_uri' => :'downloadSharingUri',
|
96
|
-
|
97
95
|
:'sharing_uri' => :'sharingUri',
|
98
96
|
|
97
|
+
:'download_sharing_uri' => :'downloadSharingUri',
|
98
|
+
|
99
99
|
:'self_uri' => :'selfUri'
|
100
100
|
|
101
101
|
}
|
@@ -119,8 +119,8 @@ module PureCloud
|
|
119
119
|
:'caller_address' => :'String',
|
120
120
|
:'receiver_address' => :'String',
|
121
121
|
:'thumbnails' => :'Array<DocumentThumbnail>',
|
122
|
-
:'download_sharing_uri' => :'String',
|
123
122
|
:'sharing_uri' => :'String',
|
123
|
+
:'download_sharing_uri' => :'String',
|
124
124
|
:'self_uri' => :'String'
|
125
125
|
|
126
126
|
}
|
@@ -197,14 +197,14 @@ module PureCloud
|
|
197
197
|
end
|
198
198
|
end
|
199
199
|
|
200
|
-
if attributes[:'downloadSharingUri']
|
201
|
-
self.download_sharing_uri = attributes[:'downloadSharingUri']
|
202
|
-
end
|
203
|
-
|
204
200
|
if attributes[:'sharingUri']
|
205
201
|
self.sharing_uri = attributes[:'sharingUri']
|
206
202
|
end
|
207
203
|
|
204
|
+
if attributes[:'downloadSharingUri']
|
205
|
+
self.download_sharing_uri = attributes[:'downloadSharingUri']
|
206
|
+
end
|
207
|
+
|
208
208
|
if attributes[:'selfUri']
|
209
209
|
self.self_uri = attributes[:'selfUri']
|
210
210
|
end
|
@@ -230,8 +230,8 @@ module PureCloud
|
|
230
230
|
caller_address == o.caller_address &&
|
231
231
|
receiver_address == o.receiver_address &&
|
232
232
|
thumbnails == o.thumbnails &&
|
233
|
-
download_sharing_uri == o.download_sharing_uri &&
|
234
233
|
sharing_uri == o.sharing_uri &&
|
234
|
+
download_sharing_uri == o.download_sharing_uri &&
|
235
235
|
self_uri == o.self_uri
|
236
236
|
end
|
237
237
|
|
@@ -242,7 +242,7 @@ module PureCloud
|
|
242
242
|
|
243
243
|
# Calculate hash code according to all attributes.
|
244
244
|
def hash
|
245
|
-
[id, name, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails,
|
245
|
+
[id, name, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails, sharing_uri, download_sharing_uri, self_uri].hash
|
246
246
|
end
|
247
247
|
|
248
248
|
# build the object from hash
|
@@ -36,8 +36,6 @@ module PureCloud
|
|
36
36
|
|
37
37
|
attr_accessor :results
|
38
38
|
|
39
|
-
attr_accessor :aggregations
|
40
|
-
|
41
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
40
|
def self.attribute_map
|
43
41
|
{
|
@@ -58,9 +56,7 @@ module PureCloud
|
|
58
56
|
|
59
57
|
:'types' => :'types',
|
60
58
|
|
61
|
-
:'results' => :'results'
|
62
|
-
|
63
|
-
:'aggregations' => :'aggregations'
|
59
|
+
:'results' => :'results'
|
64
60
|
|
65
61
|
}
|
66
62
|
end
|
@@ -76,8 +72,7 @@ module PureCloud
|
|
76
72
|
:'current_page' => :'String',
|
77
73
|
:'next_page' => :'String',
|
78
74
|
:'types' => :'Array<String>',
|
79
|
-
:'results' => :'Array<Group>'
|
80
|
-
:'aggregations' => :'Array<Group>'
|
75
|
+
:'results' => :'Array<Group>'
|
81
76
|
|
82
77
|
}
|
83
78
|
end
|
@@ -129,12 +124,6 @@ module PureCloud
|
|
129
124
|
end
|
130
125
|
end
|
131
126
|
|
132
|
-
if attributes[:'aggregations']
|
133
|
-
if (value = attributes[:'aggregations']).is_a?(Array)
|
134
|
-
self.aggregations = value
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
127
|
end
|
139
128
|
|
140
129
|
# Check equality by comparing each attribute.
|
@@ -149,8 +138,7 @@ module PureCloud
|
|
149
138
|
current_page == o.current_page &&
|
150
139
|
next_page == o.next_page &&
|
151
140
|
types == o.types &&
|
152
|
-
results == o.results
|
153
|
-
aggregations == o.aggregations
|
141
|
+
results == o.results
|
154
142
|
end
|
155
143
|
|
156
144
|
# @see the `==` method
|
@@ -160,7 +148,7 @@ module PureCloud
|
|
160
148
|
|
161
149
|
# Calculate hash code according to all attributes.
|
162
150
|
def hash
|
163
|
-
[total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results
|
151
|
+
[total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results].hash
|
164
152
|
end
|
165
153
|
|
166
154
|
# build the object from hash
|
@@ -24,16 +24,16 @@ module PureCloud
|
|
24
24
|
|
25
25
|
attr_accessor :boolean
|
26
26
|
|
27
|
-
attr_accessor :number
|
28
|
-
|
29
27
|
attr_accessor :object
|
30
28
|
|
31
|
-
attr_accessor :
|
29
|
+
attr_accessor :number
|
32
30
|
|
33
31
|
attr_accessor :value_node
|
34
32
|
|
35
33
|
attr_accessor :container_node
|
36
34
|
|
35
|
+
attr_accessor :missing_node
|
36
|
+
|
37
37
|
attr_accessor :pojo
|
38
38
|
|
39
39
|
attr_accessor :integral_number
|
@@ -70,16 +70,16 @@ module PureCloud
|
|
70
70
|
|
71
71
|
:'boolean' => :'boolean',
|
72
72
|
|
73
|
-
:'number' => :'number',
|
74
|
-
|
75
73
|
:'object' => :'object',
|
76
74
|
|
77
|
-
:'
|
75
|
+
:'number' => :'number',
|
78
76
|
|
79
77
|
:'value_node' => :'valueNode',
|
80
78
|
|
81
79
|
:'container_node' => :'containerNode',
|
82
80
|
|
81
|
+
:'missing_node' => :'missingNode',
|
82
|
+
|
83
83
|
:'pojo' => :'pojo',
|
84
84
|
|
85
85
|
:'integral_number' => :'integralNumber',
|
@@ -115,11 +115,11 @@ module PureCloud
|
|
115
115
|
:'node_type' => :'String',
|
116
116
|
:'float' => :'BOOLEAN',
|
117
117
|
:'boolean' => :'BOOLEAN',
|
118
|
-
:'number' => :'BOOLEAN',
|
119
118
|
:'object' => :'BOOLEAN',
|
120
|
-
:'
|
119
|
+
:'number' => :'BOOLEAN',
|
121
120
|
:'value_node' => :'BOOLEAN',
|
122
121
|
:'container_node' => :'BOOLEAN',
|
122
|
+
:'missing_node' => :'BOOLEAN',
|
123
123
|
:'pojo' => :'BOOLEAN',
|
124
124
|
:'integral_number' => :'BOOLEAN',
|
125
125
|
:'floating_point_number' => :'BOOLEAN',
|
@@ -160,22 +160,16 @@ module PureCloud
|
|
160
160
|
self.boolean = false
|
161
161
|
end
|
162
162
|
|
163
|
-
if attributes[:'number']
|
164
|
-
self.number = attributes[:'number']
|
165
|
-
else
|
166
|
-
self.number = false
|
167
|
-
end
|
168
|
-
|
169
163
|
if attributes[:'object']
|
170
164
|
self.object = attributes[:'object']
|
171
165
|
else
|
172
166
|
self.object = false
|
173
167
|
end
|
174
168
|
|
175
|
-
if attributes[:'
|
176
|
-
self.
|
169
|
+
if attributes[:'number']
|
170
|
+
self.number = attributes[:'number']
|
177
171
|
else
|
178
|
-
self.
|
172
|
+
self.number = false
|
179
173
|
end
|
180
174
|
|
181
175
|
if attributes[:'valueNode']
|
@@ -190,6 +184,12 @@ module PureCloud
|
|
190
184
|
self.container_node = false
|
191
185
|
end
|
192
186
|
|
187
|
+
if attributes[:'missingNode']
|
188
|
+
self.missing_node = attributes[:'missingNode']
|
189
|
+
else
|
190
|
+
self.missing_node = false
|
191
|
+
end
|
192
|
+
|
193
193
|
if attributes[:'pojo']
|
194
194
|
self.pojo = attributes[:'pojo']
|
195
195
|
else
|
@@ -286,11 +286,11 @@ module PureCloud
|
|
286
286
|
node_type == o.node_type &&
|
287
287
|
float == o.float &&
|
288
288
|
boolean == o.boolean &&
|
289
|
-
number == o.number &&
|
290
289
|
object == o.object &&
|
291
|
-
|
290
|
+
number == o.number &&
|
292
291
|
value_node == o.value_node &&
|
293
292
|
container_node == o.container_node &&
|
293
|
+
missing_node == o.missing_node &&
|
294
294
|
pojo == o.pojo &&
|
295
295
|
integral_number == o.integral_number &&
|
296
296
|
floating_point_number == o.floating_point_number &&
|
@@ -313,7 +313,7 @@ module PureCloud
|
|
313
313
|
|
314
314
|
# Calculate hash code according to all attributes.
|
315
315
|
def hash
|
316
|
-
[node_type, float, boolean,
|
316
|
+
[node_type, float, boolean, object, number, value_node, container_node, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
|
317
317
|
end
|
318
318
|
|
319
319
|
# build the object from hash
|