lib/dropbox-sign/models/error_response.rb in dropbox-sign-1.5.0 vs lib/dropbox-sign/models/error_response.rb in dropbox-sign-1.6.0

- old
+ new

@@ -4,11 +4,11 @@ #Dropbox Sign v3 API The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.7.0 +Generator version: 7.8.0 =end require 'date' require 'time' @@ -31,33 +31,33 @@ # Returns all the JSON keys this model knows about def self.acceptable_attributes attribute_map.values end - # Returns attribute map of this model + parent - def self.merged_attributes - self.attribute_map - end - # Attribute type mapping. def self.openapi_types { :'error' => :'ErrorResponseError' } end - # Attribute type mapping of this model + parent - def self.merged_types - self.openapi_types - end - # List of attributes with nullable: true def self.openapi_nullable Set.new([ ]) end + # Returns attribute map of this model + parent + def self.merged_attributes + self.attribute_map + end + + # Attribute type mapping of this model + parent + def self.merged_types + self.openapi_types + end + # Returns list of attributes with nullable: true of this model + parent def self.merged_nullable self.openapi_nullable end @@ -193,10 +193,9 @@ value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model - # models (e.g. Pet) klass = Dropbox::Sign.const_get(type) klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end