DBFILESLockFileBatchArg
Objective-C
@interface DBFILESLockFileBatchArg : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESLockFileBatchArg : NSObject, DBSerializable, NSCopying
The LockFileBatchArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
List of ‘entries’. Each ‘entry’ contains a path of the file which will be locked or queried. Duplicate path arguments in the batch are considered only once.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBFILESLockFileArg *> *_Nonnull entries;
Swift
var entries: [DBFILESLockFileArg] { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithEntries: (nonnull NSArray<DBFILESLockFileArg *> *)entries;
Swift
init(entries: [DBFILESLockFileArg])
Parameters
entries
List of ‘entries’. Each ‘entry’ contains a path of the file which will be locked or queried. Duplicate path arguments in the batch are considered only once.
Return Value
An initialized instance.