api/gauges/:id?format=map&begin=...

Hierarchy (view full)

Constructors

  • Parameters

    • json: {
          id: string;
          latitude: number;
          longitude: number;
          name: string;
          description: string;
          team: string | TeamNode;
          configurationAsJSON?: string;
          map?: string;
          links?: Link[] | RaainNode[];
          version?: string;
      }
      • id: string
      • latitude: number
      • longitude: number
      • name: string
      • description: string
      • team: string | TeamNode
      • Optional configurationAsJSON?: string
      • Optional map?: string
      • Optional links?: Link[] | RaainNode[]
      • Optional version?: string

    Returns GaugeNodeMap

Properties

TYPE: string = 'gauge'

Type identifier for gauge nodes

name: string

Name of the gauge station

description: string

Description of the gauge station

latitude: number

Latitude of the gauge station

longitude: number

Longitude of the gauge station

team: TeamNode

Associated team

id: string

Unique identifier for the node

version: string

Version string of the node

Accessors

Methods

  • Converts the gauge node to a JSON object.

    Returns {
        name: string;
        description: string;
        latitude: number;
        longitude: number;
        team: string | TeamNode;
        configurationAsJSON: string;
        map: string;
        id: string;
        links: Link[];
        version?: string;
    }

    A JSON object containing the gauge node's data

    • name: string
    • description: string
    • latitude: number
    • longitude: number
    • team: string | TeamNode
    • configurationAsJSON: string
    • map: string
    • id: string
    • links: Link[]
    • Optional version?: string
  • Gets the count of links, optionally filtered by type.

    Parameters

    • Optional linkType: string

      Optional type of links to count

    Returns number

    The number of links