DBTEAMMemberAccess
Objective-C
@interface DBTEAMMemberAccess : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMMemberAccess : NSObject, DBSerializable, NSCopying
The MemberAccess
struct.
Specify access type a member should have when joined to a group.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Identity of a user.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMUserSelectorArg *_Nonnull user;
Swift
var user: DBTEAMUserSelectorArg { get }
-
Access type.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMGroupAccessType *_Nonnull accessType;
Swift
var accessType: DBTEAMGroupAccessType { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user accessType: (nonnull DBTEAMGroupAccessType *)accessType;
Swift
init(user: DBTEAMUserSelectorArg, accessType: DBTEAMGroupAccessType)
Parameters
user
Identity of a user.
accessType
Access type.
Return Value
An initialized instance.