Current section

Files

Jump to
oapi_github lib schemas actions workflow run_usage_billable_ubuntu.ex
Raw

lib/schemas/actions/workflow/run_usage_billable_ubuntu.ex

defmodule GitHub.Actions.Workflow.RunUsageBillableUBUNTU do
@moduledoc """
Provides struct and type for a Actions.Workflow.RunUsageBillableUBUNTU
"""
use GitHub.Encoder
@type t :: %__MODULE__{
__info__: map,
job_runs: [GitHub.Actions.Workflow.RunUsageBillableUBUNTUActions.JobRuns.t()] | nil,
jobs: integer,
total_ms: integer
}
defstruct [:__info__, :job_runs, :jobs, :total_ms]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
job_runs: [{GitHub.Actions.Workflow.RunUsageBillableUBUNTUActions.JobRuns, :t}],
jobs: :integer,
total_ms: :integer
]
end
end