lib/patch_ruby/models/estimate.rb in patch_ruby-1.16.0 vs lib/patch_ruby/models/estimate.rb in patch_ruby-1.16.1

- old
+ new

@@ -4,11 +4,11 @@ #The core API used to integrate with Patch's service The version of the OpenAPI document: v1 Contact: engineering@usepatch.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.2.1 +OpenAPI Generator version: 5.3.1 =end require 'date' require 'time' @@ -106,9 +106,12 @@ if attributes.key?(:'mass_g') self.mass_g = attributes[:'mass_g'] end if attributes.key?(:'order') + if (value = attributes[:'order']).is_a?(Hash) + self.order = value + end self.order = attributes[:'order'] end end # Show invalid properties with the reasons. Usually used together with valid?