lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-73.0.0 vs lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-75.0.0
- old
+ new
@@ -22,26 +22,24 @@
attr_accessor :float
attr_accessor :number
- attr_accessor :object
-
attr_accessor :boolean
+ attr_accessor :object
+
attr_accessor :value_node
attr_accessor :container_node
attr_accessor :missing_node
- attr_accessor :pojo
+ attr_accessor :integral_number
attr_accessor :floating_point_number
- attr_accessor :integral_number
-
attr_accessor :short
attr_accessor :int
attr_accessor :long
@@ -54,10 +52,12 @@
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.
@@ -68,26 +68,24 @@
:'float' => :'float',
:'number' => :'number',
- :'object' => :'object',
-
:'boolean' => :'boolean',
+ :'object' => :'object',
+
:'value_node' => :'valueNode',
:'container_node' => :'containerNode',
:'missing_node' => :'missingNode',
- :'pojo' => :'pojo',
+ :'integral_number' => :'integralNumber',
:'floating_point_number' => :'floatingPointNumber',
- :'integral_number' => :'integralNumber',
-
:'short' => :'short',
:'int' => :'int',
:'long' => :'long',
@@ -100,10 +98,12 @@
:'textual' => :'textual',
:'binary' => :'binary',
+ :'pojo' => :'pojo',
+
:'array' => :'array',
:'null' => :'null'
}
@@ -117,26 +117,24 @@
:'float' => :'BOOLEAN',
:'number' => :'BOOLEAN',
- :'object' => :'BOOLEAN',
-
:'boolean' => :'BOOLEAN',
+ :'object' => :'BOOLEAN',
+
:'value_node' => :'BOOLEAN',
:'container_node' => :'BOOLEAN',
:'missing_node' => :'BOOLEAN',
- :'pojo' => :'BOOLEAN',
+ :'integral_number' => :'BOOLEAN',
:'floating_point_number' => :'BOOLEAN',
- :'integral_number' => :'BOOLEAN',
-
:'short' => :'BOOLEAN',
:'int' => :'BOOLEAN',
:'long' => :'BOOLEAN',
@@ -149,10 +147,12 @@
:'textual' => :'BOOLEAN',
:'binary' => :'BOOLEAN',
+ :'pojo' => :'BOOLEAN',
+
:'array' => :'BOOLEAN',
:'null' => :'BOOLEAN'
}
@@ -192,23 +192,23 @@
end
- if attributes.has_key?(:'object')
+ if attributes.has_key?(:'boolean')
- self.object = attributes[:'object']
+ self.boolean = attributes[:'boolean']
end
- if attributes.has_key?(:'boolean')
+ if attributes.has_key?(:'object')
- self.boolean = attributes[:'boolean']
+ self.object = attributes[:'object']
end
@@ -237,14 +237,14 @@
end
- if attributes.has_key?(:'pojo')
+ if attributes.has_key?(:'integralNumber')
- self.pojo = attributes[:'pojo']
+ self.integral_number = attributes[:'integralNumber']
end
@@ -255,19 +255,10 @@
end
- if attributes.has_key?(:'integralNumber')
-
-
- self.integral_number = attributes[:'integralNumber']
-
-
- end
-
-
if attributes.has_key?(:'short')
self.short = attributes[:'short']
@@ -336,10 +327,19 @@
end
+ if attributes.has_key?(:'pojo')
+
+
+ self.pojo = attributes[:'pojo']
+
+
+ end
+
+
if attributes.has_key?(:'array')
self.array = attributes[:'array']
@@ -583,26 +583,26 @@
return true if self.equal?(o)
self.class == o.class &&
node_type == o.node_type &&
float == o.float &&
number == o.number &&
- object == o.object &&
boolean == o.boolean &&
+ object == o.object &&
value_node == o.value_node &&
container_node == o.container_node &&
missing_node == o.missing_node &&
- pojo == o.pojo &&
- floating_point_number == o.floating_point_number &&
integral_number == o.integral_number &&
+ floating_point_number == o.floating_point_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, object, boolean, 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
+ [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
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)