# 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.AccountExperienceConfiguration do
  @moduledoc """
  
  """

  @derive Jason.Encoder
  defstruct [
    :default_locale,
    :default_redirect_url,
    :error_ui_url,
    :favicon_dark_url,
    :favicon_light_url,
    :locale_behavior,
    :login_ui_url,
    :logo_dark_url,
    :logo_light_url,
    :name,
    :recovery_enabled,
    :recovery_ui_url,
    :registration_enabled,
    :registration_ui_url,
    :settings_ui_url,
    :stylesheet,
    :translations,
    :verification_enabled,
    :verification_ui_url
  ]

  @type t :: %__MODULE__{
    :default_locale => String.t,
    :default_redirect_url => String.t,
    :error_ui_url => String.t,
    :favicon_dark_url => String.t | nil,
    :favicon_light_url => String.t | nil,
    :locale_behavior => String.t,
    :login_ui_url => String.t,
    :logo_dark_url => String.t | nil,
    :logo_light_url => String.t | nil,
    :name => String.t,
    :recovery_enabled => boolean(),
    :recovery_ui_url => String.t,
    :registration_enabled => boolean(),
    :registration_ui_url => String.t,
    :settings_ui_url => String.t,
    :stylesheet => String.t | nil,
    :translations => [Ory.Model.RevisionAccountExperienceCustomTranslation.t],
    :verification_enabled => boolean(),
    :verification_ui_url => String.t
  }

  alias Ory.Deserializer

  def decode(value) do
    value
     |> Deserializer.deserialize(:translations, :list, Ory.Model.RevisionAccountExperienceCustomTranslation)
  end
end

