QEDUserProperties

public struct QEDUserProperties : Codable

A QEDUserProperties represents user information inclduing email, phone and mailing list subscriptions

  • The email string represeted by this instance

    Declaration

    Swift

    public var email: String?
  • The phone number string represeted by this instance

    Declaration

    Swift

    public var phone: String?
  • The mailing lists the email supports

    Declaration

    Swift

    public var mailingLists: [MFMailList]
  • Undocumented

    Declaration

    Swift

    public init(email: String?, phone: String?, mailingLists: [MFMailList])
  • A dictionary where the keys are the mail lists name and the value the corresponding subscribed value

    Declaration

    Swift

    public var subscriptionsDictionary: [String : Bool] { get }
  • Returns a dictionary representation of the instance.

    The keys are String instances as described on QED REST API. Values are AnyHashable instances derived from the respective instance attributes.

    Declaration

    Swift

    public func dictionaryRepresentation() -> [String : AnyHashable]

    Return Value

    Returns a dictionary compatible with the QEDAPI reporting functionality.

  • Returns a Boolean value indicating whether two values are equal.

    Two QEDUserProperties instances are considered equal if they have the same email, phone and the same mailist options including values

    Declaration

    Swift

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