DBTEAMGroupMembersSelector
Objective-C
@interface DBTEAMGroupMembersSelector : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMGroupMembersSelector : NSObject, DBSerializable, NSCopying
The GroupMembersSelector
struct.
Argument for selecting a group and a list of users.
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 }
-
A list of users that are members of group.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMUsersSelectorArg *_Nonnull users;
Swift
var users: DBTEAMUsersSelectorArg { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithGroup:(nonnull DBTEAMGroupSelector *)group users:(nonnull DBTEAMUsersSelectorArg *)users;
Swift
init(group: DBTEAMGroupSelector, users: DBTEAMUsersSelectorArg)
Parameters
group
Specify a group.
users
A list of users that are members of group.
Return Value
An initialized instance.