public class BoxFileRequest.Info extends BoxResource.Info
Constructor and Description |
---|
Info()
Constructs an empty Info object.
|
Info(String json)
Constructs an Info object by parsing information from a JSON string.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl()
Gets the base URL for the upload files link.
|
Date |
getCreatedAt()
Gets the date when the file request was created.
|
BoxUser.Info |
getCreatedBy()
Gets the user who created this file request.
|
String |
getDescription()
Gets the description of this file request.
|
String |
getEtag()
Gets a unique string identifying the version of the item.
|
Date |
getExpiresAt()
Gets the date after which a file request will no longer accept new submissions.
|
BoxFolder.Info |
getFolder()
Gets the folder that this file request is associated with.
|
Boolean |
getIsDescriptionRequired()
Gets whether a file request submitter is required to provide a description of the files they are submitting.
|
Boolean |
getIsEmailRequired()
Gets whether a file request submitter is required to provide their email address.
|
String |
getPath()
Gets the URL containing only the path (e.g.
|
BoxFileRequest |
getResource()
Gets the resource associated with this Info.
|
BoxFileRequest.Status |
getStatus()
Gets the status of the file request.
|
String |
getTitle()
Gets the title of file request.
|
String |
getType()
Gets the file request type.
|
Date |
getUpdatedAt()
Gets the date when the file request was last updated.
|
BoxUser.Info |
getUpdatedBy()
Gets the user who last modified this file request.
|
URL |
getUrl()
Gets the URL can be shared with users to let them upload files to the associated folder.
|
void |
setBaseUrl(String baseUrl)
Sets the base URL for the upload files link.
|
void |
setDescription(String description)
Sets the description of this file request.
|
void |
setExpiresAt(Date expiresAt)
Sets the date after which a file request will no longer accept new submissions.
|
void |
setIsDescriptionRequired(Boolean isDescriptionRequired)
Sets whether a file request submitter is required to provide a description of the files they are submitting.
|
void |
setIsEmailRequired(Boolean isEmailRequired)
Sets whether a file request submitter is required to provide their email address.
|
void |
setStatus(BoxFileRequest.Status status)
Sets the status of the file request.
|
void |
setTitle(String title)
Sets the title of file request.
|
getID
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public Info()
public BoxFileRequest getResource()
BoxResource.Info
getResource
in class BoxResource.Info
public Date getCreatedAt()
public BoxUser.Info getCreatedBy()
public String getDescription()
public void setDescription(String description)
description
- the file request's new description.public String getEtag()
public Date getExpiresAt()
public void setExpiresAt(Date expiresAt)
expiresAt
- the date after which a file request will no longer accept new submissions.public BoxFolder.Info getFolder()
public Boolean getIsDescriptionRequired()
public void setIsDescriptionRequired(Boolean isDescriptionRequired)
isDescriptionRequired
- whether a file request submitter is required to provide a description of the
files they are submitting.public Boolean getIsEmailRequired()
public void setIsEmailRequired(Boolean isEmailRequired)
isEmailRequired
- whether a file request submitter is required to provide their email address.public BoxFileRequest.Status getStatus()
public void setStatus(BoxFileRequest.Status status)
status
- the status of the file requestpublic String getTitle()
public void setTitle(String title)
title
- the title of file request.public Date getUpdatedAt()
public BoxUser.Info getUpdatedBy()
public URL getUrl()
public String getBaseUrl()
public void setBaseUrl(String baseUrl) throws MalformedURLException
baseUrl
- the base url including protocol and hostname.MalformedURLException
- when baseUrl format is invalid.