defmodule GitHub.Codespace.ExportDetails do
@moduledoc """
Provides struct and type for CodespaceExportDetails
"""
@type t :: %__MODULE__{
branch: String.t() | nil,
completed_at: String.t() | nil,
export_url: String.t() | nil,
html_url: String.t() | nil,
id: String.t() | nil,
sha: String.t() | nil,
state: String.t() | nil
}
defstruct [:branch, :completed_at, :export_url, :html_url, :id, :sha, :state]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
branch: {:nullable, :string},
completed_at: {:nullable, :string},
export_url: :string,
html_url: {:nullable, :string},
id: :string,
sha: {:nullable, :string},
state: {:nullable, :string}
]
end
end