Package com.dropbox.core.v2.filerequests
Class CreateBuilder
java.lang.Object
com.dropbox.core.v2.filerequests.CreateBuilder
The request builder returned by
DbxUserFileRequestsRequests.createBuilder(java.lang.String, java.lang.String).
Use this class to set optional request parameters and complete the request.
-
Method Summary
Modifier and TypeMethodDescriptionstart()Issues the request.withDeadline(FileRequestDeadline deadline) Set value for optional field.withDescription(String description) Set value for optional field.Set value for optional field.withVideoProjectId(String videoProjectId) Set value for optional field.
-
Method Details
-
withDeadline
Set value for optional field.- Parameters:
deadline- The deadline for the file request. Deadlines can only be set by Professional and Business accounts.- Returns:
- this builder
-
withOpen
Set value for optional field.If left unset or set to
null, defaults totrue.- Parameters:
open- Whether or not the file request should be open. If the file request is closed, it will not accept any file submissions, but it can be opened later. Defaults totruewhen set tonull.- Returns:
- this builder
-
withDescription
Set value for optional field.- Parameters:
description- A description of the file request.- Returns:
- this builder
-
withVideoProjectId
Set value for optional field.- Parameters:
videoProjectId- If this request was created from video project, its id.- Returns:
- this builder
-
start
Issues the request.
-