DBFILESRestoreArg
Objective-C
@interface DBFILESRestoreArg : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESRestoreArg : NSObject, DBSerializable, NSCopying
The RestoreArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The path to save the restored file.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull path;
Swift
var path: String { get }
-
The revision to restore.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull rev;
Swift
var rev: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path rev:(nonnull NSString *)rev;
Swift
init(path: String, rev: String)
Parameters
path
The path to save the restored file.
rev
The revision to restore.
Return Value
An initialized instance.