/
messagetype_string.go
30 lines (24 loc) · 1.04 KB
/
messagetype_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
// Code generated by "stringer -type MessageType"; DO NOT EDIT.
package notification
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[MessageTypeUnknown-0]
_ = x[MessageTypeAlert-1]
_ = x[MessageTypeAlertStatus-2]
_ = x[MessageTypeTest-3]
_ = x[MessageTypeVerification-4]
_ = x[MessageTypeAlertBundle-5]
_ = x[MessageTypeAlertStatusBundle-6]
_ = x[MessageTypeScheduleOnCallUsers-7]
}
const _MessageType_name = "MessageTypeUnknownMessageTypeAlertMessageTypeAlertStatusMessageTypeTestMessageTypeVerificationMessageTypeAlertBundleMessageTypeAlertStatusBundleMessageTypeScheduleOnCallUsers"
var _MessageType_index = [...]uint8{0, 18, 34, 56, 71, 94, 116, 144, 174}
func (i MessageType) String() string {
if i < 0 || i >= MessageType(len(_MessageType_index)-1) {
return "MessageType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _MessageType_name[_MessageType_index[i]:_MessageType_index[i+1]]
}