Class OnmsPrimaryType

Represents an OpenNMS "SNMP primary" type.

Hierarchy

  • OnmsEnum<string>
    • OnmsPrimaryType

Implements

Constructors

Accessors

Methods

  • convert this enum to a string suitable for display

    Returns string

  • convert to the JSON representation

    Returns { id: string; label: string }

  • Given an ID, return the matching primary type object.

    Parameters

    • Optionalid: string

    Returns any

  • Given a label, return the matching primary type object.

    Parameters

    • Optionallabel: string

    Returns any