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
Current section
Files
lib/ory/model/ui_node_meta.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.UiNodeMeta do
@moduledoc """
This might include a label and other information that can optionally be used to render UIs.
"""
@derive [Poison.Encoder]
defstruct [
:label
]
@type t :: %__MODULE__{
:label => Ory.Model.UiText.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.UiNodeMeta do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:label, :struct, Ory.Model.UiText, options)
end
end