lib/schemas/pages/health_check.ex
defmodule GitHub.Pages.HealthCheck do
@moduledoc """
Provides struct and type for PagesHealthCheck
"""
use GitHub.Encoder
@type t :: %__MODULE__{__info__: map, alt_domain: map | nil, domain: map | nil}
defstruct [:__info__, :alt_domain, :domain]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[alt_domain: {:nullable, :map}, domain: :map]
end
end