DBFILESGetMetadataArg
Objective-C
@interface DBFILESGetMetadataArg : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESGetMetadataArg : NSObject, DBSerializable, NSCopying
The GetMetadataArg struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The path of a file or folder on Dropbox.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull path;Swift
var path: String { get } -
If true,
mediaInfoinDBFILESFileMetadatais set for photo and video.Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull includeMediaInfo;Swift
var includeMediaInfo: NSNumber { get } -
If true, DeletedMetadata will be returned for deleted file or folder, otherwise
notFoundinDBFILESLookupErrorwill be returned.Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull includeDeleted;Swift
var includeDeleted: NSNumber { get } -
If true, the results will include a flag for each file indicating whether or not that file has any explicit members.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull includeHasExplicitSharedMembers;Swift
var includeHasExplicitSharedMembers: NSNumber { get } -
If set to a valid list of template IDs,
propertyGroupsinDBFILESFileMetadatais set if there exists property data associated with the file and each of the listed templates.Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups;Swift
var includePropertyGroups: DBFILEPROPERTIESTemplateFilterBase? { get }
-
-initWithPath:includeMediaInfo: includeDeleted: includeHasExplicitSharedMembers: includePropertyGroups: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path includeMediaInfo:(nullable NSNumber *)includeMediaInfo includeDeleted:(nullable NSNumber *)includeDeleted includeHasExplicitSharedMembers: (nullable NSNumber *)includeHasExplicitSharedMembers includePropertyGroups: (nullable DBFILEPROPERTIESTemplateFilterBase *) includePropertyGroups;Swift
init(path: String, includeMediaInfo: NSNumber?, includeDeleted: NSNumber?, includeHasExplicitSharedMembers: NSNumber?, includePropertyGroups: DBFILEPROPERTIESTemplateFilterBase?)Parameters
pathThe path of a file or folder on Dropbox.
includeMediaInfoIf true,
mediaInfoinDBFILESFileMetadatais set for photo and video.includeDeletedIf true, DeletedMetadata will be returned for deleted file or folder, otherwise
notFoundinDBFILESLookupErrorwill be returned.includeHasExplicitSharedMembersIf true, the results will include a flag for each file indicating whether or not that file has any explicit members.
includePropertyGroupsIf set to a valid list of template IDs,
propertyGroupsinDBFILESFileMetadatais set if there exists property data associated with the file and each of the listed templates.Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path;Swift
init(path: String)Parameters
pathThe path of a file or folder on Dropbox.
Return Value
An initialized instance.
View on GitHub
DBFILESGetMetadataArg Class Reference