DBFILEPROPERTIESRemovePropertiesArg

Objective-C

@interface DBFILEPROPERTIESRemovePropertiesArg
    : NSObject <DBSerializable, NSCopying>

Swift

class DBFILEPROPERTIESRemovePropertiesArg : NSObject, DBSerializable, NSCopying

The RemovePropertiesArg struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • A unique identifier for the file or folder.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull path;

    Swift

    var path: String { get }
  • A list of identifiers for a template created by templatesAddForUser or templatesAddForTeam.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<NSString *> *_Nonnull propertyTemplateIds;

    Swift

    var propertyTemplateIds: [String] { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPath:(nonnull NSString *)path
                     propertyTemplateIds:
                         (nonnull NSArray<NSString *> *)propertyTemplateIds;

    Swift

    init(path: String, propertyTemplateIds: [String])

    Parameters

    path

    A unique identifier for the file or folder.

    propertyTemplateIds

    A list of identifiers for a template created by templatesAddForUser or templatesAddForTeam.

    Return Value

    An initialized instance.