# 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.UiNodeInputAttributes do @moduledoc """ InputAttributes represents the attributes of an input node """ @derive [Poison.Encoder] defstruct [ :disabled, :label, :name, :node_type, :onclick, :pattern, :required, :type, :value ] @type t :: %__MODULE__{ :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 => AnyType | nil } end defimpl Poison.Decoder, for: Ory.Model.UiNodeInputAttributes do import Ory.Deserializer def decode(value, options) do value |> deserialize(:label, :struct, Ory.Model.UiText, options) |> deserialize(:value, :struct, Ory.Model.AnyType, options) end end