Sha256: 7107ab92f1af940ec5ca3c15a549340d19d5be54f3bb473888d57311e14334c3

Contents?: true

Size: 608 Bytes

Versions: 20

Compression:

Stored size: 608 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Attachment < DearInventory::Model
      extend T::Sig

      fields(
        ID: {
          name: :id,
          type: :Guid,
        },
        ContentType: {
          name: :content_type,
          type: :String,
        },
        IsDefault: {
          name: :is_default,
          type: :Boolean,
        },
        FileName: {
          name: :file_name,
          type: :String,
        },
        DownloadUrl: {
          name: :download_url,
          type: :String,
        }
      )
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/attachment.rb
dear_inventory-1.3.0 lib/dear_inventory/models/attachment.rb
dear_inventory-1.2.0 lib/dear_inventory/models/attachment.rb
dear_inventory-1.1.1 lib/dear_inventory/models/attachment.rb
dear_inventory-1.1.0 lib/dear_inventory/models/attachment.rb
dear_inventory-1.0.0 lib/dear_inventory/models/attachment.rb
dear_inventory-0.7.5 lib/dear_inventory/models/attachment.rb
dear_inventory-0.7.4 lib/dear_inventory/models/attachment.rb
dear_inventory-0.7.3 lib/dear_inventory/models/attachment.rb
dear_inventory-0.7.2 lib/dear_inventory/models/attachment.rb
dear_inventory-0.7.1 lib/dear_inventory/models/attachment.rb
dear_inventory-0.7.0 lib/dear_inventory/models/attachment.rb
dear_inventory-0.6.3 lib/dear_inventory/models/attachment.rb
dear_inventory-0.6.2 lib/dear_inventory/models/attachment.rb
dear_inventory-0.6.1 lib/dear_inventory/models/attachment.rb
dear_inventory-0.6.0 lib/dear_inventory/models/attachment.rb
dear_inventory-0.5.0 lib/dear_inventory/models/attachment.rb
dear_inventory-0.4.1 lib/dear_inventory/models/attachment.rb
dear_inventory-0.4.0 lib/dear_inventory/models/attachment.rb
dear_inventory-0.3.0 lib/dear_inventory/models/attachment.rb