CustomFieldHierarchical

public struct CustomFieldHierarchical
extension CustomFieldHierarchical: Equatable

Complex type with subelements represented as a multi-root tree data structure.

UI element, on the application side, should present nodes as a nested list and send picker nodes element’s value; if necessary.

  • The unique key identifier for the SDK contact custom fields sendable via set(_:for:) and selected PrechatSurveyNode/value from the nodes.

    Declaration

    Swift

    public let ident: String
  • The title/placeholder for the textfield.

    Declaration

    Swift

    public let label: String
  • The actual value of the field; if exists.

    Declaration

    Swift

    public let value: String?
  • The multi-root tree nodes.

    Declaration

    Swift

    public let nodes: [CustomFieldHierarchicalNode]

Equatable

  • Declaration

    Swift

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