lib/ory/model/identity_with_credentials_password.ex

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

defmodule Ory.Model.IdentityWithCredentialsPassword do
  @moduledoc """
  Create Identity and Import Password Credentials
  """

  @derive Jason.Encoder
  defstruct [
    :config
  ]

  @type t :: %__MODULE__{
    :config => Ory.Model.IdentityWithCredentialsPasswordConfig.t | nil
  }

  alias Ory.Deserializer

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