lib/schemas/security_and_analysis_advanced_security.ex
defmodule GitHub.SecurityAndAnalysisAdvancedSecurity do
@moduledoc """
Provides struct and type for a SecurityAndAnalysisAdvancedSecurity
"""
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