DBFILESLockFileBatchResult

Objective-C

@interface DBFILESLockFileBatchResult
    : DBFILESFileOpsResult <DBSerializable, NSCopying>

Swift

class DBFILESLockFileBatchResult : DBFILESFileOpsResult, DBSerializable, NSCopying

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

  • Each Entry in the ‘entries’ will have ‘.tag’ with the operation status (e.g. success), the metadata for the file and the lock state after the operation.

    Declaration

    Objective-C

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

    Swift

    var entries: [DBFILESLockFileResultEntry] { get }

Constructors

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

    Declaration

    Objective-C

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

    Swift

    init(entries: [DBFILESLockFileResultEntry])

    Parameters

    entries

    Each Entry in the ‘entries’ will have ‘.tag’ with the operation status (e.g. success), the metadata for the file and the lock state after the operation.

    Return Value

    An initialized instance.