lib/ory/model/continue_with_verification_ui.ex

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

defmodule Ory.Model.ContinueWithVerificationUi do
  @moduledoc """
  Indicates, that the UI flow could be continued by showing a verification ui
  """

  @derive Jason.Encoder
  defstruct [
    :action,
    :flow
  ]

  @type t :: %__MODULE__{
    :action => String.t,
    :flow => Ory.Model.ContinueWithVerificationUiFlow.t
  }

  alias Ory.Deserializer

  def decode(value) do
    value
     |> Deserializer.deserialize(:flow, :struct, Ory.Model.ContinueWithVerificationUiFlow)
  end
end