Subversion Repositories SmartDukaan

Rev

Rev 7256 | Rev 7737 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7256 Rev 7567
Line 136... Line 136...
136
 
136
 
137
    public void addPincode(long providerId, String pincode, String destCode, boolean exp, boolean cod, int stationType, boolean otgAvailable) throws org.apache.thrift.TException;
137
    public void addPincode(long providerId, String pincode, String destCode, boolean exp, boolean cod, int stationType, boolean otgAvailable) throws org.apache.thrift.TException;
138
 
138
 
139
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable) throws org.apache.thrift.TException;
139
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable) throws org.apache.thrift.TException;
140
 
140
 
-
 
141
    public boolean addNewAwbs(long providerId, boolean cod, List<String> awbs) throws org.apache.thrift.TException;
-
 
142
 
141
  }
143
  }
142
 
144
 
143
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
145
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
144
 
146
 
145
    public void getProvider(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getProvider_call> resultHandler) throws org.apache.thrift.TException;
147
    public void getProvider(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getProvider_call> resultHandler) throws org.apache.thrift.TException;
Line 176... Line 178...
176
 
178
 
177
    public void addPincode(long providerId, String pincode, String destCode, boolean exp, boolean cod, int stationType, boolean otgAvailable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addPincode_call> resultHandler) throws org.apache.thrift.TException;
179
    public void addPincode(long providerId, String pincode, String destCode, boolean exp, boolean cod, int stationType, boolean otgAvailable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addPincode_call> resultHandler) throws org.apache.thrift.TException;
178
 
180
 
179
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updatePincode_call> resultHandler) throws org.apache.thrift.TException;
181
    public void updatePincode(long providerId, String pincode, boolean exp, boolean cod, boolean otgAvailable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updatePincode_call> resultHandler) throws org.apache.thrift.TException;
180
 
182
 
-
 
183
    public void addNewAwbs(long providerId, boolean cod, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addNewAwbs_call> resultHandler) throws org.apache.thrift.TException;
-
 
184
 
181
  }
185
  }
182
 
186
 
183
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
187
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
184
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
188
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
185
      public Factory() {}
189
      public Factory() {}
Line 655... Line 659...
655
      updatePincode_result result = new updatePincode_result();
659
      updatePincode_result result = new updatePincode_result();
656
      receiveBase(result, "updatePincode");
660
      receiveBase(result, "updatePincode");
657
      return;
661
      return;
658
    }
662
    }
659
 
663
 
-
 
664
    public boolean addNewAwbs(long providerId, boolean cod, List<String> awbs) throws org.apache.thrift.TException
-
 
665
    {
-
 
666
      send_addNewAwbs(providerId, cod, awbs);
-
 
667
      return recv_addNewAwbs();
-
 
668
    }
-
 
669
 
-
 
670
    public void send_addNewAwbs(long providerId, boolean cod, List<String> awbs) throws org.apache.thrift.TException
-
 
671
    {
-
 
672
      addNewAwbs_args args = new addNewAwbs_args();
-
 
673
      args.setProviderId(providerId);
-
 
674
      args.setCod(cod);
-
 
675
      args.setAwbs(awbs);
-
 
676
      sendBase("addNewAwbs", args);
-
 
677
    }
-
 
678
 
-
 
679
    public boolean recv_addNewAwbs() throws org.apache.thrift.TException
-
 
680
    {
-
 
681
      addNewAwbs_result result = new addNewAwbs_result();
-
 
682
      receiveBase(result, "addNewAwbs");
-
 
683
      if (result.isSetSuccess()) {
-
 
684
        return result.success;
-
 
685
      }
-
 
686
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addNewAwbs failed: unknown result");
-
 
687
    }
-
 
688
 
660
  }
689
  }
661
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
690
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
662
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
691
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
663
      private org.apache.thrift.async.TAsyncClientManager clientManager;
692
      private org.apache.thrift.async.TAsyncClientManager clientManager;
664
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
693
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 1315... Line 1344...
1315
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1344
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1316
        (new Client(prot)).recv_updatePincode();
1345
        (new Client(prot)).recv_updatePincode();
1317
      }
1346
      }
1318
    }
1347
    }
1319
 
1348
 
-
 
1349
    public void addNewAwbs(long providerId, boolean cod, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<addNewAwbs_call> resultHandler) throws org.apache.thrift.TException {
-
 
1350
      checkReady();
-
 
1351
      addNewAwbs_call method_call = new addNewAwbs_call(providerId, cod, awbs, resultHandler, this, ___protocolFactory, ___transport);
-
 
1352
      this.___currentMethod = method_call;
-
 
1353
      ___manager.call(method_call);
-
 
1354
    }
-
 
1355
 
-
 
1356
    public static class addNewAwbs_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
1357
      private long providerId;
-
 
1358
      private boolean cod;
-
 
1359
      private List<String> awbs;
-
 
1360
      public addNewAwbs_call(long providerId, boolean cod, List<String> awbs, org.apache.thrift.async.AsyncMethodCallback<addNewAwbs_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
1361
        super(client, protocolFactory, transport, resultHandler, false);
-
 
1362
        this.providerId = providerId;
-
 
1363
        this.cod = cod;
-
 
1364
        this.awbs = awbs;
-
 
1365
      }
-
 
1366
 
-
 
1367
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
1368
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addNewAwbs", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
1369
        addNewAwbs_args args = new addNewAwbs_args();
-
 
1370
        args.setProviderId(providerId);
-
 
1371
        args.setCod(cod);
-
 
1372
        args.setAwbs(awbs);
-
 
1373
        args.write(prot);
-
 
1374
        prot.writeMessageEnd();
-
 
1375
      }
-
 
1376
 
-
 
1377
      public boolean getResult() throws org.apache.thrift.TException {
-
 
1378
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
1379
          throw new IllegalStateException("Method call not finished!");
-
 
1380
        }
-
 
1381
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
1382
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
1383
        return (new Client(prot)).recv_addNewAwbs();
-
 
1384
      }
-
 
1385
    }
-
 
1386
 
1320
  }
1387
  }
1321
 
1388
 
1322
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1389
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1323
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1390
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1324
    public Processor(I iface) {
1391
    public Processor(I iface) {
Line 1346... Line 1413...
1346
      processMap.put("getAllPickupStores", new getAllPickupStores());
1413
      processMap.put("getAllPickupStores", new getAllPickupStores());
1347
      processMap.put("getPickupStore", new getPickupStore());
1414
      processMap.put("getPickupStore", new getPickupStore());
1348
      processMap.put("getPickupStoreByHotspotId", new getPickupStoreByHotspotId());
1415
      processMap.put("getPickupStoreByHotspotId", new getPickupStoreByHotspotId());
1349
      processMap.put("addPincode", new addPincode());
1416
      processMap.put("addPincode", new addPincode());
1350
      processMap.put("updatePincode", new updatePincode());
1417
      processMap.put("updatePincode", new updatePincode());
-
 
1418
      processMap.put("addNewAwbs", new addNewAwbs());
1351
      return processMap;
1419
      return processMap;
1352
    }
1420
    }
1353
 
1421
 
1354
    private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
1422
    private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
1355
      public getProvider() {
1423
      public getProvider() {
Line 1679... Line 1747...
1679
        iface.updatePincode(args.providerId, args.pincode, args.exp, args.cod, args.otgAvailable);
1747
        iface.updatePincode(args.providerId, args.pincode, args.exp, args.cod, args.otgAvailable);
1680
        return result;
1748
        return result;
1681
      }
1749
      }
1682
    }
1750
    }
1683
 
1751
 
-
 
1752
    private static class addNewAwbs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addNewAwbs_args> {
-
 
1753
      public addNewAwbs() {
-
 
1754
        super("addNewAwbs");
-
 
1755
      }
-
 
1756
 
-
 
1757
      protected addNewAwbs_args getEmptyArgsInstance() {
-
 
1758
        return new addNewAwbs_args();
-
 
1759
      }
-
 
1760
 
-
 
1761
      protected addNewAwbs_result getResult(I iface, addNewAwbs_args args) throws org.apache.thrift.TException {
-
 
1762
        addNewAwbs_result result = new addNewAwbs_result();
-
 
1763
        result.success = iface.addNewAwbs(args.providerId, args.cod, args.awbs);
-
 
1764
        result.setSuccessIsSet(true);
-
 
1765
        return result;
-
 
1766
      }
-
 
1767
    }
-
 
1768
 
1684
  }
1769
  }
1685
 
1770
 
1686
  public static class getProvider_args implements org.apache.thrift.TBase<getProvider_args, getProvider_args._Fields>, java.io.Serializable, Cloneable   {
1771
  public static class getProvider_args implements org.apache.thrift.TBase<getProvider_args, getProvider_args._Fields>, java.io.Serializable, Cloneable   {
1687
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProvider_args");
1772
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProvider_args");
1688
 
1773
 
Line 14966... Line 15051...
14966
      sb.append(")");
15051
      sb.append(")");
14967
      return sb.toString();
15052
      return sb.toString();
14968
    }
15053
    }
14969
 
15054
 
14970
    public void validate() throws org.apache.thrift.TException {
15055
    public void validate() throws org.apache.thrift.TException {
-
 
15056
      // check for required fields
-
 
15057
    }
-
 
15058
 
-
 
15059
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
15060
      try {
-
 
15061
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
15062
      } catch (org.apache.thrift.TException te) {
-
 
15063
        throw new java.io.IOException(te);
-
 
15064
      }
-
 
15065
    }
-
 
15066
 
-
 
15067
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
15068
      try {
-
 
15069
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
15070
      } catch (org.apache.thrift.TException te) {
-
 
15071
        throw new java.io.IOException(te);
-
 
15072
      }
-
 
15073
    }
-
 
15074
 
-
 
15075
  }
-
 
15076
 
-
 
15077
  public static class addNewAwbs_args implements org.apache.thrift.TBase<addNewAwbs_args, addNewAwbs_args._Fields>, java.io.Serializable, Cloneable   {
-
 
15078
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addNewAwbs_args");
-
 
15079
 
-
 
15080
    private static final org.apache.thrift.protocol.TField PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("providerId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
15081
    private static final org.apache.thrift.protocol.TField COD_FIELD_DESC = new org.apache.thrift.protocol.TField("cod", org.apache.thrift.protocol.TType.BOOL, (short)2);
-
 
15082
    private static final org.apache.thrift.protocol.TField AWBS_FIELD_DESC = new org.apache.thrift.protocol.TField("awbs", org.apache.thrift.protocol.TType.LIST, (short)3);
-
 
15083
 
-
 
15084
    private long providerId; // required
-
 
15085
    private boolean cod; // required
-
 
15086
    private List<String> awbs; // required
-
 
15087
 
-
 
15088
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
15089
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
15090
      PROVIDER_ID((short)1, "providerId"),
-
 
15091
      COD((short)2, "cod"),
-
 
15092
      AWBS((short)3, "awbs");
-
 
15093
 
-
 
15094
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
15095
 
-
 
15096
      static {
-
 
15097
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
15098
          byName.put(field.getFieldName(), field);
-
 
15099
        }
-
 
15100
      }
-
 
15101
 
-
 
15102
      /**
-
 
15103
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
15104
       */
-
 
15105
      public static _Fields findByThriftId(int fieldId) {
-
 
15106
        switch(fieldId) {
-
 
15107
          case 1: // PROVIDER_ID
-
 
15108
            return PROVIDER_ID;
-
 
15109
          case 2: // COD
-
 
15110
            return COD;
-
 
15111
          case 3: // AWBS
-
 
15112
            return AWBS;
-
 
15113
          default:
-
 
15114
            return null;
-
 
15115
        }
-
 
15116
      }
-
 
15117
 
-
 
15118
      /**
-
 
15119
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
15120
       * if it is not found.
-
 
15121
       */
-
 
15122
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
15123
        _Fields fields = findByThriftId(fieldId);
-
 
15124
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
15125
        return fields;
-
 
15126
      }
-
 
15127
 
-
 
15128
      /**
-
 
15129
       * Find the _Fields constant that matches name, or null if its not found.
-
 
15130
       */
-
 
15131
      public static _Fields findByName(String name) {
-
 
15132
        return byName.get(name);
-
 
15133
      }
-
 
15134
 
-
 
15135
      private final short _thriftId;
-
 
15136
      private final String _fieldName;
-
 
15137
 
-
 
15138
      _Fields(short thriftId, String fieldName) {
-
 
15139
        _thriftId = thriftId;
-
 
15140
        _fieldName = fieldName;
-
 
15141
      }
-
 
15142
 
-
 
15143
      public short getThriftFieldId() {
-
 
15144
        return _thriftId;
-
 
15145
      }
-
 
15146
 
-
 
15147
      public String getFieldName() {
-
 
15148
        return _fieldName;
-
 
15149
      }
-
 
15150
    }
-
 
15151
 
-
 
15152
    // isset id assignments
-
 
15153
    private static final int __PROVIDERID_ISSET_ID = 0;
-
 
15154
    private static final int __COD_ISSET_ID = 1;
-
 
15155
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
15156
 
-
 
15157
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
15158
    static {
-
 
15159
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
15160
      tmpMap.put(_Fields.PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("providerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
15161
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
15162
      tmpMap.put(_Fields.COD, new org.apache.thrift.meta_data.FieldMetaData("cod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
15163
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
15164
      tmpMap.put(_Fields.AWBS, new org.apache.thrift.meta_data.FieldMetaData("awbs", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
15165
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
15166
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
15167
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
15168
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addNewAwbs_args.class, metaDataMap);
-
 
15169
    }
-
 
15170
 
-
 
15171
    public addNewAwbs_args() {
-
 
15172
    }
-
 
15173
 
-
 
15174
    public addNewAwbs_args(
-
 
15175
      long providerId,
-
 
15176
      boolean cod,
-
 
15177
      List<String> awbs)
-
 
15178
    {
-
 
15179
      this();
-
 
15180
      this.providerId = providerId;
-
 
15181
      setProviderIdIsSet(true);
-
 
15182
      this.cod = cod;
-
 
15183
      setCodIsSet(true);
-
 
15184
      this.awbs = awbs;
-
 
15185
    }
-
 
15186
 
-
 
15187
    /**
-
 
15188
     * Performs a deep copy on <i>other</i>.
-
 
15189
     */
-
 
15190
    public addNewAwbs_args(addNewAwbs_args other) {
-
 
15191
      __isset_bit_vector.clear();
-
 
15192
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
15193
      this.providerId = other.providerId;
-
 
15194
      this.cod = other.cod;
-
 
15195
      if (other.isSetAwbs()) {
-
 
15196
        List<String> __this__awbs = new ArrayList<String>();
-
 
15197
        for (String other_element : other.awbs) {
-
 
15198
          __this__awbs.add(other_element);
-
 
15199
        }
-
 
15200
        this.awbs = __this__awbs;
-
 
15201
      }
-
 
15202
    }
-
 
15203
 
-
 
15204
    public addNewAwbs_args deepCopy() {
-
 
15205
      return new addNewAwbs_args(this);
-
 
15206
    }
-
 
15207
 
-
 
15208
    @Override
-
 
15209
    public void clear() {
-
 
15210
      setProviderIdIsSet(false);
-
 
15211
      this.providerId = 0;
-
 
15212
      setCodIsSet(false);
-
 
15213
      this.cod = false;
-
 
15214
      this.awbs = null;
-
 
15215
    }
-
 
15216
 
-
 
15217
    public long getProviderId() {
-
 
15218
      return this.providerId;
-
 
15219
    }
-
 
15220
 
-
 
15221
    public void setProviderId(long providerId) {
-
 
15222
      this.providerId = providerId;
-
 
15223
      setProviderIdIsSet(true);
-
 
15224
    }
-
 
15225
 
-
 
15226
    public void unsetProviderId() {
-
 
15227
      __isset_bit_vector.clear(__PROVIDERID_ISSET_ID);
-
 
15228
    }
-
 
15229
 
-
 
15230
    /** Returns true if field providerId is set (has been assigned a value) and false otherwise */
-
 
15231
    public boolean isSetProviderId() {
-
 
15232
      return __isset_bit_vector.get(__PROVIDERID_ISSET_ID);
-
 
15233
    }
-
 
15234
 
-
 
15235
    public void setProviderIdIsSet(boolean value) {
-
 
15236
      __isset_bit_vector.set(__PROVIDERID_ISSET_ID, value);
-
 
15237
    }
-
 
15238
 
-
 
15239
    public boolean isCod() {
-
 
15240
      return this.cod;
-
 
15241
    }
-
 
15242
 
-
 
15243
    public void setCod(boolean cod) {
-
 
15244
      this.cod = cod;
-
 
15245
      setCodIsSet(true);
-
 
15246
    }
-
 
15247
 
-
 
15248
    public void unsetCod() {
-
 
15249
      __isset_bit_vector.clear(__COD_ISSET_ID);
-
 
15250
    }
-
 
15251
 
-
 
15252
    /** Returns true if field cod is set (has been assigned a value) and false otherwise */
-
 
15253
    public boolean isSetCod() {
-
 
15254
      return __isset_bit_vector.get(__COD_ISSET_ID);
-
 
15255
    }
-
 
15256
 
-
 
15257
    public void setCodIsSet(boolean value) {
-
 
15258
      __isset_bit_vector.set(__COD_ISSET_ID, value);
-
 
15259
    }
-
 
15260
 
-
 
15261
    public int getAwbsSize() {
-
 
15262
      return (this.awbs == null) ? 0 : this.awbs.size();
-
 
15263
    }
-
 
15264
 
-
 
15265
    public java.util.Iterator<String> getAwbsIterator() {
-
 
15266
      return (this.awbs == null) ? null : this.awbs.iterator();
-
 
15267
    }
-
 
15268
 
-
 
15269
    public void addToAwbs(String elem) {
-
 
15270
      if (this.awbs == null) {
-
 
15271
        this.awbs = new ArrayList<String>();
-
 
15272
      }
-
 
15273
      this.awbs.add(elem);
-
 
15274
    }
-
 
15275
 
-
 
15276
    public List<String> getAwbs() {
-
 
15277
      return this.awbs;
-
 
15278
    }
-
 
15279
 
-
 
15280
    public void setAwbs(List<String> awbs) {
-
 
15281
      this.awbs = awbs;
-
 
15282
    }
-
 
15283
 
-
 
15284
    public void unsetAwbs() {
-
 
15285
      this.awbs = null;
-
 
15286
    }
-
 
15287
 
-
 
15288
    /** Returns true if field awbs is set (has been assigned a value) and false otherwise */
-
 
15289
    public boolean isSetAwbs() {
-
 
15290
      return this.awbs != null;
-
 
15291
    }
-
 
15292
 
-
 
15293
    public void setAwbsIsSet(boolean value) {
-
 
15294
      if (!value) {
-
 
15295
        this.awbs = null;
-
 
15296
      }
-
 
15297
    }
-
 
15298
 
-
 
15299
    public void setFieldValue(_Fields field, Object value) {
-
 
15300
      switch (field) {
-
 
15301
      case PROVIDER_ID:
-
 
15302
        if (value == null) {
-
 
15303
          unsetProviderId();
-
 
15304
        } else {
-
 
15305
          setProviderId((Long)value);
-
 
15306
        }
-
 
15307
        break;
-
 
15308
 
-
 
15309
      case COD:
-
 
15310
        if (value == null) {
-
 
15311
          unsetCod();
-
 
15312
        } else {
-
 
15313
          setCod((Boolean)value);
-
 
15314
        }
-
 
15315
        break;
-
 
15316
 
-
 
15317
      case AWBS:
-
 
15318
        if (value == null) {
-
 
15319
          unsetAwbs();
-
 
15320
        } else {
-
 
15321
          setAwbs((List<String>)value);
-
 
15322
        }
-
 
15323
        break;
-
 
15324
 
-
 
15325
      }
-
 
15326
    }
-
 
15327
 
-
 
15328
    public Object getFieldValue(_Fields field) {
-
 
15329
      switch (field) {
-
 
15330
      case PROVIDER_ID:
-
 
15331
        return Long.valueOf(getProviderId());
-
 
15332
 
-
 
15333
      case COD:
-
 
15334
        return Boolean.valueOf(isCod());
-
 
15335
 
-
 
15336
      case AWBS:
-
 
15337
        return getAwbs();
-
 
15338
 
-
 
15339
      }
-
 
15340
      throw new IllegalStateException();
-
 
15341
    }
-
 
15342
 
-
 
15343
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
15344
    public boolean isSet(_Fields field) {
-
 
15345
      if (field == null) {
-
 
15346
        throw new IllegalArgumentException();
-
 
15347
      }
-
 
15348
 
-
 
15349
      switch (field) {
-
 
15350
      case PROVIDER_ID:
-
 
15351
        return isSetProviderId();
-
 
15352
      case COD:
-
 
15353
        return isSetCod();
-
 
15354
      case AWBS:
-
 
15355
        return isSetAwbs();
-
 
15356
      }
-
 
15357
      throw new IllegalStateException();
-
 
15358
    }
-
 
15359
 
-
 
15360
    @Override
-
 
15361
    public boolean equals(Object that) {
-
 
15362
      if (that == null)
-
 
15363
        return false;
-
 
15364
      if (that instanceof addNewAwbs_args)
-
 
15365
        return this.equals((addNewAwbs_args)that);
-
 
15366
      return false;
-
 
15367
    }
-
 
15368
 
-
 
15369
    public boolean equals(addNewAwbs_args that) {
-
 
15370
      if (that == null)
-
 
15371
        return false;
-
 
15372
 
-
 
15373
      boolean this_present_providerId = true;
-
 
15374
      boolean that_present_providerId = true;
-
 
15375
      if (this_present_providerId || that_present_providerId) {
-
 
15376
        if (!(this_present_providerId && that_present_providerId))
-
 
15377
          return false;
-
 
15378
        if (this.providerId != that.providerId)
-
 
15379
          return false;
-
 
15380
      }
-
 
15381
 
-
 
15382
      boolean this_present_cod = true;
-
 
15383
      boolean that_present_cod = true;
-
 
15384
      if (this_present_cod || that_present_cod) {
-
 
15385
        if (!(this_present_cod && that_present_cod))
-
 
15386
          return false;
-
 
15387
        if (this.cod != that.cod)
-
 
15388
          return false;
-
 
15389
      }
-
 
15390
 
-
 
15391
      boolean this_present_awbs = true && this.isSetAwbs();
-
 
15392
      boolean that_present_awbs = true && that.isSetAwbs();
-
 
15393
      if (this_present_awbs || that_present_awbs) {
-
 
15394
        if (!(this_present_awbs && that_present_awbs))
-
 
15395
          return false;
-
 
15396
        if (!this.awbs.equals(that.awbs))
-
 
15397
          return false;
-
 
15398
      }
-
 
15399
 
-
 
15400
      return true;
-
 
15401
    }
-
 
15402
 
-
 
15403
    @Override
-
 
15404
    public int hashCode() {
-
 
15405
      return 0;
-
 
15406
    }
-
 
15407
 
-
 
15408
    public int compareTo(addNewAwbs_args other) {
-
 
15409
      if (!getClass().equals(other.getClass())) {
-
 
15410
        return getClass().getName().compareTo(other.getClass().getName());
-
 
15411
      }
-
 
15412
 
-
 
15413
      int lastComparison = 0;
-
 
15414
      addNewAwbs_args typedOther = (addNewAwbs_args)other;
-
 
15415
 
-
 
15416
      lastComparison = Boolean.valueOf(isSetProviderId()).compareTo(typedOther.isSetProviderId());
-
 
15417
      if (lastComparison != 0) {
-
 
15418
        return lastComparison;
-
 
15419
      }
-
 
15420
      if (isSetProviderId()) {
-
 
15421
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerId, typedOther.providerId);
-
 
15422
        if (lastComparison != 0) {
-
 
15423
          return lastComparison;
-
 
15424
        }
-
 
15425
      }
-
 
15426
      lastComparison = Boolean.valueOf(isSetCod()).compareTo(typedOther.isSetCod());
-
 
15427
      if (lastComparison != 0) {
-
 
15428
        return lastComparison;
-
 
15429
      }
-
 
15430
      if (isSetCod()) {
-
 
15431
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cod, typedOther.cod);
-
 
15432
        if (lastComparison != 0) {
-
 
15433
          return lastComparison;
-
 
15434
        }
-
 
15435
      }
-
 
15436
      lastComparison = Boolean.valueOf(isSetAwbs()).compareTo(typedOther.isSetAwbs());
-
 
15437
      if (lastComparison != 0) {
-
 
15438
        return lastComparison;
-
 
15439
      }
-
 
15440
      if (isSetAwbs()) {
-
 
15441
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.awbs, typedOther.awbs);
-
 
15442
        if (lastComparison != 0) {
-
 
15443
          return lastComparison;
-
 
15444
        }
-
 
15445
      }
-
 
15446
      return 0;
-
 
15447
    }
-
 
15448
 
-
 
15449
    public _Fields fieldForId(int fieldId) {
-
 
15450
      return _Fields.findByThriftId(fieldId);
-
 
15451
    }
-
 
15452
 
-
 
15453
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
15454
      org.apache.thrift.protocol.TField field;
-
 
15455
      iprot.readStructBegin();
-
 
15456
      while (true)
-
 
15457
      {
-
 
15458
        field = iprot.readFieldBegin();
-
 
15459
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
15460
          break;
-
 
15461
        }
-
 
15462
        switch (field.id) {
-
 
15463
          case 1: // PROVIDER_ID
-
 
15464
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
15465
              this.providerId = iprot.readI64();
-
 
15466
              setProviderIdIsSet(true);
-
 
15467
            } else { 
-
 
15468
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
15469
            }
-
 
15470
            break;
-
 
15471
          case 2: // COD
-
 
15472
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
15473
              this.cod = iprot.readBool();
-
 
15474
              setCodIsSet(true);
-
 
15475
            } else { 
-
 
15476
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
15477
            }
-
 
15478
            break;
-
 
15479
          case 3: // AWBS
-
 
15480
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
15481
              {
-
 
15482
                org.apache.thrift.protocol.TList _list25 = iprot.readListBegin();
-
 
15483
                this.awbs = new ArrayList<String>(_list25.size);
-
 
15484
                for (int _i26 = 0; _i26 < _list25.size; ++_i26)
-
 
15485
                {
-
 
15486
                  String _elem27; // required
-
 
15487
                  _elem27 = iprot.readString();
-
 
15488
                  this.awbs.add(_elem27);
-
 
15489
                }
-
 
15490
                iprot.readListEnd();
-
 
15491
              }
-
 
15492
            } else { 
-
 
15493
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
15494
            }
-
 
15495
            break;
-
 
15496
          default:
-
 
15497
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
15498
        }
-
 
15499
        iprot.readFieldEnd();
-
 
15500
      }
-
 
15501
      iprot.readStructEnd();
-
 
15502
      validate();
-
 
15503
    }
-
 
15504
 
-
 
15505
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
15506
      validate();
-
 
15507
 
-
 
15508
      oprot.writeStructBegin(STRUCT_DESC);
-
 
15509
      oprot.writeFieldBegin(PROVIDER_ID_FIELD_DESC);
-
 
15510
      oprot.writeI64(this.providerId);
-
 
15511
      oprot.writeFieldEnd();
-
 
15512
      oprot.writeFieldBegin(COD_FIELD_DESC);
-
 
15513
      oprot.writeBool(this.cod);
-
 
15514
      oprot.writeFieldEnd();
-
 
15515
      if (this.awbs != null) {
-
 
15516
        oprot.writeFieldBegin(AWBS_FIELD_DESC);
-
 
15517
        {
-
 
15518
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.awbs.size()));
-
 
15519
          for (String _iter28 : this.awbs)
-
 
15520
          {
-
 
15521
            oprot.writeString(_iter28);
-
 
15522
          }
-
 
15523
          oprot.writeListEnd();
-
 
15524
        }
-
 
15525
        oprot.writeFieldEnd();
-
 
15526
      }
-
 
15527
      oprot.writeFieldStop();
-
 
15528
      oprot.writeStructEnd();
-
 
15529
    }
-
 
15530
 
-
 
15531
    @Override
-
 
15532
    public String toString() {
-
 
15533
      StringBuilder sb = new StringBuilder("addNewAwbs_args(");
-
 
15534
      boolean first = true;
-
 
15535
 
-
 
15536
      sb.append("providerId:");
-
 
15537
      sb.append(this.providerId);
-
 
15538
      first = false;
-
 
15539
      if (!first) sb.append(", ");
-
 
15540
      sb.append("cod:");
-
 
15541
      sb.append(this.cod);
-
 
15542
      first = false;
-
 
15543
      if (!first) sb.append(", ");
-
 
15544
      sb.append("awbs:");
-
 
15545
      if (this.awbs == null) {
-
 
15546
        sb.append("null");
-
 
15547
      } else {
-
 
15548
        sb.append(this.awbs);
-
 
15549
      }
-
 
15550
      first = false;
-
 
15551
      sb.append(")");
-
 
15552
      return sb.toString();
-
 
15553
    }
-
 
15554
 
-
 
15555
    public void validate() throws org.apache.thrift.TException {
-
 
15556
      // check for required fields
-
 
15557
    }
-
 
15558
 
-
 
15559
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
15560
      try {
-
 
15561
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
15562
      } catch (org.apache.thrift.TException te) {
-
 
15563
        throw new java.io.IOException(te);
-
 
15564
      }
-
 
15565
    }
-
 
15566
 
-
 
15567
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
15568
      try {
-
 
15569
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
15570
        __isset_bit_vector = new BitSet(1);
-
 
15571
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
15572
      } catch (org.apache.thrift.TException te) {
-
 
15573
        throw new java.io.IOException(te);
-
 
15574
      }
-
 
15575
    }
-
 
15576
 
-
 
15577
  }
-
 
15578
 
-
 
15579
  public static class addNewAwbs_result implements org.apache.thrift.TBase<addNewAwbs_result, addNewAwbs_result._Fields>, java.io.Serializable, Cloneable   {
-
 
15580
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addNewAwbs_result");
-
 
15581
 
-
 
15582
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
15583
 
-
 
15584
    private boolean success; // required
-
 
15585
 
-
 
15586
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
15587
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
15588
      SUCCESS((short)0, "success");
-
 
15589
 
-
 
15590
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
15591
 
-
 
15592
      static {
-
 
15593
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
15594
          byName.put(field.getFieldName(), field);
-
 
15595
        }
-
 
15596
      }
-
 
15597
 
-
 
15598
      /**
-
 
15599
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
15600
       */
-
 
15601
      public static _Fields findByThriftId(int fieldId) {
-
 
15602
        switch(fieldId) {
-
 
15603
          case 0: // SUCCESS
-
 
15604
            return SUCCESS;
-
 
15605
          default:
-
 
15606
            return null;
-
 
15607
        }
-
 
15608
      }
-
 
15609
 
-
 
15610
      /**
-
 
15611
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
15612
       * if it is not found.
-
 
15613
       */
-
 
15614
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
15615
        _Fields fields = findByThriftId(fieldId);
-
 
15616
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
15617
        return fields;
-
 
15618
      }
-
 
15619
 
-
 
15620
      /**
-
 
15621
       * Find the _Fields constant that matches name, or null if its not found.
-
 
15622
       */
-
 
15623
      public static _Fields findByName(String name) {
-
 
15624
        return byName.get(name);
-
 
15625
      }
-
 
15626
 
-
 
15627
      private final short _thriftId;
-
 
15628
      private final String _fieldName;
-
 
15629
 
-
 
15630
      _Fields(short thriftId, String fieldName) {
-
 
15631
        _thriftId = thriftId;
-
 
15632
        _fieldName = fieldName;
-
 
15633
      }
-
 
15634
 
-
 
15635
      public short getThriftFieldId() {
-
 
15636
        return _thriftId;
-
 
15637
      }
-
 
15638
 
-
 
15639
      public String getFieldName() {
-
 
15640
        return _fieldName;
-
 
15641
      }
-
 
15642
    }
-
 
15643
 
-
 
15644
    // isset id assignments
-
 
15645
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
15646
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
15647
 
-
 
15648
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
15649
    static {
-
 
15650
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
15651
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
15652
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
15653
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
15654
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addNewAwbs_result.class, metaDataMap);
-
 
15655
    }
-
 
15656
 
-
 
15657
    public addNewAwbs_result() {
-
 
15658
    }
-
 
15659
 
-
 
15660
    public addNewAwbs_result(
-
 
15661
      boolean success)
-
 
15662
    {
-
 
15663
      this();
-
 
15664
      this.success = success;
-
 
15665
      setSuccessIsSet(true);
-
 
15666
    }
-
 
15667
 
-
 
15668
    /**
-
 
15669
     * Performs a deep copy on <i>other</i>.
-
 
15670
     */
-
 
15671
    public addNewAwbs_result(addNewAwbs_result other) {
-
 
15672
      __isset_bit_vector.clear();
-
 
15673
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
15674
      this.success = other.success;
-
 
15675
    }
-
 
15676
 
-
 
15677
    public addNewAwbs_result deepCopy() {
-
 
15678
      return new addNewAwbs_result(this);
-
 
15679
    }
-
 
15680
 
-
 
15681
    @Override
-
 
15682
    public void clear() {
-
 
15683
      setSuccessIsSet(false);
-
 
15684
      this.success = false;
-
 
15685
    }
-
 
15686
 
-
 
15687
    public boolean isSuccess() {
-
 
15688
      return this.success;
-
 
15689
    }
-
 
15690
 
-
 
15691
    public void setSuccess(boolean success) {
-
 
15692
      this.success = success;
-
 
15693
      setSuccessIsSet(true);
-
 
15694
    }
-
 
15695
 
-
 
15696
    public void unsetSuccess() {
-
 
15697
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
15698
    }
-
 
15699
 
-
 
15700
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
15701
    public boolean isSetSuccess() {
-
 
15702
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
15703
    }
-
 
15704
 
-
 
15705
    public void setSuccessIsSet(boolean value) {
-
 
15706
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
15707
    }
-
 
15708
 
-
 
15709
    public void setFieldValue(_Fields field, Object value) {
-
 
15710
      switch (field) {
-
 
15711
      case SUCCESS:
-
 
15712
        if (value == null) {
-
 
15713
          unsetSuccess();
-
 
15714
        } else {
-
 
15715
          setSuccess((Boolean)value);
-
 
15716
        }
-
 
15717
        break;
-
 
15718
 
-
 
15719
      }
-
 
15720
    }
-
 
15721
 
-
 
15722
    public Object getFieldValue(_Fields field) {
-
 
15723
      switch (field) {
-
 
15724
      case SUCCESS:
-
 
15725
        return Boolean.valueOf(isSuccess());
-
 
15726
 
-
 
15727
      }
-
 
15728
      throw new IllegalStateException();
-
 
15729
    }
-
 
15730
 
-
 
15731
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
15732
    public boolean isSet(_Fields field) {
-
 
15733
      if (field == null) {
-
 
15734
        throw new IllegalArgumentException();
-
 
15735
      }
-
 
15736
 
-
 
15737
      switch (field) {
-
 
15738
      case SUCCESS:
-
 
15739
        return isSetSuccess();
-
 
15740
      }
-
 
15741
      throw new IllegalStateException();
-
 
15742
    }
-
 
15743
 
-
 
15744
    @Override
-
 
15745
    public boolean equals(Object that) {
-
 
15746
      if (that == null)
-
 
15747
        return false;
-
 
15748
      if (that instanceof addNewAwbs_result)
-
 
15749
        return this.equals((addNewAwbs_result)that);
-
 
15750
      return false;
-
 
15751
    }
-
 
15752
 
-
 
15753
    public boolean equals(addNewAwbs_result that) {
-
 
15754
      if (that == null)
-
 
15755
        return false;
-
 
15756
 
-
 
15757
      boolean this_present_success = true;
-
 
15758
      boolean that_present_success = true;
-
 
15759
      if (this_present_success || that_present_success) {
-
 
15760
        if (!(this_present_success && that_present_success))
-
 
15761
          return false;
-
 
15762
        if (this.success != that.success)
-
 
15763
          return false;
-
 
15764
      }
-
 
15765
 
-
 
15766
      return true;
-
 
15767
    }
-
 
15768
 
-
 
15769
    @Override
-
 
15770
    public int hashCode() {
-
 
15771
      return 0;
-
 
15772
    }
-
 
15773
 
-
 
15774
    public int compareTo(addNewAwbs_result other) {
-
 
15775
      if (!getClass().equals(other.getClass())) {
-
 
15776
        return getClass().getName().compareTo(other.getClass().getName());
-
 
15777
      }
-
 
15778
 
-
 
15779
      int lastComparison = 0;
-
 
15780
      addNewAwbs_result typedOther = (addNewAwbs_result)other;
-
 
15781
 
-
 
15782
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
15783
      if (lastComparison != 0) {
-
 
15784
        return lastComparison;
-
 
15785
      }
-
 
15786
      if (isSetSuccess()) {
-
 
15787
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
15788
        if (lastComparison != 0) {
-
 
15789
          return lastComparison;
-
 
15790
        }
-
 
15791
      }
-
 
15792
      return 0;
-
 
15793
    }
-
 
15794
 
-
 
15795
    public _Fields fieldForId(int fieldId) {
-
 
15796
      return _Fields.findByThriftId(fieldId);
-
 
15797
    }
-
 
15798
 
-
 
15799
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
15800
      org.apache.thrift.protocol.TField field;
-
 
15801
      iprot.readStructBegin();
-
 
15802
      while (true)
-
 
15803
      {
-
 
15804
        field = iprot.readFieldBegin();
-
 
15805
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
15806
          break;
-
 
15807
        }
-
 
15808
        switch (field.id) {
-
 
15809
          case 0: // SUCCESS
-
 
15810
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
15811
              this.success = iprot.readBool();
-
 
15812
              setSuccessIsSet(true);
-
 
15813
            } else { 
-
 
15814
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
15815
            }
-
 
15816
            break;
-
 
15817
          default:
-
 
15818
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
15819
        }
-
 
15820
        iprot.readFieldEnd();
-
 
15821
      }
-
 
15822
      iprot.readStructEnd();
-
 
15823
      validate();
-
 
15824
    }
-
 
15825
 
-
 
15826
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
15827
      oprot.writeStructBegin(STRUCT_DESC);
-
 
15828
 
-
 
15829
      if (this.isSetSuccess()) {
-
 
15830
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
15831
        oprot.writeBool(this.success);
-
 
15832
        oprot.writeFieldEnd();
-
 
15833
      }
-
 
15834
      oprot.writeFieldStop();
-
 
15835
      oprot.writeStructEnd();
-
 
15836
    }
-
 
15837
 
-
 
15838
    @Override
-
 
15839
    public String toString() {
-
 
15840
      StringBuilder sb = new StringBuilder("addNewAwbs_result(");
-
 
15841
      boolean first = true;
-
 
15842
 
-
 
15843
      sb.append("success:");
-
 
15844
      sb.append(this.success);
-
 
15845
      first = false;
-
 
15846
      sb.append(")");
-
 
15847
      return sb.toString();
-
 
15848
    }
-
 
15849
 
-
 
15850
    public void validate() throws org.apache.thrift.TException {
14971
      // check for required fields
15851
      // check for required fields
14972
    }
15852
    }
14973
 
15853
 
14974
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
15854
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
14975
      try {
15855
      try {