Package com.mypurecloud.sdk.v2.model
Class CommonAlert
java.lang.Object
com.mypurecloud.sdk.v2.model.CommonAlert
- All Implemented Interfaces:
Serializable
CommonAlert
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates if an alert is currently active.alertSummary(AlertSummary alertSummary) Summary of the alert status of the entities defined in the conditions.conditions(CommonRuleConditions conditions) The conditions that make up the rule.conversationId(String conversationId) The id of the conversation instance that caused the alert to trigger.The timestamp of when the alert ended.dateMutedUntil(Date dateMutedUntil) Timestamp of when the mute status of the alert should end.dateSnoozedUntil(Date dateSnoozedUntil) Timestamp of when the snooze status of the alert should end.The timestamp of when the alert was created.booleangetId()getMuted()getName()getRule()getUser()inthashCode()Flag indicating if the alert is in a muted state.notifications(List<AlertNotification> notifications) The collection of notification methods and the ids of users who were notified by those methods.rule(AlertRuleProperties rule) The properties of the rule that triggered the alert.voidvoidsetAlertSummary(AlertSummary alertSummary) voidsetConditions(CommonRuleConditions conditions) voidsetConversationId(String conversationId) voidsetDateEnd(Date dateEnd) voidsetDateMutedUntil(Date dateMutedUntil) voidsetDateSnoozedUntil(Date dateSnoozedUntil) voidsetDateStart(Date dateStart) voidvoidvoidsetNotifications(List<AlertNotification> notifications) voidsetRule(AlertRuleProperties rule) voidsetRuleUri(String ruleUri) voidsetSnoozed(Boolean snoozed) voidvoidsetUser(UserReference user) voidsetWaitBetweenNotificationMs(Long waitBetweenNotificationMs) Flag indicating if the alert is in a snoozed state.toString()Indicates if an alert has not been read.user(UserReference user) The user who created the rule that triggered the alert.waitBetweenNotificationMs(Long waitBetweenNotificationMs) The amount of time to wait between notification.
-
Constructor Details
-
CommonAlert
public CommonAlert() -
CommonAlert
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
user
The user who created the rule that triggered the alert. -
getUser
-
setUser
-
rule
The properties of the rule that triggered the alert. -
getRule
-
setRule
-
notifications
The collection of notification methods and the ids of users who were notified by those methods. -
getNotifications
-
setNotifications
-
dateStart
The timestamp of when the alert was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateStart
-
setDateStart
-
dateEnd
The timestamp of when the alert ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateEnd
-
setDateEnd
-
active
Indicates if an alert is currently active. -
getActive
-
setActive
-
unread
Indicates if an alert has not been read. -
getUnread
-
setUnread
-
waitBetweenNotificationMs
The amount of time to wait between notification. Time is in milliseconds. -
getWaitBetweenNotificationMs
-
setWaitBetweenNotificationMs
-
muted
Flag indicating if the alert is in a muted state. -
getMuted
-
setMuted
-
snoozed
Flag indicating if the alert is in a snoozed state. -
getSnoozed
-
setSnoozed
-
dateMutedUntil
Timestamp of when the mute status of the alert should end. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateMutedUntil
-
setDateMutedUntil
-
dateSnoozedUntil
Timestamp of when the snooze status of the alert should end. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateSnoozedUntil
-
setDateSnoozedUntil
-
conditions
The conditions that make up the rule. -
getConditions
-
setConditions
-
conversationId
The id of the conversation instance that caused the alert to trigger. -
getConversationId
-
setConversationId
-
alertSummary
Summary of the alert status of the entities defined in the conditions. Is set when rule has instance-based or team member based rule predicates -
getAlertSummary
-
setAlertSummary
-
ruleUri
-
getRuleUri
-
setRuleUri
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-