Files
fil/packages/elixir/lib/kreuzberg/email_attachment.ex
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

30 lines
888 B
Elixir
Generated

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule Kreuzberg.EmailAttachment do
@moduledoc """
Email attachment representation.
Contains metadata and optionally the content of an email attachment.
"""
@typedoc "Email attachment representation."
@type t :: %__MODULE__{
name: String.t() | nil,
filename: String.t() | nil,
mime_type: String.t() | nil,
size: non_neg_integer() | nil,
is_image: boolean(),
data: binary() | nil
}
defstruct name: nil,
filename: nil,
mime_type: nil,
size: nil,
is_image: false,
data: nil
end