Dropbox .NET SDK
Show / Hide Table of Contents

Class FileRequest

A file request for receiving files into the user's Dropbox account.

Inheritance
object
FileRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.FileRequests
Assembly: Dropbox.Api.dll
Syntax
public class FileRequest

Constructors

View Source

FileRequest(string, string, string, DateTime, bool, long, string, FileRequestDeadline, string, 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, string videoProjectId = null)
Parameters
Type Name Description
string id

The ID of the file request.

string url

The URL of the file request.

string title

The title of the file request.

DateTime created

When this file request was created.

bool isOpen

Whether or not the file request is open. If the file request is closed, it will not accept any more file submissions.

long fileCount

The number of files this file request has received.

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.

FileRequestDeadline deadline

The deadline for this file request. Only set if the request has a deadline.

string description

A description of the file request.

string videoProjectId

If this request was created from video project, its id.

Properties

View Source

Created

When this file request was created.

Declaration
public DateTime Created { get; protected set; }
Property Value
Type Description
DateTime
View Source

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
View Source

Description

A description of the file request.

Declaration
public string Description { get; protected set; }
Property Value
Type Description
string
View Source

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
string
View Source

FileCount

The number of files this file request has received.

Declaration
public long FileCount { get; protected set; }
Property Value
Type Description
long
View Source

Id

The ID of the file request.

Declaration
public string Id { get; protected set; }
Property Value
Type Description
string
View Source

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
bool
View Source

Title

The title of the file request.

Declaration
public string Title { get; protected set; }
Property Value
Type Description
string
View Source

Url

The URL of the file request.

Declaration
public string Url { get; protected set; }
Property Value
Type Description
string
View Source

VideoProjectId

If this request was created from video project, its id.

Declaration
public string VideoProjectId { get; protected set; }
Property Value
Type Description
string
  • View Source
In this article
Back to top Dropbox .NET SDK