-
Notifications
You must be signed in to change notification settings - Fork 21
/
mmmodemlock_string.go
executable file
·39 lines (33 loc) · 1.3 KB
/
mmmodemlock_string.go
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
28
29
30
31
32
33
34
35
36
37
38
39
// Code generated by "stringer -type=MMModemLock -trimprefix=MmModemLock"; 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[MmModemLockUnknown-0]
_ = x[MmModemLockNone-1]
_ = x[MmModemLockSimPin-2]
_ = x[MmModemLockSimPin2-3]
_ = x[MmModemLockSimPuk-4]
_ = x[MmModemLockSimPuk2-5]
_ = x[MmModemLockPhSpPin-6]
_ = x[MmModemLockPhSpPuk-7]
_ = x[MmModemLockPhNetPin-8]
_ = x[MmModemLockPhNetPuk-9]
_ = x[MmModemLockPhSimPin-10]
_ = x[MmModemLockPhCorpPin-11]
_ = x[MmModemLockPhCorpPuk-12]
_ = x[MmModemLockPhFsimPin-13]
_ = x[MmModemLockPhFsimPuk-14]
_ = x[MmModemLockPhNetsubPin-15]
_ = x[MmModemLockPhNetsubPuk-16]
}
const _MMModemLock_name = "UnknownNoneSimPinSimPin2SimPukSimPuk2PhSpPinPhSpPukPhNetPinPhNetPukPhSimPinPhCorpPinPhCorpPukPhFsimPinPhFsimPukPhNetsubPinPhNetsubPuk"
var _MMModemLock_index = [...]uint8{0, 7, 11, 17, 24, 30, 37, 44, 51, 59, 67, 75, 84, 93, 102, 111, 122, 133}
func (i MMModemLock) String() string {
if i >= MMModemLock(len(_MMModemLock_index)-1) {
return "MMModemLock(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _MMModemLock_name[_MMModemLock_index[i]:_MMModemLock_index[i+1]]
}