DBTEAMMembersListResult

@interface DBTEAMMembersListResult : NSObject <DBSerializable, NSCopying>

The MembersListResult struct.

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

  • List of team members.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) 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 (readonly, nonatomic) NSNumber *_Nonnull hasMore;

    Swift

    var hasMore: NSNumber { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

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

    Swift

    init(members: [DBTEAMTeamMemberInfo], 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.