_Rule Notification

_RuleNotification

_RuleNotification Objects

class _RuleNotification()

Defines the builder to configure a _RuleNotification

constructor
function  -> '_RuleNotification'

Constructor

Arguments:

  • parent RuleConfigurations - RuleConfiguration object
  • notificationData Object - notification data to manage

Returns:

  • _RuleNotification

disableBearer
function disableBearer(bearerName: string) -> '_RuleNotification'

Disables selected bearer

Arguments:

  • bearerName string

Returns:

  • _RuleNotification

enableBearer
function enableBearer(bearerName: string,bearerEnabled: boolean) -> '_RuleNotification'

Enables selected bearer

Arguments:

  • bearerName string
  • bearerEnabled boolean

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:

  • bearerName string
  • bearerRecipients Array

Returns:

  • _RuleNotification

setEnabled
function setEnabled(enabled: boolean) -> '_RuleNotification'

Set the delay of the notification

Arguments:

  • enabled boolean

Returns:

  • _RuleNotification