Rule Configurations Actions

RuleConfigurationsActions

RuleConfigurationsActions Objects

class RuleConfigurationsActions()
constructor
function constructor()

Constructor

Arguments:

  • ogapi InternalOpenGateAPI - this is configuration about Opengate North API.
  • name string - Identifier of the ryule configuration to operate

cloneTo
function cloneTo(newRuleName: string,newRuleOpenAction: boolean,newRuleCloseAction: string,newRuleNotifications: boolean) -> 'Promise'

Clones a rule configuration into a new one

Arguments:

  • newRuleName string
  • newRuleOpenAction boolean
  • newRuleCloseAction string
  • newRuleNotifications boolean

Returns:

  • Promise