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.Builder |
| Modifier and Type | Field and Description |
|---|---|
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) |
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 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 boolean equals(Object o)
equals in class WebLinkMinipublic int hashCode()
hashCode in class WebLinkMinipublic String toString()
toString in class WebLinkMini