public class BoxWebLink.Info extends BoxItem.Info
| Constructor and Description |
|---|
Info()
Constructs an empty Info object.
|
Info(JsonObject jsonObject)
Constructs an Info object using an already parsed JSON object.
|
Info(String json)
Constructs an Info object by parsing information from a JSON string.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the description of this weblink.
|
URL |
getLinkURL()
Gets the URL this weblink points to.
|
BoxWebLink |
getResource()
Gets the resource associated with this Info.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
getCollections, getContentCreatedAt, getContentModifiedAt, getCreatedAt, getCreatedBy, getDownloadUrl, getEtag, getExpiresAt, getItemStatus, getModifiedAt, getModifiedBy, getName, getOwnedBy, getParent, getPathCollection, getPurgedAt, getSequenceID, getSharedLink, getSize, getTags, getTrashedAt, getType, removeSharedLink, setCollections, setDescription, setName, setSharedLink, setTagsgetIDclearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObjectpublic Info()
public Info(String json)
json - the JSON string to parse.public Info(JsonObject jsonObject)
jsonObject - the parsed JSON object.public BoxWebLink getResource()
BoxResource.InfogetResource in class BoxResource.Infopublic String getDescription()
getDescription in class BoxItem.Infopublic URL getLinkURL()
protected void parseJSONMember(JsonObject.Member member)
BoxJSONObjectSubclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
parseJSONMember in class BoxItem.Infomember - the JSON member to be parsed.