DBSHARINGListFoldersArgs
Objective-C
@interface DBSHARINGListFoldersArgs : NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGListFoldersArgs : NSObject, DBSerializable, NSCopying
The ListFoldersArgs
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The maximum number of results to return per request.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull limit;
Swift
var limit: NSNumber { get }
-
A list of
FolderAction
s corresponding toFolderPermission
s that should appear in the response’spermissions
inDBSHARINGSharedFolderMetadata
field describing the actions the authenticated user can perform on the folder.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<DBSHARINGFolderAction *> *actions;
Swift
var actions: [DBSHARINGFolderAction]? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithLimit:(nullable NSNumber *)limit actions:(nullable NSArray<DBSHARINGFolderAction *> *)actions;
Swift
init(limit: NSNumber?, actions: [DBSHARINGFolderAction]?)
Parameters
limit
The maximum number of results to return per request.
actions
A list of
FolderAction
s corresponding toFolderPermission
s that should appear in the response’spermissions
inDBSHARINGSharedFolderMetadata
field describing the actions the authenticated user can perform on the folder.Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;
Swift
init(default: ())
Return Value
An initialized instance.