public class BoxZipItem extends Object
| Constructor and Description | 
|---|
BoxZipItem(String type,
          String id)
Constructs a base BoxZipItem object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getID()
Gets the item ID. 
 | 
JsonObject | 
getJSONObject()
Gets a JSON object reprsenting this class. 
 | 
String | 
getType()
Gets the item type. 
 | 
public BoxZipItem(String type, String id)
type - item type, "file" or "folder".id - id of the the item.public JsonObject getJSONObject()