DBTEAMTeamMemberInfo
Objective-C
@interface DBTEAMTeamMemberInfo : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMTeamMemberInfo : NSObject, DBSerializable, NSCopying
The TeamMemberInfo
struct.
Information about a team member.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Profile of a user as a member of a team.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMTeamMemberProfile *_Nonnull profile;
Swift
var profile: DBTEAMTeamMemberProfile { get }
-
The user’s role in the team.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMAdminTier *_Nonnull role;
Swift
var role: DBTEAMAdminTier { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithProfile: (nonnull DBTEAMTeamMemberProfile *)profile role:(nonnull DBTEAMAdminTier *)role;
Swift
init(profile: DBTEAMTeamMemberProfile, role: DBTEAMAdminTier)
Parameters
profile
Profile of a user as a member of a team.
role
The user’s role in the team.
Return Value
An initialized instance.