OpenNMS.js - v2.7.2-SNAPSHOT
    Preparing search index...

    Class OnmsSnmpStatusType

    Represents an OpenNMS SNMP admin/oper status type.

    Hierarchy

    • OnmsEnum<number>
      • OnmsSnmpStatusType

    Implements

    Index
    • get label(): string

      get the label of this enum entry

      Returns string

    • Parameters

      • pattern: string | RegExp
      • replaceWith: string

      Returns string

    • convert this enum to a string suitable for display

      Returns string

    • convert to the JSON representation

      Returns {
          id: number;
          label: string;
          replace: (pattern: string | RegExp, replaceWith: string) => string;
      }

    • convert this enum to a string

      Returns number

    • Given an ID, return the matching snmp status type object.

      Parameters

      • Optionalid: number

      Returns any

    • Given a label, return the matching snmp status type object.

      Parameters

      • Optionallabel: string

      Returns any