Home Manual Reference Source Test Repository
public class | source

RuleConfigurationsActions

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

cloneTo(newRuleName: string, newRuleOpenAction: boolean, newRuleCloseAction: string, newRuleNotifications: boolean): Promise

Clones a rule configuration into a new one

Public Constructors

public constructor(ogapi: InternalOpenGateAPI, name: string) source

Constructor

Params:

NameTypeAttributeDescription
ogapi InternalOpenGateAPI

this is configuration about Opengate North API.

name string

Identifier of the ryule configuration to operate

Public Methods

public cloneTo(newRuleName: string, newRuleOpenAction: boolean, newRuleCloseAction: string, newRuleNotifications: boolean): Promise source

Clones a rule configuration into a new one

Params:

NameTypeAttributeDescription
newRuleName string
newRuleOpenAction boolean
newRuleCloseAction string
newRuleNotifications boolean

Return:

Promise

Throw:

Error