Cumulocity API Services / com.softwareag.jc.cumulocity.services.models / RequiredAvailability

RequiredAvailability

data class RequiredAvailability : JsonSerializable

Used by Cumulocity to determine Availability, the status will be assumed to 'UNAVAILABLE' if no message or event is received by Cumulocity within the time period (minutes) represented by the response interval property.

Set the value to -1 to set the device to 'MAINTENANCE' mode. This will ensure that Cumulocity will not trigger any unnecessary alarms whilst the device is being updated etc.

Constructors

<init>

RequiredAvailability(responseInterval: Int)

Used by Cumulocity to determine Availability, the status will be assumed to 'UNAVAILABLE' if no message or event is received by Cumulocity within the time period (minutes) represented by the response interval property.

Properties

responseInterval

val responseInterval: Int

measured in minutes, used by Cumulocity to determine device status

Functions

toJSONString

fun toJSONString(): String