Subversion Repositories SmartDukaan

Rev

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

Rev 12133 Rev 12243
Line 558... Line 558...
558
 
558
 
559
    public List<SnapdealItem> getAllSnapdealMarketplaceItem() throws org.apache.thrift.TException;
559
    public List<SnapdealItem> getAllSnapdealMarketplaceItem() throws org.apache.thrift.TException;
560
 
560
 
561
    public List<FlipkartItem> getAllFlipkartMarketplaceItem() throws org.apache.thrift.TException;
561
    public List<FlipkartItem> getAllFlipkartMarketplaceItem() throws org.apache.thrift.TException;
562
 
562
 
-
 
563
    public void addCompetitorScraping(Map<Long,CompetitorPricing> competitorPricingMap) throws org.apache.thrift.TException;
-
 
564
 
-
 
565
    public List<CompetitorPricing> getPreviousCompetitorScraping(long delta) throws org.apache.thrift.TException;
-
 
566
 
563
  }
567
  }
564
 
568
 
565
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
569
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
566
 
570
 
567
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
571
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 900... Line 904...
900
 
904
 
901
    public void getAllSnapdealMarketplaceItem(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllSnapdealMarketplaceItem_call> resultHandler) throws org.apache.thrift.TException;
905
    public void getAllSnapdealMarketplaceItem(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllSnapdealMarketplaceItem_call> resultHandler) throws org.apache.thrift.TException;
902
 
906
 
903
    public void getAllFlipkartMarketplaceItem(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFlipkartMarketplaceItem_call> resultHandler) throws org.apache.thrift.TException;
907
    public void getAllFlipkartMarketplaceItem(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllFlipkartMarketplaceItem_call> resultHandler) throws org.apache.thrift.TException;
904
 
908
 
-
 
909
    public void addCompetitorScraping(Map<Long,CompetitorPricing> competitorPricingMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCompetitorScraping_call> resultHandler) throws org.apache.thrift.TException;
-
 
910
 
-
 
911
    public void getPreviousCompetitorScraping(long delta, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPreviousCompetitorScraping_call> resultHandler) throws org.apache.thrift.TException;
-
 
912
 
905
  }
913
  }
906
 
914
 
907
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
915
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
908
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
916
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
909
      public Factory() {}
917
      public Factory() {}
Line 4921... Line 4929...
4921
        return result.success;
4929
        return result.success;
4922
      }
4930
      }
4923
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
4931
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
4924
    }
4932
    }
4925
 
4933
 
-
 
4934
    public void addCompetitorScraping(Map<Long,CompetitorPricing> competitorPricingMap) throws org.apache.thrift.TException
-
 
4935
    {
-
 
4936
      send_addCompetitorScraping(competitorPricingMap);
-
 
4937
      recv_addCompetitorScraping();
-
 
4938
    }
-
 
4939
 
-
 
4940
    public void send_addCompetitorScraping(Map<Long,CompetitorPricing> competitorPricingMap) throws org.apache.thrift.TException
-
 
4941
    {
-
 
4942
      addCompetitorScraping_args args = new addCompetitorScraping_args();
-
 
4943
      args.setCompetitorPricingMap(competitorPricingMap);
-
 
4944
      sendBase("addCompetitorScraping", args);
-
 
4945
    }
-
 
4946
 
-
 
4947
    public void recv_addCompetitorScraping() throws org.apache.thrift.TException
-
 
4948
    {
-
 
4949
      addCompetitorScraping_result result = new addCompetitorScraping_result();
-
 
4950
      receiveBase(result, "addCompetitorScraping");
-
 
4951
      return;
-
 
4952
    }
-
 
4953
 
-
 
4954
    public List<CompetitorPricing> getPreviousCompetitorScraping(long delta) throws org.apache.thrift.TException
-
 
4955
    {
-
 
4956
      send_getPreviousCompetitorScraping(delta);
-
 
4957
      return recv_getPreviousCompetitorScraping();
-
 
4958
    }
-
 
4959
 
-
 
4960
    public void send_getPreviousCompetitorScraping(long delta) throws org.apache.thrift.TException
-
 
4961
    {
-
 
4962
      getPreviousCompetitorScraping_args args = new getPreviousCompetitorScraping_args();
-
 
4963
      args.setDelta(delta);
-
 
4964
      sendBase("getPreviousCompetitorScraping", args);
-
 
4965
    }
-
 
4966
 
-
 
4967
    public List<CompetitorPricing> recv_getPreviousCompetitorScraping() throws org.apache.thrift.TException
-
 
4968
    {
-
 
4969
      getPreviousCompetitorScraping_result result = new getPreviousCompetitorScraping_result();
-
 
4970
      receiveBase(result, "getPreviousCompetitorScraping");
-
 
4971
      if (result.isSetSuccess()) {
-
 
4972
        return result.success;
-
 
4973
      }
-
 
4974
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
-
 
4975
    }
-
 
4976
 
4926
  }
4977
  }
4927
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4978
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4928
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4979
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4929
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4980
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4930
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
4981
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 10494... Line 10545...
10494
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10545
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
10495
        return (new Client(prot)).recv_getAllFlipkartMarketplaceItem();
10546
        return (new Client(prot)).recv_getAllFlipkartMarketplaceItem();
10496
      }
10547
      }
10497
    }
10548
    }
10498
 
10549
 
-
 
10550
    public void addCompetitorScraping(Map<Long,CompetitorPricing> competitorPricingMap, org.apache.thrift.async.AsyncMethodCallback<addCompetitorScraping_call> resultHandler) throws org.apache.thrift.TException {
-
 
10551
      checkReady();
-
 
10552
      addCompetitorScraping_call method_call = new addCompetitorScraping_call(competitorPricingMap, resultHandler, this, ___protocolFactory, ___transport);
-
 
10553
      this.___currentMethod = method_call;
-
 
10554
      ___manager.call(method_call);
-
 
10555
    }
-
 
10556
 
-
 
10557
    public static class addCompetitorScraping_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
10558
      private Map<Long,CompetitorPricing> competitorPricingMap;
-
 
10559
      public addCompetitorScraping_call(Map<Long,CompetitorPricing> competitorPricingMap, org.apache.thrift.async.AsyncMethodCallback<addCompetitorScraping_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 {
-
 
10560
        super(client, protocolFactory, transport, resultHandler, false);
-
 
10561
        this.competitorPricingMap = competitorPricingMap;
-
 
10562
      }
-
 
10563
 
-
 
10564
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
10565
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addCompetitorScraping", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
10566
        addCompetitorScraping_args args = new addCompetitorScraping_args();
-
 
10567
        args.setCompetitorPricingMap(competitorPricingMap);
-
 
10568
        args.write(prot);
-
 
10569
        prot.writeMessageEnd();
-
 
10570
      }
-
 
10571
 
-
 
10572
      public void getResult() throws org.apache.thrift.TException {
-
 
10573
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
10574
          throw new IllegalStateException("Method call not finished!");
-
 
10575
        }
-
 
10576
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
10577
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
10578
        (new Client(prot)).recv_addCompetitorScraping();
-
 
10579
      }
-
 
10580
    }
-
 
10581
 
-
 
10582
    public void getPreviousCompetitorScraping(long delta, org.apache.thrift.async.AsyncMethodCallback<getPreviousCompetitorScraping_call> resultHandler) throws org.apache.thrift.TException {
-
 
10583
      checkReady();
-
 
10584
      getPreviousCompetitorScraping_call method_call = new getPreviousCompetitorScraping_call(delta, resultHandler, this, ___protocolFactory, ___transport);
-
 
10585
      this.___currentMethod = method_call;
-
 
10586
      ___manager.call(method_call);
-
 
10587
    }
-
 
10588
 
-
 
10589
    public static class getPreviousCompetitorScraping_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
10590
      private long delta;
-
 
10591
      public getPreviousCompetitorScraping_call(long delta, org.apache.thrift.async.AsyncMethodCallback<getPreviousCompetitorScraping_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 {
-
 
10592
        super(client, protocolFactory, transport, resultHandler, false);
-
 
10593
        this.delta = delta;
-
 
10594
      }
-
 
10595
 
-
 
10596
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
10597
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPreviousCompetitorScraping", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
10598
        getPreviousCompetitorScraping_args args = new getPreviousCompetitorScraping_args();
-
 
10599
        args.setDelta(delta);
-
 
10600
        args.write(prot);
-
 
10601
        prot.writeMessageEnd();
-
 
10602
      }
-
 
10603
 
-
 
10604
      public List<CompetitorPricing> getResult() throws org.apache.thrift.TException {
-
 
10605
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
10606
          throw new IllegalStateException("Method call not finished!");
-
 
10607
        }
-
 
10608
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
10609
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
10610
        return (new Client(prot)).recv_getPreviousCompetitorScraping();
-
 
10611
      }
-
 
10612
    }
-
 
10613
 
10499
  }
10614
  }
10500
 
10615
 
10501
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
10616
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
10502
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
10617
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
10503
    public Processor(I iface) {
10618
    public Processor(I iface) {
Line 10676... Line 10791...
10676
      processMap.put("getPrivateDealsCount", new getPrivateDealsCount());
10791
      processMap.put("getPrivateDealsCount", new getPrivateDealsCount());
10677
      processMap.put("getAmazonOutSyncItems", new getAmazonOutSyncItems());
10792
      processMap.put("getAmazonOutSyncItems", new getAmazonOutSyncItems());
10678
      processMap.put("getAllPrivateDealsComparison", new getAllPrivateDealsComparison());
10793
      processMap.put("getAllPrivateDealsComparison", new getAllPrivateDealsComparison());
10679
      processMap.put("getAllSnapdealMarketplaceItem", new getAllSnapdealMarketplaceItem());
10794
      processMap.put("getAllSnapdealMarketplaceItem", new getAllSnapdealMarketplaceItem());
10680
      processMap.put("getAllFlipkartMarketplaceItem", new getAllFlipkartMarketplaceItem());
10795
      processMap.put("getAllFlipkartMarketplaceItem", new getAllFlipkartMarketplaceItem());
-
 
10796
      processMap.put("addCompetitorScraping", new addCompetitorScraping());
-
 
10797
      processMap.put("getPreviousCompetitorScraping", new getPreviousCompetitorScraping());
10681
      return processMap;
10798
      return processMap;
10682
    }
10799
    }
10683
 
10800
 
10684
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
10801
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
10685
      public addItem() {
10802
      public addItem() {
Line 13611... Line 13728...
13611
        result.success = iface.getAllFlipkartMarketplaceItem();
13728
        result.success = iface.getAllFlipkartMarketplaceItem();
13612
        return result;
13729
        return result;
13613
      }
13730
      }
13614
    }
13731
    }
13615
 
13732
 
-
 
13733
    private static class addCompetitorScraping<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addCompetitorScraping_args> {
-
 
13734
      public addCompetitorScraping() {
-
 
13735
        super("addCompetitorScraping");
-
 
13736
      }
-
 
13737
 
-
 
13738
      protected addCompetitorScraping_args getEmptyArgsInstance() {
-
 
13739
        return new addCompetitorScraping_args();
-
 
13740
      }
-
 
13741
 
-
 
13742
      protected addCompetitorScraping_result getResult(I iface, addCompetitorScraping_args args) throws org.apache.thrift.TException {
-
 
13743
        addCompetitorScraping_result result = new addCompetitorScraping_result();
-
 
13744
        iface.addCompetitorScraping(args.competitorPricingMap);
-
 
13745
        return result;
-
 
13746
      }
-
 
13747
    }
-
 
13748
 
-
 
13749
    private static class getPreviousCompetitorScraping<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPreviousCompetitorScraping_args> {
-
 
13750
      public getPreviousCompetitorScraping() {
-
 
13751
        super("getPreviousCompetitorScraping");
-
 
13752
      }
-
 
13753
 
-
 
13754
      protected getPreviousCompetitorScraping_args getEmptyArgsInstance() {
-
 
13755
        return new getPreviousCompetitorScraping_args();
-
 
13756
      }
-
 
13757
 
-
 
13758
      protected getPreviousCompetitorScraping_result getResult(I iface, getPreviousCompetitorScraping_args args) throws org.apache.thrift.TException {
-
 
13759
        getPreviousCompetitorScraping_result result = new getPreviousCompetitorScraping_result();
-
 
13760
        result.success = iface.getPreviousCompetitorScraping(args.delta);
-
 
13761
        return result;
-
 
13762
      }
-
 
13763
    }
-
 
13764
 
13616
  }
13765
  }
13617
 
13766
 
13618
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
13767
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
13619
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
13768
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
13620
 
13769
 
Line 121942... Line 122091...
121942
      boolean first = true;
122091
      boolean first = true;
121943
 
122092
 
121944
      sb.append("success:");
122093
      sb.append("success:");
121945
      if (this.success == null) {
122094
      if (this.success == null) {
121946
        sb.append("null");
122095
        sb.append("null");
-
 
122096
      } else {
-
 
122097
        sb.append(this.success);
-
 
122098
      }
-
 
122099
      first = false;
-
 
122100
      sb.append(")");
-
 
122101
      return sb.toString();
-
 
122102
    }
-
 
122103
 
-
 
122104
    public void validate() throws org.apache.thrift.TException {
-
 
122105
      // check for required fields
-
 
122106
    }
-
 
122107
 
-
 
122108
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
122109
      try {
-
 
122110
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
122111
      } catch (org.apache.thrift.TException te) {
-
 
122112
        throw new java.io.IOException(te);
-
 
122113
      }
-
 
122114
    }
-
 
122115
 
-
 
122116
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
122117
      try {
-
 
122118
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
122119
      } catch (org.apache.thrift.TException te) {
-
 
122120
        throw new java.io.IOException(te);
-
 
122121
      }
-
 
122122
    }
-
 
122123
 
-
 
122124
  }
-
 
122125
 
-
 
122126
  public static class addCompetitorScraping_args implements org.apache.thrift.TBase<addCompetitorScraping_args, addCompetitorScraping_args._Fields>, java.io.Serializable, Cloneable   {
-
 
122127
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addCompetitorScraping_args");
-
 
122128
 
-
 
122129
    private static final org.apache.thrift.protocol.TField COMPETITOR_PRICING_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("competitorPricingMap", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
122130
 
-
 
122131
    private Map<Long,CompetitorPricing> competitorPricingMap; // required
-
 
122132
 
-
 
122133
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
122134
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
122135
      COMPETITOR_PRICING_MAP((short)1, "competitorPricingMap");
-
 
122136
 
-
 
122137
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
122138
 
-
 
122139
      static {
-
 
122140
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
122141
          byName.put(field.getFieldName(), field);
-
 
122142
        }
-
 
122143
      }
-
 
122144
 
-
 
122145
      /**
-
 
122146
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
122147
       */
-
 
122148
      public static _Fields findByThriftId(int fieldId) {
-
 
122149
        switch(fieldId) {
-
 
122150
          case 1: // COMPETITOR_PRICING_MAP
-
 
122151
            return COMPETITOR_PRICING_MAP;
-
 
122152
          default:
-
 
122153
            return null;
-
 
122154
        }
-
 
122155
      }
-
 
122156
 
-
 
122157
      /**
-
 
122158
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
122159
       * if it is not found.
-
 
122160
       */
-
 
122161
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
122162
        _Fields fields = findByThriftId(fieldId);
-
 
122163
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
122164
        return fields;
-
 
122165
      }
-
 
122166
 
-
 
122167
      /**
-
 
122168
       * Find the _Fields constant that matches name, or null if its not found.
-
 
122169
       */
-
 
122170
      public static _Fields findByName(String name) {
-
 
122171
        return byName.get(name);
-
 
122172
      }
-
 
122173
 
-
 
122174
      private final short _thriftId;
-
 
122175
      private final String _fieldName;
-
 
122176
 
-
 
122177
      _Fields(short thriftId, String fieldName) {
-
 
122178
        _thriftId = thriftId;
-
 
122179
        _fieldName = fieldName;
-
 
122180
      }
-
 
122181
 
-
 
122182
      public short getThriftFieldId() {
-
 
122183
        return _thriftId;
-
 
122184
      }
-
 
122185
 
-
 
122186
      public String getFieldName() {
-
 
122187
        return _fieldName;
-
 
122188
      }
-
 
122189
    }
-
 
122190
 
-
 
122191
    // isset id assignments
-
 
122192
 
-
 
122193
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
122194
    static {
-
 
122195
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
122196
      tmpMap.put(_Fields.COMPETITOR_PRICING_MAP, new org.apache.thrift.meta_data.FieldMetaData("competitorPricingMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
122197
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
122198
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
122199
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CompetitorPricing.class))));
-
 
122200
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
122201
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addCompetitorScraping_args.class, metaDataMap);
-
 
122202
    }
-
 
122203
 
-
 
122204
    public addCompetitorScraping_args() {
-
 
122205
    }
-
 
122206
 
-
 
122207
    public addCompetitorScraping_args(
-
 
122208
      Map<Long,CompetitorPricing> competitorPricingMap)
-
 
122209
    {
-
 
122210
      this();
-
 
122211
      this.competitorPricingMap = competitorPricingMap;
-
 
122212
    }
-
 
122213
 
-
 
122214
    /**
-
 
122215
     * Performs a deep copy on <i>other</i>.
-
 
122216
     */
-
 
122217
    public addCompetitorScraping_args(addCompetitorScraping_args other) {
-
 
122218
      if (other.isSetCompetitorPricingMap()) {
-
 
122219
        Map<Long,CompetitorPricing> __this__competitorPricingMap = new HashMap<Long,CompetitorPricing>();
-
 
122220
        for (Map.Entry<Long, CompetitorPricing> other_element : other.competitorPricingMap.entrySet()) {
-
 
122221
 
-
 
122222
          Long other_element_key = other_element.getKey();
-
 
122223
          CompetitorPricing other_element_value = other_element.getValue();
-
 
122224
 
-
 
122225
          Long __this__competitorPricingMap_copy_key = other_element_key;
-
 
122226
 
-
 
122227
          CompetitorPricing __this__competitorPricingMap_copy_value = new CompetitorPricing(other_element_value);
-
 
122228
 
-
 
122229
          __this__competitorPricingMap.put(__this__competitorPricingMap_copy_key, __this__competitorPricingMap_copy_value);
-
 
122230
        }
-
 
122231
        this.competitorPricingMap = __this__competitorPricingMap;
-
 
122232
      }
-
 
122233
    }
-
 
122234
 
-
 
122235
    public addCompetitorScraping_args deepCopy() {
-
 
122236
      return new addCompetitorScraping_args(this);
-
 
122237
    }
-
 
122238
 
-
 
122239
    @Override
-
 
122240
    public void clear() {
-
 
122241
      this.competitorPricingMap = null;
-
 
122242
    }
-
 
122243
 
-
 
122244
    public int getCompetitorPricingMapSize() {
-
 
122245
      return (this.competitorPricingMap == null) ? 0 : this.competitorPricingMap.size();
-
 
122246
    }
-
 
122247
 
-
 
122248
    public void putToCompetitorPricingMap(long key, CompetitorPricing val) {
-
 
122249
      if (this.competitorPricingMap == null) {
-
 
122250
        this.competitorPricingMap = new HashMap<Long,CompetitorPricing>();
-
 
122251
      }
-
 
122252
      this.competitorPricingMap.put(key, val);
-
 
122253
    }
-
 
122254
 
-
 
122255
    public Map<Long,CompetitorPricing> getCompetitorPricingMap() {
-
 
122256
      return this.competitorPricingMap;
-
 
122257
    }
-
 
122258
 
-
 
122259
    public void setCompetitorPricingMap(Map<Long,CompetitorPricing> competitorPricingMap) {
-
 
122260
      this.competitorPricingMap = competitorPricingMap;
-
 
122261
    }
-
 
122262
 
-
 
122263
    public void unsetCompetitorPricingMap() {
-
 
122264
      this.competitorPricingMap = null;
-
 
122265
    }
-
 
122266
 
-
 
122267
    /** Returns true if field competitorPricingMap is set (has been assigned a value) and false otherwise */
-
 
122268
    public boolean isSetCompetitorPricingMap() {
-
 
122269
      return this.competitorPricingMap != null;
-
 
122270
    }
-
 
122271
 
-
 
122272
    public void setCompetitorPricingMapIsSet(boolean value) {
-
 
122273
      if (!value) {
-
 
122274
        this.competitorPricingMap = null;
-
 
122275
      }
-
 
122276
    }
-
 
122277
 
-
 
122278
    public void setFieldValue(_Fields field, Object value) {
-
 
122279
      switch (field) {
-
 
122280
      case COMPETITOR_PRICING_MAP:
-
 
122281
        if (value == null) {
-
 
122282
          unsetCompetitorPricingMap();
-
 
122283
        } else {
-
 
122284
          setCompetitorPricingMap((Map<Long,CompetitorPricing>)value);
-
 
122285
        }
-
 
122286
        break;
-
 
122287
 
-
 
122288
      }
-
 
122289
    }
-
 
122290
 
-
 
122291
    public Object getFieldValue(_Fields field) {
-
 
122292
      switch (field) {
-
 
122293
      case COMPETITOR_PRICING_MAP:
-
 
122294
        return getCompetitorPricingMap();
-
 
122295
 
-
 
122296
      }
-
 
122297
      throw new IllegalStateException();
-
 
122298
    }
-
 
122299
 
-
 
122300
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
122301
    public boolean isSet(_Fields field) {
-
 
122302
      if (field == null) {
-
 
122303
        throw new IllegalArgumentException();
-
 
122304
      }
-
 
122305
 
-
 
122306
      switch (field) {
-
 
122307
      case COMPETITOR_PRICING_MAP:
-
 
122308
        return isSetCompetitorPricingMap();
-
 
122309
      }
-
 
122310
      throw new IllegalStateException();
-
 
122311
    }
-
 
122312
 
-
 
122313
    @Override
-
 
122314
    public boolean equals(Object that) {
-
 
122315
      if (that == null)
-
 
122316
        return false;
-
 
122317
      if (that instanceof addCompetitorScraping_args)
-
 
122318
        return this.equals((addCompetitorScraping_args)that);
-
 
122319
      return false;
-
 
122320
    }
-
 
122321
 
-
 
122322
    public boolean equals(addCompetitorScraping_args that) {
-
 
122323
      if (that == null)
-
 
122324
        return false;
-
 
122325
 
-
 
122326
      boolean this_present_competitorPricingMap = true && this.isSetCompetitorPricingMap();
-
 
122327
      boolean that_present_competitorPricingMap = true && that.isSetCompetitorPricingMap();
-
 
122328
      if (this_present_competitorPricingMap || that_present_competitorPricingMap) {
-
 
122329
        if (!(this_present_competitorPricingMap && that_present_competitorPricingMap))
-
 
122330
          return false;
-
 
122331
        if (!this.competitorPricingMap.equals(that.competitorPricingMap))
-
 
122332
          return false;
-
 
122333
      }
-
 
122334
 
-
 
122335
      return true;
-
 
122336
    }
-
 
122337
 
-
 
122338
    @Override
-
 
122339
    public int hashCode() {
-
 
122340
      return 0;
-
 
122341
    }
-
 
122342
 
-
 
122343
    public int compareTo(addCompetitorScraping_args other) {
-
 
122344
      if (!getClass().equals(other.getClass())) {
-
 
122345
        return getClass().getName().compareTo(other.getClass().getName());
-
 
122346
      }
-
 
122347
 
-
 
122348
      int lastComparison = 0;
-
 
122349
      addCompetitorScraping_args typedOther = (addCompetitorScraping_args)other;
-
 
122350
 
-
 
122351
      lastComparison = Boolean.valueOf(isSetCompetitorPricingMap()).compareTo(typedOther.isSetCompetitorPricingMap());
-
 
122352
      if (lastComparison != 0) {
-
 
122353
        return lastComparison;
-
 
122354
      }
-
 
122355
      if (isSetCompetitorPricingMap()) {
-
 
122356
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.competitorPricingMap, typedOther.competitorPricingMap);
-
 
122357
        if (lastComparison != 0) {
-
 
122358
          return lastComparison;
-
 
122359
        }
-
 
122360
      }
-
 
122361
      return 0;
-
 
122362
    }
-
 
122363
 
-
 
122364
    public _Fields fieldForId(int fieldId) {
-
 
122365
      return _Fields.findByThriftId(fieldId);
-
 
122366
    }
-
 
122367
 
-
 
122368
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
122369
      org.apache.thrift.protocol.TField field;
-
 
122370
      iprot.readStructBegin();
-
 
122371
      while (true)
-
 
122372
      {
-
 
122373
        field = iprot.readFieldBegin();
-
 
122374
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
122375
          break;
-
 
122376
        }
-
 
122377
        switch (field.id) {
-
 
122378
          case 1: // COMPETITOR_PRICING_MAP
-
 
122379
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
122380
              {
-
 
122381
                org.apache.thrift.protocol.TMap _map398 = iprot.readMapBegin();
-
 
122382
                this.competitorPricingMap = new HashMap<Long,CompetitorPricing>(2*_map398.size);
-
 
122383
                for (int _i399 = 0; _i399 < _map398.size; ++_i399)
-
 
122384
                {
-
 
122385
                  long _key400; // required
-
 
122386
                  CompetitorPricing _val401; // required
-
 
122387
                  _key400 = iprot.readI64();
-
 
122388
                  _val401 = new CompetitorPricing();
-
 
122389
                  _val401.read(iprot);
-
 
122390
                  this.competitorPricingMap.put(_key400, _val401);
-
 
122391
                }
-
 
122392
                iprot.readMapEnd();
-
 
122393
              }
-
 
122394
            } else { 
-
 
122395
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
122396
            }
-
 
122397
            break;
-
 
122398
          default:
-
 
122399
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
122400
        }
-
 
122401
        iprot.readFieldEnd();
-
 
122402
      }
-
 
122403
      iprot.readStructEnd();
-
 
122404
      validate();
-
 
122405
    }
-
 
122406
 
-
 
122407
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
122408
      validate();
-
 
122409
 
-
 
122410
      oprot.writeStructBegin(STRUCT_DESC);
-
 
122411
      if (this.competitorPricingMap != null) {
-
 
122412
        oprot.writeFieldBegin(COMPETITOR_PRICING_MAP_FIELD_DESC);
-
 
122413
        {
-
 
122414
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.competitorPricingMap.size()));
-
 
122415
          for (Map.Entry<Long, CompetitorPricing> _iter402 : this.competitorPricingMap.entrySet())
-
 
122416
          {
-
 
122417
            oprot.writeI64(_iter402.getKey());
-
 
122418
            _iter402.getValue().write(oprot);
-
 
122419
          }
-
 
122420
          oprot.writeMapEnd();
-
 
122421
        }
-
 
122422
        oprot.writeFieldEnd();
-
 
122423
      }
-
 
122424
      oprot.writeFieldStop();
-
 
122425
      oprot.writeStructEnd();
-
 
122426
    }
-
 
122427
 
-
 
122428
    @Override
-
 
122429
    public String toString() {
-
 
122430
      StringBuilder sb = new StringBuilder("addCompetitorScraping_args(");
-
 
122431
      boolean first = true;
-
 
122432
 
-
 
122433
      sb.append("competitorPricingMap:");
-
 
122434
      if (this.competitorPricingMap == null) {
-
 
122435
        sb.append("null");
-
 
122436
      } else {
-
 
122437
        sb.append(this.competitorPricingMap);
-
 
122438
      }
-
 
122439
      first = false;
-
 
122440
      sb.append(")");
-
 
122441
      return sb.toString();
-
 
122442
    }
-
 
122443
 
-
 
122444
    public void validate() throws org.apache.thrift.TException {
-
 
122445
      // check for required fields
-
 
122446
    }
-
 
122447
 
-
 
122448
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
122449
      try {
-
 
122450
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
122451
      } catch (org.apache.thrift.TException te) {
-
 
122452
        throw new java.io.IOException(te);
-
 
122453
      }
-
 
122454
    }
-
 
122455
 
-
 
122456
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
122457
      try {
-
 
122458
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
122459
      } catch (org.apache.thrift.TException te) {
-
 
122460
        throw new java.io.IOException(te);
-
 
122461
      }
-
 
122462
    }
-
 
122463
 
-
 
122464
  }
-
 
122465
 
-
 
122466
  public static class addCompetitorScraping_result implements org.apache.thrift.TBase<addCompetitorScraping_result, addCompetitorScraping_result._Fields>, java.io.Serializable, Cloneable   {
-
 
122467
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addCompetitorScraping_result");
-
 
122468
 
-
 
122469
 
-
 
122470
 
-
 
122471
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
122472
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
122473
;
-
 
122474
 
-
 
122475
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
122476
 
-
 
122477
      static {
-
 
122478
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
122479
          byName.put(field.getFieldName(), field);
-
 
122480
        }
-
 
122481
      }
-
 
122482
 
-
 
122483
      /**
-
 
122484
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
122485
       */
-
 
122486
      public static _Fields findByThriftId(int fieldId) {
-
 
122487
        switch(fieldId) {
-
 
122488
          default:
-
 
122489
            return null;
-
 
122490
        }
-
 
122491
      }
-
 
122492
 
-
 
122493
      /**
-
 
122494
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
122495
       * if it is not found.
-
 
122496
       */
-
 
122497
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
122498
        _Fields fields = findByThriftId(fieldId);
-
 
122499
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
122500
        return fields;
-
 
122501
      }
-
 
122502
 
-
 
122503
      /**
-
 
122504
       * Find the _Fields constant that matches name, or null if its not found.
-
 
122505
       */
-
 
122506
      public static _Fields findByName(String name) {
-
 
122507
        return byName.get(name);
-
 
122508
      }
-
 
122509
 
-
 
122510
      private final short _thriftId;
-
 
122511
      private final String _fieldName;
-
 
122512
 
-
 
122513
      _Fields(short thriftId, String fieldName) {
-
 
122514
        _thriftId = thriftId;
-
 
122515
        _fieldName = fieldName;
-
 
122516
      }
-
 
122517
 
-
 
122518
      public short getThriftFieldId() {
-
 
122519
        return _thriftId;
-
 
122520
      }
-
 
122521
 
-
 
122522
      public String getFieldName() {
-
 
122523
        return _fieldName;
-
 
122524
      }
-
 
122525
    }
-
 
122526
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
122527
    static {
-
 
122528
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
122529
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
122530
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addCompetitorScraping_result.class, metaDataMap);
-
 
122531
    }
-
 
122532
 
-
 
122533
    public addCompetitorScraping_result() {
-
 
122534
    }
-
 
122535
 
-
 
122536
    /**
-
 
122537
     * Performs a deep copy on <i>other</i>.
-
 
122538
     */
-
 
122539
    public addCompetitorScraping_result(addCompetitorScraping_result other) {
-
 
122540
    }
-
 
122541
 
-
 
122542
    public addCompetitorScraping_result deepCopy() {
-
 
122543
      return new addCompetitorScraping_result(this);
-
 
122544
    }
-
 
122545
 
-
 
122546
    @Override
-
 
122547
    public void clear() {
-
 
122548
    }
-
 
122549
 
-
 
122550
    public void setFieldValue(_Fields field, Object value) {
-
 
122551
      switch (field) {
-
 
122552
      }
-
 
122553
    }
-
 
122554
 
-
 
122555
    public Object getFieldValue(_Fields field) {
-
 
122556
      switch (field) {
-
 
122557
      }
-
 
122558
      throw new IllegalStateException();
-
 
122559
    }
-
 
122560
 
-
 
122561
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
122562
    public boolean isSet(_Fields field) {
-
 
122563
      if (field == null) {
-
 
122564
        throw new IllegalArgumentException();
-
 
122565
      }
-
 
122566
 
-
 
122567
      switch (field) {
-
 
122568
      }
-
 
122569
      throw new IllegalStateException();
-
 
122570
    }
-
 
122571
 
-
 
122572
    @Override
-
 
122573
    public boolean equals(Object that) {
-
 
122574
      if (that == null)
-
 
122575
        return false;
-
 
122576
      if (that instanceof addCompetitorScraping_result)
-
 
122577
        return this.equals((addCompetitorScraping_result)that);
-
 
122578
      return false;
-
 
122579
    }
-
 
122580
 
-
 
122581
    public boolean equals(addCompetitorScraping_result that) {
-
 
122582
      if (that == null)
-
 
122583
        return false;
-
 
122584
 
-
 
122585
      return true;
-
 
122586
    }
-
 
122587
 
-
 
122588
    @Override
-
 
122589
    public int hashCode() {
-
 
122590
      return 0;
-
 
122591
    }
-
 
122592
 
-
 
122593
    public int compareTo(addCompetitorScraping_result other) {
-
 
122594
      if (!getClass().equals(other.getClass())) {
-
 
122595
        return getClass().getName().compareTo(other.getClass().getName());
-
 
122596
      }
-
 
122597
 
-
 
122598
      int lastComparison = 0;
-
 
122599
      addCompetitorScraping_result typedOther = (addCompetitorScraping_result)other;
-
 
122600
 
-
 
122601
      return 0;
-
 
122602
    }
-
 
122603
 
-
 
122604
    public _Fields fieldForId(int fieldId) {
-
 
122605
      return _Fields.findByThriftId(fieldId);
-
 
122606
    }
-
 
122607
 
-
 
122608
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
122609
      org.apache.thrift.protocol.TField field;
-
 
122610
      iprot.readStructBegin();
-
 
122611
      while (true)
-
 
122612
      {
-
 
122613
        field = iprot.readFieldBegin();
-
 
122614
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
122615
          break;
-
 
122616
        }
-
 
122617
        switch (field.id) {
-
 
122618
          default:
-
 
122619
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
122620
        }
-
 
122621
        iprot.readFieldEnd();
-
 
122622
      }
-
 
122623
      iprot.readStructEnd();
-
 
122624
      validate();
-
 
122625
    }
-
 
122626
 
-
 
122627
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
122628
      oprot.writeStructBegin(STRUCT_DESC);
-
 
122629
 
-
 
122630
      oprot.writeFieldStop();
-
 
122631
      oprot.writeStructEnd();
-
 
122632
    }
-
 
122633
 
-
 
122634
    @Override
-
 
122635
    public String toString() {
-
 
122636
      StringBuilder sb = new StringBuilder("addCompetitorScraping_result(");
-
 
122637
      boolean first = true;
-
 
122638
 
-
 
122639
      sb.append(")");
-
 
122640
      return sb.toString();
-
 
122641
    }
-
 
122642
 
-
 
122643
    public void validate() throws org.apache.thrift.TException {
-
 
122644
      // check for required fields
-
 
122645
    }
-
 
122646
 
-
 
122647
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
122648
      try {
-
 
122649
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
122650
      } catch (org.apache.thrift.TException te) {
-
 
122651
        throw new java.io.IOException(te);
-
 
122652
      }
-
 
122653
    }
-
 
122654
 
-
 
122655
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
122656
      try {
-
 
122657
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
122658
      } catch (org.apache.thrift.TException te) {
-
 
122659
        throw new java.io.IOException(te);
-
 
122660
      }
-
 
122661
    }
-
 
122662
 
-
 
122663
  }
-
 
122664
 
-
 
122665
  public static class getPreviousCompetitorScraping_args implements org.apache.thrift.TBase<getPreviousCompetitorScraping_args, getPreviousCompetitorScraping_args._Fields>, java.io.Serializable, Cloneable   {
-
 
122666
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPreviousCompetitorScraping_args");
-
 
122667
 
-
 
122668
    private static final org.apache.thrift.protocol.TField DELTA_FIELD_DESC = new org.apache.thrift.protocol.TField("delta", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
122669
 
-
 
122670
    private long delta; // required
-
 
122671
 
-
 
122672
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
122673
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
122674
      DELTA((short)1, "delta");
-
 
122675
 
-
 
122676
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
122677
 
-
 
122678
      static {
-
 
122679
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
122680
          byName.put(field.getFieldName(), field);
-
 
122681
        }
-
 
122682
      }
-
 
122683
 
-
 
122684
      /**
-
 
122685
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
122686
       */
-
 
122687
      public static _Fields findByThriftId(int fieldId) {
-
 
122688
        switch(fieldId) {
-
 
122689
          case 1: // DELTA
-
 
122690
            return DELTA;
-
 
122691
          default:
-
 
122692
            return null;
-
 
122693
        }
-
 
122694
      }
-
 
122695
 
-
 
122696
      /**
-
 
122697
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
122698
       * if it is not found.
-
 
122699
       */
-
 
122700
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
122701
        _Fields fields = findByThriftId(fieldId);
-
 
122702
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
122703
        return fields;
-
 
122704
      }
-
 
122705
 
-
 
122706
      /**
-
 
122707
       * Find the _Fields constant that matches name, or null if its not found.
-
 
122708
       */
-
 
122709
      public static _Fields findByName(String name) {
-
 
122710
        return byName.get(name);
-
 
122711
      }
-
 
122712
 
-
 
122713
      private final short _thriftId;
-
 
122714
      private final String _fieldName;
-
 
122715
 
-
 
122716
      _Fields(short thriftId, String fieldName) {
-
 
122717
        _thriftId = thriftId;
-
 
122718
        _fieldName = fieldName;
-
 
122719
      }
-
 
122720
 
-
 
122721
      public short getThriftFieldId() {
-
 
122722
        return _thriftId;
-
 
122723
      }
-
 
122724
 
-
 
122725
      public String getFieldName() {
-
 
122726
        return _fieldName;
-
 
122727
      }
-
 
122728
    }
-
 
122729
 
-
 
122730
    // isset id assignments
-
 
122731
    private static final int __DELTA_ISSET_ID = 0;
-
 
122732
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
122733
 
-
 
122734
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
122735
    static {
-
 
122736
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
122737
      tmpMap.put(_Fields.DELTA, new org.apache.thrift.meta_data.FieldMetaData("delta", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
122738
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
122739
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
122740
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPreviousCompetitorScraping_args.class, metaDataMap);
-
 
122741
    }
-
 
122742
 
-
 
122743
    public getPreviousCompetitorScraping_args() {
-
 
122744
    }
-
 
122745
 
-
 
122746
    public getPreviousCompetitorScraping_args(
-
 
122747
      long delta)
-
 
122748
    {
-
 
122749
      this();
-
 
122750
      this.delta = delta;
-
 
122751
      setDeltaIsSet(true);
-
 
122752
    }
-
 
122753
 
-
 
122754
    /**
-
 
122755
     * Performs a deep copy on <i>other</i>.
-
 
122756
     */
-
 
122757
    public getPreviousCompetitorScraping_args(getPreviousCompetitorScraping_args other) {
-
 
122758
      __isset_bit_vector.clear();
-
 
122759
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
122760
      this.delta = other.delta;
-
 
122761
    }
-
 
122762
 
-
 
122763
    public getPreviousCompetitorScraping_args deepCopy() {
-
 
122764
      return new getPreviousCompetitorScraping_args(this);
-
 
122765
    }
-
 
122766
 
-
 
122767
    @Override
-
 
122768
    public void clear() {
-
 
122769
      setDeltaIsSet(false);
-
 
122770
      this.delta = 0;
-
 
122771
    }
-
 
122772
 
-
 
122773
    public long getDelta() {
-
 
122774
      return this.delta;
-
 
122775
    }
-
 
122776
 
-
 
122777
    public void setDelta(long delta) {
-
 
122778
      this.delta = delta;
-
 
122779
      setDeltaIsSet(true);
-
 
122780
    }
-
 
122781
 
-
 
122782
    public void unsetDelta() {
-
 
122783
      __isset_bit_vector.clear(__DELTA_ISSET_ID);
-
 
122784
    }
-
 
122785
 
-
 
122786
    /** Returns true if field delta is set (has been assigned a value) and false otherwise */
-
 
122787
    public boolean isSetDelta() {
-
 
122788
      return __isset_bit_vector.get(__DELTA_ISSET_ID);
-
 
122789
    }
-
 
122790
 
-
 
122791
    public void setDeltaIsSet(boolean value) {
-
 
122792
      __isset_bit_vector.set(__DELTA_ISSET_ID, value);
-
 
122793
    }
-
 
122794
 
-
 
122795
    public void setFieldValue(_Fields field, Object value) {
-
 
122796
      switch (field) {
-
 
122797
      case DELTA:
-
 
122798
        if (value == null) {
-
 
122799
          unsetDelta();
-
 
122800
        } else {
-
 
122801
          setDelta((Long)value);
-
 
122802
        }
-
 
122803
        break;
-
 
122804
 
-
 
122805
      }
-
 
122806
    }
-
 
122807
 
-
 
122808
    public Object getFieldValue(_Fields field) {
-
 
122809
      switch (field) {
-
 
122810
      case DELTA:
-
 
122811
        return Long.valueOf(getDelta());
-
 
122812
 
-
 
122813
      }
-
 
122814
      throw new IllegalStateException();
-
 
122815
    }
-
 
122816
 
-
 
122817
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
122818
    public boolean isSet(_Fields field) {
-
 
122819
      if (field == null) {
-
 
122820
        throw new IllegalArgumentException();
-
 
122821
      }
-
 
122822
 
-
 
122823
      switch (field) {
-
 
122824
      case DELTA:
-
 
122825
        return isSetDelta();
-
 
122826
      }
-
 
122827
      throw new IllegalStateException();
-
 
122828
    }
-
 
122829
 
-
 
122830
    @Override
-
 
122831
    public boolean equals(Object that) {
-
 
122832
      if (that == null)
-
 
122833
        return false;
-
 
122834
      if (that instanceof getPreviousCompetitorScraping_args)
-
 
122835
        return this.equals((getPreviousCompetitorScraping_args)that);
-
 
122836
      return false;
-
 
122837
    }
-
 
122838
 
-
 
122839
    public boolean equals(getPreviousCompetitorScraping_args that) {
-
 
122840
      if (that == null)
-
 
122841
        return false;
-
 
122842
 
-
 
122843
      boolean this_present_delta = true;
-
 
122844
      boolean that_present_delta = true;
-
 
122845
      if (this_present_delta || that_present_delta) {
-
 
122846
        if (!(this_present_delta && that_present_delta))
-
 
122847
          return false;
-
 
122848
        if (this.delta != that.delta)
-
 
122849
          return false;
-
 
122850
      }
-
 
122851
 
-
 
122852
      return true;
-
 
122853
    }
-
 
122854
 
-
 
122855
    @Override
-
 
122856
    public int hashCode() {
-
 
122857
      return 0;
-
 
122858
    }
-
 
122859
 
-
 
122860
    public int compareTo(getPreviousCompetitorScraping_args other) {
-
 
122861
      if (!getClass().equals(other.getClass())) {
-
 
122862
        return getClass().getName().compareTo(other.getClass().getName());
-
 
122863
      }
-
 
122864
 
-
 
122865
      int lastComparison = 0;
-
 
122866
      getPreviousCompetitorScraping_args typedOther = (getPreviousCompetitorScraping_args)other;
-
 
122867
 
-
 
122868
      lastComparison = Boolean.valueOf(isSetDelta()).compareTo(typedOther.isSetDelta());
-
 
122869
      if (lastComparison != 0) {
-
 
122870
        return lastComparison;
-
 
122871
      }
-
 
122872
      if (isSetDelta()) {
-
 
122873
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delta, typedOther.delta);
-
 
122874
        if (lastComparison != 0) {
-
 
122875
          return lastComparison;
-
 
122876
        }
-
 
122877
      }
-
 
122878
      return 0;
-
 
122879
    }
-
 
122880
 
-
 
122881
    public _Fields fieldForId(int fieldId) {
-
 
122882
      return _Fields.findByThriftId(fieldId);
-
 
122883
    }
-
 
122884
 
-
 
122885
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
122886
      org.apache.thrift.protocol.TField field;
-
 
122887
      iprot.readStructBegin();
-
 
122888
      while (true)
-
 
122889
      {
-
 
122890
        field = iprot.readFieldBegin();
-
 
122891
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
122892
          break;
-
 
122893
        }
-
 
122894
        switch (field.id) {
-
 
122895
          case 1: // DELTA
-
 
122896
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
122897
              this.delta = iprot.readI64();
-
 
122898
              setDeltaIsSet(true);
-
 
122899
            } else { 
-
 
122900
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
122901
            }
-
 
122902
            break;
-
 
122903
          default:
-
 
122904
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
122905
        }
-
 
122906
        iprot.readFieldEnd();
-
 
122907
      }
-
 
122908
      iprot.readStructEnd();
-
 
122909
      validate();
-
 
122910
    }
-
 
122911
 
-
 
122912
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
122913
      validate();
-
 
122914
 
-
 
122915
      oprot.writeStructBegin(STRUCT_DESC);
-
 
122916
      oprot.writeFieldBegin(DELTA_FIELD_DESC);
-
 
122917
      oprot.writeI64(this.delta);
-
 
122918
      oprot.writeFieldEnd();
-
 
122919
      oprot.writeFieldStop();
-
 
122920
      oprot.writeStructEnd();
-
 
122921
    }
-
 
122922
 
-
 
122923
    @Override
-
 
122924
    public String toString() {
-
 
122925
      StringBuilder sb = new StringBuilder("getPreviousCompetitorScraping_args(");
-
 
122926
      boolean first = true;
-
 
122927
 
-
 
122928
      sb.append("delta:");
-
 
122929
      sb.append(this.delta);
-
 
122930
      first = false;
-
 
122931
      sb.append(")");
-
 
122932
      return sb.toString();
-
 
122933
    }
-
 
122934
 
-
 
122935
    public void validate() throws org.apache.thrift.TException {
-
 
122936
      // check for required fields
-
 
122937
    }
-
 
122938
 
-
 
122939
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
122940
      try {
-
 
122941
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
122942
      } catch (org.apache.thrift.TException te) {
-
 
122943
        throw new java.io.IOException(te);
-
 
122944
      }
-
 
122945
    }
-
 
122946
 
-
 
122947
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
122948
      try {
-
 
122949
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
122950
        __isset_bit_vector = new BitSet(1);
-
 
122951
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
122952
      } catch (org.apache.thrift.TException te) {
-
 
122953
        throw new java.io.IOException(te);
-
 
122954
      }
-
 
122955
    }
-
 
122956
 
-
 
122957
  }
-
 
122958
 
-
 
122959
  public static class getPreviousCompetitorScraping_result implements org.apache.thrift.TBase<getPreviousCompetitorScraping_result, getPreviousCompetitorScraping_result._Fields>, java.io.Serializable, Cloneable   {
-
 
122960
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPreviousCompetitorScraping_result");
-
 
122961
 
-
 
122962
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
122963
 
-
 
122964
    private List<CompetitorPricing> success; // required
-
 
122965
 
-
 
122966
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
122967
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
122968
      SUCCESS((short)0, "success");
-
 
122969
 
-
 
122970
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
122971
 
-
 
122972
      static {
-
 
122973
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
122974
          byName.put(field.getFieldName(), field);
-
 
122975
        }
-
 
122976
      }
-
 
122977
 
-
 
122978
      /**
-
 
122979
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
122980
       */
-
 
122981
      public static _Fields findByThriftId(int fieldId) {
-
 
122982
        switch(fieldId) {
-
 
122983
          case 0: // SUCCESS
-
 
122984
            return SUCCESS;
-
 
122985
          default:
-
 
122986
            return null;
-
 
122987
        }
-
 
122988
      }
-
 
122989
 
-
 
122990
      /**
-
 
122991
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
122992
       * if it is not found.
-
 
122993
       */
-
 
122994
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
122995
        _Fields fields = findByThriftId(fieldId);
-
 
122996
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
122997
        return fields;
-
 
122998
      }
-
 
122999
 
-
 
123000
      /**
-
 
123001
       * Find the _Fields constant that matches name, or null if its not found.
-
 
123002
       */
-
 
123003
      public static _Fields findByName(String name) {
-
 
123004
        return byName.get(name);
-
 
123005
      }
-
 
123006
 
-
 
123007
      private final short _thriftId;
-
 
123008
      private final String _fieldName;
-
 
123009
 
-
 
123010
      _Fields(short thriftId, String fieldName) {
-
 
123011
        _thriftId = thriftId;
-
 
123012
        _fieldName = fieldName;
-
 
123013
      }
-
 
123014
 
-
 
123015
      public short getThriftFieldId() {
-
 
123016
        return _thriftId;
-
 
123017
      }
-
 
123018
 
-
 
123019
      public String getFieldName() {
-
 
123020
        return _fieldName;
-
 
123021
      }
-
 
123022
    }
-
 
123023
 
-
 
123024
    // isset id assignments
-
 
123025
 
-
 
123026
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
123027
    static {
-
 
123028
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
123029
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
123030
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
123031
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CompetitorPricing.class))));
-
 
123032
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
123033
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPreviousCompetitorScraping_result.class, metaDataMap);
-
 
123034
    }
-
 
123035
 
-
 
123036
    public getPreviousCompetitorScraping_result() {
-
 
123037
    }
-
 
123038
 
-
 
123039
    public getPreviousCompetitorScraping_result(
-
 
123040
      List<CompetitorPricing> success)
-
 
123041
    {
-
 
123042
      this();
-
 
123043
      this.success = success;
-
 
123044
    }
-
 
123045
 
-
 
123046
    /**
-
 
123047
     * Performs a deep copy on <i>other</i>.
-
 
123048
     */
-
 
123049
    public getPreviousCompetitorScraping_result(getPreviousCompetitorScraping_result other) {
-
 
123050
      if (other.isSetSuccess()) {
-
 
123051
        List<CompetitorPricing> __this__success = new ArrayList<CompetitorPricing>();
-
 
123052
        for (CompetitorPricing other_element : other.success) {
-
 
123053
          __this__success.add(new CompetitorPricing(other_element));
-
 
123054
        }
-
 
123055
        this.success = __this__success;
-
 
123056
      }
-
 
123057
    }
-
 
123058
 
-
 
123059
    public getPreviousCompetitorScraping_result deepCopy() {
-
 
123060
      return new getPreviousCompetitorScraping_result(this);
-
 
123061
    }
-
 
123062
 
-
 
123063
    @Override
-
 
123064
    public void clear() {
-
 
123065
      this.success = null;
-
 
123066
    }
-
 
123067
 
-
 
123068
    public int getSuccessSize() {
-
 
123069
      return (this.success == null) ? 0 : this.success.size();
-
 
123070
    }
-
 
123071
 
-
 
123072
    public java.util.Iterator<CompetitorPricing> getSuccessIterator() {
-
 
123073
      return (this.success == null) ? null : this.success.iterator();
-
 
123074
    }
-
 
123075
 
-
 
123076
    public void addToSuccess(CompetitorPricing elem) {
-
 
123077
      if (this.success == null) {
-
 
123078
        this.success = new ArrayList<CompetitorPricing>();
-
 
123079
      }
-
 
123080
      this.success.add(elem);
-
 
123081
    }
-
 
123082
 
-
 
123083
    public List<CompetitorPricing> getSuccess() {
-
 
123084
      return this.success;
-
 
123085
    }
-
 
123086
 
-
 
123087
    public void setSuccess(List<CompetitorPricing> success) {
-
 
123088
      this.success = success;
-
 
123089
    }
-
 
123090
 
-
 
123091
    public void unsetSuccess() {
-
 
123092
      this.success = null;
-
 
123093
    }
-
 
123094
 
-
 
123095
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
123096
    public boolean isSetSuccess() {
-
 
123097
      return this.success != null;
-
 
123098
    }
-
 
123099
 
-
 
123100
    public void setSuccessIsSet(boolean value) {
-
 
123101
      if (!value) {
-
 
123102
        this.success = null;
-
 
123103
      }
-
 
123104
    }
-
 
123105
 
-
 
123106
    public void setFieldValue(_Fields field, Object value) {
-
 
123107
      switch (field) {
-
 
123108
      case SUCCESS:
-
 
123109
        if (value == null) {
-
 
123110
          unsetSuccess();
-
 
123111
        } else {
-
 
123112
          setSuccess((List<CompetitorPricing>)value);
-
 
123113
        }
-
 
123114
        break;
-
 
123115
 
-
 
123116
      }
-
 
123117
    }
-
 
123118
 
-
 
123119
    public Object getFieldValue(_Fields field) {
-
 
123120
      switch (field) {
-
 
123121
      case SUCCESS:
-
 
123122
        return getSuccess();
-
 
123123
 
-
 
123124
      }
-
 
123125
      throw new IllegalStateException();
-
 
123126
    }
-
 
123127
 
-
 
123128
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
123129
    public boolean isSet(_Fields field) {
-
 
123130
      if (field == null) {
-
 
123131
        throw new IllegalArgumentException();
-
 
123132
      }
-
 
123133
 
-
 
123134
      switch (field) {
-
 
123135
      case SUCCESS:
-
 
123136
        return isSetSuccess();
-
 
123137
      }
-
 
123138
      throw new IllegalStateException();
-
 
123139
    }
-
 
123140
 
-
 
123141
    @Override
-
 
123142
    public boolean equals(Object that) {
-
 
123143
      if (that == null)
-
 
123144
        return false;
-
 
123145
      if (that instanceof getPreviousCompetitorScraping_result)
-
 
123146
        return this.equals((getPreviousCompetitorScraping_result)that);
-
 
123147
      return false;
-
 
123148
    }
-
 
123149
 
-
 
123150
    public boolean equals(getPreviousCompetitorScraping_result that) {
-
 
123151
      if (that == null)
-
 
123152
        return false;
-
 
123153
 
-
 
123154
      boolean this_present_success = true && this.isSetSuccess();
-
 
123155
      boolean that_present_success = true && that.isSetSuccess();
-
 
123156
      if (this_present_success || that_present_success) {
-
 
123157
        if (!(this_present_success && that_present_success))
-
 
123158
          return false;
-
 
123159
        if (!this.success.equals(that.success))
-
 
123160
          return false;
-
 
123161
      }
-
 
123162
 
-
 
123163
      return true;
-
 
123164
    }
-
 
123165
 
-
 
123166
    @Override
-
 
123167
    public int hashCode() {
-
 
123168
      return 0;
-
 
123169
    }
-
 
123170
 
-
 
123171
    public int compareTo(getPreviousCompetitorScraping_result other) {
-
 
123172
      if (!getClass().equals(other.getClass())) {
-
 
123173
        return getClass().getName().compareTo(other.getClass().getName());
-
 
123174
      }
-
 
123175
 
-
 
123176
      int lastComparison = 0;
-
 
123177
      getPreviousCompetitorScraping_result typedOther = (getPreviousCompetitorScraping_result)other;
-
 
123178
 
-
 
123179
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
123180
      if (lastComparison != 0) {
-
 
123181
        return lastComparison;
-
 
123182
      }
-
 
123183
      if (isSetSuccess()) {
-
 
123184
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
123185
        if (lastComparison != 0) {
-
 
123186
          return lastComparison;
-
 
123187
        }
-
 
123188
      }
-
 
123189
      return 0;
-
 
123190
    }
-
 
123191
 
-
 
123192
    public _Fields fieldForId(int fieldId) {
-
 
123193
      return _Fields.findByThriftId(fieldId);
-
 
123194
    }
-
 
123195
 
-
 
123196
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
123197
      org.apache.thrift.protocol.TField field;
-
 
123198
      iprot.readStructBegin();
-
 
123199
      while (true)
-
 
123200
      {
-
 
123201
        field = iprot.readFieldBegin();
-
 
123202
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
123203
          break;
-
 
123204
        }
-
 
123205
        switch (field.id) {
-
 
123206
          case 0: // SUCCESS
-
 
123207
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
123208
              {
-
 
123209
                org.apache.thrift.protocol.TList _list403 = iprot.readListBegin();
-
 
123210
                this.success = new ArrayList<CompetitorPricing>(_list403.size);
-
 
123211
                for (int _i404 = 0; _i404 < _list403.size; ++_i404)
-
 
123212
                {
-
 
123213
                  CompetitorPricing _elem405; // required
-
 
123214
                  _elem405 = new CompetitorPricing();
-
 
123215
                  _elem405.read(iprot);
-
 
123216
                  this.success.add(_elem405);
-
 
123217
                }
-
 
123218
                iprot.readListEnd();
-
 
123219
              }
-
 
123220
            } else { 
-
 
123221
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
123222
            }
-
 
123223
            break;
-
 
123224
          default:
-
 
123225
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
123226
        }
-
 
123227
        iprot.readFieldEnd();
-
 
123228
      }
-
 
123229
      iprot.readStructEnd();
-
 
123230
      validate();
-
 
123231
    }
-
 
123232
 
-
 
123233
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
123234
      oprot.writeStructBegin(STRUCT_DESC);
-
 
123235
 
-
 
123236
      if (this.isSetSuccess()) {
-
 
123237
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
123238
        {
-
 
123239
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
123240
          for (CompetitorPricing _iter406 : this.success)
-
 
123241
          {
-
 
123242
            _iter406.write(oprot);
-
 
123243
          }
-
 
123244
          oprot.writeListEnd();
-
 
123245
        }
-
 
123246
        oprot.writeFieldEnd();
-
 
123247
      }
-
 
123248
      oprot.writeFieldStop();
-
 
123249
      oprot.writeStructEnd();
-
 
123250
    }
-
 
123251
 
-
 
123252
    @Override
-
 
123253
    public String toString() {
-
 
123254
      StringBuilder sb = new StringBuilder("getPreviousCompetitorScraping_result(");
-
 
123255
      boolean first = true;
-
 
123256
 
-
 
123257
      sb.append("success:");
-
 
123258
      if (this.success == null) {
-
 
123259
        sb.append("null");
121947
      } else {
123260
      } else {
121948
        sb.append(this.success);
123261
        sb.append(this.success);
121949
      }
123262
      }
121950
      first = false;
123263
      first = false;
121951
      sb.append(")");
123264
      sb.append(")");