Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected _changes

_changes: HashMap

Map of unsaved property changes

Protected Optional _init_sub

_init_sub: Subscription

Subscription for initialisation events

Protected _server_names

_server_names: HashMap

Map of local property names to server ones

Protected _service

Protected _version

_version: number

Version of the data

activated_count

activated_count: string

Number of times the trigger has been activated/triggered

changeEvents

changeEvents: Subject<EngineDataClassEvent> = new Subject<EngineDataClassEvent>()

Subject for change events to the class object

control_system_id

control_system_id: string

ID of the system associated with the trigger

created_at

created_at: number

Unix epoch in seconds of the creation time of the object

debounce_period

debounce_period: number

Duration with which to ignore sequential activations of the trigger

description

description: string

Description of the trigger

enable_webhook

enable_webhook: boolean

Whether the trigger can call webhooks

enabled

enabled: boolean

Whether trigger is enabled on the associated zone or system

id

id: string

Unique Identifier of the object

important

important: boolean

Whether the trigger should take priority

name

name: string

Human readable name of the object

supported_methods

supported_methods: keyof HttpVerb[]

HTTP verbs supported by the webhook

system_name

system_name: string

Name of the system assocaited with the trigger

zone_id

zone_id: string

ID of the zone associated with the trigger

Accessors

actions

changes

conditions

system_id

  • get system_id(): string

Methods

Protected change

  • change<U>(prop_name: string, value: U): void

clearPendingChanges

  • clearPendingChanges(): void

delete

  • delete(): Promise<void>

emit

save

storePendingChange

toJSON

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc