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.
-
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
teamFolderListContinueto 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
teamFolderListContinuecan retrieve them.Declaration
Objective-C
@property (nonatomic, readonly) 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
teamFoldersList of all team folders in the authenticated team.
cursorPass the cursor into
teamFolderListContinueto obtain additional team folders.hasMoreIs true if there are additional team folders that have not been returned yet. An additional call to
teamFolderListContinuecan retrieve them.Return Value
An initialized instance.
View on GitHub
DBTEAMTeamFolderListResult Class Reference