Class PaperUpdateArg
The paper update arg object
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class PaperUpdateArg
Constructors
View SourcePaperUpdateArg(string, ImportFormat, PaperDocUpdatePolicy, long?)
Initializes a new instance of the PaperUpdateArg class.
Declaration
public PaperUpdateArg(string path, ImportFormat importFormat, PaperDocUpdatePolicy docUpdatePolicy, long? paperRevision = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be returned. |
| ImportFormat | importFormat | The format of the provided data. |
| PaperDocUpdatePolicy | docUpdatePolicy | How the provided content should be applied to the doc. |
| long? | paperRevision | The latest doc revision. Required when doc_update_policy is update. This value must match the current revision of the doc or error revision_mismatch will be returned. |
Properties
View SourceDocUpdatePolicy
How the provided content should be applied to the doc.
Declaration
public PaperDocUpdatePolicy DocUpdatePolicy { get; protected set; }
Property Value
| Type | Description |
|---|---|
| PaperDocUpdatePolicy |
ImportFormat
The format of the provided data.
Declaration
public ImportFormat ImportFormat { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ImportFormat |
PaperRevision
The latest doc revision. Required when doc_update_policy is update. This value must match the current revision of the doc or error revision_mismatch will be returned.
Declaration
public long? PaperRevision { get; protected set; }
Property Value
| Type | Description |
|---|---|
| long? |
Path
Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be returned.
Declaration
public string Path { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |