Event(o: JSONObject)
Alternative constructor used internally to parse JSON response returned by Cumulocity
Event(source: Event.Source, type: String, text: String)
Create a new Event to be posted to Cumulocity
source - identifies associated device/object
type - label to allow events to be grouped/typed
text - arbritary text describing event
Constructor
Create a new Event to be posted to Cumulocity