diff options
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.java | 370 |
1 files changed, 263 insertions, 107 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 1075a49..a60e316 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 = "2018-06-13") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2018-12-08") 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"); @@ -67,6 +67,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture 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 org.apache.thrift.protocol.TField LDAP_FILTERS_FIELD_DESC = new org.apache.thrift.protocol.TField("ldapFilters", org.apache.thrift.protocol.TType.LIST, (short)30); + private static final org.apache.thrift.protocol.TField PRESET_SCRIPT_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("presetScriptIds", org.apache.thrift.protocol.TType.LIST, (short)31); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { @@ -103,6 +104,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture public boolean hasUsbAccess; // required public List<NetShare> networkShares; // optional public List<LdapFilter> ldapFilters; // optional + public List<Integer> presetScriptIds; // 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 { @@ -134,7 +136,8 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture LIMIT_TO_ALLOWED_USERS((short)27, "limitToAllowedUsers"), HAS_USB_ACCESS((short)28, "hasUsbAccess"), NETWORK_SHARES((short)29, "networkShares"), - LDAP_FILTERS((short)30, "ldapFilters"); + LDAP_FILTERS((short)30, "ldapFilters"), + PRESET_SCRIPT_IDS((short)31, "presetScriptIds"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -207,6 +210,8 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture return NETWORK_SHARES; case 30: // LDAP_FILTERS return LDAP_FILTERS; + case 31: // PRESET_SCRIPT_IDS + return PRESET_SCRIPT_IDS; default: return null; } @@ -261,7 +266,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,_Fields.NETWORK_SHARES,_Fields.LDAP_FILTERS}; + private static final _Fields optionals[] = {_Fields.USER_PERMISSIONS,_Fields.NETWORK_SHARES,_Fields.LDAP_FILTERS,_Fields.PRESET_SCRIPT_IDS}; 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); @@ -329,6 +334,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture tmpMap.put(_Fields.LDAP_FILTERS, new org.apache.thrift.meta_data.FieldMetaData("ldapFilters", 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, LdapFilter.class)))); + tmpMap.put(_Fields.PRESET_SCRIPT_IDS, new org.apache.thrift.meta_data.FieldMetaData("presetScriptIds", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LectureRead.class, metaDataMap); } @@ -487,6 +495,10 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture } this.ldapFilters = __this__ldapFilters; } + if (other.isSetPresetScriptIds()) { + List<Integer> __this__presetScriptIds = new ArrayList<Integer>(other.presetScriptIds); + this.presetScriptIds = __this__presetScriptIds; + } } public LectureRead deepCopy() { @@ -537,6 +549,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture this.hasUsbAccess = false; this.networkShares = null; this.ldapFilters = null; + this.presetScriptIds = null; } public String getLectureId() { @@ -1312,6 +1325,45 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture } } + public int getPresetScriptIdsSize() { + return (this.presetScriptIds == null) ? 0 : this.presetScriptIds.size(); + } + + public java.util.Iterator<Integer> getPresetScriptIdsIterator() { + return (this.presetScriptIds == null) ? null : this.presetScriptIds.iterator(); + } + + public void addToPresetScriptIds(int elem) { + if (this.presetScriptIds == null) { + this.presetScriptIds = new ArrayList<Integer>(); + } + this.presetScriptIds.add(elem); + } + + public List<Integer> getPresetScriptIds() { + return this.presetScriptIds; + } + + public LectureRead setPresetScriptIds(List<Integer> presetScriptIds) { + this.presetScriptIds = presetScriptIds; + return this; + } + + public void unsetPresetScriptIds() { + this.presetScriptIds = null; + } + + /** Returns true if field presetScriptIds is set (has been assigned a value) and false otherwise */ + public boolean isSetPresetScriptIds() { + return this.presetScriptIds != null; + } + + public void setPresetScriptIdsIsSet(boolean value) { + if (!value) { + this.presetScriptIds = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case LECTURE_ID: @@ -1546,6 +1598,14 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture } break; + case PRESET_SCRIPT_IDS: + if (value == null) { + unsetPresetScriptIds(); + } else { + setPresetScriptIds((List<Integer>)value); + } + break; + } } @@ -1638,6 +1698,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture case LDAP_FILTERS: return getLdapFilters(); + case PRESET_SCRIPT_IDS: + return getPresetScriptIds(); + } throw new IllegalStateException(); } @@ -1707,6 +1770,8 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture return isSetNetworkShares(); case LDAP_FILTERS: return isSetLdapFilters(); + case PRESET_SCRIPT_IDS: + return isSetPresetScriptIds(); } throw new IllegalStateException(); } @@ -1985,6 +2050,15 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture return false; } + boolean this_present_presetScriptIds = true && this.isSetPresetScriptIds(); + boolean that_present_presetScriptIds = true && that.isSetPresetScriptIds(); + if (this_present_presetScriptIds || that_present_presetScriptIds) { + if (!(this_present_presetScriptIds && that_present_presetScriptIds)) + return false; + if (!this.presetScriptIds.equals(that.presetScriptIds)) + return false; + } + return true; } @@ -2137,6 +2211,11 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture if (present_ldapFilters) list.add(ldapFilters); + boolean present_presetScriptIds = true && (isSetPresetScriptIds()); + list.add(present_presetScriptIds); + if (present_presetScriptIds) + list.add(presetScriptIds); + return list.hashCode(); } @@ -2438,6 +2517,16 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture return lastComparison; } } + lastComparison = Boolean.valueOf(isSetPresetScriptIds()).compareTo(other.isSetPresetScriptIds()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPresetScriptIds()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.presetScriptIds, other.presetScriptIds); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -2643,6 +2732,16 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture } first = false; } + if (isSetPresetScriptIds()) { + if (!first) sb.append(", "); + sb.append("presetScriptIds:"); + if (this.presetScriptIds == null) { + sb.append("null"); + } else { + sb.append(this.presetScriptIds); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -2825,13 +2924,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 _list146 = iprot.readListBegin(); - struct.nics = new ArrayList<String>(_list146.size); - String _elem147; - for (int _i148 = 0; _i148 < _list146.size; ++_i148) + org.apache.thrift.protocol.TList _list186 = iprot.readListBegin(); + struct.nics = new ArrayList<String>(_list186.size); + String _elem187; + for (int _i188 = 0; _i188 < _list186.size; ++_i188) { - _elem147 = iprot.readString(); - struct.nics.add(_elem147); + _elem187 = iprot.readString(); + struct.nics.add(_elem187); } iprot.readListEnd(); } @@ -2843,13 +2942,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 _list149 = iprot.readListBegin(); - struct.allowedUsers = new ArrayList<String>(_list149.size); - String _elem150; - for (int _i151 = 0; _i151 < _list149.size; ++_i151) + org.apache.thrift.protocol.TList _list189 = iprot.readListBegin(); + struct.allowedUsers = new ArrayList<String>(_list189.size); + String _elem190; + for (int _i191 = 0; _i191 < _list189.size; ++_i191) { - _elem150 = iprot.readString(); - struct.allowedUsers.add(_elem150); + _elem190 = iprot.readString(); + struct.allowedUsers.add(_elem190); } iprot.readListEnd(); } @@ -2861,14 +2960,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 _list152 = iprot.readListBegin(); - struct.networkExceptions = new ArrayList<NetRule>(_list152.size); - NetRule _elem153; - for (int _i154 = 0; _i154 < _list152.size; ++_i154) + org.apache.thrift.protocol.TList _list192 = iprot.readListBegin(); + struct.networkExceptions = new ArrayList<NetRule>(_list192.size); + NetRule _elem193; + for (int _i194 = 0; _i194 < _list192.size; ++_i194) { - _elem153 = new NetRule(); - _elem153.read(iprot); - struct.networkExceptions.add(_elem153); + _elem193 = new NetRule(); + _elem193.read(iprot); + struct.networkExceptions.add(_elem193); } iprot.readListEnd(); } @@ -2914,13 +3013,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 _list155 = iprot.readListBegin(); - struct.locationIds = new ArrayList<Integer>(_list155.size); - int _elem156; - for (int _i157 = 0; _i157 < _list155.size; ++_i157) + org.apache.thrift.protocol.TList _list195 = iprot.readListBegin(); + struct.locationIds = new ArrayList<Integer>(_list195.size); + int _elem196; + for (int _i197 = 0; _i197 < _list195.size; ++_i197) { - _elem156 = iprot.readI32(); - struct.locationIds.add(_elem156); + _elem196 = iprot.readI32(); + struct.locationIds.add(_elem196); } iprot.readListEnd(); } @@ -2956,14 +3055,14 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture case 29: // NETWORK_SHARES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list158 = iprot.readListBegin(); - struct.networkShares = new ArrayList<NetShare>(_list158.size); - NetShare _elem159; - for (int _i160 = 0; _i160 < _list158.size; ++_i160) + org.apache.thrift.protocol.TList _list198 = iprot.readListBegin(); + struct.networkShares = new ArrayList<NetShare>(_list198.size); + NetShare _elem199; + for (int _i200 = 0; _i200 < _list198.size; ++_i200) { - _elem159 = new NetShare(); - _elem159.read(iprot); - struct.networkShares.add(_elem159); + _elem199 = new NetShare(); + _elem199.read(iprot); + struct.networkShares.add(_elem199); } iprot.readListEnd(); } @@ -2975,14 +3074,14 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture case 30: // LDAP_FILTERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list161 = iprot.readListBegin(); - struct.ldapFilters = new ArrayList<LdapFilter>(_list161.size); - LdapFilter _elem162; - for (int _i163 = 0; _i163 < _list161.size; ++_i163) + org.apache.thrift.protocol.TList _list201 = iprot.readListBegin(); + struct.ldapFilters = new ArrayList<LdapFilter>(_list201.size); + LdapFilter _elem202; + for (int _i203 = 0; _i203 < _list201.size; ++_i203) { - _elem162 = new LdapFilter(); - _elem162.read(iprot); - struct.ldapFilters.add(_elem162); + _elem202 = new LdapFilter(); + _elem202.read(iprot); + struct.ldapFilters.add(_elem202); } iprot.readListEnd(); } @@ -2991,6 +3090,24 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 31: // PRESET_SCRIPT_IDS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list204 = iprot.readListBegin(); + struct.presetScriptIds = new ArrayList<Integer>(_list204.size); + int _elem205; + for (int _i206 = 0; _i206 < _list204.size; ++_i206) + { + _elem205 = iprot.readI32(); + struct.presetScriptIds.add(_elem205); + } + iprot.readListEnd(); + } + struct.setPresetScriptIdsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -3058,9 +3175,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 _iter164 : struct.nics) + for (String _iter207 : struct.nics) { - oprot.writeString(_iter164); + oprot.writeString(_iter207); } oprot.writeListEnd(); } @@ -3070,9 +3187,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 _iter165 : struct.allowedUsers) + for (String _iter208 : struct.allowedUsers) { - oprot.writeString(_iter165); + oprot.writeString(_iter208); } oprot.writeListEnd(); } @@ -3082,9 +3199,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 _iter166 : struct.networkExceptions) + for (NetRule _iter209 : struct.networkExceptions) { - _iter166.write(oprot); + _iter209.write(oprot); } oprot.writeListEnd(); } @@ -3128,9 +3245,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 _iter167 : struct.locationIds) + for (int _iter210 : struct.locationIds) { - oprot.writeI32(_iter167); + oprot.writeI32(_iter210); } oprot.writeListEnd(); } @@ -3150,9 +3267,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture 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 _iter168 : struct.networkShares) + for (NetShare _iter211 : struct.networkShares) { - _iter168.write(oprot); + _iter211.write(oprot); } oprot.writeListEnd(); } @@ -3164,9 +3281,23 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture oprot.writeFieldBegin(LDAP_FILTERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.ldapFilters.size())); - for (LdapFilter _iter169 : struct.ldapFilters) + for (LdapFilter _iter212 : struct.ldapFilters) { - _iter169.write(oprot); + _iter212.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } + if (struct.presetScriptIds != null) { + if (struct.isSetPresetScriptIds()) { + oprot.writeFieldBegin(PRESET_SCRIPT_IDS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.presetScriptIds.size())); + for (int _iter213 : struct.presetScriptIds) + { + oprot.writeI32(_iter213); } oprot.writeListEnd(); } @@ -3278,7 +3409,10 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture if (struct.isSetLdapFilters()) { optionals.set(28); } - oprot.writeBitSet(optionals, 29); + if (struct.isSetPresetScriptIds()) { + optionals.set(29); + } + oprot.writeBitSet(optionals, 30); if (struct.isSetLectureId()) { oprot.writeString(struct.lectureId); } @@ -3330,27 +3464,27 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture if (struct.isSetNics()) { { oprot.writeI32(struct.nics.size()); - for (String _iter170 : struct.nics) + for (String _iter214 : struct.nics) { - oprot.writeString(_iter170); + oprot.writeString(_iter214); } } } if (struct.isSetAllowedUsers()) { { oprot.writeI32(struct.allowedUsers.size()); - for (String _iter171 : struct.allowedUsers) + for (String _iter215 : struct.allowedUsers) { - oprot.writeString(_iter171); + oprot.writeString(_iter215); } } } if (struct.isSetNetworkExceptions()) { { oprot.writeI32(struct.networkExceptions.size()); - for (NetRule _iter172 : struct.networkExceptions) + for (NetRule _iter216 : struct.networkExceptions) { - _iter172.write(oprot); + _iter216.write(oprot); } } } @@ -3369,9 +3503,9 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture if (struct.isSetLocationIds()) { { oprot.writeI32(struct.locationIds.size()); - for (int _iter173 : struct.locationIds) + for (int _iter217 : struct.locationIds) { - oprot.writeI32(_iter173); + oprot.writeI32(_iter217); } } } @@ -3387,18 +3521,27 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture if (struct.isSetNetworkShares()) { { oprot.writeI32(struct.networkShares.size()); - for (NetShare _iter174 : struct.networkShares) + for (NetShare _iter218 : struct.networkShares) { - _iter174.write(oprot); + _iter218.write(oprot); } } } if (struct.isSetLdapFilters()) { { oprot.writeI32(struct.ldapFilters.size()); - for (LdapFilter _iter175 : struct.ldapFilters) + for (LdapFilter _iter219 : struct.ldapFilters) { - _iter175.write(oprot); + _iter219.write(oprot); + } + } + } + if (struct.isSetPresetScriptIds()) { + { + oprot.writeI32(struct.presetScriptIds.size()); + for (int _iter220 : struct.presetScriptIds) + { + oprot.writeI32(_iter220); } } } @@ -3407,7 +3550,7 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture @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(29); + BitSet incoming = iprot.readBitSet(30); if (incoming.get(0)) { struct.lectureId = iprot.readString(); struct.setLectureIdIsSet(true); @@ -3474,40 +3617,40 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture } if (incoming.get(16)) { { - org.apache.thrift.protocol.TList _list176 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.nics = new ArrayList<String>(_list176.size); - String _elem177; - for (int _i178 = 0; _i178 < _list176.size; ++_i178) + org.apache.thrift.protocol.TList _list221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.nics = new ArrayList<String>(_list221.size); + String _elem222; + for (int _i223 = 0; _i223 < _list221.size; ++_i223) { - _elem177 = iprot.readString(); - struct.nics.add(_elem177); + _elem222 = iprot.readString(); + struct.nics.add(_elem222); } } struct.setNicsIsSet(true); } if (incoming.get(17)) { { - org.apache.thrift.protocol.TList _list179 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.allowedUsers = new ArrayList<String>(_list179.size); - String _elem180; - for (int _i181 = 0; _i181 < _list179.size; ++_i181) + org.apache.thrift.protocol.TList _list224 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.allowedUsers = new ArrayList<String>(_list224.size); + String _elem225; + for (int _i226 = 0; _i226 < _list224.size; ++_i226) { - _elem180 = iprot.readString(); - struct.allowedUsers.add(_elem180); + _elem225 = iprot.readString(); + struct.allowedUsers.add(_elem225); } } struct.setAllowedUsersIsSet(true); } if (incoming.get(18)) { { - org.apache.thrift.protocol.TList _list182 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.networkExceptions = new ArrayList<NetRule>(_list182.size); - NetRule _elem183; - for (int _i184 = 0; _i184 < _list182.size; ++_i184) + org.apache.thrift.protocol.TList _list227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.networkExceptions = new ArrayList<NetRule>(_list227.size); + NetRule _elem228; + for (int _i229 = 0; _i229 < _list227.size; ++_i229) { - _elem183 = new NetRule(); - _elem183.read(iprot); - struct.networkExceptions.add(_elem183); + _elem228 = new NetRule(); + _elem228.read(iprot); + struct.networkExceptions.add(_elem228); } } struct.setNetworkExceptionsIsSet(true); @@ -3532,13 +3675,13 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture } if (incoming.get(23)) { { - org.apache.thrift.protocol.TList _list185 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.locationIds = new ArrayList<Integer>(_list185.size); - int _elem186; - for (int _i187 = 0; _i187 < _list185.size; ++_i187) + org.apache.thrift.protocol.TList _list230 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.locationIds = new ArrayList<Integer>(_list230.size); + int _elem231; + for (int _i232 = 0; _i232 < _list230.size; ++_i232) { - _elem186 = iprot.readI32(); - struct.locationIds.add(_elem186); + _elem231 = iprot.readI32(); + struct.locationIds.add(_elem231); } } struct.setLocationIdsIsSet(true); @@ -3557,32 +3700,45 @@ public class LectureRead implements org.apache.thrift.TBase<LectureRead, Lecture } if (incoming.get(27)) { { - org.apache.thrift.protocol.TList _list188 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.networkShares = new ArrayList<NetShare>(_list188.size); - NetShare _elem189; - for (int _i190 = 0; _i190 < _list188.size; ++_i190) + org.apache.thrift.protocol.TList _list233 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.networkShares = new ArrayList<NetShare>(_list233.size); + NetShare _elem234; + for (int _i235 = 0; _i235 < _list233.size; ++_i235) { - _elem189 = new NetShare(); - _elem189.read(iprot); - struct.networkShares.add(_elem189); + _elem234 = new NetShare(); + _elem234.read(iprot); + struct.networkShares.add(_elem234); } } struct.setNetworkSharesIsSet(true); } if (incoming.get(28)) { { - org.apache.thrift.protocol.TList _list191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.ldapFilters = new ArrayList<LdapFilter>(_list191.size); - LdapFilter _elem192; - for (int _i193 = 0; _i193 < _list191.size; ++_i193) + org.apache.thrift.protocol.TList _list236 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.ldapFilters = new ArrayList<LdapFilter>(_list236.size); + LdapFilter _elem237; + for (int _i238 = 0; _i238 < _list236.size; ++_i238) { - _elem192 = new LdapFilter(); - _elem192.read(iprot); - struct.ldapFilters.add(_elem192); + _elem237 = new LdapFilter(); + _elem237.read(iprot); + struct.ldapFilters.add(_elem237); } } struct.setLdapFiltersIsSet(true); } + if (incoming.get(29)) { + { + org.apache.thrift.protocol.TList _list239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.presetScriptIds = new ArrayList<Integer>(_list239.size); + int _elem240; + for (int _i241 = 0; _i241 < _list239.size; ++_i241) + { + _elem240 = iprot.readI32(); + struct.presetScriptIds.add(_elem240); + } + } + struct.setPresetScriptIdsIsSet(true); + } } } |