| Line 1068... |
Line 1068... |
| 1068 |
|
1068 |
|
| 1069 |
public Map<Long,Long> getCreatedOrdersForFlipkart(List<String> flipkartorderids) throws org.apache.thrift.TException;
|
1069 |
public Map<Long,Long> getCreatedOrdersForFlipkart(List<String> flipkartorderids) throws org.apache.thrift.TException;
|
| 1070 |
|
1070 |
|
| 1071 |
public boolean isPrivateDealTransaction(long transactionId) throws org.apache.thrift.TException;
|
1071 |
public boolean isPrivateDealTransaction(long transactionId) throws org.apache.thrift.TException;
|
| 1072 |
|
1072 |
|
| - |
|
1073 |
public AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItemLocationWise(long item_id, long location) throws org.apache.thrift.TException;
|
| - |
|
1074 |
|
| 1073 |
public boolean changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp) throws TransactionServiceException, org.apache.thrift.TException;
|
1075 |
public boolean changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp) throws TransactionServiceException, org.apache.thrift.TException;
|
| 1074 |
|
1076 |
|
| 1075 |
public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns) throws TransactionServiceException, org.apache.thrift.TException;
|
1077 |
public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns) throws TransactionServiceException, org.apache.thrift.TException;
|
| 1076 |
|
1078 |
|
| 1077 |
public List<AmazonFbaOrderReturns> getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException;
|
1079 |
public List<AmazonFbaOrderReturns> getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp) throws TransactionServiceException, org.apache.thrift.TException;
|
| Line 1530... |
Line 1532... |
| 1530 |
|
1532 |
|
| 1531 |
public void getCreatedOrdersForFlipkart(List<String> flipkartorderids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCreatedOrdersForFlipkart_call> resultHandler) throws org.apache.thrift.TException;
|
1533 |
public void getCreatedOrdersForFlipkart(List<String> flipkartorderids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCreatedOrdersForFlipkart_call> resultHandler) throws org.apache.thrift.TException;
|
| 1532 |
|
1534 |
|
| 1533 |
public void isPrivateDealTransaction(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isPrivateDealTransaction_call> resultHandler) throws org.apache.thrift.TException;
|
1535 |
public void isPrivateDealTransaction(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isPrivateDealTransaction_call> resultHandler) throws org.apache.thrift.TException;
|
| 1534 |
|
1536 |
|
| - |
|
1537 |
public void getAmazonFbaSalesLatestSnapshotForItemLocationWise(long item_id, long location, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonFbaSalesLatestSnapshotForItemLocationWise_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
1538 |
|
| 1535 |
public void changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeEasyshipMfnOrderTxnStatus_call> resultHandler) throws org.apache.thrift.TException;
|
1539 |
public void changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeEasyshipMfnOrderTxnStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 1536 |
|
1540 |
|
| 1537 |
public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonFbaOrdersReturns_call> resultHandler) throws org.apache.thrift.TException;
|
1541 |
public void updateAmazonFbaOrdersReturns(List<AmazonFbaOrderReturns> fbaOrderReturns, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonFbaOrdersReturns_call> resultHandler) throws org.apache.thrift.TException;
|
| 1538 |
|
1542 |
|
| 1539 |
public void getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonFbaOrderReturnsByCurrentTime_call> resultHandler) throws org.apache.thrift.TException;
|
1543 |
public void getAllAmazonFbaOrderReturnsByCurrentTime(long insertionTimestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonFbaOrderReturnsByCurrentTime_call> resultHandler) throws org.apache.thrift.TException;
|
| Line 7097... |
Line 7101... |
| 7097 |
return result.success;
|
7101 |
return result.success;
|
| 7098 |
}
|
7102 |
}
|
| 7099 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isPrivateDealTransaction failed: unknown result");
|
7103 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isPrivateDealTransaction failed: unknown result");
|
| 7100 |
}
|
7104 |
}
|
| 7101 |
|
7105 |
|
| - |
|
7106 |
public AmazonFbaSalesSnapshot getAmazonFbaSalesLatestSnapshotForItemLocationWise(long item_id, long location) throws org.apache.thrift.TException
|
| - |
|
7107 |
{
|
| - |
|
7108 |
send_getAmazonFbaSalesLatestSnapshotForItemLocationWise(item_id, location);
|
| - |
|
7109 |
return recv_getAmazonFbaSalesLatestSnapshotForItemLocationWise();
|
| - |
|
7110 |
}
|
| - |
|
7111 |
|
| - |
|
7112 |
public void send_getAmazonFbaSalesLatestSnapshotForItemLocationWise(long item_id, long location) throws org.apache.thrift.TException
|
| - |
|
7113 |
{
|
| - |
|
7114 |
getAmazonFbaSalesLatestSnapshotForItemLocationWise_args args = new getAmazonFbaSalesLatestSnapshotForItemLocationWise_args();
|
| - |
|
7115 |
args.setItem_id(item_id);
|
| - |
|
7116 |
args.setLocation(location);
|
| - |
|
7117 |
sendBase("getAmazonFbaSalesLatestSnapshotForItemLocationWise", args);
|
| - |
|
7118 |
}
|
| - |
|
7119 |
|
| - |
|
7120 |
public AmazonFbaSalesSnapshot recv_getAmazonFbaSalesLatestSnapshotForItemLocationWise() throws org.apache.thrift.TException
|
| - |
|
7121 |
{
|
| - |
|
7122 |
getAmazonFbaSalesLatestSnapshotForItemLocationWise_result result = new getAmazonFbaSalesLatestSnapshotForItemLocationWise_result();
|
| - |
|
7123 |
receiveBase(result, "getAmazonFbaSalesLatestSnapshotForItemLocationWise");
|
| - |
|
7124 |
if (result.isSetSuccess()) {
|
| - |
|
7125 |
return result.success;
|
| - |
|
7126 |
}
|
| - |
|
7127 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonFbaSalesLatestSnapshotForItemLocationWise failed: unknown result");
|
| - |
|
7128 |
}
|
| - |
|
7129 |
|
| 7102 |
public boolean changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp) throws TransactionServiceException, org.apache.thrift.TException
|
7130 |
public boolean changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp) throws TransactionServiceException, org.apache.thrift.TException
|
| 7103 |
{
|
7131 |
{
|
| 7104 |
send_changeEasyshipMfnOrderTxnStatus(transactionId, status, description, pickUp, orderType, source, shipTimestamp, deliveryTimeStamp);
|
7132 |
send_changeEasyshipMfnOrderTxnStatus(transactionId, status, description, pickUp, orderType, source, shipTimestamp, deliveryTimeStamp);
|
| 7105 |
return recv_changeEasyshipMfnOrderTxnStatus();
|
7133 |
return recv_changeEasyshipMfnOrderTxnStatus();
|
| 7106 |
}
|
7134 |
}
|
| Line 15032... |
Line 15060... |
| 15032 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
15060 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 15033 |
return (new Client(prot)).recv_isPrivateDealTransaction();
|
15061 |
return (new Client(prot)).recv_isPrivateDealTransaction();
|
| 15034 |
}
|
15062 |
}
|
| 15035 |
}
|
15063 |
}
|
| 15036 |
|
15064 |
|
| - |
|
15065 |
public void getAmazonFbaSalesLatestSnapshotForItemLocationWise(long item_id, long location, org.apache.thrift.async.AsyncMethodCallback<getAmazonFbaSalesLatestSnapshotForItemLocationWise_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
15066 |
checkReady();
|
| - |
|
15067 |
getAmazonFbaSalesLatestSnapshotForItemLocationWise_call method_call = new getAmazonFbaSalesLatestSnapshotForItemLocationWise_call(item_id, location, resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
15068 |
this.___currentMethod = method_call;
|
| - |
|
15069 |
___manager.call(method_call);
|
| - |
|
15070 |
}
|
| - |
|
15071 |
|
| - |
|
15072 |
public static class getAmazonFbaSalesLatestSnapshotForItemLocationWise_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
15073 |
private long item_id;
|
| - |
|
15074 |
private long location;
|
| - |
|
15075 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_call(long item_id, long location, org.apache.thrift.async.AsyncMethodCallback<getAmazonFbaSalesLatestSnapshotForItemLocationWise_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 {
|
| - |
|
15076 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
15077 |
this.item_id = item_id;
|
| - |
|
15078 |
this.location = location;
|
| - |
|
15079 |
}
|
| - |
|
15080 |
|
| - |
|
15081 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
15082 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAmazonFbaSalesLatestSnapshotForItemLocationWise", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
15083 |
getAmazonFbaSalesLatestSnapshotForItemLocationWise_args args = new getAmazonFbaSalesLatestSnapshotForItemLocationWise_args();
|
| - |
|
15084 |
args.setItem_id(item_id);
|
| - |
|
15085 |
args.setLocation(location);
|
| - |
|
15086 |
args.write(prot);
|
| - |
|
15087 |
prot.writeMessageEnd();
|
| - |
|
15088 |
}
|
| - |
|
15089 |
|
| - |
|
15090 |
public AmazonFbaSalesSnapshot getResult() throws org.apache.thrift.TException {
|
| - |
|
15091 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
15092 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
15093 |
}
|
| - |
|
15094 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
15095 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
15096 |
return (new Client(prot)).recv_getAmazonFbaSalesLatestSnapshotForItemLocationWise();
|
| - |
|
15097 |
}
|
| - |
|
15098 |
}
|
| - |
|
15099 |
|
| 15037 |
public void changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp, org.apache.thrift.async.AsyncMethodCallback<changeEasyshipMfnOrderTxnStatus_call> resultHandler) throws org.apache.thrift.TException {
|
15100 |
public void changeEasyshipMfnOrderTxnStatus(long transactionId, TransactionStatus status, String description, long pickUp, OrderType orderType, OrderSource source, long shipTimestamp, long deliveryTimeStamp, org.apache.thrift.async.AsyncMethodCallback<changeEasyshipMfnOrderTxnStatus_call> resultHandler) throws org.apache.thrift.TException {
|
| 15038 |
checkReady();
|
15101 |
checkReady();
|
| 15039 |
changeEasyshipMfnOrderTxnStatus_call method_call = new changeEasyshipMfnOrderTxnStatus_call(transactionId, status, description, pickUp, orderType, source, shipTimestamp, deliveryTimeStamp, resultHandler, this, ___protocolFactory, ___transport);
|
15102 |
changeEasyshipMfnOrderTxnStatus_call method_call = new changeEasyshipMfnOrderTxnStatus_call(transactionId, status, description, pickUp, orderType, source, shipTimestamp, deliveryTimeStamp, resultHandler, this, ___protocolFactory, ___transport);
|
| 15040 |
this.___currentMethod = method_call;
|
15103 |
this.___currentMethod = method_call;
|
| 15041 |
___manager.call(method_call);
|
15104 |
___manager.call(method_call);
|
| Line 15419... |
Line 15482... |
| 15419 |
processMap.put("updateSnapdealOrdersStatus", new updateSnapdealOrdersStatus());
|
15482 |
processMap.put("updateSnapdealOrdersStatus", new updateSnapdealOrdersStatus());
|
| 15420 |
processMap.put("updateFlipkartOrdersStatus", new updateFlipkartOrdersStatus());
|
15483 |
processMap.put("updateFlipkartOrdersStatus", new updateFlipkartOrdersStatus());
|
| 15421 |
processMap.put("bulkAddOrUpdateAmazonFbaSalesSnapshot", new bulkAddOrUpdateAmazonFbaSalesSnapshot());
|
15484 |
processMap.put("bulkAddOrUpdateAmazonFbaSalesSnapshot", new bulkAddOrUpdateAmazonFbaSalesSnapshot());
|
| 15422 |
processMap.put("getCreatedOrdersForFlipkart", new getCreatedOrdersForFlipkart());
|
15485 |
processMap.put("getCreatedOrdersForFlipkart", new getCreatedOrdersForFlipkart());
|
| 15423 |
processMap.put("isPrivateDealTransaction", new isPrivateDealTransaction());
|
15486 |
processMap.put("isPrivateDealTransaction", new isPrivateDealTransaction());
|
| - |
|
15487 |
processMap.put("getAmazonFbaSalesLatestSnapshotForItemLocationWise", new getAmazonFbaSalesLatestSnapshotForItemLocationWise());
|
| 15424 |
processMap.put("changeEasyshipMfnOrderTxnStatus", new changeEasyshipMfnOrderTxnStatus());
|
15488 |
processMap.put("changeEasyshipMfnOrderTxnStatus", new changeEasyshipMfnOrderTxnStatus());
|
| 15425 |
processMap.put("updateAmazonFbaOrdersReturns", new updateAmazonFbaOrdersReturns());
|
15489 |
processMap.put("updateAmazonFbaOrdersReturns", new updateAmazonFbaOrdersReturns());
|
| 15426 |
processMap.put("getAllAmazonFbaOrderReturnsByCurrentTime", new getAllAmazonFbaOrderReturnsByCurrentTime());
|
15490 |
processMap.put("getAllAmazonFbaOrderReturnsByCurrentTime", new getAllAmazonFbaOrderReturnsByCurrentTime());
|
| 15427 |
processMap.put("getTotalSaleReturnsFbaSkusCurentTime", new getTotalSaleReturnsFbaSkusCurentTime());
|
15491 |
processMap.put("getTotalSaleReturnsFbaSkusCurentTime", new getTotalSaleReturnsFbaSkusCurentTime());
|
| 15428 |
return processMap;
|
15492 |
return processMap;
|
| Line 19491... |
Line 19555... |
| 19491 |
result.setSuccessIsSet(true);
|
19555 |
result.setSuccessIsSet(true);
|
| 19492 |
return result;
|
19556 |
return result;
|
| 19493 |
}
|
19557 |
}
|
| 19494 |
}
|
19558 |
}
|
| 19495 |
|
19559 |
|
| - |
|
19560 |
private static class getAmazonFbaSalesLatestSnapshotForItemLocationWise<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAmazonFbaSalesLatestSnapshotForItemLocationWise_args> {
|
| - |
|
19561 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise() {
|
| - |
|
19562 |
super("getAmazonFbaSalesLatestSnapshotForItemLocationWise");
|
| - |
|
19563 |
}
|
| - |
|
19564 |
|
| - |
|
19565 |
protected getAmazonFbaSalesLatestSnapshotForItemLocationWise_args getEmptyArgsInstance() {
|
| - |
|
19566 |
return new getAmazonFbaSalesLatestSnapshotForItemLocationWise_args();
|
| - |
|
19567 |
}
|
| - |
|
19568 |
|
| - |
|
19569 |
protected getAmazonFbaSalesLatestSnapshotForItemLocationWise_result getResult(I iface, getAmazonFbaSalesLatestSnapshotForItemLocationWise_args args) throws org.apache.thrift.TException {
|
| - |
|
19570 |
getAmazonFbaSalesLatestSnapshotForItemLocationWise_result result = new getAmazonFbaSalesLatestSnapshotForItemLocationWise_result();
|
| - |
|
19571 |
result.success = iface.getAmazonFbaSalesLatestSnapshotForItemLocationWise(args.item_id, args.location);
|
| - |
|
19572 |
return result;
|
| - |
|
19573 |
}
|
| - |
|
19574 |
}
|
| - |
|
19575 |
|
| 19496 |
private static class changeEasyshipMfnOrderTxnStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, changeEasyshipMfnOrderTxnStatus_args> {
|
19576 |
private static class changeEasyshipMfnOrderTxnStatus<I extends Iface> extends org.apache.thrift.ProcessFunction<I, changeEasyshipMfnOrderTxnStatus_args> {
|
| 19497 |
public changeEasyshipMfnOrderTxnStatus() {
|
19577 |
public changeEasyshipMfnOrderTxnStatus() {
|
| 19498 |
super("changeEasyshipMfnOrderTxnStatus");
|
19578 |
super("changeEasyshipMfnOrderTxnStatus");
|
| 19499 |
}
|
19579 |
}
|
| 19500 |
|
19580 |
|
| Line 64359... |
Line 64439... |
| 64359 |
}
|
64439 |
}
|
| 64360 |
}
|
64440 |
}
|
| 64361 |
|
64441 |
|
| 64362 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
64442 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 64363 |
try {
|
64443 |
try {
|
| - |
|
64444 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
64445 |
__isset_bit_vector = new BitSet(1);
|
| 64364 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
64446 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 64365 |
} catch (org.apache.thrift.TException te) {
|
64447 |
} catch (org.apache.thrift.TException te) {
|
| 64366 |
throw new java.io.IOException(te);
|
64448 |
throw new java.io.IOException(te);
|
| 64367 |
}
|
64449 |
}
|
| 64368 |
}
|
64450 |
}
|
| Line 69292... |
Line 69374... |
| 69292 |
}
|
69374 |
}
|
| 69293 |
}
|
69375 |
}
|
| 69294 |
|
69376 |
|
| 69295 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
69377 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 69296 |
try {
|
69378 |
try {
|
| - |
|
69379 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
69380 |
__isset_bit_vector = new BitSet(1);
|
| 69297 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
69381 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 69298 |
} catch (org.apache.thrift.TException te) {
|
69382 |
} catch (org.apache.thrift.TException te) {
|
| 69299 |
throw new java.io.IOException(te);
|
69383 |
throw new java.io.IOException(te);
|
| 69300 |
}
|
69384 |
}
|
| 69301 |
}
|
69385 |
}
|
| Line 70723... |
Line 70807... |
| 70723 |
}
|
70807 |
}
|
| 70724 |
}
|
70808 |
}
|
| 70725 |
|
70809 |
|
| 70726 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
70810 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 70727 |
try {
|
70811 |
try {
|
| - |
|
70812 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
70813 |
__isset_bit_vector = new BitSet(1);
|
| 70728 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
70814 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 70729 |
} catch (org.apache.thrift.TException te) {
|
70815 |
} catch (org.apache.thrift.TException te) {
|
| 70730 |
throw new java.io.IOException(te);
|
70816 |
throw new java.io.IOException(te);
|
| 70731 |
}
|
70817 |
}
|
| 70732 |
}
|
70818 |
}
|
| Line 80822... |
Line 80908... |
| 80822 |
}
|
80908 |
}
|
| 80823 |
}
|
80909 |
}
|
| 80824 |
|
80910 |
|
| 80825 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
80911 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 80826 |
try {
|
80912 |
try {
|
| 80827 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 80828 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 80829 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
80913 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 80830 |
} catch (org.apache.thrift.TException te) {
|
80914 |
} catch (org.apache.thrift.TException te) {
|
| 80831 |
throw new java.io.IOException(te);
|
80915 |
throw new java.io.IOException(te);
|
| 80832 |
}
|
80916 |
}
|
| 80833 |
}
|
80917 |
}
|
| Line 109756... |
Line 109840... |
| 109756 |
}
|
109840 |
}
|
| 109757 |
}
|
109841 |
}
|
| 109758 |
|
109842 |
|
| 109759 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
109843 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 109760 |
try {
|
109844 |
try {
|
| - |
|
109845 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
109846 |
__isset_bit_vector = new BitSet(1);
|
| 109761 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
109847 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 109762 |
} catch (org.apache.thrift.TException te) {
|
109848 |
} catch (org.apache.thrift.TException te) {
|
| 109763 |
throw new java.io.IOException(te);
|
109849 |
throw new java.io.IOException(te);
|
| 109764 |
}
|
109850 |
}
|
| 109765 |
}
|
109851 |
}
|
| Line 178061... |
Line 178147... |
| 178061 |
first = false;
|
178147 |
first = false;
|
| 178062 |
sb.append(")");
|
178148 |
sb.append(")");
|
| 178063 |
return sb.toString();
|
178149 |
return sb.toString();
|
| 178064 |
}
|
178150 |
}
|
| 178065 |
|
178151 |
|
| - |
|
178152 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
178153 |
// check for required fields
|
| - |
|
178154 |
}
|
| - |
|
178155 |
|
| - |
|
178156 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
178157 |
try {
|
| - |
|
178158 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
178159 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
178160 |
throw new java.io.IOException(te);
|
| - |
|
178161 |
}
|
| - |
|
178162 |
}
|
| - |
|
178163 |
|
| - |
|
178164 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
178165 |
try {
|
| - |
|
178166 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
178167 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
178168 |
throw new java.io.IOException(te);
|
| - |
|
178169 |
}
|
| - |
|
178170 |
}
|
| - |
|
178171 |
|
| - |
|
178172 |
}
|
| - |
|
178173 |
|
| - |
|
178174 |
public static class getAmazonFbaSalesLatestSnapshotForItemLocationWise_args implements org.apache.thrift.TBase<getAmazonFbaSalesLatestSnapshotForItemLocationWise_args, getAmazonFbaSalesLatestSnapshotForItemLocationWise_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
178175 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonFbaSalesLatestSnapshotForItemLocationWise_args");
|
| - |
|
178176 |
|
| - |
|
178177 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
|
| - |
|
178178 |
private static final org.apache.thrift.protocol.TField LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("location", org.apache.thrift.protocol.TType.I64, (short)2);
|
| - |
|
178179 |
|
| - |
|
178180 |
private long item_id; // required
|
| - |
|
178181 |
private long location; // required
|
| - |
|
178182 |
|
| - |
|
178183 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
178184 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
178185 |
ITEM_ID((short)1, "item_id"),
|
| - |
|
178186 |
LOCATION((short)2, "location");
|
| - |
|
178187 |
|
| - |
|
178188 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
178189 |
|
| - |
|
178190 |
static {
|
| - |
|
178191 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
178192 |
byName.put(field.getFieldName(), field);
|
| - |
|
178193 |
}
|
| - |
|
178194 |
}
|
| - |
|
178195 |
|
| - |
|
178196 |
/**
|
| - |
|
178197 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
178198 |
*/
|
| - |
|
178199 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
178200 |
switch(fieldId) {
|
| - |
|
178201 |
case 1: // ITEM_ID
|
| - |
|
178202 |
return ITEM_ID;
|
| - |
|
178203 |
case 2: // LOCATION
|
| - |
|
178204 |
return LOCATION;
|
| - |
|
178205 |
default:
|
| - |
|
178206 |
return null;
|
| - |
|
178207 |
}
|
| - |
|
178208 |
}
|
| - |
|
178209 |
|
| - |
|
178210 |
/**
|
| - |
|
178211 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
178212 |
* if it is not found.
|
| - |
|
178213 |
*/
|
| - |
|
178214 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
178215 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
178216 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
178217 |
return fields;
|
| - |
|
178218 |
}
|
| - |
|
178219 |
|
| - |
|
178220 |
/**
|
| - |
|
178221 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
178222 |
*/
|
| - |
|
178223 |
public static _Fields findByName(String name) {
|
| - |
|
178224 |
return byName.get(name);
|
| - |
|
178225 |
}
|
| - |
|
178226 |
|
| - |
|
178227 |
private final short _thriftId;
|
| - |
|
178228 |
private final String _fieldName;
|
| - |
|
178229 |
|
| - |
|
178230 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
178231 |
_thriftId = thriftId;
|
| - |
|
178232 |
_fieldName = fieldName;
|
| - |
|
178233 |
}
|
| - |
|
178234 |
|
| - |
|
178235 |
public short getThriftFieldId() {
|
| - |
|
178236 |
return _thriftId;
|
| - |
|
178237 |
}
|
| - |
|
178238 |
|
| - |
|
178239 |
public String getFieldName() {
|
| - |
|
178240 |
return _fieldName;
|
| - |
|
178241 |
}
|
| - |
|
178242 |
}
|
| - |
|
178243 |
|
| - |
|
178244 |
// isset id assignments
|
| - |
|
178245 |
private static final int __ITEM_ID_ISSET_ID = 0;
|
| - |
|
178246 |
private static final int __LOCATION_ISSET_ID = 1;
|
| - |
|
178247 |
private BitSet __isset_bit_vector = new BitSet(2);
|
| - |
|
178248 |
|
| - |
|
178249 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
178250 |
static {
|
| - |
|
178251 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
178252 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
178253 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
178254 |
tmpMap.put(_Fields.LOCATION, new org.apache.thrift.meta_data.FieldMetaData("location", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
178255 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
178256 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
178257 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonFbaSalesLatestSnapshotForItemLocationWise_args.class, metaDataMap);
|
| - |
|
178258 |
}
|
| - |
|
178259 |
|
| - |
|
178260 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_args() {
|
| - |
|
178261 |
}
|
| - |
|
178262 |
|
| - |
|
178263 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_args(
|
| - |
|
178264 |
long item_id,
|
| - |
|
178265 |
long location)
|
| - |
|
178266 |
{
|
| - |
|
178267 |
this();
|
| - |
|
178268 |
this.item_id = item_id;
|
| - |
|
178269 |
setItem_idIsSet(true);
|
| - |
|
178270 |
this.location = location;
|
| - |
|
178271 |
setLocationIsSet(true);
|
| - |
|
178272 |
}
|
| - |
|
178273 |
|
| - |
|
178274 |
/**
|
| - |
|
178275 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
178276 |
*/
|
| - |
|
178277 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_args(getAmazonFbaSalesLatestSnapshotForItemLocationWise_args other) {
|
| - |
|
178278 |
__isset_bit_vector.clear();
|
| - |
|
178279 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| - |
|
178280 |
this.item_id = other.item_id;
|
| - |
|
178281 |
this.location = other.location;
|
| - |
|
178282 |
}
|
| - |
|
178283 |
|
| - |
|
178284 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_args deepCopy() {
|
| - |
|
178285 |
return new getAmazonFbaSalesLatestSnapshotForItemLocationWise_args(this);
|
| - |
|
178286 |
}
|
| - |
|
178287 |
|
| - |
|
178288 |
@Override
|
| - |
|
178289 |
public void clear() {
|
| - |
|
178290 |
setItem_idIsSet(false);
|
| - |
|
178291 |
this.item_id = 0;
|
| - |
|
178292 |
setLocationIsSet(false);
|
| - |
|
178293 |
this.location = 0;
|
| - |
|
178294 |
}
|
| - |
|
178295 |
|
| - |
|
178296 |
public long getItem_id() {
|
| - |
|
178297 |
return this.item_id;
|
| - |
|
178298 |
}
|
| - |
|
178299 |
|
| - |
|
178300 |
public void setItem_id(long item_id) {
|
| - |
|
178301 |
this.item_id = item_id;
|
| - |
|
178302 |
setItem_idIsSet(true);
|
| - |
|
178303 |
}
|
| - |
|
178304 |
|
| - |
|
178305 |
public void unsetItem_id() {
|
| - |
|
178306 |
__isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
|
| - |
|
178307 |
}
|
| - |
|
178308 |
|
| - |
|
178309 |
/** Returns true if field item_id is set (has been assigned a value) and false otherwise */
|
| - |
|
178310 |
public boolean isSetItem_id() {
|
| - |
|
178311 |
return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
|
| - |
|
178312 |
}
|
| - |
|
178313 |
|
| - |
|
178314 |
public void setItem_idIsSet(boolean value) {
|
| - |
|
178315 |
__isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
|
| - |
|
178316 |
}
|
| - |
|
178317 |
|
| - |
|
178318 |
public long getLocation() {
|
| - |
|
178319 |
return this.location;
|
| - |
|
178320 |
}
|
| - |
|
178321 |
|
| - |
|
178322 |
public void setLocation(long location) {
|
| - |
|
178323 |
this.location = location;
|
| - |
|
178324 |
setLocationIsSet(true);
|
| - |
|
178325 |
}
|
| - |
|
178326 |
|
| - |
|
178327 |
public void unsetLocation() {
|
| - |
|
178328 |
__isset_bit_vector.clear(__LOCATION_ISSET_ID);
|
| - |
|
178329 |
}
|
| - |
|
178330 |
|
| - |
|
178331 |
/** Returns true if field location is set (has been assigned a value) and false otherwise */
|
| - |
|
178332 |
public boolean isSetLocation() {
|
| - |
|
178333 |
return __isset_bit_vector.get(__LOCATION_ISSET_ID);
|
| - |
|
178334 |
}
|
| - |
|
178335 |
|
| - |
|
178336 |
public void setLocationIsSet(boolean value) {
|
| - |
|
178337 |
__isset_bit_vector.set(__LOCATION_ISSET_ID, value);
|
| - |
|
178338 |
}
|
| - |
|
178339 |
|
| - |
|
178340 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
178341 |
switch (field) {
|
| - |
|
178342 |
case ITEM_ID:
|
| - |
|
178343 |
if (value == null) {
|
| - |
|
178344 |
unsetItem_id();
|
| - |
|
178345 |
} else {
|
| - |
|
178346 |
setItem_id((Long)value);
|
| - |
|
178347 |
}
|
| - |
|
178348 |
break;
|
| - |
|
178349 |
|
| - |
|
178350 |
case LOCATION:
|
| - |
|
178351 |
if (value == null) {
|
| - |
|
178352 |
unsetLocation();
|
| - |
|
178353 |
} else {
|
| - |
|
178354 |
setLocation((Long)value);
|
| - |
|
178355 |
}
|
| - |
|
178356 |
break;
|
| - |
|
178357 |
|
| - |
|
178358 |
}
|
| - |
|
178359 |
}
|
| - |
|
178360 |
|
| - |
|
178361 |
public Object getFieldValue(_Fields field) {
|
| - |
|
178362 |
switch (field) {
|
| - |
|
178363 |
case ITEM_ID:
|
| - |
|
178364 |
return Long.valueOf(getItem_id());
|
| - |
|
178365 |
|
| - |
|
178366 |
case LOCATION:
|
| - |
|
178367 |
return Long.valueOf(getLocation());
|
| - |
|
178368 |
|
| - |
|
178369 |
}
|
| - |
|
178370 |
throw new IllegalStateException();
|
| - |
|
178371 |
}
|
| - |
|
178372 |
|
| - |
|
178373 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
178374 |
public boolean isSet(_Fields field) {
|
| - |
|
178375 |
if (field == null) {
|
| - |
|
178376 |
throw new IllegalArgumentException();
|
| - |
|
178377 |
}
|
| - |
|
178378 |
|
| - |
|
178379 |
switch (field) {
|
| - |
|
178380 |
case ITEM_ID:
|
| - |
|
178381 |
return isSetItem_id();
|
| - |
|
178382 |
case LOCATION:
|
| - |
|
178383 |
return isSetLocation();
|
| - |
|
178384 |
}
|
| - |
|
178385 |
throw new IllegalStateException();
|
| - |
|
178386 |
}
|
| - |
|
178387 |
|
| - |
|
178388 |
@Override
|
| - |
|
178389 |
public boolean equals(Object that) {
|
| - |
|
178390 |
if (that == null)
|
| - |
|
178391 |
return false;
|
| - |
|
178392 |
if (that instanceof getAmazonFbaSalesLatestSnapshotForItemLocationWise_args)
|
| - |
|
178393 |
return this.equals((getAmazonFbaSalesLatestSnapshotForItemLocationWise_args)that);
|
| - |
|
178394 |
return false;
|
| - |
|
178395 |
}
|
| - |
|
178396 |
|
| - |
|
178397 |
public boolean equals(getAmazonFbaSalesLatestSnapshotForItemLocationWise_args that) {
|
| - |
|
178398 |
if (that == null)
|
| - |
|
178399 |
return false;
|
| - |
|
178400 |
|
| - |
|
178401 |
boolean this_present_item_id = true;
|
| - |
|
178402 |
boolean that_present_item_id = true;
|
| - |
|
178403 |
if (this_present_item_id || that_present_item_id) {
|
| - |
|
178404 |
if (!(this_present_item_id && that_present_item_id))
|
| - |
|
178405 |
return false;
|
| - |
|
178406 |
if (this.item_id != that.item_id)
|
| - |
|
178407 |
return false;
|
| - |
|
178408 |
}
|
| - |
|
178409 |
|
| - |
|
178410 |
boolean this_present_location = true;
|
| - |
|
178411 |
boolean that_present_location = true;
|
| - |
|
178412 |
if (this_present_location || that_present_location) {
|
| - |
|
178413 |
if (!(this_present_location && that_present_location))
|
| - |
|
178414 |
return false;
|
| - |
|
178415 |
if (this.location != that.location)
|
| - |
|
178416 |
return false;
|
| - |
|
178417 |
}
|
| - |
|
178418 |
|
| - |
|
178419 |
return true;
|
| - |
|
178420 |
}
|
| - |
|
178421 |
|
| - |
|
178422 |
@Override
|
| - |
|
178423 |
public int hashCode() {
|
| - |
|
178424 |
return 0;
|
| - |
|
178425 |
}
|
| - |
|
178426 |
|
| - |
|
178427 |
public int compareTo(getAmazonFbaSalesLatestSnapshotForItemLocationWise_args other) {
|
| - |
|
178428 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
178429 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
178430 |
}
|
| - |
|
178431 |
|
| - |
|
178432 |
int lastComparison = 0;
|
| - |
|
178433 |
getAmazonFbaSalesLatestSnapshotForItemLocationWise_args typedOther = (getAmazonFbaSalesLatestSnapshotForItemLocationWise_args)other;
|
| - |
|
178434 |
|
| - |
|
178435 |
lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
|
| - |
|
178436 |
if (lastComparison != 0) {
|
| - |
|
178437 |
return lastComparison;
|
| - |
|
178438 |
}
|
| - |
|
178439 |
if (isSetItem_id()) {
|
| - |
|
178440 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
|
| - |
|
178441 |
if (lastComparison != 0) {
|
| - |
|
178442 |
return lastComparison;
|
| - |
|
178443 |
}
|
| - |
|
178444 |
}
|
| - |
|
178445 |
lastComparison = Boolean.valueOf(isSetLocation()).compareTo(typedOther.isSetLocation());
|
| - |
|
178446 |
if (lastComparison != 0) {
|
| - |
|
178447 |
return lastComparison;
|
| - |
|
178448 |
}
|
| - |
|
178449 |
if (isSetLocation()) {
|
| - |
|
178450 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.location, typedOther.location);
|
| - |
|
178451 |
if (lastComparison != 0) {
|
| - |
|
178452 |
return lastComparison;
|
| - |
|
178453 |
}
|
| - |
|
178454 |
}
|
| - |
|
178455 |
return 0;
|
| - |
|
178456 |
}
|
| - |
|
178457 |
|
| - |
|
178458 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
178459 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
178460 |
}
|
| - |
|
178461 |
|
| - |
|
178462 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
178463 |
org.apache.thrift.protocol.TField field;
|
| - |
|
178464 |
iprot.readStructBegin();
|
| - |
|
178465 |
while (true)
|
| - |
|
178466 |
{
|
| - |
|
178467 |
field = iprot.readFieldBegin();
|
| - |
|
178468 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
178469 |
break;
|
| - |
|
178470 |
}
|
| - |
|
178471 |
switch (field.id) {
|
| - |
|
178472 |
case 1: // ITEM_ID
|
| - |
|
178473 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
178474 |
this.item_id = iprot.readI64();
|
| - |
|
178475 |
setItem_idIsSet(true);
|
| - |
|
178476 |
} else {
|
| - |
|
178477 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
178478 |
}
|
| - |
|
178479 |
break;
|
| - |
|
178480 |
case 2: // LOCATION
|
| - |
|
178481 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
178482 |
this.location = iprot.readI64();
|
| - |
|
178483 |
setLocationIsSet(true);
|
| - |
|
178484 |
} else {
|
| - |
|
178485 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
178486 |
}
|
| - |
|
178487 |
break;
|
| - |
|
178488 |
default:
|
| - |
|
178489 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
178490 |
}
|
| - |
|
178491 |
iprot.readFieldEnd();
|
| - |
|
178492 |
}
|
| - |
|
178493 |
iprot.readStructEnd();
|
| - |
|
178494 |
validate();
|
| - |
|
178495 |
}
|
| - |
|
178496 |
|
| - |
|
178497 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
178498 |
validate();
|
| - |
|
178499 |
|
| - |
|
178500 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
178501 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
| - |
|
178502 |
oprot.writeI64(this.item_id);
|
| - |
|
178503 |
oprot.writeFieldEnd();
|
| - |
|
178504 |
oprot.writeFieldBegin(LOCATION_FIELD_DESC);
|
| - |
|
178505 |
oprot.writeI64(this.location);
|
| - |
|
178506 |
oprot.writeFieldEnd();
|
| - |
|
178507 |
oprot.writeFieldStop();
|
| - |
|
178508 |
oprot.writeStructEnd();
|
| - |
|
178509 |
}
|
| - |
|
178510 |
|
| - |
|
178511 |
@Override
|
| - |
|
178512 |
public String toString() {
|
| - |
|
178513 |
StringBuilder sb = new StringBuilder("getAmazonFbaSalesLatestSnapshotForItemLocationWise_args(");
|
| - |
|
178514 |
boolean first = true;
|
| - |
|
178515 |
|
| - |
|
178516 |
sb.append("item_id:");
|
| - |
|
178517 |
sb.append(this.item_id);
|
| - |
|
178518 |
first = false;
|
| - |
|
178519 |
if (!first) sb.append(", ");
|
| - |
|
178520 |
sb.append("location:");
|
| - |
|
178521 |
sb.append(this.location);
|
| - |
|
178522 |
first = false;
|
| - |
|
178523 |
sb.append(")");
|
| - |
|
178524 |
return sb.toString();
|
| - |
|
178525 |
}
|
| - |
|
178526 |
|
| - |
|
178527 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
178528 |
// check for required fields
|
| - |
|
178529 |
}
|
| - |
|
178530 |
|
| - |
|
178531 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
178532 |
try {
|
| - |
|
178533 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
178534 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
178535 |
throw new java.io.IOException(te);
|
| - |
|
178536 |
}
|
| - |
|
178537 |
}
|
| - |
|
178538 |
|
| - |
|
178539 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
178540 |
try {
|
| - |
|
178541 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
178542 |
__isset_bit_vector = new BitSet(1);
|
| - |
|
178543 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
178544 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
178545 |
throw new java.io.IOException(te);
|
| - |
|
178546 |
}
|
| - |
|
178547 |
}
|
| - |
|
178548 |
|
| - |
|
178549 |
}
|
| - |
|
178550 |
|
| - |
|
178551 |
public static class getAmazonFbaSalesLatestSnapshotForItemLocationWise_result implements org.apache.thrift.TBase<getAmazonFbaSalesLatestSnapshotForItemLocationWise_result, getAmazonFbaSalesLatestSnapshotForItemLocationWise_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
178552 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonFbaSalesLatestSnapshotForItemLocationWise_result");
|
| - |
|
178553 |
|
| - |
|
178554 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
|
| - |
|
178555 |
|
| - |
|
178556 |
private AmazonFbaSalesSnapshot success; // required
|
| - |
|
178557 |
|
| - |
|
178558 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
178559 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
178560 |
SUCCESS((short)0, "success");
|
| - |
|
178561 |
|
| - |
|
178562 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
178563 |
|
| - |
|
178564 |
static {
|
| - |
|
178565 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
178566 |
byName.put(field.getFieldName(), field);
|
| - |
|
178567 |
}
|
| - |
|
178568 |
}
|
| - |
|
178569 |
|
| - |
|
178570 |
/**
|
| - |
|
178571 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
178572 |
*/
|
| - |
|
178573 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
178574 |
switch(fieldId) {
|
| - |
|
178575 |
case 0: // SUCCESS
|
| - |
|
178576 |
return SUCCESS;
|
| - |
|
178577 |
default:
|
| - |
|
178578 |
return null;
|
| - |
|
178579 |
}
|
| - |
|
178580 |
}
|
| - |
|
178581 |
|
| - |
|
178582 |
/**
|
| - |
|
178583 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
178584 |
* if it is not found.
|
| - |
|
178585 |
*/
|
| - |
|
178586 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
178587 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
178588 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
178589 |
return fields;
|
| - |
|
178590 |
}
|
| - |
|
178591 |
|
| - |
|
178592 |
/**
|
| - |
|
178593 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
178594 |
*/
|
| - |
|
178595 |
public static _Fields findByName(String name) {
|
| - |
|
178596 |
return byName.get(name);
|
| - |
|
178597 |
}
|
| - |
|
178598 |
|
| - |
|
178599 |
private final short _thriftId;
|
| - |
|
178600 |
private final String _fieldName;
|
| - |
|
178601 |
|
| - |
|
178602 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
178603 |
_thriftId = thriftId;
|
| - |
|
178604 |
_fieldName = fieldName;
|
| - |
|
178605 |
}
|
| - |
|
178606 |
|
| - |
|
178607 |
public short getThriftFieldId() {
|
| - |
|
178608 |
return _thriftId;
|
| - |
|
178609 |
}
|
| - |
|
178610 |
|
| - |
|
178611 |
public String getFieldName() {
|
| - |
|
178612 |
return _fieldName;
|
| - |
|
178613 |
}
|
| - |
|
178614 |
}
|
| - |
|
178615 |
|
| - |
|
178616 |
// isset id assignments
|
| - |
|
178617 |
|
| - |
|
178618 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
178619 |
static {
|
| - |
|
178620 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
178621 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
178622 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonFbaSalesSnapshot.class)));
|
| - |
|
178623 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
178624 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonFbaSalesLatestSnapshotForItemLocationWise_result.class, metaDataMap);
|
| - |
|
178625 |
}
|
| - |
|
178626 |
|
| - |
|
178627 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_result() {
|
| - |
|
178628 |
}
|
| - |
|
178629 |
|
| - |
|
178630 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_result(
|
| - |
|
178631 |
AmazonFbaSalesSnapshot success)
|
| - |
|
178632 |
{
|
| - |
|
178633 |
this();
|
| - |
|
178634 |
this.success = success;
|
| - |
|
178635 |
}
|
| - |
|
178636 |
|
| - |
|
178637 |
/**
|
| - |
|
178638 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
178639 |
*/
|
| - |
|
178640 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_result(getAmazonFbaSalesLatestSnapshotForItemLocationWise_result other) {
|
| - |
|
178641 |
if (other.isSetSuccess()) {
|
| - |
|
178642 |
this.success = new AmazonFbaSalesSnapshot(other.success);
|
| - |
|
178643 |
}
|
| - |
|
178644 |
}
|
| - |
|
178645 |
|
| - |
|
178646 |
public getAmazonFbaSalesLatestSnapshotForItemLocationWise_result deepCopy() {
|
| - |
|
178647 |
return new getAmazonFbaSalesLatestSnapshotForItemLocationWise_result(this);
|
| - |
|
178648 |
}
|
| - |
|
178649 |
|
| - |
|
178650 |
@Override
|
| - |
|
178651 |
public void clear() {
|
| - |
|
178652 |
this.success = null;
|
| - |
|
178653 |
}
|
| - |
|
178654 |
|
| - |
|
178655 |
public AmazonFbaSalesSnapshot getSuccess() {
|
| - |
|
178656 |
return this.success;
|
| - |
|
178657 |
}
|
| - |
|
178658 |
|
| - |
|
178659 |
public void setSuccess(AmazonFbaSalesSnapshot success) {
|
| - |
|
178660 |
this.success = success;
|
| - |
|
178661 |
}
|
| - |
|
178662 |
|
| - |
|
178663 |
public void unsetSuccess() {
|
| - |
|
178664 |
this.success = null;
|
| - |
|
178665 |
}
|
| - |
|
178666 |
|
| - |
|
178667 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
| - |
|
178668 |
public boolean isSetSuccess() {
|
| - |
|
178669 |
return this.success != null;
|
| - |
|
178670 |
}
|
| - |
|
178671 |
|
| - |
|
178672 |
public void setSuccessIsSet(boolean value) {
|
| - |
|
178673 |
if (!value) {
|
| - |
|
178674 |
this.success = null;
|
| - |
|
178675 |
}
|
| - |
|
178676 |
}
|
| - |
|
178677 |
|
| - |
|
178678 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
178679 |
switch (field) {
|
| - |
|
178680 |
case SUCCESS:
|
| - |
|
178681 |
if (value == null) {
|
| - |
|
178682 |
unsetSuccess();
|
| - |
|
178683 |
} else {
|
| - |
|
178684 |
setSuccess((AmazonFbaSalesSnapshot)value);
|
| - |
|
178685 |
}
|
| - |
|
178686 |
break;
|
| - |
|
178687 |
|
| - |
|
178688 |
}
|
| - |
|
178689 |
}
|
| - |
|
178690 |
|
| - |
|
178691 |
public Object getFieldValue(_Fields field) {
|
| - |
|
178692 |
switch (field) {
|
| - |
|
178693 |
case SUCCESS:
|
| - |
|
178694 |
return getSuccess();
|
| - |
|
178695 |
|
| - |
|
178696 |
}
|
| - |
|
178697 |
throw new IllegalStateException();
|
| - |
|
178698 |
}
|
| - |
|
178699 |
|
| - |
|
178700 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
178701 |
public boolean isSet(_Fields field) {
|
| - |
|
178702 |
if (field == null) {
|
| - |
|
178703 |
throw new IllegalArgumentException();
|
| - |
|
178704 |
}
|
| - |
|
178705 |
|
| - |
|
178706 |
switch (field) {
|
| - |
|
178707 |
case SUCCESS:
|
| - |
|
178708 |
return isSetSuccess();
|
| - |
|
178709 |
}
|
| - |
|
178710 |
throw new IllegalStateException();
|
| - |
|
178711 |
}
|
| - |
|
178712 |
|
| - |
|
178713 |
@Override
|
| - |
|
178714 |
public boolean equals(Object that) {
|
| - |
|
178715 |
if (that == null)
|
| - |
|
178716 |
return false;
|
| - |
|
178717 |
if (that instanceof getAmazonFbaSalesLatestSnapshotForItemLocationWise_result)
|
| - |
|
178718 |
return this.equals((getAmazonFbaSalesLatestSnapshotForItemLocationWise_result)that);
|
| - |
|
178719 |
return false;
|
| - |
|
178720 |
}
|
| - |
|
178721 |
|
| - |
|
178722 |
public boolean equals(getAmazonFbaSalesLatestSnapshotForItemLocationWise_result that) {
|
| - |
|
178723 |
if (that == null)
|
| - |
|
178724 |
return false;
|
| - |
|
178725 |
|
| - |
|
178726 |
boolean this_present_success = true && this.isSetSuccess();
|
| - |
|
178727 |
boolean that_present_success = true && that.isSetSuccess();
|
| - |
|
178728 |
if (this_present_success || that_present_success) {
|
| - |
|
178729 |
if (!(this_present_success && that_present_success))
|
| - |
|
178730 |
return false;
|
| - |
|
178731 |
if (!this.success.equals(that.success))
|
| - |
|
178732 |
return false;
|
| - |
|
178733 |
}
|
| - |
|
178734 |
|
| - |
|
178735 |
return true;
|
| - |
|
178736 |
}
|
| - |
|
178737 |
|
| - |
|
178738 |
@Override
|
| - |
|
178739 |
public int hashCode() {
|
| - |
|
178740 |
return 0;
|
| - |
|
178741 |
}
|
| - |
|
178742 |
|
| - |
|
178743 |
public int compareTo(getAmazonFbaSalesLatestSnapshotForItemLocationWise_result other) {
|
| - |
|
178744 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
178745 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
178746 |
}
|
| - |
|
178747 |
|
| - |
|
178748 |
int lastComparison = 0;
|
| - |
|
178749 |
getAmazonFbaSalesLatestSnapshotForItemLocationWise_result typedOther = (getAmazonFbaSalesLatestSnapshotForItemLocationWise_result)other;
|
| - |
|
178750 |
|
| - |
|
178751 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| - |
|
178752 |
if (lastComparison != 0) {
|
| - |
|
178753 |
return lastComparison;
|
| - |
|
178754 |
}
|
| - |
|
178755 |
if (isSetSuccess()) {
|
| - |
|
178756 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
|
| - |
|
178757 |
if (lastComparison != 0) {
|
| - |
|
178758 |
return lastComparison;
|
| - |
|
178759 |
}
|
| - |
|
178760 |
}
|
| - |
|
178761 |
return 0;
|
| - |
|
178762 |
}
|
| - |
|
178763 |
|
| - |
|
178764 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
178765 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
178766 |
}
|
| - |
|
178767 |
|
| - |
|
178768 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
178769 |
org.apache.thrift.protocol.TField field;
|
| - |
|
178770 |
iprot.readStructBegin();
|
| - |
|
178771 |
while (true)
|
| - |
|
178772 |
{
|
| - |
|
178773 |
field = iprot.readFieldBegin();
|
| - |
|
178774 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
178775 |
break;
|
| - |
|
178776 |
}
|
| - |
|
178777 |
switch (field.id) {
|
| - |
|
178778 |
case 0: // SUCCESS
|
| - |
|
178779 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
| - |
|
178780 |
this.success = new AmazonFbaSalesSnapshot();
|
| - |
|
178781 |
this.success.read(iprot);
|
| - |
|
178782 |
} else {
|
| - |
|
178783 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
178784 |
}
|
| - |
|
178785 |
break;
|
| - |
|
178786 |
default:
|
| - |
|
178787 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
178788 |
}
|
| - |
|
178789 |
iprot.readFieldEnd();
|
| - |
|
178790 |
}
|
| - |
|
178791 |
iprot.readStructEnd();
|
| - |
|
178792 |
validate();
|
| - |
|
178793 |
}
|
| - |
|
178794 |
|
| - |
|
178795 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
178796 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
178797 |
|
| - |
|
178798 |
if (this.isSetSuccess()) {
|
| - |
|
178799 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| - |
|
178800 |
this.success.write(oprot);
|
| - |
|
178801 |
oprot.writeFieldEnd();
|
| - |
|
178802 |
}
|
| - |
|
178803 |
oprot.writeFieldStop();
|
| - |
|
178804 |
oprot.writeStructEnd();
|
| - |
|
178805 |
}
|
| - |
|
178806 |
|
| - |
|
178807 |
@Override
|
| - |
|
178808 |
public String toString() {
|
| - |
|
178809 |
StringBuilder sb = new StringBuilder("getAmazonFbaSalesLatestSnapshotForItemLocationWise_result(");
|
| - |
|
178810 |
boolean first = true;
|
| - |
|
178811 |
|
| - |
|
178812 |
sb.append("success:");
|
| - |
|
178813 |
if (this.success == null) {
|
| - |
|
178814 |
sb.append("null");
|
| - |
|
178815 |
} else {
|
| - |
|
178816 |
sb.append(this.success);
|
| - |
|
178817 |
}
|
| - |
|
178818 |
first = false;
|
| - |
|
178819 |
sb.append(")");
|
| - |
|
178820 |
return sb.toString();
|
| - |
|
178821 |
}
|
| - |
|
178822 |
|
| 178066 |
public void validate() throws org.apache.thrift.TException {
|
178823 |
public void validate() throws org.apache.thrift.TException {
|
| 178067 |
// check for required fields
|
178824 |
// check for required fields
|
| 178068 |
}
|
178825 |
}
|
| 178069 |
|
178826 |
|
| 178070 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
178827 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|