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

- old
+ new

@@ -47,12 +47,12 @@ :'role' => :'String', :'projects' => :'Array<ProjectLocales>', :'permissions' => :'Object', :'locale_ids' => :'Array<String>', :'default_locale_codes' => :'Array<String>', - :'spaces' => :'Array<MemberSpaces>', - :'project_roles' => :'Array<MemberProjectDetailProjectRoles>' + :'spaces' => :'Array<MemberSpacesInner>', + :'project_roles' => :'Array<MemberProjectDetailProjectRolesInner>' } end # List of attributes with nullable: true def self.openapi_nullable @@ -203,10 +203,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 @@ -256,10 +258,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