public class RecycleBinDocumentJson extends BaseJson
Constructor and Description |
---|
RecycleBinDocumentJson() |
Modifier and Type | Method and Description |
---|---|
DocumentAccessLevel |
getAccessLevel()
Access level
|
String |
getContentType()
Content type
|
Date |
getDeleteDate()
Delete date
|
String |
getDeletingUserAddress()
Deleting user email address
|
DocumentCurrentVersionJson |
getDocumentCurrentVersion()
A json which represents the current version of the file
|
String |
getDocumentName()
Use 'name' instead
|
long |
getDownloadPdfSize() |
long |
getDownloadSize() |
Date |
getExpires()
Expires date
|
String |
getFilename()
Name of a file.
|
String |
getFolder()
File's folder, for example: /office/docs
|
String |
getFolderUuid()
File's folder uuid
|
String |
getGuid()
Signed GUID of a file, created by the server.
|
Integer |
getId()
Id
|
Date |
getLastUpdated()
Date of creation or last update of the file.
|
Date |
getLastUpdateDate()
Use 'lastUpdated' instead
|
String |
getName()
Name
|
Long |
getOriginalSize()
Original size
|
Integer |
getPendingRequests()
Pending requests
|
Integer |
getPercentCompleted()
Progress status.
|
PermissionsToUserJson |
getPermissionsJson()
Permissions, in some contexts may be null.
|
String |
getPreviewUrl()
Preview URL
|
Date |
getRecentlyViewed()
not supported any longer - info is meaningless
|
String |
getRoom()
Id of the workspace the file has been submitted to.
|
Float |
getScore()
The score of the file in the current search
|
String |
getSender()
Email address of sender
|
StatusJson |
getStatus()
Status, status number and error string in case of error.
|
String |
getType()
Use 'contentType' instead
|
String |
getUrl()
URL of a (protected) file.
|
String |
getWorkspaceName()
Workspace name
|
boolean |
isRead()
Will be true if the last file was read since its last update.
|
boolean |
isSecureTransferFile()
Secure transfer file
|
boolean |
isStarred()
Will be true if the file was marked as starred (favorite).
|
void |
setAccessLevel(DocumentAccessLevel accessLevel)
Access level
|
void |
setContentType(String contentType)
Content type
|
void |
setDeleteDate(Date deleteDate)
Delete date
|
void |
setDeletingUserAddress(String deletingUserAddress)
Deleting user email address
|
void |
setDocumentCurrentVersion(DocumentCurrentVersionJson documentCurrentVersion)
A json which represents the current version of the file
|
void |
setDocumentName(String documentName)
Use 'name' instead
|
void |
setDownloadPdfSize(long downloadPdfSize) |
void |
setDownloadSize(long downloadSize) |
void |
setExpires(Date expires)
Expires date
|
void |
setFilename(String filename)
Name of a file.
|
void |
setFolder(String folder)
File's folder, for example: /office/docs
|
void |
setFolderUuid(String folderUuid)
File's folder uuid
|
void |
setGuid(String guid)
Signed GUID of a file, created by the server.
|
void |
setId(Integer id)
Id
|
void |
setLastUpdated(Date lastUpdated)
Date of creation or last update of the file.
|
void |
setLastUpdateDate(Date lastUpdateDate)
Use 'lastUpdated' instead
|
void |
setName(String name)
Name
|
void |
setOriginalSize(Long originalSize)
Original size
|
void |
setPendingRequests(Integer pendingRequests)
Pending requests
|
void |
setPercentCompleted(Integer percentCompleted)
Progress status.
|
void |
setPermissionsJson(PermissionsToUserJson permissionsJson)
Permissions, in some contexts may be null.
|
void |
setPreviewUrl(String previewUrl)
Preview URL
|
void |
setRead(boolean read)
Will be true if the last file was read since its last update.
|
void |
setRecentlyViewed(Date recentlyViewed)
not supported any longer - info is meaningless
|
void |
setRoom(String room)
Id of the workspace the file has been submitted to.
|
void |
setScore(Float score)
The score of the file in the current search
|
void |
setSecureTransferFile(boolean secureTransferFile)
Secure transfer file
|
void |
setSender(String sender)
Email address of sender
|
void |
setStarred(boolean starred)
Will be true if the file was marked as starred (favorite).
|
void |
setStatus(StatusJson status)
Status, status number and error string in case of error.
|
void |
setType(String type)
Use 'contentType' instead
|
void |
setUrl(String url)
URL of a (protected) file.
|
void |
setWorkspaceName(String workspaceName)
Workspace name
|
getObjType, setObjType, toString
public Integer getPercentCompleted()
public void setPercentCompleted(Integer percentCompleted)
percentCompleted
- Progress status.public Date getExpires()
public void setExpires(Date expires)
expires
- Expires datepublic String getPreviewUrl()
public void setPreviewUrl(String previewUrl)
previewUrl
- Preview URLpublic long getDownloadPdfSize()
public void setDownloadPdfSize(long downloadPdfSize)
public Integer getPendingRequests()
public void setPendingRequests(Integer pendingRequests)
pendingRequests
- Pending requestspublic Date getLastUpdateDate()
public void setLastUpdateDate(Date lastUpdateDate)
lastUpdateDate
- Use 'lastUpdated' insteadpublic String getType()
public void setType(String type)
type
- Use 'contentType' insteadpublic Date getLastUpdated()
public void setLastUpdated(Date lastUpdated)
lastUpdated
- Date of creation or last update of the file.public Float getScore()
public void setScore(Float score)
score
- The score of the file in the current searchpublic boolean isStarred()
public void setStarred(boolean starred)
starred
- Will be true if the file was marked as starred
(favorite).public String getWorkspaceName()
public void setWorkspaceName(String workspaceName)
workspaceName
- Workspace namepublic Integer getId()
public void setId(Integer id)
id
- Idpublic Long getOriginalSize()
public void setOriginalSize(Long originalSize)
originalSize
- Original sizepublic String getContentType()
public void setContentType(String contentType)
contentType
- Content typepublic String getDeletingUserAddress()
public void setDeletingUserAddress(String deletingUserAddress)
deletingUserAddress
- Deleting user email addresspublic Date getDeleteDate()
public void setDeleteDate(Date deleteDate)
deleteDate
- Delete datepublic boolean isRead()
public void setRead(boolean read)
read
- Will be true if the last file was read since its last
update.public DocumentAccessLevel getAccessLevel()
public void setAccessLevel(DocumentAccessLevel accessLevel)
accessLevel
- Access levelpublic boolean isSecureTransferFile()
public void setSecureTransferFile(boolean secureTransferFile)
secureTransferFile
- Secure transfer filepublic String getDocumentName()
public void setDocumentName(String documentName)
documentName
- Use 'name' insteadpublic String getFolderUuid()
public void setFolderUuid(String folderUuid)
folderUuid
- File's folder uuidpublic PermissionsToUserJson getPermissionsJson()
public void setPermissionsJson(PermissionsToUserJson permissionsJson)
permissionsJson
- Permissions, in some contexts may be null.public DocumentCurrentVersionJson getDocumentCurrentVersion()
public void setDocumentCurrentVersion(DocumentCurrentVersionJson documentCurrentVersion)
documentCurrentVersion
- A json which represents the current
version of the filepublic String getUrl()
public void setUrl(String url)
url
- URL of a (protected) file.public String getRoom()
public void setRoom(String room)
room
- Id of the workspace the file has been submitted to.public Date getRecentlyViewed()
public void setRecentlyViewed(Date recentlyViewed)
recentlyViewed
- not supported any longer - info is meaninglesspublic String getFolder()
public void setFolder(String folder)
folder
- File's folder, for example: /office/docspublic String getFilename()
public void setFilename(String filename)
filename
- Name of a file.public long getDownloadSize()
public void setDownloadSize(long downloadSize)
public String getSender()
public void setSender(String sender)
sender
- Email address of senderpublic String getName()
public void setName(String name)
name
- Namepublic String getGuid()
public void setGuid(String guid)
guid
- Signed GUID of a file, created by the server.public StatusJson getStatus()
public void setStatus(StatusJson status)
status
- Status, status number and error string in case of error.Copyright © 2019. All rights reserved.