aboutsummaryrefslogtreecommitdiff
path: root/feed/v2accessvector_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'feed/v2accessvector_string.go')
-rw-r--r--feed/v2accessvector_string.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/feed/v2accessvector_string.go b/feed/v2accessvector_string.go
new file mode 100644
index 0000000..bf354fc
--- /dev/null
+++ b/feed/v2accessvector_string.go
@@ -0,0 +1,25 @@
+// Code generated by "stringer -linecomment -type=V2AccessVector"; 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[V2AVAdjacentNetwork-0]
+ _ = x[V2AVLocal-1]
+ _ = x[V2AVNetwork-2]
+}
+
+const _V2AccessVector_name = "ADJACENT_NETWORKLOCALNETWORK"
+
+var _V2AccessVector_index = [...]uint8{0, 16, 21, 28}
+
+func (i V2AccessVector) String() string {
+ if i >= V2AccessVector(len(_V2AccessVector_index)-1) {
+ return "V2AccessVector(" + strconv.FormatInt(int64(i), 10) + ")"
+ }
+ return _V2AccessVector_name[_V2AccessVector_index[i]:_V2AccessVector_index[i+1]]
+}