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_input_attributes.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.UiNodeInputAttributes do
@moduledoc """
InputAttributes represents the attributes of an input node
"""
@derive Jason.Encoder
defstruct [
:autocomplete,
:disabled,
:label,
:name,
:node_type,
:onclick,
:pattern,
:required,
:type,
:value
]
@type t :: %__MODULE__{
:autocomplete => String.t | nil,
:disabled => boolean(),
:label => Ory.Model.UiText.t | nil,
:name => String.t,
:node_type => String.t,
:onclick => String.t | nil,
:pattern => String.t | nil,
:required => boolean() | nil,
:type => String.t,
:value => any() | nil
}
alias Ory.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:label, :struct, Ory.Model.UiText)
end
end