Class UserVdcResourceAlertUpdateRequest
java.lang.Object
com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
com.iland.core.web.rest.request.notification.UserVdcResourceAlertUpdateRequest
- All Implemented Interfaces:
Serializable
User Vdc Resource Alert Update Request.
- Author:
- Nick Kasprzak
- See Also:
-
Field Summary
FieldsFields inherited from class com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
action, breachPeriod, equalityRelation, group, name, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the alerting threshold at which the user wants to receive alerts for the counter specified by group, name and type.booleanSet whether the alert is enabled.Methods inherited from class com.iland.core.web.rest.request.notification.AbstractResourceAlertRequest
getAction, getBreachPeriod, getGroup, getName, getRelation, getType
-
Field Details
-
enabled
@Since(1.0) @Expose protected boolean enabled
-
-
Constructor Details
-
UserVdcResourceAlertUpdateRequest
-
-
Method Details
-
getThreshold
public long getThreshold()Get the alerting threshold at which the user wants to receive alerts for the counter specified by group, name and type.- Returns:
- alerting threshold
-
isEnabled
public boolean isEnabled()Set whether the alert is enabled.- Returns:
- enabled
-