DBFILESUnlockFileBatchArg

Objective-C

@interface DBFILESUnlockFileBatchArg : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESUnlockFileBatchArg : NSObject, DBSerializable, NSCopying

The UnlockFileBatchArg 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

  • List of ‘entries’. Each ‘entry’ contains a path of the file which will be unlocked. Duplicate path arguments in the batch are considered only once.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBFILESUnlockFileArg *> *_Nonnull entries;

    Swift

    var entries: [DBFILESUnlockFileArg] { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithEntries:
        (nonnull NSArray<DBFILESUnlockFileArg *> *)entries;

    Swift

    init(entries: [DBFILESUnlockFileArg])

    Parameters

    entries

    List of ‘entries’. Each ‘entry’ contains a path of the file which will be unlocked. Duplicate path arguments in the batch are considered only once.

    Return Value

    An initialized instance.