public class BoxCollection.Info extends BoxResource.Info
Constructor and Description |
---|
Info()
Constructs an empty Info object.
|
Info(String json)
Constructs an Info object by parsing information from a JSON string.
|
Modifier and Type | Method and Description |
---|---|
String |
getCollectionType()
Gets the type of the collection.
|
String |
getName()
Gets the name of the collection.
|
BoxCollection |
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.
|
getID
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public Info()
public String getCollectionType()
public String getName()
public BoxCollection getResource()
BoxResource.Info
getResource
in class BoxResource.Info
protected void parseJSONMember(JsonObject.Member member)
BoxJSONObject
Subclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
member
- the JSON member to be parsed.