DBTEAMSharingAllowlistAddArgs
Objective-C
@interface DBTEAMSharingAllowlistAddArgs : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMSharingAllowlistAddArgs : NSObject, DBSerializable, NSCopying
The SharingAllowlistAddArgs
struct.
Structure representing Approve List entries. Domain and emails are supported. At least one entry of any supported type is required.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
List of domains represented by valid string representation (RFC-1034/5).
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *domains;
Swift
var domains: [String]? { get }
-
List of emails represented by valid string representation (RFC-5322/822).
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *emails;
Swift
var emails: [String]? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithDomains:(nullable NSArray<NSString *> *)domains emails:(nullable NSArray<NSString *> *)emails;
Swift
init(domains: [String]?, emails: [String]?)
Parameters
domains
List of domains represented by valid string representation (RFC-1034/5).
emails
List of emails represented by valid string representation (RFC-5322/822).
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;
Swift
init(default: ())
Return Value
An initialized instance.