UserId
public class UserId : SdkObject
extension UserId: CustomStringConvertible
extension UserId: Equatable
ID of a user.
Must be unique within the user’s segment and match the regex ^[a-zA-Z0-9_.$#|@/:;=+'-]+$.
-
Constructs a
UserIdfrom the provided String.Fails if the provided ID is not valid.
Declaration
Swift
public convenience init?(_ id: String) -
ID of the user
Declaration
Swift
public lazy var id: String { get set } -
Declaration
Swift
public var description: String { get } -
Declaration
Swift
public static func == (lhs: UserId, rhs: UserId) -> Bool
View on GitHub
UserId Class Reference