Subversion Repositories SmartDukaan

Rev

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

Rev 18150 Rev 18598
Line 608... Line 608...
608
 
608
 
609
    public boolean deleteBulkPricingForItem(long item_id) throws org.apache.thrift.TException;
609
    public boolean deleteBulkPricingForItem(long item_id) throws org.apache.thrift.TException;
610
 
610
 
611
    public List<BulkItemPricing> getBulkPricingByItemId(long item_id) throws org.apache.thrift.TException;
611
    public List<BulkItemPricing> getBulkPricingByItemId(long item_id) throws org.apache.thrift.TException;
612
 
612
 
-
 
613
    public boolean updateBulkPricesOnProduction(long item_id, List<BulkItemPricing> bulkItemPricingList) throws org.apache.thrift.TException;
-
 
614
 
613
  }
615
  }
614
 
616
 
615
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
617
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
616
 
618
 
617
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
619
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 1000... Line 1002...
1000
 
1002
 
1001
    public void deleteBulkPricingForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBulkPricingForItem_call> resultHandler) throws org.apache.thrift.TException;
1003
    public void deleteBulkPricingForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBulkPricingForItem_call> resultHandler) throws org.apache.thrift.TException;
1002
 
1004
 
1003
    public void getBulkPricingByItemId(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBulkPricingByItemId_call> resultHandler) throws org.apache.thrift.TException;
1005
    public void getBulkPricingByItemId(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBulkPricingByItemId_call> resultHandler) throws org.apache.thrift.TException;
1004
 
1006
 
-
 
1007
    public void updateBulkPricesOnProduction(long item_id, List<BulkItemPricing> bulkItemPricingList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateBulkPricesOnProduction_call> resultHandler) throws org.apache.thrift.TException;
-
 
1008
 
1005
  }
1009
  }
1006
 
1010
 
1007
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1011
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1008
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1012
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1009
      public Factory() {}
1013
      public Factory() {}
Line 5598... Line 5602...
5598
        return result.success;
5602
        return result.success;
5599
      }
5603
      }
5600
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBulkPricingByItemId failed: unknown result");
5604
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBulkPricingByItemId failed: unknown result");
5601
    }
5605
    }
5602
 
5606
 
-
 
5607
    public boolean updateBulkPricesOnProduction(long item_id, List<BulkItemPricing> bulkItemPricingList) throws org.apache.thrift.TException
-
 
5608
    {
-
 
5609
      send_updateBulkPricesOnProduction(item_id, bulkItemPricingList);
-
 
5610
      return recv_updateBulkPricesOnProduction();
-
 
5611
    }
-
 
5612
 
-
 
5613
    public void send_updateBulkPricesOnProduction(long item_id, List<BulkItemPricing> bulkItemPricingList) throws org.apache.thrift.TException
-
 
5614
    {
-
 
5615
      updateBulkPricesOnProduction_args args = new updateBulkPricesOnProduction_args();
-
 
5616
      args.setItem_id(item_id);
-
 
5617
      args.setBulkItemPricingList(bulkItemPricingList);
-
 
5618
      sendBase("updateBulkPricesOnProduction", args);
-
 
5619
    }
-
 
5620
 
-
 
5621
    public boolean recv_updateBulkPricesOnProduction() throws org.apache.thrift.TException
-
 
5622
    {
-
 
5623
      updateBulkPricesOnProduction_result result = new updateBulkPricesOnProduction_result();
-
 
5624
      receiveBase(result, "updateBulkPricesOnProduction");
-
 
5625
      if (result.isSetSuccess()) {
-
 
5626
        return result.success;
-
 
5627
      }
-
 
5628
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateBulkPricesOnProduction failed: unknown result");
-
 
5629
    }
-
 
5630
 
5603
  }
5631
  }
5604
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5632
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5605
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5633
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5606
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5634
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5607
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5635
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 11968... Line 11996...
11968
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11996
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11969
        return (new Client(prot)).recv_getBulkPricingByItemId();
11997
        return (new Client(prot)).recv_getBulkPricingByItemId();
11970
      }
11998
      }
11971
    }
11999
    }
11972
 
12000
 
-
 
12001
    public void updateBulkPricesOnProduction(long item_id, List<BulkItemPricing> bulkItemPricingList, org.apache.thrift.async.AsyncMethodCallback<updateBulkPricesOnProduction_call> resultHandler) throws org.apache.thrift.TException {
-
 
12002
      checkReady();
-
 
12003
      updateBulkPricesOnProduction_call method_call = new updateBulkPricesOnProduction_call(item_id, bulkItemPricingList, resultHandler, this, ___protocolFactory, ___transport);
-
 
12004
      this.___currentMethod = method_call;
-
 
12005
      ___manager.call(method_call);
-
 
12006
    }
-
 
12007
 
-
 
12008
    public static class updateBulkPricesOnProduction_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12009
      private long item_id;
-
 
12010
      private List<BulkItemPricing> bulkItemPricingList;
-
 
12011
      public updateBulkPricesOnProduction_call(long item_id, List<BulkItemPricing> bulkItemPricingList, org.apache.thrift.async.AsyncMethodCallback<updateBulkPricesOnProduction_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 {
-
 
12012
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12013
        this.item_id = item_id;
-
 
12014
        this.bulkItemPricingList = bulkItemPricingList;
-
 
12015
      }
-
 
12016
 
-
 
12017
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12018
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateBulkPricesOnProduction", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12019
        updateBulkPricesOnProduction_args args = new updateBulkPricesOnProduction_args();
-
 
12020
        args.setItem_id(item_id);
-
 
12021
        args.setBulkItemPricingList(bulkItemPricingList);
-
 
12022
        args.write(prot);
-
 
12023
        prot.writeMessageEnd();
-
 
12024
      }
-
 
12025
 
-
 
12026
      public boolean getResult() throws org.apache.thrift.TException {
-
 
12027
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12028
          throw new IllegalStateException("Method call not finished!");
-
 
12029
        }
-
 
12030
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12031
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12032
        return (new Client(prot)).recv_updateBulkPricesOnProduction();
-
 
12033
      }
-
 
12034
    }
-
 
12035
 
11973
  }
12036
  }
11974
 
12037
 
11975
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12038
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11976
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12039
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11977
    public Processor(I iface) {
12040
    public Processor(I iface) {
Line 12175... Line 12238...
12175
      processMap.put("getBulkPricingForItems", new getBulkPricingForItems());
12238
      processMap.put("getBulkPricingForItems", new getBulkPricingForItems());
12176
      processMap.put("addBulkPricingForItem", new addBulkPricingForItem());
12239
      processMap.put("addBulkPricingForItem", new addBulkPricingForItem());
12177
      processMap.put("deleteBulkPricingForItemById", new deleteBulkPricingForItemById());
12240
      processMap.put("deleteBulkPricingForItemById", new deleteBulkPricingForItemById());
12178
      processMap.put("deleteBulkPricingForItem", new deleteBulkPricingForItem());
12241
      processMap.put("deleteBulkPricingForItem", new deleteBulkPricingForItem());
12179
      processMap.put("getBulkPricingByItemId", new getBulkPricingByItemId());
12242
      processMap.put("getBulkPricingByItemId", new getBulkPricingByItemId());
-
 
12243
      processMap.put("updateBulkPricesOnProduction", new updateBulkPricesOnProduction());
12180
      return processMap;
12244
      return processMap;
12181
    }
12245
    }
12182
 
12246
 
12183
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
12247
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
12184
      public addItem() {
12248
      public addItem() {
Line 15531... Line 15595...
15531
        result.success = iface.getBulkPricingByItemId(args.item_id);
15595
        result.success = iface.getBulkPricingByItemId(args.item_id);
15532
        return result;
15596
        return result;
15533
      }
15597
      }
15534
    }
15598
    }
15535
 
15599
 
-
 
15600
    private static class updateBulkPricesOnProduction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateBulkPricesOnProduction_args> {
-
 
15601
      public updateBulkPricesOnProduction() {
-
 
15602
        super("updateBulkPricesOnProduction");
-
 
15603
      }
-
 
15604
 
-
 
15605
      protected updateBulkPricesOnProduction_args getEmptyArgsInstance() {
-
 
15606
        return new updateBulkPricesOnProduction_args();
-
 
15607
      }
-
 
15608
 
-
 
15609
      protected updateBulkPricesOnProduction_result getResult(I iface, updateBulkPricesOnProduction_args args) throws org.apache.thrift.TException {
-
 
15610
        updateBulkPricesOnProduction_result result = new updateBulkPricesOnProduction_result();
-
 
15611
        result.success = iface.updateBulkPricesOnProduction(args.item_id, args.bulkItemPricingList);
-
 
15612
        result.setSuccessIsSet(true);
-
 
15613
        return result;
-
 
15614
      }
-
 
15615
    }
-
 
15616
 
15536
  }
15617
  }
15537
 
15618
 
15538
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
15619
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
15539
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
15620
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
15540
 
15621
 
Line 26499... Line 26580...
26499
      }
26580
      }
26500
    }
26581
    }
26501
 
26582
 
26502
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26583
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26503
      try {
26584
      try {
-
 
26585
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
26586
        __isset_bit_vector = new BitSet(1);
26504
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26587
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26505
      } catch (org.apache.thrift.TException te) {
26588
      } catch (org.apache.thrift.TException te) {
26506
        throw new java.io.IOException(te);
26589
        throw new java.io.IOException(te);
26507
      }
26590
      }
26508
    }
26591
    }
Line 139475... Line 139558...
139475
      first = false;
139558
      first = false;
139476
      sb.append(")");
139559
      sb.append(")");
139477
      return sb.toString();
139560
      return sb.toString();
139478
    }
139561
    }
139479
 
139562
 
-
 
139563
    public void validate() throws org.apache.thrift.TException {
-
 
139564
      // check for required fields
-
 
139565
    }
-
 
139566
 
-
 
139567
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
139568
      try {
-
 
139569
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
139570
      } catch (org.apache.thrift.TException te) {
-
 
139571
        throw new java.io.IOException(te);
-
 
139572
      }
-
 
139573
    }
-
 
139574
 
-
 
139575
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
139576
      try {
-
 
139577
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
139578
      } catch (org.apache.thrift.TException te) {
-
 
139579
        throw new java.io.IOException(te);
-
 
139580
      }
-
 
139581
    }
-
 
139582
 
-
 
139583
  }
-
 
139584
 
-
 
139585
  public static class updateBulkPricesOnProduction_args implements org.apache.thrift.TBase<updateBulkPricesOnProduction_args, updateBulkPricesOnProduction_args._Fields>, java.io.Serializable, Cloneable   {
-
 
139586
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateBulkPricesOnProduction_args");
-
 
139587
 
-
 
139588
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
139589
    private static final org.apache.thrift.protocol.TField BULK_ITEM_PRICING_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("bulkItemPricingList", org.apache.thrift.protocol.TType.LIST, (short)2);
-
 
139590
 
-
 
139591
    private long item_id; // required
-
 
139592
    private List<BulkItemPricing> bulkItemPricingList; // required
-
 
139593
 
-
 
139594
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
139595
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
139596
      ITEM_ID((short)1, "item_id"),
-
 
139597
      BULK_ITEM_PRICING_LIST((short)2, "bulkItemPricingList");
-
 
139598
 
-
 
139599
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
139600
 
-
 
139601
      static {
-
 
139602
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
139603
          byName.put(field.getFieldName(), field);
-
 
139604
        }
-
 
139605
      }
-
 
139606
 
-
 
139607
      /**
-
 
139608
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
139609
       */
-
 
139610
      public static _Fields findByThriftId(int fieldId) {
-
 
139611
        switch(fieldId) {
-
 
139612
          case 1: // ITEM_ID
-
 
139613
            return ITEM_ID;
-
 
139614
          case 2: // BULK_ITEM_PRICING_LIST
-
 
139615
            return BULK_ITEM_PRICING_LIST;
-
 
139616
          default:
-
 
139617
            return null;
-
 
139618
        }
-
 
139619
      }
-
 
139620
 
-
 
139621
      /**
-
 
139622
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
139623
       * if it is not found.
-
 
139624
       */
-
 
139625
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
139626
        _Fields fields = findByThriftId(fieldId);
-
 
139627
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
139628
        return fields;
-
 
139629
      }
-
 
139630
 
-
 
139631
      /**
-
 
139632
       * Find the _Fields constant that matches name, or null if its not found.
-
 
139633
       */
-
 
139634
      public static _Fields findByName(String name) {
-
 
139635
        return byName.get(name);
-
 
139636
      }
-
 
139637
 
-
 
139638
      private final short _thriftId;
-
 
139639
      private final String _fieldName;
-
 
139640
 
-
 
139641
      _Fields(short thriftId, String fieldName) {
-
 
139642
        _thriftId = thriftId;
-
 
139643
        _fieldName = fieldName;
-
 
139644
      }
-
 
139645
 
-
 
139646
      public short getThriftFieldId() {
-
 
139647
        return _thriftId;
-
 
139648
      }
-
 
139649
 
-
 
139650
      public String getFieldName() {
-
 
139651
        return _fieldName;
-
 
139652
      }
-
 
139653
    }
-
 
139654
 
-
 
139655
    // isset id assignments
-
 
139656
    private static final int __ITEM_ID_ISSET_ID = 0;
-
 
139657
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
139658
 
-
 
139659
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
139660
    static {
-
 
139661
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
139662
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
139663
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
139664
      tmpMap.put(_Fields.BULK_ITEM_PRICING_LIST, new org.apache.thrift.meta_data.FieldMetaData("bulkItemPricingList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
139665
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
139666
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BulkItemPricing.class))));
-
 
139667
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
139668
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateBulkPricesOnProduction_args.class, metaDataMap);
-
 
139669
    }
-
 
139670
 
-
 
139671
    public updateBulkPricesOnProduction_args() {
-
 
139672
    }
-
 
139673
 
-
 
139674
    public updateBulkPricesOnProduction_args(
-
 
139675
      long item_id,
-
 
139676
      List<BulkItemPricing> bulkItemPricingList)
-
 
139677
    {
-
 
139678
      this();
-
 
139679
      this.item_id = item_id;
-
 
139680
      setItem_idIsSet(true);
-
 
139681
      this.bulkItemPricingList = bulkItemPricingList;
-
 
139682
    }
-
 
139683
 
-
 
139684
    /**
-
 
139685
     * Performs a deep copy on <i>other</i>.
-
 
139686
     */
-
 
139687
    public updateBulkPricesOnProduction_args(updateBulkPricesOnProduction_args other) {
-
 
139688
      __isset_bit_vector.clear();
-
 
139689
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
139690
      this.item_id = other.item_id;
-
 
139691
      if (other.isSetBulkItemPricingList()) {
-
 
139692
        List<BulkItemPricing> __this__bulkItemPricingList = new ArrayList<BulkItemPricing>();
-
 
139693
        for (BulkItemPricing other_element : other.bulkItemPricingList) {
-
 
139694
          __this__bulkItemPricingList.add(new BulkItemPricing(other_element));
-
 
139695
        }
-
 
139696
        this.bulkItemPricingList = __this__bulkItemPricingList;
-
 
139697
      }
-
 
139698
    }
-
 
139699
 
-
 
139700
    public updateBulkPricesOnProduction_args deepCopy() {
-
 
139701
      return new updateBulkPricesOnProduction_args(this);
-
 
139702
    }
-
 
139703
 
-
 
139704
    @Override
-
 
139705
    public void clear() {
-
 
139706
      setItem_idIsSet(false);
-
 
139707
      this.item_id = 0;
-
 
139708
      this.bulkItemPricingList = null;
-
 
139709
    }
-
 
139710
 
-
 
139711
    public long getItem_id() {
-
 
139712
      return this.item_id;
-
 
139713
    }
-
 
139714
 
-
 
139715
    public void setItem_id(long item_id) {
-
 
139716
      this.item_id = item_id;
-
 
139717
      setItem_idIsSet(true);
-
 
139718
    }
-
 
139719
 
-
 
139720
    public void unsetItem_id() {
-
 
139721
      __isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
-
 
139722
    }
-
 
139723
 
-
 
139724
    /** Returns true if field item_id is set (has been assigned a value) and false otherwise */
-
 
139725
    public boolean isSetItem_id() {
-
 
139726
      return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
-
 
139727
    }
-
 
139728
 
-
 
139729
    public void setItem_idIsSet(boolean value) {
-
 
139730
      __isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
-
 
139731
    }
-
 
139732
 
-
 
139733
    public int getBulkItemPricingListSize() {
-
 
139734
      return (this.bulkItemPricingList == null) ? 0 : this.bulkItemPricingList.size();
-
 
139735
    }
-
 
139736
 
-
 
139737
    public java.util.Iterator<BulkItemPricing> getBulkItemPricingListIterator() {
-
 
139738
      return (this.bulkItemPricingList == null) ? null : this.bulkItemPricingList.iterator();
-
 
139739
    }
-
 
139740
 
-
 
139741
    public void addToBulkItemPricingList(BulkItemPricing elem) {
-
 
139742
      if (this.bulkItemPricingList == null) {
-
 
139743
        this.bulkItemPricingList = new ArrayList<BulkItemPricing>();
-
 
139744
      }
-
 
139745
      this.bulkItemPricingList.add(elem);
-
 
139746
    }
-
 
139747
 
-
 
139748
    public List<BulkItemPricing> getBulkItemPricingList() {
-
 
139749
      return this.bulkItemPricingList;
-
 
139750
    }
-
 
139751
 
-
 
139752
    public void setBulkItemPricingList(List<BulkItemPricing> bulkItemPricingList) {
-
 
139753
      this.bulkItemPricingList = bulkItemPricingList;
-
 
139754
    }
-
 
139755
 
-
 
139756
    public void unsetBulkItemPricingList() {
-
 
139757
      this.bulkItemPricingList = null;
-
 
139758
    }
-
 
139759
 
-
 
139760
    /** Returns true if field bulkItemPricingList is set (has been assigned a value) and false otherwise */
-
 
139761
    public boolean isSetBulkItemPricingList() {
-
 
139762
      return this.bulkItemPricingList != null;
-
 
139763
    }
-
 
139764
 
-
 
139765
    public void setBulkItemPricingListIsSet(boolean value) {
-
 
139766
      if (!value) {
-
 
139767
        this.bulkItemPricingList = null;
-
 
139768
      }
-
 
139769
    }
-
 
139770
 
-
 
139771
    public void setFieldValue(_Fields field, Object value) {
-
 
139772
      switch (field) {
-
 
139773
      case ITEM_ID:
-
 
139774
        if (value == null) {
-
 
139775
          unsetItem_id();
-
 
139776
        } else {
-
 
139777
          setItem_id((Long)value);
-
 
139778
        }
-
 
139779
        break;
-
 
139780
 
-
 
139781
      case BULK_ITEM_PRICING_LIST:
-
 
139782
        if (value == null) {
-
 
139783
          unsetBulkItemPricingList();
-
 
139784
        } else {
-
 
139785
          setBulkItemPricingList((List<BulkItemPricing>)value);
-
 
139786
        }
-
 
139787
        break;
-
 
139788
 
-
 
139789
      }
-
 
139790
    }
-
 
139791
 
-
 
139792
    public Object getFieldValue(_Fields field) {
-
 
139793
      switch (field) {
-
 
139794
      case ITEM_ID:
-
 
139795
        return Long.valueOf(getItem_id());
-
 
139796
 
-
 
139797
      case BULK_ITEM_PRICING_LIST:
-
 
139798
        return getBulkItemPricingList();
-
 
139799
 
-
 
139800
      }
-
 
139801
      throw new IllegalStateException();
-
 
139802
    }
-
 
139803
 
-
 
139804
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
139805
    public boolean isSet(_Fields field) {
-
 
139806
      if (field == null) {
-
 
139807
        throw new IllegalArgumentException();
-
 
139808
      }
-
 
139809
 
-
 
139810
      switch (field) {
-
 
139811
      case ITEM_ID:
-
 
139812
        return isSetItem_id();
-
 
139813
      case BULK_ITEM_PRICING_LIST:
-
 
139814
        return isSetBulkItemPricingList();
-
 
139815
      }
-
 
139816
      throw new IllegalStateException();
-
 
139817
    }
-
 
139818
 
-
 
139819
    @Override
-
 
139820
    public boolean equals(Object that) {
-
 
139821
      if (that == null)
-
 
139822
        return false;
-
 
139823
      if (that instanceof updateBulkPricesOnProduction_args)
-
 
139824
        return this.equals((updateBulkPricesOnProduction_args)that);
-
 
139825
      return false;
-
 
139826
    }
-
 
139827
 
-
 
139828
    public boolean equals(updateBulkPricesOnProduction_args that) {
-
 
139829
      if (that == null)
-
 
139830
        return false;
-
 
139831
 
-
 
139832
      boolean this_present_item_id = true;
-
 
139833
      boolean that_present_item_id = true;
-
 
139834
      if (this_present_item_id || that_present_item_id) {
-
 
139835
        if (!(this_present_item_id && that_present_item_id))
-
 
139836
          return false;
-
 
139837
        if (this.item_id != that.item_id)
-
 
139838
          return false;
-
 
139839
      }
-
 
139840
 
-
 
139841
      boolean this_present_bulkItemPricingList = true && this.isSetBulkItemPricingList();
-
 
139842
      boolean that_present_bulkItemPricingList = true && that.isSetBulkItemPricingList();
-
 
139843
      if (this_present_bulkItemPricingList || that_present_bulkItemPricingList) {
-
 
139844
        if (!(this_present_bulkItemPricingList && that_present_bulkItemPricingList))
-
 
139845
          return false;
-
 
139846
        if (!this.bulkItemPricingList.equals(that.bulkItemPricingList))
-
 
139847
          return false;
-
 
139848
      }
-
 
139849
 
-
 
139850
      return true;
-
 
139851
    }
-
 
139852
 
-
 
139853
    @Override
-
 
139854
    public int hashCode() {
-
 
139855
      return 0;
-
 
139856
    }
-
 
139857
 
-
 
139858
    public int compareTo(updateBulkPricesOnProduction_args other) {
-
 
139859
      if (!getClass().equals(other.getClass())) {
-
 
139860
        return getClass().getName().compareTo(other.getClass().getName());
-
 
139861
      }
-
 
139862
 
-
 
139863
      int lastComparison = 0;
-
 
139864
      updateBulkPricesOnProduction_args typedOther = (updateBulkPricesOnProduction_args)other;
-
 
139865
 
-
 
139866
      lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
-
 
139867
      if (lastComparison != 0) {
-
 
139868
        return lastComparison;
-
 
139869
      }
-
 
139870
      if (isSetItem_id()) {
-
 
139871
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
-
 
139872
        if (lastComparison != 0) {
-
 
139873
          return lastComparison;
-
 
139874
        }
-
 
139875
      }
-
 
139876
      lastComparison = Boolean.valueOf(isSetBulkItemPricingList()).compareTo(typedOther.isSetBulkItemPricingList());
-
 
139877
      if (lastComparison != 0) {
-
 
139878
        return lastComparison;
-
 
139879
      }
-
 
139880
      if (isSetBulkItemPricingList()) {
-
 
139881
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bulkItemPricingList, typedOther.bulkItemPricingList);
-
 
139882
        if (lastComparison != 0) {
-
 
139883
          return lastComparison;
-
 
139884
        }
-
 
139885
      }
-
 
139886
      return 0;
-
 
139887
    }
-
 
139888
 
-
 
139889
    public _Fields fieldForId(int fieldId) {
-
 
139890
      return _Fields.findByThriftId(fieldId);
-
 
139891
    }
-
 
139892
 
-
 
139893
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
139894
      org.apache.thrift.protocol.TField field;
-
 
139895
      iprot.readStructBegin();
-
 
139896
      while (true)
-
 
139897
      {
-
 
139898
        field = iprot.readFieldBegin();
-
 
139899
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
139900
          break;
-
 
139901
        }
-
 
139902
        switch (field.id) {
-
 
139903
          case 1: // ITEM_ID
-
 
139904
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
139905
              this.item_id = iprot.readI64();
-
 
139906
              setItem_idIsSet(true);
-
 
139907
            } else { 
-
 
139908
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
139909
            }
-
 
139910
            break;
-
 
139911
          case 2: // BULK_ITEM_PRICING_LIST
-
 
139912
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
139913
              {
-
 
139914
                org.apache.thrift.protocol.TList _list509 = iprot.readListBegin();
-
 
139915
                this.bulkItemPricingList = new ArrayList<BulkItemPricing>(_list509.size);
-
 
139916
                for (int _i510 = 0; _i510 < _list509.size; ++_i510)
-
 
139917
                {
-
 
139918
                  BulkItemPricing _elem511; // required
-
 
139919
                  _elem511 = new BulkItemPricing();
-
 
139920
                  _elem511.read(iprot);
-
 
139921
                  this.bulkItemPricingList.add(_elem511);
-
 
139922
                }
-
 
139923
                iprot.readListEnd();
-
 
139924
              }
-
 
139925
            } else { 
-
 
139926
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
139927
            }
-
 
139928
            break;
-
 
139929
          default:
-
 
139930
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
139931
        }
-
 
139932
        iprot.readFieldEnd();
-
 
139933
      }
-
 
139934
      iprot.readStructEnd();
-
 
139935
      validate();
-
 
139936
    }
-
 
139937
 
-
 
139938
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
139939
      validate();
-
 
139940
 
-
 
139941
      oprot.writeStructBegin(STRUCT_DESC);
-
 
139942
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
139943
      oprot.writeI64(this.item_id);
-
 
139944
      oprot.writeFieldEnd();
-
 
139945
      if (this.bulkItemPricingList != null) {
-
 
139946
        oprot.writeFieldBegin(BULK_ITEM_PRICING_LIST_FIELD_DESC);
-
 
139947
        {
-
 
139948
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.bulkItemPricingList.size()));
-
 
139949
          for (BulkItemPricing _iter512 : this.bulkItemPricingList)
-
 
139950
          {
-
 
139951
            _iter512.write(oprot);
-
 
139952
          }
-
 
139953
          oprot.writeListEnd();
-
 
139954
        }
-
 
139955
        oprot.writeFieldEnd();
-
 
139956
      }
-
 
139957
      oprot.writeFieldStop();
-
 
139958
      oprot.writeStructEnd();
-
 
139959
    }
-
 
139960
 
-
 
139961
    @Override
-
 
139962
    public String toString() {
-
 
139963
      StringBuilder sb = new StringBuilder("updateBulkPricesOnProduction_args(");
-
 
139964
      boolean first = true;
-
 
139965
 
-
 
139966
      sb.append("item_id:");
-
 
139967
      sb.append(this.item_id);
-
 
139968
      first = false;
-
 
139969
      if (!first) sb.append(", ");
-
 
139970
      sb.append("bulkItemPricingList:");
-
 
139971
      if (this.bulkItemPricingList == null) {
-
 
139972
        sb.append("null");
-
 
139973
      } else {
-
 
139974
        sb.append(this.bulkItemPricingList);
-
 
139975
      }
-
 
139976
      first = false;
-
 
139977
      sb.append(")");
-
 
139978
      return sb.toString();
-
 
139979
    }
-
 
139980
 
-
 
139981
    public void validate() throws org.apache.thrift.TException {
-
 
139982
      // check for required fields
-
 
139983
    }
-
 
139984
 
-
 
139985
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
139986
      try {
-
 
139987
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
139988
      } catch (org.apache.thrift.TException te) {
-
 
139989
        throw new java.io.IOException(te);
-
 
139990
      }
-
 
139991
    }
-
 
139992
 
-
 
139993
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
139994
      try {
-
 
139995
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
139996
        __isset_bit_vector = new BitSet(1);
-
 
139997
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
139998
      } catch (org.apache.thrift.TException te) {
-
 
139999
        throw new java.io.IOException(te);
-
 
140000
      }
-
 
140001
    }
-
 
140002
 
-
 
140003
  }
-
 
140004
 
-
 
140005
  public static class updateBulkPricesOnProduction_result implements org.apache.thrift.TBase<updateBulkPricesOnProduction_result, updateBulkPricesOnProduction_result._Fields>, java.io.Serializable, Cloneable   {
-
 
140006
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateBulkPricesOnProduction_result");
-
 
140007
 
-
 
140008
    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);
-
 
140009
 
-
 
140010
    private boolean success; // required
-
 
140011
 
-
 
140012
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
140013
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
140014
      SUCCESS((short)0, "success");
-
 
140015
 
-
 
140016
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
140017
 
-
 
140018
      static {
-
 
140019
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
140020
          byName.put(field.getFieldName(), field);
-
 
140021
        }
-
 
140022
      }
-
 
140023
 
-
 
140024
      /**
-
 
140025
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
140026
       */
-
 
140027
      public static _Fields findByThriftId(int fieldId) {
-
 
140028
        switch(fieldId) {
-
 
140029
          case 0: // SUCCESS
-
 
140030
            return SUCCESS;
-
 
140031
          default:
-
 
140032
            return null;
-
 
140033
        }
-
 
140034
      }
-
 
140035
 
-
 
140036
      /**
-
 
140037
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
140038
       * if it is not found.
-
 
140039
       */
-
 
140040
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
140041
        _Fields fields = findByThriftId(fieldId);
-
 
140042
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
140043
        return fields;
-
 
140044
      }
-
 
140045
 
-
 
140046
      /**
-
 
140047
       * Find the _Fields constant that matches name, or null if its not found.
-
 
140048
       */
-
 
140049
      public static _Fields findByName(String name) {
-
 
140050
        return byName.get(name);
-
 
140051
      }
-
 
140052
 
-
 
140053
      private final short _thriftId;
-
 
140054
      private final String _fieldName;
-
 
140055
 
-
 
140056
      _Fields(short thriftId, String fieldName) {
-
 
140057
        _thriftId = thriftId;
-
 
140058
        _fieldName = fieldName;
-
 
140059
      }
-
 
140060
 
-
 
140061
      public short getThriftFieldId() {
-
 
140062
        return _thriftId;
-
 
140063
      }
-
 
140064
 
-
 
140065
      public String getFieldName() {
-
 
140066
        return _fieldName;
-
 
140067
      }
-
 
140068
    }
-
 
140069
 
-
 
140070
    // isset id assignments
-
 
140071
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
140072
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
140073
 
-
 
140074
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
140075
    static {
-
 
140076
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
140077
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
140078
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
140079
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
140080
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateBulkPricesOnProduction_result.class, metaDataMap);
-
 
140081
    }
-
 
140082
 
-
 
140083
    public updateBulkPricesOnProduction_result() {
-
 
140084
    }
-
 
140085
 
-
 
140086
    public updateBulkPricesOnProduction_result(
-
 
140087
      boolean success)
-
 
140088
    {
-
 
140089
      this();
-
 
140090
      this.success = success;
-
 
140091
      setSuccessIsSet(true);
-
 
140092
    }
-
 
140093
 
-
 
140094
    /**
-
 
140095
     * Performs a deep copy on <i>other</i>.
-
 
140096
     */
-
 
140097
    public updateBulkPricesOnProduction_result(updateBulkPricesOnProduction_result other) {
-
 
140098
      __isset_bit_vector.clear();
-
 
140099
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
140100
      this.success = other.success;
-
 
140101
    }
-
 
140102
 
-
 
140103
    public updateBulkPricesOnProduction_result deepCopy() {
-
 
140104
      return new updateBulkPricesOnProduction_result(this);
-
 
140105
    }
-
 
140106
 
-
 
140107
    @Override
-
 
140108
    public void clear() {
-
 
140109
      setSuccessIsSet(false);
-
 
140110
      this.success = false;
-
 
140111
    }
-
 
140112
 
-
 
140113
    public boolean isSuccess() {
-
 
140114
      return this.success;
-
 
140115
    }
-
 
140116
 
-
 
140117
    public void setSuccess(boolean success) {
-
 
140118
      this.success = success;
-
 
140119
      setSuccessIsSet(true);
-
 
140120
    }
-
 
140121
 
-
 
140122
    public void unsetSuccess() {
-
 
140123
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
140124
    }
-
 
140125
 
-
 
140126
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
140127
    public boolean isSetSuccess() {
-
 
140128
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
140129
    }
-
 
140130
 
-
 
140131
    public void setSuccessIsSet(boolean value) {
-
 
140132
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
140133
    }
-
 
140134
 
-
 
140135
    public void setFieldValue(_Fields field, Object value) {
-
 
140136
      switch (field) {
-
 
140137
      case SUCCESS:
-
 
140138
        if (value == null) {
-
 
140139
          unsetSuccess();
-
 
140140
        } else {
-
 
140141
          setSuccess((Boolean)value);
-
 
140142
        }
-
 
140143
        break;
-
 
140144
 
-
 
140145
      }
-
 
140146
    }
-
 
140147
 
-
 
140148
    public Object getFieldValue(_Fields field) {
-
 
140149
      switch (field) {
-
 
140150
      case SUCCESS:
-
 
140151
        return Boolean.valueOf(isSuccess());
-
 
140152
 
-
 
140153
      }
-
 
140154
      throw new IllegalStateException();
-
 
140155
    }
-
 
140156
 
-
 
140157
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
140158
    public boolean isSet(_Fields field) {
-
 
140159
      if (field == null) {
-
 
140160
        throw new IllegalArgumentException();
-
 
140161
      }
-
 
140162
 
-
 
140163
      switch (field) {
-
 
140164
      case SUCCESS:
-
 
140165
        return isSetSuccess();
-
 
140166
      }
-
 
140167
      throw new IllegalStateException();
-
 
140168
    }
-
 
140169
 
-
 
140170
    @Override
-
 
140171
    public boolean equals(Object that) {
-
 
140172
      if (that == null)
-
 
140173
        return false;
-
 
140174
      if (that instanceof updateBulkPricesOnProduction_result)
-
 
140175
        return this.equals((updateBulkPricesOnProduction_result)that);
-
 
140176
      return false;
-
 
140177
    }
-
 
140178
 
-
 
140179
    public boolean equals(updateBulkPricesOnProduction_result that) {
-
 
140180
      if (that == null)
-
 
140181
        return false;
-
 
140182
 
-
 
140183
      boolean this_present_success = true;
-
 
140184
      boolean that_present_success = true;
-
 
140185
      if (this_present_success || that_present_success) {
-
 
140186
        if (!(this_present_success && that_present_success))
-
 
140187
          return false;
-
 
140188
        if (this.success != that.success)
-
 
140189
          return false;
-
 
140190
      }
-
 
140191
 
-
 
140192
      return true;
-
 
140193
    }
-
 
140194
 
-
 
140195
    @Override
-
 
140196
    public int hashCode() {
-
 
140197
      return 0;
-
 
140198
    }
-
 
140199
 
-
 
140200
    public int compareTo(updateBulkPricesOnProduction_result other) {
-
 
140201
      if (!getClass().equals(other.getClass())) {
-
 
140202
        return getClass().getName().compareTo(other.getClass().getName());
-
 
140203
      }
-
 
140204
 
-
 
140205
      int lastComparison = 0;
-
 
140206
      updateBulkPricesOnProduction_result typedOther = (updateBulkPricesOnProduction_result)other;
-
 
140207
 
-
 
140208
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
140209
      if (lastComparison != 0) {
-
 
140210
        return lastComparison;
-
 
140211
      }
-
 
140212
      if (isSetSuccess()) {
-
 
140213
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
140214
        if (lastComparison != 0) {
-
 
140215
          return lastComparison;
-
 
140216
        }
-
 
140217
      }
-
 
140218
      return 0;
-
 
140219
    }
-
 
140220
 
-
 
140221
    public _Fields fieldForId(int fieldId) {
-
 
140222
      return _Fields.findByThriftId(fieldId);
-
 
140223
    }
-
 
140224
 
-
 
140225
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
140226
      org.apache.thrift.protocol.TField field;
-
 
140227
      iprot.readStructBegin();
-
 
140228
      while (true)
-
 
140229
      {
-
 
140230
        field = iprot.readFieldBegin();
-
 
140231
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
140232
          break;
-
 
140233
        }
-
 
140234
        switch (field.id) {
-
 
140235
          case 0: // SUCCESS
-
 
140236
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
140237
              this.success = iprot.readBool();
-
 
140238
              setSuccessIsSet(true);
-
 
140239
            } else { 
-
 
140240
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
140241
            }
-
 
140242
            break;
-
 
140243
          default:
-
 
140244
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
140245
        }
-
 
140246
        iprot.readFieldEnd();
-
 
140247
      }
-
 
140248
      iprot.readStructEnd();
-
 
140249
      validate();
-
 
140250
    }
-
 
140251
 
-
 
140252
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
140253
      oprot.writeStructBegin(STRUCT_DESC);
-
 
140254
 
-
 
140255
      if (this.isSetSuccess()) {
-
 
140256
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
140257
        oprot.writeBool(this.success);
-
 
140258
        oprot.writeFieldEnd();
-
 
140259
      }
-
 
140260
      oprot.writeFieldStop();
-
 
140261
      oprot.writeStructEnd();
-
 
140262
    }
-
 
140263
 
-
 
140264
    @Override
-
 
140265
    public String toString() {
-
 
140266
      StringBuilder sb = new StringBuilder("updateBulkPricesOnProduction_result(");
-
 
140267
      boolean first = true;
-
 
140268
 
-
 
140269
      sb.append("success:");
-
 
140270
      sb.append(this.success);
-
 
140271
      first = false;
-
 
140272
      sb.append(")");
-
 
140273
      return sb.toString();
-
 
140274
    }
-
 
140275
 
139480
    public void validate() throws org.apache.thrift.TException {
140276
    public void validate() throws org.apache.thrift.TException {
139481
      // check for required fields
140277
      // check for required fields
139482
    }
140278
    }
139483
 
140279
 
139484
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
140280
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {