| Line 63... |
Line 63... |
| 63 |
private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
|
63 |
private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
|
| 64 |
private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
|
64 |
private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
|
| 65 |
private static final org.apache.thrift.protocol.TField ASIN_FIELD_DESC = new org.apache.thrift.protocol.TField("asin", org.apache.thrift.protocol.TType.STRING, (short)42);
|
65 |
private static final org.apache.thrift.protocol.TField ASIN_FIELD_DESC = new org.apache.thrift.protocol.TField("asin", org.apache.thrift.protocol.TType.STRING, (short)42);
|
| 66 |
private static final org.apache.thrift.protocol.TField DEFAULT_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultInventory", org.apache.thrift.protocol.TType.I64, (short)43);
|
66 |
private static final org.apache.thrift.protocol.TField DEFAULT_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultInventory", org.apache.thrift.protocol.TType.I64, (short)43);
|
| 67 |
private static final org.apache.thrift.protocol.TField HOLD_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("holdInventory", org.apache.thrift.protocol.TType.I64, (short)44);
|
67 |
private static final org.apache.thrift.protocol.TField HOLD_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("holdInventory", org.apache.thrift.protocol.TType.I64, (short)44);
|
| - |
|
68 |
private static final org.apache.thrift.protocol.TField IS_LISTED_ON_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("isListedOnSnapdeal", org.apache.thrift.protocol.TType.BOOL, (short)45);
|
| 68 |
|
69 |
|
| 69 |
private long id; // required
|
70 |
private long id; // required
|
| 70 |
private String productGroup; // required
|
71 |
private String productGroup; // required
|
| 71 |
private String brand; // required
|
72 |
private String brand; // required
|
| 72 |
private String modelNumber; // required
|
73 |
private String modelNumber; // required
|
| Line 106... |
Line 107... |
| 106 |
private String bestDealsDetailsLink; // required
|
107 |
private String bestDealsDetailsLink; // required
|
| 107 |
private long preferredInsurer; // required
|
108 |
private long preferredInsurer; // required
|
| 108 |
private String asin; // required
|
109 |
private String asin; // required
|
| 109 |
private long defaultInventory; // required
|
110 |
private long defaultInventory; // required
|
| 110 |
private long holdInventory; // required
|
111 |
private long holdInventory; // required
|
| - |
|
112 |
private boolean isListedOnSnapdeal; // required
|
| 111 |
|
113 |
|
| 112 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
114 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 113 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
115 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 114 |
ID((short)1, "id"),
|
116 |
ID((short)1, "id"),
|
| 115 |
PRODUCT_GROUP((short)2, "productGroup"),
|
117 |
PRODUCT_GROUP((short)2, "productGroup"),
|
| Line 158... |
Line 160... |
| 158 |
BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
|
160 |
BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
|
| 159 |
BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
|
161 |
BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
|
| 160 |
PREFERRED_INSURER((short)41, "preferredInsurer"),
|
162 |
PREFERRED_INSURER((short)41, "preferredInsurer"),
|
| 161 |
ASIN((short)42, "asin"),
|
163 |
ASIN((short)42, "asin"),
|
| 162 |
DEFAULT_INVENTORY((short)43, "defaultInventory"),
|
164 |
DEFAULT_INVENTORY((short)43, "defaultInventory"),
|
| 163 |
HOLD_INVENTORY((short)44, "holdInventory");
|
165 |
HOLD_INVENTORY((short)44, "holdInventory"),
|
| - |
|
166 |
IS_LISTED_ON_SNAPDEAL((short)45, "isListedOnSnapdeal");
|
| 164 |
|
167 |
|
| 165 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
168 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 166 |
|
169 |
|
| 167 |
static {
|
170 |
static {
|
| 168 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
171 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 257... |
Line 260... |
| 257 |
return ASIN;
|
260 |
return ASIN;
|
| 258 |
case 43: // DEFAULT_INVENTORY
|
261 |
case 43: // DEFAULT_INVENTORY
|
| 259 |
return DEFAULT_INVENTORY;
|
262 |
return DEFAULT_INVENTORY;
|
| 260 |
case 44: // HOLD_INVENTORY
|
263 |
case 44: // HOLD_INVENTORY
|
| 261 |
return HOLD_INVENTORY;
|
264 |
return HOLD_INVENTORY;
|
| - |
|
265 |
case 45: // IS_LISTED_ON_SNAPDEAL
|
| - |
|
266 |
return IS_LISTED_ON_SNAPDEAL;
|
| 262 |
default:
|
267 |
default:
|
| 263 |
return null;
|
268 |
return null;
|
| 264 |
}
|
269 |
}
|
| 265 |
}
|
270 |
}
|
| 266 |
|
271 |
|
| Line 324... |
Line 329... |
| 324 |
private static final int __ACTIVEONSTORE_ISSET_ID = 22;
|
329 |
private static final int __ACTIVEONSTORE_ISSET_ID = 22;
|
| 325 |
private static final int __SHOWSELLINGPRICE_ISSET_ID = 23;
|
330 |
private static final int __SHOWSELLINGPRICE_ISSET_ID = 23;
|
| 326 |
private static final int __PREFERREDINSURER_ISSET_ID = 24;
|
331 |
private static final int __PREFERREDINSURER_ISSET_ID = 24;
|
| 327 |
private static final int __DEFAULTINVENTORY_ISSET_ID = 25;
|
332 |
private static final int __DEFAULTINVENTORY_ISSET_ID = 25;
|
| 328 |
private static final int __HOLDINVENTORY_ISSET_ID = 26;
|
333 |
private static final int __HOLDINVENTORY_ISSET_ID = 26;
|
| - |
|
334 |
private static final int __ISLISTEDONSNAPDEAL_ISSET_ID = 27;
|
| 329 |
private BitSet __isset_bit_vector = new BitSet(27);
|
335 |
private BitSet __isset_bit_vector = new BitSet(28);
|
| 330 |
|
336 |
|
| 331 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
337 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 332 |
static {
|
338 |
static {
|
| 333 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
339 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 334 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
340 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 415... |
Line 421... |
| 415 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
421 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 416 |
tmpMap.put(_Fields.DEFAULT_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("defaultInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
422 |
tmpMap.put(_Fields.DEFAULT_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("defaultInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 417 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
423 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 418 |
tmpMap.put(_Fields.HOLD_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("holdInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
424 |
tmpMap.put(_Fields.HOLD_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("holdInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 419 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
425 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
426 |
tmpMap.put(_Fields.IS_LISTED_ON_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("isListedOnSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
427 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 420 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
428 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 421 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
429 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
| 422 |
}
|
430 |
}
|
| 423 |
|
431 |
|
| 424 |
public Item() {
|
432 |
public Item() {
|
| Line 452... |
Line 460... |
| 452 |
String bestDealsDetailsText,
|
460 |
String bestDealsDetailsText,
|
| 453 |
String bestDealsDetailsLink,
|
461 |
String bestDealsDetailsLink,
|
| 454 |
long preferredInsurer,
|
462 |
long preferredInsurer,
|
| 455 |
String asin,
|
463 |
String asin,
|
| 456 |
long defaultInventory,
|
464 |
long defaultInventory,
|
| 457 |
long holdInventory)
|
465 |
long holdInventory,
|
| - |
|
466 |
boolean isListedOnSnapdeal)
|
| 458 |
{
|
467 |
{
|
| 459 |
this();
|
468 |
this();
|
| 460 |
this.id = id;
|
469 |
this.id = id;
|
| 461 |
setIdIsSet(true);
|
470 |
setIdIsSet(true);
|
| 462 |
this.productGroup = productGroup;
|
471 |
this.productGroup = productGroup;
|
| Line 500... |
Line 509... |
| 500 |
this.asin = asin;
|
509 |
this.asin = asin;
|
| 501 |
this.defaultInventory = defaultInventory;
|
510 |
this.defaultInventory = defaultInventory;
|
| 502 |
setDefaultInventoryIsSet(true);
|
511 |
setDefaultInventoryIsSet(true);
|
| 503 |
this.holdInventory = holdInventory;
|
512 |
this.holdInventory = holdInventory;
|
| 504 |
setHoldInventoryIsSet(true);
|
513 |
setHoldInventoryIsSet(true);
|
| - |
|
514 |
this.isListedOnSnapdeal = isListedOnSnapdeal;
|
| - |
|
515 |
setIsListedOnSnapdealIsSet(true);
|
| 505 |
}
|
516 |
}
|
| 506 |
|
517 |
|
| 507 |
/**
|
518 |
/**
|
| 508 |
* Performs a deep copy on <i>other</i>.
|
519 |
* Performs a deep copy on <i>other</i>.
|
| 509 |
*/
|
520 |
*/
|
| Line 592... |
Line 603... |
| 592 |
if (other.isSetAsin()) {
|
603 |
if (other.isSetAsin()) {
|
| 593 |
this.asin = other.asin;
|
604 |
this.asin = other.asin;
|
| 594 |
}
|
605 |
}
|
| 595 |
this.defaultInventory = other.defaultInventory;
|
606 |
this.defaultInventory = other.defaultInventory;
|
| 596 |
this.holdInventory = other.holdInventory;
|
607 |
this.holdInventory = other.holdInventory;
|
| - |
|
608 |
this.isListedOnSnapdeal = other.isListedOnSnapdeal;
|
| 597 |
}
|
609 |
}
|
| 598 |
|
610 |
|
| 599 |
public Item deepCopy() {
|
611 |
public Item deepCopy() {
|
| 600 |
return new Item(this);
|
612 |
return new Item(this);
|
| 601 |
}
|
613 |
}
|
| Line 669... |
Line 681... |
| 669 |
this.asin = null;
|
681 |
this.asin = null;
|
| 670 |
setDefaultInventoryIsSet(false);
|
682 |
setDefaultInventoryIsSet(false);
|
| 671 |
this.defaultInventory = 0;
|
683 |
this.defaultInventory = 0;
|
| 672 |
setHoldInventoryIsSet(false);
|
684 |
setHoldInventoryIsSet(false);
|
| 673 |
this.holdInventory = 0;
|
685 |
this.holdInventory = 0;
|
| - |
|
686 |
setIsListedOnSnapdealIsSet(false);
|
| - |
|
687 |
this.isListedOnSnapdeal = false;
|
| 674 |
}
|
688 |
}
|
| 675 |
|
689 |
|
| 676 |
public long getId() {
|
690 |
public long getId() {
|
| 677 |
return this.id;
|
691 |
return this.id;
|
| 678 |
}
|
692 |
}
|
| Line 1637... |
Line 1651... |
| 1637 |
|
1651 |
|
| 1638 |
public void setHoldInventoryIsSet(boolean value) {
|
1652 |
public void setHoldInventoryIsSet(boolean value) {
|
| 1639 |
__isset_bit_vector.set(__HOLDINVENTORY_ISSET_ID, value);
|
1653 |
__isset_bit_vector.set(__HOLDINVENTORY_ISSET_ID, value);
|
| 1640 |
}
|
1654 |
}
|
| 1641 |
|
1655 |
|
| - |
|
1656 |
public boolean isIsListedOnSnapdeal() {
|
| - |
|
1657 |
return this.isListedOnSnapdeal;
|
| - |
|
1658 |
}
|
| - |
|
1659 |
|
| - |
|
1660 |
public void setIsListedOnSnapdeal(boolean isListedOnSnapdeal) {
|
| - |
|
1661 |
this.isListedOnSnapdeal = isListedOnSnapdeal;
|
| - |
|
1662 |
setIsListedOnSnapdealIsSet(true);
|
| - |
|
1663 |
}
|
| - |
|
1664 |
|
| - |
|
1665 |
public void unsetIsListedOnSnapdeal() {
|
| - |
|
1666 |
__isset_bit_vector.clear(__ISLISTEDONSNAPDEAL_ISSET_ID);
|
| - |
|
1667 |
}
|
| - |
|
1668 |
|
| - |
|
1669 |
/** Returns true if field isListedOnSnapdeal is set (has been assigned a value) and false otherwise */
|
| - |
|
1670 |
public boolean isSetIsListedOnSnapdeal() {
|
| - |
|
1671 |
return __isset_bit_vector.get(__ISLISTEDONSNAPDEAL_ISSET_ID);
|
| - |
|
1672 |
}
|
| - |
|
1673 |
|
| - |
|
1674 |
public void setIsListedOnSnapdealIsSet(boolean value) {
|
| - |
|
1675 |
__isset_bit_vector.set(__ISLISTEDONSNAPDEAL_ISSET_ID, value);
|
| - |
|
1676 |
}
|
| - |
|
1677 |
|
| 1642 |
public void setFieldValue(_Fields field, Object value) {
|
1678 |
public void setFieldValue(_Fields field, Object value) {
|
| 1643 |
switch (field) {
|
1679 |
switch (field) {
|
| 1644 |
case ID:
|
1680 |
case ID:
|
| 1645 |
if (value == null) {
|
1681 |
if (value == null) {
|
| 1646 |
unsetId();
|
1682 |
unsetId();
|
| Line 1975... |
Line 2011... |
| 1975 |
} else {
|
2011 |
} else {
|
| 1976 |
setHoldInventory((Long)value);
|
2012 |
setHoldInventory((Long)value);
|
| 1977 |
}
|
2013 |
}
|
| 1978 |
break;
|
2014 |
break;
|
| 1979 |
|
2015 |
|
| - |
|
2016 |
case IS_LISTED_ON_SNAPDEAL:
|
| - |
|
2017 |
if (value == null) {
|
| - |
|
2018 |
unsetIsListedOnSnapdeal();
|
| - |
|
2019 |
} else {
|
| - |
|
2020 |
setIsListedOnSnapdeal((Boolean)value);
|
| - |
|
2021 |
}
|
| - |
|
2022 |
break;
|
| - |
|
2023 |
|
| 1980 |
}
|
2024 |
}
|
| 1981 |
}
|
2025 |
}
|
| 1982 |
|
2026 |
|
| 1983 |
public Object getFieldValue(_Fields field) {
|
2027 |
public Object getFieldValue(_Fields field) {
|
| 1984 |
switch (field) {
|
2028 |
switch (field) {
|
| Line 2106... |
Line 2150... |
| 2106 |
return Long.valueOf(getDefaultInventory());
|
2150 |
return Long.valueOf(getDefaultInventory());
|
| 2107 |
|
2151 |
|
| 2108 |
case HOLD_INVENTORY:
|
2152 |
case HOLD_INVENTORY:
|
| 2109 |
return Long.valueOf(getHoldInventory());
|
2153 |
return Long.valueOf(getHoldInventory());
|
| 2110 |
|
2154 |
|
| - |
|
2155 |
case IS_LISTED_ON_SNAPDEAL:
|
| - |
|
2156 |
return Boolean.valueOf(isIsListedOnSnapdeal());
|
| - |
|
2157 |
|
| 2111 |
}
|
2158 |
}
|
| 2112 |
throw new IllegalStateException();
|
2159 |
throw new IllegalStateException();
|
| 2113 |
}
|
2160 |
}
|
| 2114 |
|
2161 |
|
| 2115 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
2162 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 2201... |
Line 2248... |
| 2201 |
return isSetAsin();
|
2248 |
return isSetAsin();
|
| 2202 |
case DEFAULT_INVENTORY:
|
2249 |
case DEFAULT_INVENTORY:
|
| 2203 |
return isSetDefaultInventory();
|
2250 |
return isSetDefaultInventory();
|
| 2204 |
case HOLD_INVENTORY:
|
2251 |
case HOLD_INVENTORY:
|
| 2205 |
return isSetHoldInventory();
|
2252 |
return isSetHoldInventory();
|
| - |
|
2253 |
case IS_LISTED_ON_SNAPDEAL:
|
| - |
|
2254 |
return isSetIsListedOnSnapdeal();
|
| 2206 |
}
|
2255 |
}
|
| 2207 |
throw new IllegalStateException();
|
2256 |
throw new IllegalStateException();
|
| 2208 |
}
|
2257 |
}
|
| 2209 |
|
2258 |
|
| 2210 |
@Override
|
2259 |
@Override
|
| Line 2596... |
Line 2645... |
| 2596 |
return false;
|
2645 |
return false;
|
| 2597 |
if (this.holdInventory != that.holdInventory)
|
2646 |
if (this.holdInventory != that.holdInventory)
|
| 2598 |
return false;
|
2647 |
return false;
|
| 2599 |
}
|
2648 |
}
|
| 2600 |
|
2649 |
|
| - |
|
2650 |
boolean this_present_isListedOnSnapdeal = true;
|
| - |
|
2651 |
boolean that_present_isListedOnSnapdeal = true;
|
| - |
|
2652 |
if (this_present_isListedOnSnapdeal || that_present_isListedOnSnapdeal) {
|
| - |
|
2653 |
if (!(this_present_isListedOnSnapdeal && that_present_isListedOnSnapdeal))
|
| - |
|
2654 |
return false;
|
| - |
|
2655 |
if (this.isListedOnSnapdeal != that.isListedOnSnapdeal)
|
| - |
|
2656 |
return false;
|
| - |
|
2657 |
}
|
| - |
|
2658 |
|
| 2601 |
return true;
|
2659 |
return true;
|
| 2602 |
}
|
2660 |
}
|
| 2603 |
|
2661 |
|
| 2604 |
@Override
|
2662 |
@Override
|
| 2605 |
public int hashCode() {
|
2663 |
public int hashCode() {
|
| Line 3032... |
Line 3090... |
| 3032 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.holdInventory, typedOther.holdInventory);
|
3090 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.holdInventory, typedOther.holdInventory);
|
| 3033 |
if (lastComparison != 0) {
|
3091 |
if (lastComparison != 0) {
|
| 3034 |
return lastComparison;
|
3092 |
return lastComparison;
|
| 3035 |
}
|
3093 |
}
|
| 3036 |
}
|
3094 |
}
|
| - |
|
3095 |
lastComparison = Boolean.valueOf(isSetIsListedOnSnapdeal()).compareTo(typedOther.isSetIsListedOnSnapdeal());
|
| - |
|
3096 |
if (lastComparison != 0) {
|
| - |
|
3097 |
return lastComparison;
|
| - |
|
3098 |
}
|
| - |
|
3099 |
if (isSetIsListedOnSnapdeal()) {
|
| - |
|
3100 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isListedOnSnapdeal, typedOther.isListedOnSnapdeal);
|
| - |
|
3101 |
if (lastComparison != 0) {
|
| - |
|
3102 |
return lastComparison;
|
| - |
|
3103 |
}
|
| - |
|
3104 |
}
|
| 3037 |
return 0;
|
3105 |
return 0;
|
| 3038 |
}
|
3106 |
}
|
| 3039 |
|
3107 |
|
| 3040 |
public _Fields fieldForId(int fieldId) {
|
3108 |
public _Fields fieldForId(int fieldId) {
|
| 3041 |
return _Fields.findByThriftId(fieldId);
|
3109 |
return _Fields.findByThriftId(fieldId);
|
| Line 3382... |
Line 3450... |
| 3382 |
setHoldInventoryIsSet(true);
|
3450 |
setHoldInventoryIsSet(true);
|
| 3383 |
} else {
|
3451 |
} else {
|
| 3384 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
3452 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 3385 |
}
|
3453 |
}
|
| 3386 |
break;
|
3454 |
break;
|
| - |
|
3455 |
case 45: // IS_LISTED_ON_SNAPDEAL
|
| - |
|
3456 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
3457 |
this.isListedOnSnapdeal = iprot.readBool();
|
| - |
|
3458 |
setIsListedOnSnapdealIsSet(true);
|
| - |
|
3459 |
} else {
|
| - |
|
3460 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
3461 |
}
|
| - |
|
3462 |
break;
|
| 3387 |
default:
|
3463 |
default:
|
| 3388 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
3464 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 3389 |
}
|
3465 |
}
|
| 3390 |
iprot.readFieldEnd();
|
3466 |
iprot.readFieldEnd();
|
| 3391 |
}
|
3467 |
}
|
| Line 3583... |
Line 3659... |
| 3583 |
oprot.writeI64(this.defaultInventory);
|
3659 |
oprot.writeI64(this.defaultInventory);
|
| 3584 |
oprot.writeFieldEnd();
|
3660 |
oprot.writeFieldEnd();
|
| 3585 |
oprot.writeFieldBegin(HOLD_INVENTORY_FIELD_DESC);
|
3661 |
oprot.writeFieldBegin(HOLD_INVENTORY_FIELD_DESC);
|
| 3586 |
oprot.writeI64(this.holdInventory);
|
3662 |
oprot.writeI64(this.holdInventory);
|
| 3587 |
oprot.writeFieldEnd();
|
3663 |
oprot.writeFieldEnd();
|
| - |
|
3664 |
oprot.writeFieldBegin(IS_LISTED_ON_SNAPDEAL_FIELD_DESC);
|
| - |
|
3665 |
oprot.writeBool(this.isListedOnSnapdeal);
|
| - |
|
3666 |
oprot.writeFieldEnd();
|
| 3588 |
oprot.writeFieldStop();
|
3667 |
oprot.writeFieldStop();
|
| 3589 |
oprot.writeStructEnd();
|
3668 |
oprot.writeStructEnd();
|
| 3590 |
}
|
3669 |
}
|
| 3591 |
|
3670 |
|
| 3592 |
@Override
|
3671 |
@Override
|
| Line 3843... |
Line 3922... |
| 3843 |
first = false;
|
3922 |
first = false;
|
| 3844 |
if (!first) sb.append(", ");
|
3923 |
if (!first) sb.append(", ");
|
| 3845 |
sb.append("holdInventory:");
|
3924 |
sb.append("holdInventory:");
|
| 3846 |
sb.append(this.holdInventory);
|
3925 |
sb.append(this.holdInventory);
|
| 3847 |
first = false;
|
3926 |
first = false;
|
| - |
|
3927 |
if (!first) sb.append(", ");
|
| - |
|
3928 |
sb.append("isListedOnSnapdeal:");
|
| - |
|
3929 |
sb.append(this.isListedOnSnapdeal);
|
| - |
|
3930 |
first = false;
|
| 3848 |
sb.append(")");
|
3931 |
sb.append(")");
|
| 3849 |
return sb.toString();
|
3932 |
return sb.toString();
|
| 3850 |
}
|
3933 |
}
|
| 3851 |
|
3934 |
|
| 3852 |
public void validate() throws org.apache.thrift.TException {
|
3935 |
public void validate() throws org.apache.thrift.TException {
|