DBTEAMGroupsListResult

Objective-C

@interface DBTEAMGroupsListResult : NSObject <DBSerializable, NSCopying>

Swift

class 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.

Instance fields

  • (no description).

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) 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 (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)
        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.