DBFILEREQUESTSListFileRequestsResult

Objective-C

@interface DBFILEREQUESTSListFileRequestsResult
    : NSObject <DBSerializable, NSCopying>

Swift

class DBFILEREQUESTSListFileRequestsResult : NSObject, DBSerializable, NSCopying

The ListFileRequestsResult struct.

Result for list.

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 file requests owned by this user. Apps with the app folder permission will only see file requests in their app folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBFILEREQUESTSFileRequest *> *_Nonnull fileRequests;

    Swift

    var fileRequests: [DBFILEREQUESTSFileRequest] { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFileRequests:
        (nonnull NSArray<DBFILEREQUESTSFileRequest *> *)fileRequests;

    Swift

    init(fileRequests: [DBFILEREQUESTSFileRequest])

    Parameters

    fileRequests

    The file requests owned by this user. Apps with the app folder permission will only see file requests in their app folder.

    Return Value

    An initialized instance.