_Rule Notification
_RuleNotification
_RuleNotification Objects
class _RuleNotification()Defines the builder to configure a _RuleNotification
constructor
function -> '_RuleNotification'Constructor
Arguments:
parentRuleConfigurations - RuleConfiguration objectnotificationDataObject - notification data to manage
Returns:
_RuleNotification
disableBearer
function disableBearer(bearerName: string) -> '_RuleNotification'Disables selected bearer
Arguments:
bearerNamestring
Returns:
_RuleNotification
enableBearer
function enableBearer(bearerName: string,bearerEnabled: boolean) -> '_RuleNotification'Enables selected bearer
Arguments:
bearerNamestringbearerEnabledboolean
Returns:
_RuleNotification
parent
function parent() -> 'RuleConfiguration'Returns parent
Returns:
RuleConfiguration
setBearerRecipients
function setBearerRecipients(bearerName: string,bearerRecipients: Array) -> '_RuleNotification'Sets recipients to the selected bearer
Arguments:
bearerNamestringbearerRecipientsArray
Returns:
_RuleNotification
setEnabled
function setEnabled(enabled: boolean) -> '_RuleNotification'Set the delay of the notification
Arguments:
enabledboolean
Returns:
_RuleNotification