DBSECONDARYEMAILSSecondaryEmail
Objective-C
@interface DBSECONDARYEMAILSSecondaryEmail
: NSObject <DBSerializable, NSCopying>
Swift
class DBSECONDARYEMAILSSecondaryEmail : NSObject, DBSerializable, NSCopying
The SecondaryEmail
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Secondary email address.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull email;
Swift
var email: String { get }
-
Whether or not the secondary email address is verified to be owned by a user.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull isVerified;
Swift
var isVerified: NSNumber { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithEmail:(nonnull NSString *)email isVerified:(nonnull NSNumber *)isVerified;
Swift
init(email: String, isVerified: NSNumber)
Parameters
email
Secondary email address.
isVerified
Whether or not the secondary email address is verified to be owned by a user.
Return Value
An initialized instance.