# 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.UiNode do @moduledoc """ Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an `` tag, or an `` but also `some plain text`. """ @derive [Poison.Encoder] defstruct [ :attributes, :group, :messages, :meta, :type ] @type t :: %__MODULE__{ :attributes => Ory.Model.UiNodeAttributes.t, :group => String.t, :messages => [Ory.Model.UiText.t], :meta => Ory.Model.UiNodeMeta.t, :type => String.t } end defimpl Poison.Decoder, for: Ory.Model.UiNode do import Ory.Deserializer def decode(value, options) do value |> deserialize(:attributes, :struct, Ory.Model.UiNodeAttributes, options) |> deserialize(:messages, :list, Ory.Model.UiText, options) |> deserialize(:meta, :struct, Ory.Model.UiNodeMeta, options) end end