| Line 349... |
Line 349... |
| 349 |
|
349 |
|
| 350 |
public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem) throws org.apache.thrift.TException;
|
350 |
public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem) throws org.apache.thrift.TException;
|
| 351 |
|
351 |
|
| 352 |
public double getNlcForWarehouse(long warehouse_id, long item_id) throws org.apache.thrift.TException;
|
352 |
public double getNlcForWarehouse(long warehouse_id, long item_id) throws org.apache.thrift.TException;
|
| 353 |
|
353 |
|
| - |
|
354 |
public long getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException;
|
| - |
|
355 |
|
| 354 |
}
|
356 |
}
|
| 355 |
|
357 |
|
| 356 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
358 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 357 |
|
359 |
|
| 358 |
public void addWarehouse(Warehouse warehouse, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addWarehouse_call> resultHandler) throws org.apache.thrift.TException;
|
360 |
public void addWarehouse(Warehouse warehouse, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addWarehouse_call> resultHandler) throws org.apache.thrift.TException;
|
| Line 483... |
Line 485... |
| 483 |
|
485 |
|
| 484 |
public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateSnapdealInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
486 |
public void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateSnapdealInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 485 |
|
487 |
|
| 486 |
public void getNlcForWarehouse(long warehouse_id, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNlcForWarehouse_call> resultHandler) throws org.apache.thrift.TException;
|
488 |
public void getNlcForWarehouse(long warehouse_id, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNlcForWarehouse_call> resultHandler) throws org.apache.thrift.TException;
|
| 487 |
|
489 |
|
| - |
|
490 |
public void getLastUpdatedTimeForSnapdealInventory(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLastUpdatedTimeForSnapdealInventory_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
491 |
|
| 488 |
}
|
492 |
}
|
| 489 |
|
493 |
|
| 490 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
494 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 491 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
495 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| 492 |
public Factory() {}
|
496 |
public Factory() {}
|
| Line 2056... |
Line 2060... |
| 2056 |
return result.success;
|
2060 |
return result.success;
|
| 2057 |
}
|
2061 |
}
|
| 2058 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getNlcForWarehouse failed: unknown result");
|
2062 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getNlcForWarehouse failed: unknown result");
|
| 2059 |
}
|
2063 |
}
|
| 2060 |
|
2064 |
|
| - |
|
2065 |
public long getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException
|
| - |
|
2066 |
{
|
| - |
|
2067 |
send_getLastUpdatedTimeForSnapdealInventory();
|
| - |
|
2068 |
return recv_getLastUpdatedTimeForSnapdealInventory();
|
| - |
|
2069 |
}
|
| - |
|
2070 |
|
| - |
|
2071 |
public void send_getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException
|
| - |
|
2072 |
{
|
| - |
|
2073 |
getLastUpdatedTimeForSnapdealInventory_args args = new getLastUpdatedTimeForSnapdealInventory_args();
|
| - |
|
2074 |
sendBase("getLastUpdatedTimeForSnapdealInventory", args);
|
| - |
|
2075 |
}
|
| - |
|
2076 |
|
| - |
|
2077 |
public long recv_getLastUpdatedTimeForSnapdealInventory() throws org.apache.thrift.TException
|
| - |
|
2078 |
{
|
| - |
|
2079 |
getLastUpdatedTimeForSnapdealInventory_result result = new getLastUpdatedTimeForSnapdealInventory_result();
|
| - |
|
2080 |
receiveBase(result, "getLastUpdatedTimeForSnapdealInventory");
|
| - |
|
2081 |
if (result.isSetSuccess()) {
|
| - |
|
2082 |
return result.success;
|
| - |
|
2083 |
}
|
| - |
|
2084 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLastUpdatedTimeForSnapdealInventory failed: unknown result");
|
| - |
|
2085 |
}
|
| - |
|
2086 |
|
| 2061 |
}
|
2087 |
}
|
| 2062 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
2088 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
| 2063 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
2089 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
| 2064 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
2090 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
| 2065 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
2091 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
| Line 4286... |
Line 4312... |
| 4286 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4312 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4287 |
return (new Client(prot)).recv_getNlcForWarehouse();
|
4313 |
return (new Client(prot)).recv_getNlcForWarehouse();
|
| 4288 |
}
|
4314 |
}
|
| 4289 |
}
|
4315 |
}
|
| 4290 |
|
4316 |
|
| - |
|
4317 |
public void getLastUpdatedTimeForSnapdealInventory(org.apache.thrift.async.AsyncMethodCallback<getLastUpdatedTimeForSnapdealInventory_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
4318 |
checkReady();
|
| - |
|
4319 |
getLastUpdatedTimeForSnapdealInventory_call method_call = new getLastUpdatedTimeForSnapdealInventory_call(resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
4320 |
this.___currentMethod = method_call;
|
| - |
|
4321 |
___manager.call(method_call);
|
| - |
|
4322 |
}
|
| - |
|
4323 |
|
| - |
|
4324 |
public static class getLastUpdatedTimeForSnapdealInventory_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
4325 |
public getLastUpdatedTimeForSnapdealInventory_call(org.apache.thrift.async.AsyncMethodCallback<getLastUpdatedTimeForSnapdealInventory_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 {
|
| - |
|
4326 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
4327 |
}
|
| - |
|
4328 |
|
| - |
|
4329 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
4330 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getLastUpdatedTimeForSnapdealInventory", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
4331 |
getLastUpdatedTimeForSnapdealInventory_args args = new getLastUpdatedTimeForSnapdealInventory_args();
|
| - |
|
4332 |
args.write(prot);
|
| - |
|
4333 |
prot.writeMessageEnd();
|
| - |
|
4334 |
}
|
| - |
|
4335 |
|
| - |
|
4336 |
public long getResult() throws org.apache.thrift.TException {
|
| - |
|
4337 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
4338 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
4339 |
}
|
| - |
|
4340 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
4341 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
4342 |
return (new Client(prot)).recv_getLastUpdatedTimeForSnapdealInventory();
|
| - |
|
4343 |
}
|
| - |
|
4344 |
}
|
| - |
|
4345 |
|
| 4291 |
}
|
4346 |
}
|
| 4292 |
|
4347 |
|
| 4293 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
4348 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
| 4294 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
4349 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
| 4295 |
public Processor(I iface) {
|
4350 |
public Processor(I iface) {
|
| Line 4364... |
Line 4419... |
| 4364 |
processMap.put("getOursGoodWarehouseIdsForLocation", new getOursGoodWarehouseIdsForLocation());
|
4419 |
processMap.put("getOursGoodWarehouseIdsForLocation", new getOursGoodWarehouseIdsForLocation());
|
| 4365 |
processMap.put("getHoldInventoryDetailForItemForWarehouseIdExceptSource", new getHoldInventoryDetailForItemForWarehouseIdExceptSource());
|
4420 |
processMap.put("getHoldInventoryDetailForItemForWarehouseIdExceptSource", new getHoldInventoryDetailForItemForWarehouseIdExceptSource());
|
| 4366 |
processMap.put("getSnapdealInventoryForItem", new getSnapdealInventoryForItem());
|
4421 |
processMap.put("getSnapdealInventoryForItem", new getSnapdealInventoryForItem());
|
| 4367 |
processMap.put("addOrUpdateSnapdealInventoryForItem", new addOrUpdateSnapdealInventoryForItem());
|
4422 |
processMap.put("addOrUpdateSnapdealInventoryForItem", new addOrUpdateSnapdealInventoryForItem());
|
| 4368 |
processMap.put("getNlcForWarehouse", new getNlcForWarehouse());
|
4423 |
processMap.put("getNlcForWarehouse", new getNlcForWarehouse());
|
| - |
|
4424 |
processMap.put("getLastUpdatedTimeForSnapdealInventory", new getLastUpdatedTimeForSnapdealInventory());
|
| 4369 |
return processMap;
|
4425 |
return processMap;
|
| 4370 |
}
|
4426 |
}
|
| 4371 |
|
4427 |
|
| 4372 |
private static class addWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addWarehouse_args> {
|
4428 |
private static class addWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addWarehouse_args> {
|
| 4373 |
public addWarehouse() {
|
4429 |
public addWarehouse() {
|
| Line 5513... |
Line 5569... |
| 5513 |
result.setSuccessIsSet(true);
|
5569 |
result.setSuccessIsSet(true);
|
| 5514 |
return result;
|
5570 |
return result;
|
| 5515 |
}
|
5571 |
}
|
| 5516 |
}
|
5572 |
}
|
| 5517 |
|
5573 |
|
| - |
|
5574 |
private static class getLastUpdatedTimeForSnapdealInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLastUpdatedTimeForSnapdealInventory_args> {
|
| - |
|
5575 |
public getLastUpdatedTimeForSnapdealInventory() {
|
| - |
|
5576 |
super("getLastUpdatedTimeForSnapdealInventory");
|
| - |
|
5577 |
}
|
| - |
|
5578 |
|
| - |
|
5579 |
protected getLastUpdatedTimeForSnapdealInventory_args getEmptyArgsInstance() {
|
| - |
|
5580 |
return new getLastUpdatedTimeForSnapdealInventory_args();
|
| - |
|
5581 |
}
|
| - |
|
5582 |
|
| - |
|
5583 |
protected getLastUpdatedTimeForSnapdealInventory_result getResult(I iface, getLastUpdatedTimeForSnapdealInventory_args args) throws org.apache.thrift.TException {
|
| - |
|
5584 |
getLastUpdatedTimeForSnapdealInventory_result result = new getLastUpdatedTimeForSnapdealInventory_result();
|
| - |
|
5585 |
result.success = iface.getLastUpdatedTimeForSnapdealInventory();
|
| - |
|
5586 |
result.setSuccessIsSet(true);
|
| - |
|
5587 |
return result;
|
| - |
|
5588 |
}
|
| - |
|
5589 |
}
|
| - |
|
5590 |
|
| 5518 |
}
|
5591 |
}
|
| 5519 |
|
5592 |
|
| 5520 |
public static class addWarehouse_args implements org.apache.thrift.TBase<addWarehouse_args, addWarehouse_args._Fields>, java.io.Serializable, Cloneable {
|
5593 |
public static class addWarehouse_args implements org.apache.thrift.TBase<addWarehouse_args, addWarehouse_args._Fields>, java.io.Serializable, Cloneable {
|
| 5521 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addWarehouse_args");
|
5594 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addWarehouse_args");
|
| 5522 |
|
5595 |
|
| Line 48677... |
Line 48750... |
| 48677 |
boolean first = true;
|
48750 |
boolean first = true;
|
| 48678 |
|
48751 |
|
| 48679 |
sb.append("success:");
|
48752 |
sb.append("success:");
|
| 48680 |
sb.append(this.success);
|
48753 |
sb.append(this.success);
|
| 48681 |
first = false;
|
48754 |
first = false;
|
| - |
|
48755 |
sb.append(")");
|
| - |
|
48756 |
return sb.toString();
|
| - |
|
48757 |
}
|
| - |
|
48758 |
|
| - |
|
48759 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
48760 |
// check for required fields
|
| - |
|
48761 |
}
|
| - |
|
48762 |
|
| - |
|
48763 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
48764 |
try {
|
| - |
|
48765 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
48766 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
48767 |
throw new java.io.IOException(te);
|
| - |
|
48768 |
}
|
| - |
|
48769 |
}
|
| - |
|
48770 |
|
| - |
|
48771 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
48772 |
try {
|
| - |
|
48773 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
48774 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
48775 |
throw new java.io.IOException(te);
|
| - |
|
48776 |
}
|
| - |
|
48777 |
}
|
| - |
|
48778 |
|
| - |
|
48779 |
}
|
| - |
|
48780 |
|
| - |
|
48781 |
public static class getLastUpdatedTimeForSnapdealInventory_args implements org.apache.thrift.TBase<getLastUpdatedTimeForSnapdealInventory_args, getLastUpdatedTimeForSnapdealInventory_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
48782 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLastUpdatedTimeForSnapdealInventory_args");
|
| - |
|
48783 |
|
| - |
|
48784 |
|
| - |
|
48785 |
|
| - |
|
48786 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
48787 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
48788 |
;
|
| - |
|
48789 |
|
| - |
|
48790 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
48791 |
|
| - |
|
48792 |
static {
|
| - |
|
48793 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
48794 |
byName.put(field.getFieldName(), field);
|
| - |
|
48795 |
}
|
| - |
|
48796 |
}
|
| - |
|
48797 |
|
| - |
|
48798 |
/**
|
| - |
|
48799 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
48800 |
*/
|
| - |
|
48801 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
48802 |
switch(fieldId) {
|
| - |
|
48803 |
default:
|
| - |
|
48804 |
return null;
|
| - |
|
48805 |
}
|
| - |
|
48806 |
}
|
| - |
|
48807 |
|
| - |
|
48808 |
/**
|
| - |
|
48809 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
48810 |
* if it is not found.
|
| - |
|
48811 |
*/
|
| - |
|
48812 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
48813 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
48814 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
48815 |
return fields;
|
| - |
|
48816 |
}
|
| - |
|
48817 |
|
| - |
|
48818 |
/**
|
| - |
|
48819 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
48820 |
*/
|
| - |
|
48821 |
public static _Fields findByName(String name) {
|
| - |
|
48822 |
return byName.get(name);
|
| - |
|
48823 |
}
|
| - |
|
48824 |
|
| - |
|
48825 |
private final short _thriftId;
|
| - |
|
48826 |
private final String _fieldName;
|
| - |
|
48827 |
|
| - |
|
48828 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
48829 |
_thriftId = thriftId;
|
| - |
|
48830 |
_fieldName = fieldName;
|
| - |
|
48831 |
}
|
| - |
|
48832 |
|
| - |
|
48833 |
public short getThriftFieldId() {
|
| - |
|
48834 |
return _thriftId;
|
| - |
|
48835 |
}
|
| - |
|
48836 |
|
| - |
|
48837 |
public String getFieldName() {
|
| - |
|
48838 |
return _fieldName;
|
| - |
|
48839 |
}
|
| - |
|
48840 |
}
|
| - |
|
48841 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
48842 |
static {
|
| - |
|
48843 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
48844 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
48845 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLastUpdatedTimeForSnapdealInventory_args.class, metaDataMap);
|
| - |
|
48846 |
}
|
| - |
|
48847 |
|
| - |
|
48848 |
public getLastUpdatedTimeForSnapdealInventory_args() {
|
| - |
|
48849 |
}
|
| - |
|
48850 |
|
| - |
|
48851 |
/**
|
| - |
|
48852 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
48853 |
*/
|
| - |
|
48854 |
public getLastUpdatedTimeForSnapdealInventory_args(getLastUpdatedTimeForSnapdealInventory_args other) {
|
| - |
|
48855 |
}
|
| - |
|
48856 |
|
| - |
|
48857 |
public getLastUpdatedTimeForSnapdealInventory_args deepCopy() {
|
| - |
|
48858 |
return new getLastUpdatedTimeForSnapdealInventory_args(this);
|
| - |
|
48859 |
}
|
| - |
|
48860 |
|
| - |
|
48861 |
@Override
|
| - |
|
48862 |
public void clear() {
|
| - |
|
48863 |
}
|
| - |
|
48864 |
|
| - |
|
48865 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
48866 |
switch (field) {
|
| - |
|
48867 |
}
|
| - |
|
48868 |
}
|
| - |
|
48869 |
|
| - |
|
48870 |
public Object getFieldValue(_Fields field) {
|
| - |
|
48871 |
switch (field) {
|
| - |
|
48872 |
}
|
| - |
|
48873 |
throw new IllegalStateException();
|
| - |
|
48874 |
}
|
| - |
|
48875 |
|
| - |
|
48876 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
48877 |
public boolean isSet(_Fields field) {
|
| - |
|
48878 |
if (field == null) {
|
| - |
|
48879 |
throw new IllegalArgumentException();
|
| - |
|
48880 |
}
|
| - |
|
48881 |
|
| - |
|
48882 |
switch (field) {
|
| - |
|
48883 |
}
|
| - |
|
48884 |
throw new IllegalStateException();
|
| - |
|
48885 |
}
|
| - |
|
48886 |
|
| - |
|
48887 |
@Override
|
| - |
|
48888 |
public boolean equals(Object that) {
|
| - |
|
48889 |
if (that == null)
|
| - |
|
48890 |
return false;
|
| - |
|
48891 |
if (that instanceof getLastUpdatedTimeForSnapdealInventory_args)
|
| - |
|
48892 |
return this.equals((getLastUpdatedTimeForSnapdealInventory_args)that);
|
| - |
|
48893 |
return false;
|
| - |
|
48894 |
}
|
| - |
|
48895 |
|
| - |
|
48896 |
public boolean equals(getLastUpdatedTimeForSnapdealInventory_args that) {
|
| - |
|
48897 |
if (that == null)
|
| - |
|
48898 |
return false;
|
| - |
|
48899 |
|
| - |
|
48900 |
return true;
|
| - |
|
48901 |
}
|
| - |
|
48902 |
|
| - |
|
48903 |
@Override
|
| - |
|
48904 |
public int hashCode() {
|
| - |
|
48905 |
return 0;
|
| - |
|
48906 |
}
|
| - |
|
48907 |
|
| - |
|
48908 |
public int compareTo(getLastUpdatedTimeForSnapdealInventory_args other) {
|
| - |
|
48909 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
48910 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
48911 |
}
|
| - |
|
48912 |
|
| - |
|
48913 |
int lastComparison = 0;
|
| - |
|
48914 |
getLastUpdatedTimeForSnapdealInventory_args typedOther = (getLastUpdatedTimeForSnapdealInventory_args)other;
|
| - |
|
48915 |
|
| - |
|
48916 |
return 0;
|
| - |
|
48917 |
}
|
| - |
|
48918 |
|
| - |
|
48919 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
48920 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
48921 |
}
|
| - |
|
48922 |
|
| - |
|
48923 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
48924 |
org.apache.thrift.protocol.TField field;
|
| - |
|
48925 |
iprot.readStructBegin();
|
| - |
|
48926 |
while (true)
|
| - |
|
48927 |
{
|
| - |
|
48928 |
field = iprot.readFieldBegin();
|
| - |
|
48929 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
48930 |
break;
|
| - |
|
48931 |
}
|
| - |
|
48932 |
switch (field.id) {
|
| - |
|
48933 |
default:
|
| - |
|
48934 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
48935 |
}
|
| - |
|
48936 |
iprot.readFieldEnd();
|
| - |
|
48937 |
}
|
| - |
|
48938 |
iprot.readStructEnd();
|
| - |
|
48939 |
validate();
|
| - |
|
48940 |
}
|
| - |
|
48941 |
|
| - |
|
48942 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
48943 |
validate();
|
| - |
|
48944 |
|
| - |
|
48945 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
48946 |
oprot.writeFieldStop();
|
| - |
|
48947 |
oprot.writeStructEnd();
|
| - |
|
48948 |
}
|
| - |
|
48949 |
|
| - |
|
48950 |
@Override
|
| - |
|
48951 |
public String toString() {
|
| - |
|
48952 |
StringBuilder sb = new StringBuilder("getLastUpdatedTimeForSnapdealInventory_args(");
|
| - |
|
48953 |
boolean first = true;
|
| - |
|
48954 |
|
| - |
|
48955 |
sb.append(")");
|
| - |
|
48956 |
return sb.toString();
|
| - |
|
48957 |
}
|
| - |
|
48958 |
|
| - |
|
48959 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
48960 |
// check for required fields
|
| - |
|
48961 |
}
|
| - |
|
48962 |
|
| - |
|
48963 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
48964 |
try {
|
| - |
|
48965 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
48966 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
48967 |
throw new java.io.IOException(te);
|
| - |
|
48968 |
}
|
| - |
|
48969 |
}
|
| - |
|
48970 |
|
| - |
|
48971 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
48972 |
try {
|
| - |
|
48973 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
48974 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
48975 |
throw new java.io.IOException(te);
|
| - |
|
48976 |
}
|
| - |
|
48977 |
}
|
| - |
|
48978 |
|
| - |
|
48979 |
}
|
| - |
|
48980 |
|
| - |
|
48981 |
public static class getLastUpdatedTimeForSnapdealInventory_result implements org.apache.thrift.TBase<getLastUpdatedTimeForSnapdealInventory_result, getLastUpdatedTimeForSnapdealInventory_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
48982 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getLastUpdatedTimeForSnapdealInventory_result");
|
| - |
|
48983 |
|
| - |
|
48984 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
|
| - |
|
48985 |
|
| - |
|
48986 |
private long success; // required
|
| - |
|
48987 |
|
| - |
|
48988 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
48989 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
48990 |
SUCCESS((short)0, "success");
|
| - |
|
48991 |
|
| - |
|
48992 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
48993 |
|
| - |
|
48994 |
static {
|
| - |
|
48995 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
48996 |
byName.put(field.getFieldName(), field);
|
| - |
|
48997 |
}
|
| - |
|
48998 |
}
|
| - |
|
48999 |
|
| - |
|
49000 |
/**
|
| - |
|
49001 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
49002 |
*/
|
| - |
|
49003 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
49004 |
switch(fieldId) {
|
| - |
|
49005 |
case 0: // SUCCESS
|
| - |
|
49006 |
return SUCCESS;
|
| - |
|
49007 |
default:
|
| - |
|
49008 |
return null;
|
| - |
|
49009 |
}
|
| - |
|
49010 |
}
|
| - |
|
49011 |
|
| - |
|
49012 |
/**
|
| - |
|
49013 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
49014 |
* if it is not found.
|
| - |
|
49015 |
*/
|
| - |
|
49016 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
49017 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
49018 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
49019 |
return fields;
|
| - |
|
49020 |
}
|
| - |
|
49021 |
|
| - |
|
49022 |
/**
|
| - |
|
49023 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
49024 |
*/
|
| - |
|
49025 |
public static _Fields findByName(String name) {
|
| - |
|
49026 |
return byName.get(name);
|
| - |
|
49027 |
}
|
| - |
|
49028 |
|
| - |
|
49029 |
private final short _thriftId;
|
| - |
|
49030 |
private final String _fieldName;
|
| - |
|
49031 |
|
| - |
|
49032 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
49033 |
_thriftId = thriftId;
|
| - |
|
49034 |
_fieldName = fieldName;
|
| - |
|
49035 |
}
|
| - |
|
49036 |
|
| - |
|
49037 |
public short getThriftFieldId() {
|
| - |
|
49038 |
return _thriftId;
|
| - |
|
49039 |
}
|
| - |
|
49040 |
|
| - |
|
49041 |
public String getFieldName() {
|
| - |
|
49042 |
return _fieldName;
|
| - |
|
49043 |
}
|
| - |
|
49044 |
}
|
| - |
|
49045 |
|
| - |
|
49046 |
// isset id assignments
|
| - |
|
49047 |
private static final int __SUCCESS_ISSET_ID = 0;
|
| - |
|
49048 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| - |
|
49049 |
|
| - |
|
49050 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
49051 |
static {
|
| - |
|
49052 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
49053 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
49054 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
49055 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
49056 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getLastUpdatedTimeForSnapdealInventory_result.class, metaDataMap);
|
| - |
|
49057 |
}
|
| - |
|
49058 |
|
| - |
|
49059 |
public getLastUpdatedTimeForSnapdealInventory_result() {
|
| - |
|
49060 |
}
|
| - |
|
49061 |
|
| - |
|
49062 |
public getLastUpdatedTimeForSnapdealInventory_result(
|
| - |
|
49063 |
long success)
|
| - |
|
49064 |
{
|
| - |
|
49065 |
this();
|
| - |
|
49066 |
this.success = success;
|
| - |
|
49067 |
setSuccessIsSet(true);
|
| - |
|
49068 |
}
|
| - |
|
49069 |
|
| - |
|
49070 |
/**
|
| - |
|
49071 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
49072 |
*/
|
| - |
|
49073 |
public getLastUpdatedTimeForSnapdealInventory_result(getLastUpdatedTimeForSnapdealInventory_result other) {
|
| - |
|
49074 |
__isset_bit_vector.clear();
|
| - |
|
49075 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| - |
|
49076 |
this.success = other.success;
|
| - |
|
49077 |
}
|
| - |
|
49078 |
|
| - |
|
49079 |
public getLastUpdatedTimeForSnapdealInventory_result deepCopy() {
|
| - |
|
49080 |
return new getLastUpdatedTimeForSnapdealInventory_result(this);
|
| - |
|
49081 |
}
|
| - |
|
49082 |
|
| - |
|
49083 |
@Override
|
| - |
|
49084 |
public void clear() {
|
| - |
|
49085 |
setSuccessIsSet(false);
|
| - |
|
49086 |
this.success = 0;
|
| - |
|
49087 |
}
|
| - |
|
49088 |
|
| - |
|
49089 |
public long getSuccess() {
|
| - |
|
49090 |
return this.success;
|
| - |
|
49091 |
}
|
| - |
|
49092 |
|
| - |
|
49093 |
public void setSuccess(long success) {
|
| - |
|
49094 |
this.success = success;
|
| - |
|
49095 |
setSuccessIsSet(true);
|
| - |
|
49096 |
}
|
| - |
|
49097 |
|
| - |
|
49098 |
public void unsetSuccess() {
|
| - |
|
49099 |
__isset_bit_vector.clear(__SUCCESS_ISSET_ID);
|
| - |
|
49100 |
}
|
| - |
|
49101 |
|
| - |
|
49102 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
| - |
|
49103 |
public boolean isSetSuccess() {
|
| - |
|
49104 |
return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
|
| - |
|
49105 |
}
|
| - |
|
49106 |
|
| - |
|
49107 |
public void setSuccessIsSet(boolean value) {
|
| - |
|
49108 |
__isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
|
| - |
|
49109 |
}
|
| - |
|
49110 |
|
| - |
|
49111 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
49112 |
switch (field) {
|
| - |
|
49113 |
case SUCCESS:
|
| - |
|
49114 |
if (value == null) {
|
| - |
|
49115 |
unsetSuccess();
|
| - |
|
49116 |
} else {
|
| - |
|
49117 |
setSuccess((Long)value);
|
| - |
|
49118 |
}
|
| - |
|
49119 |
break;
|
| - |
|
49120 |
|
| - |
|
49121 |
}
|
| - |
|
49122 |
}
|
| - |
|
49123 |
|
| - |
|
49124 |
public Object getFieldValue(_Fields field) {
|
| - |
|
49125 |
switch (field) {
|
| - |
|
49126 |
case SUCCESS:
|
| - |
|
49127 |
return Long.valueOf(getSuccess());
|
| - |
|
49128 |
|
| - |
|
49129 |
}
|
| - |
|
49130 |
throw new IllegalStateException();
|
| - |
|
49131 |
}
|
| - |
|
49132 |
|
| - |
|
49133 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
49134 |
public boolean isSet(_Fields field) {
|
| - |
|
49135 |
if (field == null) {
|
| - |
|
49136 |
throw new IllegalArgumentException();
|
| - |
|
49137 |
}
|
| - |
|
49138 |
|
| - |
|
49139 |
switch (field) {
|
| - |
|
49140 |
case SUCCESS:
|
| - |
|
49141 |
return isSetSuccess();
|
| - |
|
49142 |
}
|
| - |
|
49143 |
throw new IllegalStateException();
|
| - |
|
49144 |
}
|
| - |
|
49145 |
|
| - |
|
49146 |
@Override
|
| - |
|
49147 |
public boolean equals(Object that) {
|
| - |
|
49148 |
if (that == null)
|
| - |
|
49149 |
return false;
|
| - |
|
49150 |
if (that instanceof getLastUpdatedTimeForSnapdealInventory_result)
|
| - |
|
49151 |
return this.equals((getLastUpdatedTimeForSnapdealInventory_result)that);
|
| - |
|
49152 |
return false;
|
| - |
|
49153 |
}
|
| - |
|
49154 |
|
| - |
|
49155 |
public boolean equals(getLastUpdatedTimeForSnapdealInventory_result that) {
|
| - |
|
49156 |
if (that == null)
|
| - |
|
49157 |
return false;
|
| - |
|
49158 |
|
| - |
|
49159 |
boolean this_present_success = true;
|
| - |
|
49160 |
boolean that_present_success = true;
|
| - |
|
49161 |
if (this_present_success || that_present_success) {
|
| - |
|
49162 |
if (!(this_present_success && that_present_success))
|
| - |
|
49163 |
return false;
|
| - |
|
49164 |
if (this.success != that.success)
|
| - |
|
49165 |
return false;
|
| - |
|
49166 |
}
|
| - |
|
49167 |
|
| - |
|
49168 |
return true;
|
| - |
|
49169 |
}
|
| - |
|
49170 |
|
| - |
|
49171 |
@Override
|
| - |
|
49172 |
public int hashCode() {
|
| - |
|
49173 |
return 0;
|
| - |
|
49174 |
}
|
| - |
|
49175 |
|
| - |
|
49176 |
public int compareTo(getLastUpdatedTimeForSnapdealInventory_result other) {
|
| - |
|
49177 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
49178 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
49179 |
}
|
| - |
|
49180 |
|
| - |
|
49181 |
int lastComparison = 0;
|
| - |
|
49182 |
getLastUpdatedTimeForSnapdealInventory_result typedOther = (getLastUpdatedTimeForSnapdealInventory_result)other;
|
| - |
|
49183 |
|
| - |
|
49184 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| - |
|
49185 |
if (lastComparison != 0) {
|
| - |
|
49186 |
return lastComparison;
|
| - |
|
49187 |
}
|
| - |
|
49188 |
if (isSetSuccess()) {
|
| - |
|
49189 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
|
| - |
|
49190 |
if (lastComparison != 0) {
|
| - |
|
49191 |
return lastComparison;
|
| - |
|
49192 |
}
|
| - |
|
49193 |
}
|
| - |
|
49194 |
return 0;
|
| - |
|
49195 |
}
|
| - |
|
49196 |
|
| - |
|
49197 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
49198 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
49199 |
}
|
| - |
|
49200 |
|
| - |
|
49201 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
49202 |
org.apache.thrift.protocol.TField field;
|
| - |
|
49203 |
iprot.readStructBegin();
|
| - |
|
49204 |
while (true)
|
| - |
|
49205 |
{
|
| - |
|
49206 |
field = iprot.readFieldBegin();
|
| - |
|
49207 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
49208 |
break;
|
| - |
|
49209 |
}
|
| - |
|
49210 |
switch (field.id) {
|
| - |
|
49211 |
case 0: // SUCCESS
|
| - |
|
49212 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
49213 |
this.success = iprot.readI64();
|
| - |
|
49214 |
setSuccessIsSet(true);
|
| - |
|
49215 |
} else {
|
| - |
|
49216 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
49217 |
}
|
| - |
|
49218 |
break;
|
| - |
|
49219 |
default:
|
| - |
|
49220 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
49221 |
}
|
| - |
|
49222 |
iprot.readFieldEnd();
|
| - |
|
49223 |
}
|
| - |
|
49224 |
iprot.readStructEnd();
|
| - |
|
49225 |
validate();
|
| - |
|
49226 |
}
|
| - |
|
49227 |
|
| - |
|
49228 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
49229 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
49230 |
|
| - |
|
49231 |
if (this.isSetSuccess()) {
|
| - |
|
49232 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| - |
|
49233 |
oprot.writeI64(this.success);
|
| - |
|
49234 |
oprot.writeFieldEnd();
|
| - |
|
49235 |
}
|
| - |
|
49236 |
oprot.writeFieldStop();
|
| - |
|
49237 |
oprot.writeStructEnd();
|
| - |
|
49238 |
}
|
| - |
|
49239 |
|
| - |
|
49240 |
@Override
|
| - |
|
49241 |
public String toString() {
|
| - |
|
49242 |
StringBuilder sb = new StringBuilder("getLastUpdatedTimeForSnapdealInventory_result(");
|
| - |
|
49243 |
boolean first = true;
|
| - |
|
49244 |
|
| - |
|
49245 |
sb.append("success:");
|
| - |
|
49246 |
sb.append(this.success);
|
| - |
|
49247 |
first = false;
|
| 48682 |
sb.append(")");
|
49248 |
sb.append(")");
|
| 48683 |
return sb.toString();
|
49249 |
return sb.toString();
|
| 48684 |
}
|
49250 |
}
|
| 48685 |
|
49251 |
|
| 48686 |
public void validate() throws org.apache.thrift.TException {
|
49252 |
public void validate() throws org.apache.thrift.TException {
|