Subversion Repositories SmartDukaan

Rev

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

Rev 8139 Rev 8168
Line 399... Line 399...
399
 
399
 
400
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException;
400
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException;
401
 
401
 
402
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException;
402
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException;
403
 
403
 
404
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, long handlingTime, boolean isCustomTime) throws org.apache.thrift.TException;
404
    public void updateAmazonItemDetails(Amazonlisted amazonlisted) throws org.apache.thrift.TException;
405
 
405
 
406
    public void addAmazonItem(Amazonlisted amazonlisted) throws org.apache.thrift.TException;
406
    public void addAmazonItem(Amazonlisted amazonlisted) throws org.apache.thrift.TException;
407
 
407
 
408
    public List<Item> getAsinItems() throws org.apache.thrift.TException;
408
    public List<Item> getAsinItems() throws org.apache.thrift.TException;
409
 
409
 
Line 421... Line 421...
421
 
421
 
422
    public void addCartEvent(CartEvents cartEvents) throws org.apache.thrift.TException;
422
    public void addCartEvent(CartEvents cartEvents) throws org.apache.thrift.TException;
423
 
423
 
424
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException;
424
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException;
425
 
425
 
-
 
426
    public boolean updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted) throws org.apache.thrift.TException;
-
 
427
 
426
  }
428
  }
427
 
429
 
428
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
430
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
429
 
431
 
430
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
432
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 609... Line 611...
609
 
611
 
610
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
612
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
611
 
613
 
612
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
614
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
613
 
615
 
614
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, long handlingTime, boolean isCustomTime, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
616
    public void updateAmazonItemDetails(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
615
 
617
 
616
    public void addAmazonItem(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmazonItem_call> resultHandler) throws org.apache.thrift.TException;
618
    public void addAmazonItem(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmazonItem_call> resultHandler) throws org.apache.thrift.TException;
617
 
619
 
618
    public void getAsinItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAsinItems_call> resultHandler) throws org.apache.thrift.TException;
620
    public void getAsinItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAsinItems_call> resultHandler) throws org.apache.thrift.TException;
619
 
621
 
Line 631... Line 633...
631
 
633
 
632
    public void addCartEvent(CartEvents cartEvents, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCartEvent_call> resultHandler) throws org.apache.thrift.TException;
634
    public void addCartEvent(CartEvents cartEvents, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCartEvent_call> resultHandler) throws org.apache.thrift.TException;
633
 
635
 
634
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
636
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
635
 
637
 
-
 
638
    public void updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonAttributesInBulk_call> resultHandler) throws org.apache.thrift.TException;
-
 
639
 
636
  }
640
  }
637
 
641
 
638
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
642
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
639
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
643
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
640
      public Factory() {}
644
      public Factory() {}
Line 2894... Line 2898...
2894
        return result.success;
2898
        return result.success;
2895
      }
2899
      }
2896
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
2900
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
2897
    }
2901
    }
2898
 
2902
 
2899
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, long handlingTime, boolean isCustomTime) throws org.apache.thrift.TException
2903
    public void updateAmazonItemDetails(Amazonlisted amazonlisted) throws org.apache.thrift.TException
2900
    {
2904
    {
2901
      send_updateAmazonItemDetails(itemId, fbaPrice, sellingPrice, isFba, isNonFba, isInventoryOverride, handlingTime, isCustomTime);
2905
      send_updateAmazonItemDetails(amazonlisted);
2902
      recv_updateAmazonItemDetails();
2906
      recv_updateAmazonItemDetails();
2903
    }
2907
    }
2904
 
2908
 
2905
    public void send_updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, long handlingTime, boolean isCustomTime) throws org.apache.thrift.TException
2909
    public void send_updateAmazonItemDetails(Amazonlisted amazonlisted) throws org.apache.thrift.TException
2906
    {
2910
    {
2907
      updateAmazonItemDetails_args args = new updateAmazonItemDetails_args();
2911
      updateAmazonItemDetails_args args = new updateAmazonItemDetails_args();
2908
      args.setItemId(itemId);
-
 
2909
      args.setFbaPrice(fbaPrice);
2912
      args.setAmazonlisted(amazonlisted);
2910
      args.setSellingPrice(sellingPrice);
-
 
2911
      args.setIsFba(isFba);
-
 
2912
      args.setIsNonFba(isNonFba);
-
 
2913
      args.setIsInventoryOverride(isInventoryOverride);
-
 
2914
      args.setHandlingTime(handlingTime);
-
 
2915
      args.setIsCustomTime(isCustomTime);
-
 
2916
      sendBase("updateAmazonItemDetails", args);
2913
      sendBase("updateAmazonItemDetails", args);
2917
    }
2914
    }
2918
 
2915
 
2919
    public void recv_updateAmazonItemDetails() throws org.apache.thrift.TException
2916
    public void recv_updateAmazonItemDetails() throws org.apache.thrift.TException
2920
    {
2917
    {
Line 3143... Line 3140...
3143
        return result.success;
3140
        return result.success;
3144
      }
3141
      }
3145
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
3142
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
3146
    }
3143
    }
3147
 
3144
 
-
 
3145
    public boolean updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted) throws org.apache.thrift.TException
-
 
3146
    {
-
 
3147
      send_updateAmazonAttributesInBulk(amazonlisted);
-
 
3148
      return recv_updateAmazonAttributesInBulk();
-
 
3149
    }
-
 
3150
 
-
 
3151
    public void send_updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted) throws org.apache.thrift.TException
-
 
3152
    {
-
 
3153
      updateAmazonAttributesInBulk_args args = new updateAmazonAttributesInBulk_args();
-
 
3154
      args.setAmazonlisted(amazonlisted);
-
 
3155
      sendBase("updateAmazonAttributesInBulk", args);
-
 
3156
    }
-
 
3157
 
-
 
3158
    public boolean recv_updateAmazonAttributesInBulk() throws org.apache.thrift.TException
-
 
3159
    {
-
 
3160
      updateAmazonAttributesInBulk_result result = new updateAmazonAttributesInBulk_result();
-
 
3161
      receiveBase(result, "updateAmazonAttributesInBulk");
-
 
3162
      if (result.isSetSuccess()) {
-
 
3163
        return result.success;
-
 
3164
      }
-
 
3165
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
-
 
3166
    }
-
 
3167
 
3148
  }
3168
  }
3149
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3169
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3150
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3170
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3151
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3171
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3152
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
3172
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 6228... Line 6248...
6228
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6248
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6229
        return (new Client(prot)).recv_getAmazonItemDetails();
6249
        return (new Client(prot)).recv_getAmazonItemDetails();
6230
      }
6250
      }
6231
    }
6251
    }
6232
 
6252
 
6233
    public void updateAmazonItemDetails(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, long handlingTime, boolean isCustomTime, org.apache.thrift.async.AsyncMethodCallback<updateAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException {
6253
    public void updateAmazonItemDetails(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<updateAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException {
6234
      checkReady();
6254
      checkReady();
6235
      updateAmazonItemDetails_call method_call = new updateAmazonItemDetails_call(itemId, fbaPrice, sellingPrice, isFba, isNonFba, isInventoryOverride, handlingTime, isCustomTime, resultHandler, this, ___protocolFactory, ___transport);
6255
      updateAmazonItemDetails_call method_call = new updateAmazonItemDetails_call(amazonlisted, resultHandler, this, ___protocolFactory, ___transport);
6236
      this.___currentMethod = method_call;
6256
      this.___currentMethod = method_call;
6237
      ___manager.call(method_call);
6257
      ___manager.call(method_call);
6238
    }
6258
    }
6239
 
6259
 
6240
    public static class updateAmazonItemDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
6260
    public static class updateAmazonItemDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
6241
      private long itemId;
-
 
6242
      private double fbaPrice;
-
 
6243
      private double sellingPrice;
-
 
6244
      private boolean isFba;
6261
      private Amazonlisted amazonlisted;
6245
      private boolean isNonFba;
-
 
6246
      private boolean isInventoryOverride;
-
 
6247
      private long handlingTime;
-
 
6248
      private boolean isCustomTime;
-
 
6249
      public updateAmazonItemDetails_call(long itemId, double fbaPrice, double sellingPrice, boolean isFba, boolean isNonFba, boolean isInventoryOverride, long handlingTime, boolean isCustomTime, org.apache.thrift.async.AsyncMethodCallback<updateAmazonItemDetails_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 {
6262
      public updateAmazonItemDetails_call(Amazonlisted amazonlisted, org.apache.thrift.async.AsyncMethodCallback<updateAmazonItemDetails_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 {
6250
        super(client, protocolFactory, transport, resultHandler, false);
6263
        super(client, protocolFactory, transport, resultHandler, false);
6251
        this.itemId = itemId;
-
 
6252
        this.fbaPrice = fbaPrice;
6264
        this.amazonlisted = amazonlisted;
6253
        this.sellingPrice = sellingPrice;
-
 
6254
        this.isFba = isFba;
-
 
6255
        this.isNonFba = isNonFba;
-
 
6256
        this.isInventoryOverride = isInventoryOverride;
-
 
6257
        this.handlingTime = handlingTime;
-
 
6258
        this.isCustomTime = isCustomTime;
-
 
6259
      }
6265
      }
6260
 
6266
 
6261
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
6267
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
6262
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAmazonItemDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
6268
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAmazonItemDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
6263
        updateAmazonItemDetails_args args = new updateAmazonItemDetails_args();
6269
        updateAmazonItemDetails_args args = new updateAmazonItemDetails_args();
6264
        args.setItemId(itemId);
-
 
6265
        args.setFbaPrice(fbaPrice);
6270
        args.setAmazonlisted(amazonlisted);
6266
        args.setSellingPrice(sellingPrice);
-
 
6267
        args.setIsFba(isFba);
-
 
6268
        args.setIsNonFba(isNonFba);
-
 
6269
        args.setIsInventoryOverride(isInventoryOverride);
-
 
6270
        args.setHandlingTime(handlingTime);
-
 
6271
        args.setIsCustomTime(isCustomTime);
-
 
6272
        args.write(prot);
6271
        args.write(prot);
6273
        prot.writeMessageEnd();
6272
        prot.writeMessageEnd();
6274
      }
6273
      }
6275
 
6274
 
6276
      public void getResult() throws org.apache.thrift.TException {
6275
      public void getResult() throws org.apache.thrift.TException {
Line 6604... Line 6603...
6604
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6603
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6605
        return (new Client(prot)).recv_getAmazonListedItems();
6604
        return (new Client(prot)).recv_getAmazonListedItems();
6606
      }
6605
      }
6607
    }
6606
    }
6608
 
6607
 
-
 
6608
    public void updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted, org.apache.thrift.async.AsyncMethodCallback<updateAmazonAttributesInBulk_call> resultHandler) throws org.apache.thrift.TException {
-
 
6609
      checkReady();
-
 
6610
      updateAmazonAttributesInBulk_call method_call = new updateAmazonAttributesInBulk_call(amazonlisted, resultHandler, this, ___protocolFactory, ___transport);
-
 
6611
      this.___currentMethod = method_call;
-
 
6612
      ___manager.call(method_call);
-
 
6613
    }
-
 
6614
 
-
 
6615
    public static class updateAmazonAttributesInBulk_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6616
      private Map<Long,Amazonlisted> amazonlisted;
-
 
6617
      public updateAmazonAttributesInBulk_call(Map<Long,Amazonlisted> amazonlisted, org.apache.thrift.async.AsyncMethodCallback<updateAmazonAttributesInBulk_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 {
-
 
6618
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6619
        this.amazonlisted = amazonlisted;
-
 
6620
      }
-
 
6621
 
-
 
6622
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6623
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAmazonAttributesInBulk", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6624
        updateAmazonAttributesInBulk_args args = new updateAmazonAttributesInBulk_args();
-
 
6625
        args.setAmazonlisted(amazonlisted);
-
 
6626
        args.write(prot);
-
 
6627
        prot.writeMessageEnd();
-
 
6628
      }
-
 
6629
 
-
 
6630
      public boolean getResult() throws org.apache.thrift.TException {
-
 
6631
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6632
          throw new IllegalStateException("Method call not finished!");
-
 
6633
        }
-
 
6634
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6635
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6636
        return (new Client(prot)).recv_updateAmazonAttributesInBulk();
-
 
6637
      }
-
 
6638
    }
-
 
6639
 
6609
  }
6640
  }
6610
 
6641
 
6611
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6642
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6612
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6643
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6613
    public Processor(I iface) {
6644
    public Processor(I iface) {
Line 6720... Line 6751...
6720
      processMap.put("updateTimestampForAmazonFeeds", new updateTimestampForAmazonFeeds());
6751
      processMap.put("updateTimestampForAmazonFeeds", new updateTimestampForAmazonFeeds());
6721
      processMap.put("getAllParentCategories", new getAllParentCategories());
6752
      processMap.put("getAllParentCategories", new getAllParentCategories());
6722
      processMap.put("addPageViewEvent", new addPageViewEvent());
6753
      processMap.put("addPageViewEvent", new addPageViewEvent());
6723
      processMap.put("addCartEvent", new addCartEvent());
6754
      processMap.put("addCartEvent", new addCartEvent());
6724
      processMap.put("getAmazonListedItems", new getAmazonListedItems());
6755
      processMap.put("getAmazonListedItems", new getAmazonListedItems());
-
 
6756
      processMap.put("updateAmazonAttributesInBulk", new updateAmazonAttributesInBulk());
6725
      return processMap;
6757
      return processMap;
6726
    }
6758
    }
6727
 
6759
 
6728
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6760
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6729
      public addItem() {
6761
      public addItem() {
Line 8389... Line 8421...
8389
        return new updateAmazonItemDetails_args();
8421
        return new updateAmazonItemDetails_args();
8390
      }
8422
      }
8391
 
8423
 
8392
      protected updateAmazonItemDetails_result getResult(I iface, updateAmazonItemDetails_args args) throws org.apache.thrift.TException {
8424
      protected updateAmazonItemDetails_result getResult(I iface, updateAmazonItemDetails_args args) throws org.apache.thrift.TException {
8393
        updateAmazonItemDetails_result result = new updateAmazonItemDetails_result();
8425
        updateAmazonItemDetails_result result = new updateAmazonItemDetails_result();
8394
        iface.updateAmazonItemDetails(args.itemId, args.fbaPrice, args.sellingPrice, args.isFba, args.isNonFba, args.isInventoryOverride, args.handlingTime, args.isCustomTime);
8426
        iface.updateAmazonItemDetails(args.amazonlisted);
8395
        return result;
8427
        return result;
8396
      }
8428
      }
8397
    }
8429
    }
8398
 
8430
 
8399
    private static class addAmazonItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addAmazonItem_args> {
8431
    private static class addAmazonItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addAmazonItem_args> {
Line 8556... Line 8588...
8556
        result.success = iface.getAmazonListedItems(args.offset, args.limit);
8588
        result.success = iface.getAmazonListedItems(args.offset, args.limit);
8557
        return result;
8589
        return result;
8558
      }
8590
      }
8559
    }
8591
    }
8560
 
8592
 
-
 
8593
    private static class updateAmazonAttributesInBulk<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateAmazonAttributesInBulk_args> {
-
 
8594
      public updateAmazonAttributesInBulk() {
-
 
8595
        super("updateAmazonAttributesInBulk");
-
 
8596
      }
-
 
8597
 
-
 
8598
      protected updateAmazonAttributesInBulk_args getEmptyArgsInstance() {
-
 
8599
        return new updateAmazonAttributesInBulk_args();
-
 
8600
      }
-
 
8601
 
-
 
8602
      protected updateAmazonAttributesInBulk_result getResult(I iface, updateAmazonAttributesInBulk_args args) throws org.apache.thrift.TException {
-
 
8603
        updateAmazonAttributesInBulk_result result = new updateAmazonAttributesInBulk_result();
-
 
8604
        result.success = iface.updateAmazonAttributesInBulk(args.amazonlisted);
-
 
8605
        result.setSuccessIsSet(true);
-
 
8606
        return result;
-
 
8607
      }
-
 
8608
    }
-
 
8609
 
8561
  }
8610
  }
8562
 
8611
 
8563
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8612
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8564
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8613
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8565
 
8614
 
Line 70072... Line 70121...
70072
  }
70121
  }
70073
 
70122
 
70074
  public static class updateAmazonItemDetails_args implements org.apache.thrift.TBase<updateAmazonItemDetails_args, updateAmazonItemDetails_args._Fields>, java.io.Serializable, Cloneable   {
70123
  public static class updateAmazonItemDetails_args implements org.apache.thrift.TBase<updateAmazonItemDetails_args, updateAmazonItemDetails_args._Fields>, java.io.Serializable, Cloneable   {
70075
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonItemDetails_args");
70124
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonItemDetails_args");
70076
 
70125
 
70077
    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);
-
 
70078
    private static final org.apache.thrift.protocol.TField FBA_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("fbaPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
70126
    private static final org.apache.thrift.protocol.TField AMAZONLISTED_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonlisted", org.apache.thrift.protocol.TType.STRUCT, (short)1);
70079
    private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
-
 
70080
    private static final org.apache.thrift.protocol.TField IS_FBA_FIELD_DESC = new org.apache.thrift.protocol.TField("isFba", org.apache.thrift.protocol.TType.BOOL, (short)4);
-
 
70081
    private static final org.apache.thrift.protocol.TField IS_NON_FBA_FIELD_DESC = new org.apache.thrift.protocol.TField("isNonFba", org.apache.thrift.protocol.TType.BOOL, (short)5);
-
 
70082
    private static final org.apache.thrift.protocol.TField IS_INVENTORY_OVERRIDE_FIELD_DESC = new org.apache.thrift.protocol.TField("isInventoryOverride", org.apache.thrift.protocol.TType.BOOL, (short)6);
-
 
70083
    private static final org.apache.thrift.protocol.TField HANDLING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("handlingTime", org.apache.thrift.protocol.TType.I64, (short)7);
-
 
70084
    private static final org.apache.thrift.protocol.TField IS_CUSTOM_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("isCustomTime", org.apache.thrift.protocol.TType.BOOL, (short)8);
-
 
70085
 
70127
 
70086
    private long itemId; // required
-
 
70087
    private double fbaPrice; // required
-
 
70088
    private double sellingPrice; // required
-
 
70089
    private boolean isFba; // required
70128
    private Amazonlisted amazonlisted; // required
70090
    private boolean isNonFba; // required
-
 
70091
    private boolean isInventoryOverride; // required
-
 
70092
    private long handlingTime; // required
-
 
70093
    private boolean isCustomTime; // required
-
 
70094
 
70129
 
70095
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
70130
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
70096
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
70131
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
70097
      ITEM_ID((short)1, "itemId"),
-
 
70098
      FBA_PRICE((short)2, "fbaPrice"),
70132
      AMAZONLISTED((short)1, "amazonlisted");
70099
      SELLING_PRICE((short)3, "sellingPrice"),
-
 
70100
      IS_FBA((short)4, "isFba"),
-
 
70101
      IS_NON_FBA((short)5, "isNonFba"),
-
 
70102
      IS_INVENTORY_OVERRIDE((short)6, "isInventoryOverride"),
-
 
70103
      HANDLING_TIME((short)7, "handlingTime"),
-
 
70104
      IS_CUSTOM_TIME((short)8, "isCustomTime");
-
 
70105
 
70133
 
70106
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
70134
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
70107
 
70135
 
70108
      static {
70136
      static {
70109
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
70137
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 70114... Line 70142...
70114
      /**
70142
      /**
70115
       * Find the _Fields constant that matches fieldId, or null if its not found.
70143
       * Find the _Fields constant that matches fieldId, or null if its not found.
70116
       */
70144
       */
70117
      public static _Fields findByThriftId(int fieldId) {
70145
      public static _Fields findByThriftId(int fieldId) {
70118
        switch(fieldId) {
70146
        switch(fieldId) {
70119
          case 1: // ITEM_ID
-
 
70120
            return ITEM_ID;
-
 
70121
          case 2: // FBA_PRICE
70147
          case 1: // AMAZONLISTED
70122
            return FBA_PRICE;
70148
            return AMAZONLISTED;
70123
          case 3: // SELLING_PRICE
-
 
70124
            return SELLING_PRICE;
-
 
70125
          case 4: // IS_FBA
-
 
70126
            return IS_FBA;
-
 
70127
          case 5: // IS_NON_FBA
-
 
70128
            return IS_NON_FBA;
-
 
70129
          case 6: // IS_INVENTORY_OVERRIDE
-
 
70130
            return IS_INVENTORY_OVERRIDE;
-
 
70131
          case 7: // HANDLING_TIME
-
 
70132
            return HANDLING_TIME;
-
 
70133
          case 8: // IS_CUSTOM_TIME
-
 
70134
            return IS_CUSTOM_TIME;
-
 
70135
          default:
70149
          default:
70136
            return null;
70150
            return null;
70137
        }
70151
        }
70138
      }
70152
      }
70139
 
70153
 
Line 70170... Line 70184...
70170
        return _fieldName;
70184
        return _fieldName;
70171
      }
70185
      }
70172
    }
70186
    }
70173
 
70187
 
70174
    // isset id assignments
70188
    // isset id assignments
70175
    private static final int __ITEMID_ISSET_ID = 0;
-
 
70176
    private static final int __FBAPRICE_ISSET_ID = 1;
-
 
70177
    private static final int __SELLINGPRICE_ISSET_ID = 2;
-
 
70178
    private static final int __ISFBA_ISSET_ID = 3;
-
 
70179
    private static final int __ISNONFBA_ISSET_ID = 4;
-
 
70180
    private static final int __ISINVENTORYOVERRIDE_ISSET_ID = 5;
-
 
70181
    private static final int __HANDLINGTIME_ISSET_ID = 6;
-
 
70182
    private static final int __ISCUSTOMTIME_ISSET_ID = 7;
-
 
70183
    private BitSet __isset_bit_vector = new BitSet(8);
-
 
70184
 
70189
 
70185
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
70190
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
70186
    static {
70191
    static {
70187
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
70192
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
70188
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70189
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
70190
      tmpMap.put(_Fields.FBA_PRICE, new org.apache.thrift.meta_data.FieldMetaData("fbaPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
70193
      tmpMap.put(_Fields.AMAZONLISTED, new org.apache.thrift.meta_data.FieldMetaData("amazonlisted", org.apache.thrift.TFieldRequirementType.DEFAULT, 
70191
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
70192
      tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70193
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
70194
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class)));
70194
      tmpMap.put(_Fields.IS_FBA, new org.apache.thrift.meta_data.FieldMetaData("isFba", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70195
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
70196
      tmpMap.put(_Fields.IS_NON_FBA, new org.apache.thrift.meta_data.FieldMetaData("isNonFba", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70197
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
70198
      tmpMap.put(_Fields.IS_INVENTORY_OVERRIDE, new org.apache.thrift.meta_data.FieldMetaData("isInventoryOverride", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70199
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
70200
      tmpMap.put(_Fields.HANDLING_TIME, new org.apache.thrift.meta_data.FieldMetaData("handlingTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70201
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
70202
      tmpMap.put(_Fields.IS_CUSTOM_TIME, new org.apache.thrift.meta_data.FieldMetaData("isCustomTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70203
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
70204
      metaDataMap = Collections.unmodifiableMap(tmpMap);
70195
      metaDataMap = Collections.unmodifiableMap(tmpMap);
70205
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonItemDetails_args.class, metaDataMap);
70196
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonItemDetails_args.class, metaDataMap);
70206
    }
70197
    }
70207
 
70198
 
70208
    public updateAmazonItemDetails_args() {
70199
    public updateAmazonItemDetails_args() {
70209
    }
70200
    }
70210
 
70201
 
70211
    public updateAmazonItemDetails_args(
70202
    public updateAmazonItemDetails_args(
70212
      long itemId,
-
 
70213
      double fbaPrice,
-
 
70214
      double sellingPrice,
-
 
70215
      boolean isFba,
-
 
70216
      boolean isNonFba,
-
 
70217
      boolean isInventoryOverride,
-
 
70218
      long handlingTime,
-
 
70219
      boolean isCustomTime)
70203
      Amazonlisted amazonlisted)
70220
    {
70204
    {
70221
      this();
70205
      this();
70222
      this.itemId = itemId;
-
 
70223
      setItemIdIsSet(true);
-
 
70224
      this.fbaPrice = fbaPrice;
70206
      this.amazonlisted = amazonlisted;
70225
      setFbaPriceIsSet(true);
-
 
70226
      this.sellingPrice = sellingPrice;
-
 
70227
      setSellingPriceIsSet(true);
-
 
70228
      this.isFba = isFba;
-
 
70229
      setIsFbaIsSet(true);
-
 
70230
      this.isNonFba = isNonFba;
-
 
70231
      setIsNonFbaIsSet(true);
-
 
70232
      this.isInventoryOverride = isInventoryOverride;
-
 
70233
      setIsInventoryOverrideIsSet(true);
-
 
70234
      this.handlingTime = handlingTime;
-
 
70235
      setHandlingTimeIsSet(true);
-
 
70236
      this.isCustomTime = isCustomTime;
-
 
70237
      setIsCustomTimeIsSet(true);
-
 
70238
    }
70207
    }
70239
 
70208
 
70240
    /**
70209
    /**
70241
     * Performs a deep copy on <i>other</i>.
70210
     * Performs a deep copy on <i>other</i>.
70242
     */
70211
     */
70243
    public updateAmazonItemDetails_args(updateAmazonItemDetails_args other) {
70212
    public updateAmazonItemDetails_args(updateAmazonItemDetails_args other) {
70244
      __isset_bit_vector.clear();
-
 
70245
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
70246
      this.itemId = other.itemId;
70213
      if (other.isSetAmazonlisted()) {
70247
      this.fbaPrice = other.fbaPrice;
70214
        this.amazonlisted = new Amazonlisted(other.amazonlisted);
70248
      this.sellingPrice = other.sellingPrice;
-
 
70249
      this.isFba = other.isFba;
70215
      }
70250
      this.isNonFba = other.isNonFba;
-
 
70251
      this.isInventoryOverride = other.isInventoryOverride;
-
 
70252
      this.handlingTime = other.handlingTime;
-
 
70253
      this.isCustomTime = other.isCustomTime;
-
 
70254
    }
70216
    }
70255
 
70217
 
70256
    public updateAmazonItemDetails_args deepCopy() {
70218
    public updateAmazonItemDetails_args deepCopy() {
70257
      return new updateAmazonItemDetails_args(this);
70219
      return new updateAmazonItemDetails_args(this);
70258
    }
70220
    }
70259
 
70221
 
70260
    @Override
70222
    @Override
70261
    public void clear() {
70223
    public void clear() {
70262
      setItemIdIsSet(false);
-
 
70263
      this.itemId = 0;
-
 
70264
      setFbaPriceIsSet(false);
-
 
70265
      this.fbaPrice = 0.0;
70224
      this.amazonlisted = null;
70266
      setSellingPriceIsSet(false);
-
 
70267
      this.sellingPrice = 0.0;
-
 
70268
      setIsFbaIsSet(false);
-
 
70269
      this.isFba = false;
-
 
70270
      setIsNonFbaIsSet(false);
-
 
70271
      this.isNonFba = false;
-
 
70272
      setIsInventoryOverrideIsSet(false);
-
 
70273
      this.isInventoryOverride = false;
-
 
70274
      setHandlingTimeIsSet(false);
-
 
70275
      this.handlingTime = 0;
-
 
70276
      setIsCustomTimeIsSet(false);
-
 
70277
      this.isCustomTime = false;
-
 
70278
    }
-
 
70279
 
-
 
70280
    public long getItemId() {
-
 
70281
      return this.itemId;
-
 
70282
    }
-
 
70283
 
-
 
70284
    public void setItemId(long itemId) {
-
 
70285
      this.itemId = itemId;
-
 
70286
      setItemIdIsSet(true);
-
 
70287
    }
-
 
70288
 
-
 
70289
    public void unsetItemId() {
-
 
70290
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
70291
    }
-
 
70292
 
-
 
70293
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
70294
    public boolean isSetItemId() {
-
 
70295
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
70296
    }
-
 
70297
 
-
 
70298
    public void setItemIdIsSet(boolean value) {
-
 
70299
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
70300
    }
-
 
70301
 
-
 
70302
    public double getFbaPrice() {
-
 
70303
      return this.fbaPrice;
-
 
70304
    }
-
 
70305
 
-
 
70306
    public void setFbaPrice(double fbaPrice) {
-
 
70307
      this.fbaPrice = fbaPrice;
-
 
70308
      setFbaPriceIsSet(true);
-
 
70309
    }
-
 
70310
 
-
 
70311
    public void unsetFbaPrice() {
-
 
70312
      __isset_bit_vector.clear(__FBAPRICE_ISSET_ID);
-
 
70313
    }
-
 
70314
 
-
 
70315
    /** Returns true if field fbaPrice is set (has been assigned a value) and false otherwise */
-
 
70316
    public boolean isSetFbaPrice() {
-
 
70317
      return __isset_bit_vector.get(__FBAPRICE_ISSET_ID);
-
 
70318
    }
-
 
70319
 
-
 
70320
    public void setFbaPriceIsSet(boolean value) {
-
 
70321
      __isset_bit_vector.set(__FBAPRICE_ISSET_ID, value);
-
 
70322
    }
-
 
70323
 
-
 
70324
    public double getSellingPrice() {
-
 
70325
      return this.sellingPrice;
-
 
70326
    }
-
 
70327
 
-
 
70328
    public void setSellingPrice(double sellingPrice) {
-
 
70329
      this.sellingPrice = sellingPrice;
-
 
70330
      setSellingPriceIsSet(true);
-
 
70331
    }
-
 
70332
 
-
 
70333
    public void unsetSellingPrice() {
-
 
70334
      __isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
-
 
70335
    }
-
 
70336
 
-
 
70337
    /** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
-
 
70338
    public boolean isSetSellingPrice() {
-
 
70339
      return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
-
 
70340
    }
-
 
70341
 
-
 
70342
    public void setSellingPriceIsSet(boolean value) {
-
 
70343
      __isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
-
 
70344
    }
-
 
70345
 
-
 
70346
    public boolean isIsFba() {
-
 
70347
      return this.isFba;
-
 
70348
    }
-
 
70349
 
-
 
70350
    public void setIsFba(boolean isFba) {
-
 
70351
      this.isFba = isFba;
-
 
70352
      setIsFbaIsSet(true);
-
 
70353
    }
-
 
70354
 
-
 
70355
    public void unsetIsFba() {
-
 
70356
      __isset_bit_vector.clear(__ISFBA_ISSET_ID);
-
 
70357
    }
-
 
70358
 
-
 
70359
    /** Returns true if field isFba is set (has been assigned a value) and false otherwise */
-
 
70360
    public boolean isSetIsFba() {
-
 
70361
      return __isset_bit_vector.get(__ISFBA_ISSET_ID);
-
 
70362
    }
-
 
70363
 
-
 
70364
    public void setIsFbaIsSet(boolean value) {
-
 
70365
      __isset_bit_vector.set(__ISFBA_ISSET_ID, value);
-
 
70366
    }
-
 
70367
 
-
 
70368
    public boolean isIsNonFba() {
-
 
70369
      return this.isNonFba;
-
 
70370
    }
-
 
70371
 
-
 
70372
    public void setIsNonFba(boolean isNonFba) {
-
 
70373
      this.isNonFba = isNonFba;
-
 
70374
      setIsNonFbaIsSet(true);
-
 
70375
    }
-
 
70376
 
-
 
70377
    public void unsetIsNonFba() {
-
 
70378
      __isset_bit_vector.clear(__ISNONFBA_ISSET_ID);
-
 
70379
    }
-
 
70380
 
-
 
70381
    /** Returns true if field isNonFba is set (has been assigned a value) and false otherwise */
-
 
70382
    public boolean isSetIsNonFba() {
-
 
70383
      return __isset_bit_vector.get(__ISNONFBA_ISSET_ID);
-
 
70384
    }
-
 
70385
 
-
 
70386
    public void setIsNonFbaIsSet(boolean value) {
-
 
70387
      __isset_bit_vector.set(__ISNONFBA_ISSET_ID, value);
-
 
70388
    }
-
 
70389
 
-
 
70390
    public boolean isIsInventoryOverride() {
-
 
70391
      return this.isInventoryOverride;
-
 
70392
    }
-
 
70393
 
-
 
70394
    public void setIsInventoryOverride(boolean isInventoryOverride) {
-
 
70395
      this.isInventoryOverride = isInventoryOverride;
-
 
70396
      setIsInventoryOverrideIsSet(true);
-
 
70397
    }
-
 
70398
 
-
 
70399
    public void unsetIsInventoryOverride() {
-
 
70400
      __isset_bit_vector.clear(__ISINVENTORYOVERRIDE_ISSET_ID);
-
 
70401
    }
-
 
70402
 
-
 
70403
    /** Returns true if field isInventoryOverride is set (has been assigned a value) and false otherwise */
-
 
70404
    public boolean isSetIsInventoryOverride() {
-
 
70405
      return __isset_bit_vector.get(__ISINVENTORYOVERRIDE_ISSET_ID);
-
 
70406
    }
-
 
70407
 
-
 
70408
    public void setIsInventoryOverrideIsSet(boolean value) {
-
 
70409
      __isset_bit_vector.set(__ISINVENTORYOVERRIDE_ISSET_ID, value);
-
 
70410
    }
-
 
70411
 
-
 
70412
    public long getHandlingTime() {
-
 
70413
      return this.handlingTime;
-
 
70414
    }
-
 
70415
 
-
 
70416
    public void setHandlingTime(long handlingTime) {
-
 
70417
      this.handlingTime = handlingTime;
-
 
70418
      setHandlingTimeIsSet(true);
-
 
70419
    }
-
 
70420
 
-
 
70421
    public void unsetHandlingTime() {
-
 
70422
      __isset_bit_vector.clear(__HANDLINGTIME_ISSET_ID);
-
 
70423
    }
-
 
70424
 
-
 
70425
    /** Returns true if field handlingTime is set (has been assigned a value) and false otherwise */
-
 
70426
    public boolean isSetHandlingTime() {
-
 
70427
      return __isset_bit_vector.get(__HANDLINGTIME_ISSET_ID);
-
 
70428
    }
-
 
70429
 
-
 
70430
    public void setHandlingTimeIsSet(boolean value) {
-
 
70431
      __isset_bit_vector.set(__HANDLINGTIME_ISSET_ID, value);
-
 
70432
    }
70225
    }
70433
 
70226
 
70434
    public boolean isIsCustomTime() {
70227
    public Amazonlisted getAmazonlisted() {
70435
      return this.isCustomTime;
70228
      return this.amazonlisted;
70436
    }
70229
    }
70437
 
70230
 
70438
    public void setIsCustomTime(boolean isCustomTime) {
70231
    public void setAmazonlisted(Amazonlisted amazonlisted) {
70439
      this.isCustomTime = isCustomTime;
70232
      this.amazonlisted = amazonlisted;
70440
      setIsCustomTimeIsSet(true);
-
 
70441
    }
70233
    }
70442
 
70234
 
70443
    public void unsetIsCustomTime() {
70235
    public void unsetAmazonlisted() {
70444
      __isset_bit_vector.clear(__ISCUSTOMTIME_ISSET_ID);
70236
      this.amazonlisted = null;
70445
    }
70237
    }
70446
 
70238
 
70447
    /** Returns true if field isCustomTime is set (has been assigned a value) and false otherwise */
70239
    /** Returns true if field amazonlisted is set (has been assigned a value) and false otherwise */
70448
    public boolean isSetIsCustomTime() {
70240
    public boolean isSetAmazonlisted() {
70449
      return __isset_bit_vector.get(__ISCUSTOMTIME_ISSET_ID);
70241
      return this.amazonlisted != null;
70450
    }
70242
    }
70451
 
70243
 
70452
    public void setIsCustomTimeIsSet(boolean value) {
70244
    public void setAmazonlistedIsSet(boolean value) {
-
 
70245
      if (!value) {
70453
      __isset_bit_vector.set(__ISCUSTOMTIME_ISSET_ID, value);
70246
        this.amazonlisted = null;
-
 
70247
      }
70454
    }
70248
    }
70455
 
70249
 
70456
    public void setFieldValue(_Fields field, Object value) {
70250
    public void setFieldValue(_Fields field, Object value) {
70457
      switch (field) {
70251
      switch (field) {
70458
      case ITEM_ID:
-
 
70459
        if (value == null) {
-
 
70460
          unsetItemId();
-
 
70461
        } else {
-
 
70462
          setItemId((Long)value);
-
 
70463
        }
-
 
70464
        break;
-
 
70465
 
-
 
70466
      case FBA_PRICE:
70252
      case AMAZONLISTED:
70467
        if (value == null) {
-
 
70468
          unsetFbaPrice();
-
 
70469
        } else {
-
 
70470
          setFbaPrice((Double)value);
-
 
70471
        }
-
 
70472
        break;
-
 
70473
 
-
 
70474
      case SELLING_PRICE:
-
 
70475
        if (value == null) {
-
 
70476
          unsetSellingPrice();
-
 
70477
        } else {
-
 
70478
          setSellingPrice((Double)value);
-
 
70479
        }
-
 
70480
        break;
-
 
70481
 
-
 
70482
      case IS_FBA:
-
 
70483
        if (value == null) {
-
 
70484
          unsetIsFba();
-
 
70485
        } else {
-
 
70486
          setIsFba((Boolean)value);
-
 
70487
        }
-
 
70488
        break;
-
 
70489
 
-
 
70490
      case IS_NON_FBA:
-
 
70491
        if (value == null) {
-
 
70492
          unsetIsNonFba();
-
 
70493
        } else {
-
 
70494
          setIsNonFba((Boolean)value);
-
 
70495
        }
-
 
70496
        break;
-
 
70497
 
-
 
70498
      case IS_INVENTORY_OVERRIDE:
-
 
70499
        if (value == null) {
-
 
70500
          unsetIsInventoryOverride();
-
 
70501
        } else {
-
 
70502
          setIsInventoryOverride((Boolean)value);
-
 
70503
        }
-
 
70504
        break;
-
 
70505
 
-
 
70506
      case HANDLING_TIME:
-
 
70507
        if (value == null) {
-
 
70508
          unsetHandlingTime();
-
 
70509
        } else {
-
 
70510
          setHandlingTime((Long)value);
-
 
70511
        }
-
 
70512
        break;
-
 
70513
 
-
 
70514
      case IS_CUSTOM_TIME:
-
 
70515
        if (value == null) {
70253
        if (value == null) {
70516
          unsetIsCustomTime();
70254
          unsetAmazonlisted();
70517
        } else {
70255
        } else {
70518
          setIsCustomTime((Boolean)value);
70256
          setAmazonlisted((Amazonlisted)value);
70519
        }
70257
        }
70520
        break;
70258
        break;
70521
 
70259
 
70522
      }
70260
      }
70523
    }
70261
    }
70524
 
70262
 
70525
    public Object getFieldValue(_Fields field) {
70263
    public Object getFieldValue(_Fields field) {
70526
      switch (field) {
70264
      switch (field) {
70527
      case ITEM_ID:
-
 
70528
        return Long.valueOf(getItemId());
-
 
70529
 
-
 
70530
      case FBA_PRICE:
70265
      case AMAZONLISTED:
70531
        return Double.valueOf(getFbaPrice());
-
 
70532
 
-
 
70533
      case SELLING_PRICE:
-
 
70534
        return Double.valueOf(getSellingPrice());
-
 
70535
 
-
 
70536
      case IS_FBA:
-
 
70537
        return Boolean.valueOf(isIsFba());
70266
        return getAmazonlisted();
70538
 
-
 
70539
      case IS_NON_FBA:
-
 
70540
        return Boolean.valueOf(isIsNonFba());
-
 
70541
 
-
 
70542
      case IS_INVENTORY_OVERRIDE:
-
 
70543
        return Boolean.valueOf(isIsInventoryOverride());
-
 
70544
 
-
 
70545
      case HANDLING_TIME:
-
 
70546
        return Long.valueOf(getHandlingTime());
-
 
70547
 
-
 
70548
      case IS_CUSTOM_TIME:
-
 
70549
        return Boolean.valueOf(isIsCustomTime());
-
 
70550
 
70267
 
70551
      }
70268
      }
70552
      throw new IllegalStateException();
70269
      throw new IllegalStateException();
70553
    }
70270
    }
70554
 
70271
 
Line 70557... Line 70274...
70557
      if (field == null) {
70274
      if (field == null) {
70558
        throw new IllegalArgumentException();
70275
        throw new IllegalArgumentException();
70559
      }
70276
      }
70560
 
70277
 
70561
      switch (field) {
70278
      switch (field) {
70562
      case ITEM_ID:
-
 
70563
        return isSetItemId();
-
 
70564
      case FBA_PRICE:
70279
      case AMAZONLISTED:
70565
        return isSetFbaPrice();
70280
        return isSetAmazonlisted();
70566
      case SELLING_PRICE:
-
 
70567
        return isSetSellingPrice();
-
 
70568
      case IS_FBA:
-
 
70569
        return isSetIsFba();
-
 
70570
      case IS_NON_FBA:
-
 
70571
        return isSetIsNonFba();
-
 
70572
      case IS_INVENTORY_OVERRIDE:
-
 
70573
        return isSetIsInventoryOverride();
-
 
70574
      case HANDLING_TIME:
-
 
70575
        return isSetHandlingTime();
-
 
70576
      case IS_CUSTOM_TIME:
-
 
70577
        return isSetIsCustomTime();
-
 
70578
      }
70281
      }
70579
      throw new IllegalStateException();
70282
      throw new IllegalStateException();
70580
    }
70283
    }
70581
 
70284
 
70582
    @Override
70285
    @Override
Line 70590... Line 70293...
70590
 
70293
 
70591
    public boolean equals(updateAmazonItemDetails_args that) {
70294
    public boolean equals(updateAmazonItemDetails_args that) {
70592
      if (that == null)
70295
      if (that == null)
70593
        return false;
70296
        return false;
70594
 
70297
 
70595
      boolean this_present_itemId = true;
-
 
70596
      boolean that_present_itemId = true;
-
 
70597
      if (this_present_itemId || that_present_itemId) {
-
 
70598
        if (!(this_present_itemId && that_present_itemId))
-
 
70599
          return false;
-
 
70600
        if (this.itemId != that.itemId)
-
 
70601
          return false;
-
 
70602
      }
-
 
70603
 
-
 
70604
      boolean this_present_fbaPrice = true;
70298
      boolean this_present_amazonlisted = true && this.isSetAmazonlisted();
70605
      boolean that_present_fbaPrice = true;
70299
      boolean that_present_amazonlisted = true && that.isSetAmazonlisted();
70606
      if (this_present_fbaPrice || that_present_fbaPrice) {
70300
      if (this_present_amazonlisted || that_present_amazonlisted) {
70607
        if (!(this_present_fbaPrice && that_present_fbaPrice))
70301
        if (!(this_present_amazonlisted && that_present_amazonlisted))
70608
          return false;
-
 
70609
        if (this.fbaPrice != that.fbaPrice)
-
 
70610
          return false;
-
 
70611
      }
-
 
70612
 
-
 
70613
      boolean this_present_sellingPrice = true;
-
 
70614
      boolean that_present_sellingPrice = true;
-
 
70615
      if (this_present_sellingPrice || that_present_sellingPrice) {
-
 
70616
        if (!(this_present_sellingPrice && that_present_sellingPrice))
-
 
70617
          return false;
-
 
70618
        if (this.sellingPrice != that.sellingPrice)
-
 
70619
          return false;
-
 
70620
      }
-
 
70621
 
-
 
70622
      boolean this_present_isFba = true;
-
 
70623
      boolean that_present_isFba = true;
-
 
70624
      if (this_present_isFba || that_present_isFba) {
-
 
70625
        if (!(this_present_isFba && that_present_isFba))
-
 
70626
          return false;
-
 
70627
        if (this.isFba != that.isFba)
-
 
70628
          return false;
-
 
70629
      }
-
 
70630
 
-
 
70631
      boolean this_present_isNonFba = true;
-
 
70632
      boolean that_present_isNonFba = true;
-
 
70633
      if (this_present_isNonFba || that_present_isNonFba) {
-
 
70634
        if (!(this_present_isNonFba && that_present_isNonFba))
-
 
70635
          return false;
-
 
70636
        if (this.isNonFba != that.isNonFba)
-
 
70637
          return false;
-
 
70638
      }
-
 
70639
 
-
 
70640
      boolean this_present_isInventoryOverride = true;
-
 
70641
      boolean that_present_isInventoryOverride = true;
-
 
70642
      if (this_present_isInventoryOverride || that_present_isInventoryOverride) {
-
 
70643
        if (!(this_present_isInventoryOverride && that_present_isInventoryOverride))
-
 
70644
          return false;
-
 
70645
        if (this.isInventoryOverride != that.isInventoryOverride)
-
 
70646
          return false;
-
 
70647
      }
-
 
70648
 
-
 
70649
      boolean this_present_handlingTime = true;
-
 
70650
      boolean that_present_handlingTime = true;
-
 
70651
      if (this_present_handlingTime || that_present_handlingTime) {
-
 
70652
        if (!(this_present_handlingTime && that_present_handlingTime))
-
 
70653
          return false;
-
 
70654
        if (this.handlingTime != that.handlingTime)
-
 
70655
          return false;
-
 
70656
      }
-
 
70657
 
-
 
70658
      boolean this_present_isCustomTime = true;
-
 
70659
      boolean that_present_isCustomTime = true;
-
 
70660
      if (this_present_isCustomTime || that_present_isCustomTime) {
-
 
70661
        if (!(this_present_isCustomTime && that_present_isCustomTime))
-
 
70662
          return false;
70302
          return false;
70663
        if (this.isCustomTime != that.isCustomTime)
70303
        if (!this.amazonlisted.equals(that.amazonlisted))
70664
          return false;
70304
          return false;
70665
      }
70305
      }
70666
 
70306
 
70667
      return true;
70307
      return true;
70668
    }
70308
    }
Line 70678... Line 70318...
70678
      }
70318
      }
70679
 
70319
 
70680
      int lastComparison = 0;
70320
      int lastComparison = 0;
70681
      updateAmazonItemDetails_args typedOther = (updateAmazonItemDetails_args)other;
70321
      updateAmazonItemDetails_args typedOther = (updateAmazonItemDetails_args)other;
70682
 
70322
 
70683
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
70684
      if (lastComparison != 0) {
-
 
70685
        return lastComparison;
-
 
70686
      }
-
 
70687
      if (isSetItemId()) {
-
 
70688
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
70689
        if (lastComparison != 0) {
-
 
70690
          return lastComparison;
-
 
70691
        }
-
 
70692
      }
-
 
70693
      lastComparison = Boolean.valueOf(isSetFbaPrice()).compareTo(typedOther.isSetFbaPrice());
70323
      lastComparison = Boolean.valueOf(isSetAmazonlisted()).compareTo(typedOther.isSetAmazonlisted());
70694
      if (lastComparison != 0) {
-
 
70695
        return lastComparison;
-
 
70696
      }
-
 
70697
      if (isSetFbaPrice()) {
-
 
70698
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fbaPrice, typedOther.fbaPrice);
-
 
70699
        if (lastComparison != 0) {
-
 
70700
          return lastComparison;
-
 
70701
        }
-
 
70702
      }
-
 
70703
      lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
-
 
70704
      if (lastComparison != 0) {
-
 
70705
        return lastComparison;
-
 
70706
      }
-
 
70707
      if (isSetSellingPrice()) {
-
 
70708
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
-
 
70709
        if (lastComparison != 0) {
-
 
70710
          return lastComparison;
-
 
70711
        }
-
 
70712
      }
-
 
70713
      lastComparison = Boolean.valueOf(isSetIsFba()).compareTo(typedOther.isSetIsFba());
-
 
70714
      if (lastComparison != 0) {
-
 
70715
        return lastComparison;
-
 
70716
      }
-
 
70717
      if (isSetIsFba()) {
-
 
70718
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isFba, typedOther.isFba);
-
 
70719
        if (lastComparison != 0) {
-
 
70720
          return lastComparison;
-
 
70721
        }
-
 
70722
      }
-
 
70723
      lastComparison = Boolean.valueOf(isSetIsNonFba()).compareTo(typedOther.isSetIsNonFba());
-
 
70724
      if (lastComparison != 0) {
-
 
70725
        return lastComparison;
-
 
70726
      }
-
 
70727
      if (isSetIsNonFba()) {
-
 
70728
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isNonFba, typedOther.isNonFba);
-
 
70729
        if (lastComparison != 0) {
-
 
70730
          return lastComparison;
-
 
70731
        }
-
 
70732
      }
-
 
70733
      lastComparison = Boolean.valueOf(isSetIsInventoryOverride()).compareTo(typedOther.isSetIsInventoryOverride());
-
 
70734
      if (lastComparison != 0) {
-
 
70735
        return lastComparison;
-
 
70736
      }
-
 
70737
      if (isSetIsInventoryOverride()) {
-
 
70738
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isInventoryOverride, typedOther.isInventoryOverride);
-
 
70739
        if (lastComparison != 0) {
-
 
70740
          return lastComparison;
-
 
70741
        }
-
 
70742
      }
-
 
70743
      lastComparison = Boolean.valueOf(isSetHandlingTime()).compareTo(typedOther.isSetHandlingTime());
-
 
70744
      if (lastComparison != 0) {
-
 
70745
        return lastComparison;
-
 
70746
      }
-
 
70747
      if (isSetHandlingTime()) {
-
 
70748
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.handlingTime, typedOther.handlingTime);
-
 
70749
        if (lastComparison != 0) {
-
 
70750
          return lastComparison;
-
 
70751
        }
-
 
70752
      }
-
 
70753
      lastComparison = Boolean.valueOf(isSetIsCustomTime()).compareTo(typedOther.isSetIsCustomTime());
-
 
70754
      if (lastComparison != 0) {
70324
      if (lastComparison != 0) {
70755
        return lastComparison;
70325
        return lastComparison;
70756
      }
70326
      }
70757
      if (isSetIsCustomTime()) {
70327
      if (isSetAmazonlisted()) {
70758
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isCustomTime, typedOther.isCustomTime);
70328
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amazonlisted, typedOther.amazonlisted);
70759
        if (lastComparison != 0) {
70329
        if (lastComparison != 0) {
70760
          return lastComparison;
70330
          return lastComparison;
70761
        }
70331
        }
70762
      }
70332
      }
70763
      return 0;
70333
      return 0;
Line 70775... Line 70345...
70775
        field = iprot.readFieldBegin();
70345
        field = iprot.readFieldBegin();
70776
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
70346
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
70777
          break;
70347
          break;
70778
        }
70348
        }
70779
        switch (field.id) {
70349
        switch (field.id) {
70780
          case 1: // ITEM_ID
-
 
70781
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
70782
              this.itemId = iprot.readI64();
-
 
70783
              setItemIdIsSet(true);
-
 
70784
            } else { 
-
 
70785
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70786
            }
-
 
70787
            break;
-
 
70788
          case 2: // FBA_PRICE
70350
          case 1: // AMAZONLISTED
70789
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
70351
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
70790
              this.fbaPrice = iprot.readDouble();
70352
              this.amazonlisted = new Amazonlisted();
70791
              setFbaPriceIsSet(true);
-
 
70792
            } else { 
-
 
70793
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70794
            }
-
 
70795
            break;
-
 
70796
          case 3: // SELLING_PRICE
-
 
70797
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
70798
              this.sellingPrice = iprot.readDouble();
-
 
70799
              setSellingPriceIsSet(true);
-
 
70800
            } else { 
-
 
70801
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70802
            }
-
 
70803
            break;
-
 
70804
          case 4: // IS_FBA
-
 
70805
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
70806
              this.isFba = iprot.readBool();
70353
              this.amazonlisted.read(iprot);
70807
              setIsFbaIsSet(true);
-
 
70808
            } else { 
-
 
70809
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70810
            }
-
 
70811
            break;
-
 
70812
          case 5: // IS_NON_FBA
-
 
70813
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
70814
              this.isNonFba = iprot.readBool();
-
 
70815
              setIsNonFbaIsSet(true);
-
 
70816
            } else { 
-
 
70817
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70818
            }
-
 
70819
            break;
-
 
70820
          case 6: // IS_INVENTORY_OVERRIDE
-
 
70821
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
70822
              this.isInventoryOverride = iprot.readBool();
-
 
70823
              setIsInventoryOverrideIsSet(true);
-
 
70824
            } else { 
-
 
70825
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70826
            }
-
 
70827
            break;
-
 
70828
          case 7: // HANDLING_TIME
-
 
70829
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
70830
              this.handlingTime = iprot.readI64();
-
 
70831
              setHandlingTimeIsSet(true);
-
 
70832
            } else { 
-
 
70833
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70834
            }
-
 
70835
            break;
-
 
70836
          case 8: // IS_CUSTOM_TIME
-
 
70837
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
70838
              this.isCustomTime = iprot.readBool();
-
 
70839
              setIsCustomTimeIsSet(true);
-
 
70840
            } else { 
70354
            } else { 
70841
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70355
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70842
            }
70356
            }
70843
            break;
70357
            break;
70844
          default:
70358
          default:
Line 70852... Line 70366...
70852
 
70366
 
70853
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
70367
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
70854
      validate();
70368
      validate();
70855
 
70369
 
70856
      oprot.writeStructBegin(STRUCT_DESC);
70370
      oprot.writeStructBegin(STRUCT_DESC);
70857
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
70858
      oprot.writeI64(this.itemId);
-
 
70859
      oprot.writeFieldEnd();
-
 
70860
      oprot.writeFieldBegin(FBA_PRICE_FIELD_DESC);
-
 
70861
      oprot.writeDouble(this.fbaPrice);
-
 
70862
      oprot.writeFieldEnd();
-
 
70863
      oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
-
 
70864
      oprot.writeDouble(this.sellingPrice);
-
 
70865
      oprot.writeFieldEnd();
-
 
70866
      oprot.writeFieldBegin(IS_FBA_FIELD_DESC);
-
 
70867
      oprot.writeBool(this.isFba);
70371
      if (this.amazonlisted != null) {
70868
      oprot.writeFieldEnd();
-
 
70869
      oprot.writeFieldBegin(IS_NON_FBA_FIELD_DESC);
70372
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
70870
      oprot.writeBool(this.isNonFba);
70373
        this.amazonlisted.write(oprot);
70871
      oprot.writeFieldEnd();
-
 
70872
      oprot.writeFieldBegin(IS_INVENTORY_OVERRIDE_FIELD_DESC);
-
 
70873
      oprot.writeBool(this.isInventoryOverride);
-
 
70874
      oprot.writeFieldEnd();
-
 
70875
      oprot.writeFieldBegin(HANDLING_TIME_FIELD_DESC);
-
 
70876
      oprot.writeI64(this.handlingTime);
-
 
70877
      oprot.writeFieldEnd();
70374
        oprot.writeFieldEnd();
70878
      oprot.writeFieldBegin(IS_CUSTOM_TIME_FIELD_DESC);
-
 
70879
      oprot.writeBool(this.isCustomTime);
-
 
70880
      oprot.writeFieldEnd();
70375
      }
70881
      oprot.writeFieldStop();
70376
      oprot.writeFieldStop();
70882
      oprot.writeStructEnd();
70377
      oprot.writeStructEnd();
70883
    }
70378
    }
70884
 
70379
 
70885
    @Override
70380
    @Override
70886
    public String toString() {
70381
    public String toString() {
70887
      StringBuilder sb = new StringBuilder("updateAmazonItemDetails_args(");
70382
      StringBuilder sb = new StringBuilder("updateAmazonItemDetails_args(");
70888
      boolean first = true;
70383
      boolean first = true;
70889
 
70384
 
70890
      sb.append("itemId:");
-
 
70891
      sb.append(this.itemId);
-
 
70892
      first = false;
-
 
70893
      if (!first) sb.append(", ");
-
 
70894
      sb.append("fbaPrice:");
70385
      sb.append("amazonlisted:");
70895
      sb.append(this.fbaPrice);
-
 
70896
      first = false;
-
 
70897
      if (!first) sb.append(", ");
-
 
70898
      sb.append("sellingPrice:");
-
 
70899
      sb.append(this.sellingPrice);
-
 
70900
      first = false;
-
 
70901
      if (!first) sb.append(", ");
70386
      if (this.amazonlisted == null) {
70902
      sb.append("isFba:");
70387
        sb.append("null");
70903
      sb.append(this.isFba);
-
 
70904
      first = false;
-
 
70905
      if (!first) sb.append(", ");
-
 
70906
      sb.append("isNonFba:");
-
 
70907
      sb.append(this.isNonFba);
-
 
70908
      first = false;
-
 
70909
      if (!first) sb.append(", ");
-
 
70910
      sb.append("isInventoryOverride:");
-
 
70911
      sb.append(this.isInventoryOverride);
-
 
70912
      first = false;
70388
      } else {
70913
      if (!first) sb.append(", ");
-
 
70914
      sb.append("handlingTime:");
-
 
70915
      sb.append(this.handlingTime);
70389
        sb.append(this.amazonlisted);
70916
      first = false;
70390
      }
70917
      if (!first) sb.append(", ");
-
 
70918
      sb.append("isCustomTime:");
-
 
70919
      sb.append(this.isCustomTime);
-
 
70920
      first = false;
70391
      first = false;
70921
      sb.append(")");
70392
      sb.append(")");
70922
      return sb.toString();
70393
      return sb.toString();
70923
    }
70394
    }
70924
 
70395
 
Line 70934... Line 70405...
70934
      }
70405
      }
70935
    }
70406
    }
70936
 
70407
 
70937
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70408
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70938
      try {
70409
      try {
70939
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
70940
        __isset_bit_vector = new BitSet(1);
-
 
70941
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70410
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70942
      } catch (org.apache.thrift.TException te) {
70411
      } catch (org.apache.thrift.TException te) {
70943
        throw new java.io.IOException(te);
70412
        throw new java.io.IOException(te);
70944
      }
70413
      }
70945
    }
70414
    }
Line 76988... Line 76457...
76988
      first = false;
76457
      first = false;
76989
      sb.append(")");
76458
      sb.append(")");
76990
      return sb.toString();
76459
      return sb.toString();
76991
    }
76460
    }
76992
 
76461
 
-
 
76462
    public void validate() throws org.apache.thrift.TException {
-
 
76463
      // check for required fields
-
 
76464
    }
-
 
76465
 
-
 
76466
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
76467
      try {
-
 
76468
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
76469
      } catch (org.apache.thrift.TException te) {
-
 
76470
        throw new java.io.IOException(te);
-
 
76471
      }
-
 
76472
    }
-
 
76473
 
-
 
76474
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
76475
      try {
-
 
76476
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
76477
      } catch (org.apache.thrift.TException te) {
-
 
76478
        throw new java.io.IOException(te);
-
 
76479
      }
-
 
76480
    }
-
 
76481
 
-
 
76482
  }
-
 
76483
 
-
 
76484
  public static class updateAmazonAttributesInBulk_args implements org.apache.thrift.TBase<updateAmazonAttributesInBulk_args, updateAmazonAttributesInBulk_args._Fields>, java.io.Serializable, Cloneable   {
-
 
76485
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonAttributesInBulk_args");
-
 
76486
 
-
 
76487
    private static final org.apache.thrift.protocol.TField AMAZONLISTED_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonlisted", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
76488
 
-
 
76489
    private Map<Long,Amazonlisted> amazonlisted; // required
-
 
76490
 
-
 
76491
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
76492
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
76493
      AMAZONLISTED((short)1, "amazonlisted");
-
 
76494
 
-
 
76495
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
76496
 
-
 
76497
      static {
-
 
76498
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
76499
          byName.put(field.getFieldName(), field);
-
 
76500
        }
-
 
76501
      }
-
 
76502
 
-
 
76503
      /**
-
 
76504
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
76505
       */
-
 
76506
      public static _Fields findByThriftId(int fieldId) {
-
 
76507
        switch(fieldId) {
-
 
76508
          case 1: // AMAZONLISTED
-
 
76509
            return AMAZONLISTED;
-
 
76510
          default:
-
 
76511
            return null;
-
 
76512
        }
-
 
76513
      }
-
 
76514
 
-
 
76515
      /**
-
 
76516
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
76517
       * if it is not found.
-
 
76518
       */
-
 
76519
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
76520
        _Fields fields = findByThriftId(fieldId);
-
 
76521
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
76522
        return fields;
-
 
76523
      }
-
 
76524
 
-
 
76525
      /**
-
 
76526
       * Find the _Fields constant that matches name, or null if its not found.
-
 
76527
       */
-
 
76528
      public static _Fields findByName(String name) {
-
 
76529
        return byName.get(name);
-
 
76530
      }
-
 
76531
 
-
 
76532
      private final short _thriftId;
-
 
76533
      private final String _fieldName;
-
 
76534
 
-
 
76535
      _Fields(short thriftId, String fieldName) {
-
 
76536
        _thriftId = thriftId;
-
 
76537
        _fieldName = fieldName;
-
 
76538
      }
-
 
76539
 
-
 
76540
      public short getThriftFieldId() {
-
 
76541
        return _thriftId;
-
 
76542
      }
-
 
76543
 
-
 
76544
      public String getFieldName() {
-
 
76545
        return _fieldName;
-
 
76546
      }
-
 
76547
    }
-
 
76548
 
-
 
76549
    // isset id assignments
-
 
76550
 
-
 
76551
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
76552
    static {
-
 
76553
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
76554
      tmpMap.put(_Fields.AMAZONLISTED, new org.apache.thrift.meta_data.FieldMetaData("amazonlisted", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
76555
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
76556
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
76557
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Amazonlisted.class))));
-
 
76558
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
76559
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonAttributesInBulk_args.class, metaDataMap);
-
 
76560
    }
-
 
76561
 
-
 
76562
    public updateAmazonAttributesInBulk_args() {
-
 
76563
    }
-
 
76564
 
-
 
76565
    public updateAmazonAttributesInBulk_args(
-
 
76566
      Map<Long,Amazonlisted> amazonlisted)
-
 
76567
    {
-
 
76568
      this();
-
 
76569
      this.amazonlisted = amazonlisted;
-
 
76570
    }
-
 
76571
 
-
 
76572
    /**
-
 
76573
     * Performs a deep copy on <i>other</i>.
-
 
76574
     */
-
 
76575
    public updateAmazonAttributesInBulk_args(updateAmazonAttributesInBulk_args other) {
-
 
76576
      if (other.isSetAmazonlisted()) {
-
 
76577
        Map<Long,Amazonlisted> __this__amazonlisted = new HashMap<Long,Amazonlisted>();
-
 
76578
        for (Map.Entry<Long, Amazonlisted> other_element : other.amazonlisted.entrySet()) {
-
 
76579
 
-
 
76580
          Long other_element_key = other_element.getKey();
-
 
76581
          Amazonlisted other_element_value = other_element.getValue();
-
 
76582
 
-
 
76583
          Long __this__amazonlisted_copy_key = other_element_key;
-
 
76584
 
-
 
76585
          Amazonlisted __this__amazonlisted_copy_value = new Amazonlisted(other_element_value);
-
 
76586
 
-
 
76587
          __this__amazonlisted.put(__this__amazonlisted_copy_key, __this__amazonlisted_copy_value);
-
 
76588
        }
-
 
76589
        this.amazonlisted = __this__amazonlisted;
-
 
76590
      }
-
 
76591
    }
-
 
76592
 
-
 
76593
    public updateAmazonAttributesInBulk_args deepCopy() {
-
 
76594
      return new updateAmazonAttributesInBulk_args(this);
-
 
76595
    }
-
 
76596
 
-
 
76597
    @Override
-
 
76598
    public void clear() {
-
 
76599
      this.amazonlisted = null;
-
 
76600
    }
-
 
76601
 
-
 
76602
    public int getAmazonlistedSize() {
-
 
76603
      return (this.amazonlisted == null) ? 0 : this.amazonlisted.size();
-
 
76604
    }
-
 
76605
 
-
 
76606
    public void putToAmazonlisted(long key, Amazonlisted val) {
-
 
76607
      if (this.amazonlisted == null) {
-
 
76608
        this.amazonlisted = new HashMap<Long,Amazonlisted>();
-
 
76609
      }
-
 
76610
      this.amazonlisted.put(key, val);
-
 
76611
    }
-
 
76612
 
-
 
76613
    public Map<Long,Amazonlisted> getAmazonlisted() {
-
 
76614
      return this.amazonlisted;
-
 
76615
    }
-
 
76616
 
-
 
76617
    public void setAmazonlisted(Map<Long,Amazonlisted> amazonlisted) {
-
 
76618
      this.amazonlisted = amazonlisted;
-
 
76619
    }
-
 
76620
 
-
 
76621
    public void unsetAmazonlisted() {
-
 
76622
      this.amazonlisted = null;
-
 
76623
    }
-
 
76624
 
-
 
76625
    /** Returns true if field amazonlisted is set (has been assigned a value) and false otherwise */
-
 
76626
    public boolean isSetAmazonlisted() {
-
 
76627
      return this.amazonlisted != null;
-
 
76628
    }
-
 
76629
 
-
 
76630
    public void setAmazonlistedIsSet(boolean value) {
-
 
76631
      if (!value) {
-
 
76632
        this.amazonlisted = null;
-
 
76633
      }
-
 
76634
    }
-
 
76635
 
-
 
76636
    public void setFieldValue(_Fields field, Object value) {
-
 
76637
      switch (field) {
-
 
76638
      case AMAZONLISTED:
-
 
76639
        if (value == null) {
-
 
76640
          unsetAmazonlisted();
-
 
76641
        } else {
-
 
76642
          setAmazonlisted((Map<Long,Amazonlisted>)value);
-
 
76643
        }
-
 
76644
        break;
-
 
76645
 
-
 
76646
      }
-
 
76647
    }
-
 
76648
 
-
 
76649
    public Object getFieldValue(_Fields field) {
-
 
76650
      switch (field) {
-
 
76651
      case AMAZONLISTED:
-
 
76652
        return getAmazonlisted();
-
 
76653
 
-
 
76654
      }
-
 
76655
      throw new IllegalStateException();
-
 
76656
    }
-
 
76657
 
-
 
76658
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
76659
    public boolean isSet(_Fields field) {
-
 
76660
      if (field == null) {
-
 
76661
        throw new IllegalArgumentException();
-
 
76662
      }
-
 
76663
 
-
 
76664
      switch (field) {
-
 
76665
      case AMAZONLISTED:
-
 
76666
        return isSetAmazonlisted();
-
 
76667
      }
-
 
76668
      throw new IllegalStateException();
-
 
76669
    }
-
 
76670
 
-
 
76671
    @Override
-
 
76672
    public boolean equals(Object that) {
-
 
76673
      if (that == null)
-
 
76674
        return false;
-
 
76675
      if (that instanceof updateAmazonAttributesInBulk_args)
-
 
76676
        return this.equals((updateAmazonAttributesInBulk_args)that);
-
 
76677
      return false;
-
 
76678
    }
-
 
76679
 
-
 
76680
    public boolean equals(updateAmazonAttributesInBulk_args that) {
-
 
76681
      if (that == null)
-
 
76682
        return false;
-
 
76683
 
-
 
76684
      boolean this_present_amazonlisted = true && this.isSetAmazonlisted();
-
 
76685
      boolean that_present_amazonlisted = true && that.isSetAmazonlisted();
-
 
76686
      if (this_present_amazonlisted || that_present_amazonlisted) {
-
 
76687
        if (!(this_present_amazonlisted && that_present_amazonlisted))
-
 
76688
          return false;
-
 
76689
        if (!this.amazonlisted.equals(that.amazonlisted))
-
 
76690
          return false;
-
 
76691
      }
-
 
76692
 
-
 
76693
      return true;
-
 
76694
    }
-
 
76695
 
-
 
76696
    @Override
-
 
76697
    public int hashCode() {
-
 
76698
      return 0;
-
 
76699
    }
-
 
76700
 
-
 
76701
    public int compareTo(updateAmazonAttributesInBulk_args other) {
-
 
76702
      if (!getClass().equals(other.getClass())) {
-
 
76703
        return getClass().getName().compareTo(other.getClass().getName());
-
 
76704
      }
-
 
76705
 
-
 
76706
      int lastComparison = 0;
-
 
76707
      updateAmazonAttributesInBulk_args typedOther = (updateAmazonAttributesInBulk_args)other;
-
 
76708
 
-
 
76709
      lastComparison = Boolean.valueOf(isSetAmazonlisted()).compareTo(typedOther.isSetAmazonlisted());
-
 
76710
      if (lastComparison != 0) {
-
 
76711
        return lastComparison;
-
 
76712
      }
-
 
76713
      if (isSetAmazonlisted()) {
-
 
76714
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amazonlisted, typedOther.amazonlisted);
-
 
76715
        if (lastComparison != 0) {
-
 
76716
          return lastComparison;
-
 
76717
        }
-
 
76718
      }
-
 
76719
      return 0;
-
 
76720
    }
-
 
76721
 
-
 
76722
    public _Fields fieldForId(int fieldId) {
-
 
76723
      return _Fields.findByThriftId(fieldId);
-
 
76724
    }
-
 
76725
 
-
 
76726
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
76727
      org.apache.thrift.protocol.TField field;
-
 
76728
      iprot.readStructBegin();
-
 
76729
      while (true)
-
 
76730
      {
-
 
76731
        field = iprot.readFieldBegin();
-
 
76732
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
76733
          break;
-
 
76734
        }
-
 
76735
        switch (field.id) {
-
 
76736
          case 1: // AMAZONLISTED
-
 
76737
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
76738
              {
-
 
76739
                org.apache.thrift.protocol.TMap _map220 = iprot.readMapBegin();
-
 
76740
                this.amazonlisted = new HashMap<Long,Amazonlisted>(2*_map220.size);
-
 
76741
                for (int _i221 = 0; _i221 < _map220.size; ++_i221)
-
 
76742
                {
-
 
76743
                  long _key222; // required
-
 
76744
                  Amazonlisted _val223; // required
-
 
76745
                  _key222 = iprot.readI64();
-
 
76746
                  _val223 = new Amazonlisted();
-
 
76747
                  _val223.read(iprot);
-
 
76748
                  this.amazonlisted.put(_key222, _val223);
-
 
76749
                }
-
 
76750
                iprot.readMapEnd();
-
 
76751
              }
-
 
76752
            } else { 
-
 
76753
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
76754
            }
-
 
76755
            break;
-
 
76756
          default:
-
 
76757
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
76758
        }
-
 
76759
        iprot.readFieldEnd();
-
 
76760
      }
-
 
76761
      iprot.readStructEnd();
-
 
76762
      validate();
-
 
76763
    }
-
 
76764
 
-
 
76765
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
76766
      validate();
-
 
76767
 
-
 
76768
      oprot.writeStructBegin(STRUCT_DESC);
-
 
76769
      if (this.amazonlisted != null) {
-
 
76770
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
-
 
76771
        {
-
 
76772
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.amazonlisted.size()));
-
 
76773
          for (Map.Entry<Long, Amazonlisted> _iter224 : this.amazonlisted.entrySet())
-
 
76774
          {
-
 
76775
            oprot.writeI64(_iter224.getKey());
-
 
76776
            _iter224.getValue().write(oprot);
-
 
76777
          }
-
 
76778
          oprot.writeMapEnd();
-
 
76779
        }
-
 
76780
        oprot.writeFieldEnd();
-
 
76781
      }
-
 
76782
      oprot.writeFieldStop();
-
 
76783
      oprot.writeStructEnd();
-
 
76784
    }
-
 
76785
 
-
 
76786
    @Override
-
 
76787
    public String toString() {
-
 
76788
      StringBuilder sb = new StringBuilder("updateAmazonAttributesInBulk_args(");
-
 
76789
      boolean first = true;
-
 
76790
 
-
 
76791
      sb.append("amazonlisted:");
-
 
76792
      if (this.amazonlisted == null) {
-
 
76793
        sb.append("null");
-
 
76794
      } else {
-
 
76795
        sb.append(this.amazonlisted);
-
 
76796
      }
-
 
76797
      first = false;
-
 
76798
      sb.append(")");
-
 
76799
      return sb.toString();
-
 
76800
    }
-
 
76801
 
-
 
76802
    public void validate() throws org.apache.thrift.TException {
-
 
76803
      // check for required fields
-
 
76804
    }
-
 
76805
 
-
 
76806
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
76807
      try {
-
 
76808
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
76809
      } catch (org.apache.thrift.TException te) {
-
 
76810
        throw new java.io.IOException(te);
-
 
76811
      }
-
 
76812
    }
-
 
76813
 
-
 
76814
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
76815
      try {
-
 
76816
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
76817
      } catch (org.apache.thrift.TException te) {
-
 
76818
        throw new java.io.IOException(te);
-
 
76819
      }
-
 
76820
    }
-
 
76821
 
-
 
76822
  }
-
 
76823
 
-
 
76824
  public static class updateAmazonAttributesInBulk_result implements org.apache.thrift.TBase<updateAmazonAttributesInBulk_result, updateAmazonAttributesInBulk_result._Fields>, java.io.Serializable, Cloneable   {
-
 
76825
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAmazonAttributesInBulk_result");
-
 
76826
 
-
 
76827
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
76828
 
-
 
76829
    private boolean success; // required
-
 
76830
 
-
 
76831
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
76832
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
76833
      SUCCESS((short)0, "success");
-
 
76834
 
-
 
76835
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
76836
 
-
 
76837
      static {
-
 
76838
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
76839
          byName.put(field.getFieldName(), field);
-
 
76840
        }
-
 
76841
      }
-
 
76842
 
-
 
76843
      /**
-
 
76844
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
76845
       */
-
 
76846
      public static _Fields findByThriftId(int fieldId) {
-
 
76847
        switch(fieldId) {
-
 
76848
          case 0: // SUCCESS
-
 
76849
            return SUCCESS;
-
 
76850
          default:
-
 
76851
            return null;
-
 
76852
        }
-
 
76853
      }
-
 
76854
 
-
 
76855
      /**
-
 
76856
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
76857
       * if it is not found.
-
 
76858
       */
-
 
76859
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
76860
        _Fields fields = findByThriftId(fieldId);
-
 
76861
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
76862
        return fields;
-
 
76863
      }
-
 
76864
 
-
 
76865
      /**
-
 
76866
       * Find the _Fields constant that matches name, or null if its not found.
-
 
76867
       */
-
 
76868
      public static _Fields findByName(String name) {
-
 
76869
        return byName.get(name);
-
 
76870
      }
-
 
76871
 
-
 
76872
      private final short _thriftId;
-
 
76873
      private final String _fieldName;
-
 
76874
 
-
 
76875
      _Fields(short thriftId, String fieldName) {
-
 
76876
        _thriftId = thriftId;
-
 
76877
        _fieldName = fieldName;
-
 
76878
      }
-
 
76879
 
-
 
76880
      public short getThriftFieldId() {
-
 
76881
        return _thriftId;
-
 
76882
      }
-
 
76883
 
-
 
76884
      public String getFieldName() {
-
 
76885
        return _fieldName;
-
 
76886
      }
-
 
76887
    }
-
 
76888
 
-
 
76889
    // isset id assignments
-
 
76890
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
76891
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
76892
 
-
 
76893
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
76894
    static {
-
 
76895
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
76896
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
76897
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
76898
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
76899
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAmazonAttributesInBulk_result.class, metaDataMap);
-
 
76900
    }
-
 
76901
 
-
 
76902
    public updateAmazonAttributesInBulk_result() {
-
 
76903
    }
-
 
76904
 
-
 
76905
    public updateAmazonAttributesInBulk_result(
-
 
76906
      boolean success)
-
 
76907
    {
-
 
76908
      this();
-
 
76909
      this.success = success;
-
 
76910
      setSuccessIsSet(true);
-
 
76911
    }
-
 
76912
 
-
 
76913
    /**
-
 
76914
     * Performs a deep copy on <i>other</i>.
-
 
76915
     */
-
 
76916
    public updateAmazonAttributesInBulk_result(updateAmazonAttributesInBulk_result other) {
-
 
76917
      __isset_bit_vector.clear();
-
 
76918
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
76919
      this.success = other.success;
-
 
76920
    }
-
 
76921
 
-
 
76922
    public updateAmazonAttributesInBulk_result deepCopy() {
-
 
76923
      return new updateAmazonAttributesInBulk_result(this);
-
 
76924
    }
-
 
76925
 
-
 
76926
    @Override
-
 
76927
    public void clear() {
-
 
76928
      setSuccessIsSet(false);
-
 
76929
      this.success = false;
-
 
76930
    }
-
 
76931
 
-
 
76932
    public boolean isSuccess() {
-
 
76933
      return this.success;
-
 
76934
    }
-
 
76935
 
-
 
76936
    public void setSuccess(boolean success) {
-
 
76937
      this.success = success;
-
 
76938
      setSuccessIsSet(true);
-
 
76939
    }
-
 
76940
 
-
 
76941
    public void unsetSuccess() {
-
 
76942
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
76943
    }
-
 
76944
 
-
 
76945
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
76946
    public boolean isSetSuccess() {
-
 
76947
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
76948
    }
-
 
76949
 
-
 
76950
    public void setSuccessIsSet(boolean value) {
-
 
76951
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
76952
    }
-
 
76953
 
-
 
76954
    public void setFieldValue(_Fields field, Object value) {
-
 
76955
      switch (field) {
-
 
76956
      case SUCCESS:
-
 
76957
        if (value == null) {
-
 
76958
          unsetSuccess();
-
 
76959
        } else {
-
 
76960
          setSuccess((Boolean)value);
-
 
76961
        }
-
 
76962
        break;
-
 
76963
 
-
 
76964
      }
-
 
76965
    }
-
 
76966
 
-
 
76967
    public Object getFieldValue(_Fields field) {
-
 
76968
      switch (field) {
-
 
76969
      case SUCCESS:
-
 
76970
        return Boolean.valueOf(isSuccess());
-
 
76971
 
-
 
76972
      }
-
 
76973
      throw new IllegalStateException();
-
 
76974
    }
-
 
76975
 
-
 
76976
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
76977
    public boolean isSet(_Fields field) {
-
 
76978
      if (field == null) {
-
 
76979
        throw new IllegalArgumentException();
-
 
76980
      }
-
 
76981
 
-
 
76982
      switch (field) {
-
 
76983
      case SUCCESS:
-
 
76984
        return isSetSuccess();
-
 
76985
      }
-
 
76986
      throw new IllegalStateException();
-
 
76987
    }
-
 
76988
 
-
 
76989
    @Override
-
 
76990
    public boolean equals(Object that) {
-
 
76991
      if (that == null)
-
 
76992
        return false;
-
 
76993
      if (that instanceof updateAmazonAttributesInBulk_result)
-
 
76994
        return this.equals((updateAmazonAttributesInBulk_result)that);
-
 
76995
      return false;
-
 
76996
    }
-
 
76997
 
-
 
76998
    public boolean equals(updateAmazonAttributesInBulk_result that) {
-
 
76999
      if (that == null)
-
 
77000
        return false;
-
 
77001
 
-
 
77002
      boolean this_present_success = true;
-
 
77003
      boolean that_present_success = true;
-
 
77004
      if (this_present_success || that_present_success) {
-
 
77005
        if (!(this_present_success && that_present_success))
-
 
77006
          return false;
-
 
77007
        if (this.success != that.success)
-
 
77008
          return false;
-
 
77009
      }
-
 
77010
 
-
 
77011
      return true;
-
 
77012
    }
-
 
77013
 
-
 
77014
    @Override
-
 
77015
    public int hashCode() {
-
 
77016
      return 0;
-
 
77017
    }
-
 
77018
 
-
 
77019
    public int compareTo(updateAmazonAttributesInBulk_result other) {
-
 
77020
      if (!getClass().equals(other.getClass())) {
-
 
77021
        return getClass().getName().compareTo(other.getClass().getName());
-
 
77022
      }
-
 
77023
 
-
 
77024
      int lastComparison = 0;
-
 
77025
      updateAmazonAttributesInBulk_result typedOther = (updateAmazonAttributesInBulk_result)other;
-
 
77026
 
-
 
77027
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
77028
      if (lastComparison != 0) {
-
 
77029
        return lastComparison;
-
 
77030
      }
-
 
77031
      if (isSetSuccess()) {
-
 
77032
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
77033
        if (lastComparison != 0) {
-
 
77034
          return lastComparison;
-
 
77035
        }
-
 
77036
      }
-
 
77037
      return 0;
-
 
77038
    }
-
 
77039
 
-
 
77040
    public _Fields fieldForId(int fieldId) {
-
 
77041
      return _Fields.findByThriftId(fieldId);
-
 
77042
    }
-
 
77043
 
-
 
77044
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
77045
      org.apache.thrift.protocol.TField field;
-
 
77046
      iprot.readStructBegin();
-
 
77047
      while (true)
-
 
77048
      {
-
 
77049
        field = iprot.readFieldBegin();
-
 
77050
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
77051
          break;
-
 
77052
        }
-
 
77053
        switch (field.id) {
-
 
77054
          case 0: // SUCCESS
-
 
77055
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
77056
              this.success = iprot.readBool();
-
 
77057
              setSuccessIsSet(true);
-
 
77058
            } else { 
-
 
77059
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77060
            }
-
 
77061
            break;
-
 
77062
          default:
-
 
77063
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77064
        }
-
 
77065
        iprot.readFieldEnd();
-
 
77066
      }
-
 
77067
      iprot.readStructEnd();
-
 
77068
      validate();
-
 
77069
    }
-
 
77070
 
-
 
77071
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
77072
      oprot.writeStructBegin(STRUCT_DESC);
-
 
77073
 
-
 
77074
      if (this.isSetSuccess()) {
-
 
77075
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
77076
        oprot.writeBool(this.success);
-
 
77077
        oprot.writeFieldEnd();
-
 
77078
      }
-
 
77079
      oprot.writeFieldStop();
-
 
77080
      oprot.writeStructEnd();
-
 
77081
    }
-
 
77082
 
-
 
77083
    @Override
-
 
77084
    public String toString() {
-
 
77085
      StringBuilder sb = new StringBuilder("updateAmazonAttributesInBulk_result(");
-
 
77086
      boolean first = true;
-
 
77087
 
-
 
77088
      sb.append("success:");
-
 
77089
      sb.append(this.success);
-
 
77090
      first = false;
-
 
77091
      sb.append(")");
-
 
77092
      return sb.toString();
-
 
77093
    }
-
 
77094
 
76993
    public void validate() throws org.apache.thrift.TException {
77095
    public void validate() throws org.apache.thrift.TException {
76994
      // check for required fields
77096
      // check for required fields
76995
    }
77097
    }
76996
 
77098
 
76997
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
77099
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {