Class ListRevisionsResult
The list revisions result object
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class ListRevisionsResult
Constructors
View SourceListRevisionsResult(bool, IEnumerable<FileMetadata>, bool, DateTime?)
Initializes a new instance of the ListRevisionsResult class.
Declaration
public ListRevisionsResult(bool isDeleted, IEnumerable<FileMetadata> entries, bool hasMore, DateTime? serverDeleted = null)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isDeleted | If the file identified by the latest revision in the response is either deleted or moved. If before_rev is set, this refers to the latest revision of the file older than before_rev. |
| IEnumerable<FileMetadata> | entries | The revisions for the file. Only revisions that are not deleted will show up here. |
| bool | hasMore | If true, then there are more entries available. Call list_revisions again with before_rev equal to the revision of the last returned entry to retrieve the rest. |
| DateTime? | serverDeleted | The time of deletion if the file was deleted. |
Properties
View SourceEntries
The revisions for the file. Only revisions that are not deleted will show up here.
Declaration
public IList<FileMetadata> Entries { get; protected set; }
Property Value
| Type | Description |
|---|---|
| IList<FileMetadata> |
HasMore
If true, then there are more entries available. Call list_revisions again with before_rev equal to the revision of the last returned entry to retrieve the rest.
Declaration
public bool HasMore { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsDeleted
If the file identified by the latest revision in the response is either deleted or moved. If before_rev is set, this refers to the latest revision of the file older than before_rev.
Declaration
public bool IsDeleted { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |
ServerDeleted
The time of deletion if the file was deleted.
Declaration
public DateTime? ServerDeleted { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |