DBFILESDeleteArg
Objective-C
@interface DBFILESDeleteArg : NSObject <DBSerializable, NSCopying>
                Swift
class DBFILESDeleteArg : NSObject, DBSerializable, NSCopying
                The DeleteArg struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
Path in the user’s Dropbox to delete.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull path;Swift
var path: String { get } - 
                  
                  
Perform delete if given “rev” matches the existing file’s latest “rev”. This field does not support deleting a folder.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *parentRev;Swift
var parentRev: String? { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path parentRev:(nullable NSString *)parentRev;Swift
init(path: String, parentRev: String?)Parameters
pathPath in the user’s Dropbox to delete.
parentRevPerform delete if given “rev” matches the existing file’s latest “rev”. This field does not support deleting a folder.
Return Value
An initialized instance.
 - 
                  
                  
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path;Swift
init(path: String)Parameters
pathPath in the user’s Dropbox to delete.
Return Value
An initialized instance.
 
View on GitHub
        DBFILESDeleteArg Class Reference