// Code generated by "stringer -type=OperationalState -linecomment"; DO NOT EDIT.

package nethelpers

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[OperStateUnknown-0]
	_ = x[OperStateNotPresent-1]
	_ = x[OperStateDown-2]
	_ = x[OperStateLowerLayerDown-3]
	_ = x[OperStateTesting-4]
	_ = x[OperStateDormant-5]
	_ = x[OperStateUp-6]
}

const _OperationalState_name = "unknownnotPresentdownlowerLayerDowntestingdormantup"

var _OperationalState_index = [...]uint8{0, 7, 17, 21, 35, 42, 49, 51}

func (i OperationalState) String() string {
	if i >= OperationalState(len(_OperationalState_index)-1) {
		return "OperationalState(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _OperationalState_name[_OperationalState_index[i]:_OperationalState_index[i+1]]
}
