DBFILEREQUESTSListFileRequestsResult

@interface 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.

  • 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 (readonly, nonatomic)
        NSArray<DBFILEREQUESTSFileRequest *> *_Nonnull fileRequests;

    Swift

    var fileRequests: [DBFILEREQUESTSFileRequest] { get }
  • 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.