DBTEAMLegalHoldHeldRevisionMetadata
Objective-C
@interface DBTEAMLegalHoldHeldRevisionMetadata
    : NSObject <DBSerializable, NSCopying>
                Swift
class DBTEAMLegalHoldHeldRevisionMetadata : NSObject, DBSerializable, NSCopying
                The LegalHoldHeldRevisionMetadata struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
The held revision filename.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull dNewFilename;Swift
var dNewFilename: String { get } - 
                  
                  
The id of the held revision.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull originalRevisionId;Swift
var originalRevisionId: String { get } - 
                  
                  
The original path of the held revision.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull originalFilePath;Swift
var originalFilePath: String { get } - 
                  
                  
The last time the file was modified on Dropbox.
Declaration
Objective-C
@property (nonatomic, readonly) NSDate *_Nonnull serverModified;Swift
var serverModified: Date { get } - 
                  
                  
The member id of the revision’s author.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull authorMemberId;Swift
var authorMemberId: String { get } - 
                  
                  
The member status of the revision’s author.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMTeamMemberStatus *_Nonnull authorMemberStatus;Swift
var authorMemberStatus: DBTEAMTeamMemberStatus { get } - 
                  
                  
The email address of the held revision author.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull authorEmail;Swift
var authorEmail: String { get } - 
                  
                  
The type of the held revision’s file.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull fileType;Swift
var fileType: String { get } - 
                  
                  
The file size in bytes.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull size;Swift
var size: NSNumber { get } - 
                  
                  
A hash of the file content. This field can be used to verify data integrity. For more information see our Content hash https://www.dropbox.com/developers/reference/content-hash page.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull contentHash;Swift
var contentHash: String { get } 
- 
                  
-initWithDNewFilename:originalRevisionId: originalFilePath: serverModified: authorMemberId: authorMemberStatus: authorEmail: fileType: size: contentHash: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithDNewFilename:(nonnull NSString *)dNewFilename originalRevisionId:(nonnull NSString *)originalRevisionId originalFilePath:(nonnull NSString *)originalFilePath serverModified:(nonnull NSDate *)serverModified authorMemberId:(nonnull NSString *)authorMemberId authorMemberStatus:(nonnull DBTEAMTeamMemberStatus *)authorMemberStatus authorEmail:(nonnull NSString *)authorEmail fileType:(nonnull NSString *)fileType size:(nonnull NSNumber *)size contentHash:(nonnull NSString *)contentHash;Swift
init(dNewFilename: String, originalRevisionId: String, originalFilePath: String, serverModified: Date, authorMemberId: String, authorMemberStatus: DBTEAMTeamMemberStatus, authorEmail: String, fileType: String, size: NSNumber, contentHash: String)Parameters
dNewFilenameThe held revision filename.
originalRevisionIdThe id of the held revision.
originalFilePathThe original path of the held revision.
serverModifiedThe last time the file was modified on Dropbox.
authorMemberIdThe member id of the revision’s author.
authorMemberStatusThe member status of the revision’s author.
authorEmailThe email address of the held revision author.
fileTypeThe type of the held revision’s file.
sizeThe file size in bytes.
contentHashA hash of the file content. This field can be used to verify data integrity. For more information see our Content hash https://www.dropbox.com/developers/reference/content-hash page.
Return Value
An initialized instance.
 
View on GitHub
        DBTEAMLegalHoldHeldRevisionMetadata Class Reference