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

package gonetworkmanager

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[NmStateUnknown-0]
	_ = x[NmStateAsleep-10]
	_ = x[NmStateDisconnected-20]
	_ = x[NmStateDisconnecting-30]
	_ = x[NmStateConnecting-40]
	_ = x[NmStateConnectedLocal-50]
	_ = x[NmStateConnectedSite-60]
	_ = x[NmStateConnectedGlobal-70]
}

const (
	_NmState_name_0 = "NmStateUnknown"
	_NmState_name_1 = "NmStateAsleep"
	_NmState_name_2 = "NmStateDisconnected"
	_NmState_name_3 = "NmStateDisconnecting"
	_NmState_name_4 = "NmStateConnecting"
	_NmState_name_5 = "NmStateConnectedLocal"
	_NmState_name_6 = "NmStateConnectedSite"
	_NmState_name_7 = "NmStateConnectedGlobal"
)

func (i NmState) String() string {
	switch {
	case i == 0:
		return _NmState_name_0
	case i == 10:
		return _NmState_name_1
	case i == 20:
		return _NmState_name_2
	case i == 30:
		return _NmState_name_3
	case i == 40:
		return _NmState_name_4
	case i == 50:
		return _NmState_name_5
	case i == 60:
		return _NmState_name_6
	case i == 70:
		return _NmState_name_7
	default:
		return "NmState(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
