Class FileRequest
A file request for receiving files into the user's Dropbox account.
Inheritance
Inherited Members
Namespace: Dropbox.Api.FileRequests
Assembly: Dropbox.Api.dll
Syntax
public class FileRequest
Constructors
| Improve this Doc View SourceFileRequest(String, String, String, DateTime, Boolean, Int64, String, FileRequestDeadline, String)
Initializes a new instance of the FileRequest class.
Declaration
public FileRequest(string id, string url, string title, DateTime created, bool isOpen, long fileCount, string destination = null, FileRequestDeadline deadline = null, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The ID of the file request. |
System.String | url | The URL of the file request. |
System.String | title | The title of the file request. |
System.DateTime | created | When this file request was created. |
System.Boolean | isOpen | Whether or not the file request is open. If the file request is closed, it will not accept any more file submissions. |
System.Int64 | fileCount | The number of files this file request has received. |
System.String | destination | The path of the folder in the Dropbox where uploaded
files will be sent. This can be |
FileRequestDeadline | deadline | The deadline for this file request. Only set if the request has a deadline. |
System.String | description | A description of the file request. |
Properties
| Improve this Doc View SourceCreated
When this file request was created.
Declaration
public DateTime Created { get; protected set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Deadline
The deadline for this file request. Only set if the request has a deadline.
Declaration
public FileRequestDeadline Deadline { get; protected set; }
Property Value
Type | Description |
---|---|
FileRequestDeadline |
Description
A description of the file request.
Declaration
public string Description { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Destination
The path of the folder in the Dropbox where uploaded files will be sent. This
can be null
if the destination was removed. For apps with the app folder
permission, this will be relative to the app folder.
Declaration
public string Destination { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
FileCount
The number of files this file request has received.
Declaration
public long FileCount { get; protected set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Id
The ID of the file request.
Declaration
public string Id { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
IsOpen
Whether or not the file request is open. If the file request is closed, it will not accept any more file submissions.
Declaration
public bool IsOpen { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Title
The title of the file request.
Declaration
public string Title { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Url
The URL of the file request.
Declaration
public string Url { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |