DBTEAMMembersListV2Result

Objective-C

@interface DBTEAMMembersListV2Result : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMMembersListV2Result : NSObject, DBSerializable, NSCopying

The MembersListV2Result struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • List of team members.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBTEAMTeamMemberInfoV2 *> *_Nonnull members;

    Swift

    var members: [DBTEAMTeamMemberInfoV2] { get }
  • Pass the cursor into membersListContinue to obtain the additional members.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull cursor;

    Swift

    var cursor: String { get }
  • Is true if there are additional team members that have not been returned yet. An additional call to membersListContinue can retrieve them.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull hasMore;

    Swift

    var hasMore: NSNumber { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMembers:
                                (nonnull NSArray<DBTEAMTeamMemberInfoV2 *> *)members
                                     cursor:(nonnull NSString *)cursor
                                    hasMore:(nonnull NSNumber *)hasMore;

    Swift

    init(members: [DBTEAMTeamMemberInfoV2], cursor: String, hasMore: NSNumber)

    Parameters

    members

    List of team members.

    cursor

    Pass the cursor into membersListContinue to obtain the additional members.

    hasMore

    Is true if there are additional team members that have not been returned yet. An additional call to membersListContinue can retrieve them.

    Return Value

    An initialized instance.