# NOTE: This file is auto generated by OpenAPI Generator 6.2.1 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.NeedsPrivilegedSessionError do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:code,
:debug,
:details,
:id,
:message,
:reason,
:redirect_browser_to,
:request,
:status
]
@type t :: %__MODULE__{
:code => integer() | nil,
:debug => String.t | nil,
:details => %{optional(String.t) => AnyType} | nil,
:id => String.t | nil,
:message => String.t,
:reason => String.t | nil,
:redirect_browser_to => String.t,
:request => String.t | nil,
:status => String.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.NeedsPrivilegedSessionError do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:details, :map, Ory.Model.AnyType, options)
end
end