| Line 37... |
Line 37... |
| 37 |
private static final org.apache.thrift.protocol.TField OUR_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)12);
|
37 |
private static final org.apache.thrift.protocol.TField OUR_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)12);
|
| 38 |
private static final org.apache.thrift.protocol.TField MIN_FBA_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("minFbaPriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)13);
|
38 |
private static final org.apache.thrift.protocol.TField MIN_FBA_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("minFbaPriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)13);
|
| 39 |
private static final org.apache.thrift.protocol.TField MIN_MFN_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("minMfnPriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)14);
|
39 |
private static final org.apache.thrift.protocol.TField MIN_MFN_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("minMfnPriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)14);
|
| 40 |
private static final org.apache.thrift.protocol.TField OUR_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourPriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)15);
|
40 |
private static final org.apache.thrift.protocol.TField OUR_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourPriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)15);
|
| 41 |
private static final org.apache.thrift.protocol.TField SALE_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("salePriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)16);
|
41 |
private static final org.apache.thrift.protocol.TField SALE_PRICE_SNAPSHOT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("salePriceSnapshotDate", org.apache.thrift.protocol.TType.I64, (short)16);
|
| - |
|
42 |
private static final org.apache.thrift.protocol.TField FC_LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("fcLocation", org.apache.thrift.protocol.TType.I32, (short)17);
|
| 42 |
|
43 |
|
| 43 |
private long dateOfSale; // required
|
44 |
private long dateOfSale; // required
|
| 44 |
private long item_id; // required
|
45 |
private long item_id; // required
|
| 45 |
private int totalOrderCount; // required
|
46 |
private int totalOrderCount; // required
|
| 46 |
private long amazonFbaInventory; // required
|
47 |
private long amazonFbaInventory; // required
|
| Line 54... |
Line 55... |
| 54 |
private double ourPrice; // required
|
55 |
private double ourPrice; // required
|
| 55 |
private long minFbaPriceSnapshotDate; // required
|
56 |
private long minFbaPriceSnapshotDate; // required
|
| 56 |
private long minMfnPriceSnapshotDate; // required
|
57 |
private long minMfnPriceSnapshotDate; // required
|
| 57 |
private long ourPriceSnapshotDate; // required
|
58 |
private long ourPriceSnapshotDate; // required
|
| 58 |
private long salePriceSnapshotDate; // required
|
59 |
private long salePriceSnapshotDate; // required
|
| - |
|
60 |
private AmazonFCWarehouseLocation fcLocation; // required
|
| 59 |
|
61 |
|
| 60 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
62 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 61 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
63 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 62 |
DATE_OF_SALE((short)1, "dateOfSale"),
|
64 |
DATE_OF_SALE((short)1, "dateOfSale"),
|
| 63 |
ITEM_ID((short)2, "item_id"),
|
65 |
ITEM_ID((short)2, "item_id"),
|
| Line 72... |
Line 74... |
| 72 |
PROMOTION_ORDER_COUNT((short)11, "promotionOrderCount"),
|
74 |
PROMOTION_ORDER_COUNT((short)11, "promotionOrderCount"),
|
| 73 |
OUR_PRICE((short)12, "ourPrice"),
|
75 |
OUR_PRICE((short)12, "ourPrice"),
|
| 74 |
MIN_FBA_PRICE_SNAPSHOT_DATE((short)13, "minFbaPriceSnapshotDate"),
|
76 |
MIN_FBA_PRICE_SNAPSHOT_DATE((short)13, "minFbaPriceSnapshotDate"),
|
| 75 |
MIN_MFN_PRICE_SNAPSHOT_DATE((short)14, "minMfnPriceSnapshotDate"),
|
77 |
MIN_MFN_PRICE_SNAPSHOT_DATE((short)14, "minMfnPriceSnapshotDate"),
|
| 76 |
OUR_PRICE_SNAPSHOT_DATE((short)15, "ourPriceSnapshotDate"),
|
78 |
OUR_PRICE_SNAPSHOT_DATE((short)15, "ourPriceSnapshotDate"),
|
| 77 |
SALE_PRICE_SNAPSHOT_DATE((short)16, "salePriceSnapshotDate");
|
79 |
SALE_PRICE_SNAPSHOT_DATE((short)16, "salePriceSnapshotDate"),
|
| - |
|
80 |
/**
|
| - |
|
81 |
*
|
| - |
|
82 |
* @see AmazonFCWarehouseLocation
|
| - |
|
83 |
*/
|
| - |
|
84 |
FC_LOCATION((short)17, "fcLocation");
|
| 78 |
|
85 |
|
| 79 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
86 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 80 |
|
87 |
|
| 81 |
static {
|
88 |
static {
|
| 82 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
89 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 119... |
Line 126... |
| 119 |
return MIN_MFN_PRICE_SNAPSHOT_DATE;
|
126 |
return MIN_MFN_PRICE_SNAPSHOT_DATE;
|
| 120 |
case 15: // OUR_PRICE_SNAPSHOT_DATE
|
127 |
case 15: // OUR_PRICE_SNAPSHOT_DATE
|
| 121 |
return OUR_PRICE_SNAPSHOT_DATE;
|
128 |
return OUR_PRICE_SNAPSHOT_DATE;
|
| 122 |
case 16: // SALE_PRICE_SNAPSHOT_DATE
|
129 |
case 16: // SALE_PRICE_SNAPSHOT_DATE
|
| 123 |
return SALE_PRICE_SNAPSHOT_DATE;
|
130 |
return SALE_PRICE_SNAPSHOT_DATE;
|
| - |
|
131 |
case 17: // FC_LOCATION
|
| - |
|
132 |
return FC_LOCATION;
|
| 124 |
default:
|
133 |
default:
|
| 125 |
return null;
|
134 |
return null;
|
| 126 |
}
|
135 |
}
|
| 127 |
}
|
136 |
}
|
| 128 |
|
137 |
|
| Line 212... |
Line 221... |
| 212 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
221 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 213 |
tmpMap.put(_Fields.OUR_PRICE_SNAPSHOT_DATE, new org.apache.thrift.meta_data.FieldMetaData("ourPriceSnapshotDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
222 |
tmpMap.put(_Fields.OUR_PRICE_SNAPSHOT_DATE, new org.apache.thrift.meta_data.FieldMetaData("ourPriceSnapshotDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 214 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
223 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 215 |
tmpMap.put(_Fields.SALE_PRICE_SNAPSHOT_DATE, new org.apache.thrift.meta_data.FieldMetaData("salePriceSnapshotDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
224 |
tmpMap.put(_Fields.SALE_PRICE_SNAPSHOT_DATE, new org.apache.thrift.meta_data.FieldMetaData("salePriceSnapshotDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 216 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
225 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
226 |
tmpMap.put(_Fields.FC_LOCATION, new org.apache.thrift.meta_data.FieldMetaData("fcLocation", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
227 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, AmazonFCWarehouseLocation.class)));
|
| 217 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
228 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 218 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AmazonFbaSalesSnapshot.class, metaDataMap);
|
229 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AmazonFbaSalesSnapshot.class, metaDataMap);
|
| 219 |
}
|
230 |
}
|
| 220 |
|
231 |
|
| 221 |
public AmazonFbaSalesSnapshot() {
|
232 |
public AmazonFbaSalesSnapshot() {
|
| Line 235... |
Line 246... |
| 235 |
int promotionOrderCount,
|
246 |
int promotionOrderCount,
|
| 236 |
double ourPrice,
|
247 |
double ourPrice,
|
| 237 |
long minFbaPriceSnapshotDate,
|
248 |
long minFbaPriceSnapshotDate,
|
| 238 |
long minMfnPriceSnapshotDate,
|
249 |
long minMfnPriceSnapshotDate,
|
| 239 |
long ourPriceSnapshotDate,
|
250 |
long ourPriceSnapshotDate,
|
| 240 |
long salePriceSnapshotDate)
|
251 |
long salePriceSnapshotDate,
|
| - |
|
252 |
AmazonFCWarehouseLocation fcLocation)
|
| 241 |
{
|
253 |
{
|
| 242 |
this();
|
254 |
this();
|
| 243 |
this.dateOfSale = dateOfSale;
|
255 |
this.dateOfSale = dateOfSale;
|
| 244 |
setDateOfSaleIsSet(true);
|
256 |
setDateOfSaleIsSet(true);
|
| 245 |
this.item_id = item_id;
|
257 |
this.item_id = item_id;
|
| Line 270... |
Line 282... |
| 270 |
setMinMfnPriceSnapshotDateIsSet(true);
|
282 |
setMinMfnPriceSnapshotDateIsSet(true);
|
| 271 |
this.ourPriceSnapshotDate = ourPriceSnapshotDate;
|
283 |
this.ourPriceSnapshotDate = ourPriceSnapshotDate;
|
| 272 |
setOurPriceSnapshotDateIsSet(true);
|
284 |
setOurPriceSnapshotDateIsSet(true);
|
| 273 |
this.salePriceSnapshotDate = salePriceSnapshotDate;
|
285 |
this.salePriceSnapshotDate = salePriceSnapshotDate;
|
| 274 |
setSalePriceSnapshotDateIsSet(true);
|
286 |
setSalePriceSnapshotDateIsSet(true);
|
| - |
|
287 |
this.fcLocation = fcLocation;
|
| 275 |
}
|
288 |
}
|
| 276 |
|
289 |
|
| 277 |
/**
|
290 |
/**
|
| 278 |
* Performs a deep copy on <i>other</i>.
|
291 |
* Performs a deep copy on <i>other</i>.
|
| 279 |
*/
|
292 |
*/
|
| Line 294... |
Line 307... |
| 294 |
this.ourPrice = other.ourPrice;
|
307 |
this.ourPrice = other.ourPrice;
|
| 295 |
this.minFbaPriceSnapshotDate = other.minFbaPriceSnapshotDate;
|
308 |
this.minFbaPriceSnapshotDate = other.minFbaPriceSnapshotDate;
|
| 296 |
this.minMfnPriceSnapshotDate = other.minMfnPriceSnapshotDate;
|
309 |
this.minMfnPriceSnapshotDate = other.minMfnPriceSnapshotDate;
|
| 297 |
this.ourPriceSnapshotDate = other.ourPriceSnapshotDate;
|
310 |
this.ourPriceSnapshotDate = other.ourPriceSnapshotDate;
|
| 298 |
this.salePriceSnapshotDate = other.salePriceSnapshotDate;
|
311 |
this.salePriceSnapshotDate = other.salePriceSnapshotDate;
|
| - |
|
312 |
if (other.isSetFcLocation()) {
|
| - |
|
313 |
this.fcLocation = other.fcLocation;
|
| - |
|
314 |
}
|
| 299 |
}
|
315 |
}
|
| 300 |
|
316 |
|
| 301 |
public AmazonFbaSalesSnapshot deepCopy() {
|
317 |
public AmazonFbaSalesSnapshot deepCopy() {
|
| 302 |
return new AmazonFbaSalesSnapshot(this);
|
318 |
return new AmazonFbaSalesSnapshot(this);
|
| 303 |
}
|
319 |
}
|
| Line 334... |
Line 350... |
| 334 |
this.minMfnPriceSnapshotDate = 0;
|
350 |
this.minMfnPriceSnapshotDate = 0;
|
| 335 |
setOurPriceSnapshotDateIsSet(false);
|
351 |
setOurPriceSnapshotDateIsSet(false);
|
| 336 |
this.ourPriceSnapshotDate = 0;
|
352 |
this.ourPriceSnapshotDate = 0;
|
| 337 |
setSalePriceSnapshotDateIsSet(false);
|
353 |
setSalePriceSnapshotDateIsSet(false);
|
| 338 |
this.salePriceSnapshotDate = 0;
|
354 |
this.salePriceSnapshotDate = 0;
|
| - |
|
355 |
this.fcLocation = null;
|
| 339 |
}
|
356 |
}
|
| 340 |
|
357 |
|
| 341 |
public long getDateOfSale() {
|
358 |
public long getDateOfSale() {
|
| 342 |
return this.dateOfSale;
|
359 |
return this.dateOfSale;
|
| 343 |
}
|
360 |
}
|
| Line 688... |
Line 705... |
| 688 |
|
705 |
|
| 689 |
public void setSalePriceSnapshotDateIsSet(boolean value) {
|
706 |
public void setSalePriceSnapshotDateIsSet(boolean value) {
|
| 690 |
__isset_bit_vector.set(__SALEPRICESNAPSHOTDATE_ISSET_ID, value);
|
707 |
__isset_bit_vector.set(__SALEPRICESNAPSHOTDATE_ISSET_ID, value);
|
| 691 |
}
|
708 |
}
|
| 692 |
|
709 |
|
| - |
|
710 |
/**
|
| - |
|
711 |
*
|
| - |
|
712 |
* @see AmazonFCWarehouseLocation
|
| - |
|
713 |
*/
|
| - |
|
714 |
public AmazonFCWarehouseLocation getFcLocation() {
|
| - |
|
715 |
return this.fcLocation;
|
| - |
|
716 |
}
|
| - |
|
717 |
|
| - |
|
718 |
/**
|
| - |
|
719 |
*
|
| - |
|
720 |
* @see AmazonFCWarehouseLocation
|
| - |
|
721 |
*/
|
| - |
|
722 |
public void setFcLocation(AmazonFCWarehouseLocation fcLocation) {
|
| - |
|
723 |
this.fcLocation = fcLocation;
|
| - |
|
724 |
}
|
| - |
|
725 |
|
| - |
|
726 |
public void unsetFcLocation() {
|
| - |
|
727 |
this.fcLocation = null;
|
| - |
|
728 |
}
|
| - |
|
729 |
|
| - |
|
730 |
/** Returns true if field fcLocation is set (has been assigned a value) and false otherwise */
|
| - |
|
731 |
public boolean isSetFcLocation() {
|
| - |
|
732 |
return this.fcLocation != null;
|
| - |
|
733 |
}
|
| - |
|
734 |
|
| - |
|
735 |
public void setFcLocationIsSet(boolean value) {
|
| - |
|
736 |
if (!value) {
|
| - |
|
737 |
this.fcLocation = null;
|
| - |
|
738 |
}
|
| - |
|
739 |
}
|
| - |
|
740 |
|
| 693 |
public void setFieldValue(_Fields field, Object value) {
|
741 |
public void setFieldValue(_Fields field, Object value) {
|
| 694 |
switch (field) {
|
742 |
switch (field) {
|
| 695 |
case DATE_OF_SALE:
|
743 |
case DATE_OF_SALE:
|
| 696 |
if (value == null) {
|
744 |
if (value == null) {
|
| 697 |
unsetDateOfSale();
|
745 |
unsetDateOfSale();
|
| Line 818... |
Line 866... |
| 818 |
} else {
|
866 |
} else {
|
| 819 |
setSalePriceSnapshotDate((Long)value);
|
867 |
setSalePriceSnapshotDate((Long)value);
|
| 820 |
}
|
868 |
}
|
| 821 |
break;
|
869 |
break;
|
| 822 |
|
870 |
|
| - |
|
871 |
case FC_LOCATION:
|
| - |
|
872 |
if (value == null) {
|
| - |
|
873 |
unsetFcLocation();
|
| - |
|
874 |
} else {
|
| - |
|
875 |
setFcLocation((AmazonFCWarehouseLocation)value);
|
| - |
|
876 |
}
|
| - |
|
877 |
break;
|
| - |
|
878 |
|
| 823 |
}
|
879 |
}
|
| 824 |
}
|
880 |
}
|
| 825 |
|
881 |
|
| 826 |
public Object getFieldValue(_Fields field) {
|
882 |
public Object getFieldValue(_Fields field) {
|
| 827 |
switch (field) {
|
883 |
switch (field) {
|
| Line 871... |
Line 927... |
| 871 |
return Long.valueOf(getOurPriceSnapshotDate());
|
927 |
return Long.valueOf(getOurPriceSnapshotDate());
|
| 872 |
|
928 |
|
| 873 |
case SALE_PRICE_SNAPSHOT_DATE:
|
929 |
case SALE_PRICE_SNAPSHOT_DATE:
|
| 874 |
return Long.valueOf(getSalePriceSnapshotDate());
|
930 |
return Long.valueOf(getSalePriceSnapshotDate());
|
| 875 |
|
931 |
|
| - |
|
932 |
case FC_LOCATION:
|
| - |
|
933 |
return getFcLocation();
|
| - |
|
934 |
|
| 876 |
}
|
935 |
}
|
| 877 |
throw new IllegalStateException();
|
936 |
throw new IllegalStateException();
|
| 878 |
}
|
937 |
}
|
| 879 |
|
938 |
|
| 880 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
939 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 914... |
Line 973... |
| 914 |
return isSetMinMfnPriceSnapshotDate();
|
973 |
return isSetMinMfnPriceSnapshotDate();
|
| 915 |
case OUR_PRICE_SNAPSHOT_DATE:
|
974 |
case OUR_PRICE_SNAPSHOT_DATE:
|
| 916 |
return isSetOurPriceSnapshotDate();
|
975 |
return isSetOurPriceSnapshotDate();
|
| 917 |
case SALE_PRICE_SNAPSHOT_DATE:
|
976 |
case SALE_PRICE_SNAPSHOT_DATE:
|
| 918 |
return isSetSalePriceSnapshotDate();
|
977 |
return isSetSalePriceSnapshotDate();
|
| - |
|
978 |
case FC_LOCATION:
|
| - |
|
979 |
return isSetFcLocation();
|
| 919 |
}
|
980 |
}
|
| 920 |
throw new IllegalStateException();
|
981 |
throw new IllegalStateException();
|
| 921 |
}
|
982 |
}
|
| 922 |
|
983 |
|
| 923 |
@Override
|
984 |
@Override
|
| Line 1075... |
Line 1136... |
| 1075 |
return false;
|
1136 |
return false;
|
| 1076 |
if (this.salePriceSnapshotDate != that.salePriceSnapshotDate)
|
1137 |
if (this.salePriceSnapshotDate != that.salePriceSnapshotDate)
|
| 1077 |
return false;
|
1138 |
return false;
|
| 1078 |
}
|
1139 |
}
|
| 1079 |
|
1140 |
|
| - |
|
1141 |
boolean this_present_fcLocation = true && this.isSetFcLocation();
|
| - |
|
1142 |
boolean that_present_fcLocation = true && that.isSetFcLocation();
|
| - |
|
1143 |
if (this_present_fcLocation || that_present_fcLocation) {
|
| - |
|
1144 |
if (!(this_present_fcLocation && that_present_fcLocation))
|
| - |
|
1145 |
return false;
|
| - |
|
1146 |
if (!this.fcLocation.equals(that.fcLocation))
|
| - |
|
1147 |
return false;
|
| - |
|
1148 |
}
|
| - |
|
1149 |
|
| 1080 |
return true;
|
1150 |
return true;
|
| 1081 |
}
|
1151 |
}
|
| 1082 |
|
1152 |
|
| 1083 |
@Override
|
1153 |
@Override
|
| 1084 |
public int hashCode() {
|
1154 |
public int hashCode() {
|
| Line 1251... |
Line 1321... |
| 1251 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.salePriceSnapshotDate, typedOther.salePriceSnapshotDate);
|
1321 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.salePriceSnapshotDate, typedOther.salePriceSnapshotDate);
|
| 1252 |
if (lastComparison != 0) {
|
1322 |
if (lastComparison != 0) {
|
| 1253 |
return lastComparison;
|
1323 |
return lastComparison;
|
| 1254 |
}
|
1324 |
}
|
| 1255 |
}
|
1325 |
}
|
| - |
|
1326 |
lastComparison = Boolean.valueOf(isSetFcLocation()).compareTo(typedOther.isSetFcLocation());
|
| - |
|
1327 |
if (lastComparison != 0) {
|
| - |
|
1328 |
return lastComparison;
|
| - |
|
1329 |
}
|
| - |
|
1330 |
if (isSetFcLocation()) {
|
| - |
|
1331 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fcLocation, typedOther.fcLocation);
|
| - |
|
1332 |
if (lastComparison != 0) {
|
| - |
|
1333 |
return lastComparison;
|
| - |
|
1334 |
}
|
| - |
|
1335 |
}
|
| 1256 |
return 0;
|
1336 |
return 0;
|
| 1257 |
}
|
1337 |
}
|
| 1258 |
|
1338 |
|
| 1259 |
public _Fields fieldForId(int fieldId) {
|
1339 |
public _Fields fieldForId(int fieldId) {
|
| 1260 |
return _Fields.findByThriftId(fieldId);
|
1340 |
return _Fields.findByThriftId(fieldId);
|
| Line 1396... |
Line 1476... |
| 1396 |
setSalePriceSnapshotDateIsSet(true);
|
1476 |
setSalePriceSnapshotDateIsSet(true);
|
| 1397 |
} else {
|
1477 |
} else {
|
| 1398 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1478 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1399 |
}
|
1479 |
}
|
| 1400 |
break;
|
1480 |
break;
|
| - |
|
1481 |
case 17: // FC_LOCATION
|
| - |
|
1482 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| - |
|
1483 |
this.fcLocation = AmazonFCWarehouseLocation.findByValue(iprot.readI32());
|
| - |
|
1484 |
} else {
|
| - |
|
1485 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1486 |
}
|
| - |
|
1487 |
break;
|
| 1401 |
default:
|
1488 |
default:
|
| 1402 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1489 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1403 |
}
|
1490 |
}
|
| 1404 |
iprot.readFieldEnd();
|
1491 |
iprot.readFieldEnd();
|
| 1405 |
}
|
1492 |
}
|
| Line 1457... |
Line 1544... |
| 1457 |
oprot.writeI64(this.ourPriceSnapshotDate);
|
1544 |
oprot.writeI64(this.ourPriceSnapshotDate);
|
| 1458 |
oprot.writeFieldEnd();
|
1545 |
oprot.writeFieldEnd();
|
| 1459 |
oprot.writeFieldBegin(SALE_PRICE_SNAPSHOT_DATE_FIELD_DESC);
|
1546 |
oprot.writeFieldBegin(SALE_PRICE_SNAPSHOT_DATE_FIELD_DESC);
|
| 1460 |
oprot.writeI64(this.salePriceSnapshotDate);
|
1547 |
oprot.writeI64(this.salePriceSnapshotDate);
|
| 1461 |
oprot.writeFieldEnd();
|
1548 |
oprot.writeFieldEnd();
|
| - |
|
1549 |
if (this.fcLocation != null) {
|
| - |
|
1550 |
oprot.writeFieldBegin(FC_LOCATION_FIELD_DESC);
|
| - |
|
1551 |
oprot.writeI32(this.fcLocation.getValue());
|
| - |
|
1552 |
oprot.writeFieldEnd();
|
| - |
|
1553 |
}
|
| 1462 |
oprot.writeFieldStop();
|
1554 |
oprot.writeFieldStop();
|
| 1463 |
oprot.writeStructEnd();
|
1555 |
oprot.writeStructEnd();
|
| 1464 |
}
|
1556 |
}
|
| 1465 |
|
1557 |
|
| 1466 |
@Override
|
1558 |
@Override
|
| Line 1529... |
Line 1621... |
| 1529 |
first = false;
|
1621 |
first = false;
|
| 1530 |
if (!first) sb.append(", ");
|
1622 |
if (!first) sb.append(", ");
|
| 1531 |
sb.append("salePriceSnapshotDate:");
|
1623 |
sb.append("salePriceSnapshotDate:");
|
| 1532 |
sb.append(this.salePriceSnapshotDate);
|
1624 |
sb.append(this.salePriceSnapshotDate);
|
| 1533 |
first = false;
|
1625 |
first = false;
|
| - |
|
1626 |
if (!first) sb.append(", ");
|
| - |
|
1627 |
sb.append("fcLocation:");
|
| - |
|
1628 |
if (this.fcLocation == null) {
|
| - |
|
1629 |
sb.append("null");
|
| - |
|
1630 |
} else {
|
| - |
|
1631 |
sb.append(this.fcLocation);
|
| - |
|
1632 |
}
|
| - |
|
1633 |
first = false;
|
| 1534 |
sb.append(")");
|
1634 |
sb.append(")");
|
| 1535 |
return sb.toString();
|
1635 |
return sb.toString();
|
| 1536 |
}
|
1636 |
}
|
| 1537 |
|
1637 |
|
| 1538 |
public void validate() throws org.apache.thrift.TException {
|
1638 |
public void validate() throws org.apache.thrift.TException {
|