lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-79.0.0 vs lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-80.0.0

- old
+ new

@@ -32,16 +32,14 @@ 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. @@ -78,16 +78,14 @@ :'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' } @@ -127,16 +127,14 @@ :'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' } @@ -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'] @@ -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 && - 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, 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 + [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)