fun toJSONString(): String
Ensures alarm can be transformed into a JSON String so that it can be sent to Cumulocity NOTE: You do not need to use this method. It is called implicitly when using the AlarmsService post or AlarmsService put method
Return
JSON formatted string complying to Cumulocity REST definition