lib/phrase/models/translation_key_details.rb in phrase-2.18.0 vs lib/phrase/models/translation_key_details.rb in phrase-2.19.0

- old
+ new

@@ -93,12 +93,11 @@ end # List of class defined in allOf (OpenAPI v3) def self.openapi_all_of [ - :'TranslationKey', - :'TranslationKeyDetails1' + :'TranslationKey' ] end # Initializes the object # @param [Hash] attributes Model attributes in the form of hash @@ -275,10 +274,12 @@ case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) + when :Time + Time.parse(value) when :String value.to_s when :Integer value.to_i when :Float @@ -328,10 +329,10 @@ value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end - + hash[param] = _to_hash(value) end hash end