DBFILEPROPERTIESUpdatePropertiesArg
Objective-C
@interface DBFILEPROPERTIESUpdatePropertiesArg
: NSObject <DBSerializable, NSCopying>
Swift
class DBFILEPROPERTIESUpdatePropertiesArg : NSObject, DBSerializable, NSCopying
The UpdatePropertiesArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
A unique identifier for the file or folder.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull path;
Swift
var path: String { get }
-
The property groups “delta” updates to apply.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBFILEPROPERTIESPropertyGroupUpdate *> *_Nonnull updatePropertyGroups;
Swift
var updatePropertyGroups: [DBFILEPROPERTIESPropertyGroupUpdate] { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path updatePropertyGroups: (nonnull NSArray<DBFILEPROPERTIESPropertyGroupUpdate *> *) updatePropertyGroups;
Swift
init(path: String, updatePropertyGroups: [DBFILEPROPERTIESPropertyGroupUpdate])
Parameters
path
A unique identifier for the file or folder.
updatePropertyGroups
The property groups “delta” updates to apply.
Return Value
An initialized instance.