DBSHARINGListFoldersResult
Objective-C
@interface DBSHARINGListFoldersResult : NSObject <DBSerializable, NSCopying>
                Swift
class DBSHARINGListFoldersResult : NSObject, DBSerializable, NSCopying
                The ListFoldersResult struct.
Result for listFolders or listMountableFolders, depending on which
endpoint was requested. Unmounted shared folders can be identified by the
absence of pathLower in DBSHARINGSharedFolderMetadata.
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 shared folders the authenticated user has access to.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBSHARINGSharedFolderMetadata *> *_Nonnull entries;Swift
var entries: [DBSHARINGSharedFolderMetadata] { get } - 
                  
                  
Present if there are additional shared folders that have not been returned yet. Pass the cursor into the corresponding continue endpoint (either
listFoldersContinueorlistMountableFoldersContinue) to list additional folders.Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *cursor;Swift
var cursor: String? { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithEntries:(nonnull NSArray<DBSHARINGSharedFolderMetadata *> *)entries cursor:(nullable NSString *)cursor;Swift
init(entries: [DBSHARINGSharedFolderMetadata], cursor: String?)Parameters
entriesList of all shared folders the authenticated user has access to.
cursorPresent if there are additional shared folders that have not been returned yet. Pass the cursor into the corresponding continue endpoint (either
listFoldersContinueorlistMountableFoldersContinue) to list additional folders.Return Value
An initialized instance.
 - 
                  
                  
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithEntries: (nonnull NSArray<DBSHARINGSharedFolderMetadata *> *)entries;Swift
init(entries: [DBSHARINGSharedFolderMetadata])Parameters
entriesList of all shared folders the authenticated user has access to.
Return Value
An initialized instance.
 
View on GitHub
        DBSHARINGListFoldersResult Class Reference