Sha256: 261a6b75afea7ce28ce35a4b8e0a3c077c182ffb49eac34438af991b85aedb1e

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 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

1 entries across 1 versions & 1 rubygems

Version Path
dear_inventory-0.2.0 lib/dear_inventory/models/attachment.rb