# NOTE: This file is auto generated by OpenAPI Generator 6.6.0 (https://openapi-generator.tech). # Do not edit this file manually. defmodule Ory.Model.SettingsFlow do @moduledoc """ This flow is used when an identity wants to update settings (e.g. profile data, passwords, ...) in a selfservice manner. We recommend reading the [User Settings Documentation](../self-service/flows/user-settings) """ @derive [Poison.Encoder] defstruct [ :active, :continue_with, :expires_at, :id, :identity, :issued_at, :request_url, :return_to, :state, :type, :ui ] @type t :: %__MODULE__{ :active => String.t | nil, :continue_with => [Ory.Model.ContinueWith.t] | nil, :expires_at => DateTime.t, :id => String.t, :identity => Ory.Model.Identity.t, :issued_at => DateTime.t, :request_url => String.t, :return_to => String.t | nil, :state => Ory.Model.SettingsFlowState.t, :type => String.t, :ui => Ory.Model.UiContainer.t } end defimpl Poison.Decoder, for: Ory.Model.SettingsFlow do import Ory.Deserializer def decode(value, options) do value |> deserialize(:continue_with, :list, Ory.Model.ContinueWith, options) |> deserialize(:identity, :struct, Ory.Model.Identity, options) |> deserialize(:state, :struct, Ory.Model.SettingsFlowState, options) |> deserialize(:ui, :struct, Ory.Model.UiContainer, options) end end