summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteStatus.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/SatelliteStatus.java')
-rw-r--r--src/main/java/org/openslx/bwlp/thrift/iface/SatelliteStatus.java23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteStatus.java b/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteStatus.java
index 7cccb65..dc94988 100644
--- a/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteStatus.java
+++ b/src/main/java/org/openslx/bwlp/thrift/iface/SatelliteStatus.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.1)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -29,9 +29,12 @@ import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
+import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-04")
public class SatelliteStatus implements org.apache.thrift.TBase<SatelliteStatus, SatelliteStatus._Fields>, java.io.Serializable, Cloneable, Comparable<SatelliteStatus> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SatelliteStatus");
@@ -228,10 +231,10 @@ public class SatelliteStatus implements org.apache.thrift.TBase<SatelliteStatus,
public Object getFieldValue(_Fields field) {
switch (field) {
case AVAILABLE_STORAGE_BYTES:
- return Long.valueOf(getAvailableStorageBytes());
+ return getAvailableStorageBytes();
case SERVER_TIME:
- return Long.valueOf(getServerTime());
+ return getServerTime();
}
throw new IllegalStateException();
@@ -288,7 +291,19 @@ public class SatelliteStatus implements org.apache.thrift.TBase<SatelliteStatus,
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_availableStorageBytes = true;
+ list.add(present_availableStorageBytes);
+ if (present_availableStorageBytes)
+ list.add(availableStorageBytes);
+
+ boolean present_serverTime = true;
+ list.add(present_serverTime);
+ if (present_serverTime)
+ list.add(serverTime);
+
+ return list.hashCode();
}
@Override