public class BoxSharedLink extends BoxJsonObject
| Modifier and Type | Class and Description |
|---|---|
static class |
BoxSharedLink.Access
Enumerates the possible access levels that can be set on a shared link.
|
static class |
BoxSharedLink.Permissions
Contains permissions fields that can be set on a shared link.
|
BoxJsonObject.BoxJsonObjectCreator<E extends BoxJsonObject>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_ACCESS |
static java.lang.String |
FIELD_DOWNLOAD_COUNT |
static java.lang.String |
FIELD_DOWNLOAD_URL |
static java.lang.String |
FIELD_EFFECTIVE_ACCESS |
static java.lang.String |
FIELD_IS_PASSWORD_ENABLED |
static java.lang.String |
FIELD_PASSWORD |
static java.lang.String |
FIELD_PERMISSIONS |
static java.lang.String |
FIELD_PREVIEW_COUNT |
static java.lang.String |
FIELD_UNSHARED_AT |
static java.lang.String |
FIELD_URL |
static java.lang.String |
FIELD_VANITY_URL |
| Constructor and Description |
|---|
BoxSharedLink()
Constructs a BoxSharedLink with default settings.
|
BoxSharedLink(com.eclipsesource.json.JsonObject object)
Constructs a BoxSharedLink with the provided map values.
|
| Modifier and Type | Method and Description |
|---|---|
BoxSharedLink.Access |
getAccess()
Gets the access level of this shared link.
|
java.lang.Long |
getDownloadCount()
Gets the number of times that this shared link has been downloaded.
|
java.lang.String |
getDownloadURL()
Gets the direct download URL of this shared link.
|
BoxSharedLink.Access |
getEffectiveAccess()
Gets the effective access level of this shared link, can differ from actual access and this value
controls actual behavior of the link.
|
java.lang.Boolean |
getIsPasswordEnabled()
Gets whether or not a password is enabled on this shared link.
|
java.lang.String |
getPassword()
Gets the password for this shared link.
|
BoxSharedLink.Permissions |
getPermissions()
Gets the permissions associated with this shared link.
|
java.lang.Long |
getPreviewCount()
Gets the number of times that this shared link has been previewed.
|
java.util.Date |
getUnsharedDate()
Gets the time that this shared link will be deactivated.
|
java.lang.String |
getURL()
Get the URL of this shared link.
|
java.lang.String |
getVanityURL()
Gets the vanity URL of this shared link.
|
addInJsonArray, addInJsonArray, createFromJson, createFromJson, equals, getBoxJsonObjectCreator, getPropertiesKeySet, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsJsonArray, getPropertyAsJsonObject, getPropertyAsJsonObjectArray, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringHashSet, getPropertyValue, hashCode, parseJSONMember, remove, set, set, set, set, set, set, set, set, set, toJson, toJsonObjectpublic static final java.lang.String FIELD_URL
public static final java.lang.String FIELD_DOWNLOAD_URL
public static final java.lang.String FIELD_VANITY_URL
public static final java.lang.String FIELD_IS_PASSWORD_ENABLED
public static final java.lang.String FIELD_UNSHARED_AT
public static final java.lang.String FIELD_DOWNLOAD_COUNT
public static final java.lang.String FIELD_PREVIEW_COUNT
public static final java.lang.String FIELD_ACCESS
public static final java.lang.String FIELD_PERMISSIONS
public static final java.lang.String FIELD_EFFECTIVE_ACCESS
public static final java.lang.String FIELD_PASSWORD
public BoxSharedLink()
public BoxSharedLink(com.eclipsesource.json.JsonObject object)
object - JsonObject representing this classpublic java.lang.String getURL()
public java.lang.String getDownloadURL()
public java.lang.String getVanityURL()
public java.lang.Boolean getIsPasswordEnabled()
public java.util.Date getUnsharedDate()
public java.lang.Long getDownloadCount()
public java.lang.Long getPreviewCount()
public BoxSharedLink.Access getAccess()
public java.lang.String getPassword()
public BoxSharedLink.Access getEffectiveAccess()
public BoxSharedLink.Permissions getPermissions()