purecloudplatformclientv2 21.0.0 → 22.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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/Entity.md +0 -1
  4. data/docs/GroupProfile.md +18 -0
  5. data/docs/GroupsApi.md +60 -0
  6. data/docs/InboundRoute.md +1 -1
  7. data/docs/JsonNode.md +1 -1
  8. data/docs/MediaPolicies.md +1 -0
  9. data/docs/MessageMediaPolicy.md +14 -0
  10. data/docs/MessageMediaPolicyConditions.md +17 -0
  11. data/docs/NamedEntity.md +14 -0
  12. data/docs/OrgOAuthClient.md +1 -1
  13. data/docs/RoutingApi.md +2 -2
  14. data/docs/TokenInfo.md +2 -2
  15. data/docs/UserConversationSummary.md +1 -0
  16. data/docs/UserExpands.md +19 -0
  17. data/docs/UserProfile.md +19 -0
  18. data/docs/UserProfileEntityListing.md +22 -0
  19. data/docs/UsersApi.md +137 -0
  20. data/docs/WorkforceManagementApi.md +5 -3
  21. data/lib/purecloudplatformclientv2.rb +7 -0
  22. data/lib/purecloudplatformclientv2/api/groups_api.rb +65 -0
  23. data/lib/purecloudplatformclientv2/api/users_api.rb +200 -0
  24. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +14 -1
  25. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  26. data/lib/purecloudplatformclientv2/models/entity.rb +4 -29
  27. data/lib/purecloudplatformclientv2/models/event_log.rb +2 -2
  28. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  29. data/lib/purecloudplatformclientv2/models/group_profile.rb +350 -0
  30. data/lib/purecloudplatformclientv2/models/inbound_route.rb +7 -7
  31. data/lib/purecloudplatformclientv2/models/json_node.rb +17 -17
  32. data/lib/purecloudplatformclientv2/models/media_policies.rb +30 -4
  33. data/lib/purecloudplatformclientv2/models/message_media_policy.rb +228 -0
  34. data/lib/purecloudplatformclientv2/models/message_media_policy_conditions.rb +309 -0
  35. data/lib/purecloudplatformclientv2/models/named_entity.rb +228 -0
  36. data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +1 -1
  37. data/lib/purecloudplatformclientv2/models/token_info.rb +2 -2
  38. data/lib/purecloudplatformclientv2/models/user_conversation_summary.rb +26 -1
  39. data/lib/purecloudplatformclientv2/models/user_expands.rb +358 -0
  40. data/lib/purecloudplatformclientv2/models/user_profile.rb +376 -0
  41. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +428 -0
  42. data/lib/purecloudplatformclientv2/version.rb +1 -1
  43. metadata +16 -2
@@ -240,7 +240,7 @@ module PureCloud
240
240
 
241
241
 
242
242
 
243
- allowed_values = ["CALLBACK", "CALL_RESTRICTION", "CALL_RULE", "CAMPAIGN", "CAMPAIGN_RULE", "CONTACT_LIST_FILTER", "ENTITY_LIMIT", "IMPORT_ERROR", "ORGANIZATION_CONFIGURATION", "SCHEDULE"]
243
+ allowed_values = ["CALLBACK", "CALL_RESTRICTION", "CALL_RULE", "CAMPAIGN", "CAMPAIGN_RULE", "CONTACT_LIST_FILTER", "DNC_LIST", "ENTITY_LIMIT", "IMPORT_ERROR", "ORGANIZATION_CONFIGURATION", "SCHEDULE"]
244
244
  if @category && !allowed_values.include?(@category)
245
245
  return false
246
246
  end
@@ -305,7 +305,7 @@ module PureCloud
305
305
  # Custom attribute writer method checking allowed values (enum).
306
306
  # @param [Object] category Object to be assigned
307
307
  def category=(category)
308
- allowed_values = ["CALLBACK", "CALL_RESTRICTION", "CALL_RULE", "CAMPAIGN", "CAMPAIGN_RULE", "CONTACT_LIST_FILTER", "ENTITY_LIMIT", "IMPORT_ERROR", "ORGANIZATION_CONFIGURATION", "SCHEDULE"]
308
+ allowed_values = ["CALLBACK", "CALL_RESTRICTION", "CALL_RULE", "CAMPAIGN", "CAMPAIGN_RULE", "CONTACT_LIST_FILTER", "DNC_LIST", "ENTITY_LIMIT", "IMPORT_ERROR", "ORGANIZATION_CONFIGURATION", "SCHEDULE"]
309
309
  if category && !allowed_values.include?(category)
310
310
  fail ArgumentError, "invalid value for 'category', must be one of #{allowed_values}."
311
311
  end
@@ -152,7 +152,7 @@ module PureCloud
152
152
 
153
153
 
154
154
 
155
- allowed_values = ["APPROACHING_CONTACT_LIMIT", "APPROACHING_ENTITY_LIMIT", "CAMPAIGN_START_ERROR", "CAMPAIGN_RULE_START_ERROR", "CAMPAIGN_SET_DIALING_MODE_ERROR", "CAMPAIGN_THROTTLED", "INVALID_CALLABLE_TIME_ZONE", "CALLBACK_CREATION_INVALID_NUMBER", "CALL_RULE_INVALID_CONTACT_COLUMN", "CALL_RULE_MISMATCH_TYPE", "CALL_RULE_INVALID_OPERATOR", "CALL_RULE_NO_DNC_LISTS_CONFIGURED", "CALL_RULE_UPDATED_PHONE_COLUMN", "CONTACT_LIST_FILTER_EVALUATION_FAILED", "EXCEEDED_CONTACT_LIMIT", "INACTIVE_EDGES_FAILED_PLACE_CALLS", "INACTIVE_EDGES_TURNED_CAMPAIGN_OFF", "INVALID_PHONE_NUMBER", "IMPORT_FAILED_TO_READ_HEADERS", "IMPORT_COULD_NOT_PARSE_AN_ENTRY", "IMPORT_CONTACT_DOES_NOT_MATCH_LIST_FORMAT", "IMPORT_ENTRY_DOES_NOT_ALIGN_WITH_HEADERS", "IMPORT_INVALID_CUSTOM_ID", "IMPORT_INVALID_DATA", "IMPORT_NO_COLUMNS_DEFINED", "IMPORT_COLUMNS_DO_NOT_EXIST_ON_LIST", "IMPORT_LIST_NO_LONGER_EXISTS", "ORGANIZATION_HAS_NO_DOMAIN_SET", "RECYCLE_CAMPAIGN"]
155
+ allowed_values = ["APPROACHING_CONTACT_LIMIT", "APPROACHING_ENTITY_LIMIT", "CAMPAIGN_START_ERROR", "CAMPAIGN_RULE_START_ERROR", "CAMPAIGN_SET_DIALING_MODE_ERROR", "CAMPAIGN_THROTTLED", "INVALID_CALLABLE_TIME_ZONE", "CALLBACK_CREATION_INVALID_NUMBER", "CALL_RULE_INVALID_CONTACT_COLUMN", "CALL_RULE_MISMATCH_TYPE", "CALL_RULE_INVALID_OPERATOR", "CALL_RULE_NO_DNC_LISTS_CONFIGURED", "CALL_RULE_UPDATED_PHONE_COLUMN", "CONTACT_LIST_FILTER_EVALUATION_FAILED", "DNC_AUTHENTICATION_FAILURE", "EXCEEDED_CONTACT_LIMIT", "INACTIVE_EDGES_FAILED_PLACE_CALLS", "INACTIVE_EDGES_TURNED_CAMPAIGN_OFF", "INVALID_PHONE_NUMBER", "IMPORT_FAILED_TO_READ_HEADERS", "IMPORT_COULD_NOT_PARSE_AN_ENTRY", "IMPORT_CONTACT_DOES_NOT_MATCH_LIST_FORMAT", "IMPORT_ENTRY_DOES_NOT_ALIGN_WITH_HEADERS", "IMPORT_INVALID_CUSTOM_ID", "IMPORT_INVALID_DATA", "IMPORT_NO_COLUMNS_DEFINED", "IMPORT_COLUMNS_DO_NOT_EXIST_ON_LIST", "IMPORT_LIST_NO_LONGER_EXISTS", "ORGANIZATION_HAS_NO_DOMAIN_SET", "RECYCLE_CAMPAIGN"]
156
156
  if @code && !allowed_values.include?(@code)
157
157
  return false
158
158
  end
@@ -186,7 +186,7 @@ module PureCloud
186
186
  # Custom attribute writer method checking allowed values (enum).
187
187
  # @param [Object] code Object to be assigned
188
188
  def code=(code)
189
- allowed_values = ["APPROACHING_CONTACT_LIMIT", "APPROACHING_ENTITY_LIMIT", "CAMPAIGN_START_ERROR", "CAMPAIGN_RULE_START_ERROR", "CAMPAIGN_SET_DIALING_MODE_ERROR", "CAMPAIGN_THROTTLED", "INVALID_CALLABLE_TIME_ZONE", "CALLBACK_CREATION_INVALID_NUMBER", "CALL_RULE_INVALID_CONTACT_COLUMN", "CALL_RULE_MISMATCH_TYPE", "CALL_RULE_INVALID_OPERATOR", "CALL_RULE_NO_DNC_LISTS_CONFIGURED", "CALL_RULE_UPDATED_PHONE_COLUMN", "CONTACT_LIST_FILTER_EVALUATION_FAILED", "EXCEEDED_CONTACT_LIMIT", "INACTIVE_EDGES_FAILED_PLACE_CALLS", "INACTIVE_EDGES_TURNED_CAMPAIGN_OFF", "INVALID_PHONE_NUMBER", "IMPORT_FAILED_TO_READ_HEADERS", "IMPORT_COULD_NOT_PARSE_AN_ENTRY", "IMPORT_CONTACT_DOES_NOT_MATCH_LIST_FORMAT", "IMPORT_ENTRY_DOES_NOT_ALIGN_WITH_HEADERS", "IMPORT_INVALID_CUSTOM_ID", "IMPORT_INVALID_DATA", "IMPORT_NO_COLUMNS_DEFINED", "IMPORT_COLUMNS_DO_NOT_EXIST_ON_LIST", "IMPORT_LIST_NO_LONGER_EXISTS", "ORGANIZATION_HAS_NO_DOMAIN_SET", "RECYCLE_CAMPAIGN"]
189
+ allowed_values = ["APPROACHING_CONTACT_LIMIT", "APPROACHING_ENTITY_LIMIT", "CAMPAIGN_START_ERROR", "CAMPAIGN_RULE_START_ERROR", "CAMPAIGN_SET_DIALING_MODE_ERROR", "CAMPAIGN_THROTTLED", "INVALID_CALLABLE_TIME_ZONE", "CALLBACK_CREATION_INVALID_NUMBER", "CALL_RULE_INVALID_CONTACT_COLUMN", "CALL_RULE_MISMATCH_TYPE", "CALL_RULE_INVALID_OPERATOR", "CALL_RULE_NO_DNC_LISTS_CONFIGURED", "CALL_RULE_UPDATED_PHONE_COLUMN", "CONTACT_LIST_FILTER_EVALUATION_FAILED", "DNC_AUTHENTICATION_FAILURE", "EXCEEDED_CONTACT_LIMIT", "INACTIVE_EDGES_FAILED_PLACE_CALLS", "INACTIVE_EDGES_TURNED_CAMPAIGN_OFF", "INVALID_PHONE_NUMBER", "IMPORT_FAILED_TO_READ_HEADERS", "IMPORT_COULD_NOT_PARSE_AN_ENTRY", "IMPORT_CONTACT_DOES_NOT_MATCH_LIST_FORMAT", "IMPORT_ENTRY_DOES_NOT_ALIGN_WITH_HEADERS", "IMPORT_INVALID_CUSTOM_ID", "IMPORT_INVALID_DATA", "IMPORT_NO_COLUMNS_DEFINED", "IMPORT_COLUMNS_DO_NOT_EXIST_ON_LIST", "IMPORT_LIST_NO_LONGER_EXISTS", "ORGANIZATION_HAS_NO_DOMAIN_SET", "RECYCLE_CAMPAIGN"]
190
190
  if code && !allowed_values.include?(code)
191
191
  fail ArgumentError, "invalid value for 'code', must be one of #{allowed_values}."
192
192
  end
@@ -0,0 +1,350 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class GroupProfile
21
+ # The globally unique identifier for the object.
22
+ attr_accessor :id
23
+
24
+ attr_accessor :name
25
+
26
+ # The state of the user resource
27
+ attr_accessor :state
28
+
29
+ # Datetime of the last modification. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
30
+ attr_accessor :date_modified
31
+
32
+ # The version of the group resource
33
+ attr_accessor :version
34
+
35
+ # The URI for this object
36
+ attr_accessor :self_uri
37
+
38
+ # Attribute mapping from ruby-style variable name to JSON key.
39
+ def self.attribute_map
40
+ {
41
+
42
+ :'id' => :'id',
43
+
44
+ :'name' => :'name',
45
+
46
+ :'state' => :'state',
47
+
48
+ :'date_modified' => :'dateModified',
49
+
50
+ :'version' => :'version',
51
+
52
+ :'self_uri' => :'selfUri'
53
+
54
+ }
55
+ end
56
+
57
+ # Attribute type mapping.
58
+ def self.swagger_types
59
+ {
60
+
61
+ :'id' => :'String',
62
+
63
+ :'name' => :'String',
64
+
65
+ :'state' => :'String',
66
+
67
+ :'date_modified' => :'DateTime',
68
+
69
+ :'version' => :'Integer',
70
+
71
+ :'self_uri' => :'String'
72
+
73
+ }
74
+ end
75
+
76
+ # Initializes the object
77
+ # @param [Hash] attributes Model attributes in the form of hash
78
+ def initialize(attributes = {})
79
+ return unless attributes.is_a?(Hash)
80
+
81
+ # convert string to symbol for hash key
82
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
83
+
84
+
85
+ if attributes.has_key?(:'id')
86
+
87
+
88
+ self.id = attributes[:'id']
89
+
90
+
91
+ end
92
+
93
+
94
+ if attributes.has_key?(:'name')
95
+
96
+
97
+ self.name = attributes[:'name']
98
+
99
+
100
+ end
101
+
102
+
103
+ if attributes.has_key?(:'state')
104
+
105
+
106
+ self.state = attributes[:'state']
107
+
108
+
109
+ end
110
+
111
+
112
+ if attributes.has_key?(:'dateModified')
113
+
114
+
115
+ self.date_modified = attributes[:'dateModified']
116
+
117
+
118
+ end
119
+
120
+
121
+ if attributes.has_key?(:'version')
122
+
123
+
124
+ self.version = attributes[:'version']
125
+
126
+
127
+ end
128
+
129
+
130
+ if attributes.has_key?(:'selfUri')
131
+
132
+
133
+ self.self_uri = attributes[:'selfUri']
134
+
135
+
136
+ end
137
+
138
+
139
+ end
140
+
141
+ # Show invalid properties with the reasons. Usually used together with valid?
142
+ # @return Array for valid properies with the reasons
143
+ def list_invalid_properties
144
+ invalid_properties = Array.new
145
+
146
+
147
+ return invalid_properties
148
+ end
149
+
150
+ # Check to see if the all the properties in the model are valid
151
+ # @return true if the model is valid
152
+ def valid?
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+ allowed_values = ["active", "inactive", "deleted"]
165
+ if @state && !allowed_values.include?(@state)
166
+ return false
167
+ end
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ if @version.nil?
177
+ return false
178
+ end
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+ end
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+ # Custom attribute writer method checking allowed values (enum).
203
+ # @param [Object] state Object to be assigned
204
+ def state=(state)
205
+ allowed_values = ["active", "inactive", "deleted"]
206
+ if state && !allowed_values.include?(state)
207
+ fail ArgumentError, "invalid value for 'state', must be one of #{allowed_values}."
208
+ end
209
+ @state = state
210
+ end
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+ # Checks equality by comparing each attribute.
231
+ # @param [Object] Object to be compared
232
+ def ==(o)
233
+ return true if self.equal?(o)
234
+ self.class == o.class &&
235
+ id == o.id &&
236
+ name == o.name &&
237
+ state == o.state &&
238
+ date_modified == o.date_modified &&
239
+ version == o.version &&
240
+ self_uri == o.self_uri
241
+ end
242
+
243
+ # @see the `==` method
244
+ # @param [Object] Object to be compared
245
+ def eql?(o)
246
+ self == o
247
+ end
248
+
249
+ # Calculates hash code according to all attributes.
250
+ # @return [Fixnum] Hash code
251
+ def hash
252
+ [id, name, state, date_modified, version, self_uri].hash
253
+ end
254
+
255
+ # build the object from hash
256
+ def build_from_hash(attributes)
257
+ return nil unless attributes.is_a?(Hash)
258
+ self.class.swagger_types.each_pair do |key, type|
259
+ if type =~ /^Array<(.*)>/i
260
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
261
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
262
+ else
263
+ #TODO show warning in debug mode
264
+ end
265
+ elsif !attributes[self.class.attribute_map[key]].nil?
266
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
267
+ else
268
+ # data not found in attributes(hash), not an issue as the data can be optional
269
+ end
270
+ end
271
+
272
+ self
273
+ end
274
+
275
+ def _deserialize(type, value)
276
+ case type.to_sym
277
+ when :DateTime
278
+ DateTime.parse(value)
279
+ when :Date
280
+ Date.parse(value)
281
+ when :String
282
+ value.to_s
283
+ when :Integer
284
+ value.to_i
285
+ when :Float
286
+ value.to_f
287
+ when :BOOLEAN
288
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
289
+ true
290
+ else
291
+ false
292
+ end
293
+ when :Object
294
+ # generic object (usually a Hash), return directly
295
+ value
296
+ when /\AArray<(?<inner_type>.+)>\z/
297
+ inner_type = Regexp.last_match[:inner_type]
298
+ value.map { |v| _deserialize(inner_type, v) }
299
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
300
+ k_type = Regexp.last_match[:k_type]
301
+ v_type = Regexp.last_match[:v_type]
302
+ {}.tap do |hash|
303
+ value.each do |k, v|
304
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
305
+ end
306
+ end
307
+ else # model
308
+ _model = Object.const_get("PureCloud").const_get(type).new
309
+ _model.build_from_hash(value)
310
+ end
311
+ end
312
+
313
+ def to_s
314
+ to_hash.to_s
315
+ end
316
+
317
+ # to_body is an alias to to_body (backward compatibility))
318
+ def to_body
319
+ to_hash
320
+ end
321
+
322
+ # return the object in the form of hash
323
+ def to_hash
324
+ hash = {}
325
+ self.class.attribute_map.each_pair do |attr, param|
326
+ value = self.send(attr)
327
+ next if value.nil?
328
+ hash[param] = _to_hash(value)
329
+ end
330
+ hash
331
+ end
332
+
333
+ # Method to output non-array value in the form of hash
334
+ # For object, use to_hash. Otherwise, just return the value
335
+ def _to_hash(value)
336
+ if value.is_a?(Array)
337
+ value.compact.map{ |v| _to_hash(v) }
338
+ elsif value.is_a?(Hash)
339
+ {}.tap do |hash|
340
+ value.each { |k, v| hash[k] = _to_hash(v) }
341
+ end
342
+ elsif value.respond_to? :to_hash
343
+ value.to_hash
344
+ else
345
+ value
346
+ end
347
+ end
348
+
349
+ end
350
+ end
@@ -48,7 +48,7 @@ module PureCloud
48
48
  attr_accessor :flow
49
49
 
50
50
  # The route to use for email replies.
51
- attr_accessor :reply_route
51
+ attr_accessor :reply_email_address
52
52
 
53
53
  # The URI for this object
54
54
  attr_accessor :self_uri
@@ -77,7 +77,7 @@ module PureCloud
77
77
 
78
78
  :'flow' => :'flow',
79
79
 
80
- :'reply_route' => :'replyRoute',
80
+ :'reply_email_address' => :'replyEmailAddress',
81
81
 
82
82
  :'self_uri' => :'selfUri'
83
83
 
@@ -108,7 +108,7 @@ module PureCloud
108
108
 
109
109
  :'flow' => :'UriReference',
110
110
 
111
- :'reply_route' => :'UriReference',
111
+ :'reply_email_address' => :'QueueEmailAddress',
112
112
 
113
113
  :'self_uri' => :'String'
114
114
 
@@ -216,10 +216,10 @@ module PureCloud
216
216
  end
217
217
 
218
218
 
219
- if attributes.has_key?(:'replyRoute')
219
+ if attributes.has_key?(:'replyEmailAddress')
220
220
 
221
221
 
222
- self.reply_route = attributes[:'replyRoute']
222
+ self.reply_email_address = attributes[:'replyEmailAddress']
223
223
 
224
224
 
225
225
  end
@@ -390,7 +390,7 @@ module PureCloud
390
390
  from_name == o.from_name &&
391
391
  from_email == o.from_email &&
392
392
  flow == o.flow &&
393
- reply_route == o.reply_route &&
393
+ reply_email_address == o.reply_email_address &&
394
394
  self_uri == o.self_uri
395
395
  end
396
396
 
@@ -403,7 +403,7 @@ module PureCloud
403
403
  # Calculates hash code according to all attributes.
404
404
  # @return [Fixnum] Hash code
405
405
  def hash
406
- [id, name, pattern, queue, priority, skills, language, from_name, from_email, flow, reply_route, self_uri].hash
406
+ [id, name, pattern, queue, priority, skills, language, from_name, from_email, flow, reply_email_address, self_uri].hash
407
407
  end
408
408
 
409
409
  # build the object from hash
@@ -32,8 +32,6 @@ module PureCloud
32
32
 
33
33
  attr_accessor :number
34
34
 
35
- attr_accessor :floating_point_number
36
-
37
35
  attr_accessor :value_node
38
36
 
39
37
  attr_accessor :container_node
@@ -44,6 +42,8 @@ module PureCloud
44
42
 
45
43
  attr_accessor :integral_number
46
44
 
45
+ attr_accessor :floating_point_number
46
+
47
47
  attr_accessor :short
48
48
 
49
49
  attr_accessor :int
@@ -78,8 +78,6 @@ module PureCloud
78
78
 
79
79
  :'number' => :'number',
80
80
 
81
- :'floating_point_number' => :'floatingPointNumber',
82
-
83
81
  :'value_node' => :'valueNode',
84
82
 
85
83
  :'container_node' => :'containerNode',
@@ -90,6 +88,8 @@ module PureCloud
90
88
 
91
89
  :'integral_number' => :'integralNumber',
92
90
 
91
+ :'floating_point_number' => :'floatingPointNumber',
92
+
93
93
  :'short' => :'short',
94
94
 
95
95
  :'int' => :'int',
@@ -127,8 +127,6 @@ module PureCloud
127
127
 
128
128
  :'number' => :'BOOLEAN',
129
129
 
130
- :'floating_point_number' => :'BOOLEAN',
131
-
132
130
  :'value_node' => :'BOOLEAN',
133
131
 
134
132
  :'container_node' => :'BOOLEAN',
@@ -139,6 +137,8 @@ module PureCloud
139
137
 
140
138
  :'integral_number' => :'BOOLEAN',
141
139
 
140
+ :'floating_point_number' => :'BOOLEAN',
141
+
142
142
  :'short' => :'BOOLEAN',
143
143
 
144
144
  :'int' => :'BOOLEAN',
@@ -230,15 +230,6 @@ module PureCloud
230
230
  end
231
231
 
232
232
 
233
- if attributes.has_key?(:'floatingPointNumber')
234
-
235
-
236
- self.floating_point_number = attributes[:'floatingPointNumber']
237
-
238
-
239
- end
240
-
241
-
242
233
  if attributes.has_key?(:'valueNode')
243
234
 
244
235
 
@@ -284,6 +275,15 @@ module PureCloud
284
275
  end
285
276
 
286
277
 
278
+ if attributes.has_key?(:'floatingPointNumber')
279
+
280
+
281
+ self.floating_point_number = attributes[:'floatingPointNumber']
282
+
283
+
284
+ end
285
+
286
+
287
287
  if attributes.has_key?(:'short')
288
288
 
289
289
 
@@ -589,12 +589,12 @@ module PureCloud
589
589
  object == o.object &&
590
590
  boolean == o.boolean &&
591
591
  number == o.number &&
592
- floating_point_number == o.floating_point_number &&
593
592
  value_node == o.value_node &&
594
593
  container_node == o.container_node &&
595
594
  missing_node == o.missing_node &&
596
595
  pojo == o.pojo &&
597
596
  integral_number == o.integral_number &&
597
+ floating_point_number == o.floating_point_number &&
598
598
  short == o.short &&
599
599
  int == o.int &&
600
600
  long == o.long &&
@@ -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
- [array, null, node_type, float, object, boolean, number, floating_point_number, value_node, container_node, missing_node, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary].hash
617
+ [array, null, node_type, float, object, boolean, number, value_node, container_node, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary].hash
618
618
  end
619
619
 
620
620
  # build the object from hash