defmodule GitHub.PorterLargeFile do @moduledoc """ Provides struct and type for PorterLargeFile """ @type t :: %__MODULE__{oid: String.t(), path: String.t(), ref_name: String.t(), size: integer} defstruct [: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