lib/schemas/security_and_analysis_secret_scanning.ex
defmodule GitHub.SecurityAndAnalysisSecretScanning do
@moduledoc """
Provides struct and type for a SecurityAndAnalysisSecretScanning
"""
use GitHub.Encoder
@type t :: %__MODULE__{__info__: map, status: String.t() | nil}
defstruct [:__info__, :status]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[status: {:enum, ["enabled", "disabled"]}]
end
end