summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/bwlp/thrift/iface/NetDirection.java
diff options
context:
space:
mode:
authorSimon Rettberg2015-06-19 12:37:02 +0200
committerSimon Rettberg2015-06-19 12:37:02 +0200
commit35ad65f5d5edc3b5fd81693fce35e02a85cd7929 (patch)
tree32fea972dce8c4f8bb620aaa7c31f8fa45725547 /src/main/java/org/openslx/bwlp/thrift/iface/NetDirection.java
parentAdd missing TInternalServerError exception (diff)
downloadmaster-sync-shared-35ad65f5d5edc3b5fd81693fce35e02a85cd7929.tar.gz
master-sync-shared-35ad65f5d5edc3b5fd81693fce35e02a85cd7929.tar.xz
master-sync-shared-35ad65f5d5edc3b5fd81693fce35e02a85cd7929.zip
Updated Thrift API
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/NetDirection.java')
-rw-r--r--src/main/java/org/openslx/bwlp/thrift/iface/NetDirection.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/NetDirection.java b/src/main/java/org/openslx/bwlp/thrift/iface/NetDirection.java
new file mode 100644
index 0000000..25a4bfe
--- /dev/null
+++ b/src/main/java/org/openslx/bwlp/thrift/iface/NetDirection.java
@@ -0,0 +1,45 @@
+/**
+ * Autogenerated by Thrift Compiler (0.9.1)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ * @generated
+ */
+package org.openslx.bwlp.thrift.iface;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum NetDirection implements org.apache.thrift.TEnum {
+ IN(0),
+ OUT(1);
+
+ private final int value;
+
+ private NetDirection(int value) {
+ this.value = value;
+ }
+
+ /**
+ * Get the integer value of this enum value, as defined in the Thrift IDL.
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * Find a the enum type by its integer value, as defined in the Thrift IDL.
+ * @return null if the value is not found.
+ */
+ public static NetDirection findByValue(int value) {
+ switch (value) {
+ case 0:
+ return IN;
+ case 1:
+ return OUT;
+ default:
+ return null;
+ }
+ }
+}