DBFILEPROPERTIESAddPropertiesArg

@interface DBFILEPROPERTIESAddPropertiesArg
    : NSObject <DBSerializable, NSCopying>

The AddPropertiesArg 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 (readonly, copy, nonatomic) NSString *_Nonnull path;

    Swift

    var path: String { get }
  • The property groups which are to be added to a Dropbox file.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        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 which are to be added to a Dropbox file.

    Return Value

    An initialized instance.