Subversion Repositories SmartDukaan

Rev

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

Rev 10546 Rev 11173
Line 339... Line 339...
339
 
339
 
340
    public void addOrUpdateAmazonFbaInventory(AmazonFbaInventorySnapshot amazonfbainventorysnapshot) throws org.apache.thrift.TException;
340
    public void addOrUpdateAmazonFbaInventory(AmazonFbaInventorySnapshot amazonfbainventorysnapshot) throws org.apache.thrift.TException;
341
 
341
 
342
    public void addUpdateHoldInventory(long itemId, long warehouseId, long holdQuantity, long source) throws InventoryServiceException, org.apache.thrift.TException;
342
    public void addUpdateHoldInventory(long itemId, long warehouseId, long holdQuantity, long source) throws InventoryServiceException, org.apache.thrift.TException;
343
 
343
 
344
    public long getAmazonFbaItemInventory(long itemId) throws org.apache.thrift.TException;
344
    public List<AmazonFbaInventorySnapshot> getAmazonFbaItemInventory(long itemId) throws org.apache.thrift.TException;
345
 
345
 
346
    public List<AmazonFbaInventorySnapshot> getAllAmazonFbaItemInventory() throws org.apache.thrift.TException;
346
    public List<AmazonFbaInventorySnapshot> getAllAmazonFbaItemInventory() throws org.apache.thrift.TException;
347
 
347
 
348
    public List<Long> getOursGoodWarehouseIdsForLocation(long state_id) throws org.apache.thrift.TException;
348
    public List<Long> getOursGoodWarehouseIdsForLocation(long state_id) throws org.apache.thrift.TException;
349
 
349
 
Line 2001... Line 2001...
2001
        throw result.cex;
2001
        throw result.cex;
2002
      }
2002
      }
2003
      return;
2003
      return;
2004
    }
2004
    }
2005
 
2005
 
2006
    public long getAmazonFbaItemInventory(long itemId) throws org.apache.thrift.TException
2006
    public List<AmazonFbaInventorySnapshot> getAmazonFbaItemInventory(long itemId) throws org.apache.thrift.TException
2007
    {
2007
    {
2008
      send_getAmazonFbaItemInventory(itemId);
2008
      send_getAmazonFbaItemInventory(itemId);
2009
      return recv_getAmazonFbaItemInventory();
2009
      return recv_getAmazonFbaItemInventory();
2010
    }
2010
    }
2011
 
2011
 
Line 2014... Line 2014...
2014
      getAmazonFbaItemInventory_args args = new getAmazonFbaItemInventory_args();
2014
      getAmazonFbaItemInventory_args args = new getAmazonFbaItemInventory_args();
2015
      args.setItemId(itemId);
2015
      args.setItemId(itemId);
2016
      sendBase("getAmazonFbaItemInventory", args);
2016
      sendBase("getAmazonFbaItemInventory", args);
2017
    }
2017
    }
2018
 
2018
 
2019
    public long recv_getAmazonFbaItemInventory() throws org.apache.thrift.TException
2019
    public List<AmazonFbaInventorySnapshot> recv_getAmazonFbaItemInventory() throws org.apache.thrift.TException
2020
    {
2020
    {
2021
      getAmazonFbaItemInventory_result result = new getAmazonFbaItemInventory_result();
2021
      getAmazonFbaItemInventory_result result = new getAmazonFbaItemInventory_result();
2022
      receiveBase(result, "getAmazonFbaItemInventory");
2022
      receiveBase(result, "getAmazonFbaItemInventory");
2023
      if (result.isSetSuccess()) {
2023
      if (result.isSetSuccess()) {
2024
        return result.success;
2024
        return result.success;
Line 4498... Line 4498...
4498
        args.setItemId(itemId);
4498
        args.setItemId(itemId);
4499
        args.write(prot);
4499
        args.write(prot);
4500
        prot.writeMessageEnd();
4500
        prot.writeMessageEnd();
4501
      }
4501
      }
4502
 
4502
 
4503
      public long getResult() throws org.apache.thrift.TException {
4503
      public List<AmazonFbaInventorySnapshot> getResult() throws org.apache.thrift.TException {
4504
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4504
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4505
          throw new IllegalStateException("Method call not finished!");
4505
          throw new IllegalStateException("Method call not finished!");
4506
        }
4506
        }
4507
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4507
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4508
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4508
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
Line 6234... Line 6234...
6234
      }
6234
      }
6235
 
6235
 
6236
      protected getAmazonFbaItemInventory_result getResult(I iface, getAmazonFbaItemInventory_args args) throws org.apache.thrift.TException {
6236
      protected getAmazonFbaItemInventory_result getResult(I iface, getAmazonFbaItemInventory_args args) throws org.apache.thrift.TException {
6237
        getAmazonFbaItemInventory_result result = new getAmazonFbaItemInventory_result();
6237
        getAmazonFbaItemInventory_result result = new getAmazonFbaItemInventory_result();
6238
        result.success = iface.getAmazonFbaItemInventory(args.itemId);
6238
        result.success = iface.getAmazonFbaItemInventory(args.itemId);
6239
        result.setSuccessIsSet(true);
-
 
6240
        return result;
6239
        return result;
6241
      }
6240
      }
6242
    }
6241
    }
6243
 
6242
 
6244
    private static class getAllAmazonFbaItemInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllAmazonFbaItemInventory_args> {
6243
    private static class getAllAmazonFbaItemInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllAmazonFbaItemInventory_args> {
Line 47435... Line 47434...
47435
  }
47434
  }
47436
 
47435
 
47437
  public static class getAmazonFbaItemInventory_result implements org.apache.thrift.TBase<getAmazonFbaItemInventory_result, getAmazonFbaItemInventory_result._Fields>, java.io.Serializable, Cloneable   {
47436
  public static class getAmazonFbaItemInventory_result implements org.apache.thrift.TBase<getAmazonFbaItemInventory_result, getAmazonFbaItemInventory_result._Fields>, java.io.Serializable, Cloneable   {
47438
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonFbaItemInventory_result");
47437
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonFbaItemInventory_result");
47439
 
47438
 
47440
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
47439
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
47441
 
47440
 
47442
    private long success; // required
47441
    private List<AmazonFbaInventorySnapshot> success; // required
47443
 
47442
 
47444
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
47443
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
47445
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
47444
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
47446
      SUCCESS((short)0, "success");
47445
      SUCCESS((short)0, "success");
47447
 
47446
 
Line 47498... Line 47497...
47498
        return _fieldName;
47497
        return _fieldName;
47499
      }
47498
      }
47500
    }
47499
    }
47501
 
47500
 
47502
    // isset id assignments
47501
    // isset id assignments
47503
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
47504
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
47505
 
47502
 
47506
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
47503
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
47507
    static {
47504
    static {
47508
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
47505
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
47509
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
47506
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
47510
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
47507
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
47508
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonFbaInventorySnapshot.class))));
47511
      metaDataMap = Collections.unmodifiableMap(tmpMap);
47509
      metaDataMap = Collections.unmodifiableMap(tmpMap);
47512
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonFbaItemInventory_result.class, metaDataMap);
47510
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonFbaItemInventory_result.class, metaDataMap);
47513
    }
47511
    }
47514
 
47512
 
47515
    public getAmazonFbaItemInventory_result() {
47513
    public getAmazonFbaItemInventory_result() {
47516
    }
47514
    }
47517
 
47515
 
47518
    public getAmazonFbaItemInventory_result(
47516
    public getAmazonFbaItemInventory_result(
47519
      long success)
47517
      List<AmazonFbaInventorySnapshot> success)
47520
    {
47518
    {
47521
      this();
47519
      this();
47522
      this.success = success;
47520
      this.success = success;
47523
      setSuccessIsSet(true);
-
 
47524
    }
47521
    }
47525
 
47522
 
47526
    /**
47523
    /**
47527
     * Performs a deep copy on <i>other</i>.
47524
     * Performs a deep copy on <i>other</i>.
47528
     */
47525
     */
47529
    public getAmazonFbaItemInventory_result(getAmazonFbaItemInventory_result other) {
47526
    public getAmazonFbaItemInventory_result(getAmazonFbaItemInventory_result other) {
47530
      __isset_bit_vector.clear();
47527
      if (other.isSetSuccess()) {
-
 
47528
        List<AmazonFbaInventorySnapshot> __this__success = new ArrayList<AmazonFbaInventorySnapshot>();
47531
      __isset_bit_vector.or(other.__isset_bit_vector);
47529
        for (AmazonFbaInventorySnapshot other_element : other.success) {
-
 
47530
          __this__success.add(new AmazonFbaInventorySnapshot(other_element));
-
 
47531
        }
47532
      this.success = other.success;
47532
        this.success = __this__success;
-
 
47533
      }
47533
    }
47534
    }
47534
 
47535
 
47535
    public getAmazonFbaItemInventory_result deepCopy() {
47536
    public getAmazonFbaItemInventory_result deepCopy() {
47536
      return new getAmazonFbaItemInventory_result(this);
47537
      return new getAmazonFbaItemInventory_result(this);
47537
    }
47538
    }
47538
 
47539
 
47539
    @Override
47540
    @Override
47540
    public void clear() {
47541
    public void clear() {
47541
      setSuccessIsSet(false);
-
 
47542
      this.success = 0;
47542
      this.success = null;
47543
    }
47543
    }
47544
 
47544
 
47545
    public long getSuccess() {
47545
    public int getSuccessSize() {
-
 
47546
      return (this.success == null) ? 0 : this.success.size();
-
 
47547
    }
-
 
47548
 
-
 
47549
    public java.util.Iterator<AmazonFbaInventorySnapshot> getSuccessIterator() {
-
 
47550
      return (this.success == null) ? null : this.success.iterator();
-
 
47551
    }
-
 
47552
 
-
 
47553
    public void addToSuccess(AmazonFbaInventorySnapshot elem) {
-
 
47554
      if (this.success == null) {
-
 
47555
        this.success = new ArrayList<AmazonFbaInventorySnapshot>();
-
 
47556
      }
-
 
47557
      this.success.add(elem);
-
 
47558
    }
-
 
47559
 
-
 
47560
    public List<AmazonFbaInventorySnapshot> getSuccess() {
47546
      return this.success;
47561
      return this.success;
47547
    }
47562
    }
47548
 
47563
 
47549
    public void setSuccess(long success) {
47564
    public void setSuccess(List<AmazonFbaInventorySnapshot> success) {
47550
      this.success = success;
47565
      this.success = success;
47551
      setSuccessIsSet(true);
-
 
47552
    }
47566
    }
47553
 
47567
 
47554
    public void unsetSuccess() {
47568
    public void unsetSuccess() {
47555
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
47569
      this.success = null;
47556
    }
47570
    }
47557
 
47571
 
47558
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
47572
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
47559
    public boolean isSetSuccess() {
47573
    public boolean isSetSuccess() {
47560
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
47574
      return this.success != null;
47561
    }
47575
    }
47562
 
47576
 
47563
    public void setSuccessIsSet(boolean value) {
47577
    public void setSuccessIsSet(boolean value) {
-
 
47578
      if (!value) {
47564
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
47579
        this.success = null;
-
 
47580
      }
47565
    }
47581
    }
47566
 
47582
 
47567
    public void setFieldValue(_Fields field, Object value) {
47583
    public void setFieldValue(_Fields field, Object value) {
47568
      switch (field) {
47584
      switch (field) {
47569
      case SUCCESS:
47585
      case SUCCESS:
47570
        if (value == null) {
47586
        if (value == null) {
47571
          unsetSuccess();
47587
          unsetSuccess();
47572
        } else {
47588
        } else {
47573
          setSuccess((Long)value);
47589
          setSuccess((List<AmazonFbaInventorySnapshot>)value);
47574
        }
47590
        }
47575
        break;
47591
        break;
47576
 
47592
 
47577
      }
47593
      }
47578
    }
47594
    }
47579
 
47595
 
47580
    public Object getFieldValue(_Fields field) {
47596
    public Object getFieldValue(_Fields field) {
47581
      switch (field) {
47597
      switch (field) {
47582
      case SUCCESS:
47598
      case SUCCESS:
47583
        return Long.valueOf(getSuccess());
47599
        return getSuccess();
47584
 
47600
 
47585
      }
47601
      }
47586
      throw new IllegalStateException();
47602
      throw new IllegalStateException();
47587
    }
47603
    }
47588
 
47604
 
Line 47610... Line 47626...
47610
 
47626
 
47611
    public boolean equals(getAmazonFbaItemInventory_result that) {
47627
    public boolean equals(getAmazonFbaItemInventory_result that) {
47612
      if (that == null)
47628
      if (that == null)
47613
        return false;
47629
        return false;
47614
 
47630
 
47615
      boolean this_present_success = true;
47631
      boolean this_present_success = true && this.isSetSuccess();
47616
      boolean that_present_success = true;
47632
      boolean that_present_success = true && that.isSetSuccess();
47617
      if (this_present_success || that_present_success) {
47633
      if (this_present_success || that_present_success) {
47618
        if (!(this_present_success && that_present_success))
47634
        if (!(this_present_success && that_present_success))
47619
          return false;
47635
          return false;
47620
        if (this.success != that.success)
47636
        if (!this.success.equals(that.success))
47621
          return false;
47637
          return false;
47622
      }
47638
      }
47623
 
47639
 
47624
      return true;
47640
      return true;
47625
    }
47641
    }
Line 47663... Line 47679...
47663
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
47679
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
47664
          break;
47680
          break;
47665
        }
47681
        }
47666
        switch (field.id) {
47682
        switch (field.id) {
47667
          case 0: // SUCCESS
47683
          case 0: // SUCCESS
47668
            if (field.type == org.apache.thrift.protocol.TType.I64) {
47684
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
47685
              {
-
 
47686
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
-
 
47687
                this.success = new ArrayList<AmazonFbaInventorySnapshot>(_list138.size);
-
 
47688
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
-
 
47689
                {
-
 
47690
                  AmazonFbaInventorySnapshot _elem140; // required
-
 
47691
                  _elem140 = new AmazonFbaInventorySnapshot();
-
 
47692
                  _elem140.read(iprot);
47669
              this.success = iprot.readI64();
47693
                  this.success.add(_elem140);
-
 
47694
                }
47670
              setSuccessIsSet(true);
47695
                iprot.readListEnd();
-
 
47696
              }
47671
            } else { 
47697
            } else { 
47672
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47698
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47673
            }
47699
            }
47674
            break;
47700
            break;
47675
          default:
47701
          default:
Line 47684... Line 47710...
47684
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
47710
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
47685
      oprot.writeStructBegin(STRUCT_DESC);
47711
      oprot.writeStructBegin(STRUCT_DESC);
47686
 
47712
 
47687
      if (this.isSetSuccess()) {
47713
      if (this.isSetSuccess()) {
47688
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47714
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
47715
        {
-
 
47716
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
47717
          for (AmazonFbaInventorySnapshot _iter141 : this.success)
-
 
47718
          {
-
 
47719
            _iter141.write(oprot);
-
 
47720
          }
47689
        oprot.writeI64(this.success);
47721
          oprot.writeListEnd();
-
 
47722
        }
47690
        oprot.writeFieldEnd();
47723
        oprot.writeFieldEnd();
47691
      }
47724
      }
47692
      oprot.writeFieldStop();
47725
      oprot.writeFieldStop();
47693
      oprot.writeStructEnd();
47726
      oprot.writeStructEnd();
47694
    }
47727
    }
Line 47697... Line 47730...
47697
    public String toString() {
47730
    public String toString() {
47698
      StringBuilder sb = new StringBuilder("getAmazonFbaItemInventory_result(");
47731
      StringBuilder sb = new StringBuilder("getAmazonFbaItemInventory_result(");
47699
      boolean first = true;
47732
      boolean first = true;
47700
 
47733
 
47701
      sb.append("success:");
47734
      sb.append("success:");
-
 
47735
      if (this.success == null) {
-
 
47736
        sb.append("null");
-
 
47737
      } else {
47702
      sb.append(this.success);
47738
        sb.append(this.success);
-
 
47739
      }
47703
      first = false;
47740
      first = false;
47704
      sb.append(")");
47741
      sb.append(")");
47705
      return sb.toString();
47742
      return sb.toString();
47706
    }
47743
    }
47707
 
47744
 
Line 48175... Line 48212...
48175
        }
48212
        }
48176
        switch (field.id) {
48213
        switch (field.id) {
48177
          case 0: // SUCCESS
48214
          case 0: // SUCCESS
48178
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48215
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48179
              {
48216
              {
48180
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
48217
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
48181
                this.success = new ArrayList<AmazonFbaInventorySnapshot>(_list138.size);
48218
                this.success = new ArrayList<AmazonFbaInventorySnapshot>(_list142.size);
48182
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
48219
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
48183
                {
48220
                {
48184
                  AmazonFbaInventorySnapshot _elem140; // required
48221
                  AmazonFbaInventorySnapshot _elem144; // required
48185
                  _elem140 = new AmazonFbaInventorySnapshot();
48222
                  _elem144 = new AmazonFbaInventorySnapshot();
48186
                  _elem140.read(iprot);
48223
                  _elem144.read(iprot);
48187
                  this.success.add(_elem140);
48224
                  this.success.add(_elem144);
48188
                }
48225
                }
48189
                iprot.readListEnd();
48226
                iprot.readListEnd();
48190
              }
48227
              }
48191
            } else { 
48228
            } else { 
48192
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48229
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48206... Line 48243...
48206
 
48243
 
48207
      if (this.isSetSuccess()) {
48244
      if (this.isSetSuccess()) {
48208
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48245
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48209
        {
48246
        {
48210
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48247
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48211
          for (AmazonFbaInventorySnapshot _iter141 : this.success)
48248
          for (AmazonFbaInventorySnapshot _iter145 : this.success)
48212
          {
48249
          {
48213
            _iter141.write(oprot);
48250
            _iter145.write(oprot);
48214
          }
48251
          }
48215
          oprot.writeListEnd();
48252
          oprot.writeListEnd();
48216
        }
48253
        }
48217
        oprot.writeFieldEnd();
48254
        oprot.writeFieldEnd();
48218
      }
48255
      }
Line 48800... Line 48837...
48800
        }
48837
        }
48801
        switch (field.id) {
48838
        switch (field.id) {
48802
          case 0: // SUCCESS
48839
          case 0: // SUCCESS
48803
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48840
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48804
              {
48841
              {
48805
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
48842
                org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
48806
                this.success = new ArrayList<Long>(_list142.size);
48843
                this.success = new ArrayList<Long>(_list146.size);
48807
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
48844
                for (int _i147 = 0; _i147 < _list146.size; ++_i147)
48808
                {
48845
                {
48809
                  long _elem144; // required
48846
                  long _elem148; // required
48810
                  _elem144 = iprot.readI64();
48847
                  _elem148 = iprot.readI64();
48811
                  this.success.add(_elem144);
48848
                  this.success.add(_elem148);
48812
                }
48849
                }
48813
                iprot.readListEnd();
48850
                iprot.readListEnd();
48814
              }
48851
              }
48815
            } else { 
48852
            } else { 
48816
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48853
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48830... Line 48867...
48830
 
48867
 
48831
      if (this.isSetSuccess()) {
48868
      if (this.isSetSuccess()) {
48832
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48869
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48833
        {
48870
        {
48834
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48871
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48835
          for (long _iter145 : this.success)
48872
          for (long _iter149 : this.success)
48836
          {
48873
          {
48837
            oprot.writeI64(_iter145);
48874
            oprot.writeI64(_iter149);
48838
          }
48875
          }
48839
          oprot.writeListEnd();
48876
          oprot.writeListEnd();
48840
        }
48877
        }
48841
        oprot.writeFieldEnd();
48878
        oprot.writeFieldEnd();
48842
      }
48879
      }
Line 52017... Line 52054...
52017
        }
52054
        }
52018
        switch (field.id) {
52055
        switch (field.id) {
52019
          case 0: // SUCCESS
52056
          case 0: // SUCCESS
52020
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
52057
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
52021
              {
52058
              {
52022
                org.apache.thrift.protocol.TMap _map146 = iprot.readMapBegin();
52059
                org.apache.thrift.protocol.TMap _map150 = iprot.readMapBegin();
52023
                this.success = new HashMap<Integer,Long>(2*_map146.size);
52060
                this.success = new HashMap<Integer,Long>(2*_map150.size);
52024
                for (int _i147 = 0; _i147 < _map146.size; ++_i147)
52061
                for (int _i151 = 0; _i151 < _map150.size; ++_i151)
52025
                {
52062
                {
52026
                  int _key148; // required
52063
                  int _key152; // required
52027
                  long _val149; // required
52064
                  long _val153; // required
52028
                  _key148 = iprot.readI32();
52065
                  _key152 = iprot.readI32();
52029
                  _val149 = iprot.readI64();
52066
                  _val153 = iprot.readI64();
52030
                  this.success.put(_key148, _val149);
52067
                  this.success.put(_key152, _val153);
52031
                }
52068
                }
52032
                iprot.readMapEnd();
52069
                iprot.readMapEnd();
52033
              }
52070
              }
52034
            } else { 
52071
            } else { 
52035
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52072
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52049... Line 52086...
52049
 
52086
 
52050
      if (this.isSetSuccess()) {
52087
      if (this.isSetSuccess()) {
52051
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52088
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52052
        {
52089
        {
52053
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, this.success.size()));
52090
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, this.success.size()));
52054
          for (Map.Entry<Integer, Long> _iter150 : this.success.entrySet())
52091
          for (Map.Entry<Integer, Long> _iter154 : this.success.entrySet())
52055
          {
52092
          {
52056
            oprot.writeI32(_iter150.getKey());
52093
            oprot.writeI32(_iter154.getKey());
52057
            oprot.writeI64(_iter150.getValue());
52094
            oprot.writeI64(_iter154.getValue());
52058
          }
52095
          }
52059
          oprot.writeMapEnd();
52096
          oprot.writeMapEnd();
52060
        }
52097
        }
52061
        oprot.writeFieldEnd();
52098
        oprot.writeFieldEnd();
52062
      }
52099
      }
Line 52350... Line 52387...
52350
        }
52387
        }
52351
        switch (field.id) {
52388
        switch (field.id) {
52352
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
52389
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
52353
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52390
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52354
              {
52391
              {
52355
                org.apache.thrift.protocol.TList _list151 = iprot.readListBegin();
52392
                org.apache.thrift.protocol.TList _list155 = iprot.readListBegin();
52356
                this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>(_list151.size);
52393
                this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>(_list155.size);
52357
                for (int _i152 = 0; _i152 < _list151.size; ++_i152)
52394
                for (int _i156 = 0; _i156 < _list155.size; ++_i156)
52358
                {
52395
                {
52359
                  AmazonFbaInventorySnapshot _elem153; // required
52396
                  AmazonFbaInventorySnapshot _elem157; // required
52360
                  _elem153 = new AmazonFbaInventorySnapshot();
52397
                  _elem157 = new AmazonFbaInventorySnapshot();
52361
                  _elem153.read(iprot);
52398
                  _elem157.read(iprot);
52362
                  this.allamazonfbainventorysnapshot.add(_elem153);
52399
                  this.allamazonfbainventorysnapshot.add(_elem157);
52363
                }
52400
                }
52364
                iprot.readListEnd();
52401
                iprot.readListEnd();
52365
              }
52402
              }
52366
            } else { 
52403
            } else { 
52367
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52404
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52382... Line 52419...
52382
      oprot.writeStructBegin(STRUCT_DESC);
52419
      oprot.writeStructBegin(STRUCT_DESC);
52383
      if (this.allamazonfbainventorysnapshot != null) {
52420
      if (this.allamazonfbainventorysnapshot != null) {
52384
        oprot.writeFieldBegin(ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC);
52421
        oprot.writeFieldBegin(ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC);
52385
        {
52422
        {
52386
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allamazonfbainventorysnapshot.size()));
52423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allamazonfbainventorysnapshot.size()));
52387
          for (AmazonFbaInventorySnapshot _iter154 : this.allamazonfbainventorysnapshot)
52424
          for (AmazonFbaInventorySnapshot _iter158 : this.allamazonfbainventorysnapshot)
52388
          {
52425
          {
52389
            _iter154.write(oprot);
52426
            _iter158.write(oprot);
52390
          }
52427
          }
52391
          oprot.writeListEnd();
52428
          oprot.writeListEnd();
52392
        }
52429
        }
52393
        oprot.writeFieldEnd();
52430
        oprot.writeFieldEnd();
52394
      }
52431
      }
Line 52881... Line 52918...
52881
        }
52918
        }
52882
        switch (field.id) {
52919
        switch (field.id) {
52883
          case -1: // ALLSNAPDEALINVENTORYSNAPSHOT
52920
          case -1: // ALLSNAPDEALINVENTORYSNAPSHOT
52884
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52921
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52885
              {
52922
              {
52886
                org.apache.thrift.protocol.TList _list155 = iprot.readListBegin();
52923
                org.apache.thrift.protocol.TList _list159 = iprot.readListBegin();
52887
                this.allsnapdealinventorysnapshot = new ArrayList<SnapdealInventoryItem>(_list155.size);
52924
                this.allsnapdealinventorysnapshot = new ArrayList<SnapdealInventoryItem>(_list159.size);
52888
                for (int _i156 = 0; _i156 < _list155.size; ++_i156)
52925
                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
52889
                {
52926
                {
52890
                  SnapdealInventoryItem _elem157; // required
52927
                  SnapdealInventoryItem _elem161; // required
52891
                  _elem157 = new SnapdealInventoryItem();
52928
                  _elem161 = new SnapdealInventoryItem();
52892
                  _elem157.read(iprot);
52929
                  _elem161.read(iprot);
52893
                  this.allsnapdealinventorysnapshot.add(_elem157);
52930
                  this.allsnapdealinventorysnapshot.add(_elem161);
52894
                }
52931
                }
52895
                iprot.readListEnd();
52932
                iprot.readListEnd();
52896
              }
52933
              }
52897
            } else { 
52934
            } else { 
52898
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52935
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52913... Line 52950...
52913
      oprot.writeStructBegin(STRUCT_DESC);
52950
      oprot.writeStructBegin(STRUCT_DESC);
52914
      if (this.allsnapdealinventorysnapshot != null) {
52951
      if (this.allsnapdealinventorysnapshot != null) {
52915
        oprot.writeFieldBegin(ALLSNAPDEALINVENTORYSNAPSHOT_FIELD_DESC);
52952
        oprot.writeFieldBegin(ALLSNAPDEALINVENTORYSNAPSHOT_FIELD_DESC);
52916
        {
52953
        {
52917
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allsnapdealinventorysnapshot.size()));
52954
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allsnapdealinventorysnapshot.size()));
52918
          for (SnapdealInventoryItem _iter158 : this.allsnapdealinventorysnapshot)
52955
          for (SnapdealInventoryItem _iter162 : this.allsnapdealinventorysnapshot)
52919
          {
52956
          {
52920
            _iter158.write(oprot);
52957
            _iter162.write(oprot);
52921
          }
52958
          }
52922
          oprot.writeListEnd();
52959
          oprot.writeListEnd();
52923
        }
52960
        }
52924
        oprot.writeFieldEnd();
52961
        oprot.writeFieldEnd();
52925
      }
52962
      }
Line 53612... Line 53649...
53612
        }
53649
        }
53613
        switch (field.id) {
53650
        switch (field.id) {
53614
          case 0: // SUCCESS
53651
          case 0: // SUCCESS
53615
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53652
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53616
              {
53653
              {
53617
                org.apache.thrift.protocol.TList _list159 = iprot.readListBegin();
53654
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
53618
                this.success = new ArrayList<SnapdealInventoryItem>(_list159.size);
53655
                this.success = new ArrayList<SnapdealInventoryItem>(_list163.size);
53619
                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
53656
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
53620
                {
53657
                {
53621
                  SnapdealInventoryItem _elem161; // required
53658
                  SnapdealInventoryItem _elem165; // required
53622
                  _elem161 = new SnapdealInventoryItem();
53659
                  _elem165 = new SnapdealInventoryItem();
53623
                  _elem161.read(iprot);
53660
                  _elem165.read(iprot);
53624
                  this.success.add(_elem161);
53661
                  this.success.add(_elem165);
53625
                }
53662
                }
53626
                iprot.readListEnd();
53663
                iprot.readListEnd();
53627
              }
53664
              }
53628
            } else { 
53665
            } else { 
53629
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53666
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53643... Line 53680...
53643
 
53680
 
53644
      if (this.isSetSuccess()) {
53681
      if (this.isSetSuccess()) {
53645
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53682
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53646
        {
53683
        {
53647
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53684
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53648
          for (SnapdealInventoryItem _iter162 : this.success)
53685
          for (SnapdealInventoryItem _iter166 : this.success)
53649
          {
53686
          {
53650
            _iter162.write(oprot);
53687
            _iter166.write(oprot);
53651
          }
53688
          }
53652
          oprot.writeListEnd();
53689
          oprot.writeListEnd();
53653
        }
53690
        }
53654
        oprot.writeFieldEnd();
53691
        oprot.writeFieldEnd();
53655
      }
53692
      }
Line 54403... Line 54440...
54403
        }
54440
        }
54404
        switch (field.id) {
54441
        switch (field.id) {
54405
          case 0: // SUCCESS
54442
          case 0: // SUCCESS
54406
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54443
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54407
              {
54444
              {
54408
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
54445
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
54409
                this.success = new ArrayList<HoldInventoryDetail>(_list163.size);
54446
                this.success = new ArrayList<HoldInventoryDetail>(_list167.size);
54410
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
54447
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
54411
                {
54448
                {
54412
                  HoldInventoryDetail _elem165; // required
54449
                  HoldInventoryDetail _elem169; // required
54413
                  _elem165 = new HoldInventoryDetail();
54450
                  _elem169 = new HoldInventoryDetail();
54414
                  _elem165.read(iprot);
54451
                  _elem169.read(iprot);
54415
                  this.success.add(_elem165);
54452
                  this.success.add(_elem169);
54416
                }
54453
                }
54417
                iprot.readListEnd();
54454
                iprot.readListEnd();
54418
              }
54455
              }
54419
            } else { 
54456
            } else { 
54420
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54457
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54434... Line 54471...
54434
 
54471
 
54435
      if (this.isSetSuccess()) {
54472
      if (this.isSetSuccess()) {
54436
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54473
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54437
        {
54474
        {
54438
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54475
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54439
          for (HoldInventoryDetail _iter166 : this.success)
54476
          for (HoldInventoryDetail _iter170 : this.success)
54440
          {
54477
          {
54441
            _iter166.write(oprot);
54478
            _iter170.write(oprot);
54442
          }
54479
          }
54443
          oprot.writeListEnd();
54480
          oprot.writeListEnd();
54444
        }
54481
        }
54445
        oprot.writeFieldEnd();
54482
        oprot.writeFieldEnd();
54446
      }
54483
      }
Line 54805... Line 54842...
54805
        }
54842
        }
54806
        switch (field.id) {
54843
        switch (field.id) {
54807
          case 1: // FLIPKART_INVENTORY_SNAPSHOT
54844
          case 1: // FLIPKART_INVENTORY_SNAPSHOT
54808
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54845
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54809
              {
54846
              {
54810
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
54847
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
54811
                this.flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>(_list167.size);
54848
                this.flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>(_list171.size);
54812
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
54849
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
54813
                {
54850
                {
54814
                  FlipkartInventorySnapshot _elem169; // required
54851
                  FlipkartInventorySnapshot _elem173; // required
54815
                  _elem169 = new FlipkartInventorySnapshot();
54852
                  _elem173 = new FlipkartInventorySnapshot();
54816
                  _elem169.read(iprot);
54853
                  _elem173.read(iprot);
54817
                  this.flipkartInventorySnapshot.add(_elem169);
54854
                  this.flipkartInventorySnapshot.add(_elem173);
54818
                }
54855
                }
54819
                iprot.readListEnd();
54856
                iprot.readListEnd();
54820
              }
54857
              }
54821
            } else { 
54858
            } else { 
54822
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54859
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54845... Line 54882...
54845
      oprot.writeStructBegin(STRUCT_DESC);
54882
      oprot.writeStructBegin(STRUCT_DESC);
54846
      if (this.flipkartInventorySnapshot != null) {
54883
      if (this.flipkartInventorySnapshot != null) {
54847
        oprot.writeFieldBegin(FLIPKART_INVENTORY_SNAPSHOT_FIELD_DESC);
54884
        oprot.writeFieldBegin(FLIPKART_INVENTORY_SNAPSHOT_FIELD_DESC);
54848
        {
54885
        {
54849
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.flipkartInventorySnapshot.size()));
54886
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.flipkartInventorySnapshot.size()));
54850
          for (FlipkartInventorySnapshot _iter170 : this.flipkartInventorySnapshot)
54887
          for (FlipkartInventorySnapshot _iter174 : this.flipkartInventorySnapshot)
54851
          {
54888
          {
54852
            _iter170.write(oprot);
54889
            _iter174.write(oprot);
54853
          }
54890
          }
54854
          oprot.writeListEnd();
54891
          oprot.writeListEnd();
54855
        }
54892
        }
54856
        oprot.writeFieldEnd();
54893
        oprot.writeFieldEnd();
54857
      }
54894
      }
Line 55553... Line 55590...
55553
        }
55590
        }
55554
        switch (field.id) {
55591
        switch (field.id) {
55555
          case 0: // SUCCESS
55592
          case 0: // SUCCESS
55556
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55593
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55557
              {
55594
              {
55558
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
55595
                org.apache.thrift.protocol.TList _list175 = iprot.readListBegin();
55559
                this.success = new ArrayList<FlipkartInventorySnapshot>(_list171.size);
55596
                this.success = new ArrayList<FlipkartInventorySnapshot>(_list175.size);
55560
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
55597
                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
55561
                {
55598
                {
55562
                  FlipkartInventorySnapshot _elem173; // required
55599
                  FlipkartInventorySnapshot _elem177; // required
55563
                  _elem173 = new FlipkartInventorySnapshot();
55600
                  _elem177 = new FlipkartInventorySnapshot();
55564
                  _elem173.read(iprot);
55601
                  _elem177.read(iprot);
55565
                  this.success.add(_elem173);
55602
                  this.success.add(_elem177);
55566
                }
55603
                }
55567
                iprot.readListEnd();
55604
                iprot.readListEnd();
55568
              }
55605
              }
55569
            } else { 
55606
            } else { 
55570
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55607
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55584... Line 55621...
55584
 
55621
 
55585
      if (this.isSetSuccess()) {
55622
      if (this.isSetSuccess()) {
55586
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55623
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55587
        {
55624
        {
55588
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55625
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55589
          for (FlipkartInventorySnapshot _iter174 : this.success)
55626
          for (FlipkartInventorySnapshot _iter178 : this.success)
55590
          {
55627
          {
55591
            _iter174.write(oprot);
55628
            _iter178.write(oprot);
55592
          }
55629
          }
55593
          oprot.writeListEnd();
55630
          oprot.writeListEnd();
55594
        }
55631
        }
55595
        oprot.writeFieldEnd();
55632
        oprot.writeFieldEnd();
55596
      }
55633
      }
Line 56677... Line 56714...
56677
        }
56714
        }
56678
        switch (field.id) {
56715
        switch (field.id) {
56679
          case 0: // SUCCESS
56716
          case 0: // SUCCESS
56680
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56717
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
56681
              {
56718
              {
56682
                org.apache.thrift.protocol.TMap _map175 = iprot.readMapBegin();
56719
                org.apache.thrift.protocol.TMap _map179 = iprot.readMapBegin();
56683
                this.success = new HashMap<Long,String>(2*_map175.size);
56720
                this.success = new HashMap<Long,String>(2*_map179.size);
56684
                for (int _i176 = 0; _i176 < _map175.size; ++_i176)
56721
                for (int _i180 = 0; _i180 < _map179.size; ++_i180)
56685
                {
56722
                {
56686
                  long _key177; // required
56723
                  long _key181; // required
56687
                  String _val178; // required
56724
                  String _val182; // required
56688
                  _key177 = iprot.readI64();
56725
                  _key181 = iprot.readI64();
56689
                  _val178 = iprot.readString();
56726
                  _val182 = iprot.readString();
56690
                  this.success.put(_key177, _val178);
56727
                  this.success.put(_key181, _val182);
56691
                }
56728
                }
56692
                iprot.readMapEnd();
56729
                iprot.readMapEnd();
56693
              }
56730
              }
56694
            } else { 
56731
            } else { 
56695
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56732
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56709... Line 56746...
56709
 
56746
 
56710
      if (this.isSetSuccess()) {
56747
      if (this.isSetSuccess()) {
56711
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56748
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56712
        {
56749
        {
56713
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
56750
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
56714
          for (Map.Entry<Long, String> _iter179 : this.success.entrySet())
56751
          for (Map.Entry<Long, String> _iter183 : this.success.entrySet())
56715
          {
56752
          {
56716
            oprot.writeI64(_iter179.getKey());
56753
            oprot.writeI64(_iter183.getKey());
56717
            oprot.writeString(_iter179.getValue());
56754
            oprot.writeString(_iter183.getValue());
56718
          }
56755
          }
56719
          oprot.writeMapEnd();
56756
          oprot.writeMapEnd();
56720
        }
56757
        }
56721
        oprot.writeFieldEnd();
56758
        oprot.writeFieldEnd();
56722
      }
56759
      }
Line 57010... Line 57047...
57010
        }
57047
        }
57011
        switch (field.id) {
57048
        switch (field.id) {
57012
          case -1: // ALLSNAPDEALSTOCK
57049
          case -1: // ALLSNAPDEALSTOCK
57013
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57050
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57014
              {
57051
              {
57015
                org.apache.thrift.protocol.TList _list180 = iprot.readListBegin();
57052
                org.apache.thrift.protocol.TList _list184 = iprot.readListBegin();
57016
                this.allsnapdealstock = new ArrayList<SnapdealStockAtEOD>(_list180.size);
57053
                this.allsnapdealstock = new ArrayList<SnapdealStockAtEOD>(_list184.size);
57017
                for (int _i181 = 0; _i181 < _list180.size; ++_i181)
57054
                for (int _i185 = 0; _i185 < _list184.size; ++_i185)
57018
                {
57055
                {
57019
                  SnapdealStockAtEOD _elem182; // required
57056
                  SnapdealStockAtEOD _elem186; // required
57020
                  _elem182 = new SnapdealStockAtEOD();
57057
                  _elem186 = new SnapdealStockAtEOD();
57021
                  _elem182.read(iprot);
57058
                  _elem186.read(iprot);
57022
                  this.allsnapdealstock.add(_elem182);
57059
                  this.allsnapdealstock.add(_elem186);
57023
                }
57060
                }
57024
                iprot.readListEnd();
57061
                iprot.readListEnd();
57025
              }
57062
              }
57026
            } else { 
57063
            } else { 
57027
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57064
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57042... Line 57079...
57042
      oprot.writeStructBegin(STRUCT_DESC);
57079
      oprot.writeStructBegin(STRUCT_DESC);
57043
      if (this.allsnapdealstock != null) {
57080
      if (this.allsnapdealstock != null) {
57044
        oprot.writeFieldBegin(ALLSNAPDEALSTOCK_FIELD_DESC);
57081
        oprot.writeFieldBegin(ALLSNAPDEALSTOCK_FIELD_DESC);
57045
        {
57082
        {
57046
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allsnapdealstock.size()));
57083
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allsnapdealstock.size()));
57047
          for (SnapdealStockAtEOD _iter183 : this.allsnapdealstock)
57084
          for (SnapdealStockAtEOD _iter187 : this.allsnapdealstock)
57048
          {
57085
          {
57049
            _iter183.write(oprot);
57086
            _iter187.write(oprot);
57050
          }
57087
          }
57051
          oprot.writeListEnd();
57088
          oprot.writeListEnd();
57052
        }
57089
        }
57053
        oprot.writeFieldEnd();
57090
        oprot.writeFieldEnd();
57054
      }
57091
      }
Line 57541... Line 57578...
57541
        }
57578
        }
57542
        switch (field.id) {
57579
        switch (field.id) {
57543
          case -1: // ALLFLIPKARTSTOCK
57580
          case -1: // ALLFLIPKARTSTOCK
57544
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57581
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57545
              {
57582
              {
57546
                org.apache.thrift.protocol.TList _list184 = iprot.readListBegin();
57583
                org.apache.thrift.protocol.TList _list188 = iprot.readListBegin();
57547
                this.allflipkartstock = new ArrayList<FlipkartStockAtEOD>(_list184.size);
57584
                this.allflipkartstock = new ArrayList<FlipkartStockAtEOD>(_list188.size);
57548
                for (int _i185 = 0; _i185 < _list184.size; ++_i185)
57585
                for (int _i189 = 0; _i189 < _list188.size; ++_i189)
57549
                {
57586
                {
57550
                  FlipkartStockAtEOD _elem186; // required
57587
                  FlipkartStockAtEOD _elem190; // required
57551
                  _elem186 = new FlipkartStockAtEOD();
57588
                  _elem190 = new FlipkartStockAtEOD();
57552
                  _elem186.read(iprot);
57589
                  _elem190.read(iprot);
57553
                  this.allflipkartstock.add(_elem186);
57590
                  this.allflipkartstock.add(_elem190);
57554
                }
57591
                }
57555
                iprot.readListEnd();
57592
                iprot.readListEnd();
57556
              }
57593
              }
57557
            } else { 
57594
            } else { 
57558
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57595
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57573... Line 57610...
57573
      oprot.writeStructBegin(STRUCT_DESC);
57610
      oprot.writeStructBegin(STRUCT_DESC);
57574
      if (this.allflipkartstock != null) {
57611
      if (this.allflipkartstock != null) {
57575
        oprot.writeFieldBegin(ALLFLIPKARTSTOCK_FIELD_DESC);
57612
        oprot.writeFieldBegin(ALLFLIPKARTSTOCK_FIELD_DESC);
57576
        {
57613
        {
57577
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allflipkartstock.size()));
57614
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allflipkartstock.size()));
57578
          for (FlipkartStockAtEOD _iter187 : this.allflipkartstock)
57615
          for (FlipkartStockAtEOD _iter191 : this.allflipkartstock)
57579
          {
57616
          {
57580
            _iter187.write(oprot);
57617
            _iter191.write(oprot);
57581
          }
57618
          }
57582
          oprot.writeListEnd();
57619
          oprot.writeListEnd();
57583
        }
57620
        }
57584
        oprot.writeFieldEnd();
57621
        oprot.writeFieldEnd();
57585
      }
57622
      }