Cumulocity API Services / com.softwareag.jc.cumulocity.services.models / Event / <init>

<init>

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

Parameters

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