lib/schemas/status_check_policy_checks.ex
defmodule GitHub.StatusCheckPolicyChecks do
@moduledoc """
Provides struct and type for a StatusCheckPolicyChecks
"""
use GitHub.Encoder
@type t :: %__MODULE__{__info__: map, app_id: integer | nil, context: String.t()}
defstruct [:__info__, :app_id, :context]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[app_id: {:union, [:integer, :null]}, context: {:string, :generic}]
end
end