CustomFieldHierarchicalNode

public struct CustomFieldHierarchicalNode
extension CustomFieldHierarchicalNode: Equatable

A single element of the PreChatSurveyHierarchical/nodes represented as a tree data structure.

  • The value for the contact custom fields.

    Send in combination of PreChatSurveyHierarchical/ident via set(_:for:) method.

    Declaration

    Swift

    public let value: String
  • The text for UI element which represents its value.

    Warning

    Dont send this property as a value of set(_:for:). It only readable representation of its actual value.

    Declaration

    Swift

    public let label: String
  • The tree leaves; if any exists.

    Declaration

    Swift

    public let children: [CustomFieldHierarchicalNode]

Equatable

  • Declaration

    Swift

    public static func == (lhs: CustomFieldHierarchicalNode, rhs: CustomFieldHierarchicalNode) -> Bool