DBTEAMGroupMemberInfo
Objective-C
@interface DBTEAMGroupMemberInfo : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMGroupMemberInfo : NSObject, DBSerializable, NSCopying
The GroupMemberInfo
struct.
Profile of group member, and role in group.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Profile of group member.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMMemberProfile *_Nonnull profile;
Swift
var profile: DBTEAMMemberProfile { get }
-
The role that the user has in the group.
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)initWithProfile:(nonnull DBTEAMMemberProfile *)profile accessType: (nonnull DBTEAMGroupAccessType *)accessType;
Swift
init(profile: DBTEAMMemberProfile, accessType: DBTEAMGroupAccessType)
Parameters
profile
Profile of group member.
accessType
The role that the user has in the group.
Return Value
An initialized instance.