Subversion Repositories SmartDukaan

Rev

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

Rev 10097 Rev 10126
Line 314... Line 314...
314
 
314
 
315
    public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date) throws org.apache.thrift.TException;
315
    public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date) throws org.apache.thrift.TException;
316
 
316
 
317
    public List<OOSStatus> getOosStatusesForXDaysForItem(long itemId, int sourceId, int days) throws org.apache.thrift.TException;
317
    public List<OOSStatus> getOosStatusesForXDaysForItem(long itemId, int sourceId, int days) throws org.apache.thrift.TException;
318
 
318
 
-
 
319
    public List<OOSStatus> getOosStatusesForXDays(int sourceId, int days) throws org.apache.thrift.TException;
-
 
320
 
-
 
321
    public List<VendorItemPricing> getAllVendorItemPricing(long itemId, long vendorId) throws org.apache.thrift.TException;
-
 
322
 
319
    public List<ItemStockPurchaseParams> getNonZeroItemStockPurchaseParams() throws org.apache.thrift.TException;
323
    public List<ItemStockPurchaseParams> getNonZeroItemStockPurchaseParams() throws org.apache.thrift.TException;
320
 
324
 
321
    /**
325
    /**
322
     * Returns a list of inventory stock for items for which there are pending orders or have billable inventory.
326
     * Returns a list of inventory stock for items for which there are pending orders or have billable inventory.
323
     */
327
     */
Line 467... Line 471...
467
 
471
 
468
    public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOosStatusForItem_call> resultHandler) throws org.apache.thrift.TException;
472
    public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOosStatusForItem_call> resultHandler) throws org.apache.thrift.TException;
469
 
473
 
470
    public void getOosStatusesForXDaysForItem(long itemId, int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOosStatusesForXDaysForItem_call> resultHandler) throws org.apache.thrift.TException;
474
    public void getOosStatusesForXDaysForItem(long itemId, int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOosStatusesForXDaysForItem_call> resultHandler) throws org.apache.thrift.TException;
471
 
475
 
-
 
476
    public void getOosStatusesForXDays(int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOosStatusesForXDays_call> resultHandler) throws org.apache.thrift.TException;
-
 
477
 
-
 
478
    public void getAllVendorItemPricing(long itemId, long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllVendorItemPricing_call> resultHandler) throws org.apache.thrift.TException;
-
 
479
 
472
    public void getNonZeroItemStockPurchaseParams(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNonZeroItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException;
480
    public void getNonZeroItemStockPurchaseParams(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNonZeroItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException;
473
 
481
 
474
    public void getBillableInventoryAndPendingOrders(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBillableInventoryAndPendingOrders_call> resultHandler) throws org.apache.thrift.TException;
482
    public void getBillableInventoryAndPendingOrders(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBillableInventoryAndPendingOrders_call> resultHandler) throws org.apache.thrift.TException;
475
 
483
 
476
    public void getWarehouseName(long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarehouseName_call> resultHandler) throws org.apache.thrift.TException;
484
    public void getWarehouseName(long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarehouseName_call> resultHandler) throws org.apache.thrift.TException;
Line 1730... Line 1738...
1730
        return result.success;
1738
        return result.success;
1731
      }
1739
      }
1732
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOosStatusesForXDaysForItem failed: unknown result");
1740
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOosStatusesForXDaysForItem failed: unknown result");
1733
    }
1741
    }
1734
 
1742
 
-
 
1743
    public List<OOSStatus> getOosStatusesForXDays(int sourceId, int days) throws org.apache.thrift.TException
-
 
1744
    {
-
 
1745
      send_getOosStatusesForXDays(sourceId, days);
-
 
1746
      return recv_getOosStatusesForXDays();
-
 
1747
    }
-
 
1748
 
-
 
1749
    public void send_getOosStatusesForXDays(int sourceId, int days) throws org.apache.thrift.TException
-
 
1750
    {
-
 
1751
      getOosStatusesForXDays_args args = new getOosStatusesForXDays_args();
-
 
1752
      args.setSourceId(sourceId);
-
 
1753
      args.setDays(days);
-
 
1754
      sendBase("getOosStatusesForXDays", args);
-
 
1755
    }
-
 
1756
 
-
 
1757
    public List<OOSStatus> recv_getOosStatusesForXDays() throws org.apache.thrift.TException
-
 
1758
    {
-
 
1759
      getOosStatusesForXDays_result result = new getOosStatusesForXDays_result();
-
 
1760
      receiveBase(result, "getOosStatusesForXDays");
-
 
1761
      if (result.isSetSuccess()) {
-
 
1762
        return result.success;
-
 
1763
      }
-
 
1764
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOosStatusesForXDays failed: unknown result");
-
 
1765
    }
-
 
1766
 
-
 
1767
    public List<VendorItemPricing> getAllVendorItemPricing(long itemId, long vendorId) throws org.apache.thrift.TException
-
 
1768
    {
-
 
1769
      send_getAllVendorItemPricing(itemId, vendorId);
-
 
1770
      return recv_getAllVendorItemPricing();
-
 
1771
    }
-
 
1772
 
-
 
1773
    public void send_getAllVendorItemPricing(long itemId, long vendorId) throws org.apache.thrift.TException
-
 
1774
    {
-
 
1775
      getAllVendorItemPricing_args args = new getAllVendorItemPricing_args();
-
 
1776
      args.setItemId(itemId);
-
 
1777
      args.setVendorId(vendorId);
-
 
1778
      sendBase("getAllVendorItemPricing", args);
-
 
1779
    }
-
 
1780
 
-
 
1781
    public List<VendorItemPricing> recv_getAllVendorItemPricing() throws org.apache.thrift.TException
-
 
1782
    {
-
 
1783
      getAllVendorItemPricing_result result = new getAllVendorItemPricing_result();
-
 
1784
      receiveBase(result, "getAllVendorItemPricing");
-
 
1785
      if (result.isSetSuccess()) {
-
 
1786
        return result.success;
-
 
1787
      }
-
 
1788
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllVendorItemPricing failed: unknown result");
-
 
1789
    }
-
 
1790
 
1735
    public List<ItemStockPurchaseParams> getNonZeroItemStockPurchaseParams() throws org.apache.thrift.TException
1791
    public List<ItemStockPurchaseParams> getNonZeroItemStockPurchaseParams() throws org.apache.thrift.TException
1736
    {
1792
    {
1737
      send_getNonZeroItemStockPurchaseParams();
1793
      send_getNonZeroItemStockPurchaseParams();
1738
      return recv_getNonZeroItemStockPurchaseParams();
1794
      return recv_getNonZeroItemStockPurchaseParams();
1739
    }
1795
    }
Line 3980... Line 4036...
3980
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4036
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3981
        return (new Client(prot)).recv_getOosStatusesForXDaysForItem();
4037
        return (new Client(prot)).recv_getOosStatusesForXDaysForItem();
3982
      }
4038
      }
3983
    }
4039
    }
3984
 
4040
 
-
 
4041
    public void getOosStatusesForXDays(int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<getOosStatusesForXDays_call> resultHandler) throws org.apache.thrift.TException {
-
 
4042
      checkReady();
-
 
4043
      getOosStatusesForXDays_call method_call = new getOosStatusesForXDays_call(sourceId, days, resultHandler, this, ___protocolFactory, ___transport);
-
 
4044
      this.___currentMethod = method_call;
-
 
4045
      ___manager.call(method_call);
-
 
4046
    }
-
 
4047
 
-
 
4048
    public static class getOosStatusesForXDays_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4049
      private int sourceId;
-
 
4050
      private int days;
-
 
4051
      public getOosStatusesForXDays_call(int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<getOosStatusesForXDays_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 {
-
 
4052
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4053
        this.sourceId = sourceId;
-
 
4054
        this.days = days;
-
 
4055
      }
-
 
4056
 
-
 
4057
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4058
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOosStatusesForXDays", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4059
        getOosStatusesForXDays_args args = new getOosStatusesForXDays_args();
-
 
4060
        args.setSourceId(sourceId);
-
 
4061
        args.setDays(days);
-
 
4062
        args.write(prot);
-
 
4063
        prot.writeMessageEnd();
-
 
4064
      }
-
 
4065
 
-
 
4066
      public List<OOSStatus> getResult() throws org.apache.thrift.TException {
-
 
4067
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4068
          throw new IllegalStateException("Method call not finished!");
-
 
4069
        }
-
 
4070
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4071
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4072
        return (new Client(prot)).recv_getOosStatusesForXDays();
-
 
4073
      }
-
 
4074
    }
-
 
4075
 
-
 
4076
    public void getAllVendorItemPricing(long itemId, long vendorId, org.apache.thrift.async.AsyncMethodCallback<getAllVendorItemPricing_call> resultHandler) throws org.apache.thrift.TException {
-
 
4077
      checkReady();
-
 
4078
      getAllVendorItemPricing_call method_call = new getAllVendorItemPricing_call(itemId, vendorId, resultHandler, this, ___protocolFactory, ___transport);
-
 
4079
      this.___currentMethod = method_call;
-
 
4080
      ___manager.call(method_call);
-
 
4081
    }
-
 
4082
 
-
 
4083
    public static class getAllVendorItemPricing_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4084
      private long itemId;
-
 
4085
      private long vendorId;
-
 
4086
      public getAllVendorItemPricing_call(long itemId, long vendorId, org.apache.thrift.async.AsyncMethodCallback<getAllVendorItemPricing_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 {
-
 
4087
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4088
        this.itemId = itemId;
-
 
4089
        this.vendorId = vendorId;
-
 
4090
      }
-
 
4091
 
-
 
4092
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4093
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllVendorItemPricing", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4094
        getAllVendorItemPricing_args args = new getAllVendorItemPricing_args();
-
 
4095
        args.setItemId(itemId);
-
 
4096
        args.setVendorId(vendorId);
-
 
4097
        args.write(prot);
-
 
4098
        prot.writeMessageEnd();
-
 
4099
      }
-
 
4100
 
-
 
4101
      public List<VendorItemPricing> getResult() throws org.apache.thrift.TException {
-
 
4102
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4103
          throw new IllegalStateException("Method call not finished!");
-
 
4104
        }
-
 
4105
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4106
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4107
        return (new Client(prot)).recv_getAllVendorItemPricing();
-
 
4108
      }
-
 
4109
    }
-
 
4110
 
3985
    public void getNonZeroItemStockPurchaseParams(org.apache.thrift.async.AsyncMethodCallback<getNonZeroItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException {
4111
    public void getNonZeroItemStockPurchaseParams(org.apache.thrift.async.AsyncMethodCallback<getNonZeroItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException {
3986
      checkReady();
4112
      checkReady();
3987
      getNonZeroItemStockPurchaseParams_call method_call = new getNonZeroItemStockPurchaseParams_call(resultHandler, this, ___protocolFactory, ___transport);
4113
      getNonZeroItemStockPurchaseParams_call method_call = new getNonZeroItemStockPurchaseParams_call(resultHandler, this, ___protocolFactory, ___transport);
3988
      this.___currentMethod = method_call;
4114
      this.___currentMethod = method_call;
3989
      ___manager.call(method_call);
4115
      ___manager.call(method_call);
Line 4822... Line 4948...
4822
      processMap.put("getIgnoredInventoryUpdateItemids", new getIgnoredInventoryUpdateItemids());
4948
      processMap.put("getIgnoredInventoryUpdateItemids", new getIgnoredInventoryUpdateItemids());
4823
      processMap.put("updateItemStockPurchaseParams", new updateItemStockPurchaseParams());
4949
      processMap.put("updateItemStockPurchaseParams", new updateItemStockPurchaseParams());
4824
      processMap.put("getItemStockPurchaseParams", new getItemStockPurchaseParams());
4950
      processMap.put("getItemStockPurchaseParams", new getItemStockPurchaseParams());
4825
      processMap.put("addOosStatusForItem", new addOosStatusForItem());
4951
      processMap.put("addOosStatusForItem", new addOosStatusForItem());
4826
      processMap.put("getOosStatusesForXDaysForItem", new getOosStatusesForXDaysForItem());
4952
      processMap.put("getOosStatusesForXDaysForItem", new getOosStatusesForXDaysForItem());
-
 
4953
      processMap.put("getOosStatusesForXDays", new getOosStatusesForXDays());
-
 
4954
      processMap.put("getAllVendorItemPricing", new getAllVendorItemPricing());
4827
      processMap.put("getNonZeroItemStockPurchaseParams", new getNonZeroItemStockPurchaseParams());
4955
      processMap.put("getNonZeroItemStockPurchaseParams", new getNonZeroItemStockPurchaseParams());
4828
      processMap.put("getBillableInventoryAndPendingOrders", new getBillableInventoryAndPendingOrders());
4956
      processMap.put("getBillableInventoryAndPendingOrders", new getBillableInventoryAndPendingOrders());
4829
      processMap.put("getWarehouseName", new getWarehouseName());
4957
      processMap.put("getWarehouseName", new getWarehouseName());
4830
      processMap.put("getAmazonInventoryForItem", new getAmazonInventoryForItem());
4958
      processMap.put("getAmazonInventoryForItem", new getAmazonInventoryForItem());
4831
      processMap.put("getAllAmazonInventory", new getAllAmazonInventory());
4959
      processMap.put("getAllAmazonInventory", new getAllAmazonInventory());
Line 5736... Line 5864...
5736
        result.success = iface.getOosStatusesForXDaysForItem(args.itemId, args.sourceId, args.days);
5864
        result.success = iface.getOosStatusesForXDaysForItem(args.itemId, args.sourceId, args.days);
5737
        return result;
5865
        return result;
5738
      }
5866
      }
5739
    }
5867
    }
5740
 
5868
 
-
 
5869
    private static class getOosStatusesForXDays<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOosStatusesForXDays_args> {
-
 
5870
      public getOosStatusesForXDays() {
-
 
5871
        super("getOosStatusesForXDays");
-
 
5872
      }
-
 
5873
 
-
 
5874
      protected getOosStatusesForXDays_args getEmptyArgsInstance() {
-
 
5875
        return new getOosStatusesForXDays_args();
-
 
5876
      }
-
 
5877
 
-
 
5878
      protected getOosStatusesForXDays_result getResult(I iface, getOosStatusesForXDays_args args) throws org.apache.thrift.TException {
-
 
5879
        getOosStatusesForXDays_result result = new getOosStatusesForXDays_result();
-
 
5880
        result.success = iface.getOosStatusesForXDays(args.sourceId, args.days);
-
 
5881
        return result;
-
 
5882
      }
-
 
5883
    }
-
 
5884
 
-
 
5885
    private static class getAllVendorItemPricing<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllVendorItemPricing_args> {
-
 
5886
      public getAllVendorItemPricing() {
-
 
5887
        super("getAllVendorItemPricing");
-
 
5888
      }
-
 
5889
 
-
 
5890
      protected getAllVendorItemPricing_args getEmptyArgsInstance() {
-
 
5891
        return new getAllVendorItemPricing_args();
-
 
5892
      }
-
 
5893
 
-
 
5894
      protected getAllVendorItemPricing_result getResult(I iface, getAllVendorItemPricing_args args) throws org.apache.thrift.TException {
-
 
5895
        getAllVendorItemPricing_result result = new getAllVendorItemPricing_result();
-
 
5896
        result.success = iface.getAllVendorItemPricing(args.itemId, args.vendorId);
-
 
5897
        return result;
-
 
5898
      }
-
 
5899
    }
-
 
5900
 
5741
    private static class getNonZeroItemStockPurchaseParams<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getNonZeroItemStockPurchaseParams_args> {
5901
    private static class getNonZeroItemStockPurchaseParams<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getNonZeroItemStockPurchaseParams_args> {
5742
      public getNonZeroItemStockPurchaseParams() {
5902
      public getNonZeroItemStockPurchaseParams() {
5743
        super("getNonZeroItemStockPurchaseParams");
5903
        super("getNonZeroItemStockPurchaseParams");
5744
      }
5904
      }
5745
 
5905
 
Line 39985... Line 40145...
39985
      }
40145
      }
39986
    }
40146
    }
39987
 
40147
 
39988
  }
40148
  }
39989
 
40149
 
-
 
40150
  public static class getOosStatusesForXDays_args implements org.apache.thrift.TBase<getOosStatusesForXDays_args, getOosStatusesForXDays_args._Fields>, java.io.Serializable, Cloneable   {
-
 
40151
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOosStatusesForXDays_args");
-
 
40152
 
-
 
40153
    private static final org.apache.thrift.protocol.TField SOURCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sourceId", org.apache.thrift.protocol.TType.I32, (short)1);
-
 
40154
    private static final org.apache.thrift.protocol.TField DAYS_FIELD_DESC = new org.apache.thrift.protocol.TField("days", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
40155
 
-
 
40156
    private int sourceId; // required
-
 
40157
    private int days; // required
-
 
40158
 
-
 
40159
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
40160
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
40161
      SOURCE_ID((short)1, "sourceId"),
-
 
40162
      DAYS((short)2, "days");
-
 
40163
 
-
 
40164
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
40165
 
-
 
40166
      static {
-
 
40167
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
40168
          byName.put(field.getFieldName(), field);
-
 
40169
        }
-
 
40170
      }
-
 
40171
 
-
 
40172
      /**
-
 
40173
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
40174
       */
-
 
40175
      public static _Fields findByThriftId(int fieldId) {
-
 
40176
        switch(fieldId) {
-
 
40177
          case 1: // SOURCE_ID
-
 
40178
            return SOURCE_ID;
-
 
40179
          case 2: // DAYS
-
 
40180
            return DAYS;
-
 
40181
          default:
-
 
40182
            return null;
-
 
40183
        }
-
 
40184
      }
-
 
40185
 
-
 
40186
      /**
-
 
40187
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
40188
       * if it is not found.
-
 
40189
       */
-
 
40190
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
40191
        _Fields fields = findByThriftId(fieldId);
-
 
40192
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
40193
        return fields;
-
 
40194
      }
-
 
40195
 
-
 
40196
      /**
-
 
40197
       * Find the _Fields constant that matches name, or null if its not found.
-
 
40198
       */
-
 
40199
      public static _Fields findByName(String name) {
-
 
40200
        return byName.get(name);
-
 
40201
      }
-
 
40202
 
-
 
40203
      private final short _thriftId;
-
 
40204
      private final String _fieldName;
-
 
40205
 
-
 
40206
      _Fields(short thriftId, String fieldName) {
-
 
40207
        _thriftId = thriftId;
-
 
40208
        _fieldName = fieldName;
-
 
40209
      }
-
 
40210
 
-
 
40211
      public short getThriftFieldId() {
-
 
40212
        return _thriftId;
-
 
40213
      }
-
 
40214
 
-
 
40215
      public String getFieldName() {
-
 
40216
        return _fieldName;
-
 
40217
      }
-
 
40218
    }
-
 
40219
 
-
 
40220
    // isset id assignments
-
 
40221
    private static final int __SOURCEID_ISSET_ID = 0;
-
 
40222
    private static final int __DAYS_ISSET_ID = 1;
-
 
40223
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
40224
 
-
 
40225
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
40226
    static {
-
 
40227
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
40228
      tmpMap.put(_Fields.SOURCE_ID, new org.apache.thrift.meta_data.FieldMetaData("sourceId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40229
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-
 
40230
      tmpMap.put(_Fields.DAYS, new org.apache.thrift.meta_data.FieldMetaData("days", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40231
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-
 
40232
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
40233
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOosStatusesForXDays_args.class, metaDataMap);
-
 
40234
    }
-
 
40235
 
-
 
40236
    public getOosStatusesForXDays_args() {
-
 
40237
    }
-
 
40238
 
-
 
40239
    public getOosStatusesForXDays_args(
-
 
40240
      int sourceId,
-
 
40241
      int days)
-
 
40242
    {
-
 
40243
      this();
-
 
40244
      this.sourceId = sourceId;
-
 
40245
      setSourceIdIsSet(true);
-
 
40246
      this.days = days;
-
 
40247
      setDaysIsSet(true);
-
 
40248
    }
-
 
40249
 
-
 
40250
    /**
-
 
40251
     * Performs a deep copy on <i>other</i>.
-
 
40252
     */
-
 
40253
    public getOosStatusesForXDays_args(getOosStatusesForXDays_args other) {
-
 
40254
      __isset_bit_vector.clear();
-
 
40255
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
40256
      this.sourceId = other.sourceId;
-
 
40257
      this.days = other.days;
-
 
40258
    }
-
 
40259
 
-
 
40260
    public getOosStatusesForXDays_args deepCopy() {
-
 
40261
      return new getOosStatusesForXDays_args(this);
-
 
40262
    }
-
 
40263
 
-
 
40264
    @Override
-
 
40265
    public void clear() {
-
 
40266
      setSourceIdIsSet(false);
-
 
40267
      this.sourceId = 0;
-
 
40268
      setDaysIsSet(false);
-
 
40269
      this.days = 0;
-
 
40270
    }
-
 
40271
 
-
 
40272
    public int getSourceId() {
-
 
40273
      return this.sourceId;
-
 
40274
    }
-
 
40275
 
-
 
40276
    public void setSourceId(int sourceId) {
-
 
40277
      this.sourceId = sourceId;
-
 
40278
      setSourceIdIsSet(true);
-
 
40279
    }
-
 
40280
 
-
 
40281
    public void unsetSourceId() {
-
 
40282
      __isset_bit_vector.clear(__SOURCEID_ISSET_ID);
-
 
40283
    }
-
 
40284
 
-
 
40285
    /** Returns true if field sourceId is set (has been assigned a value) and false otherwise */
-
 
40286
    public boolean isSetSourceId() {
-
 
40287
      return __isset_bit_vector.get(__SOURCEID_ISSET_ID);
-
 
40288
    }
-
 
40289
 
-
 
40290
    public void setSourceIdIsSet(boolean value) {
-
 
40291
      __isset_bit_vector.set(__SOURCEID_ISSET_ID, value);
-
 
40292
    }
-
 
40293
 
-
 
40294
    public int getDays() {
-
 
40295
      return this.days;
-
 
40296
    }
-
 
40297
 
-
 
40298
    public void setDays(int days) {
-
 
40299
      this.days = days;
-
 
40300
      setDaysIsSet(true);
-
 
40301
    }
-
 
40302
 
-
 
40303
    public void unsetDays() {
-
 
40304
      __isset_bit_vector.clear(__DAYS_ISSET_ID);
-
 
40305
    }
-
 
40306
 
-
 
40307
    /** Returns true if field days is set (has been assigned a value) and false otherwise */
-
 
40308
    public boolean isSetDays() {
-
 
40309
      return __isset_bit_vector.get(__DAYS_ISSET_ID);
-
 
40310
    }
-
 
40311
 
-
 
40312
    public void setDaysIsSet(boolean value) {
-
 
40313
      __isset_bit_vector.set(__DAYS_ISSET_ID, value);
-
 
40314
    }
-
 
40315
 
-
 
40316
    public void setFieldValue(_Fields field, Object value) {
-
 
40317
      switch (field) {
-
 
40318
      case SOURCE_ID:
-
 
40319
        if (value == null) {
-
 
40320
          unsetSourceId();
-
 
40321
        } else {
-
 
40322
          setSourceId((Integer)value);
-
 
40323
        }
-
 
40324
        break;
-
 
40325
 
-
 
40326
      case DAYS:
-
 
40327
        if (value == null) {
-
 
40328
          unsetDays();
-
 
40329
        } else {
-
 
40330
          setDays((Integer)value);
-
 
40331
        }
-
 
40332
        break;
-
 
40333
 
-
 
40334
      }
-
 
40335
    }
-
 
40336
 
-
 
40337
    public Object getFieldValue(_Fields field) {
-
 
40338
      switch (field) {
-
 
40339
      case SOURCE_ID:
-
 
40340
        return Integer.valueOf(getSourceId());
-
 
40341
 
-
 
40342
      case DAYS:
-
 
40343
        return Integer.valueOf(getDays());
-
 
40344
 
-
 
40345
      }
-
 
40346
      throw new IllegalStateException();
-
 
40347
    }
-
 
40348
 
-
 
40349
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
40350
    public boolean isSet(_Fields field) {
-
 
40351
      if (field == null) {
-
 
40352
        throw new IllegalArgumentException();
-
 
40353
      }
-
 
40354
 
-
 
40355
      switch (field) {
-
 
40356
      case SOURCE_ID:
-
 
40357
        return isSetSourceId();
-
 
40358
      case DAYS:
-
 
40359
        return isSetDays();
-
 
40360
      }
-
 
40361
      throw new IllegalStateException();
-
 
40362
    }
-
 
40363
 
-
 
40364
    @Override
-
 
40365
    public boolean equals(Object that) {
-
 
40366
      if (that == null)
-
 
40367
        return false;
-
 
40368
      if (that instanceof getOosStatusesForXDays_args)
-
 
40369
        return this.equals((getOosStatusesForXDays_args)that);
-
 
40370
      return false;
-
 
40371
    }
-
 
40372
 
-
 
40373
    public boolean equals(getOosStatusesForXDays_args that) {
-
 
40374
      if (that == null)
-
 
40375
        return false;
-
 
40376
 
-
 
40377
      boolean this_present_sourceId = true;
-
 
40378
      boolean that_present_sourceId = true;
-
 
40379
      if (this_present_sourceId || that_present_sourceId) {
-
 
40380
        if (!(this_present_sourceId && that_present_sourceId))
-
 
40381
          return false;
-
 
40382
        if (this.sourceId != that.sourceId)
-
 
40383
          return false;
-
 
40384
      }
-
 
40385
 
-
 
40386
      boolean this_present_days = true;
-
 
40387
      boolean that_present_days = true;
-
 
40388
      if (this_present_days || that_present_days) {
-
 
40389
        if (!(this_present_days && that_present_days))
-
 
40390
          return false;
-
 
40391
        if (this.days != that.days)
-
 
40392
          return false;
-
 
40393
      }
-
 
40394
 
-
 
40395
      return true;
-
 
40396
    }
-
 
40397
 
-
 
40398
    @Override
-
 
40399
    public int hashCode() {
-
 
40400
      return 0;
-
 
40401
    }
-
 
40402
 
-
 
40403
    public int compareTo(getOosStatusesForXDays_args other) {
-
 
40404
      if (!getClass().equals(other.getClass())) {
-
 
40405
        return getClass().getName().compareTo(other.getClass().getName());
-
 
40406
      }
-
 
40407
 
-
 
40408
      int lastComparison = 0;
-
 
40409
      getOosStatusesForXDays_args typedOther = (getOosStatusesForXDays_args)other;
-
 
40410
 
-
 
40411
      lastComparison = Boolean.valueOf(isSetSourceId()).compareTo(typedOther.isSetSourceId());
-
 
40412
      if (lastComparison != 0) {
-
 
40413
        return lastComparison;
-
 
40414
      }
-
 
40415
      if (isSetSourceId()) {
-
 
40416
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sourceId, typedOther.sourceId);
-
 
40417
        if (lastComparison != 0) {
-
 
40418
          return lastComparison;
-
 
40419
        }
-
 
40420
      }
-
 
40421
      lastComparison = Boolean.valueOf(isSetDays()).compareTo(typedOther.isSetDays());
-
 
40422
      if (lastComparison != 0) {
-
 
40423
        return lastComparison;
-
 
40424
      }
-
 
40425
      if (isSetDays()) {
-
 
40426
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.days, typedOther.days);
-
 
40427
        if (lastComparison != 0) {
-
 
40428
          return lastComparison;
-
 
40429
        }
-
 
40430
      }
-
 
40431
      return 0;
-
 
40432
    }
-
 
40433
 
-
 
40434
    public _Fields fieldForId(int fieldId) {
-
 
40435
      return _Fields.findByThriftId(fieldId);
-
 
40436
    }
-
 
40437
 
-
 
40438
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
40439
      org.apache.thrift.protocol.TField field;
-
 
40440
      iprot.readStructBegin();
-
 
40441
      while (true)
-
 
40442
      {
-
 
40443
        field = iprot.readFieldBegin();
-
 
40444
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
40445
          break;
-
 
40446
        }
-
 
40447
        switch (field.id) {
-
 
40448
          case 1: // SOURCE_ID
-
 
40449
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
40450
              this.sourceId = iprot.readI32();
-
 
40451
              setSourceIdIsSet(true);
-
 
40452
            } else { 
-
 
40453
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40454
            }
-
 
40455
            break;
-
 
40456
          case 2: // DAYS
-
 
40457
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
40458
              this.days = iprot.readI32();
-
 
40459
              setDaysIsSet(true);
-
 
40460
            } else { 
-
 
40461
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40462
            }
-
 
40463
            break;
-
 
40464
          default:
-
 
40465
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40466
        }
-
 
40467
        iprot.readFieldEnd();
-
 
40468
      }
-
 
40469
      iprot.readStructEnd();
-
 
40470
      validate();
-
 
40471
    }
-
 
40472
 
-
 
40473
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
40474
      validate();
-
 
40475
 
-
 
40476
      oprot.writeStructBegin(STRUCT_DESC);
-
 
40477
      oprot.writeFieldBegin(SOURCE_ID_FIELD_DESC);
-
 
40478
      oprot.writeI32(this.sourceId);
-
 
40479
      oprot.writeFieldEnd();
-
 
40480
      oprot.writeFieldBegin(DAYS_FIELD_DESC);
-
 
40481
      oprot.writeI32(this.days);
-
 
40482
      oprot.writeFieldEnd();
-
 
40483
      oprot.writeFieldStop();
-
 
40484
      oprot.writeStructEnd();
-
 
40485
    }
-
 
40486
 
-
 
40487
    @Override
-
 
40488
    public String toString() {
-
 
40489
      StringBuilder sb = new StringBuilder("getOosStatusesForXDays_args(");
-
 
40490
      boolean first = true;
-
 
40491
 
-
 
40492
      sb.append("sourceId:");
-
 
40493
      sb.append(this.sourceId);
-
 
40494
      first = false;
-
 
40495
      if (!first) sb.append(", ");
-
 
40496
      sb.append("days:");
-
 
40497
      sb.append(this.days);
-
 
40498
      first = false;
-
 
40499
      sb.append(")");
-
 
40500
      return sb.toString();
-
 
40501
    }
-
 
40502
 
-
 
40503
    public void validate() throws org.apache.thrift.TException {
-
 
40504
      // check for required fields
-
 
40505
    }
-
 
40506
 
-
 
40507
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
40508
      try {
-
 
40509
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
40510
      } catch (org.apache.thrift.TException te) {
-
 
40511
        throw new java.io.IOException(te);
-
 
40512
      }
-
 
40513
    }
-
 
40514
 
-
 
40515
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
40516
      try {
-
 
40517
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
40518
        __isset_bit_vector = new BitSet(1);
-
 
40519
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
40520
      } catch (org.apache.thrift.TException te) {
-
 
40521
        throw new java.io.IOException(te);
-
 
40522
      }
-
 
40523
    }
-
 
40524
 
-
 
40525
  }
-
 
40526
 
-
 
40527
  public static class getOosStatusesForXDays_result implements org.apache.thrift.TBase<getOosStatusesForXDays_result, getOosStatusesForXDays_result._Fields>, java.io.Serializable, Cloneable   {
-
 
40528
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOosStatusesForXDays_result");
-
 
40529
 
-
 
40530
    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);
-
 
40531
 
-
 
40532
    private List<OOSStatus> success; // required
-
 
40533
 
-
 
40534
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
40535
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
40536
      SUCCESS((short)0, "success");
-
 
40537
 
-
 
40538
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
40539
 
-
 
40540
      static {
-
 
40541
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
40542
          byName.put(field.getFieldName(), field);
-
 
40543
        }
-
 
40544
      }
-
 
40545
 
-
 
40546
      /**
-
 
40547
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
40548
       */
-
 
40549
      public static _Fields findByThriftId(int fieldId) {
-
 
40550
        switch(fieldId) {
-
 
40551
          case 0: // SUCCESS
-
 
40552
            return SUCCESS;
-
 
40553
          default:
-
 
40554
            return null;
-
 
40555
        }
-
 
40556
      }
-
 
40557
 
-
 
40558
      /**
-
 
40559
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
40560
       * if it is not found.
-
 
40561
       */
-
 
40562
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
40563
        _Fields fields = findByThriftId(fieldId);
-
 
40564
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
40565
        return fields;
-
 
40566
      }
-
 
40567
 
-
 
40568
      /**
-
 
40569
       * Find the _Fields constant that matches name, or null if its not found.
-
 
40570
       */
-
 
40571
      public static _Fields findByName(String name) {
-
 
40572
        return byName.get(name);
-
 
40573
      }
-
 
40574
 
-
 
40575
      private final short _thriftId;
-
 
40576
      private final String _fieldName;
-
 
40577
 
-
 
40578
      _Fields(short thriftId, String fieldName) {
-
 
40579
        _thriftId = thriftId;
-
 
40580
        _fieldName = fieldName;
-
 
40581
      }
-
 
40582
 
-
 
40583
      public short getThriftFieldId() {
-
 
40584
        return _thriftId;
-
 
40585
      }
-
 
40586
 
-
 
40587
      public String getFieldName() {
-
 
40588
        return _fieldName;
-
 
40589
      }
-
 
40590
    }
-
 
40591
 
-
 
40592
    // isset id assignments
-
 
40593
 
-
 
40594
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
40595
    static {
-
 
40596
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
40597
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40598
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
40599
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OOSStatus.class))));
-
 
40600
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
40601
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOosStatusesForXDays_result.class, metaDataMap);
-
 
40602
    }
-
 
40603
 
-
 
40604
    public getOosStatusesForXDays_result() {
-
 
40605
    }
-
 
40606
 
-
 
40607
    public getOosStatusesForXDays_result(
-
 
40608
      List<OOSStatus> success)
-
 
40609
    {
-
 
40610
      this();
-
 
40611
      this.success = success;
-
 
40612
    }
-
 
40613
 
-
 
40614
    /**
-
 
40615
     * Performs a deep copy on <i>other</i>.
-
 
40616
     */
-
 
40617
    public getOosStatusesForXDays_result(getOosStatusesForXDays_result other) {
-
 
40618
      if (other.isSetSuccess()) {
-
 
40619
        List<OOSStatus> __this__success = new ArrayList<OOSStatus>();
-
 
40620
        for (OOSStatus other_element : other.success) {
-
 
40621
          __this__success.add(new OOSStatus(other_element));
-
 
40622
        }
-
 
40623
        this.success = __this__success;
-
 
40624
      }
-
 
40625
    }
-
 
40626
 
-
 
40627
    public getOosStatusesForXDays_result deepCopy() {
-
 
40628
      return new getOosStatusesForXDays_result(this);
-
 
40629
    }
-
 
40630
 
-
 
40631
    @Override
-
 
40632
    public void clear() {
-
 
40633
      this.success = null;
-
 
40634
    }
-
 
40635
 
-
 
40636
    public int getSuccessSize() {
-
 
40637
      return (this.success == null) ? 0 : this.success.size();
-
 
40638
    }
-
 
40639
 
-
 
40640
    public java.util.Iterator<OOSStatus> getSuccessIterator() {
-
 
40641
      return (this.success == null) ? null : this.success.iterator();
-
 
40642
    }
-
 
40643
 
-
 
40644
    public void addToSuccess(OOSStatus elem) {
-
 
40645
      if (this.success == null) {
-
 
40646
        this.success = new ArrayList<OOSStatus>();
-
 
40647
      }
-
 
40648
      this.success.add(elem);
-
 
40649
    }
-
 
40650
 
-
 
40651
    public List<OOSStatus> getSuccess() {
-
 
40652
      return this.success;
-
 
40653
    }
-
 
40654
 
-
 
40655
    public void setSuccess(List<OOSStatus> success) {
-
 
40656
      this.success = success;
-
 
40657
    }
-
 
40658
 
-
 
40659
    public void unsetSuccess() {
-
 
40660
      this.success = null;
-
 
40661
    }
-
 
40662
 
-
 
40663
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
40664
    public boolean isSetSuccess() {
-
 
40665
      return this.success != null;
-
 
40666
    }
-
 
40667
 
-
 
40668
    public void setSuccessIsSet(boolean value) {
-
 
40669
      if (!value) {
-
 
40670
        this.success = null;
-
 
40671
      }
-
 
40672
    }
-
 
40673
 
-
 
40674
    public void setFieldValue(_Fields field, Object value) {
-
 
40675
      switch (field) {
-
 
40676
      case SUCCESS:
-
 
40677
        if (value == null) {
-
 
40678
          unsetSuccess();
-
 
40679
        } else {
-
 
40680
          setSuccess((List<OOSStatus>)value);
-
 
40681
        }
-
 
40682
        break;
-
 
40683
 
-
 
40684
      }
-
 
40685
    }
-
 
40686
 
-
 
40687
    public Object getFieldValue(_Fields field) {
-
 
40688
      switch (field) {
-
 
40689
      case SUCCESS:
-
 
40690
        return getSuccess();
-
 
40691
 
-
 
40692
      }
-
 
40693
      throw new IllegalStateException();
-
 
40694
    }
-
 
40695
 
-
 
40696
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
40697
    public boolean isSet(_Fields field) {
-
 
40698
      if (field == null) {
-
 
40699
        throw new IllegalArgumentException();
-
 
40700
      }
-
 
40701
 
-
 
40702
      switch (field) {
-
 
40703
      case SUCCESS:
-
 
40704
        return isSetSuccess();
-
 
40705
      }
-
 
40706
      throw new IllegalStateException();
-
 
40707
    }
-
 
40708
 
-
 
40709
    @Override
-
 
40710
    public boolean equals(Object that) {
-
 
40711
      if (that == null)
-
 
40712
        return false;
-
 
40713
      if (that instanceof getOosStatusesForXDays_result)
-
 
40714
        return this.equals((getOosStatusesForXDays_result)that);
-
 
40715
      return false;
-
 
40716
    }
-
 
40717
 
-
 
40718
    public boolean equals(getOosStatusesForXDays_result that) {
-
 
40719
      if (that == null)
-
 
40720
        return false;
-
 
40721
 
-
 
40722
      boolean this_present_success = true && this.isSetSuccess();
-
 
40723
      boolean that_present_success = true && that.isSetSuccess();
-
 
40724
      if (this_present_success || that_present_success) {
-
 
40725
        if (!(this_present_success && that_present_success))
-
 
40726
          return false;
-
 
40727
        if (!this.success.equals(that.success))
-
 
40728
          return false;
-
 
40729
      }
-
 
40730
 
-
 
40731
      return true;
-
 
40732
    }
-
 
40733
 
-
 
40734
    @Override
-
 
40735
    public int hashCode() {
-
 
40736
      return 0;
-
 
40737
    }
-
 
40738
 
-
 
40739
    public int compareTo(getOosStatusesForXDays_result other) {
-
 
40740
      if (!getClass().equals(other.getClass())) {
-
 
40741
        return getClass().getName().compareTo(other.getClass().getName());
-
 
40742
      }
-
 
40743
 
-
 
40744
      int lastComparison = 0;
-
 
40745
      getOosStatusesForXDays_result typedOther = (getOosStatusesForXDays_result)other;
-
 
40746
 
-
 
40747
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
40748
      if (lastComparison != 0) {
-
 
40749
        return lastComparison;
-
 
40750
      }
-
 
40751
      if (isSetSuccess()) {
-
 
40752
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
40753
        if (lastComparison != 0) {
-
 
40754
          return lastComparison;
-
 
40755
        }
-
 
40756
      }
-
 
40757
      return 0;
-
 
40758
    }
-
 
40759
 
-
 
40760
    public _Fields fieldForId(int fieldId) {
-
 
40761
      return _Fields.findByThriftId(fieldId);
-
 
40762
    }
-
 
40763
 
-
 
40764
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
40765
      org.apache.thrift.protocol.TField field;
-
 
40766
      iprot.readStructBegin();
-
 
40767
      while (true)
-
 
40768
      {
-
 
40769
        field = iprot.readFieldBegin();
-
 
40770
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
40771
          break;
-
 
40772
        }
-
 
40773
        switch (field.id) {
-
 
40774
          case 0: // SUCCESS
-
 
40775
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
40776
              {
-
 
40777
                org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
-
 
40778
                this.success = new ArrayList<OOSStatus>(_list118.size);
-
 
40779
                for (int _i119 = 0; _i119 < _list118.size; ++_i119)
-
 
40780
                {
-
 
40781
                  OOSStatus _elem120; // required
-
 
40782
                  _elem120 = new OOSStatus();
-
 
40783
                  _elem120.read(iprot);
-
 
40784
                  this.success.add(_elem120);
-
 
40785
                }
-
 
40786
                iprot.readListEnd();
-
 
40787
              }
-
 
40788
            } else { 
-
 
40789
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40790
            }
-
 
40791
            break;
-
 
40792
          default:
-
 
40793
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40794
        }
-
 
40795
        iprot.readFieldEnd();
-
 
40796
      }
-
 
40797
      iprot.readStructEnd();
-
 
40798
      validate();
-
 
40799
    }
-
 
40800
 
-
 
40801
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
40802
      oprot.writeStructBegin(STRUCT_DESC);
-
 
40803
 
-
 
40804
      if (this.isSetSuccess()) {
-
 
40805
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
40806
        {
-
 
40807
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
40808
          for (OOSStatus _iter121 : this.success)
-
 
40809
          {
-
 
40810
            _iter121.write(oprot);
-
 
40811
          }
-
 
40812
          oprot.writeListEnd();
-
 
40813
        }
-
 
40814
        oprot.writeFieldEnd();
-
 
40815
      }
-
 
40816
      oprot.writeFieldStop();
-
 
40817
      oprot.writeStructEnd();
-
 
40818
    }
-
 
40819
 
-
 
40820
    @Override
-
 
40821
    public String toString() {
-
 
40822
      StringBuilder sb = new StringBuilder("getOosStatusesForXDays_result(");
-
 
40823
      boolean first = true;
-
 
40824
 
-
 
40825
      sb.append("success:");
-
 
40826
      if (this.success == null) {
-
 
40827
        sb.append("null");
-
 
40828
      } else {
-
 
40829
        sb.append(this.success);
-
 
40830
      }
-
 
40831
      first = false;
-
 
40832
      sb.append(")");
-
 
40833
      return sb.toString();
-
 
40834
    }
-
 
40835
 
-
 
40836
    public void validate() throws org.apache.thrift.TException {
-
 
40837
      // check for required fields
-
 
40838
    }
-
 
40839
 
-
 
40840
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
40841
      try {
-
 
40842
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
40843
      } catch (org.apache.thrift.TException te) {
-
 
40844
        throw new java.io.IOException(te);
-
 
40845
      }
-
 
40846
    }
-
 
40847
 
-
 
40848
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
40849
      try {
-
 
40850
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
40851
      } catch (org.apache.thrift.TException te) {
-
 
40852
        throw new java.io.IOException(te);
-
 
40853
      }
-
 
40854
    }
-
 
40855
 
-
 
40856
  }
-
 
40857
 
-
 
40858
  public static class getAllVendorItemPricing_args implements org.apache.thrift.TBase<getAllVendorItemPricing_args, getAllVendorItemPricing_args._Fields>, java.io.Serializable, Cloneable   {
-
 
40859
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllVendorItemPricing_args");
-
 
40860
 
-
 
40861
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
40862
    private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
40863
 
-
 
40864
    private long itemId; // required
-
 
40865
    private long vendorId; // required
-
 
40866
 
-
 
40867
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
40868
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
40869
      ITEM_ID((short)1, "itemId"),
-
 
40870
      VENDOR_ID((short)2, "vendorId");
-
 
40871
 
-
 
40872
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
40873
 
-
 
40874
      static {
-
 
40875
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
40876
          byName.put(field.getFieldName(), field);
-
 
40877
        }
-
 
40878
      }
-
 
40879
 
-
 
40880
      /**
-
 
40881
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
40882
       */
-
 
40883
      public static _Fields findByThriftId(int fieldId) {
-
 
40884
        switch(fieldId) {
-
 
40885
          case 1: // ITEM_ID
-
 
40886
            return ITEM_ID;
-
 
40887
          case 2: // VENDOR_ID
-
 
40888
            return VENDOR_ID;
-
 
40889
          default:
-
 
40890
            return null;
-
 
40891
        }
-
 
40892
      }
-
 
40893
 
-
 
40894
      /**
-
 
40895
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
40896
       * if it is not found.
-
 
40897
       */
-
 
40898
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
40899
        _Fields fields = findByThriftId(fieldId);
-
 
40900
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
40901
        return fields;
-
 
40902
      }
-
 
40903
 
-
 
40904
      /**
-
 
40905
       * Find the _Fields constant that matches name, or null if its not found.
-
 
40906
       */
-
 
40907
      public static _Fields findByName(String name) {
-
 
40908
        return byName.get(name);
-
 
40909
      }
-
 
40910
 
-
 
40911
      private final short _thriftId;
-
 
40912
      private final String _fieldName;
-
 
40913
 
-
 
40914
      _Fields(short thriftId, String fieldName) {
-
 
40915
        _thriftId = thriftId;
-
 
40916
        _fieldName = fieldName;
-
 
40917
      }
-
 
40918
 
-
 
40919
      public short getThriftFieldId() {
-
 
40920
        return _thriftId;
-
 
40921
      }
-
 
40922
 
-
 
40923
      public String getFieldName() {
-
 
40924
        return _fieldName;
-
 
40925
      }
-
 
40926
    }
-
 
40927
 
-
 
40928
    // isset id assignments
-
 
40929
    private static final int __ITEMID_ISSET_ID = 0;
-
 
40930
    private static final int __VENDORID_ISSET_ID = 1;
-
 
40931
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
40932
 
-
 
40933
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
40934
    static {
-
 
40935
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
40936
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40937
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
40938
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40939
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
40940
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
40941
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllVendorItemPricing_args.class, metaDataMap);
-
 
40942
    }
-
 
40943
 
-
 
40944
    public getAllVendorItemPricing_args() {
-
 
40945
    }
-
 
40946
 
-
 
40947
    public getAllVendorItemPricing_args(
-
 
40948
      long itemId,
-
 
40949
      long vendorId)
-
 
40950
    {
-
 
40951
      this();
-
 
40952
      this.itemId = itemId;
-
 
40953
      setItemIdIsSet(true);
-
 
40954
      this.vendorId = vendorId;
-
 
40955
      setVendorIdIsSet(true);
-
 
40956
    }
-
 
40957
 
-
 
40958
    /**
-
 
40959
     * Performs a deep copy on <i>other</i>.
-
 
40960
     */
-
 
40961
    public getAllVendorItemPricing_args(getAllVendorItemPricing_args other) {
-
 
40962
      __isset_bit_vector.clear();
-
 
40963
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
40964
      this.itemId = other.itemId;
-
 
40965
      this.vendorId = other.vendorId;
-
 
40966
    }
-
 
40967
 
-
 
40968
    public getAllVendorItemPricing_args deepCopy() {
-
 
40969
      return new getAllVendorItemPricing_args(this);
-
 
40970
    }
-
 
40971
 
-
 
40972
    @Override
-
 
40973
    public void clear() {
-
 
40974
      setItemIdIsSet(false);
-
 
40975
      this.itemId = 0;
-
 
40976
      setVendorIdIsSet(false);
-
 
40977
      this.vendorId = 0;
-
 
40978
    }
-
 
40979
 
-
 
40980
    public long getItemId() {
-
 
40981
      return this.itemId;
-
 
40982
    }
-
 
40983
 
-
 
40984
    public void setItemId(long itemId) {
-
 
40985
      this.itemId = itemId;
-
 
40986
      setItemIdIsSet(true);
-
 
40987
    }
-
 
40988
 
-
 
40989
    public void unsetItemId() {
-
 
40990
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
40991
    }
-
 
40992
 
-
 
40993
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
40994
    public boolean isSetItemId() {
-
 
40995
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
40996
    }
-
 
40997
 
-
 
40998
    public void setItemIdIsSet(boolean value) {
-
 
40999
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
41000
    }
-
 
41001
 
-
 
41002
    public long getVendorId() {
-
 
41003
      return this.vendorId;
-
 
41004
    }
-
 
41005
 
-
 
41006
    public void setVendorId(long vendorId) {
-
 
41007
      this.vendorId = vendorId;
-
 
41008
      setVendorIdIsSet(true);
-
 
41009
    }
-
 
41010
 
-
 
41011
    public void unsetVendorId() {
-
 
41012
      __isset_bit_vector.clear(__VENDORID_ISSET_ID);
-
 
41013
    }
-
 
41014
 
-
 
41015
    /** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
-
 
41016
    public boolean isSetVendorId() {
-
 
41017
      return __isset_bit_vector.get(__VENDORID_ISSET_ID);
-
 
41018
    }
-
 
41019
 
-
 
41020
    public void setVendorIdIsSet(boolean value) {
-
 
41021
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
-
 
41022
    }
-
 
41023
 
-
 
41024
    public void setFieldValue(_Fields field, Object value) {
-
 
41025
      switch (field) {
-
 
41026
      case ITEM_ID:
-
 
41027
        if (value == null) {
-
 
41028
          unsetItemId();
-
 
41029
        } else {
-
 
41030
          setItemId((Long)value);
-
 
41031
        }
-
 
41032
        break;
-
 
41033
 
-
 
41034
      case VENDOR_ID:
-
 
41035
        if (value == null) {
-
 
41036
          unsetVendorId();
-
 
41037
        } else {
-
 
41038
          setVendorId((Long)value);
-
 
41039
        }
-
 
41040
        break;
-
 
41041
 
-
 
41042
      }
-
 
41043
    }
-
 
41044
 
-
 
41045
    public Object getFieldValue(_Fields field) {
-
 
41046
      switch (field) {
-
 
41047
      case ITEM_ID:
-
 
41048
        return Long.valueOf(getItemId());
-
 
41049
 
-
 
41050
      case VENDOR_ID:
-
 
41051
        return Long.valueOf(getVendorId());
-
 
41052
 
-
 
41053
      }
-
 
41054
      throw new IllegalStateException();
-
 
41055
    }
-
 
41056
 
-
 
41057
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
41058
    public boolean isSet(_Fields field) {
-
 
41059
      if (field == null) {
-
 
41060
        throw new IllegalArgumentException();
-
 
41061
      }
-
 
41062
 
-
 
41063
      switch (field) {
-
 
41064
      case ITEM_ID:
-
 
41065
        return isSetItemId();
-
 
41066
      case VENDOR_ID:
-
 
41067
        return isSetVendorId();
-
 
41068
      }
-
 
41069
      throw new IllegalStateException();
-
 
41070
    }
-
 
41071
 
-
 
41072
    @Override
-
 
41073
    public boolean equals(Object that) {
-
 
41074
      if (that == null)
-
 
41075
        return false;
-
 
41076
      if (that instanceof getAllVendorItemPricing_args)
-
 
41077
        return this.equals((getAllVendorItemPricing_args)that);
-
 
41078
      return false;
-
 
41079
    }
-
 
41080
 
-
 
41081
    public boolean equals(getAllVendorItemPricing_args that) {
-
 
41082
      if (that == null)
-
 
41083
        return false;
-
 
41084
 
-
 
41085
      boolean this_present_itemId = true;
-
 
41086
      boolean that_present_itemId = true;
-
 
41087
      if (this_present_itemId || that_present_itemId) {
-
 
41088
        if (!(this_present_itemId && that_present_itemId))
-
 
41089
          return false;
-
 
41090
        if (this.itemId != that.itemId)
-
 
41091
          return false;
-
 
41092
      }
-
 
41093
 
-
 
41094
      boolean this_present_vendorId = true;
-
 
41095
      boolean that_present_vendorId = true;
-
 
41096
      if (this_present_vendorId || that_present_vendorId) {
-
 
41097
        if (!(this_present_vendorId && that_present_vendorId))
-
 
41098
          return false;
-
 
41099
        if (this.vendorId != that.vendorId)
-
 
41100
          return false;
-
 
41101
      }
-
 
41102
 
-
 
41103
      return true;
-
 
41104
    }
-
 
41105
 
-
 
41106
    @Override
-
 
41107
    public int hashCode() {
-
 
41108
      return 0;
-
 
41109
    }
-
 
41110
 
-
 
41111
    public int compareTo(getAllVendorItemPricing_args other) {
-
 
41112
      if (!getClass().equals(other.getClass())) {
-
 
41113
        return getClass().getName().compareTo(other.getClass().getName());
-
 
41114
      }
-
 
41115
 
-
 
41116
      int lastComparison = 0;
-
 
41117
      getAllVendorItemPricing_args typedOther = (getAllVendorItemPricing_args)other;
-
 
41118
 
-
 
41119
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
41120
      if (lastComparison != 0) {
-
 
41121
        return lastComparison;
-
 
41122
      }
-
 
41123
      if (isSetItemId()) {
-
 
41124
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
41125
        if (lastComparison != 0) {
-
 
41126
          return lastComparison;
-
 
41127
        }
-
 
41128
      }
-
 
41129
      lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
-
 
41130
      if (lastComparison != 0) {
-
 
41131
        return lastComparison;
-
 
41132
      }
-
 
41133
      if (isSetVendorId()) {
-
 
41134
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
-
 
41135
        if (lastComparison != 0) {
-
 
41136
          return lastComparison;
-
 
41137
        }
-
 
41138
      }
-
 
41139
      return 0;
-
 
41140
    }
-
 
41141
 
-
 
41142
    public _Fields fieldForId(int fieldId) {
-
 
41143
      return _Fields.findByThriftId(fieldId);
-
 
41144
    }
-
 
41145
 
-
 
41146
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
41147
      org.apache.thrift.protocol.TField field;
-
 
41148
      iprot.readStructBegin();
-
 
41149
      while (true)
-
 
41150
      {
-
 
41151
        field = iprot.readFieldBegin();
-
 
41152
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
41153
          break;
-
 
41154
        }
-
 
41155
        switch (field.id) {
-
 
41156
          case 1: // ITEM_ID
-
 
41157
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
41158
              this.itemId = iprot.readI64();
-
 
41159
              setItemIdIsSet(true);
-
 
41160
            } else { 
-
 
41161
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41162
            }
-
 
41163
            break;
-
 
41164
          case 2: // VENDOR_ID
-
 
41165
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
41166
              this.vendorId = iprot.readI64();
-
 
41167
              setVendorIdIsSet(true);
-
 
41168
            } else { 
-
 
41169
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41170
            }
-
 
41171
            break;
-
 
41172
          default:
-
 
41173
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41174
        }
-
 
41175
        iprot.readFieldEnd();
-
 
41176
      }
-
 
41177
      iprot.readStructEnd();
-
 
41178
      validate();
-
 
41179
    }
-
 
41180
 
-
 
41181
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
41182
      validate();
-
 
41183
 
-
 
41184
      oprot.writeStructBegin(STRUCT_DESC);
-
 
41185
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
41186
      oprot.writeI64(this.itemId);
-
 
41187
      oprot.writeFieldEnd();
-
 
41188
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
-
 
41189
      oprot.writeI64(this.vendorId);
-
 
41190
      oprot.writeFieldEnd();
-
 
41191
      oprot.writeFieldStop();
-
 
41192
      oprot.writeStructEnd();
-
 
41193
    }
-
 
41194
 
-
 
41195
    @Override
-
 
41196
    public String toString() {
-
 
41197
      StringBuilder sb = new StringBuilder("getAllVendorItemPricing_args(");
-
 
41198
      boolean first = true;
-
 
41199
 
-
 
41200
      sb.append("itemId:");
-
 
41201
      sb.append(this.itemId);
-
 
41202
      first = false;
-
 
41203
      if (!first) sb.append(", ");
-
 
41204
      sb.append("vendorId:");
-
 
41205
      sb.append(this.vendorId);
-
 
41206
      first = false;
-
 
41207
      sb.append(")");
-
 
41208
      return sb.toString();
-
 
41209
    }
-
 
41210
 
-
 
41211
    public void validate() throws org.apache.thrift.TException {
-
 
41212
      // check for required fields
-
 
41213
    }
-
 
41214
 
-
 
41215
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
41216
      try {
-
 
41217
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
41218
      } catch (org.apache.thrift.TException te) {
-
 
41219
        throw new java.io.IOException(te);
-
 
41220
      }
-
 
41221
    }
-
 
41222
 
-
 
41223
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
41224
      try {
-
 
41225
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
41226
        __isset_bit_vector = new BitSet(1);
-
 
41227
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
41228
      } catch (org.apache.thrift.TException te) {
-
 
41229
        throw new java.io.IOException(te);
-
 
41230
      }
-
 
41231
    }
-
 
41232
 
-
 
41233
  }
-
 
41234
 
-
 
41235
  public static class getAllVendorItemPricing_result implements org.apache.thrift.TBase<getAllVendorItemPricing_result, getAllVendorItemPricing_result._Fields>, java.io.Serializable, Cloneable   {
-
 
41236
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllVendorItemPricing_result");
-
 
41237
 
-
 
41238
    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);
-
 
41239
 
-
 
41240
    private List<VendorItemPricing> success; // required
-
 
41241
 
-
 
41242
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
41243
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
41244
      SUCCESS((short)0, "success");
-
 
41245
 
-
 
41246
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
41247
 
-
 
41248
      static {
-
 
41249
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
41250
          byName.put(field.getFieldName(), field);
-
 
41251
        }
-
 
41252
      }
-
 
41253
 
-
 
41254
      /**
-
 
41255
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
41256
       */
-
 
41257
      public static _Fields findByThriftId(int fieldId) {
-
 
41258
        switch(fieldId) {
-
 
41259
          case 0: // SUCCESS
-
 
41260
            return SUCCESS;
-
 
41261
          default:
-
 
41262
            return null;
-
 
41263
        }
-
 
41264
      }
-
 
41265
 
-
 
41266
      /**
-
 
41267
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
41268
       * if it is not found.
-
 
41269
       */
-
 
41270
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
41271
        _Fields fields = findByThriftId(fieldId);
-
 
41272
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
41273
        return fields;
-
 
41274
      }
-
 
41275
 
-
 
41276
      /**
-
 
41277
       * Find the _Fields constant that matches name, or null if its not found.
-
 
41278
       */
-
 
41279
      public static _Fields findByName(String name) {
-
 
41280
        return byName.get(name);
-
 
41281
      }
-
 
41282
 
-
 
41283
      private final short _thriftId;
-
 
41284
      private final String _fieldName;
-
 
41285
 
-
 
41286
      _Fields(short thriftId, String fieldName) {
-
 
41287
        _thriftId = thriftId;
-
 
41288
        _fieldName = fieldName;
-
 
41289
      }
-
 
41290
 
-
 
41291
      public short getThriftFieldId() {
-
 
41292
        return _thriftId;
-
 
41293
      }
-
 
41294
 
-
 
41295
      public String getFieldName() {
-
 
41296
        return _fieldName;
-
 
41297
      }
-
 
41298
    }
-
 
41299
 
-
 
41300
    // isset id assignments
-
 
41301
 
-
 
41302
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
41303
    static {
-
 
41304
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
41305
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
41306
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
41307
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, VendorItemPricing.class))));
-
 
41308
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
41309
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllVendorItemPricing_result.class, metaDataMap);
-
 
41310
    }
-
 
41311
 
-
 
41312
    public getAllVendorItemPricing_result() {
-
 
41313
    }
-
 
41314
 
-
 
41315
    public getAllVendorItemPricing_result(
-
 
41316
      List<VendorItemPricing> success)
-
 
41317
    {
-
 
41318
      this();
-
 
41319
      this.success = success;
-
 
41320
    }
-
 
41321
 
-
 
41322
    /**
-
 
41323
     * Performs a deep copy on <i>other</i>.
-
 
41324
     */
-
 
41325
    public getAllVendorItemPricing_result(getAllVendorItemPricing_result other) {
-
 
41326
      if (other.isSetSuccess()) {
-
 
41327
        List<VendorItemPricing> __this__success = new ArrayList<VendorItemPricing>();
-
 
41328
        for (VendorItemPricing other_element : other.success) {
-
 
41329
          __this__success.add(new VendorItemPricing(other_element));
-
 
41330
        }
-
 
41331
        this.success = __this__success;
-
 
41332
      }
-
 
41333
    }
-
 
41334
 
-
 
41335
    public getAllVendorItemPricing_result deepCopy() {
-
 
41336
      return new getAllVendorItemPricing_result(this);
-
 
41337
    }
-
 
41338
 
-
 
41339
    @Override
-
 
41340
    public void clear() {
-
 
41341
      this.success = null;
-
 
41342
    }
-
 
41343
 
-
 
41344
    public int getSuccessSize() {
-
 
41345
      return (this.success == null) ? 0 : this.success.size();
-
 
41346
    }
-
 
41347
 
-
 
41348
    public java.util.Iterator<VendorItemPricing> getSuccessIterator() {
-
 
41349
      return (this.success == null) ? null : this.success.iterator();
-
 
41350
    }
-
 
41351
 
-
 
41352
    public void addToSuccess(VendorItemPricing elem) {
-
 
41353
      if (this.success == null) {
-
 
41354
        this.success = new ArrayList<VendorItemPricing>();
-
 
41355
      }
-
 
41356
      this.success.add(elem);
-
 
41357
    }
-
 
41358
 
-
 
41359
    public List<VendorItemPricing> getSuccess() {
-
 
41360
      return this.success;
-
 
41361
    }
-
 
41362
 
-
 
41363
    public void setSuccess(List<VendorItemPricing> success) {
-
 
41364
      this.success = success;
-
 
41365
    }
-
 
41366
 
-
 
41367
    public void unsetSuccess() {
-
 
41368
      this.success = null;
-
 
41369
    }
-
 
41370
 
-
 
41371
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
41372
    public boolean isSetSuccess() {
-
 
41373
      return this.success != null;
-
 
41374
    }
-
 
41375
 
-
 
41376
    public void setSuccessIsSet(boolean value) {
-
 
41377
      if (!value) {
-
 
41378
        this.success = null;
-
 
41379
      }
-
 
41380
    }
-
 
41381
 
-
 
41382
    public void setFieldValue(_Fields field, Object value) {
-
 
41383
      switch (field) {
-
 
41384
      case SUCCESS:
-
 
41385
        if (value == null) {
-
 
41386
          unsetSuccess();
-
 
41387
        } else {
-
 
41388
          setSuccess((List<VendorItemPricing>)value);
-
 
41389
        }
-
 
41390
        break;
-
 
41391
 
-
 
41392
      }
-
 
41393
    }
-
 
41394
 
-
 
41395
    public Object getFieldValue(_Fields field) {
-
 
41396
      switch (field) {
-
 
41397
      case SUCCESS:
-
 
41398
        return getSuccess();
-
 
41399
 
-
 
41400
      }
-
 
41401
      throw new IllegalStateException();
-
 
41402
    }
-
 
41403
 
-
 
41404
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
41405
    public boolean isSet(_Fields field) {
-
 
41406
      if (field == null) {
-
 
41407
        throw new IllegalArgumentException();
-
 
41408
      }
-
 
41409
 
-
 
41410
      switch (field) {
-
 
41411
      case SUCCESS:
-
 
41412
        return isSetSuccess();
-
 
41413
      }
-
 
41414
      throw new IllegalStateException();
-
 
41415
    }
-
 
41416
 
-
 
41417
    @Override
-
 
41418
    public boolean equals(Object that) {
-
 
41419
      if (that == null)
-
 
41420
        return false;
-
 
41421
      if (that instanceof getAllVendorItemPricing_result)
-
 
41422
        return this.equals((getAllVendorItemPricing_result)that);
-
 
41423
      return false;
-
 
41424
    }
-
 
41425
 
-
 
41426
    public boolean equals(getAllVendorItemPricing_result that) {
-
 
41427
      if (that == null)
-
 
41428
        return false;
-
 
41429
 
-
 
41430
      boolean this_present_success = true && this.isSetSuccess();
-
 
41431
      boolean that_present_success = true && that.isSetSuccess();
-
 
41432
      if (this_present_success || that_present_success) {
-
 
41433
        if (!(this_present_success && that_present_success))
-
 
41434
          return false;
-
 
41435
        if (!this.success.equals(that.success))
-
 
41436
          return false;
-
 
41437
      }
-
 
41438
 
-
 
41439
      return true;
-
 
41440
    }
-
 
41441
 
-
 
41442
    @Override
-
 
41443
    public int hashCode() {
-
 
41444
      return 0;
-
 
41445
    }
-
 
41446
 
-
 
41447
    public int compareTo(getAllVendorItemPricing_result other) {
-
 
41448
      if (!getClass().equals(other.getClass())) {
-
 
41449
        return getClass().getName().compareTo(other.getClass().getName());
-
 
41450
      }
-
 
41451
 
-
 
41452
      int lastComparison = 0;
-
 
41453
      getAllVendorItemPricing_result typedOther = (getAllVendorItemPricing_result)other;
-
 
41454
 
-
 
41455
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
41456
      if (lastComparison != 0) {
-
 
41457
        return lastComparison;
-
 
41458
      }
-
 
41459
      if (isSetSuccess()) {
-
 
41460
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
41461
        if (lastComparison != 0) {
-
 
41462
          return lastComparison;
-
 
41463
        }
-
 
41464
      }
-
 
41465
      return 0;
-
 
41466
    }
-
 
41467
 
-
 
41468
    public _Fields fieldForId(int fieldId) {
-
 
41469
      return _Fields.findByThriftId(fieldId);
-
 
41470
    }
-
 
41471
 
-
 
41472
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
41473
      org.apache.thrift.protocol.TField field;
-
 
41474
      iprot.readStructBegin();
-
 
41475
      while (true)
-
 
41476
      {
-
 
41477
        field = iprot.readFieldBegin();
-
 
41478
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
41479
          break;
-
 
41480
        }
-
 
41481
        switch (field.id) {
-
 
41482
          case 0: // SUCCESS
-
 
41483
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
41484
              {
-
 
41485
                org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
-
 
41486
                this.success = new ArrayList<VendorItemPricing>(_list122.size);
-
 
41487
                for (int _i123 = 0; _i123 < _list122.size; ++_i123)
-
 
41488
                {
-
 
41489
                  VendorItemPricing _elem124; // required
-
 
41490
                  _elem124 = new VendorItemPricing();
-
 
41491
                  _elem124.read(iprot);
-
 
41492
                  this.success.add(_elem124);
-
 
41493
                }
-
 
41494
                iprot.readListEnd();
-
 
41495
              }
-
 
41496
            } else { 
-
 
41497
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41498
            }
-
 
41499
            break;
-
 
41500
          default:
-
 
41501
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41502
        }
-
 
41503
        iprot.readFieldEnd();
-
 
41504
      }
-
 
41505
      iprot.readStructEnd();
-
 
41506
      validate();
-
 
41507
    }
-
 
41508
 
-
 
41509
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
41510
      oprot.writeStructBegin(STRUCT_DESC);
-
 
41511
 
-
 
41512
      if (this.isSetSuccess()) {
-
 
41513
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
41514
        {
-
 
41515
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
41516
          for (VendorItemPricing _iter125 : this.success)
-
 
41517
          {
-
 
41518
            _iter125.write(oprot);
-
 
41519
          }
-
 
41520
          oprot.writeListEnd();
-
 
41521
        }
-
 
41522
        oprot.writeFieldEnd();
-
 
41523
      }
-
 
41524
      oprot.writeFieldStop();
-
 
41525
      oprot.writeStructEnd();
-
 
41526
    }
-
 
41527
 
-
 
41528
    @Override
-
 
41529
    public String toString() {
-
 
41530
      StringBuilder sb = new StringBuilder("getAllVendorItemPricing_result(");
-
 
41531
      boolean first = true;
-
 
41532
 
-
 
41533
      sb.append("success:");
-
 
41534
      if (this.success == null) {
-
 
41535
        sb.append("null");
-
 
41536
      } else {
-
 
41537
        sb.append(this.success);
-
 
41538
      }
-
 
41539
      first = false;
-
 
41540
      sb.append(")");
-
 
41541
      return sb.toString();
-
 
41542
    }
-
 
41543
 
-
 
41544
    public void validate() throws org.apache.thrift.TException {
-
 
41545
      // check for required fields
-
 
41546
    }
-
 
41547
 
-
 
41548
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
41549
      try {
-
 
41550
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
41551
      } catch (org.apache.thrift.TException te) {
-
 
41552
        throw new java.io.IOException(te);
-
 
41553
      }
-
 
41554
    }
-
 
41555
 
-
 
41556
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
41557
      try {
-
 
41558
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
41559
      } catch (org.apache.thrift.TException te) {
-
 
41560
        throw new java.io.IOException(te);
-
 
41561
      }
-
 
41562
    }
-
 
41563
 
-
 
41564
  }
-
 
41565
 
39990
  public static class getNonZeroItemStockPurchaseParams_args implements org.apache.thrift.TBase<getNonZeroItemStockPurchaseParams_args, getNonZeroItemStockPurchaseParams_args._Fields>, java.io.Serializable, Cloneable   {
41566
  public static class getNonZeroItemStockPurchaseParams_args implements org.apache.thrift.TBase<getNonZeroItemStockPurchaseParams_args, getNonZeroItemStockPurchaseParams_args._Fields>, java.io.Serializable, Cloneable   {
39991
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getNonZeroItemStockPurchaseParams_args");
41567
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getNonZeroItemStockPurchaseParams_args");
39992
 
41568
 
39993
 
41569
 
39994
 
41570
 
Line 40435... Line 42011...
40435
        }
42011
        }
40436
        switch (field.id) {
42012
        switch (field.id) {
40437
          case 0: // SUCCESS
42013
          case 0: // SUCCESS
40438
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42014
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40439
              {
42015
              {
40440
                org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
42016
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
40441
                this.success = new ArrayList<ItemStockPurchaseParams>(_list118.size);
42017
                this.success = new ArrayList<ItemStockPurchaseParams>(_list126.size);
40442
                for (int _i119 = 0; _i119 < _list118.size; ++_i119)
42018
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
40443
                {
42019
                {
40444
                  ItemStockPurchaseParams _elem120; // required
42020
                  ItemStockPurchaseParams _elem128; // required
40445
                  _elem120 = new ItemStockPurchaseParams();
42021
                  _elem128 = new ItemStockPurchaseParams();
40446
                  _elem120.read(iprot);
42022
                  _elem128.read(iprot);
40447
                  this.success.add(_elem120);
42023
                  this.success.add(_elem128);
40448
                }
42024
                }
40449
                iprot.readListEnd();
42025
                iprot.readListEnd();
40450
              }
42026
              }
40451
            } else { 
42027
            } else { 
40452
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42028
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40466... Line 42042...
40466
 
42042
 
40467
      if (this.isSetSuccess()) {
42043
      if (this.isSetSuccess()) {
40468
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42044
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40469
        {
42045
        {
40470
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42046
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40471
          for (ItemStockPurchaseParams _iter121 : this.success)
42047
          for (ItemStockPurchaseParams _iter129 : this.success)
40472
          {
42048
          {
40473
            _iter121.write(oprot);
42049
            _iter129.write(oprot);
40474
          }
42050
          }
40475
          oprot.writeListEnd();
42051
          oprot.writeListEnd();
40476
        }
42052
        }
40477
        oprot.writeFieldEnd();
42053
        oprot.writeFieldEnd();
40478
      }
42054
      }
Line 40966... Line 42542...
40966
        }
42542
        }
40967
        switch (field.id) {
42543
        switch (field.id) {
40968
          case 0: // SUCCESS
42544
          case 0: // SUCCESS
40969
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42545
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40970
              {
42546
              {
40971
                org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
42547
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
40972
                this.success = new ArrayList<AvailableAndReservedStock>(_list122.size);
42548
                this.success = new ArrayList<AvailableAndReservedStock>(_list130.size);
40973
                for (int _i123 = 0; _i123 < _list122.size; ++_i123)
42549
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
40974
                {
42550
                {
40975
                  AvailableAndReservedStock _elem124; // required
42551
                  AvailableAndReservedStock _elem132; // required
40976
                  _elem124 = new AvailableAndReservedStock();
42552
                  _elem132 = new AvailableAndReservedStock();
40977
                  _elem124.read(iprot);
42553
                  _elem132.read(iprot);
40978
                  this.success.add(_elem124);
42554
                  this.success.add(_elem132);
40979
                }
42555
                }
40980
                iprot.readListEnd();
42556
                iprot.readListEnd();
40981
              }
42557
              }
40982
            } else { 
42558
            } else { 
40983
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42559
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40997... Line 42573...
40997
 
42573
 
40998
      if (this.isSetSuccess()) {
42574
      if (this.isSetSuccess()) {
40999
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42575
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41000
        {
42576
        {
41001
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42577
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41002
          for (AvailableAndReservedStock _iter125 : this.success)
42578
          for (AvailableAndReservedStock _iter133 : this.success)
41003
          {
42579
          {
41004
            _iter125.write(oprot);
42580
            _iter133.write(oprot);
41005
          }
42581
          }
41006
          oprot.writeListEnd();
42582
          oprot.writeListEnd();
41007
        }
42583
        }
41008
        oprot.writeFieldEnd();
42584
        oprot.writeFieldEnd();
41009
      }
42585
      }
Line 42672... Line 44248...
42672
        }
44248
        }
42673
        switch (field.id) {
44249
        switch (field.id) {
42674
          case 0: // SUCCESS
44250
          case 0: // SUCCESS
42675
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44251
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42676
              {
44252
              {
42677
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
44253
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
42678
                this.success = new ArrayList<AmazonInventorySnapshot>(_list126.size);
44254
                this.success = new ArrayList<AmazonInventorySnapshot>(_list134.size);
42679
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
44255
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
42680
                {
44256
                {
42681
                  AmazonInventorySnapshot _elem128; // required
44257
                  AmazonInventorySnapshot _elem136; // required
42682
                  _elem128 = new AmazonInventorySnapshot();
44258
                  _elem136 = new AmazonInventorySnapshot();
42683
                  _elem128.read(iprot);
44259
                  _elem136.read(iprot);
42684
                  this.success.add(_elem128);
44260
                  this.success.add(_elem136);
42685
                }
44261
                }
42686
                iprot.readListEnd();
44262
                iprot.readListEnd();
42687
              }
44263
              }
42688
            } else { 
44264
            } else { 
42689
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44265
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42703... Line 44279...
42703
 
44279
 
42704
      if (this.isSetSuccess()) {
44280
      if (this.isSetSuccess()) {
42705
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44281
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42706
        {
44282
        {
42707
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44283
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42708
          for (AmazonInventorySnapshot _iter129 : this.success)
44284
          for (AmazonInventorySnapshot _iter137 : this.success)
42709
          {
44285
          {
42710
            _iter129.write(oprot);
44286
            _iter137.write(oprot);
42711
          }
44287
          }
42712
          oprot.writeListEnd();
44288
          oprot.writeListEnd();
42713
        }
44289
        }
42714
        oprot.writeFieldEnd();
44290
        oprot.writeFieldEnd();
42715
      }
44291
      }
Line 46285... Line 47861...
46285
        }
47861
        }
46286
        switch (field.id) {
47862
        switch (field.id) {
46287
          case 0: // SUCCESS
47863
          case 0: // SUCCESS
46288
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47864
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46289
              {
47865
              {
46290
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
47866
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
46291
                this.success = new ArrayList<AmazonFbaInventorySnapshot>(_list130.size);
47867
                this.success = new ArrayList<AmazonFbaInventorySnapshot>(_list138.size);
46292
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
47868
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
46293
                {
47869
                {
46294
                  AmazonFbaInventorySnapshot _elem132; // required
47870
                  AmazonFbaInventorySnapshot _elem140; // required
46295
                  _elem132 = new AmazonFbaInventorySnapshot();
47871
                  _elem140 = new AmazonFbaInventorySnapshot();
46296
                  _elem132.read(iprot);
47872
                  _elem140.read(iprot);
46297
                  this.success.add(_elem132);
47873
                  this.success.add(_elem140);
46298
                }
47874
                }
46299
                iprot.readListEnd();
47875
                iprot.readListEnd();
46300
              }
47876
              }
46301
            } else { 
47877
            } else { 
46302
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47878
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46316... Line 47892...
46316
 
47892
 
46317
      if (this.isSetSuccess()) {
47893
      if (this.isSetSuccess()) {
46318
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47894
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46319
        {
47895
        {
46320
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47896
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46321
          for (AmazonFbaInventorySnapshot _iter133 : this.success)
47897
          for (AmazonFbaInventorySnapshot _iter141 : this.success)
46322
          {
47898
          {
46323
            _iter133.write(oprot);
47899
            _iter141.write(oprot);
46324
          }
47900
          }
46325
          oprot.writeListEnd();
47901
          oprot.writeListEnd();
46326
        }
47902
        }
46327
        oprot.writeFieldEnd();
47903
        oprot.writeFieldEnd();
46328
      }
47904
      }
Line 46910... Line 48486...
46910
        }
48486
        }
46911
        switch (field.id) {
48487
        switch (field.id) {
46912
          case 0: // SUCCESS
48488
          case 0: // SUCCESS
46913
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48489
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46914
              {
48490
              {
46915
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
48491
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
46916
                this.success = new ArrayList<Long>(_list134.size);
48492
                this.success = new ArrayList<Long>(_list142.size);
46917
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
48493
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
46918
                {
48494
                {
46919
                  long _elem136; // required
48495
                  long _elem144; // required
46920
                  _elem136 = iprot.readI64();
48496
                  _elem144 = iprot.readI64();
46921
                  this.success.add(_elem136);
48497
                  this.success.add(_elem144);
46922
                }
48498
                }
46923
                iprot.readListEnd();
48499
                iprot.readListEnd();
46924
              }
48500
              }
46925
            } else { 
48501
            } else { 
46926
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48502
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46940... Line 48516...
46940
 
48516
 
46941
      if (this.isSetSuccess()) {
48517
      if (this.isSetSuccess()) {
46942
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48518
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46943
        {
48519
        {
46944
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48520
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
46945
          for (long _iter137 : this.success)
48521
          for (long _iter145 : this.success)
46946
          {
48522
          {
46947
            oprot.writeI64(_iter137);
48523
            oprot.writeI64(_iter145);
46948
          }
48524
          }
46949
          oprot.writeListEnd();
48525
          oprot.writeListEnd();
46950
        }
48526
        }
46951
        oprot.writeFieldEnd();
48527
        oprot.writeFieldEnd();
46952
      }
48528
      }
Line 49862... Line 51438...
49862
      }
51438
      }
49863
    }
51439
    }
49864
 
51440
 
49865
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
51441
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49866
      try {
51442
      try {
-
 
51443
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
51444
        __isset_bit_vector = new BitSet(1);
49867
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
51445
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49868
      } catch (org.apache.thrift.TException te) {
51446
      } catch (org.apache.thrift.TException te) {
49869
        throw new java.io.IOException(te);
51447
        throw new java.io.IOException(te);
49870
      }
51448
      }
49871
    }
51449
    }
Line 50125... Line 51703...
50125
        }
51703
        }
50126
        switch (field.id) {
51704
        switch (field.id) {
50127
          case 0: // SUCCESS
51705
          case 0: // SUCCESS
50128
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
51706
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
50129
              {
51707
              {
50130
                org.apache.thrift.protocol.TMap _map138 = iprot.readMapBegin();
51708
                org.apache.thrift.protocol.TMap _map146 = iprot.readMapBegin();
50131
                this.success = new HashMap<Integer,Long>(2*_map138.size);
51709
                this.success = new HashMap<Integer,Long>(2*_map146.size);
50132
                for (int _i139 = 0; _i139 < _map138.size; ++_i139)
51710
                for (int _i147 = 0; _i147 < _map146.size; ++_i147)
50133
                {
51711
                {
50134
                  int _key140; // required
51712
                  int _key148; // required
50135
                  long _val141; // required
51713
                  long _val149; // required
50136
                  _key140 = iprot.readI32();
51714
                  _key148 = iprot.readI32();
50137
                  _val141 = iprot.readI64();
51715
                  _val149 = iprot.readI64();
50138
                  this.success.put(_key140, _val141);
51716
                  this.success.put(_key148, _val149);
50139
                }
51717
                }
50140
                iprot.readMapEnd();
51718
                iprot.readMapEnd();
50141
              }
51719
              }
50142
            } else { 
51720
            } else { 
50143
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51721
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50157... Line 51735...
50157
 
51735
 
50158
      if (this.isSetSuccess()) {
51736
      if (this.isSetSuccess()) {
50159
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51737
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50160
        {
51738
        {
50161
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, this.success.size()));
51739
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, this.success.size()));
50162
          for (Map.Entry<Integer, Long> _iter142 : this.success.entrySet())
51740
          for (Map.Entry<Integer, Long> _iter150 : this.success.entrySet())
50163
          {
51741
          {
50164
            oprot.writeI32(_iter142.getKey());
51742
            oprot.writeI32(_iter150.getKey());
50165
            oprot.writeI64(_iter142.getValue());
51743
            oprot.writeI64(_iter150.getValue());
50166
          }
51744
          }
50167
          oprot.writeMapEnd();
51745
          oprot.writeMapEnd();
50168
        }
51746
        }
50169
        oprot.writeFieldEnd();
51747
        oprot.writeFieldEnd();
50170
      }
51748
      }
Line 50458... Line 52036...
50458
        }
52036
        }
50459
        switch (field.id) {
52037
        switch (field.id) {
50460
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
52038
          case -1: // ALLAMAZONFBAINVENTORYSNAPSHOT
50461
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52039
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50462
              {
52040
              {
50463
                org.apache.thrift.protocol.TList _list143 = iprot.readListBegin();
52041
                org.apache.thrift.protocol.TList _list151 = iprot.readListBegin();
50464
                this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>(_list143.size);
52042
                this.allamazonfbainventorysnapshot = new ArrayList<AmazonFbaInventorySnapshot>(_list151.size);
50465
                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
52043
                for (int _i152 = 0; _i152 < _list151.size; ++_i152)
50466
                {
52044
                {
50467
                  AmazonFbaInventorySnapshot _elem145; // required
52045
                  AmazonFbaInventorySnapshot _elem153; // required
50468
                  _elem145 = new AmazonFbaInventorySnapshot();
52046
                  _elem153 = new AmazonFbaInventorySnapshot();
50469
                  _elem145.read(iprot);
52047
                  _elem153.read(iprot);
50470
                  this.allamazonfbainventorysnapshot.add(_elem145);
52048
                  this.allamazonfbainventorysnapshot.add(_elem153);
50471
                }
52049
                }
50472
                iprot.readListEnd();
52050
                iprot.readListEnd();
50473
              }
52051
              }
50474
            } else { 
52052
            } else { 
50475
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52053
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50490... Line 52068...
50490
      oprot.writeStructBegin(STRUCT_DESC);
52068
      oprot.writeStructBegin(STRUCT_DESC);
50491
      if (this.allamazonfbainventorysnapshot != null) {
52069
      if (this.allamazonfbainventorysnapshot != null) {
50492
        oprot.writeFieldBegin(ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC);
52070
        oprot.writeFieldBegin(ALLAMAZONFBAINVENTORYSNAPSHOT_FIELD_DESC);
50493
        {
52071
        {
50494
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allamazonfbainventorysnapshot.size()));
52072
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allamazonfbainventorysnapshot.size()));
50495
          for (AmazonFbaInventorySnapshot _iter146 : this.allamazonfbainventorysnapshot)
52073
          for (AmazonFbaInventorySnapshot _iter154 : this.allamazonfbainventorysnapshot)
50496
          {
52074
          {
50497
            _iter146.write(oprot);
52075
            _iter154.write(oprot);
50498
          }
52076
          }
50499
          oprot.writeListEnd();
52077
          oprot.writeListEnd();
50500
        }
52078
        }
50501
        oprot.writeFieldEnd();
52079
        oprot.writeFieldEnd();
50502
      }
52080
      }
Line 50989... Line 52567...
50989
        }
52567
        }
50990
        switch (field.id) {
52568
        switch (field.id) {
50991
          case -1: // ALLSNAPDEALINVENTORYSNAPSHOT
52569
          case -1: // ALLSNAPDEALINVENTORYSNAPSHOT
50992
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52570
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50993
              {
52571
              {
50994
                org.apache.thrift.protocol.TList _list147 = iprot.readListBegin();
52572
                org.apache.thrift.protocol.TList _list155 = iprot.readListBegin();
50995
                this.allsnapdealinventorysnapshot = new ArrayList<SnapdealInventoryItem>(_list147.size);
52573
                this.allsnapdealinventorysnapshot = new ArrayList<SnapdealInventoryItem>(_list155.size);
50996
                for (int _i148 = 0; _i148 < _list147.size; ++_i148)
52574
                for (int _i156 = 0; _i156 < _list155.size; ++_i156)
50997
                {
52575
                {
50998
                  SnapdealInventoryItem _elem149; // required
52576
                  SnapdealInventoryItem _elem157; // required
50999
                  _elem149 = new SnapdealInventoryItem();
52577
                  _elem157 = new SnapdealInventoryItem();
51000
                  _elem149.read(iprot);
52578
                  _elem157.read(iprot);
51001
                  this.allsnapdealinventorysnapshot.add(_elem149);
52579
                  this.allsnapdealinventorysnapshot.add(_elem157);
51002
                }
52580
                }
51003
                iprot.readListEnd();
52581
                iprot.readListEnd();
51004
              }
52582
              }
51005
            } else { 
52583
            } else { 
51006
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52584
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51021... Line 52599...
51021
      oprot.writeStructBegin(STRUCT_DESC);
52599
      oprot.writeStructBegin(STRUCT_DESC);
51022
      if (this.allsnapdealinventorysnapshot != null) {
52600
      if (this.allsnapdealinventorysnapshot != null) {
51023
        oprot.writeFieldBegin(ALLSNAPDEALINVENTORYSNAPSHOT_FIELD_DESC);
52601
        oprot.writeFieldBegin(ALLSNAPDEALINVENTORYSNAPSHOT_FIELD_DESC);
51024
        {
52602
        {
51025
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allsnapdealinventorysnapshot.size()));
52603
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.allsnapdealinventorysnapshot.size()));
51026
          for (SnapdealInventoryItem _iter150 : this.allsnapdealinventorysnapshot)
52604
          for (SnapdealInventoryItem _iter158 : this.allsnapdealinventorysnapshot)
51027
          {
52605
          {
51028
            _iter150.write(oprot);
52606
            _iter158.write(oprot);
51029
          }
52607
          }
51030
          oprot.writeListEnd();
52608
          oprot.writeListEnd();
51031
        }
52609
        }
51032
        oprot.writeFieldEnd();
52610
        oprot.writeFieldEnd();
51033
      }
52611
      }
Line 51720... Line 53298...
51720
        }
53298
        }
51721
        switch (field.id) {
53299
        switch (field.id) {
51722
          case 0: // SUCCESS
53300
          case 0: // SUCCESS
51723
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53301
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51724
              {
53302
              {
51725
                org.apache.thrift.protocol.TList _list151 = iprot.readListBegin();
53303
                org.apache.thrift.protocol.TList _list159 = iprot.readListBegin();
51726
                this.success = new ArrayList<SnapdealInventoryItem>(_list151.size);
53304
                this.success = new ArrayList<SnapdealInventoryItem>(_list159.size);
51727
                for (int _i152 = 0; _i152 < _list151.size; ++_i152)
53305
                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
51728
                {
53306
                {
51729
                  SnapdealInventoryItem _elem153; // required
53307
                  SnapdealInventoryItem _elem161; // required
51730
                  _elem153 = new SnapdealInventoryItem();
53308
                  _elem161 = new SnapdealInventoryItem();
51731
                  _elem153.read(iprot);
53309
                  _elem161.read(iprot);
51732
                  this.success.add(_elem153);
53310
                  this.success.add(_elem161);
51733
                }
53311
                }
51734
                iprot.readListEnd();
53312
                iprot.readListEnd();
51735
              }
53313
              }
51736
            } else { 
53314
            } else { 
51737
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53315
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51751... Line 53329...
51751
 
53329
 
51752
      if (this.isSetSuccess()) {
53330
      if (this.isSetSuccess()) {
51753
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53331
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51754
        {
53332
        {
51755
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53333
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51756
          for (SnapdealInventoryItem _iter154 : this.success)
53334
          for (SnapdealInventoryItem _iter162 : this.success)
51757
          {
53335
          {
51758
            _iter154.write(oprot);
53336
            _iter162.write(oprot);
51759
          }
53337
          }
51760
          oprot.writeListEnd();
53338
          oprot.writeListEnd();
51761
        }
53339
        }
51762
        oprot.writeFieldEnd();
53340
        oprot.writeFieldEnd();
51763
      }
53341
      }
Line 52511... Line 54089...
52511
        }
54089
        }
52512
        switch (field.id) {
54090
        switch (field.id) {
52513
          case 0: // SUCCESS
54091
          case 0: // SUCCESS
52514
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54092
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52515
              {
54093
              {
52516
                org.apache.thrift.protocol.TList _list155 = iprot.readListBegin();
54094
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
52517
                this.success = new ArrayList<HoldInventoryDetail>(_list155.size);
54095
                this.success = new ArrayList<HoldInventoryDetail>(_list163.size);
52518
                for (int _i156 = 0; _i156 < _list155.size; ++_i156)
54096
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
52519
                {
54097
                {
52520
                  HoldInventoryDetail _elem157; // required
54098
                  HoldInventoryDetail _elem165; // required
52521
                  _elem157 = new HoldInventoryDetail();
54099
                  _elem165 = new HoldInventoryDetail();
52522
                  _elem157.read(iprot);
54100
                  _elem165.read(iprot);
52523
                  this.success.add(_elem157);
54101
                  this.success.add(_elem165);
52524
                }
54102
                }
52525
                iprot.readListEnd();
54103
                iprot.readListEnd();
52526
              }
54104
              }
52527
            } else { 
54105
            } else { 
52528
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54106
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52542... Line 54120...
52542
 
54120
 
52543
      if (this.isSetSuccess()) {
54121
      if (this.isSetSuccess()) {
52544
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54122
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52545
        {
54123
        {
52546
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54124
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52547
          for (HoldInventoryDetail _iter158 : this.success)
54125
          for (HoldInventoryDetail _iter166 : this.success)
52548
          {
54126
          {
52549
            _iter158.write(oprot);
54127
            _iter166.write(oprot);
52550
          }
54128
          }
52551
          oprot.writeListEnd();
54129
          oprot.writeListEnd();
52552
        }
54130
        }
52553
        oprot.writeFieldEnd();
54131
        oprot.writeFieldEnd();
52554
      }
54132
      }
Line 52842... Line 54420...
52842
        }
54420
        }
52843
        switch (field.id) {
54421
        switch (field.id) {
52844
          case -1: // FLIPKART_INVENTORY_SNAPSHOT
54422
          case -1: // FLIPKART_INVENTORY_SNAPSHOT
52845
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54423
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52846
              {
54424
              {
52847
                org.apache.thrift.protocol.TList _list159 = iprot.readListBegin();
54425
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
52848
                this.flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>(_list159.size);
54426
                this.flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>(_list167.size);
52849
                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
54427
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
52850
                {
54428
                {
52851
                  FlipkartInventorySnapshot _elem161; // required
54429
                  FlipkartInventorySnapshot _elem169; // required
52852
                  _elem161 = new FlipkartInventorySnapshot();
54430
                  _elem169 = new FlipkartInventorySnapshot();
52853
                  _elem161.read(iprot);
54431
                  _elem169.read(iprot);
52854
                  this.flipkartInventorySnapshot.add(_elem161);
54432
                  this.flipkartInventorySnapshot.add(_elem169);
52855
                }
54433
                }
52856
                iprot.readListEnd();
54434
                iprot.readListEnd();
52857
              }
54435
              }
52858
            } else { 
54436
            } else { 
52859
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54437
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52874... Line 54452...
52874
      oprot.writeStructBegin(STRUCT_DESC);
54452
      oprot.writeStructBegin(STRUCT_DESC);
52875
      if (this.flipkartInventorySnapshot != null) {
54453
      if (this.flipkartInventorySnapshot != null) {
52876
        oprot.writeFieldBegin(FLIPKART_INVENTORY_SNAPSHOT_FIELD_DESC);
54454
        oprot.writeFieldBegin(FLIPKART_INVENTORY_SNAPSHOT_FIELD_DESC);
52877
        {
54455
        {
52878
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.flipkartInventorySnapshot.size()));
54456
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.flipkartInventorySnapshot.size()));
52879
          for (FlipkartInventorySnapshot _iter162 : this.flipkartInventorySnapshot)
54457
          for (FlipkartInventorySnapshot _iter170 : this.flipkartInventorySnapshot)
52880
          {
54458
          {
52881
            _iter162.write(oprot);
54459
            _iter170.write(oprot);
52882
          }
54460
          }
52883
          oprot.writeListEnd();
54461
          oprot.writeListEnd();
52884
        }
54462
        }
52885
        oprot.writeFieldEnd();
54463
        oprot.writeFieldEnd();
52886
      }
54464
      }
Line 53573... Line 55151...
53573
        }
55151
        }
53574
        switch (field.id) {
55152
        switch (field.id) {
53575
          case 0: // SUCCESS
55153
          case 0: // SUCCESS
53576
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55154
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53577
              {
55155
              {
53578
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
55156
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
53579
                this.success = new ArrayList<FlipkartInventorySnapshot>(_list163.size);
55157
                this.success = new ArrayList<FlipkartInventorySnapshot>(_list171.size);
53580
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
55158
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
53581
                {
55159
                {
53582
                  FlipkartInventorySnapshot _elem165; // required
55160
                  FlipkartInventorySnapshot _elem173; // required
53583
                  _elem165 = new FlipkartInventorySnapshot();
55161
                  _elem173 = new FlipkartInventorySnapshot();
53584
                  _elem165.read(iprot);
55162
                  _elem173.read(iprot);
53585
                  this.success.add(_elem165);
55163
                  this.success.add(_elem173);
53586
                }
55164
                }
53587
                iprot.readListEnd();
55165
                iprot.readListEnd();
53588
              }
55166
              }
53589
            } else { 
55167
            } else { 
53590
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55168
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53604... Line 55182...
53604
 
55182
 
53605
      if (this.isSetSuccess()) {
55183
      if (this.isSetSuccess()) {
53606
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55184
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53607
        {
55185
        {
53608
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55186
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53609
          for (FlipkartInventorySnapshot _iter166 : this.success)
55187
          for (FlipkartInventorySnapshot _iter174 : this.success)
53610
          {
55188
          {
53611
            _iter166.write(oprot);
55189
            _iter174.write(oprot);
53612
          }
55190
          }
53613
          oprot.writeListEnd();
55191
          oprot.writeListEnd();
53614
        }
55192
        }
53615
        oprot.writeFieldEnd();
55193
        oprot.writeFieldEnd();
53616
      }
55194
      }