lib/mbta/model/not_acceptable_errors_inner.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.1.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule MBTA.Model.NotAcceptableErrorsInner do
  @moduledoc """
  A JSON-API error when a request uses an invalid 'accept' header
  """

  @derive Jason.Encoder
  defstruct [
    :status,
    :detail,
    :code
  ]

  @type t :: %__MODULE__{
    :status => String.t | nil,
    :detail => String.t | nil,
    :code => String.t | nil
  }

  def decode(value) do
    value
  end
end