aboutsummaryrefslogtreecommitdiff
path: root/feed/v3attackcomplexity_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'feed/v3attackcomplexity_string.go')
-rw-r--r--feed/v3attackcomplexity_string.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/feed/v3attackcomplexity_string.go b/feed/v3attackcomplexity_string.go
new file mode 100644
index 0000000..12110c8
--- /dev/null
+++ b/feed/v3attackcomplexity_string.go
@@ -0,0 +1,25 @@
+// Code generated by "stringer -linecomment -type=V3AttackComplexity"; DO NOT EDIT.
+
+package feed
+
+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[V3ACLow-0]
+ _ = x[V3ACMedium-1]
+ _ = x[V3ACHigh-2]
+}
+
+const _V3AttackComplexity_name = "LOWMEDIUMHIGH"
+
+var _V3AttackComplexity_index = [...]uint8{0, 3, 9, 13}
+
+func (i V3AttackComplexity) String() string {
+ if i >= V3AttackComplexity(len(_V3AttackComplexity_index)-1) {
+ return "V3AttackComplexity(" + strconv.FormatInt(int64(i), 10) + ")"
+ }
+ return _V3AttackComplexity_name[_V3AttackComplexity_index[i]:_V3AttackComplexity_index[i+1]]
+}