// Code generated by "stringer -type=NmActivationStateFlag"; 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[NmActivationStateFlagNone-0]
	_ = x[NmActivationStateFlagIsMaster-1]
	_ = x[NmActivationStateFlagIsSlave-2]
	_ = x[NmActivationStateFlagLayer2Ready-4]
	_ = x[NmActivationStateFlagIp4Ready-8]
	_ = x[NmActivationStateFlagIp6Ready-16]
	_ = x[NmActivationStateFlagMasterHasSlaves-32]
	_ = x[NmActivationStateFlagLifetimeBoundToProfileVisibility-64]
}

const (
	_NmActivationStateFlag_name_0 = "NmActivationStateFlagNoneNmActivationStateFlagIsMasterNmActivationStateFlagIsSlave"
	_NmActivationStateFlag_name_1 = "NmActivationStateFlagLayer2Ready"
	_NmActivationStateFlag_name_2 = "NmActivationStateFlagIp4Ready"
	_NmActivationStateFlag_name_3 = "NmActivationStateFlagIp6Ready"
	_NmActivationStateFlag_name_4 = "NmActivationStateFlagMasterHasSlaves"
	_NmActivationStateFlag_name_5 = "NmActivationStateFlagLifetimeBoundToProfileVisibility"
)

var (
	_NmActivationStateFlag_index_0 = [...]uint8{0, 25, 54, 82}
)

func (i NmActivationStateFlag) String() string {
	switch {
	case 0 <= i && i <= 2:
		return _NmActivationStateFlag_name_0[_NmActivationStateFlag_index_0[i]:_NmActivationStateFlag_index_0[i+1]]
	case i == 4:
		return _NmActivationStateFlag_name_1
	case i == 8:
		return _NmActivationStateFlag_name_2
	case i == 16:
		return _NmActivationStateFlag_name_3
	case i == 32:
		return _NmActivationStateFlag_name_4
	case i == 64:
		return _NmActivationStateFlag_name_5
	default:
		return "NmActivationStateFlag(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
