public class BoxEvent extends BoxResource
Modifier and Type | Class and Description |
---|---|
static class |
BoxEvent.Type
Enumerates the possible types for an event.
|
BoxResource.Info
Constructor and Description |
---|
BoxEvent(BoxAPIConnection api,
String json)
Constructs a BoxEvent from a JSON string.
|
Modifier and Type | Method and Description |
---|---|
BoxResource |
getSource()
Gets the source of this event.
|
BoxEvent.Type |
getType()
Gets the type of this event.
|
equals, getAPI, getID, hashCode
public BoxEvent(BoxAPIConnection api, String json)
api
- the API connection to be used by the file.json
- the JSON encoded event.public BoxResource getSource()
public BoxEvent.Type getType()