lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-57.0.0 vs lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-58.0.0
- old
+ new
@@ -26,38 +26,38 @@
attr_accessor :object
attr_accessor :boolean
- attr_accessor :value_node
+ attr_accessor :floating_point_number
- attr_accessor :binary
+ attr_accessor :integral_number
- attr_accessor :pojo
+ attr_accessor :short
- attr_accessor :container_node
+ attr_accessor :int
- attr_accessor :missing_node
+ attr_accessor :long
- attr_accessor :floating_point_number
-
attr_accessor :double
attr_accessor :big_decimal
attr_accessor :big_integer
attr_accessor :textual
- attr_accessor :int
+ attr_accessor :binary
- attr_accessor :integral_number
+ attr_accessor :value_node
- attr_accessor :short
+ attr_accessor :container_node
- attr_accessor :long
+ attr_accessor :missing_node
+ attr_accessor :pojo
+
attr_accessor :array
attr_accessor :null
# Attribute mapping from ruby-style variable name to JSON key.
@@ -72,38 +72,38 @@
:'object' => :'object',
:'boolean' => :'boolean',
- :'value_node' => :'valueNode',
+ :'floating_point_number' => :'floatingPointNumber',
- :'binary' => :'binary',
+ :'integral_number' => :'integralNumber',
- :'pojo' => :'pojo',
+ :'short' => :'short',
- :'container_node' => :'containerNode',
+ :'int' => :'int',
- :'missing_node' => :'missingNode',
+ :'long' => :'long',
- :'floating_point_number' => :'floatingPointNumber',
-
:'double' => :'double',
:'big_decimal' => :'bigDecimal',
:'big_integer' => :'bigInteger',
:'textual' => :'textual',
- :'int' => :'int',
+ :'binary' => :'binary',
- :'integral_number' => :'integralNumber',
+ :'value_node' => :'valueNode',
- :'short' => :'short',
+ :'container_node' => :'containerNode',
- :'long' => :'long',
+ :'missing_node' => :'missingNode',
+ :'pojo' => :'pojo',
+
:'array' => :'array',
:'null' => :'null'
}
@@ -121,38 +121,38 @@
:'object' => :'BOOLEAN',
:'boolean' => :'BOOLEAN',
- :'value_node' => :'BOOLEAN',
+ :'floating_point_number' => :'BOOLEAN',
- :'binary' => :'BOOLEAN',
+ :'integral_number' => :'BOOLEAN',
- :'pojo' => :'BOOLEAN',
+ :'short' => :'BOOLEAN',
- :'container_node' => :'BOOLEAN',
+ :'int' => :'BOOLEAN',
- :'missing_node' => :'BOOLEAN',
+ :'long' => :'BOOLEAN',
- :'floating_point_number' => :'BOOLEAN',
-
:'double' => :'BOOLEAN',
:'big_decimal' => :'BOOLEAN',
:'big_integer' => :'BOOLEAN',
:'textual' => :'BOOLEAN',
- :'int' => :'BOOLEAN',
+ :'binary' => :'BOOLEAN',
- :'integral_number' => :'BOOLEAN',
+ :'value_node' => :'BOOLEAN',
- :'short' => :'BOOLEAN',
+ :'container_node' => :'BOOLEAN',
- :'long' => :'BOOLEAN',
+ :'missing_node' => :'BOOLEAN',
+ :'pojo' => :'BOOLEAN',
+
:'array' => :'BOOLEAN',
:'null' => :'BOOLEAN'
}
@@ -210,64 +210,55 @@
end
- if attributes.has_key?(:'valueNode')
+ if attributes.has_key?(:'floatingPointNumber')
- self.value_node = attributes[:'valueNode']
+ self.floating_point_number = attributes[:'floatingPointNumber']
end
- if attributes.has_key?(:'binary')
+ if attributes.has_key?(:'integralNumber')
- self.binary = attributes[:'binary']
+ self.integral_number = attributes[:'integralNumber']
end
- if attributes.has_key?(:'pojo')
+ if attributes.has_key?(:'short')
- self.pojo = attributes[:'pojo']
+ self.short = attributes[:'short']
end
- if attributes.has_key?(:'containerNode')
+ if attributes.has_key?(:'int')
- self.container_node = attributes[:'containerNode']
+ self.int = attributes[:'int']
end
- if attributes.has_key?(:'missingNode')
+ if attributes.has_key?(:'long')
- self.missing_node = attributes[:'missingNode']
+ self.long = attributes[:'long']
end
- if attributes.has_key?(:'floatingPointNumber')
-
-
- self.floating_point_number = attributes[:'floatingPointNumber']
-
-
- end
-
-
if attributes.has_key?(:'double')
self.double = attributes[:'double']
@@ -300,46 +291,55 @@
end
- if attributes.has_key?(:'int')
+ if attributes.has_key?(:'binary')
- self.int = attributes[:'int']
+ self.binary = attributes[:'binary']
end
- if attributes.has_key?(:'integralNumber')
+ if attributes.has_key?(:'valueNode')
- self.integral_number = attributes[:'integralNumber']
+ self.value_node = attributes[:'valueNode']
end
- if attributes.has_key?(:'short')
+ if attributes.has_key?(:'containerNode')
- self.short = attributes[:'short']
+ self.container_node = attributes[:'containerNode']
end
- if attributes.has_key?(:'long')
+ if attributes.has_key?(:'missingNode')
- self.long = attributes[:'long']
+ self.missing_node = attributes[:'missingNode']
end
+ if attributes.has_key?(:'pojo')
+
+
+ self.pojo = attributes[:'pojo']
+
+
+ end
+
+
if attributes.has_key?(:'array')
self.array = attributes[:'array']
@@ -585,24 +585,24 @@
node_type == o.node_type &&
float == o.float &&
number == o.number &&
object == o.object &&
boolean == o.boolean &&
- value_node == o.value_node &&
- binary == o.binary &&
- pojo == o.pojo &&
- container_node == o.container_node &&
- missing_node == o.missing_node &&
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 &&
- int == o.int &&
- integral_number == o.integral_number &&
- short == o.short &&
- long == o.long &&
+ binary == o.binary &&
+ value_node == o.value_node &&
+ container_node == o.container_node &&
+ missing_node == o.missing_node &&
+ 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, object, boolean, value_node, binary, pojo, container_node, missing_node, floating_point_number, double, big_decimal, big_integer, textual, int, integral_number, short, long, array, null].hash
+ [node_type, float, number, object, boolean, 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
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)