DBTEAMGroupsListResult

@interface DBTEAMGroupsListResult : NSObject <DBSerializable, NSCopying>

The GroupsListResult struct.

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

  • (no description).

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<DBTEAMCOMMONGroupSummary *> *_Nonnull groups;

    Swift

    var groups: [DBTEAMCOMMONGroupSummary] { get }
  • Pass the cursor into groupsListContinue to obtain the additional groups.

    Declaration

    Objective-C

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

    Swift

    var cursor: String { get }
  • Is true if there are additional groups that have not been returned yet. An additional call to groupsListContinue 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)
    initWithGroups:(nonnull NSArray<DBTEAMCOMMONGroupSummary *> *)groups
            cursor:(nonnull NSString *)cursor
           hasMore:(nonnull NSNumber *)hasMore;

    Swift

    init(groups: [DBTEAMCOMMONGroupSummary], cursor: String, hasMore: NSNumber)

    Parameters

    groups

    (no description).

    cursor

    Pass the cursor into groupsListContinue to obtain the additional groups.

    hasMore

    Is true if there are additional groups that have not been returned yet. An additional call to groupsListContinue can retrieve them.

    Return Value

    An initialized instance.