lib/schemas/security_and_analysis_secret_scanning_push_protection.ex

defmodule GitHub.SecurityAndAnalysisSecretScanningPushProtection do
  @moduledoc """
  Provides struct and type for a SecurityAndAnalysisSecretScanningPushProtection
  """
  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