DBTEAMSharingAllowlistListResponse
Objective-C
@interface DBTEAMSharingAllowlistListResponse
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMSharingAllowlistListResponse : NSObject, DBSerializable, NSCopying
The SharingAllowlistListResponse
struct.
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) NSArray<NSString *> *_Nonnull domains;
Swift
var domains: [String] { get }
-
List of emails represented by valid string representation (RFC-5322/822).
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSString *> *_Nonnull emails;
Swift
var emails: [String] { get }
-
If this is nonempty, there are more entries that can be fetched with
sharingAllowlistListContinue
.Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull cursor;
Swift
var cursor: String { get }
-
if true indicates that more entries can be fetched with
sharingAllowlistListContinue
.Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull hasMore;
Swift
var hasMore: NSNumber { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithDomains:(nonnull NSArray<NSString *> *)domains emails:(nonnull NSArray<NSString *> *)emails cursor:(nullable NSString *)cursor hasMore:(nullable NSNumber *)hasMore;
Swift
init(domains: [String], emails: [String], cursor: String?, hasMore: NSNumber?)
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).
cursor
If this is nonempty, there are more entries that can be fetched with
sharingAllowlistListContinue
.hasMore
if true indicates that more entries can be fetched with
sharingAllowlistListContinue
.Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithDomains:(nonnull NSArray<NSString *> *)domains emails:(nonnull 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.