lib/stack_one/models/shared/documentapimodel.rb in stackone_client-0.2.1 vs lib/stack_one/models/shared/documentapimodel.rb in stackone_client-0.2.2

- old
+ new

@@ -20,15 +20,15 @@ # The name of the file field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # The path where the file is stored field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } } # The content type of the document - field :type, T.nilable(::StackOne::Shared::Type), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + field :type, T.nilable(::StackOne::Shared::DocumentApiModelType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } # The update date of the file field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), type: T.nilable(::StackOne::Shared::Type), updated_at: T.nilable(::DateTime)).void } + sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), type: T.nilable(::StackOne::Shared::DocumentApiModelType), updated_at: T.nilable(::DateTime)).void } def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, type: nil, updated_at: nil) @contents = contents @created_at = created_at @id = id @name = name