lib/schemas/repository/rule/params_status_check_configuration.ex
defmodule GitHub.Repository.Rule.ParamsStatusCheckConfiguration do
@moduledoc """
Provides struct and type for RepositoryRuleParamsStatusCheckConfiguration
"""
@type t :: %__MODULE__{context: String.t(), integration_id: integer | nil}
defstruct [:context, :integration_id]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[context: :string, integration_id: :integer]
end
end