Show / Hide Table of Contents

Class FileRequest

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

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

Constructors

| Improve this Doc View Source

FileRequest(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 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.

System.String description

A description of the file request.

Properties

| Improve this Doc View Source

Created

When this file request was created.

Declaration
public DateTime Created { get; protected set; }
Property Value
Type Description
System.DateTime
| Improve this Doc 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
| Improve this Doc View Source

Description

A description of the file request.

Declaration
public string Description { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc 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
System.String
| Improve this Doc View Source

FileCount

The number of files this file request has received.

Declaration
public long FileCount { get; protected set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

Id

The ID of the file request.

Declaration
public string Id { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc 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
System.Boolean
| Improve this Doc View Source

Title

The title of the file request.

Declaration
public string Title { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Url

The URL of the file request.

Declaration
public string Url { get; protected set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FileRequest(String, String, String, DateTime, Boolean, Int64, String, FileRequestDeadline, String)
  • Properties
    • Created
    • Deadline
    • Description
    • Destination
    • FileCount
    • Id
    • IsOpen
    • Title
    • Url
Back to top Generated by DocFX