Packages

OpenAPI API client for Ory Kratos, Ory's central identity management solution with hardened authentication, MFA, FIDO2, TOTP, WebAuthn, SSO, profile management, and more.

Current section

Files

Jump to
ory_kratos lib ory model error_flow_replaced.ex
Raw

lib/ory/model/error_flow_replaced.ex

# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.
defmodule Ory.Model.ErrorFlowReplaced do
@moduledoc """
Is sent when a flow is replaced by a different flow of the same class
"""
@derive [Poison.Encoder]
defstruct [
:code,
:debug,
:details,
:id,
:message,
:reason,
:request,
:status,
:use_flow_id
]
@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,
:request => String.t | nil,
:status => String.t | nil,
:use_flow_id => String.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.ErrorFlowReplaced do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:details, :map, Ory.Model.AnyType, options)
end
end