Current section

Files

Jump to
opencode_sdk lib opencode generated location_file_system_binary_content.ex
Raw

lib/opencode/generated/location_file_system_binary_content.ex

defmodule OpenCode.Generated.LocationFileSystemBinaryContent do
@moduledoc """
Provides struct and type for a LocationFileSystemBinaryContent
"""
@type t :: %__MODULE__{
content: String.t(),
encoding: String.t(),
mime: String.t(),
type: String.t()
}
defstruct [:content, :encoding, :mime, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[content: :string, encoding: {:const, "base64"}, mime: :string, type: {:const, "binary"}]
end
end