public class WebLink extends WebLinkMini
Web link objects are treated similarly to file objects, they will also support most actions that apply to regular files.
| Modifier and Type | Class and Description |
|---|---|
static class |
WebLink.AllowedSharedLinkAccessLevelsDeserializer |
static class |
WebLink.AllowedSharedLinkAccessLevelsSerializer |
static class |
WebLink.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<EnumWrapper<WebLinkAllowedSharedLinkAccessLevelsField>> |
allowedSharedLinkAccessLevels
The shared link access levels the authenticated user is allowed to use when creating or
updating a shared link for this web link.
|
protected List<Collection> |
collections
The collections that this web link belongs to.
|
protected OffsetDateTime |
createdAt
When this file was created on Box’s servers.
|
protected UserMini |
createdBy |
protected String |
description
The description accompanying the web link.
|
protected EnumWrapper<WebLinkItemStatusField> |
itemStatus
Whether this item is deleted or not.
|
protected OffsetDateTime |
modifiedAt
When this file was last updated on the Box servers.
|
protected UserMini |
modifiedBy |
protected UserMini |
ownedBy |
protected FolderMini |
parent |
protected WebLinkPathCollectionField |
pathCollection |
protected OffsetDateTime |
purgedAt
When this file will be permanently deleted.
|
protected WebLinkSharedLinkField |
sharedLink |
protected OffsetDateTime |
trashedAt
When this file was moved to the trash.
|
name, sequenceId, urletag, id, typeexplicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
WebLink(String id) |
protected |
WebLink(WebLink.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<EnumWrapper<WebLinkAllowedSharedLinkAccessLevelsField>> |
getAllowedSharedLinkAccessLevels() |
List<Collection> |
getCollections() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
String |
getDescription() |
EnumWrapper<WebLinkItemStatusField> |
getItemStatus() |
OffsetDateTime |
getModifiedAt() |
UserMini |
getModifiedBy() |
UserMini |
getOwnedBy() |
FolderMini |
getParent() |
WebLinkPathCollectionField |
getPathCollection() |
OffsetDateTime |
getPurgedAt() |
WebLinkSharedLinkField |
getSharedLink() |
OffsetDateTime |
getTrashedAt() |
int |
hashCode() |
String |
toString() |
getName, getSequenceId, getUrlgetEtag, getId, getTypegetRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected FolderMini parent
protected String description
protected WebLinkPathCollectionField pathCollection
protected OffsetDateTime createdAt
protected OffsetDateTime modifiedAt
protected OffsetDateTime trashedAt
protected OffsetDateTime purgedAt
protected UserMini modifiedBy
protected WebLinkSharedLinkField sharedLink
protected EnumWrapper<WebLinkItemStatusField> itemStatus
protected List<Collection> collections
For more information, see the [collections guide](https://developer.box.com/guides/collections).
protected List<EnumWrapper<WebLinkAllowedSharedLinkAccessLevelsField>> allowedSharedLinkAccessLevels
The list depends on item policy and user authorization, so it may be narrower than the levels available to the owner. An empty array means no access level is available to this user.
protected WebLink(WebLink.Builder builder)
public FolderMini getParent()
public String getDescription()
public WebLinkPathCollectionField getPathCollection()
public OffsetDateTime getCreatedAt()
public OffsetDateTime getModifiedAt()
public OffsetDateTime getTrashedAt()
public OffsetDateTime getPurgedAt()
public UserMini getCreatedBy()
public UserMini getModifiedBy()
public UserMini getOwnedBy()
public WebLinkSharedLinkField getSharedLink()
public EnumWrapper<WebLinkItemStatusField> getItemStatus()
public List<Collection> getCollections()
public List<EnumWrapper<WebLinkAllowedSharedLinkAccessLevelsField>> getAllowedSharedLinkAccessLevels()
public boolean equals(Object o)
equals in class WebLinkMinipublic int hashCode()
hashCode in class WebLinkMinipublic String toString()
toString in class WebLinkMini