| Line 160... |
Line 160... |
| 160 |
|
160 |
|
| 161 |
public DeliveryEstimateAndCosting getCostingAndDeliveryEstimateForPincode(String pincode, double transactionAmount, boolean isCod, double weight, long billingWarehouseId, boolean isCompleteTxn) throws LogisticsServiceException, org.apache.thrift.TException;
|
161 |
public DeliveryEstimateAndCosting getCostingAndDeliveryEstimateForPincode(String pincode, double transactionAmount, boolean isCod, double weight, long billingWarehouseId, boolean isCompleteTxn) throws LogisticsServiceException, org.apache.thrift.TException;
|
| 162 |
|
162 |
|
| 163 |
public BluedartAttributes getBluedartAttributesForLogisticsTxnId(String logisticsTxnId, String name) throws LogisticsServiceException, org.apache.thrift.TException;
|
163 |
public BluedartAttributes getBluedartAttributesForLogisticsTxnId(String logisticsTxnId, String name) throws LogisticsServiceException, org.apache.thrift.TException;
|
| 164 |
|
164 |
|
| - |
|
165 |
public boolean pushCourierDetailsForEcomExpress(List<String> logisticsTransactionIds) throws org.apache.thrift.TException;
|
| - |
|
166 |
|
| 165 |
}
|
167 |
}
|
| 166 |
|
168 |
|
| 167 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
169 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 168 |
|
170 |
|
| 169 |
public void getProvider(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getProvider_call> resultHandler) throws org.apache.thrift.TException;
|
171 |
public void getProvider(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getProvider_call> resultHandler) throws org.apache.thrift.TException;
|
| Line 218... |
Line 220... |
| 218 |
|
220 |
|
| 219 |
public void getCostingAndDeliveryEstimateForPincode(String pincode, double transactionAmount, boolean isCod, double weight, long billingWarehouseId, boolean isCompleteTxn, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCostingAndDeliveryEstimateForPincode_call> resultHandler) throws org.apache.thrift.TException;
|
221 |
public void getCostingAndDeliveryEstimateForPincode(String pincode, double transactionAmount, boolean isCod, double weight, long billingWarehouseId, boolean isCompleteTxn, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCostingAndDeliveryEstimateForPincode_call> resultHandler) throws org.apache.thrift.TException;
|
| 220 |
|
222 |
|
| 221 |
public void getBluedartAttributesForLogisticsTxnId(String logisticsTxnId, String name, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBluedartAttributesForLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
223 |
public void getBluedartAttributesForLogisticsTxnId(String logisticsTxnId, String name, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBluedartAttributesForLogisticsTxnId_call> resultHandler) throws org.apache.thrift.TException;
|
| 222 |
|
224 |
|
| - |
|
225 |
public void pushCourierDetailsForEcomExpress(List<String> logisticsTransactionIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.pushCourierDetailsForEcomExpress_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
226 |
|
| 223 |
}
|
227 |
}
|
| 224 |
|
228 |
|
| 225 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
229 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 226 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
230 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| 227 |
public Factory() {}
|
231 |
public Factory() {}
|
| Line 930... |
Line 934... |
| 930 |
throw result.se;
|
934 |
throw result.se;
|
| 931 |
}
|
935 |
}
|
| 932 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBluedartAttributesForLogisticsTxnId failed: unknown result");
|
936 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBluedartAttributesForLogisticsTxnId failed: unknown result");
|
| 933 |
}
|
937 |
}
|
| 934 |
|
938 |
|
| - |
|
939 |
public boolean pushCourierDetailsForEcomExpress(List<String> logisticsTransactionIds) throws org.apache.thrift.TException
|
| - |
|
940 |
{
|
| - |
|
941 |
send_pushCourierDetailsForEcomExpress(logisticsTransactionIds);
|
| - |
|
942 |
return recv_pushCourierDetailsForEcomExpress();
|
| - |
|
943 |
}
|
| - |
|
944 |
|
| - |
|
945 |
public void send_pushCourierDetailsForEcomExpress(List<String> logisticsTransactionIds) throws org.apache.thrift.TException
|
| - |
|
946 |
{
|
| - |
|
947 |
pushCourierDetailsForEcomExpress_args args = new pushCourierDetailsForEcomExpress_args();
|
| - |
|
948 |
args.setLogisticsTransactionIds(logisticsTransactionIds);
|
| - |
|
949 |
sendBase("pushCourierDetailsForEcomExpress", args);
|
| - |
|
950 |
}
|
| - |
|
951 |
|
| - |
|
952 |
public boolean recv_pushCourierDetailsForEcomExpress() throws org.apache.thrift.TException
|
| - |
|
953 |
{
|
| - |
|
954 |
pushCourierDetailsForEcomExpress_result result = new pushCourierDetailsForEcomExpress_result();
|
| - |
|
955 |
receiveBase(result, "pushCourierDetailsForEcomExpress");
|
| - |
|
956 |
if (result.isSetSuccess()) {
|
| - |
|
957 |
return result.success;
|
| - |
|
958 |
}
|
| - |
|
959 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "pushCourierDetailsForEcomExpress failed: unknown result");
|
| - |
|
960 |
}
|
| - |
|
961 |
|
| 935 |
}
|
962 |
}
|
| 936 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
963 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
| 937 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
964 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
| 938 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
965 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
| 939 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
966 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
| Line 1929... |
Line 1956... |
| 1929 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
1956 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 1930 |
return (new Client(prot)).recv_getBluedartAttributesForLogisticsTxnId();
|
1957 |
return (new Client(prot)).recv_getBluedartAttributesForLogisticsTxnId();
|
| 1931 |
}
|
1958 |
}
|
| 1932 |
}
|
1959 |
}
|
| 1933 |
|
1960 |
|
| - |
|
1961 |
public void pushCourierDetailsForEcomExpress(List<String> logisticsTransactionIds, org.apache.thrift.async.AsyncMethodCallback<pushCourierDetailsForEcomExpress_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
1962 |
checkReady();
|
| - |
|
1963 |
pushCourierDetailsForEcomExpress_call method_call = new pushCourierDetailsForEcomExpress_call(logisticsTransactionIds, resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
1964 |
this.___currentMethod = method_call;
|
| - |
|
1965 |
___manager.call(method_call);
|
| - |
|
1966 |
}
|
| - |
|
1967 |
|
| - |
|
1968 |
public static class pushCourierDetailsForEcomExpress_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
1969 |
private List<String> logisticsTransactionIds;
|
| - |
|
1970 |
public pushCourierDetailsForEcomExpress_call(List<String> logisticsTransactionIds, org.apache.thrift.async.AsyncMethodCallback<pushCourierDetailsForEcomExpress_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 {
|
| - |
|
1971 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
1972 |
this.logisticsTransactionIds = logisticsTransactionIds;
|
| - |
|
1973 |
}
|
| - |
|
1974 |
|
| - |
|
1975 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
1976 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("pushCourierDetailsForEcomExpress", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
1977 |
pushCourierDetailsForEcomExpress_args args = new pushCourierDetailsForEcomExpress_args();
|
| - |
|
1978 |
args.setLogisticsTransactionIds(logisticsTransactionIds);
|
| - |
|
1979 |
args.write(prot);
|
| - |
|
1980 |
prot.writeMessageEnd();
|
| - |
|
1981 |
}
|
| - |
|
1982 |
|
| - |
|
1983 |
public boolean getResult() throws org.apache.thrift.TException {
|
| - |
|
1984 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
1985 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
1986 |
}
|
| - |
|
1987 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
1988 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
1989 |
return (new Client(prot)).recv_pushCourierDetailsForEcomExpress();
|
| - |
|
1990 |
}
|
| - |
|
1991 |
}
|
| - |
|
1992 |
|
| 1934 |
}
|
1993 |
}
|
| 1935 |
|
1994 |
|
| 1936 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
1995 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
| 1937 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
1996 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
| 1938 |
public Processor(I iface) {
|
1997 |
public Processor(I iface) {
|
| Line 1969... |
Line 2028... |
| 1969 |
processMap.put("getNewEmptyAwb", new getNewEmptyAwb());
|
2028 |
processMap.put("getNewEmptyAwb", new getNewEmptyAwb());
|
| 1970 |
processMap.put("getProviderLimitDetailsForPincode", new getProviderLimitDetailsForPincode());
|
2029 |
processMap.put("getProviderLimitDetailsForPincode", new getProviderLimitDetailsForPincode());
|
| 1971 |
processMap.put("getLocationInfoMap", new getLocationInfoMap());
|
2030 |
processMap.put("getLocationInfoMap", new getLocationInfoMap());
|
| 1972 |
processMap.put("getCostingAndDeliveryEstimateForPincode", new getCostingAndDeliveryEstimateForPincode());
|
2031 |
processMap.put("getCostingAndDeliveryEstimateForPincode", new getCostingAndDeliveryEstimateForPincode());
|
| 1973 |
processMap.put("getBluedartAttributesForLogisticsTxnId", new getBluedartAttributesForLogisticsTxnId());
|
2032 |
processMap.put("getBluedartAttributesForLogisticsTxnId", new getBluedartAttributesForLogisticsTxnId());
|
| - |
|
2033 |
processMap.put("pushCourierDetailsForEcomExpress", new pushCourierDetailsForEcomExpress());
|
| 1974 |
return processMap;
|
2034 |
return processMap;
|
| 1975 |
}
|
2035 |
}
|
| 1976 |
|
2036 |
|
| 1977 |
private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
|
2037 |
private static class getProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getProvider_args> {
|
| 1978 |
public getProvider() {
|
2038 |
public getProvider() {
|
| Line 2465... |
Line 2525... |
| 2465 |
}
|
2525 |
}
|
| 2466 |
return result;
|
2526 |
return result;
|
| 2467 |
}
|
2527 |
}
|
| 2468 |
}
|
2528 |
}
|
| 2469 |
|
2529 |
|
| - |
|
2530 |
private static class pushCourierDetailsForEcomExpress<I extends Iface> extends org.apache.thrift.ProcessFunction<I, pushCourierDetailsForEcomExpress_args> {
|
| - |
|
2531 |
public pushCourierDetailsForEcomExpress() {
|
| - |
|
2532 |
super("pushCourierDetailsForEcomExpress");
|
| - |
|
2533 |
}
|
| - |
|
2534 |
|
| - |
|
2535 |
protected pushCourierDetailsForEcomExpress_args getEmptyArgsInstance() {
|
| - |
|
2536 |
return new pushCourierDetailsForEcomExpress_args();
|
| - |
|
2537 |
}
|
| - |
|
2538 |
|
| - |
|
2539 |
protected pushCourierDetailsForEcomExpress_result getResult(I iface, pushCourierDetailsForEcomExpress_args args) throws org.apache.thrift.TException {
|
| - |
|
2540 |
pushCourierDetailsForEcomExpress_result result = new pushCourierDetailsForEcomExpress_result();
|
| - |
|
2541 |
result.success = iface.pushCourierDetailsForEcomExpress(args.logisticsTransactionIds);
|
| - |
|
2542 |
result.setSuccessIsSet(true);
|
| - |
|
2543 |
return result;
|
| - |
|
2544 |
}
|
| - |
|
2545 |
}
|
| - |
|
2546 |
|
| 2470 |
}
|
2547 |
}
|
| 2471 |
|
2548 |
|
| 2472 |
public static class getProvider_args implements org.apache.thrift.TBase<getProvider_args, getProvider_args._Fields>, java.io.Serializable, Cloneable {
|
2549 |
public static class getProvider_args implements org.apache.thrift.TBase<getProvider_args, getProvider_args._Fields>, java.io.Serializable, Cloneable {
|
| 2473 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProvider_args");
|
2550 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProvider_args");
|
| 2474 |
|
2551 |
|
| Line 22982... |
Line 23059... |
| 22982 |
first = false;
|
23059 |
first = false;
|
| 22983 |
sb.append(")");
|
23060 |
sb.append(")");
|
| 22984 |
return sb.toString();
|
23061 |
return sb.toString();
|
| 22985 |
}
|
23062 |
}
|
| 22986 |
|
23063 |
|
| - |
|
23064 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
23065 |
// check for required fields
|
| - |
|
23066 |
}
|
| - |
|
23067 |
|
| - |
|
23068 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
23069 |
try {
|
| - |
|
23070 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
23071 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
23072 |
throw new java.io.IOException(te);
|
| - |
|
23073 |
}
|
| - |
|
23074 |
}
|
| - |
|
23075 |
|
| - |
|
23076 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
23077 |
try {
|
| - |
|
23078 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
23079 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
23080 |
throw new java.io.IOException(te);
|
| - |
|
23081 |
}
|
| - |
|
23082 |
}
|
| - |
|
23083 |
|
| - |
|
23084 |
}
|
| - |
|
23085 |
|
| - |
|
23086 |
public static class pushCourierDetailsForEcomExpress_args implements org.apache.thrift.TBase<pushCourierDetailsForEcomExpress_args, pushCourierDetailsForEcomExpress_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
23087 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("pushCourierDetailsForEcomExpress_args");
|
| - |
|
23088 |
|
| - |
|
23089 |
private static final org.apache.thrift.protocol.TField LOGISTICS_TRANSACTION_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsTransactionIds", org.apache.thrift.protocol.TType.LIST, (short)1);
|
| - |
|
23090 |
|
| - |
|
23091 |
private List<String> logisticsTransactionIds; // required
|
| - |
|
23092 |
|
| - |
|
23093 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
23094 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
23095 |
LOGISTICS_TRANSACTION_IDS((short)1, "logisticsTransactionIds");
|
| - |
|
23096 |
|
| - |
|
23097 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
23098 |
|
| - |
|
23099 |
static {
|
| - |
|
23100 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
23101 |
byName.put(field.getFieldName(), field);
|
| - |
|
23102 |
}
|
| - |
|
23103 |
}
|
| - |
|
23104 |
|
| - |
|
23105 |
/**
|
| - |
|
23106 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
23107 |
*/
|
| - |
|
23108 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
23109 |
switch(fieldId) {
|
| - |
|
23110 |
case 1: // LOGISTICS_TRANSACTION_IDS
|
| - |
|
23111 |
return LOGISTICS_TRANSACTION_IDS;
|
| - |
|
23112 |
default:
|
| - |
|
23113 |
return null;
|
| - |
|
23114 |
}
|
| - |
|
23115 |
}
|
| - |
|
23116 |
|
| - |
|
23117 |
/**
|
| - |
|
23118 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
23119 |
* if it is not found.
|
| - |
|
23120 |
*/
|
| - |
|
23121 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
23122 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
23123 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
23124 |
return fields;
|
| - |
|
23125 |
}
|
| - |
|
23126 |
|
| - |
|
23127 |
/**
|
| - |
|
23128 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
23129 |
*/
|
| - |
|
23130 |
public static _Fields findByName(String name) {
|
| - |
|
23131 |
return byName.get(name);
|
| - |
|
23132 |
}
|
| - |
|
23133 |
|
| - |
|
23134 |
private final short _thriftId;
|
| - |
|
23135 |
private final String _fieldName;
|
| - |
|
23136 |
|
| - |
|
23137 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
23138 |
_thriftId = thriftId;
|
| - |
|
23139 |
_fieldName = fieldName;
|
| - |
|
23140 |
}
|
| - |
|
23141 |
|
| - |
|
23142 |
public short getThriftFieldId() {
|
| - |
|
23143 |
return _thriftId;
|
| - |
|
23144 |
}
|
| - |
|
23145 |
|
| - |
|
23146 |
public String getFieldName() {
|
| - |
|
23147 |
return _fieldName;
|
| - |
|
23148 |
}
|
| - |
|
23149 |
}
|
| - |
|
23150 |
|
| - |
|
23151 |
// isset id assignments
|
| - |
|
23152 |
|
| - |
|
23153 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
23154 |
static {
|
| - |
|
23155 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
23156 |
tmpMap.put(_Fields.LOGISTICS_TRANSACTION_IDS, new org.apache.thrift.meta_data.FieldMetaData("logisticsTransactionIds", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
23157 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
| - |
|
23158 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
|
| - |
|
23159 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
23160 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(pushCourierDetailsForEcomExpress_args.class, metaDataMap);
|
| - |
|
23161 |
}
|
| - |
|
23162 |
|
| - |
|
23163 |
public pushCourierDetailsForEcomExpress_args() {
|
| - |
|
23164 |
}
|
| - |
|
23165 |
|
| - |
|
23166 |
public pushCourierDetailsForEcomExpress_args(
|
| - |
|
23167 |
List<String> logisticsTransactionIds)
|
| - |
|
23168 |
{
|
| - |
|
23169 |
this();
|
| - |
|
23170 |
this.logisticsTransactionIds = logisticsTransactionIds;
|
| - |
|
23171 |
}
|
| - |
|
23172 |
|
| - |
|
23173 |
/**
|
| - |
|
23174 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
23175 |
*/
|
| - |
|
23176 |
public pushCourierDetailsForEcomExpress_args(pushCourierDetailsForEcomExpress_args other) {
|
| - |
|
23177 |
if (other.isSetLogisticsTransactionIds()) {
|
| - |
|
23178 |
List<String> __this__logisticsTransactionIds = new ArrayList<String>();
|
| - |
|
23179 |
for (String other_element : other.logisticsTransactionIds) {
|
| - |
|
23180 |
__this__logisticsTransactionIds.add(other_element);
|
| - |
|
23181 |
}
|
| - |
|
23182 |
this.logisticsTransactionIds = __this__logisticsTransactionIds;
|
| - |
|
23183 |
}
|
| - |
|
23184 |
}
|
| - |
|
23185 |
|
| - |
|
23186 |
public pushCourierDetailsForEcomExpress_args deepCopy() {
|
| - |
|
23187 |
return new pushCourierDetailsForEcomExpress_args(this);
|
| - |
|
23188 |
}
|
| - |
|
23189 |
|
| - |
|
23190 |
@Override
|
| - |
|
23191 |
public void clear() {
|
| - |
|
23192 |
this.logisticsTransactionIds = null;
|
| - |
|
23193 |
}
|
| - |
|
23194 |
|
| - |
|
23195 |
public int getLogisticsTransactionIdsSize() {
|
| - |
|
23196 |
return (this.logisticsTransactionIds == null) ? 0 : this.logisticsTransactionIds.size();
|
| - |
|
23197 |
}
|
| - |
|
23198 |
|
| - |
|
23199 |
public java.util.Iterator<String> getLogisticsTransactionIdsIterator() {
|
| - |
|
23200 |
return (this.logisticsTransactionIds == null) ? null : this.logisticsTransactionIds.iterator();
|
| - |
|
23201 |
}
|
| - |
|
23202 |
|
| - |
|
23203 |
public void addToLogisticsTransactionIds(String elem) {
|
| - |
|
23204 |
if (this.logisticsTransactionIds == null) {
|
| - |
|
23205 |
this.logisticsTransactionIds = new ArrayList<String>();
|
| - |
|
23206 |
}
|
| - |
|
23207 |
this.logisticsTransactionIds.add(elem);
|
| - |
|
23208 |
}
|
| - |
|
23209 |
|
| - |
|
23210 |
public List<String> getLogisticsTransactionIds() {
|
| - |
|
23211 |
return this.logisticsTransactionIds;
|
| - |
|
23212 |
}
|
| - |
|
23213 |
|
| - |
|
23214 |
public void setLogisticsTransactionIds(List<String> logisticsTransactionIds) {
|
| - |
|
23215 |
this.logisticsTransactionIds = logisticsTransactionIds;
|
| - |
|
23216 |
}
|
| - |
|
23217 |
|
| - |
|
23218 |
public void unsetLogisticsTransactionIds() {
|
| - |
|
23219 |
this.logisticsTransactionIds = null;
|
| - |
|
23220 |
}
|
| - |
|
23221 |
|
| - |
|
23222 |
/** Returns true if field logisticsTransactionIds is set (has been assigned a value) and false otherwise */
|
| - |
|
23223 |
public boolean isSetLogisticsTransactionIds() {
|
| - |
|
23224 |
return this.logisticsTransactionIds != null;
|
| - |
|
23225 |
}
|
| - |
|
23226 |
|
| - |
|
23227 |
public void setLogisticsTransactionIdsIsSet(boolean value) {
|
| - |
|
23228 |
if (!value) {
|
| - |
|
23229 |
this.logisticsTransactionIds = null;
|
| - |
|
23230 |
}
|
| - |
|
23231 |
}
|
| - |
|
23232 |
|
| - |
|
23233 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
23234 |
switch (field) {
|
| - |
|
23235 |
case LOGISTICS_TRANSACTION_IDS:
|
| - |
|
23236 |
if (value == null) {
|
| - |
|
23237 |
unsetLogisticsTransactionIds();
|
| - |
|
23238 |
} else {
|
| - |
|
23239 |
setLogisticsTransactionIds((List<String>)value);
|
| - |
|
23240 |
}
|
| - |
|
23241 |
break;
|
| - |
|
23242 |
|
| - |
|
23243 |
}
|
| - |
|
23244 |
}
|
| - |
|
23245 |
|
| - |
|
23246 |
public Object getFieldValue(_Fields field) {
|
| - |
|
23247 |
switch (field) {
|
| - |
|
23248 |
case LOGISTICS_TRANSACTION_IDS:
|
| - |
|
23249 |
return getLogisticsTransactionIds();
|
| - |
|
23250 |
|
| - |
|
23251 |
}
|
| - |
|
23252 |
throw new IllegalStateException();
|
| - |
|
23253 |
}
|
| - |
|
23254 |
|
| - |
|
23255 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
23256 |
public boolean isSet(_Fields field) {
|
| - |
|
23257 |
if (field == null) {
|
| - |
|
23258 |
throw new IllegalArgumentException();
|
| - |
|
23259 |
}
|
| - |
|
23260 |
|
| - |
|
23261 |
switch (field) {
|
| - |
|
23262 |
case LOGISTICS_TRANSACTION_IDS:
|
| - |
|
23263 |
return isSetLogisticsTransactionIds();
|
| - |
|
23264 |
}
|
| - |
|
23265 |
throw new IllegalStateException();
|
| - |
|
23266 |
}
|
| - |
|
23267 |
|
| - |
|
23268 |
@Override
|
| - |
|
23269 |
public boolean equals(Object that) {
|
| - |
|
23270 |
if (that == null)
|
| - |
|
23271 |
return false;
|
| - |
|
23272 |
if (that instanceof pushCourierDetailsForEcomExpress_args)
|
| - |
|
23273 |
return this.equals((pushCourierDetailsForEcomExpress_args)that);
|
| - |
|
23274 |
return false;
|
| - |
|
23275 |
}
|
| - |
|
23276 |
|
| - |
|
23277 |
public boolean equals(pushCourierDetailsForEcomExpress_args that) {
|
| - |
|
23278 |
if (that == null)
|
| - |
|
23279 |
return false;
|
| - |
|
23280 |
|
| - |
|
23281 |
boolean this_present_logisticsTransactionIds = true && this.isSetLogisticsTransactionIds();
|
| - |
|
23282 |
boolean that_present_logisticsTransactionIds = true && that.isSetLogisticsTransactionIds();
|
| - |
|
23283 |
if (this_present_logisticsTransactionIds || that_present_logisticsTransactionIds) {
|
| - |
|
23284 |
if (!(this_present_logisticsTransactionIds && that_present_logisticsTransactionIds))
|
| - |
|
23285 |
return false;
|
| - |
|
23286 |
if (!this.logisticsTransactionIds.equals(that.logisticsTransactionIds))
|
| - |
|
23287 |
return false;
|
| - |
|
23288 |
}
|
| - |
|
23289 |
|
| - |
|
23290 |
return true;
|
| - |
|
23291 |
}
|
| - |
|
23292 |
|
| - |
|
23293 |
@Override
|
| - |
|
23294 |
public int hashCode() {
|
| - |
|
23295 |
return 0;
|
| - |
|
23296 |
}
|
| - |
|
23297 |
|
| - |
|
23298 |
public int compareTo(pushCourierDetailsForEcomExpress_args other) {
|
| - |
|
23299 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
23300 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
23301 |
}
|
| - |
|
23302 |
|
| - |
|
23303 |
int lastComparison = 0;
|
| - |
|
23304 |
pushCourierDetailsForEcomExpress_args typedOther = (pushCourierDetailsForEcomExpress_args)other;
|
| - |
|
23305 |
|
| - |
|
23306 |
lastComparison = Boolean.valueOf(isSetLogisticsTransactionIds()).compareTo(typedOther.isSetLogisticsTransactionIds());
|
| - |
|
23307 |
if (lastComparison != 0) {
|
| - |
|
23308 |
return lastComparison;
|
| - |
|
23309 |
}
|
| - |
|
23310 |
if (isSetLogisticsTransactionIds()) {
|
| - |
|
23311 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsTransactionIds, typedOther.logisticsTransactionIds);
|
| - |
|
23312 |
if (lastComparison != 0) {
|
| - |
|
23313 |
return lastComparison;
|
| - |
|
23314 |
}
|
| - |
|
23315 |
}
|
| - |
|
23316 |
return 0;
|
| - |
|
23317 |
}
|
| - |
|
23318 |
|
| - |
|
23319 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
23320 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
23321 |
}
|
| - |
|
23322 |
|
| - |
|
23323 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
23324 |
org.apache.thrift.protocol.TField field;
|
| - |
|
23325 |
iprot.readStructBegin();
|
| - |
|
23326 |
while (true)
|
| - |
|
23327 |
{
|
| - |
|
23328 |
field = iprot.readFieldBegin();
|
| - |
|
23329 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
23330 |
break;
|
| - |
|
23331 |
}
|
| - |
|
23332 |
switch (field.id) {
|
| - |
|
23333 |
case 1: // LOGISTICS_TRANSACTION_IDS
|
| - |
|
23334 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
| - |
|
23335 |
{
|
| - |
|
23336 |
org.apache.thrift.protocol.TList _list51 = iprot.readListBegin();
|
| - |
|
23337 |
this.logisticsTransactionIds = new ArrayList<String>(_list51.size);
|
| - |
|
23338 |
for (int _i52 = 0; _i52 < _list51.size; ++_i52)
|
| - |
|
23339 |
{
|
| - |
|
23340 |
String _elem53; // required
|
| - |
|
23341 |
_elem53 = iprot.readString();
|
| - |
|
23342 |
this.logisticsTransactionIds.add(_elem53);
|
| - |
|
23343 |
}
|
| - |
|
23344 |
iprot.readListEnd();
|
| - |
|
23345 |
}
|
| - |
|
23346 |
} else {
|
| - |
|
23347 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
23348 |
}
|
| - |
|
23349 |
break;
|
| - |
|
23350 |
default:
|
| - |
|
23351 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
23352 |
}
|
| - |
|
23353 |
iprot.readFieldEnd();
|
| - |
|
23354 |
}
|
| - |
|
23355 |
iprot.readStructEnd();
|
| - |
|
23356 |
validate();
|
| - |
|
23357 |
}
|
| - |
|
23358 |
|
| - |
|
23359 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
23360 |
validate();
|
| - |
|
23361 |
|
| - |
|
23362 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
23363 |
if (this.logisticsTransactionIds != null) {
|
| - |
|
23364 |
oprot.writeFieldBegin(LOGISTICS_TRANSACTION_IDS_FIELD_DESC);
|
| - |
|
23365 |
{
|
| - |
|
23366 |
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.logisticsTransactionIds.size()));
|
| - |
|
23367 |
for (String _iter54 : this.logisticsTransactionIds)
|
| - |
|
23368 |
{
|
| - |
|
23369 |
oprot.writeString(_iter54);
|
| - |
|
23370 |
}
|
| - |
|
23371 |
oprot.writeListEnd();
|
| - |
|
23372 |
}
|
| - |
|
23373 |
oprot.writeFieldEnd();
|
| - |
|
23374 |
}
|
| - |
|
23375 |
oprot.writeFieldStop();
|
| - |
|
23376 |
oprot.writeStructEnd();
|
| - |
|
23377 |
}
|
| - |
|
23378 |
|
| - |
|
23379 |
@Override
|
| - |
|
23380 |
public String toString() {
|
| - |
|
23381 |
StringBuilder sb = new StringBuilder("pushCourierDetailsForEcomExpress_args(");
|
| - |
|
23382 |
boolean first = true;
|
| - |
|
23383 |
|
| - |
|
23384 |
sb.append("logisticsTransactionIds:");
|
| - |
|
23385 |
if (this.logisticsTransactionIds == null) {
|
| - |
|
23386 |
sb.append("null");
|
| - |
|
23387 |
} else {
|
| - |
|
23388 |
sb.append(this.logisticsTransactionIds);
|
| - |
|
23389 |
}
|
| - |
|
23390 |
first = false;
|
| - |
|
23391 |
sb.append(")");
|
| - |
|
23392 |
return sb.toString();
|
| - |
|
23393 |
}
|
| - |
|
23394 |
|
| - |
|
23395 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
23396 |
// check for required fields
|
| - |
|
23397 |
}
|
| - |
|
23398 |
|
| - |
|
23399 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
23400 |
try {
|
| - |
|
23401 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
23402 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
23403 |
throw new java.io.IOException(te);
|
| - |
|
23404 |
}
|
| - |
|
23405 |
}
|
| - |
|
23406 |
|
| - |
|
23407 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
23408 |
try {
|
| - |
|
23409 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
23410 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
23411 |
throw new java.io.IOException(te);
|
| - |
|
23412 |
}
|
| - |
|
23413 |
}
|
| - |
|
23414 |
|
| - |
|
23415 |
}
|
| - |
|
23416 |
|
| - |
|
23417 |
public static class pushCourierDetailsForEcomExpress_result implements org.apache.thrift.TBase<pushCourierDetailsForEcomExpress_result, pushCourierDetailsForEcomExpress_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
23418 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("pushCourierDetailsForEcomExpress_result");
|
| - |
|
23419 |
|
| - |
|
23420 |
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);
|
| - |
|
23421 |
|
| - |
|
23422 |
private boolean success; // required
|
| - |
|
23423 |
|
| - |
|
23424 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
23425 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
23426 |
SUCCESS((short)0, "success");
|
| - |
|
23427 |
|
| - |
|
23428 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
23429 |
|
| - |
|
23430 |
static {
|
| - |
|
23431 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
23432 |
byName.put(field.getFieldName(), field);
|
| - |
|
23433 |
}
|
| - |
|
23434 |
}
|
| - |
|
23435 |
|
| - |
|
23436 |
/**
|
| - |
|
23437 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
23438 |
*/
|
| - |
|
23439 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
23440 |
switch(fieldId) {
|
| - |
|
23441 |
case 0: // SUCCESS
|
| - |
|
23442 |
return SUCCESS;
|
| - |
|
23443 |
default:
|
| - |
|
23444 |
return null;
|
| - |
|
23445 |
}
|
| - |
|
23446 |
}
|
| - |
|
23447 |
|
| - |
|
23448 |
/**
|
| - |
|
23449 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
23450 |
* if it is not found.
|
| - |
|
23451 |
*/
|
| - |
|
23452 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
23453 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
23454 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
23455 |
return fields;
|
| - |
|
23456 |
}
|
| - |
|
23457 |
|
| - |
|
23458 |
/**
|
| - |
|
23459 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
23460 |
*/
|
| - |
|
23461 |
public static _Fields findByName(String name) {
|
| - |
|
23462 |
return byName.get(name);
|
| - |
|
23463 |
}
|
| - |
|
23464 |
|
| - |
|
23465 |
private final short _thriftId;
|
| - |
|
23466 |
private final String _fieldName;
|
| - |
|
23467 |
|
| - |
|
23468 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
23469 |
_thriftId = thriftId;
|
| - |
|
23470 |
_fieldName = fieldName;
|
| - |
|
23471 |
}
|
| - |
|
23472 |
|
| - |
|
23473 |
public short getThriftFieldId() {
|
| - |
|
23474 |
return _thriftId;
|
| - |
|
23475 |
}
|
| - |
|
23476 |
|
| - |
|
23477 |
public String getFieldName() {
|
| - |
|
23478 |
return _fieldName;
|
| - |
|
23479 |
}
|
| - |
|
23480 |
}
|
| - |
|
23481 |
|
| - |
|
23482 |
// isset id assignments
|
| - |
|
23483 |
private static final int __SUCCESS_ISSET_ID = 0;
|
| - |
|
23484 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| - |
|
23485 |
|
| - |
|
23486 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
23487 |
static {
|
| - |
|
23488 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
23489 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
23490 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
23491 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
23492 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(pushCourierDetailsForEcomExpress_result.class, metaDataMap);
|
| - |
|
23493 |
}
|
| - |
|
23494 |
|
| - |
|
23495 |
public pushCourierDetailsForEcomExpress_result() {
|
| - |
|
23496 |
}
|
| - |
|
23497 |
|
| - |
|
23498 |
public pushCourierDetailsForEcomExpress_result(
|
| - |
|
23499 |
boolean success)
|
| - |
|
23500 |
{
|
| - |
|
23501 |
this();
|
| - |
|
23502 |
this.success = success;
|
| - |
|
23503 |
setSuccessIsSet(true);
|
| - |
|
23504 |
}
|
| - |
|
23505 |
|
| - |
|
23506 |
/**
|
| - |
|
23507 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
23508 |
*/
|
| - |
|
23509 |
public pushCourierDetailsForEcomExpress_result(pushCourierDetailsForEcomExpress_result other) {
|
| - |
|
23510 |
__isset_bit_vector.clear();
|
| - |
|
23511 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| - |
|
23512 |
this.success = other.success;
|
| - |
|
23513 |
}
|
| - |
|
23514 |
|
| - |
|
23515 |
public pushCourierDetailsForEcomExpress_result deepCopy() {
|
| - |
|
23516 |
return new pushCourierDetailsForEcomExpress_result(this);
|
| - |
|
23517 |
}
|
| - |
|
23518 |
|
| - |
|
23519 |
@Override
|
| - |
|
23520 |
public void clear() {
|
| - |
|
23521 |
setSuccessIsSet(false);
|
| - |
|
23522 |
this.success = false;
|
| - |
|
23523 |
}
|
| - |
|
23524 |
|
| - |
|
23525 |
public boolean isSuccess() {
|
| - |
|
23526 |
return this.success;
|
| - |
|
23527 |
}
|
| - |
|
23528 |
|
| - |
|
23529 |
public void setSuccess(boolean success) {
|
| - |
|
23530 |
this.success = success;
|
| - |
|
23531 |
setSuccessIsSet(true);
|
| - |
|
23532 |
}
|
| - |
|
23533 |
|
| - |
|
23534 |
public void unsetSuccess() {
|
| - |
|
23535 |
__isset_bit_vector.clear(__SUCCESS_ISSET_ID);
|
| - |
|
23536 |
}
|
| - |
|
23537 |
|
| - |
|
23538 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
| - |
|
23539 |
public boolean isSetSuccess() {
|
| - |
|
23540 |
return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
|
| - |
|
23541 |
}
|
| - |
|
23542 |
|
| - |
|
23543 |
public void setSuccessIsSet(boolean value) {
|
| - |
|
23544 |
__isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
|
| - |
|
23545 |
}
|
| - |
|
23546 |
|
| - |
|
23547 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
23548 |
switch (field) {
|
| - |
|
23549 |
case SUCCESS:
|
| - |
|
23550 |
if (value == null) {
|
| - |
|
23551 |
unsetSuccess();
|
| - |
|
23552 |
} else {
|
| - |
|
23553 |
setSuccess((Boolean)value);
|
| - |
|
23554 |
}
|
| - |
|
23555 |
break;
|
| - |
|
23556 |
|
| - |
|
23557 |
}
|
| - |
|
23558 |
}
|
| - |
|
23559 |
|
| - |
|
23560 |
public Object getFieldValue(_Fields field) {
|
| - |
|
23561 |
switch (field) {
|
| - |
|
23562 |
case SUCCESS:
|
| - |
|
23563 |
return Boolean.valueOf(isSuccess());
|
| - |
|
23564 |
|
| - |
|
23565 |
}
|
| - |
|
23566 |
throw new IllegalStateException();
|
| - |
|
23567 |
}
|
| - |
|
23568 |
|
| - |
|
23569 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
23570 |
public boolean isSet(_Fields field) {
|
| - |
|
23571 |
if (field == null) {
|
| - |
|
23572 |
throw new IllegalArgumentException();
|
| - |
|
23573 |
}
|
| - |
|
23574 |
|
| - |
|
23575 |
switch (field) {
|
| - |
|
23576 |
case SUCCESS:
|
| - |
|
23577 |
return isSetSuccess();
|
| - |
|
23578 |
}
|
| - |
|
23579 |
throw new IllegalStateException();
|
| - |
|
23580 |
}
|
| - |
|
23581 |
|
| - |
|
23582 |
@Override
|
| - |
|
23583 |
public boolean equals(Object that) {
|
| - |
|
23584 |
if (that == null)
|
| - |
|
23585 |
return false;
|
| - |
|
23586 |
if (that instanceof pushCourierDetailsForEcomExpress_result)
|
| - |
|
23587 |
return this.equals((pushCourierDetailsForEcomExpress_result)that);
|
| - |
|
23588 |
return false;
|
| - |
|
23589 |
}
|
| - |
|
23590 |
|
| - |
|
23591 |
public boolean equals(pushCourierDetailsForEcomExpress_result that) {
|
| - |
|
23592 |
if (that == null)
|
| - |
|
23593 |
return false;
|
| - |
|
23594 |
|
| - |
|
23595 |
boolean this_present_success = true;
|
| - |
|
23596 |
boolean that_present_success = true;
|
| - |
|
23597 |
if (this_present_success || that_present_success) {
|
| - |
|
23598 |
if (!(this_present_success && that_present_success))
|
| - |
|
23599 |
return false;
|
| - |
|
23600 |
if (this.success != that.success)
|
| - |
|
23601 |
return false;
|
| - |
|
23602 |
}
|
| - |
|
23603 |
|
| - |
|
23604 |
return true;
|
| - |
|
23605 |
}
|
| - |
|
23606 |
|
| - |
|
23607 |
@Override
|
| - |
|
23608 |
public int hashCode() {
|
| - |
|
23609 |
return 0;
|
| - |
|
23610 |
}
|
| - |
|
23611 |
|
| - |
|
23612 |
public int compareTo(pushCourierDetailsForEcomExpress_result other) {
|
| - |
|
23613 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
23614 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
23615 |
}
|
| - |
|
23616 |
|
| - |
|
23617 |
int lastComparison = 0;
|
| - |
|
23618 |
pushCourierDetailsForEcomExpress_result typedOther = (pushCourierDetailsForEcomExpress_result)other;
|
| - |
|
23619 |
|
| - |
|
23620 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| - |
|
23621 |
if (lastComparison != 0) {
|
| - |
|
23622 |
return lastComparison;
|
| - |
|
23623 |
}
|
| - |
|
23624 |
if (isSetSuccess()) {
|
| - |
|
23625 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
|
| - |
|
23626 |
if (lastComparison != 0) {
|
| - |
|
23627 |
return lastComparison;
|
| - |
|
23628 |
}
|
| - |
|
23629 |
}
|
| - |
|
23630 |
return 0;
|
| - |
|
23631 |
}
|
| - |
|
23632 |
|
| - |
|
23633 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
23634 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
23635 |
}
|
| - |
|
23636 |
|
| - |
|
23637 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
23638 |
org.apache.thrift.protocol.TField field;
|
| - |
|
23639 |
iprot.readStructBegin();
|
| - |
|
23640 |
while (true)
|
| - |
|
23641 |
{
|
| - |
|
23642 |
field = iprot.readFieldBegin();
|
| - |
|
23643 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
23644 |
break;
|
| - |
|
23645 |
}
|
| - |
|
23646 |
switch (field.id) {
|
| - |
|
23647 |
case 0: // SUCCESS
|
| - |
|
23648 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
23649 |
this.success = iprot.readBool();
|
| - |
|
23650 |
setSuccessIsSet(true);
|
| - |
|
23651 |
} else {
|
| - |
|
23652 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
23653 |
}
|
| - |
|
23654 |
break;
|
| - |
|
23655 |
default:
|
| - |
|
23656 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
23657 |
}
|
| - |
|
23658 |
iprot.readFieldEnd();
|
| - |
|
23659 |
}
|
| - |
|
23660 |
iprot.readStructEnd();
|
| - |
|
23661 |
validate();
|
| - |
|
23662 |
}
|
| - |
|
23663 |
|
| - |
|
23664 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
23665 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
23666 |
|
| - |
|
23667 |
if (this.isSetSuccess()) {
|
| - |
|
23668 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| - |
|
23669 |
oprot.writeBool(this.success);
|
| - |
|
23670 |
oprot.writeFieldEnd();
|
| - |
|
23671 |
}
|
| - |
|
23672 |
oprot.writeFieldStop();
|
| - |
|
23673 |
oprot.writeStructEnd();
|
| - |
|
23674 |
}
|
| - |
|
23675 |
|
| - |
|
23676 |
@Override
|
| - |
|
23677 |
public String toString() {
|
| - |
|
23678 |
StringBuilder sb = new StringBuilder("pushCourierDetailsForEcomExpress_result(");
|
| - |
|
23679 |
boolean first = true;
|
| - |
|
23680 |
|
| - |
|
23681 |
sb.append("success:");
|
| - |
|
23682 |
sb.append(this.success);
|
| - |
|
23683 |
first = false;
|
| - |
|
23684 |
sb.append(")");
|
| - |
|
23685 |
return sb.toString();
|
| - |
|
23686 |
}
|
| - |
|
23687 |
|
| 22987 |
public void validate() throws org.apache.thrift.TException {
|
23688 |
public void validate() throws org.apache.thrift.TException {
|
| 22988 |
// check for required fields
|
23689 |
// check for required fields
|
| 22989 |
}
|
23690 |
}
|
| 22990 |
|
23691 |
|
| 22991 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
23692 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|