lib/schemas/repo_codespaces_secret.ex
defmodule GitHub.RepoCodespacesSecret do
@moduledoc """
Provides struct and type for RepoCodespacesSecret
"""
use GitHub.Encoder
@type t :: %__MODULE__{
__info__: map,
created_at: String.t(),
name: String.t(),
updated_at: String.t()
}
defstruct [:__info__, :created_at, :name, :updated_at]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[created_at: :string, name: :string, updated_at: :string]
end
end