Implements

Constructors

Properties

attributes: MonitorAttributes
id: string
monitorManager: MonitorManager
originalAttributes: MonitorAttributes
relationships: undefined | MonitorRelationships
type: "monitor" = ...

Methods

  • Parameters

    • paused: boolean

    Returns Promise<void>

  • Loads monitor's attributes fresh from the API

    Returns Promise<boolean>

    Was the operation succesful?

  • Moves the monitor to a monitor group

    Parameters

    • group: null | string

      Monitor group ID, or null to remove from group.

    Returns Promise<boolean>

  • Saves changes to the API

    Returns Promise<boolean>

    Was the operation succesful?

Generated using TypeDoc