DBFILEPROPERTIESPropertiesSearchMatch

@interface DBFILEPROPERTIESPropertiesSearchMatch
    : NSObject <DBSerializable, NSCopying>

The PropertiesSearchMatch struct.

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

  • id_

    The ID for the matched file or folder.

    Declaration

    Objective-C

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

    Swift

    var id_: String { get }
  • The path for the matched file or folder.

    Declaration

    Objective-C

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

    Swift

    var path: String { get }
  • Whether the file or folder is deleted.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSNumber *_Nonnull isDeleted;

    Swift

    var isDeleted: NSNumber { get }
  • List of custom property groups associated with the 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)initWithId_:(nonnull NSString *)id_
                                   path:(nonnull NSString *)path
                              isDeleted:(nonnull NSNumber *)isDeleted
                         propertyGroups:
                             (nonnull NSArray<DBFILEPROPERTIESPropertyGroup *> *)
                                 propertyGroups;

    Swift

    init(id_: String, path: String, isDeleted: NSNumber, propertyGroups: [DBFILEPROPERTIESPropertyGroup])

    Parameters

    id_

    The ID for the matched file or folder.

    path

    The path for the matched file or folder.

    isDeleted

    Whether the file or folder is deleted.

    propertyGroups

    List of custom property groups associated with the file.

    Return Value

    An initialized instance.