lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-89.0.0 vs lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-90.0.0

- old
+ new

@@ -26,38 +26,38 @@ attr_accessor :boolean attr_accessor :object + attr_accessor :missing_node + attr_accessor :value_node - attr_accessor :container_node + attr_accessor :binary - attr_accessor :missing_node - attr_accessor :pojo - attr_accessor :floating_point_number + attr_accessor :container_node + attr_accessor :int + attr_accessor :integral_number attr_accessor :short - attr_accessor :int - attr_accessor :long + attr_accessor :floating_point_number + attr_accessor :double attr_accessor :big_decimal attr_accessor :big_integer attr_accessor :textual - attr_accessor :binary - attr_accessor :array attr_accessor :null # Attribute mapping from ruby-style variable name to JSON key. @@ -72,38 +72,38 @@ :'boolean' => :'boolean', :'object' => :'object', + :'missing_node' => :'missingNode', + :'value_node' => :'valueNode', - :'container_node' => :'containerNode', + :'binary' => :'binary', - :'missing_node' => :'missingNode', - :'pojo' => :'pojo', - :'floating_point_number' => :'floatingPointNumber', + :'container_node' => :'containerNode', + :'int' => :'int', + :'integral_number' => :'integralNumber', :'short' => :'short', - :'int' => :'int', - :'long' => :'long', + :'floating_point_number' => :'floatingPointNumber', + :'double' => :'double', :'big_decimal' => :'bigDecimal', :'big_integer' => :'bigInteger', :'textual' => :'textual', - :'binary' => :'binary', - :'array' => :'array', :'null' => :'null' } @@ -121,38 +121,38 @@ :'boolean' => :'BOOLEAN', :'object' => :'BOOLEAN', + :'missing_node' => :'BOOLEAN', + :'value_node' => :'BOOLEAN', - :'container_node' => :'BOOLEAN', + :'binary' => :'BOOLEAN', - :'missing_node' => :'BOOLEAN', - :'pojo' => :'BOOLEAN', - :'floating_point_number' => :'BOOLEAN', + :'container_node' => :'BOOLEAN', + :'int' => :'BOOLEAN', + :'integral_number' => :'BOOLEAN', :'short' => :'BOOLEAN', - :'int' => :'BOOLEAN', - :'long' => :'BOOLEAN', + :'floating_point_number' => :'BOOLEAN', + :'double' => :'BOOLEAN', :'big_decimal' => :'BOOLEAN', :'big_integer' => :'BOOLEAN', :'textual' => :'BOOLEAN', - :'binary' => :'BOOLEAN', - :'array' => :'BOOLEAN', :'null' => :'BOOLEAN' } @@ -210,32 +210,32 @@ end - if attributes.has_key?(:'valueNode') + if attributes.has_key?(:'missingNode') - self.value_node = attributes[:'valueNode'] + self.missing_node = attributes[:'missingNode'] end - if attributes.has_key?(:'containerNode') + if attributes.has_key?(:'valueNode') - self.container_node = attributes[:'containerNode'] + self.value_node = attributes[:'valueNode'] end - if attributes.has_key?(:'missingNode') + if attributes.has_key?(:'binary') - self.missing_node = attributes[:'missingNode'] + self.binary = attributes[:'binary'] end @@ -246,19 +246,28 @@ end - if attributes.has_key?(:'floatingPointNumber') + if attributes.has_key?(:'containerNode') - self.floating_point_number = attributes[:'floatingPointNumber'] + self.container_node = attributes[:'containerNode'] end + if attributes.has_key?(:'int') + + + self.int = attributes[:'int'] + + + end + + if attributes.has_key?(:'integralNumber') self.integral_number = attributes[:'integralNumber'] @@ -273,23 +282,23 @@ end - if attributes.has_key?(:'int') + if attributes.has_key?(:'long') - self.int = attributes[:'int'] + self.long = attributes[:'long'] end - if attributes.has_key?(:'long') + if attributes.has_key?(:'floatingPointNumber') - self.long = attributes[:'long'] + self.floating_point_number = attributes[:'floatingPointNumber'] end @@ -327,19 +336,10 @@ end - if attributes.has_key?(:'binary') - - - self.binary = attributes[:'binary'] - - - 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 && boolean == o.boolean && object == o.object && - value_node == o.value_node && - container_node == o.container_node && missing_node == o.missing_node && + value_node == o.value_node && + binary == o.binary && pojo == o.pojo && - floating_point_number == o.floating_point_number && + container_node == o.container_node && + int == o.int && integral_number == o.integral_number && short == o.short && - int == o.int && long == o.long && + floating_point_number == o.floating_point_number && double == o.double && big_decimal == o.big_decimal && big_integer == o.big_integer && textual == o.textual && - binary == o.binary && 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, missing_node, value_node, binary, pojo, container_node, int, integral_number, short, long, floating_point_number, double, big_decimal, big_integer, textual, array, null].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)