Packages

SDK for the MBTA v3 API: https://api-v3.mbta.com/docs/swagger/index.html

Current section

Files

Jump to
mbta_sdk lib mbta model not_acceptable_errors_inner.ex
Raw

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