DBTEAMGroupMemberSelector
Objective-C
@interface DBTEAMGroupMemberSelector : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMGroupMemberSelector : NSObject, DBSerializable, NSCopying
The GroupMemberSelector
struct.
Argument for selecting a group and a single user.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Specify a group.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMGroupSelector *_Nonnull group;
Swift
var group: DBTEAMGroupSelector { get }
-
Identity of a user that is a member of group.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMUserSelectorArg *_Nonnull user;
Swift
var user: DBTEAMUserSelectorArg { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithGroup:(nonnull DBTEAMGroupSelector *)group user:(nonnull DBTEAMUserSelectorArg *)user;
Swift
init(group: DBTEAMGroupSelector, user: DBTEAMUserSelectorArg)
Parameters
group
Specify a group.
user
Identity of a user that is a member of group.
Return Value
An initialized instance.