purecloudplatformclientv2 49.0.1 → 50.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsEvaluation.md +1 -0
  4. data/docs/ArchitectApi.md +16 -16
  5. data/docs/ArrayNode.md +5 -5
  6. data/docs/AuthorizationApi.md +67 -0
  7. data/docs/DomainOrganizationRole.md +1 -1
  8. data/docs/DomainOrganizationRoleCreate.md +1 -1
  9. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  10. data/docs/GroupsApi.md +3 -0
  11. data/docs/IntegrationsApi.md +41 -37
  12. data/docs/QualityAudit.md +1 -1
  13. data/docs/RoutingApi.md +8 -2
  14. data/docs/TimeZone.md +2 -2
  15. data/docs/UsersApi.md +4 -2
  16. data/docs/ViewFilter.md +6 -0
  17. data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
  18. data/lib/purecloudplatformclientv2/api/authorization_api.rb +64 -0
  19. data/lib/purecloudplatformclientv2/api/integrations_api.rb +92 -62
  20. data/lib/purecloudplatformclientv2/api/routing_api.rb +18 -0
  21. data/lib/purecloudplatformclientv2/api/users_api.rb +11 -2
  22. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  23. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +27 -1
  24. data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
  25. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
  26. data/lib/purecloudplatformclientv2/models/array_node.rb +70 -70
  27. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  28. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  29. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  30. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  31. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  32. data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
  33. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +2 -2
  34. data/lib/purecloudplatformclientv2/models/quality_audit.rb +14 -14
  35. data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
  36. data/lib/purecloudplatformclientv2/models/view_filter.rb +166 -4
  37. data/lib/purecloudplatformclientv2/models/voicemail.rb +2 -2
  38. data/lib/purecloudplatformclientv2/version.rb +1 -1
  39. metadata +2 -2
@@ -1756,6 +1756,8 @@ module PureCloud
1756
1756
  #
1757
1757
  # @param queue_id Queue ID
1758
1758
  # @param [Hash] opts the optional parameters
1759
+ # @option opts [Integer] :page_size Page size (default to 25)
1760
+ # @option opts [Integer] :page_number Page number (default to 1)
1759
1761
  # @return [WrapupCodeEntityListing]
1760
1762
  def get_routing_queue_wrapupcodes(queue_id, opts = {})
1761
1763
  data, _status_code, _headers = get_routing_queue_wrapupcodes_with_http_info(queue_id, opts)
@@ -1766,6 +1768,8 @@ module PureCloud
1766
1768
  #
1767
1769
  # @param queue_id Queue ID
1768
1770
  # @param [Hash] opts the optional parameters
1771
+ # @option opts [Integer] :page_size Page size
1772
+ # @option opts [Integer] :page_number Page number
1769
1773
  # @return [Array<(WrapupCodeEntityListing, Fixnum, Hash)>] WrapupCodeEntityListing data, response status code and response headers
1770
1774
  def get_routing_queue_wrapupcodes_with_http_info(queue_id, opts = {})
1771
1775
  if @api_client.config.debugging
@@ -1780,11 +1784,25 @@ module PureCloud
1780
1784
 
1781
1785
 
1782
1786
 
1787
+
1788
+
1789
+
1790
+
1791
+
1792
+
1793
+
1794
+
1795
+
1796
+
1797
+
1798
+
1783
1799
  # resource path
1784
1800
  local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
1785
1801
 
1786
1802
  # query parameters
1787
1803
  query_params = {}
1804
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1805
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1788
1806
 
1789
1807
  # header parameters
1790
1808
  header_params = {}
@@ -2320,7 +2320,8 @@ module PureCloud
2320
2320
  # @param [Hash] opts the optional parameters
2321
2321
  # @option opts [Integer] :page_size Page size (default to 25)
2322
2322
  # @option opts [Integer] :page_number Page number (default to 1)
2323
- # @option opts [Array<String>] :id id
2323
+ # @option opts [Array<String>] :id A list of user IDs to fetch by bulk
2324
+ # @option opts [Array<String>] :jabber_id A list of jabberIds to fetch by bulk (cannot be used with the \&quot;id\&quot; parameter)
2324
2325
  # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
2325
2326
  # @option opts [Array<String>] :expand Which fields, if any, to expand
2326
2327
  # @option opts [String] :state Only list users of this state (default to active)
@@ -2335,7 +2336,8 @@ module PureCloud
2335
2336
  # @param [Hash] opts the optional parameters
2336
2337
  # @option opts [Integer] :page_size Page size
2337
2338
  # @option opts [Integer] :page_number Page number
2338
- # @option opts [Array<String>] :id id
2339
+ # @option opts [Array<String>] :id A list of user IDs to fetch by bulk
2340
+ # @option opts [Array<String>] :jabber_id A list of jabberIds to fetch by bulk (cannot be used with the \&quot;id\&quot; parameter)
2339
2341
  # @option opts [String] :sort_order Ascending or descending sort order
2340
2342
  # @option opts [Array<String>] :expand Which fields, if any, to expand
2341
2343
  # @option opts [String] :state Only list users of this state
@@ -2359,6 +2361,12 @@ module PureCloud
2359
2361
 
2360
2362
 
2361
2363
 
2364
+
2365
+
2366
+
2367
+
2368
+
2369
+
2362
2370
 
2363
2371
 
2364
2372
 
@@ -2397,6 +2405,7 @@ module PureCloud
2397
2405
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
2398
2406
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
2399
2407
  query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
2408
+ query_params[:'jabberId'] = @api_client.build_collection_param(opts[:'jabber_id'], :multi) if opts[:'jabber_id']
2400
2409
  query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
2401
2410
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
2402
2411
  query_params[:'state'] = opts[:'state'] if opts[:'state']
@@ -76,7 +76,7 @@ module PureCloud
76
76
  http_method = http_method.to_sym.downcase
77
77
 
78
78
  header_params = @default_headers.merge(opts[:header_params] || {})
79
- header_params['purecloud-sdk'] = '49.0.1'
79
+ header_params['purecloud-sdk'] = '50.0.0'
80
80
  query_params = opts[:query_params] || {}
81
81
  form_params = opts[:form_params] || {}
82
82
 
@@ -42,6 +42,9 @@ module PureCloud
42
42
  # Name of the evaluation form
43
43
  attr_accessor :form_name
44
44
 
45
+ # The calibration id used for the purpose of training evaluators
46
+ attr_accessor :calibration_id
47
+
45
48
  attr_accessor :o_total_score
46
49
 
47
50
  attr_accessor :o_total_critical_score
@@ -66,6 +69,8 @@ module PureCloud
66
69
 
67
70
  :'form_name' => :'formName',
68
71
 
72
+ :'calibration_id' => :'calibrationId',
73
+
69
74
  :'o_total_score' => :'oTotalScore',
70
75
 
71
76
  :'o_total_critical_score' => :'oTotalCriticalScore'
@@ -93,6 +98,8 @@ module PureCloud
93
98
 
94
99
  :'form_name' => :'String',
95
100
 
101
+ :'calibration_id' => :'String',
102
+
96
103
  :'o_total_score' => :'Integer',
97
104
 
98
105
  :'o_total_critical_score' => :'Integer'
@@ -181,6 +188,15 @@ module PureCloud
181
188
  end
182
189
 
183
190
 
191
+ if attributes.has_key?(:'calibrationId')
192
+
193
+
194
+ self.calibration_id = attributes[:'calibrationId']
195
+
196
+
197
+ end
198
+
199
+
184
200
  if attributes.has_key?(:'oTotalScore')
185
201
 
186
202
 
@@ -249,6 +265,10 @@ module PureCloud
249
265
 
250
266
 
251
267
 
268
+
269
+
270
+
271
+
252
272
 
253
273
 
254
274
 
@@ -301,6 +321,11 @@ module PureCloud
301
321
 
302
322
 
303
323
 
324
+
325
+
326
+
327
+
328
+
304
329
 
305
330
 
306
331
 
@@ -320,6 +345,7 @@ module PureCloud
320
345
  form_id == o.form_id &&
321
346
  context_id == o.context_id &&
322
347
  form_name == o.form_name &&
348
+ calibration_id == o.calibration_id &&
323
349
  o_total_score == o.o_total_score &&
324
350
  o_total_critical_score == o.o_total_critical_score
325
351
  end
@@ -333,7 +359,7 @@ module PureCloud
333
359
  # Calculates hash code according to all attributes.
334
360
  # @return [Fixnum] Hash code
335
361
  def hash
336
- [evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, o_total_score, o_total_critical_score].hash
362
+ [evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, o_total_score, o_total_critical_score].hash
337
363
  end
338
364
 
339
365
  # build the object from hash
@@ -296,7 +296,7 @@ module PureCloud
296
296
 
297
297
 
298
298
 
299
- allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
299
+ allowed_values = ["INBOUNDCALL", "INBOUNDCHAT", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
300
300
  if @flow_type && !allowed_values.include?(@flow_type)
301
301
  return false
302
302
  end
@@ -370,7 +370,7 @@ module PureCloud
370
370
  # Custom attribute writer method checking allowed values (enum).
371
371
  # @param [Object] flow_type Object to be assigned
372
372
  def flow_type=(flow_type)
373
- allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
373
+ allowed_values = ["INBOUNDCALL", "INBOUNDCHAT", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
374
374
  if flow_type && !allowed_values.include?(flow_type)
375
375
  fail ArgumentError, "invalid value for 'flow_type', must be one of #{allowed_values}."
376
376
  end
@@ -195,7 +195,7 @@ module PureCloud
195
195
 
196
196
 
197
197
 
198
- allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "entryReason", "entryType", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
198
+ allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "calibrationId", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "entryReason", "entryType", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
199
199
  if @dimension && !allowed_values.include?(@dimension)
200
200
  return false
201
201
  end
@@ -262,7 +262,7 @@ module PureCloud
262
262
  # Custom attribute writer method checking allowed values (enum).
263
263
  # @param [Object] dimension Object to be assigned
264
264
  def dimension=(dimension)
265
- allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "entryReason", "entryType", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
265
+ allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "originatingDirection", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "sessionDnis", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "calibrationId", "surveyId", "surveyFormContextId", "surveyFormId", "surveyFormName", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "surveyPromoterScore", "surveyCompletedDate", "surveyErrorReason", "surveyPreviousStatus", "surveyStatus", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "entryReason", "entryType", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "minMos", "mediaStatsMinConversationMos", "minRFactor", "mediaStatsMinConversationRFactor"]
266
266
  if dimension && !allowed_values.include?(dimension)
267
267
  fail ArgumentError, "invalid value for 'dimension', must be one of #{allowed_values}."
268
268
  end
@@ -20,23 +20,15 @@ module PureCloud
20
20
  class ArrayNode
21
21
  attr_accessor :node_type
22
22
 
23
- attr_accessor :object
24
-
25
23
  attr_accessor :boolean
26
24
 
27
25
  attr_accessor :number
28
26
 
29
27
  attr_accessor :float
30
28
 
31
- attr_accessor :floating_point_number
32
-
33
- attr_accessor :value_node
34
-
35
- attr_accessor :container_node
36
-
37
- attr_accessor :missing_node
29
+ attr_accessor :object
38
30
 
39
- attr_accessor :pojo
31
+ attr_accessor :floating_point_number
40
32
 
41
33
  attr_accessor :integral_number
42
34
 
@@ -56,6 +48,14 @@ module PureCloud
56
48
 
57
49
  attr_accessor :binary
58
50
 
51
+ attr_accessor :value_node
52
+
53
+ attr_accessor :container_node
54
+
55
+ attr_accessor :missing_node
56
+
57
+ attr_accessor :pojo
58
+
59
59
  attr_accessor :array
60
60
 
61
61
  attr_accessor :null
@@ -66,23 +66,15 @@ module PureCloud
66
66
 
67
67
  :'node_type' => :'nodeType',
68
68
 
69
- :'object' => :'object',
70
-
71
69
  :'boolean' => :'boolean',
72
70
 
73
71
  :'number' => :'number',
74
72
 
75
73
  :'float' => :'float',
76
74
 
77
- :'floating_point_number' => :'floatingPointNumber',
78
-
79
- :'value_node' => :'valueNode',
80
-
81
- :'container_node' => :'containerNode',
82
-
83
- :'missing_node' => :'missingNode',
75
+ :'object' => :'object',
84
76
 
85
- :'pojo' => :'pojo',
77
+ :'floating_point_number' => :'floatingPointNumber',
86
78
 
87
79
  :'integral_number' => :'integralNumber',
88
80
 
@@ -102,6 +94,14 @@ module PureCloud
102
94
 
103
95
  :'binary' => :'binary',
104
96
 
97
+ :'value_node' => :'valueNode',
98
+
99
+ :'container_node' => :'containerNode',
100
+
101
+ :'missing_node' => :'missingNode',
102
+
103
+ :'pojo' => :'pojo',
104
+
105
105
  :'array' => :'array',
106
106
 
107
107
  :'null' => :'null'
@@ -115,23 +115,15 @@ module PureCloud
115
115
 
116
116
  :'node_type' => :'String',
117
117
 
118
- :'object' => :'BOOLEAN',
119
-
120
118
  :'boolean' => :'BOOLEAN',
121
119
 
122
120
  :'number' => :'BOOLEAN',
123
121
 
124
122
  :'float' => :'BOOLEAN',
125
123
 
126
- :'floating_point_number' => :'BOOLEAN',
127
-
128
- :'value_node' => :'BOOLEAN',
129
-
130
- :'container_node' => :'BOOLEAN',
131
-
132
- :'missing_node' => :'BOOLEAN',
124
+ :'object' => :'BOOLEAN',
133
125
 
134
- :'pojo' => :'BOOLEAN',
126
+ :'floating_point_number' => :'BOOLEAN',
135
127
 
136
128
  :'integral_number' => :'BOOLEAN',
137
129
 
@@ -151,6 +143,14 @@ module PureCloud
151
143
 
152
144
  :'binary' => :'BOOLEAN',
153
145
 
146
+ :'value_node' => :'BOOLEAN',
147
+
148
+ :'container_node' => :'BOOLEAN',
149
+
150
+ :'missing_node' => :'BOOLEAN',
151
+
152
+ :'pojo' => :'BOOLEAN',
153
+
154
154
  :'array' => :'BOOLEAN',
155
155
 
156
156
  :'null' => :'BOOLEAN'
@@ -176,37 +176,37 @@ module PureCloud
176
176
  end
177
177
 
178
178
 
179
- if attributes.has_key?(:'object')
179
+ if attributes.has_key?(:'boolean')
180
180
 
181
181
 
182
- self.object = attributes[:'object']
182
+ self.boolean = attributes[:'boolean']
183
183
 
184
184
 
185
185
  end
186
186
 
187
187
 
188
- if attributes.has_key?(:'boolean')
188
+ if attributes.has_key?(:'number')
189
189
 
190
190
 
191
- self.boolean = attributes[:'boolean']
191
+ self.number = attributes[:'number']
192
192
 
193
193
 
194
194
  end
195
195
 
196
196
 
197
- if attributes.has_key?(:'number')
197
+ if attributes.has_key?(:'float')
198
198
 
199
199
 
200
- self.number = attributes[:'number']
200
+ self.float = attributes[:'float']
201
201
 
202
202
 
203
203
  end
204
204
 
205
205
 
206
- if attributes.has_key?(:'float')
206
+ if attributes.has_key?(:'object')
207
207
 
208
208
 
209
- self.float = attributes[:'float']
209
+ self.object = attributes[:'object']
210
210
 
211
211
 
212
212
  end
@@ -221,118 +221,118 @@ module PureCloud
221
221
  end
222
222
 
223
223
 
224
- if attributes.has_key?(:'valueNode')
224
+ if attributes.has_key?(:'integralNumber')
225
225
 
226
226
 
227
- self.value_node = attributes[:'valueNode']
227
+ self.integral_number = attributes[:'integralNumber']
228
228
 
229
229
 
230
230
  end
231
231
 
232
232
 
233
- if attributes.has_key?(:'containerNode')
233
+ if attributes.has_key?(:'short')
234
234
 
235
235
 
236
- self.container_node = attributes[:'containerNode']
236
+ self.short = attributes[:'short']
237
237
 
238
238
 
239
239
  end
240
240
 
241
241
 
242
- if attributes.has_key?(:'missingNode')
242
+ if attributes.has_key?(:'int')
243
243
 
244
244
 
245
- self.missing_node = attributes[:'missingNode']
245
+ self.int = attributes[:'int']
246
246
 
247
247
 
248
248
  end
249
249
 
250
250
 
251
- if attributes.has_key?(:'pojo')
251
+ if attributes.has_key?(:'long')
252
252
 
253
253
 
254
- self.pojo = attributes[:'pojo']
254
+ self.long = attributes[:'long']
255
255
 
256
256
 
257
257
  end
258
258
 
259
259
 
260
- if attributes.has_key?(:'integralNumber')
260
+ if attributes.has_key?(:'double')
261
261
 
262
262
 
263
- self.integral_number = attributes[:'integralNumber']
263
+ self.double = attributes[:'double']
264
264
 
265
265
 
266
266
  end
267
267
 
268
268
 
269
- if attributes.has_key?(:'short')
269
+ if attributes.has_key?(:'bigDecimal')
270
270
 
271
271
 
272
- self.short = attributes[:'short']
272
+ self.big_decimal = attributes[:'bigDecimal']
273
273
 
274
274
 
275
275
  end
276
276
 
277
277
 
278
- if attributes.has_key?(:'int')
278
+ if attributes.has_key?(:'bigInteger')
279
279
 
280
280
 
281
- self.int = attributes[:'int']
281
+ self.big_integer = attributes[:'bigInteger']
282
282
 
283
283
 
284
284
  end
285
285
 
286
286
 
287
- if attributes.has_key?(:'long')
287
+ if attributes.has_key?(:'textual')
288
288
 
289
289
 
290
- self.long = attributes[:'long']
290
+ self.textual = attributes[:'textual']
291
291
 
292
292
 
293
293
  end
294
294
 
295
295
 
296
- if attributes.has_key?(:'double')
296
+ if attributes.has_key?(:'binary')
297
297
 
298
298
 
299
- self.double = attributes[:'double']
299
+ self.binary = attributes[:'binary']
300
300
 
301
301
 
302
302
  end
303
303
 
304
304
 
305
- if attributes.has_key?(:'bigDecimal')
305
+ if attributes.has_key?(:'valueNode')
306
306
 
307
307
 
308
- self.big_decimal = attributes[:'bigDecimal']
308
+ self.value_node = attributes[:'valueNode']
309
309
 
310
310
 
311
311
  end
312
312
 
313
313
 
314
- if attributes.has_key?(:'bigInteger')
314
+ if attributes.has_key?(:'containerNode')
315
315
 
316
316
 
317
- self.big_integer = attributes[:'bigInteger']
317
+ self.container_node = attributes[:'containerNode']
318
318
 
319
319
 
320
320
  end
321
321
 
322
322
 
323
- if attributes.has_key?(:'textual')
323
+ if attributes.has_key?(:'missingNode')
324
324
 
325
325
 
326
- self.textual = attributes[:'textual']
326
+ self.missing_node = attributes[:'missingNode']
327
327
 
328
328
 
329
329
  end
330
330
 
331
331
 
332
- if attributes.has_key?(:'binary')
332
+ if attributes.has_key?(:'pojo')
333
333
 
334
334
 
335
- self.binary = attributes[:'binary']
335
+ self.pojo = attributes[:'pojo']
336
336
 
337
337
 
338
338
  end
@@ -583,15 +583,11 @@ module PureCloud
583
583
  return true if self.equal?(o)
584
584
  self.class == o.class &&
585
585
  node_type == o.node_type &&
586
- object == o.object &&
587
586
  boolean == o.boolean &&
588
587
  number == o.number &&
589
588
  float == o.float &&
589
+ object == o.object &&
590
590
  floating_point_number == o.floating_point_number &&
591
- value_node == o.value_node &&
592
- container_node == o.container_node &&
593
- missing_node == o.missing_node &&
594
- pojo == o.pojo &&
595
591
  integral_number == o.integral_number &&
596
592
  short == o.short &&
597
593
  int == o.int &&
@@ -601,6 +597,10 @@ module PureCloud
601
597
  big_integer == o.big_integer &&
602
598
  textual == o.textual &&
603
599
  binary == o.binary &&
600
+ value_node == o.value_node &&
601
+ container_node == o.container_node &&
602
+ missing_node == o.missing_node &&
603
+ pojo == o.pojo &&
604
604
  array == o.array &&
605
605
  null == o.null
606
606
  end
@@ -614,7 +614,7 @@ module PureCloud
614
614
  # Calculates hash code according to all attributes.
615
615
  # @return [Fixnum] Hash code
616
616
  def hash
617
- [node_type, object, boolean, number, float, floating_point_number, value_node, container_node, missing_node, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
617
+ [node_type, boolean, number, float, object, floating_point_number, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, container_node, missing_node, pojo, array, null].hash
618
618
  end
619
619
 
620
620
  # build the object from hash