DBFILEPROPERTIESOverwritePropertyGroupArg
Objective-C
@interface DBFILEPROPERTIESOverwritePropertyGroupArg
: NSObject <DBSerializable, NSCopying>
Swift
class DBFILEPROPERTIESOverwritePropertyGroupArg : NSObject, DBSerializable, NSCopying
The OverwritePropertyGroupArg
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 “snapshot” updates to force apply. No two groups in the input should refer to the same template.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBFILEPROPERTIESPropertyGroup *> *_Nonnull propertyGroups;
Swift
var propertyGroups: [DBFILEPROPERTIESPropertyGroup] { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path propertyGroups: (nonnull NSArray<DBFILEPROPERTIESPropertyGroup *> *) propertyGroups;
Swift
init(path: String, propertyGroups: [DBFILEPROPERTIESPropertyGroup])
Parameters
path
A unique identifier for the file or folder.
propertyGroups
The property groups “snapshot” updates to force apply. No two groups in the input should refer to the same template.
Return Value
An initialized instance.