DBFILESListRevisionsResult
Objective-C
@interface DBFILESListRevisionsResult : NSObject <DBSerializable, NSCopying>
                Swift
class DBFILESListRevisionsResult : NSObject, DBSerializable, NSCopying
                The ListRevisionsResult struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
If the file identified by the latest revision in the response is either deleted or moved.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull isDeleted;Swift
var isDeleted: NSNumber { get } - 
                  
                  
The time of deletion if the file was deleted.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSDate *serverDeleted;Swift
var serverDeleted: Date? { get } - 
                  
                  
The revisions for the file. Only revisions that are not deleted will show up here.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBFILESFileMetadata *> *_Nonnull entries;Swift
var entries: [DBFILESFileMetadata] { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithIsDeleted:(nonnull NSNumber *)isDeleted entries:(nonnull NSArray<DBFILESFileMetadata *> *)entries serverDeleted:(nullable NSDate *)serverDeleted;Swift
init(isDeleted: NSNumber, entries: [DBFILESFileMetadata], serverDeleted: Date?)Parameters
isDeletedIf the file identified by the latest revision in the response is either deleted or moved.
entriesThe revisions for the file. Only revisions that are not deleted will show up here.
serverDeletedThe time of deletion if the file was deleted.
Return Value
An initialized instance.
 - 
                  
                  
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithIsDeleted:(nonnull NSNumber *)isDeleted entries:(nonnull NSArray<DBFILESFileMetadata *> *)entries;Swift
init(isDeleted: NSNumber, entries: [DBFILESFileMetadata])Parameters
isDeletedIf the file identified by the latest revision in the response is either deleted or moved.
entriesThe revisions for the file. Only revisions that are not deleted will show up here.
Return Value
An initialized instance.
 
View on GitHub
        DBFILESListRevisionsResult Class Reference