Class ListRevisionsArg
The list revisions arg object
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class ListRevisionsArg
Constructors
View SourceListRevisionsArg(string, ListRevisionsMode, ulong, string, bool)
Initializes a new instance of the ListRevisionsArg class.
Declaration
public ListRevisionsArg(string path, ListRevisionsMode mode = null, ulong limit = 10, string beforeRev = null, bool includeRestorableInfo = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path to the file you want to see the revisions of. |
| ListRevisionsMode | mode | Determines the behavior of the API in listing the revisions for a given file path or id. |
| ulong | limit | The maximum number of revision entries returned. |
| string | beforeRev | If set, ListRevisions will only return revisions prior to before_rev. Can be set using the last revision from a previous call to list_revisions to fetch the next page of revisions. Only supported in path mode. |
| bool | includeRestorableInfo | If true, each returned revision will include whether that revision can be restored. |
Properties
View SourceBeforeRev
If set, ListRevisions will only return revisions prior to before_rev. Can be set using the last revision from a previous call to list_revisions to fetch the next page of revisions. Only supported in path mode.
Declaration
public string BeforeRev { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
IncludeRestorableInfo
If true, each returned revision will include whether that revision can be restored.
Declaration
public bool IncludeRestorableInfo { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |
Limit
The maximum number of revision entries returned.
Declaration
public ulong Limit { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ulong |
Mode
Determines the behavior of the API in listing the revisions for a given file path or id.
Declaration
public ListRevisionsMode Mode { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ListRevisionsMode |
Path
The path to the file you want to see the revisions of.
Declaration
public string Path { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |