Current section
Files
Jump to
Current section
Files
lib/letta_api/model/validation_error.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.13.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule LettaAPI.Model.ValidationError do
@moduledoc """
"""
@derive JSON.Encoder
defstruct [
:loc,
:msg,
:type
]
@type t :: %__MODULE__{
:loc => [LettaAPI.Model.ValidationErrorLocInner.t],
:msg => String.t,
:type => String.t
}
alias LettaAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:loc, :list, LettaAPI.Model.ValidationErrorLocInner)
end
end