public class DeviceAlertCreateRequest extends DeviceEventCreateRequest implements IDeviceAlertCreateRequest, java.io.Serializable
DeviceAlert
via REST APIs.Modifier and Type | Class and Description |
---|---|
static class |
DeviceAlertCreateRequest.Builder |
Constructor and Description |
---|
DeviceAlertCreateRequest() |
Modifier and Type | Method and Description |
---|---|
AlertLevel |
getLevel()
Get alert severity.
|
java.lang.String |
getMessage()
Get the alert message.
|
AlertSource |
getSource()
Get source of device alert.
|
java.lang.String |
getType()
Get the alert type indicator.
|
void |
setLevel(AlertLevel level) |
void |
setMessage(java.lang.String message) |
void |
setSource(AlertSource source) |
void |
setType(java.lang.String type) |
getEventDate, getMetadata, isUpdateState, setEventDate, setMetadata, setUpdateState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventDate, getMetadata, isUpdateState, setUpdateState
public AlertSource getSource()
IDeviceAlertCreateRequest
getSource
in interface IDeviceAlertCreateRequest
public void setSource(AlertSource source)
public AlertLevel getLevel()
IDeviceAlertCreateRequest
getLevel
in interface IDeviceAlertCreateRequest
public void setLevel(AlertLevel level)
public java.lang.String getType()
IDeviceAlertCreateRequest
getType
in interface IDeviceAlertCreateRequest
public void setType(java.lang.String type)
public java.lang.String getMessage()
IDeviceAlertCreateRequest
getMessage
in interface IDeviceAlertCreateRequest
public void setMessage(java.lang.String message)