Subversion Repositories SmartDukaan

Rev

Rev 7438 | Rev 7770 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7438 Rev 7461
Line 408... Line 408...
408
 
408
 
409
    public List<Amazonlisted> getAllFbaListedItems() throws org.apache.thrift.TException;
409
    public List<Amazonlisted> getAllFbaListedItems() throws org.apache.thrift.TException;
410
 
410
 
411
    public List<Amazonlisted> getAllNonFbaListedItems() throws org.apache.thrift.TException;
411
    public List<Amazonlisted> getAllNonFbaListedItems() throws org.apache.thrift.TException;
412
 
412
 
-
 
413
    public boolean updateItemInventory(long itemId, long holdInventory, long defaultInventory) throws org.apache.thrift.TException;
-
 
414
 
413
  }
415
  }
414
 
416
 
415
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
417
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
416
 
418
 
417
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
419
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 606... Line 608...
606
 
608
 
607
    public void getAllFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
609
    public void getAllFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
608
 
610
 
609
    public void getAllNonFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllNonFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
611
    public void getAllNonFbaListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllNonFbaListedItems_call> resultHandler) throws org.apache.thrift.TException;
610
 
612
 
-
 
613
    public void updateItemInventory(long itemId, long holdInventory, long defaultInventory, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateItemInventory_call> resultHandler) throws org.apache.thrift.TException;
-
 
614
 
611
  }
615
  }
612
 
616
 
613
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
617
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
614
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
618
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
615
      public Factory() {}
619
      public Factory() {}
Line 2981... Line 2985...
2981
        return result.success;
2985
        return result.success;
2982
      }
2986
      }
2983
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
2987
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
2984
    }
2988
    }
2985
 
2989
 
-
 
2990
    public boolean updateItemInventory(long itemId, long holdInventory, long defaultInventory) throws org.apache.thrift.TException
-
 
2991
    {
-
 
2992
      send_updateItemInventory(itemId, holdInventory, defaultInventory);
-
 
2993
      return recv_updateItemInventory();
-
 
2994
    }
-
 
2995
 
-
 
2996
    public void send_updateItemInventory(long itemId, long holdInventory, long defaultInventory) throws org.apache.thrift.TException
-
 
2997
    {
-
 
2998
      updateItemInventory_args args = new updateItemInventory_args();
-
 
2999
      args.setItemId(itemId);
-
 
3000
      args.setHoldInventory(holdInventory);
-
 
3001
      args.setDefaultInventory(defaultInventory);
-
 
3002
      sendBase("updateItemInventory", args);
-
 
3003
    }
-
 
3004
 
-
 
3005
    public boolean recv_updateItemInventory() throws org.apache.thrift.TException
-
 
3006
    {
-
 
3007
      updateItemInventory_result result = new updateItemInventory_result();
-
 
3008
      receiveBase(result, "updateItemInventory");
-
 
3009
      if (result.isSetSuccess()) {
-
 
3010
        return result.success;
-
 
3011
      }
-
 
3012
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
-
 
3013
    }
-
 
3014
 
2986
  }
3015
  }
2987
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3016
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2988
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3017
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2989
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3018
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2990
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
3019
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 6235... Line 6264...
6235
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6264
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6236
        return (new Client(prot)).recv_getAllNonFbaListedItems();
6265
        return (new Client(prot)).recv_getAllNonFbaListedItems();
6237
      }
6266
      }
6238
    }
6267
    }
6239
 
6268
 
-
 
6269
    public void updateItemInventory(long itemId, long holdInventory, long defaultInventory, org.apache.thrift.async.AsyncMethodCallback<updateItemInventory_call> resultHandler) throws org.apache.thrift.TException {
-
 
6270
      checkReady();
-
 
6271
      updateItemInventory_call method_call = new updateItemInventory_call(itemId, holdInventory, defaultInventory, resultHandler, this, ___protocolFactory, ___transport);
-
 
6272
      this.___currentMethod = method_call;
-
 
6273
      ___manager.call(method_call);
-
 
6274
    }
-
 
6275
 
-
 
6276
    public static class updateItemInventory_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6277
      private long itemId;
-
 
6278
      private long holdInventory;
-
 
6279
      private long defaultInventory;
-
 
6280
      public updateItemInventory_call(long itemId, long holdInventory, long defaultInventory, org.apache.thrift.async.AsyncMethodCallback<updateItemInventory_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 {
-
 
6281
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6282
        this.itemId = itemId;
-
 
6283
        this.holdInventory = holdInventory;
-
 
6284
        this.defaultInventory = defaultInventory;
-
 
6285
      }
-
 
6286
 
-
 
6287
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6288
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateItemInventory", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6289
        updateItemInventory_args args = new updateItemInventory_args();
-
 
6290
        args.setItemId(itemId);
-
 
6291
        args.setHoldInventory(holdInventory);
-
 
6292
        args.setDefaultInventory(defaultInventory);
-
 
6293
        args.write(prot);
-
 
6294
        prot.writeMessageEnd();
-
 
6295
      }
-
 
6296
 
-
 
6297
      public boolean getResult() throws org.apache.thrift.TException {
-
 
6298
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6299
          throw new IllegalStateException("Method call not finished!");
-
 
6300
        }
-
 
6301
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6302
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6303
        return (new Client(prot)).recv_updateItemInventory();
-
 
6304
      }
-
 
6305
    }
-
 
6306
 
6240
  }
6307
  }
6241
 
6308
 
6242
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6309
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6243
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6310
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6244
    public Processor(I iface) {
6311
    public Processor(I iface) {
Line 6345... Line 6412...
6345
      processMap.put("updateAmazonItemDetails", new updateAmazonItemDetails());
6412
      processMap.put("updateAmazonItemDetails", new updateAmazonItemDetails());
6346
      processMap.put("addAmazonItem", new addAmazonItem());
6413
      processMap.put("addAmazonItem", new addAmazonItem());
6347
      processMap.put("getAsinItems", new getAsinItems());
6414
      processMap.put("getAsinItems", new getAsinItems());
6348
      processMap.put("getAllFbaListedItems", new getAllFbaListedItems());
6415
      processMap.put("getAllFbaListedItems", new getAllFbaListedItems());
6349
      processMap.put("getAllNonFbaListedItems", new getAllNonFbaListedItems());
6416
      processMap.put("getAllNonFbaListedItems", new getAllNonFbaListedItems());
-
 
6417
      processMap.put("updateItemInventory", new updateItemInventory());
6350
      return processMap;
6418
      return processMap;
6351
    }
6419
    }
6352
 
6420
 
6353
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6421
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
6354
      public addItem() {
6422
      public addItem() {
Line 8083... Line 8151...
8083
        result.success = iface.getAllNonFbaListedItems();
8151
        result.success = iface.getAllNonFbaListedItems();
8084
        return result;
8152
        return result;
8085
      }
8153
      }
8086
    }
8154
    }
8087
 
8155
 
-
 
8156
    private static class updateItemInventory<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateItemInventory_args> {
-
 
8157
      public updateItemInventory() {
-
 
8158
        super("updateItemInventory");
-
 
8159
      }
-
 
8160
 
-
 
8161
      protected updateItemInventory_args getEmptyArgsInstance() {
-
 
8162
        return new updateItemInventory_args();
-
 
8163
      }
-
 
8164
 
-
 
8165
      protected updateItemInventory_result getResult(I iface, updateItemInventory_args args) throws org.apache.thrift.TException {
-
 
8166
        updateItemInventory_result result = new updateItemInventory_result();
-
 
8167
        result.success = iface.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory);
-
 
8168
        result.setSuccessIsSet(true);
-
 
8169
        return result;
-
 
8170
      }
-
 
8171
    }
-
 
8172
 
8088
  }
8173
  }
8089
 
8174
 
8090
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8175
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
8091
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8176
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
8092
 
8177
 
Line 72654... Line 72739...
72654
      first = false;
72739
      first = false;
72655
      sb.append(")");
72740
      sb.append(")");
72656
      return sb.toString();
72741
      return sb.toString();
72657
    }
72742
    }
72658
 
72743
 
-
 
72744
    public void validate() throws org.apache.thrift.TException {
-
 
72745
      // check for required fields
-
 
72746
    }
-
 
72747
 
-
 
72748
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
72749
      try {
-
 
72750
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
72751
      } catch (org.apache.thrift.TException te) {
-
 
72752
        throw new java.io.IOException(te);
-
 
72753
      }
-
 
72754
    }
-
 
72755
 
-
 
72756
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
72757
      try {
-
 
72758
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
72759
      } catch (org.apache.thrift.TException te) {
-
 
72760
        throw new java.io.IOException(te);
-
 
72761
      }
-
 
72762
    }
-
 
72763
 
-
 
72764
  }
-
 
72765
 
-
 
72766
  public static class updateItemInventory_args implements org.apache.thrift.TBase<updateItemInventory_args, updateItemInventory_args._Fields>, java.io.Serializable, Cloneable   {
-
 
72767
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateItemInventory_args");
-
 
72768
 
-
 
72769
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
72770
    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)2);
-
 
72771
    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)3);
-
 
72772
 
-
 
72773
    private long itemId; // required
-
 
72774
    private long holdInventory; // required
-
 
72775
    private long defaultInventory; // required
-
 
72776
 
-
 
72777
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
72778
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
72779
      ITEM_ID((short)1, "itemId"),
-
 
72780
      HOLD_INVENTORY((short)2, "holdInventory"),
-
 
72781
      DEFAULT_INVENTORY((short)3, "defaultInventory");
-
 
72782
 
-
 
72783
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
72784
 
-
 
72785
      static {
-
 
72786
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
72787
          byName.put(field.getFieldName(), field);
-
 
72788
        }
-
 
72789
      }
-
 
72790
 
-
 
72791
      /**
-
 
72792
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
72793
       */
-
 
72794
      public static _Fields findByThriftId(int fieldId) {
-
 
72795
        switch(fieldId) {
-
 
72796
          case 1: // ITEM_ID
-
 
72797
            return ITEM_ID;
-
 
72798
          case 2: // HOLD_INVENTORY
-
 
72799
            return HOLD_INVENTORY;
-
 
72800
          case 3: // DEFAULT_INVENTORY
-
 
72801
            return DEFAULT_INVENTORY;
-
 
72802
          default:
-
 
72803
            return null;
-
 
72804
        }
-
 
72805
      }
-
 
72806
 
-
 
72807
      /**
-
 
72808
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
72809
       * if it is not found.
-
 
72810
       */
-
 
72811
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
72812
        _Fields fields = findByThriftId(fieldId);
-
 
72813
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
72814
        return fields;
-
 
72815
      }
-
 
72816
 
-
 
72817
      /**
-
 
72818
       * Find the _Fields constant that matches name, or null if its not found.
-
 
72819
       */
-
 
72820
      public static _Fields findByName(String name) {
-
 
72821
        return byName.get(name);
-
 
72822
      }
-
 
72823
 
-
 
72824
      private final short _thriftId;
-
 
72825
      private final String _fieldName;
-
 
72826
 
-
 
72827
      _Fields(short thriftId, String fieldName) {
-
 
72828
        _thriftId = thriftId;
-
 
72829
        _fieldName = fieldName;
-
 
72830
      }
-
 
72831
 
-
 
72832
      public short getThriftFieldId() {
-
 
72833
        return _thriftId;
-
 
72834
      }
-
 
72835
 
-
 
72836
      public String getFieldName() {
-
 
72837
        return _fieldName;
-
 
72838
      }
-
 
72839
    }
-
 
72840
 
-
 
72841
    // isset id assignments
-
 
72842
    private static final int __ITEMID_ISSET_ID = 0;
-
 
72843
    private static final int __HOLDINVENTORY_ISSET_ID = 1;
-
 
72844
    private static final int __DEFAULTINVENTORY_ISSET_ID = 2;
-
 
72845
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
72846
 
-
 
72847
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
72848
    static {
-
 
72849
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
72850
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72851
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
72852
      tmpMap.put(_Fields.HOLD_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("holdInventory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72853
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
72854
      tmpMap.put(_Fields.DEFAULT_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("defaultInventory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72855
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
72856
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
72857
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateItemInventory_args.class, metaDataMap);
-
 
72858
    }
-
 
72859
 
-
 
72860
    public updateItemInventory_args() {
-
 
72861
    }
-
 
72862
 
-
 
72863
    public updateItemInventory_args(
-
 
72864
      long itemId,
-
 
72865
      long holdInventory,
-
 
72866
      long defaultInventory)
-
 
72867
    {
-
 
72868
      this();
-
 
72869
      this.itemId = itemId;
-
 
72870
      setItemIdIsSet(true);
-
 
72871
      this.holdInventory = holdInventory;
-
 
72872
      setHoldInventoryIsSet(true);
-
 
72873
      this.defaultInventory = defaultInventory;
-
 
72874
      setDefaultInventoryIsSet(true);
-
 
72875
    }
-
 
72876
 
-
 
72877
    /**
-
 
72878
     * Performs a deep copy on <i>other</i>.
-
 
72879
     */
-
 
72880
    public updateItemInventory_args(updateItemInventory_args other) {
-
 
72881
      __isset_bit_vector.clear();
-
 
72882
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
72883
      this.itemId = other.itemId;
-
 
72884
      this.holdInventory = other.holdInventory;
-
 
72885
      this.defaultInventory = other.defaultInventory;
-
 
72886
    }
-
 
72887
 
-
 
72888
    public updateItemInventory_args deepCopy() {
-
 
72889
      return new updateItemInventory_args(this);
-
 
72890
    }
-
 
72891
 
-
 
72892
    @Override
-
 
72893
    public void clear() {
-
 
72894
      setItemIdIsSet(false);
-
 
72895
      this.itemId = 0;
-
 
72896
      setHoldInventoryIsSet(false);
-
 
72897
      this.holdInventory = 0;
-
 
72898
      setDefaultInventoryIsSet(false);
-
 
72899
      this.defaultInventory = 0;
-
 
72900
    }
-
 
72901
 
-
 
72902
    public long getItemId() {
-
 
72903
      return this.itemId;
-
 
72904
    }
-
 
72905
 
-
 
72906
    public void setItemId(long itemId) {
-
 
72907
      this.itemId = itemId;
-
 
72908
      setItemIdIsSet(true);
-
 
72909
    }
-
 
72910
 
-
 
72911
    public void unsetItemId() {
-
 
72912
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
72913
    }
-
 
72914
 
-
 
72915
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
72916
    public boolean isSetItemId() {
-
 
72917
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
72918
    }
-
 
72919
 
-
 
72920
    public void setItemIdIsSet(boolean value) {
-
 
72921
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
72922
    }
-
 
72923
 
-
 
72924
    public long getHoldInventory() {
-
 
72925
      return this.holdInventory;
-
 
72926
    }
-
 
72927
 
-
 
72928
    public void setHoldInventory(long holdInventory) {
-
 
72929
      this.holdInventory = holdInventory;
-
 
72930
      setHoldInventoryIsSet(true);
-
 
72931
    }
-
 
72932
 
-
 
72933
    public void unsetHoldInventory() {
-
 
72934
      __isset_bit_vector.clear(__HOLDINVENTORY_ISSET_ID);
-
 
72935
    }
-
 
72936
 
-
 
72937
    /** Returns true if field holdInventory is set (has been assigned a value) and false otherwise */
-
 
72938
    public boolean isSetHoldInventory() {
-
 
72939
      return __isset_bit_vector.get(__HOLDINVENTORY_ISSET_ID);
-
 
72940
    }
-
 
72941
 
-
 
72942
    public void setHoldInventoryIsSet(boolean value) {
-
 
72943
      __isset_bit_vector.set(__HOLDINVENTORY_ISSET_ID, value);
-
 
72944
    }
-
 
72945
 
-
 
72946
    public long getDefaultInventory() {
-
 
72947
      return this.defaultInventory;
-
 
72948
    }
-
 
72949
 
-
 
72950
    public void setDefaultInventory(long defaultInventory) {
-
 
72951
      this.defaultInventory = defaultInventory;
-
 
72952
      setDefaultInventoryIsSet(true);
-
 
72953
    }
-
 
72954
 
-
 
72955
    public void unsetDefaultInventory() {
-
 
72956
      __isset_bit_vector.clear(__DEFAULTINVENTORY_ISSET_ID);
-
 
72957
    }
-
 
72958
 
-
 
72959
    /** Returns true if field defaultInventory is set (has been assigned a value) and false otherwise */
-
 
72960
    public boolean isSetDefaultInventory() {
-
 
72961
      return __isset_bit_vector.get(__DEFAULTINVENTORY_ISSET_ID);
-
 
72962
    }
-
 
72963
 
-
 
72964
    public void setDefaultInventoryIsSet(boolean value) {
-
 
72965
      __isset_bit_vector.set(__DEFAULTINVENTORY_ISSET_ID, value);
-
 
72966
    }
-
 
72967
 
-
 
72968
    public void setFieldValue(_Fields field, Object value) {
-
 
72969
      switch (field) {
-
 
72970
      case ITEM_ID:
-
 
72971
        if (value == null) {
-
 
72972
          unsetItemId();
-
 
72973
        } else {
-
 
72974
          setItemId((Long)value);
-
 
72975
        }
-
 
72976
        break;
-
 
72977
 
-
 
72978
      case HOLD_INVENTORY:
-
 
72979
        if (value == null) {
-
 
72980
          unsetHoldInventory();
-
 
72981
        } else {
-
 
72982
          setHoldInventory((Long)value);
-
 
72983
        }
-
 
72984
        break;
-
 
72985
 
-
 
72986
      case DEFAULT_INVENTORY:
-
 
72987
        if (value == null) {
-
 
72988
          unsetDefaultInventory();
-
 
72989
        } else {
-
 
72990
          setDefaultInventory((Long)value);
-
 
72991
        }
-
 
72992
        break;
-
 
72993
 
-
 
72994
      }
-
 
72995
    }
-
 
72996
 
-
 
72997
    public Object getFieldValue(_Fields field) {
-
 
72998
      switch (field) {
-
 
72999
      case ITEM_ID:
-
 
73000
        return Long.valueOf(getItemId());
-
 
73001
 
-
 
73002
      case HOLD_INVENTORY:
-
 
73003
        return Long.valueOf(getHoldInventory());
-
 
73004
 
-
 
73005
      case DEFAULT_INVENTORY:
-
 
73006
        return Long.valueOf(getDefaultInventory());
-
 
73007
 
-
 
73008
      }
-
 
73009
      throw new IllegalStateException();
-
 
73010
    }
-
 
73011
 
-
 
73012
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
73013
    public boolean isSet(_Fields field) {
-
 
73014
      if (field == null) {
-
 
73015
        throw new IllegalArgumentException();
-
 
73016
      }
-
 
73017
 
-
 
73018
      switch (field) {
-
 
73019
      case ITEM_ID:
-
 
73020
        return isSetItemId();
-
 
73021
      case HOLD_INVENTORY:
-
 
73022
        return isSetHoldInventory();
-
 
73023
      case DEFAULT_INVENTORY:
-
 
73024
        return isSetDefaultInventory();
-
 
73025
      }
-
 
73026
      throw new IllegalStateException();
-
 
73027
    }
-
 
73028
 
-
 
73029
    @Override
-
 
73030
    public boolean equals(Object that) {
-
 
73031
      if (that == null)
-
 
73032
        return false;
-
 
73033
      if (that instanceof updateItemInventory_args)
-
 
73034
        return this.equals((updateItemInventory_args)that);
-
 
73035
      return false;
-
 
73036
    }
-
 
73037
 
-
 
73038
    public boolean equals(updateItemInventory_args that) {
-
 
73039
      if (that == null)
-
 
73040
        return false;
-
 
73041
 
-
 
73042
      boolean this_present_itemId = true;
-
 
73043
      boolean that_present_itemId = true;
-
 
73044
      if (this_present_itemId || that_present_itemId) {
-
 
73045
        if (!(this_present_itemId && that_present_itemId))
-
 
73046
          return false;
-
 
73047
        if (this.itemId != that.itemId)
-
 
73048
          return false;
-
 
73049
      }
-
 
73050
 
-
 
73051
      boolean this_present_holdInventory = true;
-
 
73052
      boolean that_present_holdInventory = true;
-
 
73053
      if (this_present_holdInventory || that_present_holdInventory) {
-
 
73054
        if (!(this_present_holdInventory && that_present_holdInventory))
-
 
73055
          return false;
-
 
73056
        if (this.holdInventory != that.holdInventory)
-
 
73057
          return false;
-
 
73058
      }
-
 
73059
 
-
 
73060
      boolean this_present_defaultInventory = true;
-
 
73061
      boolean that_present_defaultInventory = true;
-
 
73062
      if (this_present_defaultInventory || that_present_defaultInventory) {
-
 
73063
        if (!(this_present_defaultInventory && that_present_defaultInventory))
-
 
73064
          return false;
-
 
73065
        if (this.defaultInventory != that.defaultInventory)
-
 
73066
          return false;
-
 
73067
      }
-
 
73068
 
-
 
73069
      return true;
-
 
73070
    }
-
 
73071
 
-
 
73072
    @Override
-
 
73073
    public int hashCode() {
-
 
73074
      return 0;
-
 
73075
    }
-
 
73076
 
-
 
73077
    public int compareTo(updateItemInventory_args other) {
-
 
73078
      if (!getClass().equals(other.getClass())) {
-
 
73079
        return getClass().getName().compareTo(other.getClass().getName());
-
 
73080
      }
-
 
73081
 
-
 
73082
      int lastComparison = 0;
-
 
73083
      updateItemInventory_args typedOther = (updateItemInventory_args)other;
-
 
73084
 
-
 
73085
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
73086
      if (lastComparison != 0) {
-
 
73087
        return lastComparison;
-
 
73088
      }
-
 
73089
      if (isSetItemId()) {
-
 
73090
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
73091
        if (lastComparison != 0) {
-
 
73092
          return lastComparison;
-
 
73093
        }
-
 
73094
      }
-
 
73095
      lastComparison = Boolean.valueOf(isSetHoldInventory()).compareTo(typedOther.isSetHoldInventory());
-
 
73096
      if (lastComparison != 0) {
-
 
73097
        return lastComparison;
-
 
73098
      }
-
 
73099
      if (isSetHoldInventory()) {
-
 
73100
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.holdInventory, typedOther.holdInventory);
-
 
73101
        if (lastComparison != 0) {
-
 
73102
          return lastComparison;
-
 
73103
        }
-
 
73104
      }
-
 
73105
      lastComparison = Boolean.valueOf(isSetDefaultInventory()).compareTo(typedOther.isSetDefaultInventory());
-
 
73106
      if (lastComparison != 0) {
-
 
73107
        return lastComparison;
-
 
73108
      }
-
 
73109
      if (isSetDefaultInventory()) {
-
 
73110
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultInventory, typedOther.defaultInventory);
-
 
73111
        if (lastComparison != 0) {
-
 
73112
          return lastComparison;
-
 
73113
        }
-
 
73114
      }
-
 
73115
      return 0;
-
 
73116
    }
-
 
73117
 
-
 
73118
    public _Fields fieldForId(int fieldId) {
-
 
73119
      return _Fields.findByThriftId(fieldId);
-
 
73120
    }
-
 
73121
 
-
 
73122
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73123
      org.apache.thrift.protocol.TField field;
-
 
73124
      iprot.readStructBegin();
-
 
73125
      while (true)
-
 
73126
      {
-
 
73127
        field = iprot.readFieldBegin();
-
 
73128
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73129
          break;
-
 
73130
        }
-
 
73131
        switch (field.id) {
-
 
73132
          case 1: // ITEM_ID
-
 
73133
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
73134
              this.itemId = iprot.readI64();
-
 
73135
              setItemIdIsSet(true);
-
 
73136
            } else { 
-
 
73137
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73138
            }
-
 
73139
            break;
-
 
73140
          case 2: // HOLD_INVENTORY
-
 
73141
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
73142
              this.holdInventory = iprot.readI64();
-
 
73143
              setHoldInventoryIsSet(true);
-
 
73144
            } else { 
-
 
73145
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73146
            }
-
 
73147
            break;
-
 
73148
          case 3: // DEFAULT_INVENTORY
-
 
73149
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
73150
              this.defaultInventory = iprot.readI64();
-
 
73151
              setDefaultInventoryIsSet(true);
-
 
73152
            } else { 
-
 
73153
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73154
            }
-
 
73155
            break;
-
 
73156
          default:
-
 
73157
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73158
        }
-
 
73159
        iprot.readFieldEnd();
-
 
73160
      }
-
 
73161
      iprot.readStructEnd();
-
 
73162
      validate();
-
 
73163
    }
-
 
73164
 
-
 
73165
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
73166
      validate();
-
 
73167
 
-
 
73168
      oprot.writeStructBegin(STRUCT_DESC);
-
 
73169
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
73170
      oprot.writeI64(this.itemId);
-
 
73171
      oprot.writeFieldEnd();
-
 
73172
      oprot.writeFieldBegin(HOLD_INVENTORY_FIELD_DESC);
-
 
73173
      oprot.writeI64(this.holdInventory);
-
 
73174
      oprot.writeFieldEnd();
-
 
73175
      oprot.writeFieldBegin(DEFAULT_INVENTORY_FIELD_DESC);
-
 
73176
      oprot.writeI64(this.defaultInventory);
-
 
73177
      oprot.writeFieldEnd();
-
 
73178
      oprot.writeFieldStop();
-
 
73179
      oprot.writeStructEnd();
-
 
73180
    }
-
 
73181
 
-
 
73182
    @Override
-
 
73183
    public String toString() {
-
 
73184
      StringBuilder sb = new StringBuilder("updateItemInventory_args(");
-
 
73185
      boolean first = true;
-
 
73186
 
-
 
73187
      sb.append("itemId:");
-
 
73188
      sb.append(this.itemId);
-
 
73189
      first = false;
-
 
73190
      if (!first) sb.append(", ");
-
 
73191
      sb.append("holdInventory:");
-
 
73192
      sb.append(this.holdInventory);
-
 
73193
      first = false;
-
 
73194
      if (!first) sb.append(", ");
-
 
73195
      sb.append("defaultInventory:");
-
 
73196
      sb.append(this.defaultInventory);
-
 
73197
      first = false;
-
 
73198
      sb.append(")");
-
 
73199
      return sb.toString();
-
 
73200
    }
-
 
73201
 
-
 
73202
    public void validate() throws org.apache.thrift.TException {
-
 
73203
      // check for required fields
-
 
73204
    }
-
 
73205
 
-
 
73206
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
73207
      try {
-
 
73208
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
73209
      } catch (org.apache.thrift.TException te) {
-
 
73210
        throw new java.io.IOException(te);
-
 
73211
      }
-
 
73212
    }
-
 
73213
 
-
 
73214
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
73215
      try {
-
 
73216
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73217
        __isset_bit_vector = new BitSet(1);
-
 
73218
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
73219
      } catch (org.apache.thrift.TException te) {
-
 
73220
        throw new java.io.IOException(te);
-
 
73221
      }
-
 
73222
    }
-
 
73223
 
-
 
73224
  }
-
 
73225
 
-
 
73226
  public static class updateItemInventory_result implements org.apache.thrift.TBase<updateItemInventory_result, updateItemInventory_result._Fields>, java.io.Serializable, Cloneable   {
-
 
73227
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateItemInventory_result");
-
 
73228
 
-
 
73229
    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);
-
 
73230
 
-
 
73231
    private boolean success; // required
-
 
73232
 
-
 
73233
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
73234
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
73235
      SUCCESS((short)0, "success");
-
 
73236
 
-
 
73237
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
73238
 
-
 
73239
      static {
-
 
73240
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
73241
          byName.put(field.getFieldName(), field);
-
 
73242
        }
-
 
73243
      }
-
 
73244
 
-
 
73245
      /**
-
 
73246
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
73247
       */
-
 
73248
      public static _Fields findByThriftId(int fieldId) {
-
 
73249
        switch(fieldId) {
-
 
73250
          case 0: // SUCCESS
-
 
73251
            return SUCCESS;
-
 
73252
          default:
-
 
73253
            return null;
-
 
73254
        }
-
 
73255
      }
-
 
73256
 
-
 
73257
      /**
-
 
73258
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
73259
       * if it is not found.
-
 
73260
       */
-
 
73261
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
73262
        _Fields fields = findByThriftId(fieldId);
-
 
73263
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
73264
        return fields;
-
 
73265
      }
-
 
73266
 
-
 
73267
      /**
-
 
73268
       * Find the _Fields constant that matches name, or null if its not found.
-
 
73269
       */
-
 
73270
      public static _Fields findByName(String name) {
-
 
73271
        return byName.get(name);
-
 
73272
      }
-
 
73273
 
-
 
73274
      private final short _thriftId;
-
 
73275
      private final String _fieldName;
-
 
73276
 
-
 
73277
      _Fields(short thriftId, String fieldName) {
-
 
73278
        _thriftId = thriftId;
-
 
73279
        _fieldName = fieldName;
-
 
73280
      }
-
 
73281
 
-
 
73282
      public short getThriftFieldId() {
-
 
73283
        return _thriftId;
-
 
73284
      }
-
 
73285
 
-
 
73286
      public String getFieldName() {
-
 
73287
        return _fieldName;
-
 
73288
      }
-
 
73289
    }
-
 
73290
 
-
 
73291
    // isset id assignments
-
 
73292
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
73293
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
73294
 
-
 
73295
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
73296
    static {
-
 
73297
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
73298
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73299
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
73300
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
73301
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateItemInventory_result.class, metaDataMap);
-
 
73302
    }
-
 
73303
 
-
 
73304
    public updateItemInventory_result() {
-
 
73305
    }
-
 
73306
 
-
 
73307
    public updateItemInventory_result(
-
 
73308
      boolean success)
-
 
73309
    {
-
 
73310
      this();
-
 
73311
      this.success = success;
-
 
73312
      setSuccessIsSet(true);
-
 
73313
    }
-
 
73314
 
-
 
73315
    /**
-
 
73316
     * Performs a deep copy on <i>other</i>.
-
 
73317
     */
-
 
73318
    public updateItemInventory_result(updateItemInventory_result other) {
-
 
73319
      __isset_bit_vector.clear();
-
 
73320
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
73321
      this.success = other.success;
-
 
73322
    }
-
 
73323
 
-
 
73324
    public updateItemInventory_result deepCopy() {
-
 
73325
      return new updateItemInventory_result(this);
-
 
73326
    }
-
 
73327
 
-
 
73328
    @Override
-
 
73329
    public void clear() {
-
 
73330
      setSuccessIsSet(false);
-
 
73331
      this.success = false;
-
 
73332
    }
-
 
73333
 
-
 
73334
    public boolean isSuccess() {
-
 
73335
      return this.success;
-
 
73336
    }
-
 
73337
 
-
 
73338
    public void setSuccess(boolean success) {
-
 
73339
      this.success = success;
-
 
73340
      setSuccessIsSet(true);
-
 
73341
    }
-
 
73342
 
-
 
73343
    public void unsetSuccess() {
-
 
73344
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
73345
    }
-
 
73346
 
-
 
73347
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
73348
    public boolean isSetSuccess() {
-
 
73349
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
73350
    }
-
 
73351
 
-
 
73352
    public void setSuccessIsSet(boolean value) {
-
 
73353
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
73354
    }
-
 
73355
 
-
 
73356
    public void setFieldValue(_Fields field, Object value) {
-
 
73357
      switch (field) {
-
 
73358
      case SUCCESS:
-
 
73359
        if (value == null) {
-
 
73360
          unsetSuccess();
-
 
73361
        } else {
-
 
73362
          setSuccess((Boolean)value);
-
 
73363
        }
-
 
73364
        break;
-
 
73365
 
-
 
73366
      }
-
 
73367
    }
-
 
73368
 
-
 
73369
    public Object getFieldValue(_Fields field) {
-
 
73370
      switch (field) {
-
 
73371
      case SUCCESS:
-
 
73372
        return Boolean.valueOf(isSuccess());
-
 
73373
 
-
 
73374
      }
-
 
73375
      throw new IllegalStateException();
-
 
73376
    }
-
 
73377
 
-
 
73378
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
73379
    public boolean isSet(_Fields field) {
-
 
73380
      if (field == null) {
-
 
73381
        throw new IllegalArgumentException();
-
 
73382
      }
-
 
73383
 
-
 
73384
      switch (field) {
-
 
73385
      case SUCCESS:
-
 
73386
        return isSetSuccess();
-
 
73387
      }
-
 
73388
      throw new IllegalStateException();
-
 
73389
    }
-
 
73390
 
-
 
73391
    @Override
-
 
73392
    public boolean equals(Object that) {
-
 
73393
      if (that == null)
-
 
73394
        return false;
-
 
73395
      if (that instanceof updateItemInventory_result)
-
 
73396
        return this.equals((updateItemInventory_result)that);
-
 
73397
      return false;
-
 
73398
    }
-
 
73399
 
-
 
73400
    public boolean equals(updateItemInventory_result that) {
-
 
73401
      if (that == null)
-
 
73402
        return false;
-
 
73403
 
-
 
73404
      boolean this_present_success = true;
-
 
73405
      boolean that_present_success = true;
-
 
73406
      if (this_present_success || that_present_success) {
-
 
73407
        if (!(this_present_success && that_present_success))
-
 
73408
          return false;
-
 
73409
        if (this.success != that.success)
-
 
73410
          return false;
-
 
73411
      }
-
 
73412
 
-
 
73413
      return true;
-
 
73414
    }
-
 
73415
 
-
 
73416
    @Override
-
 
73417
    public int hashCode() {
-
 
73418
      return 0;
-
 
73419
    }
-
 
73420
 
-
 
73421
    public int compareTo(updateItemInventory_result other) {
-
 
73422
      if (!getClass().equals(other.getClass())) {
-
 
73423
        return getClass().getName().compareTo(other.getClass().getName());
-
 
73424
      }
-
 
73425
 
-
 
73426
      int lastComparison = 0;
-
 
73427
      updateItemInventory_result typedOther = (updateItemInventory_result)other;
-
 
73428
 
-
 
73429
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
73430
      if (lastComparison != 0) {
-
 
73431
        return lastComparison;
-
 
73432
      }
-
 
73433
      if (isSetSuccess()) {
-
 
73434
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
73435
        if (lastComparison != 0) {
-
 
73436
          return lastComparison;
-
 
73437
        }
-
 
73438
      }
-
 
73439
      return 0;
-
 
73440
    }
-
 
73441
 
-
 
73442
    public _Fields fieldForId(int fieldId) {
-
 
73443
      return _Fields.findByThriftId(fieldId);
-
 
73444
    }
-
 
73445
 
-
 
73446
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73447
      org.apache.thrift.protocol.TField field;
-
 
73448
      iprot.readStructBegin();
-
 
73449
      while (true)
-
 
73450
      {
-
 
73451
        field = iprot.readFieldBegin();
-
 
73452
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73453
          break;
-
 
73454
        }
-
 
73455
        switch (field.id) {
-
 
73456
          case 0: // SUCCESS
-
 
73457
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
73458
              this.success = iprot.readBool();
-
 
73459
              setSuccessIsSet(true);
-
 
73460
            } else { 
-
 
73461
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73462
            }
-
 
73463
            break;
-
 
73464
          default:
-
 
73465
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73466
        }
-
 
73467
        iprot.readFieldEnd();
-
 
73468
      }
-
 
73469
      iprot.readStructEnd();
-
 
73470
      validate();
-
 
73471
    }
-
 
73472
 
-
 
73473
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
73474
      oprot.writeStructBegin(STRUCT_DESC);
-
 
73475
 
-
 
73476
      if (this.isSetSuccess()) {
-
 
73477
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
73478
        oprot.writeBool(this.success);
-
 
73479
        oprot.writeFieldEnd();
-
 
73480
      }
-
 
73481
      oprot.writeFieldStop();
-
 
73482
      oprot.writeStructEnd();
-
 
73483
    }
-
 
73484
 
-
 
73485
    @Override
-
 
73486
    public String toString() {
-
 
73487
      StringBuilder sb = new StringBuilder("updateItemInventory_result(");
-
 
73488
      boolean first = true;
-
 
73489
 
-
 
73490
      sb.append("success:");
-
 
73491
      sb.append(this.success);
-
 
73492
      first = false;
-
 
73493
      sb.append(")");
-
 
73494
      return sb.toString();
-
 
73495
    }
-
 
73496
 
72659
    public void validate() throws org.apache.thrift.TException {
73497
    public void validate() throws org.apache.thrift.TException {
72660
      // check for required fields
73498
      // check for required fields
72661
    }
73499
    }
72662
 
73500
 
72663
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
73501
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {