lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-75.0.0 vs lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-75.1.0
- old
+ new
@@ -32,14 +32,16 @@
attr_accessor :container_node
attr_accessor :missing_node
- attr_accessor :integral_number
+ attr_accessor :pojo
attr_accessor :floating_point_number
+ attr_accessor :integral_number
+
attr_accessor :short
attr_accessor :int
attr_accessor :long
@@ -52,12 +54,10 @@
attr_accessor :textual
attr_accessor :binary
- attr_accessor :pojo
-
attr_accessor :array
attr_accessor :null
# Attribute mapping from ruby-style variable name to JSON key.
@@ -78,14 +78,16 @@
:'container_node' => :'containerNode',
:'missing_node' => :'missingNode',
- :'integral_number' => :'integralNumber',
+ :'pojo' => :'pojo',
:'floating_point_number' => :'floatingPointNumber',
+ :'integral_number' => :'integralNumber',
+
:'short' => :'short',
:'int' => :'int',
:'long' => :'long',
@@ -98,12 +100,10 @@
:'textual' => :'textual',
:'binary' => :'binary',
- :'pojo' => :'pojo',
-
:'array' => :'array',
:'null' => :'null'
}
@@ -127,14 +127,16 @@
:'container_node' => :'BOOLEAN',
:'missing_node' => :'BOOLEAN',
- :'integral_number' => :'BOOLEAN',
+ :'pojo' => :'BOOLEAN',
:'floating_point_number' => :'BOOLEAN',
+ :'integral_number' => :'BOOLEAN',
+
:'short' => :'BOOLEAN',
:'int' => :'BOOLEAN',
:'long' => :'BOOLEAN',
@@ -147,12 +149,10 @@
:'textual' => :'BOOLEAN',
:'binary' => :'BOOLEAN',
- :'pojo' => :'BOOLEAN',
-
:'array' => :'BOOLEAN',
:'null' => :'BOOLEAN'
}
@@ -237,14 +237,14 @@
end
- if attributes.has_key?(:'integralNumber')
+ if attributes.has_key?(:'pojo')
- self.integral_number = attributes[:'integralNumber']
+ self.pojo = attributes[:'pojo']
end
@@ -255,10 +255,19 @@
end
+ if attributes.has_key?(:'integralNumber')
+
+
+ self.integral_number = attributes[:'integralNumber']
+
+
+ end
+
+
if attributes.has_key?(:'short')
self.short = attributes[:'short']
@@ -327,19 +336,10 @@
end
- if attributes.has_key?(:'pojo')
-
-
- self.pojo = attributes[:'pojo']
-
-
- end
-
-
if attributes.has_key?(:'array')
self.array = attributes[:'array']
@@ -588,21 +588,21 @@
boolean == o.boolean &&
object == o.object &&
value_node == o.value_node &&
container_node == o.container_node &&
missing_node == o.missing_node &&
- integral_number == o.integral_number &&
+ pojo == o.pojo &&
floating_point_number == o.floating_point_number &&
+ integral_number == o.integral_number &&
short == o.short &&
int == o.int &&
long == o.long &&
double == o.double &&
big_decimal == o.big_decimal &&
big_integer == o.big_integer &&
textual == o.textual &&
binary == o.binary &&
- pojo == o.pojo &&
array == o.array &&
null == o.null
end
# @see the `==` method
@@ -612,10 +612,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [node_type, float, number, boolean, object, value_node, container_node, missing_node, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, pojo, array, null].hash
+ [node_type, float, number, boolean, object, value_node, container_node, missing_node, pojo, floating_point_number, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)