lib/schemas/dependabot/secret.ex
defmodule GitHub.Dependabot.Secret do
@moduledoc """
Provides struct and type for DependabotSecret
"""
@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