lib/schemas/porter_large_file.ex

defmodule GitHub.PorterLargeFile do
  @moduledoc """
  Provides struct and type for PorterLargeFile
  """

  @type t :: %__MODULE__{
          __info__: map,
          oid: String.t(),
          path: String.t(),
          ref_name: String.t(),
          size: integer
        }

  defstruct [:__info__, :oid, :path, :ref_name, :size]

  @doc false
  @spec __fields__(atom) :: keyword
  def __fields__(type \\ :t)

  def __fields__(:t) do
    [oid: :string, path: :string, ref_name: :string, size: :integer]
  end
end