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;
    }

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

    Parameters

    • Optional label: string

    Returns any