public class BoxSharedLinkRequestEntity extends MapJSONStringEntity
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BoxSharedLinkRequestEntity(String accessLevel) |
| Modifier and Type | Method and Description |
|---|---|
BoxSharedLinkRequestEntity |
setAccess(String accessLevel)
Set access String.
|
void |
setPermissions(boolean canDownload)
Set permissions
|
void |
setUnshared_at(Date unsharedAt)
Set the time to unshare the link.
|
toJSONStringclear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic BoxSharedLinkRequestEntity(String accessLevel)
accessLevel - access(String can be the strings defined in BoxSharedLinkAccess.)public BoxSharedLinkRequestEntity setAccess(String accessLevel)
BoxSharedLinkAccess.accessLevel - accesspublic void setUnshared_at(Date unsharedAt)
Date by
ISO8601DateParserunsharedAt - time to unshare the linkpublic void setPermissions(boolean canDownload)
canDownload - Whether shared item can be downloaded.Copyright © 2014. All Rights Reserved.