lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-96.0.0 vs lib/purecloudplatformclientv2/models/array_node.rb in purecloudplatformclientv2-98.0.0

- old
+ new

@@ -26,14 +26,20 @@ attr_accessor :boolean attr_accessor :object - attr_accessor :floating_point_number + attr_accessor :value_node attr_accessor :pojo + attr_accessor :container_node + + attr_accessor :missing_node + + attr_accessor :floating_point_number + attr_accessor :integral_number attr_accessor :short attr_accessor :int @@ -48,16 +54,10 @@ attr_accessor :textual attr_accessor :binary - attr_accessor :value_node - - attr_accessor :container_node - - attr_accessor :missing_node - attr_accessor :array attr_accessor :null # Attribute mapping from ruby-style variable name to JSON key. @@ -72,14 +72,20 @@ :'boolean' => :'boolean', :'object' => :'object', - :'floating_point_number' => :'floatingPointNumber', + :'value_node' => :'valueNode', :'pojo' => :'pojo', + :'container_node' => :'containerNode', + + :'missing_node' => :'missingNode', + + :'floating_point_number' => :'floatingPointNumber', + :'integral_number' => :'integralNumber', :'short' => :'short', :'int' => :'int', @@ -94,16 +100,10 @@ :'textual' => :'textual', :'binary' => :'binary', - :'value_node' => :'valueNode', - - :'container_node' => :'containerNode', - - :'missing_node' => :'missingNode', - :'array' => :'array', :'null' => :'null' } @@ -121,14 +121,20 @@ :'boolean' => :'BOOLEAN', :'object' => :'BOOLEAN', - :'floating_point_number' => :'BOOLEAN', + :'value_node' => :'BOOLEAN', :'pojo' => :'BOOLEAN', + :'container_node' => :'BOOLEAN', + + :'missing_node' => :'BOOLEAN', + + :'floating_point_number' => :'BOOLEAN', + :'integral_number' => :'BOOLEAN', :'short' => :'BOOLEAN', :'int' => :'BOOLEAN', @@ -143,16 +149,10 @@ :'textual' => :'BOOLEAN', :'binary' => :'BOOLEAN', - :'value_node' => :'BOOLEAN', - - :'container_node' => :'BOOLEAN', - - :'missing_node' => :'BOOLEAN', - :'array' => :'BOOLEAN', :'null' => :'BOOLEAN' } @@ -210,14 +210,14 @@ end - if attributes.has_key?(:'floatingPointNumber') + if attributes.has_key?(:'valueNode') - self.floating_point_number = attributes[:'floatingPointNumber'] + self.value_node = attributes[:'valueNode'] end @@ -228,113 +228,113 @@ end - if attributes.has_key?(:'integralNumber') + if attributes.has_key?(:'containerNode') - self.integral_number = attributes[:'integralNumber'] + self.container_node = attributes[:'containerNode'] end - if attributes.has_key?(:'short') + if attributes.has_key?(:'missingNode') - self.short = attributes[:'short'] + self.missing_node = attributes[:'missingNode'] end - if attributes.has_key?(:'int') + if attributes.has_key?(:'floatingPointNumber') - self.int = attributes[:'int'] + self.floating_point_number = attributes[:'floatingPointNumber'] end - if attributes.has_key?(:'long') + if attributes.has_key?(:'integralNumber') - self.long = attributes[:'long'] + self.integral_number = attributes[:'integralNumber'] end - if attributes.has_key?(:'double') + if attributes.has_key?(:'short') - self.double = attributes[:'double'] + self.short = attributes[:'short'] end - if attributes.has_key?(:'bigDecimal') + if attributes.has_key?(:'int') - self.big_decimal = attributes[:'bigDecimal'] + self.int = attributes[:'int'] end - if attributes.has_key?(:'bigInteger') + if attributes.has_key?(:'long') - self.big_integer = attributes[:'bigInteger'] + self.long = attributes[:'long'] end - if attributes.has_key?(:'textual') + if attributes.has_key?(:'double') - self.textual = attributes[:'textual'] + self.double = attributes[:'double'] end - if attributes.has_key?(:'binary') + if attributes.has_key?(:'bigDecimal') - self.binary = attributes[:'binary'] + self.big_decimal = attributes[:'bigDecimal'] end - if attributes.has_key?(:'valueNode') + if attributes.has_key?(:'bigInteger') - self.value_node = attributes[:'valueNode'] + self.big_integer = attributes[:'bigInteger'] end - if attributes.has_key?(:'containerNode') + if attributes.has_key?(:'textual') - self.container_node = attributes[:'containerNode'] + self.textual = attributes[:'textual'] end - if attributes.has_key?(:'missingNode') + if attributes.has_key?(:'binary') - self.missing_node = attributes[:'missingNode'] + self.binary = attributes[:'binary'] end @@ -585,24 +585,24 @@ node_type == o.node_type && float == o.float && number == o.number && boolean == o.boolean && object == o.object && - floating_point_number == o.floating_point_number && + value_node == o.value_node && 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 && binary == o.binary && - value_node == o.value_node && - container_node == o.container_node && - missing_node == o.missing_node && 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, floating_point_number, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, container_node, missing_node, array, null].hash + [node_type, float, number, boolean, object, value_node, pojo, container_node, missing_node, 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)