DBFILESRelocationBatchArg
Objective-C
@interface DBFILESRelocationBatchArg
: DBFILESRelocationBatchArgBase <DBSerializable, NSCopying>
Swift
class DBFILESRelocationBatchArg : DBFILESRelocationBatchArgBase, DBSerializable, NSCopying
The RelocationBatchArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
This flag has no effect.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull allowSharedFolder;
Swift
var allowSharedFolder: NSNumber { get }
-
Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull allowOwnershipTransfer;
Swift
var allowOwnershipTransfer: NSNumber { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithEntries:(nonnull NSArray<DBFILESRelocationPath *> *)entries autorename:(nullable NSNumber *)autorename allowSharedFolder:(nullable NSNumber *)allowSharedFolder allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer;
Swift
init(entries: [DBFILESRelocationPath], autorename: NSNumber?, allowSharedFolder: NSNumber?, allowOwnershipTransfer: NSNumber?)
Parameters
entries
List of entries to be moved or copied. Each entry is RelocationPath.
autorename
If there’s a conflict with any file, have the Dropbox server try to autorename that file to avoid the conflict.
allowSharedFolder
This flag has no effect.
allowOwnershipTransfer
Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithEntries: (nonnull NSArray<DBFILESRelocationPath *> *)entries;
Swift
init(entries: [DBFILESRelocationPath])
Parameters
entries
List of entries to be moved or copied. Each entry is RelocationPath.
Return Value
An initialized instance.