Class OnmsCollectType

Represents an OpenNMS SNMP interface "should collect" type.

Hierarchy

  • OnmsEnum<string>
    • OnmsCollectType

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 collect type object

    Parameters

    • Optionalid: string

    Returns any

  • given a label, return the matching collect type object

    Parameters

    • Optionallabel: string

    Returns any