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.

Instance fields

  • 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 FolderActions corresponding to FolderPermissions that should appear in the response’s permissions in DBSHARINGSharedFolderMetadata 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 }

Constructors

  • 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 FolderActions corresponding to FolderPermissions that should appear in the response’s permissions in DBSHARINGSharedFolderMetadata 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.