DBFILEREQUESTSListFileRequestsV2Result
Objective-C
@interface DBFILEREQUESTSListFileRequestsV2Result
: NSObject <DBSerializable, NSCopying>
Swift
class DBFILEREQUESTSListFileRequestsV2Result : NSObject, DBSerializable, NSCopying
The ListFileRequestsV2Result
struct.
Result for list
and listContinue
.
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 (nonatomic, readonly) NSArray<DBFILEREQUESTSFileRequest *> *_Nonnull fileRequests;
Swift
var fileRequests: [DBFILEREQUESTSFileRequest] { get }
-
Pass the cursor into
listContinue
to obtain additional file requests.Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull cursor;
Swift
var cursor: String { get }
-
Is true if there are additional file requests that have not been returned yet. An additional call to :route:list/continue` can retrieve them.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull hasMore;
Swift
var hasMore: NSNumber { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithFileRequests: (nonnull NSArray<DBFILEREQUESTSFileRequest *> *) fileRequests cursor:(nonnull NSString *)cursor hasMore:(nonnull NSNumber *)hasMore;
Swift
init(fileRequests: [DBFILEREQUESTSFileRequest], cursor: String, hasMore: NSNumber)
Parameters
fileRequests
The file requests owned by this user. Apps with the app folder permission will only see file requests in their app folder.
cursor
Pass the cursor into
listContinue
to obtain additional file requests.hasMore
Is true if there are additional file requests that have not been returned yet. An additional call to :route:list/continue` can retrieve them.
Return Value
An initialized instance.