DBTEAMTeamFolderListResult

Objective-C

@interface DBTEAMTeamFolderListResult : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMTeamFolderListResult : NSObject, DBSerializable, NSCopying

The TeamFolderListResult struct.

Result for teamFolderList and teamFolderListContinue.

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 all team folders in the authenticated team.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBTEAMTeamFolderMetadata *> *_Nonnull teamFolders;

    Swift

    var teamFolders: [DBTEAMTeamFolderMetadata] { get }
  • Pass the cursor into teamFolderListContinue to obtain additional team folders.

    Declaration

    Objective-C

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

    Swift

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

    Swift

    init(teamFolders: [DBTEAMTeamFolderMetadata], cursor: String, hasMore: NSNumber)

    Parameters

    teamFolders

    List of all team folders in the authenticated team.

    cursor

    Pass the cursor into teamFolderListContinue to obtain additional team folders.

    hasMore

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

    Return Value

    An initialized instance.