DBTEAMTeamFolderListResult

@interface 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.

  • List of all team folders in the authenticated team.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var hasMore: NSNumber { get }
  • 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.