forked from maltegrosse/go-modemmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmmmodemcdmaactivationstate_string.go
More file actions
executable file
·27 lines (21 loc) · 1.07 KB
/
mmmodemcdmaactivationstate_string.go
File metadata and controls
executable file
·27 lines (21 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by "stringer -type=MMModemCdmaActivationState -trimprefix=MmModemCdmaActivationState"; DO NOT EDIT.
package modemmanager
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[MmModemCdmaActivationStateUnknown-0]
_ = x[MmModemCdmaActivationStateNotActivated-1]
_ = x[MmModemCdmaActivationStateActivating-2]
_ = x[MmModemCdmaActivationStatePartiallyActivated-3]
_ = x[MmModemCdmaActivationStateActivated-4]
}
const _MMModemCdmaActivationState_name = "UnknownNotActivatedActivatingPartiallyActivatedActivated"
var _MMModemCdmaActivationState_index = [...]uint8{0, 7, 19, 29, 47, 56}
func (i MMModemCdmaActivationState) String() string {
if i >= MMModemCdmaActivationState(len(_MMModemCdmaActivationState_index)-1) {
return "MMModemCdmaActivationState(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _MMModemCdmaActivationState_name[_MMModemCdmaActivationState_index[i]:_MMModemCdmaActivationState_index[i+1]]
}