summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java')
-rw-r--r--src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java303
1 files changed, 232 insertions, 71 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java b/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java
index 3c5d305..9ba4c28 100644
--- a/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java
+++ b/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-03-02")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2017-09-06")
public class LectureRead implements org.apache.thrift.TBase<LectureRead, LectureRead._Fields>, java.io.Serializable, Cloneable, Comparable<LectureRead> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LectureRead");
@@ -65,6 +65,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
private static final org.apache.thrift.protocol.TField LIMIT_TO_LOCATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("limitToLocations", org.apache.thrift.protocol.TType.BOOL, (short)26);
private static final org.apache.thrift.protocol.TField LIMIT_TO_ALLOWED_USERS_FIELD_DESC = new org.apache.thrift.protocol.TField("limitToAllowedUsers", org.apache.thrift.protocol.TType.BOOL, (short)27);
private static final org.apache.thrift.protocol.TField HAS_USB_ACCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("hasUsbAccess", org.apache.thrift.protocol.TType.BOOL, (short)28);
+ private static final org.apache.thrift.protocol.TField NETWORK_SHARES_FIELD_DESC = new org.apache.thrift.protocol.TField("networkShares", org.apache.thrift.protocol.TType.LIST, (short)29);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
@@ -99,6 +100,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
public boolean limitToLocations; // required
public boolean limitToAllowedUsers; // required
public boolean hasUsbAccess; // required
+ public List<NetShare> networkShares; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -128,7 +130,8 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
LOCATION_IDS((short)25, "locationIds"),
LIMIT_TO_LOCATIONS((short)26, "limitToLocations"),
LIMIT_TO_ALLOWED_USERS((short)27, "limitToAllowedUsers"),
- HAS_USB_ACCESS((short)28, "hasUsbAccess");
+ HAS_USB_ACCESS((short)28, "hasUsbAccess"),
+ NETWORK_SHARES((short)29, "networkShares");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -197,6 +200,8 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
return LIMIT_TO_ALLOWED_USERS;
case 28: // HAS_USB_ACCESS
return HAS_USB_ACCESS;
+ case 29: // NETWORK_SHARES
+ return NETWORK_SHARES;
default:
return null;
}
@@ -251,7 +256,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
private static final int __LIMITTOALLOWEDUSERS_ISSET_ID = 11;
private static final int __HASUSBACCESS_ISSET_ID = 12;
private short __isset_bitfield = 0;
- private static final _Fields optionals[] = {_Fields.USER_PERMISSIONS};
+ private static final _Fields optionals[] = {_Fields.USER_PERMISSIONS,_Fields.NETWORK_SHARES};
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
@@ -313,6 +318,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
tmpMap.put(_Fields.HAS_USB_ACCESS, new org.apache.thrift.meta_data.FieldMetaData("hasUsbAccess", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+ tmpMap.put(_Fields.NETWORK_SHARES, new org.apache.thrift.meta_data.FieldMetaData("networkShares", org.apache.thrift.TFieldRequirementType.OPTIONAL,
+ new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, NetShare.class))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LectureRead.class, metaDataMap);
}
@@ -457,6 +465,13 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
this.limitToLocations = other.limitToLocations;
this.limitToAllowedUsers = other.limitToAllowedUsers;
this.hasUsbAccess = other.hasUsbAccess;
+ if (other.isSetNetworkShares()) {
+ List<NetShare> __this__networkShares = new ArrayList<NetShare>(other.networkShares.size());
+ for (NetShare other_element : other.networkShares) {
+ __this__networkShares.add(new NetShare(other_element));
+ }
+ this.networkShares = __this__networkShares;
+ }
}
public LectureRead deepCopy() {
@@ -505,6 +520,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
this.limitToAllowedUsers = false;
setHasUsbAccessIsSet(false);
this.hasUsbAccess = false;
+ this.networkShares = null;
}
public String getLectureId() {
@@ -1202,6 +1218,45 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __HASUSBACCESS_ISSET_ID, value);
}
+ public int getNetworkSharesSize() {
+ return (this.networkShares == null) ? 0 : this.networkShares.size();
+ }
+
+ public java.util.Iterator<NetShare> getNetworkSharesIterator() {
+ return (this.networkShares == null) ? null : this.networkShares.iterator();
+ }
+
+ public void addToNetworkShares(NetShare elem) {
+ if (this.networkShares == null) {
+ this.networkShares = new ArrayList<NetShare>();
+ }
+ this.networkShares.add(elem);
+ }
+
+ public List<NetShare> getNetworkShares() {
+ return this.networkShares;
+ }
+
+ public LectureRead setNetworkShares(List<NetShare> networkShares) {
+ this.networkShares = networkShares;
+ return this;
+ }
+
+ public void unsetNetworkShares() {
+ this.networkShares = null;
+ }
+
+ /** Returns true if field networkShares is set (has been assigned a value) and false otherwise */
+ public boolean isSetNetworkShares() {
+ return this.networkShares != null;
+ }
+
+ public void setNetworkSharesIsSet(boolean value) {
+ if (!value) {
+ this.networkShares = null;
+ }
+ }
+
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case LECTURE_ID:
@@ -1420,6 +1475,14 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
}
break;
+ case NETWORK_SHARES:
+ if (value == null) {
+ unsetNetworkShares();
+ } else {
+ setNetworkShares((List<NetShare>)value);
+ }
+ break;
+
}
}
@@ -1506,6 +1569,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
case HAS_USB_ACCESS:
return isHasUsbAccess();
+ case NETWORK_SHARES:
+ return getNetworkShares();
+
}
throw new IllegalStateException();
}
@@ -1571,6 +1637,8 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
return isSetLimitToAllowedUsers();
case HAS_USB_ACCESS:
return isSetHasUsbAccess();
+ case NETWORK_SHARES:
+ return isSetNetworkShares();
}
throw new IllegalStateException();
}
@@ -1831,6 +1899,15 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
return false;
}
+ boolean this_present_networkShares = true && this.isSetNetworkShares();
+ boolean that_present_networkShares = true && that.isSetNetworkShares();
+ if (this_present_networkShares || that_present_networkShares) {
+ if (!(this_present_networkShares && that_present_networkShares))
+ return false;
+ if (!this.networkShares.equals(that.networkShares))
+ return false;
+ }
+
return true;
}
@@ -1973,6 +2050,11 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
if (present_hasUsbAccess)
list.add(hasUsbAccess);
+ boolean present_networkShares = true && (isSetNetworkShares());
+ list.add(present_networkShares);
+ if (present_networkShares)
+ list.add(networkShares);
+
return list.hashCode();
}
@@ -2254,6 +2336,16 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
return lastComparison;
}
}
+ lastComparison = Boolean.valueOf(isSetNetworkShares()).compareTo(other.isSetNetworkShares());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetNetworkShares()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.networkShares, other.networkShares);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
return 0;
}
@@ -2439,6 +2531,16 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
sb.append("hasUsbAccess:");
sb.append(this.hasUsbAccess);
first = false;
+ if (isSetNetworkShares()) {
+ if (!first) sb.append(", ");
+ sb.append("networkShares:");
+ if (this.networkShares == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.networkShares);
+ }
+ first = false;
+ }
sb.append(")");
return sb.toString();
}
@@ -2621,13 +2723,13 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
case 14: // NICS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
- struct.nics = new ArrayList<String>(_list130.size);
- String _elem131;
- for (int _i132 = 0; _i132 < _list130.size; ++_i132)
+ org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
+ struct.nics = new ArrayList<String>(_list138.size);
+ String _elem139;
+ for (int _i140 = 0; _i140 < _list138.size; ++_i140)
{
- _elem131 = iprot.readString();
- struct.nics.add(_elem131);
+ _elem139 = iprot.readString();
+ struct.nics.add(_elem139);
}
iprot.readListEnd();
}
@@ -2639,13 +2741,13 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
case 15: // ALLOWED_USERS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list133 = iprot.readListBegin();
- struct.allowedUsers = new ArrayList<String>(_list133.size);
- String _elem134;
- for (int _i135 = 0; _i135 < _list133.size; ++_i135)
+ org.apache.thrift.protocol.TList _list141 = iprot.readListBegin();
+ struct.allowedUsers = new ArrayList<String>(_list141.size);
+ String _elem142;
+ for (int _i143 = 0; _i143 < _list141.size; ++_i143)
{
- _elem134 = iprot.readString();
- struct.allowedUsers.add(_elem134);
+ _elem142 = iprot.readString();
+ struct.allowedUsers.add(_elem142);
}
iprot.readListEnd();
}
@@ -2657,14 +2759,14 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
case 16: // NETWORK_EXCEPTIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
- struct.networkExceptions = new ArrayList<NetRule>(_list136.size);
- NetRule _elem137;
- for (int _i138 = 0; _i138 < _list136.size; ++_i138)
+ org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
+ struct.networkExceptions = new ArrayList<NetRule>(_list144.size);
+ NetRule _elem145;
+ for (int _i146 = 0; _i146 < _list144.size; ++_i146)
{
- _elem137 = new NetRule();
- _elem137.read(iprot);
- struct.networkExceptions.add(_elem137);
+ _elem145 = new NetRule();
+ _elem145.read(iprot);
+ struct.networkExceptions.add(_elem145);
}
iprot.readListEnd();
}
@@ -2710,13 +2812,13 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
case 25: // LOCATION_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list139 = iprot.readListBegin();
- struct.locationIds = new ArrayList<Integer>(_list139.size);
- int _elem140;
- for (int _i141 = 0; _i141 < _list139.size; ++_i141)
+ org.apache.thrift.protocol.TList _list147 = iprot.readListBegin();
+ struct.locationIds = new ArrayList<Integer>(_list147.size);
+ int _elem148;
+ for (int _i149 = 0; _i149 < _list147.size; ++_i149)
{
- _elem140 = iprot.readI32();
- struct.locationIds.add(_elem140);
+ _elem148 = iprot.readI32();
+ struct.locationIds.add(_elem148);
}
iprot.readListEnd();
}
@@ -2749,6 +2851,25 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
+ case 29: // NETWORK_SHARES
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list150 = iprot.readListBegin();
+ struct.networkShares = new ArrayList<NetShare>(_list150.size);
+ NetShare _elem151;
+ for (int _i152 = 0; _i152 < _list150.size; ++_i152)
+ {
+ _elem151 = new NetShare();
+ _elem151.read(iprot);
+ struct.networkShares.add(_elem151);
+ }
+ iprot.readListEnd();
+ }
+ struct.setNetworkSharesIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -2816,9 +2937,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
oprot.writeFieldBegin(NICS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.nics.size()));
- for (String _iter142 : struct.nics)
+ for (String _iter153 : struct.nics)
{
- oprot.writeString(_iter142);
+ oprot.writeString(_iter153);
}
oprot.writeListEnd();
}
@@ -2828,9 +2949,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
oprot.writeFieldBegin(ALLOWED_USERS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.allowedUsers.size()));
- for (String _iter143 : struct.allowedUsers)
+ for (String _iter154 : struct.allowedUsers)
{
- oprot.writeString(_iter143);
+ oprot.writeString(_iter154);
}
oprot.writeListEnd();
}
@@ -2840,9 +2961,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
oprot.writeFieldBegin(NETWORK_EXCEPTIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.networkExceptions.size()));
- for (NetRule _iter144 : struct.networkExceptions)
+ for (NetRule _iter155 : struct.networkExceptions)
{
- _iter144.write(oprot);
+ _iter155.write(oprot);
}
oprot.writeListEnd();
}
@@ -2886,9 +3007,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
oprot.writeFieldBegin(LOCATION_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.locationIds.size()));
- for (int _iter145 : struct.locationIds)
+ for (int _iter156 : struct.locationIds)
{
- oprot.writeI32(_iter145);
+ oprot.writeI32(_iter156);
}
oprot.writeListEnd();
}
@@ -2903,6 +3024,20 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
oprot.writeFieldBegin(HAS_USB_ACCESS_FIELD_DESC);
oprot.writeBool(struct.hasUsbAccess);
oprot.writeFieldEnd();
+ if (struct.networkShares != null) {
+ if (struct.isSetNetworkShares()) {
+ oprot.writeFieldBegin(NETWORK_SHARES_FIELD_DESC);
+ {
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.networkShares.size()));
+ for (NetShare _iter157 : struct.networkShares)
+ {
+ _iter157.write(oprot);
+ }
+ oprot.writeListEnd();
+ }
+ oprot.writeFieldEnd();
+ }
+ }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@@ -3002,7 +3137,10 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
if (struct.isSetHasUsbAccess()) {
optionals.set(26);
}
- oprot.writeBitSet(optionals, 27);
+ if (struct.isSetNetworkShares()) {
+ optionals.set(27);
+ }
+ oprot.writeBitSet(optionals, 28);
if (struct.isSetLectureId()) {
oprot.writeString(struct.lectureId);
}
@@ -3054,27 +3192,27 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
if (struct.isSetNics()) {
{
oprot.writeI32(struct.nics.size());
- for (String _iter146 : struct.nics)
+ for (String _iter158 : struct.nics)
{
- oprot.writeString(_iter146);
+ oprot.writeString(_iter158);
}
}
}
if (struct.isSetAllowedUsers()) {
{
oprot.writeI32(struct.allowedUsers.size());
- for (String _iter147 : struct.allowedUsers)
+ for (String _iter159 : struct.allowedUsers)
{
- oprot.writeString(_iter147);
+ oprot.writeString(_iter159);
}
}
}
if (struct.isSetNetworkExceptions()) {
{
oprot.writeI32(struct.networkExceptions.size());
- for (NetRule _iter148 : struct.networkExceptions)
+ for (NetRule _iter160 : struct.networkExceptions)
{
- _iter148.write(oprot);
+ _iter160.write(oprot);
}
}
}
@@ -3093,9 +3231,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
if (struct.isSetLocationIds()) {
{
oprot.writeI32(struct.locationIds.size());
- for (int _iter149 : struct.locationIds)
+ for (int _iter161 : struct.locationIds)
{
- oprot.writeI32(_iter149);
+ oprot.writeI32(_iter161);
}
}
}
@@ -3108,12 +3246,21 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
if (struct.isSetHasUsbAccess()) {
oprot.writeBool(struct.hasUsbAccess);
}
+ if (struct.isSetNetworkShares()) {
+ {
+ oprot.writeI32(struct.networkShares.size());
+ for (NetShare _iter162 : struct.networkShares)
+ {
+ _iter162.write(oprot);
+ }
+ }
+ }
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, LectureRead struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
- BitSet incoming = iprot.readBitSet(27);
+ BitSet incoming = iprot.readBitSet(28);
if (incoming.get(0)) {
struct.lectureId = iprot.readString();
struct.setLectureIdIsSet(true);
@@ -3180,40 +3327,40 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
}
if (incoming.get(16)) {
{
- org.apache.thrift.protocol.TList _list150 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.nics = new ArrayList<String>(_list150.size);
- String _elem151;
- for (int _i152 = 0; _i152 < _list150.size; ++_i152)
+ org.apache.thrift.protocol.TList _list163 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.nics = new ArrayList<String>(_list163.size);
+ String _elem164;
+ for (int _i165 = 0; _i165 < _list163.size; ++_i165)
{
- _elem151 = iprot.readString();
- struct.nics.add(_elem151);
+ _elem164 = iprot.readString();
+ struct.nics.add(_elem164);
}
}
struct.setNicsIsSet(true);
}
if (incoming.get(17)) {
{
- org.apache.thrift.protocol.TList _list153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.allowedUsers = new ArrayList<String>(_list153.size);
- String _elem154;
- for (int _i155 = 0; _i155 < _list153.size; ++_i155)
+ org.apache.thrift.protocol.TList _list166 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.allowedUsers = new ArrayList<String>(_list166.size);
+ String _elem167;
+ for (int _i168 = 0; _i168 < _list166.size; ++_i168)
{
- _elem154 = iprot.readString();
- struct.allowedUsers.add(_elem154);
+ _elem167 = iprot.readString();
+ struct.allowedUsers.add(_elem167);
}
}
struct.setAllowedUsersIsSet(true);
}
if (incoming.get(18)) {
{
- org.apache.thrift.protocol.TList _list156 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.networkExceptions = new ArrayList<NetRule>(_list156.size);
- NetRule _elem157;
- for (int _i158 = 0; _i158 < _list156.size; ++_i158)
+ org.apache.thrift.protocol.TList _list169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.networkExceptions = new ArrayList<NetRule>(_list169.size);
+ NetRule _elem170;
+ for (int _i171 = 0; _i171 < _list169.size; ++_i171)
{
- _elem157 = new NetRule();
- _elem157.read(iprot);
- struct.networkExceptions.add(_elem157);
+ _elem170 = new NetRule();
+ _elem170.read(iprot);
+ struct.networkExceptions.add(_elem170);
}
}
struct.setNetworkExceptionsIsSet(true);
@@ -3238,13 +3385,13 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
}
if (incoming.get(23)) {
{
- org.apache.thrift.protocol.TList _list159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
- struct.locationIds = new ArrayList<Integer>(_list159.size);
- int _elem160;
- for (int _i161 = 0; _i161 < _list159.size; ++_i161)
+ org.apache.thrift.protocol.TList _list172 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
+ struct.locationIds = new ArrayList<Integer>(_list172.size);
+ int _elem173;
+ for (int _i174 = 0; _i174 < _list172.size; ++_i174)
{
- _elem160 = iprot.readI32();
- struct.locationIds.add(_elem160);
+ _elem173 = iprot.readI32();
+ struct.locationIds.add(_elem173);
}
}
struct.setLocationIdsIsSet(true);
@@ -3261,6 +3408,20 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture
struct.hasUsbAccess = iprot.readBool();
struct.setHasUsbAccessIsSet(true);
}
+ if (incoming.get(27)) {
+ {
+ org.apache.thrift.protocol.TList _list175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.networkShares = new ArrayList<NetShare>(_list175.size);
+ NetShare _elem176;
+ for (int _i177 = 0; _i177 < _list175.size; ++_i177)
+ {
+ _elem176 = new NetShare();
+ _elem176.read(iprot);
+ struct.networkShares.add(_elem176);
+ }
+ }
+ struct.setNetworkSharesIsSet(true);
+ }
}
}