DBFILESCreateFolderArg
Objective-C
@interface DBFILESCreateFolderArg : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESCreateFolderArg : NSObject, DBSerializable, NSCopying
The CreateFolderArg
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 create.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull path;
Swift
var path: String { get }
-
If there’s a conflict, have the Dropbox server try to autorename the folder to avoid the conflict.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull autorename;
Swift
var autorename: NSNumber { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path autorename:(nullable NSNumber *)autorename;
Swift
init(path: String, autorename: NSNumber?)
Parameters
path
Path in the user’s Dropbox to create.
autorename
If there’s a conflict, have the Dropbox server try to autorename the folder to avoid the conflict.
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
path
Path in the user’s Dropbox to create.
Return Value
An initialized instance.