Subversion Repositories SmartDukaan

Rev

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

Rev 8739 Rev 9155
Line 184... Line 184...
184
 
184
 
185
    public boolean updateBanner(Banner banner) throws org.apache.thrift.TException;
185
    public boolean updateBanner(Banner banner) throws org.apache.thrift.TException;
186
 
186
 
187
    public List<Banner> getAllBanners() throws org.apache.thrift.TException;
187
    public List<Banner> getAllBanners() throws org.apache.thrift.TException;
188
 
188
 
189
    public boolean deleteBanner(String bannerName) throws org.apache.thrift.TException;
189
    public boolean deleteBanner(String bannerName, BannerType bannerType) throws org.apache.thrift.TException;
190
 
190
 
191
    public Banner getBannerDetails(String bannerName) throws org.apache.thrift.TException;
191
    public Banner getBannerDetails(String bannerName, BannerType bannerType) throws org.apache.thrift.TException;
192
 
192
 
193
    public Map<String,List<Banner>> getActiveBanners() throws org.apache.thrift.TException;
193
    public Map<String,List<Banner>> getActiveBanners() throws org.apache.thrift.TException;
194
 
194
 
195
    public boolean addBannerMap(List<BannerMap> bannerMaps) throws org.apache.thrift.TException;
195
    public boolean addBannerMap(List<BannerMap> bannerMaps) throws org.apache.thrift.TException;
196
 
196
 
197
    public boolean updateBannerMap(BannerMap bannerMap) throws org.apache.thrift.TException;
197
    public boolean updateBannerMap(BannerMap bannerMap) throws org.apache.thrift.TException;
198
 
198
 
199
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException;
199
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException;
200
 
200
 
201
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException;
201
    public List<BannerMap> getBannerMapDetails(String bannerName, BannerType bannerType) throws org.apache.thrift.TException;
202
 
202
 
203
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings) throws org.apache.thrift.TException;
203
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings) throws org.apache.thrift.TException;
204
 
204
 
205
    public List<BannerUriMapping> getUriMapping(String bannerName) throws org.apache.thrift.TException;
205
    public List<BannerUriMapping> getUriMapping(String bannerName, BannerType bannerType) throws org.apache.thrift.TException;
206
 
206
 
207
    public void addCampaign(Campaign campaign) throws org.apache.thrift.TException;
207
    public void addCampaign(Campaign campaign) throws org.apache.thrift.TException;
208
 
208
 
209
    public List<Campaign> getCampaigns(String campaignName) throws org.apache.thrift.TException;
209
    public List<Campaign> getCampaigns(String campaignName) throws org.apache.thrift.TException;
210
 
210
 
211
    public void deleteCampaign(long campaignId) throws org.apache.thrift.TException;
211
    public void deleteCampaign(long campaignId) throws org.apache.thrift.TException;
212
 
212
 
213
    public List<String> getAllCampaigns() throws org.apache.thrift.TException;
213
    public List<String> getAllCampaigns() throws org.apache.thrift.TException;
214
 
214
 
-
 
215
    public Map<String,List<Banner>> getActiveBannersForMobileSite() throws org.apache.thrift.TException;
-
 
216
 
215
    /**
217
    /**
216
     * Delete similar item.
218
     * Delete similar item.
217
     * 
219
     * 
218
     * @param itemId
220
     * @param itemId
219
     * @param catalogItemId
221
     * @param catalogItemId
Line 562... Line 564...
562
 
564
 
563
    public void updateBanner(Banner banner, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateBanner_call> resultHandler) throws org.apache.thrift.TException;
565
    public void updateBanner(Banner banner, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateBanner_call> resultHandler) throws org.apache.thrift.TException;
564
 
566
 
565
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllBanners_call> resultHandler) throws org.apache.thrift.TException;
567
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllBanners_call> resultHandler) throws org.apache.thrift.TException;
566
 
568
 
567
    public void deleteBanner(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBanner_call> resultHandler) throws org.apache.thrift.TException;
569
    public void deleteBanner(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBanner_call> resultHandler) throws org.apache.thrift.TException;
568
 
570
 
569
    public void getBannerDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerDetails_call> resultHandler) throws org.apache.thrift.TException;
571
    public void getBannerDetails(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerDetails_call> resultHandler) throws org.apache.thrift.TException;
570
 
572
 
571
    public void getActiveBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveBanners_call> resultHandler) throws org.apache.thrift.TException;
573
    public void getActiveBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveBanners_call> resultHandler) throws org.apache.thrift.TException;
572
 
574
 
573
    public void addBannerMap(List<BannerMap> bannerMaps, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerMap_call> resultHandler) throws org.apache.thrift.TException;
575
    public void addBannerMap(List<BannerMap> bannerMaps, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerMap_call> resultHandler) throws org.apache.thrift.TException;
574
 
576
 
575
    public void updateBannerMap(BannerMap bannerMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateBannerMap_call> resultHandler) throws org.apache.thrift.TException;
577
    public void updateBannerMap(BannerMap bannerMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateBannerMap_call> resultHandler) throws org.apache.thrift.TException;
576
 
578
 
577
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException;
579
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException;
578
 
580
 
579
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException;
581
    public void getBannerMapDetails(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException;
580
 
582
 
581
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerUri_call> resultHandler) throws org.apache.thrift.TException;
583
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerUri_call> resultHandler) throws org.apache.thrift.TException;
582
 
584
 
583
    public void getUriMapping(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUriMapping_call> resultHandler) throws org.apache.thrift.TException;
585
    public void getUriMapping(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUriMapping_call> resultHandler) throws org.apache.thrift.TException;
584
 
586
 
585
    public void addCampaign(Campaign campaign, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCampaign_call> resultHandler) throws org.apache.thrift.TException;
587
    public void addCampaign(Campaign campaign, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCampaign_call> resultHandler) throws org.apache.thrift.TException;
586
 
588
 
587
    public void getCampaigns(String campaignName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCampaigns_call> resultHandler) throws org.apache.thrift.TException;
589
    public void getCampaigns(String campaignName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCampaigns_call> resultHandler) throws org.apache.thrift.TException;
588
 
590
 
589
    public void deleteCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteCampaign_call> resultHandler) throws org.apache.thrift.TException;
591
    public void deleteCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteCampaign_call> resultHandler) throws org.apache.thrift.TException;
590
 
592
 
591
    public void getAllCampaigns(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllCampaigns_call> resultHandler) throws org.apache.thrift.TException;
593
    public void getAllCampaigns(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllCampaigns_call> resultHandler) throws org.apache.thrift.TException;
592
 
594
 
-
 
595
    public void getActiveBannersForMobileSite(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveBannersForMobileSite_call> resultHandler) throws org.apache.thrift.TException;
-
 
596
 
593
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
597
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
594
 
598
 
595
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
599
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
596
 
600
 
597
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
601
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 1847... Line 1851...
1847
        return result.success;
1851
        return result.success;
1848
      }
1852
      }
1849
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
1853
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
1850
    }
1854
    }
1851
 
1855
 
1852
    public boolean deleteBanner(String bannerName) throws org.apache.thrift.TException
1856
    public boolean deleteBanner(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
1853
    {
1857
    {
1854
      send_deleteBanner(bannerName);
1858
      send_deleteBanner(bannerName, bannerType);
1855
      return recv_deleteBanner();
1859
      return recv_deleteBanner();
1856
    }
1860
    }
1857
 
1861
 
1858
    public void send_deleteBanner(String bannerName) throws org.apache.thrift.TException
1862
    public void send_deleteBanner(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
1859
    {
1863
    {
1860
      deleteBanner_args args = new deleteBanner_args();
1864
      deleteBanner_args args = new deleteBanner_args();
1861
      args.setBannerName(bannerName);
1865
      args.setBannerName(bannerName);
-
 
1866
      args.setBannerType(bannerType);
1862
      sendBase("deleteBanner", args);
1867
      sendBase("deleteBanner", args);
1863
    }
1868
    }
1864
 
1869
 
1865
    public boolean recv_deleteBanner() throws org.apache.thrift.TException
1870
    public boolean recv_deleteBanner() throws org.apache.thrift.TException
1866
    {
1871
    {
Line 1870... Line 1875...
1870
        return result.success;
1875
        return result.success;
1871
      }
1876
      }
1872
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
1877
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
1873
    }
1878
    }
1874
 
1879
 
1875
    public Banner getBannerDetails(String bannerName) throws org.apache.thrift.TException
1880
    public Banner getBannerDetails(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
1876
    {
1881
    {
1877
      send_getBannerDetails(bannerName);
1882
      send_getBannerDetails(bannerName, bannerType);
1878
      return recv_getBannerDetails();
1883
      return recv_getBannerDetails();
1879
    }
1884
    }
1880
 
1885
 
1881
    public void send_getBannerDetails(String bannerName) throws org.apache.thrift.TException
1886
    public void send_getBannerDetails(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
1882
    {
1887
    {
1883
      getBannerDetails_args args = new getBannerDetails_args();
1888
      getBannerDetails_args args = new getBannerDetails_args();
1884
      args.setBannerName(bannerName);
1889
      args.setBannerName(bannerName);
-
 
1890
      args.setBannerType(bannerType);
1885
      sendBase("getBannerDetails", args);
1891
      sendBase("getBannerDetails", args);
1886
    }
1892
    }
1887
 
1893
 
1888
    public Banner recv_getBannerDetails() throws org.apache.thrift.TException
1894
    public Banner recv_getBannerDetails() throws org.apache.thrift.TException
1889
    {
1895
    {
Line 1984... Line 1990...
1984
        return result.success;
1990
        return result.success;
1985
      }
1991
      }
1986
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
1992
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
1987
    }
1993
    }
1988
 
1994
 
1989
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException
1995
    public List<BannerMap> getBannerMapDetails(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
1990
    {
1996
    {
1991
      send_getBannerMapDetails(bannerName);
1997
      send_getBannerMapDetails(bannerName, bannerType);
1992
      return recv_getBannerMapDetails();
1998
      return recv_getBannerMapDetails();
1993
    }
1999
    }
1994
 
2000
 
1995
    public void send_getBannerMapDetails(String bannerName) throws org.apache.thrift.TException
2001
    public void send_getBannerMapDetails(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
1996
    {
2002
    {
1997
      getBannerMapDetails_args args = new getBannerMapDetails_args();
2003
      getBannerMapDetails_args args = new getBannerMapDetails_args();
1998
      args.setBannerName(bannerName);
2004
      args.setBannerName(bannerName);
-
 
2005
      args.setBannerType(bannerType);
1999
      sendBase("getBannerMapDetails", args);
2006
      sendBase("getBannerMapDetails", args);
2000
    }
2007
    }
2001
 
2008
 
2002
    public List<BannerMap> recv_getBannerMapDetails() throws org.apache.thrift.TException
2009
    public List<BannerMap> recv_getBannerMapDetails() throws org.apache.thrift.TException
2003
    {
2010
    {
Line 2027... Line 2034...
2027
      addBannerUri_result result = new addBannerUri_result();
2034
      addBannerUri_result result = new addBannerUri_result();
2028
      receiveBase(result, "addBannerUri");
2035
      receiveBase(result, "addBannerUri");
2029
      return;
2036
      return;
2030
    }
2037
    }
2031
 
2038
 
2032
    public List<BannerUriMapping> getUriMapping(String bannerName) throws org.apache.thrift.TException
2039
    public List<BannerUriMapping> getUriMapping(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
2033
    {
2040
    {
2034
      send_getUriMapping(bannerName);
2041
      send_getUriMapping(bannerName, bannerType);
2035
      return recv_getUriMapping();
2042
      return recv_getUriMapping();
2036
    }
2043
    }
2037
 
2044
 
2038
    public void send_getUriMapping(String bannerName) throws org.apache.thrift.TException
2045
    public void send_getUriMapping(String bannerName, BannerType bannerType) throws org.apache.thrift.TException
2039
    {
2046
    {
2040
      getUriMapping_args args = new getUriMapping_args();
2047
      getUriMapping_args args = new getUriMapping_args();
2041
      args.setBannerName(bannerName);
2048
      args.setBannerName(bannerName);
-
 
2049
      args.setBannerType(bannerType);
2042
      sendBase("getUriMapping", args);
2050
      sendBase("getUriMapping", args);
2043
    }
2051
    }
2044
 
2052
 
2045
    public List<BannerUriMapping> recv_getUriMapping() throws org.apache.thrift.TException
2053
    public List<BannerUriMapping> recv_getUriMapping() throws org.apache.thrift.TException
2046
    {
2054
    {
Line 2135... Line 2143...
2135
        return result.success;
2143
        return result.success;
2136
      }
2144
      }
2137
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
2145
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
2138
    }
2146
    }
2139
 
2147
 
-
 
2148
    public Map<String,List<Banner>> getActiveBannersForMobileSite() throws org.apache.thrift.TException
-
 
2149
    {
-
 
2150
      send_getActiveBannersForMobileSite();
-
 
2151
      return recv_getActiveBannersForMobileSite();
-
 
2152
    }
-
 
2153
 
-
 
2154
    public void send_getActiveBannersForMobileSite() throws org.apache.thrift.TException
-
 
2155
    {
-
 
2156
      getActiveBannersForMobileSite_args args = new getActiveBannersForMobileSite_args();
-
 
2157
      sendBase("getActiveBannersForMobileSite", args);
-
 
2158
    }
-
 
2159
 
-
 
2160
    public Map<String,List<Banner>> recv_getActiveBannersForMobileSite() throws org.apache.thrift.TException
-
 
2161
    {
-
 
2162
      getActiveBannersForMobileSite_result result = new getActiveBannersForMobileSite_result();
-
 
2163
      receiveBase(result, "getActiveBannersForMobileSite");
-
 
2164
      if (result.isSetSuccess()) {
-
 
2165
        return result.success;
-
 
2166
      }
-
 
2167
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
-
 
2168
    }
-
 
2169
 
2140
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
2170
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
2141
    {
2171
    {
2142
      send_deleteSimilarItem(itemId, catalogItemId);
2172
      send_deleteSimilarItem(itemId, catalogItemId);
2143
      return recv_deleteSimilarItem();
2173
      return recv_deleteSimilarItem();
2144
    }
2174
    }
Line 5171... Line 5201...
5171
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5201
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5172
        return (new Client(prot)).recv_getAllBanners();
5202
        return (new Client(prot)).recv_getAllBanners();
5173
      }
5203
      }
5174
    }
5204
    }
5175
 
5205
 
5176
    public void deleteBanner(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBanner_call> resultHandler) throws org.apache.thrift.TException {
5206
    public void deleteBanner(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<deleteBanner_call> resultHandler) throws org.apache.thrift.TException {
5177
      checkReady();
5207
      checkReady();
5178
      deleteBanner_call method_call = new deleteBanner_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
5208
      deleteBanner_call method_call = new deleteBanner_call(bannerName, bannerType, resultHandler, this, ___protocolFactory, ___transport);
5179
      this.___currentMethod = method_call;
5209
      this.___currentMethod = method_call;
5180
      ___manager.call(method_call);
5210
      ___manager.call(method_call);
5181
    }
5211
    }
5182
 
5212
 
5183
    public static class deleteBanner_call extends org.apache.thrift.async.TAsyncMethodCall {
5213
    public static class deleteBanner_call extends org.apache.thrift.async.TAsyncMethodCall {
5184
      private String bannerName;
5214
      private String bannerName;
-
 
5215
      private BannerType bannerType;
5185
      public deleteBanner_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBanner_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 {
5216
      public deleteBanner_call(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<deleteBanner_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 {
5186
        super(client, protocolFactory, transport, resultHandler, false);
5217
        super(client, protocolFactory, transport, resultHandler, false);
5187
        this.bannerName = bannerName;
5218
        this.bannerName = bannerName;
-
 
5219
        this.bannerType = bannerType;
5188
      }
5220
      }
5189
 
5221
 
5190
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5222
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5191
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteBanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
5223
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteBanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
5192
        deleteBanner_args args = new deleteBanner_args();
5224
        deleteBanner_args args = new deleteBanner_args();
5193
        args.setBannerName(bannerName);
5225
        args.setBannerName(bannerName);
-
 
5226
        args.setBannerType(bannerType);
5194
        args.write(prot);
5227
        args.write(prot);
5195
        prot.writeMessageEnd();
5228
        prot.writeMessageEnd();
5196
      }
5229
      }
5197
 
5230
 
5198
      public boolean getResult() throws org.apache.thrift.TException {
5231
      public boolean getResult() throws org.apache.thrift.TException {
Line 5203... Line 5236...
5203
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5236
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5204
        return (new Client(prot)).recv_deleteBanner();
5237
        return (new Client(prot)).recv_deleteBanner();
5205
      }
5238
      }
5206
    }
5239
    }
5207
 
5240
 
5208
    public void getBannerDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerDetails_call> resultHandler) throws org.apache.thrift.TException {
5241
    public void getBannerDetails(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<getBannerDetails_call> resultHandler) throws org.apache.thrift.TException {
5209
      checkReady();
5242
      checkReady();
5210
      getBannerDetails_call method_call = new getBannerDetails_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
5243
      getBannerDetails_call method_call = new getBannerDetails_call(bannerName, bannerType, resultHandler, this, ___protocolFactory, ___transport);
5211
      this.___currentMethod = method_call;
5244
      this.___currentMethod = method_call;
5212
      ___manager.call(method_call);
5245
      ___manager.call(method_call);
5213
    }
5246
    }
5214
 
5247
 
5215
    public static class getBannerDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
5248
    public static class getBannerDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
5216
      private String bannerName;
5249
      private String bannerName;
-
 
5250
      private BannerType bannerType;
5217
      public getBannerDetails_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerDetails_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 {
5251
      public getBannerDetails_call(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<getBannerDetails_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 {
5218
        super(client, protocolFactory, transport, resultHandler, false);
5252
        super(client, protocolFactory, transport, resultHandler, false);
5219
        this.bannerName = bannerName;
5253
        this.bannerName = bannerName;
-
 
5254
        this.bannerType = bannerType;
5220
      }
5255
      }
5221
 
5256
 
5222
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5257
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5223
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBannerDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
5258
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBannerDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
5224
        getBannerDetails_args args = new getBannerDetails_args();
5259
        getBannerDetails_args args = new getBannerDetails_args();
5225
        args.setBannerName(bannerName);
5260
        args.setBannerName(bannerName);
-
 
5261
        args.setBannerType(bannerType);
5226
        args.write(prot);
5262
        args.write(prot);
5227
        prot.writeMessageEnd();
5263
        prot.writeMessageEnd();
5228
      }
5264
      }
5229
 
5265
 
5230
      public Banner getResult() throws org.apache.thrift.TException {
5266
      public Banner getResult() throws org.apache.thrift.TException {
Line 5360... Line 5396...
5360
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5396
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5361
        return (new Client(prot)).recv_deleteBannerMap();
5397
        return (new Client(prot)).recv_deleteBannerMap();
5362
      }
5398
      }
5363
    }
5399
    }
5364
 
5400
 
5365
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException {
5401
    public void getBannerMapDetails(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException {
5366
      checkReady();
5402
      checkReady();
5367
      getBannerMapDetails_call method_call = new getBannerMapDetails_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
5403
      getBannerMapDetails_call method_call = new getBannerMapDetails_call(bannerName, bannerType, resultHandler, this, ___protocolFactory, ___transport);
5368
      this.___currentMethod = method_call;
5404
      this.___currentMethod = method_call;
5369
      ___manager.call(method_call);
5405
      ___manager.call(method_call);
5370
    }
5406
    }
5371
 
5407
 
5372
    public static class getBannerMapDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
5408
    public static class getBannerMapDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
5373
      private String bannerName;
5409
      private String bannerName;
-
 
5410
      private BannerType bannerType;
5374
      public getBannerMapDetails_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerMapDetails_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 {
5411
      public getBannerMapDetails_call(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<getBannerMapDetails_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 {
5375
        super(client, protocolFactory, transport, resultHandler, false);
5412
        super(client, protocolFactory, transport, resultHandler, false);
5376
        this.bannerName = bannerName;
5413
        this.bannerName = bannerName;
-
 
5414
        this.bannerType = bannerType;
5377
      }
5415
      }
5378
 
5416
 
5379
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5417
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5380
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBannerMapDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
5418
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBannerMapDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
5381
        getBannerMapDetails_args args = new getBannerMapDetails_args();
5419
        getBannerMapDetails_args args = new getBannerMapDetails_args();
5382
        args.setBannerName(bannerName);
5420
        args.setBannerName(bannerName);
-
 
5421
        args.setBannerType(bannerType);
5383
        args.write(prot);
5422
        args.write(prot);
5384
        prot.writeMessageEnd();
5423
        prot.writeMessageEnd();
5385
      }
5424
      }
5386
 
5425
 
5387
      public List<BannerMap> getResult() throws org.apache.thrift.TException {
5426
      public List<BannerMap> getResult() throws org.apache.thrift.TException {
Line 5424... Line 5463...
5424
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5463
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5425
        (new Client(prot)).recv_addBannerUri();
5464
        (new Client(prot)).recv_addBannerUri();
5426
      }
5465
      }
5427
    }
5466
    }
5428
 
5467
 
5429
    public void getUriMapping(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getUriMapping_call> resultHandler) throws org.apache.thrift.TException {
5468
    public void getUriMapping(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<getUriMapping_call> resultHandler) throws org.apache.thrift.TException {
5430
      checkReady();
5469
      checkReady();
5431
      getUriMapping_call method_call = new getUriMapping_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
5470
      getUriMapping_call method_call = new getUriMapping_call(bannerName, bannerType, resultHandler, this, ___protocolFactory, ___transport);
5432
      this.___currentMethod = method_call;
5471
      this.___currentMethod = method_call;
5433
      ___manager.call(method_call);
5472
      ___manager.call(method_call);
5434
    }
5473
    }
5435
 
5474
 
5436
    public static class getUriMapping_call extends org.apache.thrift.async.TAsyncMethodCall {
5475
    public static class getUriMapping_call extends org.apache.thrift.async.TAsyncMethodCall {
5437
      private String bannerName;
5476
      private String bannerName;
-
 
5477
      private BannerType bannerType;
5438
      public getUriMapping_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getUriMapping_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 {
5478
      public getUriMapping_call(String bannerName, BannerType bannerType, org.apache.thrift.async.AsyncMethodCallback<getUriMapping_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 {
5439
        super(client, protocolFactory, transport, resultHandler, false);
5479
        super(client, protocolFactory, transport, resultHandler, false);
5440
        this.bannerName = bannerName;
5480
        this.bannerName = bannerName;
-
 
5481
        this.bannerType = bannerType;
5441
      }
5482
      }
5442
 
5483
 
5443
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5484
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5444
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUriMapping", org.apache.thrift.protocol.TMessageType.CALL, 0));
5485
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUriMapping", org.apache.thrift.protocol.TMessageType.CALL, 0));
5445
        getUriMapping_args args = new getUriMapping_args();
5486
        getUriMapping_args args = new getUriMapping_args();
5446
        args.setBannerName(bannerName);
5487
        args.setBannerName(bannerName);
-
 
5488
        args.setBannerType(bannerType);
5447
        args.write(prot);
5489
        args.write(prot);
5448
        prot.writeMessageEnd();
5490
        prot.writeMessageEnd();
5449
      }
5491
      }
5450
 
5492
 
5451
      public List<BannerUriMapping> getResult() throws org.apache.thrift.TException {
5493
      public List<BannerUriMapping> getResult() throws org.apache.thrift.TException {
Line 5581... Line 5623...
5581
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5623
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5582
        return (new Client(prot)).recv_getAllCampaigns();
5624
        return (new Client(prot)).recv_getAllCampaigns();
5583
      }
5625
      }
5584
    }
5626
    }
5585
 
5627
 
-
 
5628
    public void getActiveBannersForMobileSite(org.apache.thrift.async.AsyncMethodCallback<getActiveBannersForMobileSite_call> resultHandler) throws org.apache.thrift.TException {
-
 
5629
      checkReady();
-
 
5630
      getActiveBannersForMobileSite_call method_call = new getActiveBannersForMobileSite_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
5631
      this.___currentMethod = method_call;
-
 
5632
      ___manager.call(method_call);
-
 
5633
    }
-
 
5634
 
-
 
5635
    public static class getActiveBannersForMobileSite_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5636
      public getActiveBannersForMobileSite_call(org.apache.thrift.async.AsyncMethodCallback<getActiveBannersForMobileSite_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 {
-
 
5637
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5638
      }
-
 
5639
 
-
 
5640
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5641
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getActiveBannersForMobileSite", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5642
        getActiveBannersForMobileSite_args args = new getActiveBannersForMobileSite_args();
-
 
5643
        args.write(prot);
-
 
5644
        prot.writeMessageEnd();
-
 
5645
      }
-
 
5646
 
-
 
5647
      public Map<String,List<Banner>> getResult() throws org.apache.thrift.TException {
-
 
5648
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5649
          throw new IllegalStateException("Method call not finished!");
-
 
5650
        }
-
 
5651
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5652
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5653
        return (new Client(prot)).recv_getActiveBannersForMobileSite();
-
 
5654
      }
-
 
5655
    }
-
 
5656
 
5586
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
5657
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
5587
      checkReady();
5658
      checkReady();
5588
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
5659
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
5589
      this.___currentMethod = method_call;
5660
      this.___currentMethod = method_call;
5590
      ___manager.call(method_call);
5661
      ___manager.call(method_call);
Line 7884... Line 7955...
7884
      processMap.put("getUriMapping", new getUriMapping());
7955
      processMap.put("getUriMapping", new getUriMapping());
7885
      processMap.put("addCampaign", new addCampaign());
7956
      processMap.put("addCampaign", new addCampaign());
7886
      processMap.put("getCampaigns", new getCampaigns());
7957
      processMap.put("getCampaigns", new getCampaigns());
7887
      processMap.put("deleteCampaign", new deleteCampaign());
7958
      processMap.put("deleteCampaign", new deleteCampaign());
7888
      processMap.put("getAllCampaigns", new getAllCampaigns());
7959
      processMap.put("getAllCampaigns", new getAllCampaigns());
-
 
7960
      processMap.put("getActiveBannersForMobileSite", new getActiveBannersForMobileSite());
7889
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
7961
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
7890
      processMap.put("checkSimilarItem", new checkSimilarItem());
7962
      processMap.put("checkSimilarItem", new checkSimilarItem());
7891
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
7963
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
7892
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
7964
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
7893
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
7965
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
Line 8800... Line 8872...
8800
        return new deleteBanner_args();
8872
        return new deleteBanner_args();
8801
      }
8873
      }
8802
 
8874
 
8803
      protected deleteBanner_result getResult(I iface, deleteBanner_args args) throws org.apache.thrift.TException {
8875
      protected deleteBanner_result getResult(I iface, deleteBanner_args args) throws org.apache.thrift.TException {
8804
        deleteBanner_result result = new deleteBanner_result();
8876
        deleteBanner_result result = new deleteBanner_result();
8805
        result.success = iface.deleteBanner(args.bannerName);
8877
        result.success = iface.deleteBanner(args.bannerName, args.bannerType);
8806
        result.setSuccessIsSet(true);
8878
        result.setSuccessIsSet(true);
8807
        return result;
8879
        return result;
8808
      }
8880
      }
8809
    }
8881
    }
8810
 
8882
 
Line 8817... Line 8889...
8817
        return new getBannerDetails_args();
8889
        return new getBannerDetails_args();
8818
      }
8890
      }
8819
 
8891
 
8820
      protected getBannerDetails_result getResult(I iface, getBannerDetails_args args) throws org.apache.thrift.TException {
8892
      protected getBannerDetails_result getResult(I iface, getBannerDetails_args args) throws org.apache.thrift.TException {
8821
        getBannerDetails_result result = new getBannerDetails_result();
8893
        getBannerDetails_result result = new getBannerDetails_result();
8822
        result.success = iface.getBannerDetails(args.bannerName);
8894
        result.success = iface.getBannerDetails(args.bannerName, args.bannerType);
8823
        return result;
8895
        return result;
8824
      }
8896
      }
8825
    }
8897
    }
8826
 
8898
 
8827
    private static class getActiveBanners<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getActiveBanners_args> {
8899
    private static class getActiveBanners<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getActiveBanners_args> {
Line 8900... Line 8972...
8900
        return new getBannerMapDetails_args();
8972
        return new getBannerMapDetails_args();
8901
      }
8973
      }
8902
 
8974
 
8903
      protected getBannerMapDetails_result getResult(I iface, getBannerMapDetails_args args) throws org.apache.thrift.TException {
8975
      protected getBannerMapDetails_result getResult(I iface, getBannerMapDetails_args args) throws org.apache.thrift.TException {
8904
        getBannerMapDetails_result result = new getBannerMapDetails_result();
8976
        getBannerMapDetails_result result = new getBannerMapDetails_result();
8905
        result.success = iface.getBannerMapDetails(args.bannerName);
8977
        result.success = iface.getBannerMapDetails(args.bannerName, args.bannerType);
8906
        return result;
8978
        return result;
8907
      }
8979
      }
8908
    }
8980
    }
8909
 
8981
 
8910
    private static class addBannerUri<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBannerUri_args> {
8982
    private static class addBannerUri<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBannerUri_args> {
Line 8932... Line 9004...
8932
        return new getUriMapping_args();
9004
        return new getUriMapping_args();
8933
      }
9005
      }
8934
 
9006
 
8935
      protected getUriMapping_result getResult(I iface, getUriMapping_args args) throws org.apache.thrift.TException {
9007
      protected getUriMapping_result getResult(I iface, getUriMapping_args args) throws org.apache.thrift.TException {
8936
        getUriMapping_result result = new getUriMapping_result();
9008
        getUriMapping_result result = new getUriMapping_result();
8937
        result.success = iface.getUriMapping(args.bannerName);
9009
        result.success = iface.getUriMapping(args.bannerName, args.bannerType);
8938
        return result;
9010
        return result;
8939
      }
9011
      }
8940
    }
9012
    }
8941
 
9013
 
8942
    private static class addCampaign<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addCampaign_args> {
9014
    private static class addCampaign<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addCampaign_args> {
Line 9001... Line 9073...
9001
        result.success = iface.getAllCampaigns();
9073
        result.success = iface.getAllCampaigns();
9002
        return result;
9074
        return result;
9003
      }
9075
      }
9004
    }
9076
    }
9005
 
9077
 
-
 
9078
    private static class getActiveBannersForMobileSite<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getActiveBannersForMobileSite_args> {
-
 
9079
      public getActiveBannersForMobileSite() {
-
 
9080
        super("getActiveBannersForMobileSite");
-
 
9081
      }
-
 
9082
 
-
 
9083
      protected getActiveBannersForMobileSite_args getEmptyArgsInstance() {
-
 
9084
        return new getActiveBannersForMobileSite_args();
-
 
9085
      }
-
 
9086
 
-
 
9087
      protected getActiveBannersForMobileSite_result getResult(I iface, getActiveBannersForMobileSite_args args) throws org.apache.thrift.TException {
-
 
9088
        getActiveBannersForMobileSite_result result = new getActiveBannersForMobileSite_result();
-
 
9089
        result.success = iface.getActiveBannersForMobileSite();
-
 
9090
        return result;
-
 
9091
      }
-
 
9092
    }
-
 
9093
 
9006
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
9094
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
9007
      public deleteSimilarItem() {
9095
      public deleteSimilarItem() {
9008
        super("deleteSimilarItem");
9096
        super("deleteSimilarItem");
9009
      }
9097
      }
9010
 
9098
 
Line 40210... Line 40298...
40210
 
40298
 
40211
  public static class deleteBanner_args implements org.apache.thrift.TBase<deleteBanner_args, deleteBanner_args._Fields>, java.io.Serializable, Cloneable   {
40299
  public static class deleteBanner_args implements org.apache.thrift.TBase<deleteBanner_args, deleteBanner_args._Fields>, java.io.Serializable, Cloneable   {
40212
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteBanner_args");
40300
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteBanner_args");
40213
 
40301
 
40214
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
40302
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
40303
    private static final org.apache.thrift.protocol.TField BANNER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerType", org.apache.thrift.protocol.TType.I32, (short)2);
40215
 
40304
 
40216
    private String bannerName; // required
40305
    private String bannerName; // required
-
 
40306
    private BannerType bannerType; // required
40217
 
40307
 
40218
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
40308
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
40219
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
40309
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
40220
      BANNER_NAME((short)1, "bannerName");
40310
      BANNER_NAME((short)1, "bannerName"),
-
 
40311
      /**
-
 
40312
       * 
-
 
40313
       * @see BannerType
-
 
40314
       */
-
 
40315
      BANNER_TYPE((short)2, "bannerType");
40221
 
40316
 
40222
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
40317
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
40223
 
40318
 
40224
      static {
40319
      static {
40225
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
40320
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 40232... Line 40327...
40232
       */
40327
       */
40233
      public static _Fields findByThriftId(int fieldId) {
40328
      public static _Fields findByThriftId(int fieldId) {
40234
        switch(fieldId) {
40329
        switch(fieldId) {
40235
          case 1: // BANNER_NAME
40330
          case 1: // BANNER_NAME
40236
            return BANNER_NAME;
40331
            return BANNER_NAME;
-
 
40332
          case 2: // BANNER_TYPE
-
 
40333
            return BANNER_TYPE;
40237
          default:
40334
          default:
40238
            return null;
40335
            return null;
40239
        }
40336
        }
40240
      }
40337
      }
40241
 
40338
 
Line 40278... Line 40375...
40278
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
40375
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
40279
    static {
40376
    static {
40280
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
40377
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
40281
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
40378
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
40282
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
40379
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
40380
      tmpMap.put(_Fields.BANNER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("bannerType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40381
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BannerType.class)));
40283
      metaDataMap = Collections.unmodifiableMap(tmpMap);
40382
      metaDataMap = Collections.unmodifiableMap(tmpMap);
40284
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteBanner_args.class, metaDataMap);
40383
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteBanner_args.class, metaDataMap);
40285
    }
40384
    }
40286
 
40385
 
40287
    public deleteBanner_args() {
40386
    public deleteBanner_args() {
40288
    }
40387
    }
40289
 
40388
 
40290
    public deleteBanner_args(
40389
    public deleteBanner_args(
40291
      String bannerName)
40390
      String bannerName,
-
 
40391
      BannerType bannerType)
40292
    {
40392
    {
40293
      this();
40393
      this();
40294
      this.bannerName = bannerName;
40394
      this.bannerName = bannerName;
-
 
40395
      this.bannerType = bannerType;
40295
    }
40396
    }
40296
 
40397
 
40297
    /**
40398
    /**
40298
     * Performs a deep copy on <i>other</i>.
40399
     * Performs a deep copy on <i>other</i>.
40299
     */
40400
     */
40300
    public deleteBanner_args(deleteBanner_args other) {
40401
    public deleteBanner_args(deleteBanner_args other) {
40301
      if (other.isSetBannerName()) {
40402
      if (other.isSetBannerName()) {
40302
        this.bannerName = other.bannerName;
40403
        this.bannerName = other.bannerName;
40303
      }
40404
      }
-
 
40405
      if (other.isSetBannerType()) {
-
 
40406
        this.bannerType = other.bannerType;
-
 
40407
      }
40304
    }
40408
    }
40305
 
40409
 
40306
    public deleteBanner_args deepCopy() {
40410
    public deleteBanner_args deepCopy() {
40307
      return new deleteBanner_args(this);
40411
      return new deleteBanner_args(this);
40308
    }
40412
    }
40309
 
40413
 
40310
    @Override
40414
    @Override
40311
    public void clear() {
40415
    public void clear() {
40312
      this.bannerName = null;
40416
      this.bannerName = null;
-
 
40417
      this.bannerType = null;
40313
    }
40418
    }
40314
 
40419
 
40315
    public String getBannerName() {
40420
    public String getBannerName() {
40316
      return this.bannerName;
40421
      return this.bannerName;
40317
    }
40422
    }
Line 40333... Line 40438...
40333
      if (!value) {
40438
      if (!value) {
40334
        this.bannerName = null;
40439
        this.bannerName = null;
40335
      }
40440
      }
40336
    }
40441
    }
40337
 
40442
 
-
 
40443
    /**
-
 
40444
     * 
-
 
40445
     * @see BannerType
-
 
40446
     */
-
 
40447
    public BannerType getBannerType() {
-
 
40448
      return this.bannerType;
-
 
40449
    }
-
 
40450
 
-
 
40451
    /**
-
 
40452
     * 
-
 
40453
     * @see BannerType
-
 
40454
     */
-
 
40455
    public void setBannerType(BannerType bannerType) {
-
 
40456
      this.bannerType = bannerType;
-
 
40457
    }
-
 
40458
 
-
 
40459
    public void unsetBannerType() {
-
 
40460
      this.bannerType = null;
-
 
40461
    }
-
 
40462
 
-
 
40463
    /** Returns true if field bannerType is set (has been assigned a value) and false otherwise */
-
 
40464
    public boolean isSetBannerType() {
-
 
40465
      return this.bannerType != null;
-
 
40466
    }
-
 
40467
 
-
 
40468
    public void setBannerTypeIsSet(boolean value) {
-
 
40469
      if (!value) {
-
 
40470
        this.bannerType = null;
-
 
40471
      }
-
 
40472
    }
-
 
40473
 
40338
    public void setFieldValue(_Fields field, Object value) {
40474
    public void setFieldValue(_Fields field, Object value) {
40339
      switch (field) {
40475
      switch (field) {
40340
      case BANNER_NAME:
40476
      case BANNER_NAME:
40341
        if (value == null) {
40477
        if (value == null) {
40342
          unsetBannerName();
40478
          unsetBannerName();
40343
        } else {
40479
        } else {
40344
          setBannerName((String)value);
40480
          setBannerName((String)value);
40345
        }
40481
        }
40346
        break;
40482
        break;
40347
 
40483
 
-
 
40484
      case BANNER_TYPE:
-
 
40485
        if (value == null) {
-
 
40486
          unsetBannerType();
-
 
40487
        } else {
-
 
40488
          setBannerType((BannerType)value);
-
 
40489
        }
-
 
40490
        break;
-
 
40491
 
40348
      }
40492
      }
40349
    }
40493
    }
40350
 
40494
 
40351
    public Object getFieldValue(_Fields field) {
40495
    public Object getFieldValue(_Fields field) {
40352
      switch (field) {
40496
      switch (field) {
40353
      case BANNER_NAME:
40497
      case BANNER_NAME:
40354
        return getBannerName();
40498
        return getBannerName();
40355
 
40499
 
-
 
40500
      case BANNER_TYPE:
-
 
40501
        return getBannerType();
-
 
40502
 
40356
      }
40503
      }
40357
      throw new IllegalStateException();
40504
      throw new IllegalStateException();
40358
    }
40505
    }
40359
 
40506
 
40360
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
40507
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 40364... Line 40511...
40364
      }
40511
      }
40365
 
40512
 
40366
      switch (field) {
40513
      switch (field) {
40367
      case BANNER_NAME:
40514
      case BANNER_NAME:
40368
        return isSetBannerName();
40515
        return isSetBannerName();
-
 
40516
      case BANNER_TYPE:
-
 
40517
        return isSetBannerType();
40369
      }
40518
      }
40370
      throw new IllegalStateException();
40519
      throw new IllegalStateException();
40371
    }
40520
    }
40372
 
40521
 
40373
    @Override
40522
    @Override
Line 40390... Line 40539...
40390
          return false;
40539
          return false;
40391
        if (!this.bannerName.equals(that.bannerName))
40540
        if (!this.bannerName.equals(that.bannerName))
40392
          return false;
40541
          return false;
40393
      }
40542
      }
40394
 
40543
 
-
 
40544
      boolean this_present_bannerType = true && this.isSetBannerType();
-
 
40545
      boolean that_present_bannerType = true && that.isSetBannerType();
-
 
40546
      if (this_present_bannerType || that_present_bannerType) {
-
 
40547
        if (!(this_present_bannerType && that_present_bannerType))
-
 
40548
          return false;
-
 
40549
        if (!this.bannerType.equals(that.bannerType))
-
 
40550
          return false;
-
 
40551
      }
-
 
40552
 
40395
      return true;
40553
      return true;
40396
    }
40554
    }
40397
 
40555
 
40398
    @Override
40556
    @Override
40399
    public int hashCode() {
40557
    public int hashCode() {
Line 40416... Line 40574...
40416
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
40574
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
40417
        if (lastComparison != 0) {
40575
        if (lastComparison != 0) {
40418
          return lastComparison;
40576
          return lastComparison;
40419
        }
40577
        }
40420
      }
40578
      }
-
 
40579
      lastComparison = Boolean.valueOf(isSetBannerType()).compareTo(typedOther.isSetBannerType());
-
 
40580
      if (lastComparison != 0) {
-
 
40581
        return lastComparison;
-
 
40582
      }
-
 
40583
      if (isSetBannerType()) {
-
 
40584
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerType, typedOther.bannerType);
-
 
40585
        if (lastComparison != 0) {
-
 
40586
          return lastComparison;
-
 
40587
        }
-
 
40588
      }
40421
      return 0;
40589
      return 0;
40422
    }
40590
    }
40423
 
40591
 
40424
    public _Fields fieldForId(int fieldId) {
40592
    public _Fields fieldForId(int fieldId) {
40425
      return _Fields.findByThriftId(fieldId);
40593
      return _Fields.findByThriftId(fieldId);
Line 40440... Line 40608...
40440
              this.bannerName = iprot.readString();
40608
              this.bannerName = iprot.readString();
40441
            } else { 
40609
            } else { 
40442
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40610
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40443
            }
40611
            }
40444
            break;
40612
            break;
-
 
40613
          case 2: // BANNER_TYPE
-
 
40614
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
40615
              this.bannerType = BannerType.findByValue(iprot.readI32());
-
 
40616
            } else { 
-
 
40617
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
40618
            }
-
 
40619
            break;
40445
          default:
40620
          default:
40446
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40621
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40447
        }
40622
        }
40448
        iprot.readFieldEnd();
40623
        iprot.readFieldEnd();
40449
      }
40624
      }
Line 40458... Line 40633...
40458
      if (this.bannerName != null) {
40633
      if (this.bannerName != null) {
40459
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
40634
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
40460
        oprot.writeString(this.bannerName);
40635
        oprot.writeString(this.bannerName);
40461
        oprot.writeFieldEnd();
40636
        oprot.writeFieldEnd();
40462
      }
40637
      }
-
 
40638
      if (this.bannerType != null) {
-
 
40639
        oprot.writeFieldBegin(BANNER_TYPE_FIELD_DESC);
-
 
40640
        oprot.writeI32(this.bannerType.getValue());
-
 
40641
        oprot.writeFieldEnd();
-
 
40642
      }
40463
      oprot.writeFieldStop();
40643
      oprot.writeFieldStop();
40464
      oprot.writeStructEnd();
40644
      oprot.writeStructEnd();
40465
    }
40645
    }
40466
 
40646
 
40467
    @Override
40647
    @Override
Line 40474... Line 40654...
40474
        sb.append("null");
40654
        sb.append("null");
40475
      } else {
40655
      } else {
40476
        sb.append(this.bannerName);
40656
        sb.append(this.bannerName);
40477
      }
40657
      }
40478
      first = false;
40658
      first = false;
-
 
40659
      if (!first) sb.append(", ");
-
 
40660
      sb.append("bannerType:");
-
 
40661
      if (this.bannerType == null) {
-
 
40662
        sb.append("null");
-
 
40663
      } else {
-
 
40664
        sb.append(this.bannerType);
-
 
40665
      }
-
 
40666
      first = false;
40479
      sb.append(")");
40667
      sb.append(")");
40480
      return sb.toString();
40668
      return sb.toString();
40481
    }
40669
    }
40482
 
40670
 
40483
    public void validate() throws org.apache.thrift.TException {
40671
    public void validate() throws org.apache.thrift.TException {
Line 40797... Line 40985...
40797
 
40985
 
40798
  public static class getBannerDetails_args implements org.apache.thrift.TBase<getBannerDetails_args, getBannerDetails_args._Fields>, java.io.Serializable, Cloneable   {
40986
  public static class getBannerDetails_args implements org.apache.thrift.TBase<getBannerDetails_args, getBannerDetails_args._Fields>, java.io.Serializable, Cloneable   {
40799
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerDetails_args");
40987
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerDetails_args");
40800
 
40988
 
40801
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
40989
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
40990
    private static final org.apache.thrift.protocol.TField BANNER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerType", org.apache.thrift.protocol.TType.I32, (short)2);
40802
 
40991
 
40803
    private String bannerName; // required
40992
    private String bannerName; // required
-
 
40993
    private BannerType bannerType; // required
40804
 
40994
 
40805
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
40995
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
40806
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
40996
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
40807
      BANNER_NAME((short)1, "bannerName");
40997
      BANNER_NAME((short)1, "bannerName"),
-
 
40998
      /**
-
 
40999
       * 
-
 
41000
       * @see BannerType
-
 
41001
       */
-
 
41002
      BANNER_TYPE((short)2, "bannerType");
40808
 
41003
 
40809
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
41004
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
40810
 
41005
 
40811
      static {
41006
      static {
40812
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
41007
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 40819... Line 41014...
40819
       */
41014
       */
40820
      public static _Fields findByThriftId(int fieldId) {
41015
      public static _Fields findByThriftId(int fieldId) {
40821
        switch(fieldId) {
41016
        switch(fieldId) {
40822
          case 1: // BANNER_NAME
41017
          case 1: // BANNER_NAME
40823
            return BANNER_NAME;
41018
            return BANNER_NAME;
-
 
41019
          case 2: // BANNER_TYPE
-
 
41020
            return BANNER_TYPE;
40824
          default:
41021
          default:
40825
            return null;
41022
            return null;
40826
        }
41023
        }
40827
      }
41024
      }
40828
 
41025
 
Line 40865... Line 41062...
40865
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
41062
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
40866
    static {
41063
    static {
40867
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
41064
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
40868
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
41065
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
40869
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
41066
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
41067
      tmpMap.put(_Fields.BANNER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("bannerType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
41068
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BannerType.class)));
40870
      metaDataMap = Collections.unmodifiableMap(tmpMap);
41069
      metaDataMap = Collections.unmodifiableMap(tmpMap);
40871
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerDetails_args.class, metaDataMap);
41070
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerDetails_args.class, metaDataMap);
40872
    }
41071
    }
40873
 
41072
 
40874
    public getBannerDetails_args() {
41073
    public getBannerDetails_args() {
40875
    }
41074
    }
40876
 
41075
 
40877
    public getBannerDetails_args(
41076
    public getBannerDetails_args(
40878
      String bannerName)
41077
      String bannerName,
-
 
41078
      BannerType bannerType)
40879
    {
41079
    {
40880
      this();
41080
      this();
40881
      this.bannerName = bannerName;
41081
      this.bannerName = bannerName;
-
 
41082
      this.bannerType = bannerType;
40882
    }
41083
    }
40883
 
41084
 
40884
    /**
41085
    /**
40885
     * Performs a deep copy on <i>other</i>.
41086
     * Performs a deep copy on <i>other</i>.
40886
     */
41087
     */
40887
    public getBannerDetails_args(getBannerDetails_args other) {
41088
    public getBannerDetails_args(getBannerDetails_args other) {
40888
      if (other.isSetBannerName()) {
41089
      if (other.isSetBannerName()) {
40889
        this.bannerName = other.bannerName;
41090
        this.bannerName = other.bannerName;
40890
      }
41091
      }
-
 
41092
      if (other.isSetBannerType()) {
-
 
41093
        this.bannerType = other.bannerType;
-
 
41094
      }
40891
    }
41095
    }
40892
 
41096
 
40893
    public getBannerDetails_args deepCopy() {
41097
    public getBannerDetails_args deepCopy() {
40894
      return new getBannerDetails_args(this);
41098
      return new getBannerDetails_args(this);
40895
    }
41099
    }
40896
 
41100
 
40897
    @Override
41101
    @Override
40898
    public void clear() {
41102
    public void clear() {
40899
      this.bannerName = null;
41103
      this.bannerName = null;
-
 
41104
      this.bannerType = null;
40900
    }
41105
    }
40901
 
41106
 
40902
    public String getBannerName() {
41107
    public String getBannerName() {
40903
      return this.bannerName;
41108
      return this.bannerName;
40904
    }
41109
    }
Line 40920... Line 41125...
40920
      if (!value) {
41125
      if (!value) {
40921
        this.bannerName = null;
41126
        this.bannerName = null;
40922
      }
41127
      }
40923
    }
41128
    }
40924
 
41129
 
-
 
41130
    /**
-
 
41131
     * 
-
 
41132
     * @see BannerType
-
 
41133
     */
-
 
41134
    public BannerType getBannerType() {
-
 
41135
      return this.bannerType;
-
 
41136
    }
-
 
41137
 
-
 
41138
    /**
-
 
41139
     * 
-
 
41140
     * @see BannerType
-
 
41141
     */
-
 
41142
    public void setBannerType(BannerType bannerType) {
-
 
41143
      this.bannerType = bannerType;
-
 
41144
    }
-
 
41145
 
-
 
41146
    public void unsetBannerType() {
-
 
41147
      this.bannerType = null;
-
 
41148
    }
-
 
41149
 
-
 
41150
    /** Returns true if field bannerType is set (has been assigned a value) and false otherwise */
-
 
41151
    public boolean isSetBannerType() {
-
 
41152
      return this.bannerType != null;
-
 
41153
    }
-
 
41154
 
-
 
41155
    public void setBannerTypeIsSet(boolean value) {
-
 
41156
      if (!value) {
-
 
41157
        this.bannerType = null;
-
 
41158
      }
-
 
41159
    }
-
 
41160
 
40925
    public void setFieldValue(_Fields field, Object value) {
41161
    public void setFieldValue(_Fields field, Object value) {
40926
      switch (field) {
41162
      switch (field) {
40927
      case BANNER_NAME:
41163
      case BANNER_NAME:
40928
        if (value == null) {
41164
        if (value == null) {
40929
          unsetBannerName();
41165
          unsetBannerName();
40930
        } else {
41166
        } else {
40931
          setBannerName((String)value);
41167
          setBannerName((String)value);
40932
        }
41168
        }
40933
        break;
41169
        break;
40934
 
41170
 
-
 
41171
      case BANNER_TYPE:
-
 
41172
        if (value == null) {
-
 
41173
          unsetBannerType();
-
 
41174
        } else {
-
 
41175
          setBannerType((BannerType)value);
-
 
41176
        }
-
 
41177
        break;
-
 
41178
 
40935
      }
41179
      }
40936
    }
41180
    }
40937
 
41181
 
40938
    public Object getFieldValue(_Fields field) {
41182
    public Object getFieldValue(_Fields field) {
40939
      switch (field) {
41183
      switch (field) {
40940
      case BANNER_NAME:
41184
      case BANNER_NAME:
40941
        return getBannerName();
41185
        return getBannerName();
40942
 
41186
 
-
 
41187
      case BANNER_TYPE:
-
 
41188
        return getBannerType();
-
 
41189
 
40943
      }
41190
      }
40944
      throw new IllegalStateException();
41191
      throw new IllegalStateException();
40945
    }
41192
    }
40946
 
41193
 
40947
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
41194
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 40951... Line 41198...
40951
      }
41198
      }
40952
 
41199
 
40953
      switch (field) {
41200
      switch (field) {
40954
      case BANNER_NAME:
41201
      case BANNER_NAME:
40955
        return isSetBannerName();
41202
        return isSetBannerName();
-
 
41203
      case BANNER_TYPE:
-
 
41204
        return isSetBannerType();
40956
      }
41205
      }
40957
      throw new IllegalStateException();
41206
      throw new IllegalStateException();
40958
    }
41207
    }
40959
 
41208
 
40960
    @Override
41209
    @Override
Line 40977... Line 41226...
40977
          return false;
41226
          return false;
40978
        if (!this.bannerName.equals(that.bannerName))
41227
        if (!this.bannerName.equals(that.bannerName))
40979
          return false;
41228
          return false;
40980
      }
41229
      }
40981
 
41230
 
-
 
41231
      boolean this_present_bannerType = true && this.isSetBannerType();
-
 
41232
      boolean that_present_bannerType = true && that.isSetBannerType();
-
 
41233
      if (this_present_bannerType || that_present_bannerType) {
-
 
41234
        if (!(this_present_bannerType && that_present_bannerType))
-
 
41235
          return false;
-
 
41236
        if (!this.bannerType.equals(that.bannerType))
-
 
41237
          return false;
-
 
41238
      }
-
 
41239
 
40982
      return true;
41240
      return true;
40983
    }
41241
    }
40984
 
41242
 
40985
    @Override
41243
    @Override
40986
    public int hashCode() {
41244
    public int hashCode() {
Line 41003... Line 41261...
41003
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
41261
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
41004
        if (lastComparison != 0) {
41262
        if (lastComparison != 0) {
41005
          return lastComparison;
41263
          return lastComparison;
41006
        }
41264
        }
41007
      }
41265
      }
-
 
41266
      lastComparison = Boolean.valueOf(isSetBannerType()).compareTo(typedOther.isSetBannerType());
-
 
41267
      if (lastComparison != 0) {
-
 
41268
        return lastComparison;
-
 
41269
      }
-
 
41270
      if (isSetBannerType()) {
-
 
41271
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerType, typedOther.bannerType);
-
 
41272
        if (lastComparison != 0) {
-
 
41273
          return lastComparison;
-
 
41274
        }
-
 
41275
      }
41008
      return 0;
41276
      return 0;
41009
    }
41277
    }
41010
 
41278
 
41011
    public _Fields fieldForId(int fieldId) {
41279
    public _Fields fieldForId(int fieldId) {
41012
      return _Fields.findByThriftId(fieldId);
41280
      return _Fields.findByThriftId(fieldId);
Line 41027... Line 41295...
41027
              this.bannerName = iprot.readString();
41295
              this.bannerName = iprot.readString();
41028
            } else { 
41296
            } else { 
41029
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41297
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41030
            }
41298
            }
41031
            break;
41299
            break;
-
 
41300
          case 2: // BANNER_TYPE
-
 
41301
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
41302
              this.bannerType = BannerType.findByValue(iprot.readI32());
-
 
41303
            } else { 
-
 
41304
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41305
            }
-
 
41306
            break;
41032
          default:
41307
          default:
41033
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41308
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41034
        }
41309
        }
41035
        iprot.readFieldEnd();
41310
        iprot.readFieldEnd();
41036
      }
41311
      }
Line 41045... Line 41320...
41045
      if (this.bannerName != null) {
41320
      if (this.bannerName != null) {
41046
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
41321
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
41047
        oprot.writeString(this.bannerName);
41322
        oprot.writeString(this.bannerName);
41048
        oprot.writeFieldEnd();
41323
        oprot.writeFieldEnd();
41049
      }
41324
      }
-
 
41325
      if (this.bannerType != null) {
-
 
41326
        oprot.writeFieldBegin(BANNER_TYPE_FIELD_DESC);
-
 
41327
        oprot.writeI32(this.bannerType.getValue());
-
 
41328
        oprot.writeFieldEnd();
-
 
41329
      }
41050
      oprot.writeFieldStop();
41330
      oprot.writeFieldStop();
41051
      oprot.writeStructEnd();
41331
      oprot.writeStructEnd();
41052
    }
41332
    }
41053
 
41333
 
41054
    @Override
41334
    @Override
Line 41061... Line 41341...
41061
        sb.append("null");
41341
        sb.append("null");
41062
      } else {
41342
      } else {
41063
        sb.append(this.bannerName);
41343
        sb.append(this.bannerName);
41064
      }
41344
      }
41065
      first = false;
41345
      first = false;
-
 
41346
      if (!first) sb.append(", ");
-
 
41347
      sb.append("bannerType:");
-
 
41348
      if (this.bannerType == null) {
-
 
41349
        sb.append("null");
-
 
41350
      } else {
-
 
41351
        sb.append(this.bannerType);
-
 
41352
      }
-
 
41353
      first = false;
41066
      sb.append(")");
41354
      sb.append(")");
41067
      return sb.toString();
41355
      return sb.toString();
41068
    }
41356
    }
41069
 
41357
 
41070
    public void validate() throws org.apache.thrift.TException {
41358
    public void validate() throws org.apache.thrift.TException {
Line 43745... Line 44033...
43745
 
44033
 
43746
  public static class getBannerMapDetails_args implements org.apache.thrift.TBase<getBannerMapDetails_args, getBannerMapDetails_args._Fields>, java.io.Serializable, Cloneable   {
44034
  public static class getBannerMapDetails_args implements org.apache.thrift.TBase<getBannerMapDetails_args, getBannerMapDetails_args._Fields>, java.io.Serializable, Cloneable   {
43747
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerMapDetails_args");
44035
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerMapDetails_args");
43748
 
44036
 
43749
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
44037
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
44038
    private static final org.apache.thrift.protocol.TField BANNER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerType", org.apache.thrift.protocol.TType.I32, (short)2);
43750
 
44039
 
43751
    private String bannerName; // required
44040
    private String bannerName; // required
-
 
44041
    private BannerType bannerType; // required
43752
 
44042
 
43753
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
44043
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
43754
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
44044
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
43755
      BANNER_NAME((short)1, "bannerName");
44045
      BANNER_NAME((short)1, "bannerName"),
-
 
44046
      /**
-
 
44047
       * 
-
 
44048
       * @see BannerType
-
 
44049
       */
-
 
44050
      BANNER_TYPE((short)2, "bannerType");
43756
 
44051
 
43757
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
44052
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
43758
 
44053
 
43759
      static {
44054
      static {
43760
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
44055
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 43767... Line 44062...
43767
       */
44062
       */
43768
      public static _Fields findByThriftId(int fieldId) {
44063
      public static _Fields findByThriftId(int fieldId) {
43769
        switch(fieldId) {
44064
        switch(fieldId) {
43770
          case 1: // BANNER_NAME
44065
          case 1: // BANNER_NAME
43771
            return BANNER_NAME;
44066
            return BANNER_NAME;
-
 
44067
          case 2: // BANNER_TYPE
-
 
44068
            return BANNER_TYPE;
43772
          default:
44069
          default:
43773
            return null;
44070
            return null;
43774
        }
44071
        }
43775
      }
44072
      }
43776
 
44073
 
Line 43813... Line 44110...
43813
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
44110
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
43814
    static {
44111
    static {
43815
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
44112
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
43816
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
44113
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
43817
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
44114
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
44115
      tmpMap.put(_Fields.BANNER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("bannerType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
44116
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BannerType.class)));
43818
      metaDataMap = Collections.unmodifiableMap(tmpMap);
44117
      metaDataMap = Collections.unmodifiableMap(tmpMap);
43819
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerMapDetails_args.class, metaDataMap);
44118
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerMapDetails_args.class, metaDataMap);
43820
    }
44119
    }
43821
 
44120
 
43822
    public getBannerMapDetails_args() {
44121
    public getBannerMapDetails_args() {
43823
    }
44122
    }
43824
 
44123
 
43825
    public getBannerMapDetails_args(
44124
    public getBannerMapDetails_args(
43826
      String bannerName)
44125
      String bannerName,
-
 
44126
      BannerType bannerType)
43827
    {
44127
    {
43828
      this();
44128
      this();
43829
      this.bannerName = bannerName;
44129
      this.bannerName = bannerName;
-
 
44130
      this.bannerType = bannerType;
43830
    }
44131
    }
43831
 
44132
 
43832
    /**
44133
    /**
43833
     * Performs a deep copy on <i>other</i>.
44134
     * Performs a deep copy on <i>other</i>.
43834
     */
44135
     */
43835
    public getBannerMapDetails_args(getBannerMapDetails_args other) {
44136
    public getBannerMapDetails_args(getBannerMapDetails_args other) {
43836
      if (other.isSetBannerName()) {
44137
      if (other.isSetBannerName()) {
43837
        this.bannerName = other.bannerName;
44138
        this.bannerName = other.bannerName;
43838
      }
44139
      }
-
 
44140
      if (other.isSetBannerType()) {
-
 
44141
        this.bannerType = other.bannerType;
-
 
44142
      }
43839
    }
44143
    }
43840
 
44144
 
43841
    public getBannerMapDetails_args deepCopy() {
44145
    public getBannerMapDetails_args deepCopy() {
43842
      return new getBannerMapDetails_args(this);
44146
      return new getBannerMapDetails_args(this);
43843
    }
44147
    }
43844
 
44148
 
43845
    @Override
44149
    @Override
43846
    public void clear() {
44150
    public void clear() {
43847
      this.bannerName = null;
44151
      this.bannerName = null;
-
 
44152
      this.bannerType = null;
43848
    }
44153
    }
43849
 
44154
 
43850
    public String getBannerName() {
44155
    public String getBannerName() {
43851
      return this.bannerName;
44156
      return this.bannerName;
43852
    }
44157
    }
Line 43868... Line 44173...
43868
      if (!value) {
44173
      if (!value) {
43869
        this.bannerName = null;
44174
        this.bannerName = null;
43870
      }
44175
      }
43871
    }
44176
    }
43872
 
44177
 
-
 
44178
    /**
-
 
44179
     * 
-
 
44180
     * @see BannerType
-
 
44181
     */
-
 
44182
    public BannerType getBannerType() {
-
 
44183
      return this.bannerType;
-
 
44184
    }
-
 
44185
 
-
 
44186
    /**
-
 
44187
     * 
-
 
44188
     * @see BannerType
-
 
44189
     */
-
 
44190
    public void setBannerType(BannerType bannerType) {
-
 
44191
      this.bannerType = bannerType;
-
 
44192
    }
-
 
44193
 
-
 
44194
    public void unsetBannerType() {
-
 
44195
      this.bannerType = null;
-
 
44196
    }
-
 
44197
 
-
 
44198
    /** Returns true if field bannerType is set (has been assigned a value) and false otherwise */
-
 
44199
    public boolean isSetBannerType() {
-
 
44200
      return this.bannerType != null;
-
 
44201
    }
-
 
44202
 
-
 
44203
    public void setBannerTypeIsSet(boolean value) {
-
 
44204
      if (!value) {
-
 
44205
        this.bannerType = null;
-
 
44206
      }
-
 
44207
    }
-
 
44208
 
43873
    public void setFieldValue(_Fields field, Object value) {
44209
    public void setFieldValue(_Fields field, Object value) {
43874
      switch (field) {
44210
      switch (field) {
43875
      case BANNER_NAME:
44211
      case BANNER_NAME:
43876
        if (value == null) {
44212
        if (value == null) {
43877
          unsetBannerName();
44213
          unsetBannerName();
43878
        } else {
44214
        } else {
43879
          setBannerName((String)value);
44215
          setBannerName((String)value);
43880
        }
44216
        }
43881
        break;
44217
        break;
43882
 
44218
 
-
 
44219
      case BANNER_TYPE:
-
 
44220
        if (value == null) {
-
 
44221
          unsetBannerType();
-
 
44222
        } else {
-
 
44223
          setBannerType((BannerType)value);
-
 
44224
        }
-
 
44225
        break;
-
 
44226
 
43883
      }
44227
      }
43884
    }
44228
    }
43885
 
44229
 
43886
    public Object getFieldValue(_Fields field) {
44230
    public Object getFieldValue(_Fields field) {
43887
      switch (field) {
44231
      switch (field) {
43888
      case BANNER_NAME:
44232
      case BANNER_NAME:
43889
        return getBannerName();
44233
        return getBannerName();
43890
 
44234
 
-
 
44235
      case BANNER_TYPE:
-
 
44236
        return getBannerType();
-
 
44237
 
43891
      }
44238
      }
43892
      throw new IllegalStateException();
44239
      throw new IllegalStateException();
43893
    }
44240
    }
43894
 
44241
 
43895
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
44242
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 43899... Line 44246...
43899
      }
44246
      }
43900
 
44247
 
43901
      switch (field) {
44248
      switch (field) {
43902
      case BANNER_NAME:
44249
      case BANNER_NAME:
43903
        return isSetBannerName();
44250
        return isSetBannerName();
-
 
44251
      case BANNER_TYPE:
-
 
44252
        return isSetBannerType();
43904
      }
44253
      }
43905
      throw new IllegalStateException();
44254
      throw new IllegalStateException();
43906
    }
44255
    }
43907
 
44256
 
43908
    @Override
44257
    @Override
Line 43925... Line 44274...
43925
          return false;
44274
          return false;
43926
        if (!this.bannerName.equals(that.bannerName))
44275
        if (!this.bannerName.equals(that.bannerName))
43927
          return false;
44276
          return false;
43928
      }
44277
      }
43929
 
44278
 
-
 
44279
      boolean this_present_bannerType = true && this.isSetBannerType();
-
 
44280
      boolean that_present_bannerType = true && that.isSetBannerType();
-
 
44281
      if (this_present_bannerType || that_present_bannerType) {
-
 
44282
        if (!(this_present_bannerType && that_present_bannerType))
-
 
44283
          return false;
-
 
44284
        if (!this.bannerType.equals(that.bannerType))
-
 
44285
          return false;
-
 
44286
      }
-
 
44287
 
43930
      return true;
44288
      return true;
43931
    }
44289
    }
43932
 
44290
 
43933
    @Override
44291
    @Override
43934
    public int hashCode() {
44292
    public int hashCode() {
Line 43951... Line 44309...
43951
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
44309
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
43952
        if (lastComparison != 0) {
44310
        if (lastComparison != 0) {
43953
          return lastComparison;
44311
          return lastComparison;
43954
        }
44312
        }
43955
      }
44313
      }
-
 
44314
      lastComparison = Boolean.valueOf(isSetBannerType()).compareTo(typedOther.isSetBannerType());
-
 
44315
      if (lastComparison != 0) {
-
 
44316
        return lastComparison;
-
 
44317
      }
-
 
44318
      if (isSetBannerType()) {
-
 
44319
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerType, typedOther.bannerType);
-
 
44320
        if (lastComparison != 0) {
-
 
44321
          return lastComparison;
-
 
44322
        }
-
 
44323
      }
43956
      return 0;
44324
      return 0;
43957
    }
44325
    }
43958
 
44326
 
43959
    public _Fields fieldForId(int fieldId) {
44327
    public _Fields fieldForId(int fieldId) {
43960
      return _Fields.findByThriftId(fieldId);
44328
      return _Fields.findByThriftId(fieldId);
Line 43975... Line 44343...
43975
              this.bannerName = iprot.readString();
44343
              this.bannerName = iprot.readString();
43976
            } else { 
44344
            } else { 
43977
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44345
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43978
            }
44346
            }
43979
            break;
44347
            break;
-
 
44348
          case 2: // BANNER_TYPE
-
 
44349
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
44350
              this.bannerType = BannerType.findByValue(iprot.readI32());
-
 
44351
            } else { 
-
 
44352
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44353
            }
-
 
44354
            break;
43980
          default:
44355
          default:
43981
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44356
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43982
        }
44357
        }
43983
        iprot.readFieldEnd();
44358
        iprot.readFieldEnd();
43984
      }
44359
      }
Line 43993... Line 44368...
43993
      if (this.bannerName != null) {
44368
      if (this.bannerName != null) {
43994
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
44369
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
43995
        oprot.writeString(this.bannerName);
44370
        oprot.writeString(this.bannerName);
43996
        oprot.writeFieldEnd();
44371
        oprot.writeFieldEnd();
43997
      }
44372
      }
-
 
44373
      if (this.bannerType != null) {
-
 
44374
        oprot.writeFieldBegin(BANNER_TYPE_FIELD_DESC);
-
 
44375
        oprot.writeI32(this.bannerType.getValue());
-
 
44376
        oprot.writeFieldEnd();
-
 
44377
      }
43998
      oprot.writeFieldStop();
44378
      oprot.writeFieldStop();
43999
      oprot.writeStructEnd();
44379
      oprot.writeStructEnd();
44000
    }
44380
    }
44001
 
44381
 
44002
    @Override
44382
    @Override
Line 44009... Line 44389...
44009
        sb.append("null");
44389
        sb.append("null");
44010
      } else {
44390
      } else {
44011
        sb.append(this.bannerName);
44391
        sb.append(this.bannerName);
44012
      }
44392
      }
44013
      first = false;
44393
      first = false;
-
 
44394
      if (!first) sb.append(", ");
-
 
44395
      sb.append("bannerType:");
-
 
44396
      if (this.bannerType == null) {
-
 
44397
        sb.append("null");
-
 
44398
      } else {
-
 
44399
        sb.append(this.bannerType);
-
 
44400
      }
-
 
44401
      first = false;
44014
      sb.append(")");
44402
      sb.append(")");
44015
      return sb.toString();
44403
      return sb.toString();
44016
    }
44404
    }
44017
 
44405
 
44018
    public void validate() throws org.apache.thrift.TException {
44406
    public void validate() throws org.apache.thrift.TException {
Line 44901... Line 45289...
44901
 
45289
 
44902
  public static class getUriMapping_args implements org.apache.thrift.TBase<getUriMapping_args, getUriMapping_args._Fields>, java.io.Serializable, Cloneable   {
45290
  public static class getUriMapping_args implements org.apache.thrift.TBase<getUriMapping_args, getUriMapping_args._Fields>, java.io.Serializable, Cloneable   {
44903
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUriMapping_args");
45291
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUriMapping_args");
44904
 
45292
 
44905
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
45293
    private static final org.apache.thrift.protocol.TField BANNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
45294
    private static final org.apache.thrift.protocol.TField BANNER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerType", org.apache.thrift.protocol.TType.I32, (short)2);
44906
 
45295
 
44907
    private String bannerName; // required
45296
    private String bannerName; // required
-
 
45297
    private BannerType bannerType; // required
44908
 
45298
 
44909
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
45299
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
44910
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
45300
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
44911
      BANNER_NAME((short)1, "bannerName");
45301
      BANNER_NAME((short)1, "bannerName"),
-
 
45302
      /**
-
 
45303
       * 
-
 
45304
       * @see BannerType
-
 
45305
       */
-
 
45306
      BANNER_TYPE((short)2, "bannerType");
44912
 
45307
 
44913
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
45308
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
44914
 
45309
 
44915
      static {
45310
      static {
44916
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
45311
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 44923... Line 45318...
44923
       */
45318
       */
44924
      public static _Fields findByThriftId(int fieldId) {
45319
      public static _Fields findByThriftId(int fieldId) {
44925
        switch(fieldId) {
45320
        switch(fieldId) {
44926
          case 1: // BANNER_NAME
45321
          case 1: // BANNER_NAME
44927
            return BANNER_NAME;
45322
            return BANNER_NAME;
-
 
45323
          case 2: // BANNER_TYPE
-
 
45324
            return BANNER_TYPE;
44928
          default:
45325
          default:
44929
            return null;
45326
            return null;
44930
        }
45327
        }
44931
      }
45328
      }
44932
 
45329
 
Line 44969... Line 45366...
44969
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
45366
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
44970
    static {
45367
    static {
44971
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
45368
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
44972
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
45369
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
44973
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
45370
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
45371
      tmpMap.put(_Fields.BANNER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("bannerType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
45372
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BannerType.class)));
44974
      metaDataMap = Collections.unmodifiableMap(tmpMap);
45373
      metaDataMap = Collections.unmodifiableMap(tmpMap);
44975
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUriMapping_args.class, metaDataMap);
45374
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUriMapping_args.class, metaDataMap);
44976
    }
45375
    }
44977
 
45376
 
44978
    public getUriMapping_args() {
45377
    public getUriMapping_args() {
44979
    }
45378
    }
44980
 
45379
 
44981
    public getUriMapping_args(
45380
    public getUriMapping_args(
44982
      String bannerName)
45381
      String bannerName,
-
 
45382
      BannerType bannerType)
44983
    {
45383
    {
44984
      this();
45384
      this();
44985
      this.bannerName = bannerName;
45385
      this.bannerName = bannerName;
-
 
45386
      this.bannerType = bannerType;
44986
    }
45387
    }
44987
 
45388
 
44988
    /**
45389
    /**
44989
     * Performs a deep copy on <i>other</i>.
45390
     * Performs a deep copy on <i>other</i>.
44990
     */
45391
     */
44991
    public getUriMapping_args(getUriMapping_args other) {
45392
    public getUriMapping_args(getUriMapping_args other) {
44992
      if (other.isSetBannerName()) {
45393
      if (other.isSetBannerName()) {
44993
        this.bannerName = other.bannerName;
45394
        this.bannerName = other.bannerName;
44994
      }
45395
      }
-
 
45396
      if (other.isSetBannerType()) {
-
 
45397
        this.bannerType = other.bannerType;
-
 
45398
      }
44995
    }
45399
    }
44996
 
45400
 
44997
    public getUriMapping_args deepCopy() {
45401
    public getUriMapping_args deepCopy() {
44998
      return new getUriMapping_args(this);
45402
      return new getUriMapping_args(this);
44999
    }
45403
    }
45000
 
45404
 
45001
    @Override
45405
    @Override
45002
    public void clear() {
45406
    public void clear() {
45003
      this.bannerName = null;
45407
      this.bannerName = null;
-
 
45408
      this.bannerType = null;
45004
    }
45409
    }
45005
 
45410
 
45006
    public String getBannerName() {
45411
    public String getBannerName() {
45007
      return this.bannerName;
45412
      return this.bannerName;
45008
    }
45413
    }
Line 45024... Line 45429...
45024
      if (!value) {
45429
      if (!value) {
45025
        this.bannerName = null;
45430
        this.bannerName = null;
45026
      }
45431
      }
45027
    }
45432
    }
45028
 
45433
 
-
 
45434
    /**
-
 
45435
     * 
-
 
45436
     * @see BannerType
-
 
45437
     */
-
 
45438
    public BannerType getBannerType() {
-
 
45439
      return this.bannerType;
-
 
45440
    }
-
 
45441
 
-
 
45442
    /**
-
 
45443
     * 
-
 
45444
     * @see BannerType
-
 
45445
     */
-
 
45446
    public void setBannerType(BannerType bannerType) {
-
 
45447
      this.bannerType = bannerType;
-
 
45448
    }
-
 
45449
 
-
 
45450
    public void unsetBannerType() {
-
 
45451
      this.bannerType = null;
-
 
45452
    }
-
 
45453
 
-
 
45454
    /** Returns true if field bannerType is set (has been assigned a value) and false otherwise */
-
 
45455
    public boolean isSetBannerType() {
-
 
45456
      return this.bannerType != null;
-
 
45457
    }
-
 
45458
 
-
 
45459
    public void setBannerTypeIsSet(boolean value) {
-
 
45460
      if (!value) {
-
 
45461
        this.bannerType = null;
-
 
45462
      }
-
 
45463
    }
-
 
45464
 
45029
    public void setFieldValue(_Fields field, Object value) {
45465
    public void setFieldValue(_Fields field, Object value) {
45030
      switch (field) {
45466
      switch (field) {
45031
      case BANNER_NAME:
45467
      case BANNER_NAME:
45032
        if (value == null) {
45468
        if (value == null) {
45033
          unsetBannerName();
45469
          unsetBannerName();
45034
        } else {
45470
        } else {
45035
          setBannerName((String)value);
45471
          setBannerName((String)value);
45036
        }
45472
        }
45037
        break;
45473
        break;
45038
 
45474
 
-
 
45475
      case BANNER_TYPE:
-
 
45476
        if (value == null) {
-
 
45477
          unsetBannerType();
-
 
45478
        } else {
-
 
45479
          setBannerType((BannerType)value);
-
 
45480
        }
-
 
45481
        break;
-
 
45482
 
45039
      }
45483
      }
45040
    }
45484
    }
45041
 
45485
 
45042
    public Object getFieldValue(_Fields field) {
45486
    public Object getFieldValue(_Fields field) {
45043
      switch (field) {
45487
      switch (field) {
45044
      case BANNER_NAME:
45488
      case BANNER_NAME:
45045
        return getBannerName();
45489
        return getBannerName();
45046
 
45490
 
-
 
45491
      case BANNER_TYPE:
-
 
45492
        return getBannerType();
-
 
45493
 
45047
      }
45494
      }
45048
      throw new IllegalStateException();
45495
      throw new IllegalStateException();
45049
    }
45496
    }
45050
 
45497
 
45051
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
45498
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 45055... Line 45502...
45055
      }
45502
      }
45056
 
45503
 
45057
      switch (field) {
45504
      switch (field) {
45058
      case BANNER_NAME:
45505
      case BANNER_NAME:
45059
        return isSetBannerName();
45506
        return isSetBannerName();
-
 
45507
      case BANNER_TYPE:
-
 
45508
        return isSetBannerType();
45060
      }
45509
      }
45061
      throw new IllegalStateException();
45510
      throw new IllegalStateException();
45062
    }
45511
    }
45063
 
45512
 
45064
    @Override
45513
    @Override
Line 45081... Line 45530...
45081
          return false;
45530
          return false;
45082
        if (!this.bannerName.equals(that.bannerName))
45531
        if (!this.bannerName.equals(that.bannerName))
45083
          return false;
45532
          return false;
45084
      }
45533
      }
45085
 
45534
 
-
 
45535
      boolean this_present_bannerType = true && this.isSetBannerType();
-
 
45536
      boolean that_present_bannerType = true && that.isSetBannerType();
-
 
45537
      if (this_present_bannerType || that_present_bannerType) {
-
 
45538
        if (!(this_present_bannerType && that_present_bannerType))
-
 
45539
          return false;
-
 
45540
        if (!this.bannerType.equals(that.bannerType))
-
 
45541
          return false;
-
 
45542
      }
-
 
45543
 
45086
      return true;
45544
      return true;
45087
    }
45545
    }
45088
 
45546
 
45089
    @Override
45547
    @Override
45090
    public int hashCode() {
45548
    public int hashCode() {
Line 45107... Line 45565...
45107
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
45565
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
45108
        if (lastComparison != 0) {
45566
        if (lastComparison != 0) {
45109
          return lastComparison;
45567
          return lastComparison;
45110
        }
45568
        }
45111
      }
45569
      }
-
 
45570
      lastComparison = Boolean.valueOf(isSetBannerType()).compareTo(typedOther.isSetBannerType());
-
 
45571
      if (lastComparison != 0) {
-
 
45572
        return lastComparison;
-
 
45573
      }
-
 
45574
      if (isSetBannerType()) {
-
 
45575
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerType, typedOther.bannerType);
-
 
45576
        if (lastComparison != 0) {
-
 
45577
          return lastComparison;
-
 
45578
        }
-
 
45579
      }
45112
      return 0;
45580
      return 0;
45113
    }
45581
    }
45114
 
45582
 
45115
    public _Fields fieldForId(int fieldId) {
45583
    public _Fields fieldForId(int fieldId) {
45116
      return _Fields.findByThriftId(fieldId);
45584
      return _Fields.findByThriftId(fieldId);
Line 45131... Line 45599...
45131
              this.bannerName = iprot.readString();
45599
              this.bannerName = iprot.readString();
45132
            } else { 
45600
            } else { 
45133
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45601
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45134
            }
45602
            }
45135
            break;
45603
            break;
-
 
45604
          case 2: // BANNER_TYPE
-
 
45605
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
45606
              this.bannerType = BannerType.findByValue(iprot.readI32());
-
 
45607
            } else { 
-
 
45608
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
45609
            }
-
 
45610
            break;
45136
          default:
45611
          default:
45137
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45612
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45138
        }
45613
        }
45139
        iprot.readFieldEnd();
45614
        iprot.readFieldEnd();
45140
      }
45615
      }
Line 45149... Line 45624...
45149
      if (this.bannerName != null) {
45624
      if (this.bannerName != null) {
45150
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
45625
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
45151
        oprot.writeString(this.bannerName);
45626
        oprot.writeString(this.bannerName);
45152
        oprot.writeFieldEnd();
45627
        oprot.writeFieldEnd();
45153
      }
45628
      }
-
 
45629
      if (this.bannerType != null) {
-
 
45630
        oprot.writeFieldBegin(BANNER_TYPE_FIELD_DESC);
-
 
45631
        oprot.writeI32(this.bannerType.getValue());
-
 
45632
        oprot.writeFieldEnd();
-
 
45633
      }
45154
      oprot.writeFieldStop();
45634
      oprot.writeFieldStop();
45155
      oprot.writeStructEnd();
45635
      oprot.writeStructEnd();
45156
    }
45636
    }
45157
 
45637
 
45158
    @Override
45638
    @Override
Line 45165... Line 45645...
45165
        sb.append("null");
45645
        sb.append("null");
45166
      } else {
45646
      } else {
45167
        sb.append(this.bannerName);
45647
        sb.append(this.bannerName);
45168
      }
45648
      }
45169
      first = false;
45649
      first = false;
-
 
45650
      if (!first) sb.append(", ");
-
 
45651
      sb.append("bannerType:");
-
 
45652
      if (this.bannerType == null) {
-
 
45653
        sb.append("null");
-
 
45654
      } else {
-
 
45655
        sb.append(this.bannerType);
-
 
45656
      }
-
 
45657
      first = false;
45170
      sb.append(")");
45658
      sb.append(")");
45171
      return sb.toString();
45659
      return sb.toString();
45172
    }
45660
    }
45173
 
45661
 
45174
    public void validate() throws org.apache.thrift.TException {
45662
    public void validate() throws org.apache.thrift.TException {
Line 47664... Line 48152...
47664
      }
48152
      }
47665
    }
48153
    }
47666
 
48154
 
47667
  }
48155
  }
47668
 
48156
 
-
 
48157
  public static class getActiveBannersForMobileSite_args implements org.apache.thrift.TBase<getActiveBannersForMobileSite_args, getActiveBannersForMobileSite_args._Fields>, java.io.Serializable, Cloneable   {
-
 
48158
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveBannersForMobileSite_args");
-
 
48159
 
-
 
48160
 
-
 
48161
 
-
 
48162
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
48163
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
48164
;
-
 
48165
 
-
 
48166
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
48167
 
-
 
48168
      static {
-
 
48169
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
48170
          byName.put(field.getFieldName(), field);
-
 
48171
        }
-
 
48172
      }
-
 
48173
 
-
 
48174
      /**
-
 
48175
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
48176
       */
-
 
48177
      public static _Fields findByThriftId(int fieldId) {
-
 
48178
        switch(fieldId) {
-
 
48179
          default:
-
 
48180
            return null;
-
 
48181
        }
-
 
48182
      }
-
 
48183
 
-
 
48184
      /**
-
 
48185
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
48186
       * if it is not found.
-
 
48187
       */
-
 
48188
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
48189
        _Fields fields = findByThriftId(fieldId);
-
 
48190
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
48191
        return fields;
-
 
48192
      }
-
 
48193
 
-
 
48194
      /**
-
 
48195
       * Find the _Fields constant that matches name, or null if its not found.
-
 
48196
       */
-
 
48197
      public static _Fields findByName(String name) {
-
 
48198
        return byName.get(name);
-
 
48199
      }
-
 
48200
 
-
 
48201
      private final short _thriftId;
-
 
48202
      private final String _fieldName;
-
 
48203
 
-
 
48204
      _Fields(short thriftId, String fieldName) {
-
 
48205
        _thriftId = thriftId;
-
 
48206
        _fieldName = fieldName;
-
 
48207
      }
-
 
48208
 
-
 
48209
      public short getThriftFieldId() {
-
 
48210
        return _thriftId;
-
 
48211
      }
-
 
48212
 
-
 
48213
      public String getFieldName() {
-
 
48214
        return _fieldName;
-
 
48215
      }
-
 
48216
    }
-
 
48217
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
48218
    static {
-
 
48219
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
48220
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
48221
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveBannersForMobileSite_args.class, metaDataMap);
-
 
48222
    }
-
 
48223
 
-
 
48224
    public getActiveBannersForMobileSite_args() {
-
 
48225
    }
-
 
48226
 
-
 
48227
    /**
-
 
48228
     * Performs a deep copy on <i>other</i>.
-
 
48229
     */
-
 
48230
    public getActiveBannersForMobileSite_args(getActiveBannersForMobileSite_args other) {
-
 
48231
    }
-
 
48232
 
-
 
48233
    public getActiveBannersForMobileSite_args deepCopy() {
-
 
48234
      return new getActiveBannersForMobileSite_args(this);
-
 
48235
    }
-
 
48236
 
-
 
48237
    @Override
-
 
48238
    public void clear() {
-
 
48239
    }
-
 
48240
 
-
 
48241
    public void setFieldValue(_Fields field, Object value) {
-
 
48242
      switch (field) {
-
 
48243
      }
-
 
48244
    }
-
 
48245
 
-
 
48246
    public Object getFieldValue(_Fields field) {
-
 
48247
      switch (field) {
-
 
48248
      }
-
 
48249
      throw new IllegalStateException();
-
 
48250
    }
-
 
48251
 
-
 
48252
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
48253
    public boolean isSet(_Fields field) {
-
 
48254
      if (field == null) {
-
 
48255
        throw new IllegalArgumentException();
-
 
48256
      }
-
 
48257
 
-
 
48258
      switch (field) {
-
 
48259
      }
-
 
48260
      throw new IllegalStateException();
-
 
48261
    }
-
 
48262
 
-
 
48263
    @Override
-
 
48264
    public boolean equals(Object that) {
-
 
48265
      if (that == null)
-
 
48266
        return false;
-
 
48267
      if (that instanceof getActiveBannersForMobileSite_args)
-
 
48268
        return this.equals((getActiveBannersForMobileSite_args)that);
-
 
48269
      return false;
-
 
48270
    }
-
 
48271
 
-
 
48272
    public boolean equals(getActiveBannersForMobileSite_args that) {
-
 
48273
      if (that == null)
-
 
48274
        return false;
-
 
48275
 
-
 
48276
      return true;
-
 
48277
    }
-
 
48278
 
-
 
48279
    @Override
-
 
48280
    public int hashCode() {
-
 
48281
      return 0;
-
 
48282
    }
-
 
48283
 
-
 
48284
    public int compareTo(getActiveBannersForMobileSite_args other) {
-
 
48285
      if (!getClass().equals(other.getClass())) {
-
 
48286
        return getClass().getName().compareTo(other.getClass().getName());
-
 
48287
      }
-
 
48288
 
-
 
48289
      int lastComparison = 0;
-
 
48290
      getActiveBannersForMobileSite_args typedOther = (getActiveBannersForMobileSite_args)other;
-
 
48291
 
-
 
48292
      return 0;
-
 
48293
    }
-
 
48294
 
-
 
48295
    public _Fields fieldForId(int fieldId) {
-
 
48296
      return _Fields.findByThriftId(fieldId);
-
 
48297
    }
-
 
48298
 
-
 
48299
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
48300
      org.apache.thrift.protocol.TField field;
-
 
48301
      iprot.readStructBegin();
-
 
48302
      while (true)
-
 
48303
      {
-
 
48304
        field = iprot.readFieldBegin();
-
 
48305
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
48306
          break;
-
 
48307
        }
-
 
48308
        switch (field.id) {
-
 
48309
          default:
-
 
48310
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48311
        }
-
 
48312
        iprot.readFieldEnd();
-
 
48313
      }
-
 
48314
      iprot.readStructEnd();
-
 
48315
      validate();
-
 
48316
    }
-
 
48317
 
-
 
48318
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
48319
      validate();
-
 
48320
 
-
 
48321
      oprot.writeStructBegin(STRUCT_DESC);
-
 
48322
      oprot.writeFieldStop();
-
 
48323
      oprot.writeStructEnd();
-
 
48324
    }
-
 
48325
 
-
 
48326
    @Override
-
 
48327
    public String toString() {
-
 
48328
      StringBuilder sb = new StringBuilder("getActiveBannersForMobileSite_args(");
-
 
48329
      boolean first = true;
-
 
48330
 
-
 
48331
      sb.append(")");
-
 
48332
      return sb.toString();
-
 
48333
    }
-
 
48334
 
-
 
48335
    public void validate() throws org.apache.thrift.TException {
-
 
48336
      // check for required fields
-
 
48337
    }
-
 
48338
 
-
 
48339
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
48340
      try {
-
 
48341
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
48342
      } catch (org.apache.thrift.TException te) {
-
 
48343
        throw new java.io.IOException(te);
-
 
48344
      }
-
 
48345
    }
-
 
48346
 
-
 
48347
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
48348
      try {
-
 
48349
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
48350
      } catch (org.apache.thrift.TException te) {
-
 
48351
        throw new java.io.IOException(te);
-
 
48352
      }
-
 
48353
    }
-
 
48354
 
-
 
48355
  }
-
 
48356
 
-
 
48357
  public static class getActiveBannersForMobileSite_result implements org.apache.thrift.TBase<getActiveBannersForMobileSite_result, getActiveBannersForMobileSite_result._Fields>, java.io.Serializable, Cloneable   {
-
 
48358
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveBannersForMobileSite_result");
-
 
48359
 
-
 
48360
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
48361
 
-
 
48362
    private Map<String,List<Banner>> success; // required
-
 
48363
 
-
 
48364
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
48365
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
48366
      SUCCESS((short)0, "success");
-
 
48367
 
-
 
48368
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
48369
 
-
 
48370
      static {
-
 
48371
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
48372
          byName.put(field.getFieldName(), field);
-
 
48373
        }
-
 
48374
      }
-
 
48375
 
-
 
48376
      /**
-
 
48377
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
48378
       */
-
 
48379
      public static _Fields findByThriftId(int fieldId) {
-
 
48380
        switch(fieldId) {
-
 
48381
          case 0: // SUCCESS
-
 
48382
            return SUCCESS;
-
 
48383
          default:
-
 
48384
            return null;
-
 
48385
        }
-
 
48386
      }
-
 
48387
 
-
 
48388
      /**
-
 
48389
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
48390
       * if it is not found.
-
 
48391
       */
-
 
48392
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
48393
        _Fields fields = findByThriftId(fieldId);
-
 
48394
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
48395
        return fields;
-
 
48396
      }
-
 
48397
 
-
 
48398
      /**
-
 
48399
       * Find the _Fields constant that matches name, or null if its not found.
-
 
48400
       */
-
 
48401
      public static _Fields findByName(String name) {
-
 
48402
        return byName.get(name);
-
 
48403
      }
-
 
48404
 
-
 
48405
      private final short _thriftId;
-
 
48406
      private final String _fieldName;
-
 
48407
 
-
 
48408
      _Fields(short thriftId, String fieldName) {
-
 
48409
        _thriftId = thriftId;
-
 
48410
        _fieldName = fieldName;
-
 
48411
      }
-
 
48412
 
-
 
48413
      public short getThriftFieldId() {
-
 
48414
        return _thriftId;
-
 
48415
      }
-
 
48416
 
-
 
48417
      public String getFieldName() {
-
 
48418
        return _fieldName;
-
 
48419
      }
-
 
48420
    }
-
 
48421
 
-
 
48422
    // isset id assignments
-
 
48423
 
-
 
48424
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
48425
    static {
-
 
48426
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
48427
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
48428
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
48429
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
48430
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
48431
                  new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class)))));
-
 
48432
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
48433
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveBannersForMobileSite_result.class, metaDataMap);
-
 
48434
    }
-
 
48435
 
-
 
48436
    public getActiveBannersForMobileSite_result() {
-
 
48437
    }
-
 
48438
 
-
 
48439
    public getActiveBannersForMobileSite_result(
-
 
48440
      Map<String,List<Banner>> success)
-
 
48441
    {
-
 
48442
      this();
-
 
48443
      this.success = success;
-
 
48444
    }
-
 
48445
 
-
 
48446
    /**
-
 
48447
     * Performs a deep copy on <i>other</i>.
-
 
48448
     */
-
 
48449
    public getActiveBannersForMobileSite_result(getActiveBannersForMobileSite_result other) {
-
 
48450
      if (other.isSetSuccess()) {
-
 
48451
        Map<String,List<Banner>> __this__success = new HashMap<String,List<Banner>>();
-
 
48452
        for (Map.Entry<String, List<Banner>> other_element : other.success.entrySet()) {
-
 
48453
 
-
 
48454
          String other_element_key = other_element.getKey();
-
 
48455
          List<Banner> other_element_value = other_element.getValue();
-
 
48456
 
-
 
48457
          String __this__success_copy_key = other_element_key;
-
 
48458
 
-
 
48459
          List<Banner> __this__success_copy_value = new ArrayList<Banner>();
-
 
48460
          for (Banner other_element_value_element : other_element_value) {
-
 
48461
            __this__success_copy_value.add(new Banner(other_element_value_element));
-
 
48462
          }
-
 
48463
 
-
 
48464
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
48465
        }
-
 
48466
        this.success = __this__success;
-
 
48467
      }
-
 
48468
    }
-
 
48469
 
-
 
48470
    public getActiveBannersForMobileSite_result deepCopy() {
-
 
48471
      return new getActiveBannersForMobileSite_result(this);
-
 
48472
    }
-
 
48473
 
-
 
48474
    @Override
-
 
48475
    public void clear() {
-
 
48476
      this.success = null;
-
 
48477
    }
-
 
48478
 
-
 
48479
    public int getSuccessSize() {
-
 
48480
      return (this.success == null) ? 0 : this.success.size();
-
 
48481
    }
-
 
48482
 
-
 
48483
    public void putToSuccess(String key, List<Banner> val) {
-
 
48484
      if (this.success == null) {
-
 
48485
        this.success = new HashMap<String,List<Banner>>();
-
 
48486
      }
-
 
48487
      this.success.put(key, val);
-
 
48488
    }
-
 
48489
 
-
 
48490
    public Map<String,List<Banner>> getSuccess() {
-
 
48491
      return this.success;
-
 
48492
    }
-
 
48493
 
-
 
48494
    public void setSuccess(Map<String,List<Banner>> success) {
-
 
48495
      this.success = success;
-
 
48496
    }
-
 
48497
 
-
 
48498
    public void unsetSuccess() {
-
 
48499
      this.success = null;
-
 
48500
    }
-
 
48501
 
-
 
48502
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
48503
    public boolean isSetSuccess() {
-
 
48504
      return this.success != null;
-
 
48505
    }
-
 
48506
 
-
 
48507
    public void setSuccessIsSet(boolean value) {
-
 
48508
      if (!value) {
-
 
48509
        this.success = null;
-
 
48510
      }
-
 
48511
    }
-
 
48512
 
-
 
48513
    public void setFieldValue(_Fields field, Object value) {
-
 
48514
      switch (field) {
-
 
48515
      case SUCCESS:
-
 
48516
        if (value == null) {
-
 
48517
          unsetSuccess();
-
 
48518
        } else {
-
 
48519
          setSuccess((Map<String,List<Banner>>)value);
-
 
48520
        }
-
 
48521
        break;
-
 
48522
 
-
 
48523
      }
-
 
48524
    }
-
 
48525
 
-
 
48526
    public Object getFieldValue(_Fields field) {
-
 
48527
      switch (field) {
-
 
48528
      case SUCCESS:
-
 
48529
        return getSuccess();
-
 
48530
 
-
 
48531
      }
-
 
48532
      throw new IllegalStateException();
-
 
48533
    }
-
 
48534
 
-
 
48535
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
48536
    public boolean isSet(_Fields field) {
-
 
48537
      if (field == null) {
-
 
48538
        throw new IllegalArgumentException();
-
 
48539
      }
-
 
48540
 
-
 
48541
      switch (field) {
-
 
48542
      case SUCCESS:
-
 
48543
        return isSetSuccess();
-
 
48544
      }
-
 
48545
      throw new IllegalStateException();
-
 
48546
    }
-
 
48547
 
-
 
48548
    @Override
-
 
48549
    public boolean equals(Object that) {
-
 
48550
      if (that == null)
-
 
48551
        return false;
-
 
48552
      if (that instanceof getActiveBannersForMobileSite_result)
-
 
48553
        return this.equals((getActiveBannersForMobileSite_result)that);
-
 
48554
      return false;
-
 
48555
    }
-
 
48556
 
-
 
48557
    public boolean equals(getActiveBannersForMobileSite_result that) {
-
 
48558
      if (that == null)
-
 
48559
        return false;
-
 
48560
 
-
 
48561
      boolean this_present_success = true && this.isSetSuccess();
-
 
48562
      boolean that_present_success = true && that.isSetSuccess();
-
 
48563
      if (this_present_success || that_present_success) {
-
 
48564
        if (!(this_present_success && that_present_success))
-
 
48565
          return false;
-
 
48566
        if (!this.success.equals(that.success))
-
 
48567
          return false;
-
 
48568
      }
-
 
48569
 
-
 
48570
      return true;
-
 
48571
    }
-
 
48572
 
-
 
48573
    @Override
-
 
48574
    public int hashCode() {
-
 
48575
      return 0;
-
 
48576
    }
-
 
48577
 
-
 
48578
    public int compareTo(getActiveBannersForMobileSite_result other) {
-
 
48579
      if (!getClass().equals(other.getClass())) {
-
 
48580
        return getClass().getName().compareTo(other.getClass().getName());
-
 
48581
      }
-
 
48582
 
-
 
48583
      int lastComparison = 0;
-
 
48584
      getActiveBannersForMobileSite_result typedOther = (getActiveBannersForMobileSite_result)other;
-
 
48585
 
-
 
48586
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
48587
      if (lastComparison != 0) {
-
 
48588
        return lastComparison;
-
 
48589
      }
-
 
48590
      if (isSetSuccess()) {
-
 
48591
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
48592
        if (lastComparison != 0) {
-
 
48593
          return lastComparison;
-
 
48594
        }
-
 
48595
      }
-
 
48596
      return 0;
-
 
48597
    }
-
 
48598
 
-
 
48599
    public _Fields fieldForId(int fieldId) {
-
 
48600
      return _Fields.findByThriftId(fieldId);
-
 
48601
    }
-
 
48602
 
-
 
48603
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
48604
      org.apache.thrift.protocol.TField field;
-
 
48605
      iprot.readStructBegin();
-
 
48606
      while (true)
-
 
48607
      {
-
 
48608
        field = iprot.readFieldBegin();
-
 
48609
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
48610
          break;
-
 
48611
        }
-
 
48612
        switch (field.id) {
-
 
48613
          case 0: // SUCCESS
-
 
48614
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
48615
              {
-
 
48616
                org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin();
-
 
48617
                this.success = new HashMap<String,List<Banner>>(2*_map148.size);
-
 
48618
                for (int _i149 = 0; _i149 < _map148.size; ++_i149)
-
 
48619
                {
-
 
48620
                  String _key150; // required
-
 
48621
                  List<Banner> _val151; // required
-
 
48622
                  _key150 = iprot.readString();
-
 
48623
                  {
-
 
48624
                    org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
-
 
48625
                    _val151 = new ArrayList<Banner>(_list152.size);
-
 
48626
                    for (int _i153 = 0; _i153 < _list152.size; ++_i153)
-
 
48627
                    {
-
 
48628
                      Banner _elem154; // required
-
 
48629
                      _elem154 = new Banner();
-
 
48630
                      _elem154.read(iprot);
-
 
48631
                      _val151.add(_elem154);
-
 
48632
                    }
-
 
48633
                    iprot.readListEnd();
-
 
48634
                  }
-
 
48635
                  this.success.put(_key150, _val151);
-
 
48636
                }
-
 
48637
                iprot.readMapEnd();
-
 
48638
              }
-
 
48639
            } else { 
-
 
48640
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48641
            }
-
 
48642
            break;
-
 
48643
          default:
-
 
48644
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48645
        }
-
 
48646
        iprot.readFieldEnd();
-
 
48647
      }
-
 
48648
      iprot.readStructEnd();
-
 
48649
      validate();
-
 
48650
    }
-
 
48651
 
-
 
48652
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
48653
      oprot.writeStructBegin(STRUCT_DESC);
-
 
48654
 
-
 
48655
      if (this.isSetSuccess()) {
-
 
48656
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
48657
        {
-
 
48658
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.success.size()));
-
 
48659
          for (Map.Entry<String, List<Banner>> _iter155 : this.success.entrySet())
-
 
48660
          {
-
 
48661
            oprot.writeString(_iter155.getKey());
-
 
48662
            {
-
 
48663
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter155.getValue().size()));
-
 
48664
              for (Banner _iter156 : _iter155.getValue())
-
 
48665
              {
-
 
48666
                _iter156.write(oprot);
-
 
48667
              }
-
 
48668
              oprot.writeListEnd();
-
 
48669
            }
-
 
48670
          }
-
 
48671
          oprot.writeMapEnd();
-
 
48672
        }
-
 
48673
        oprot.writeFieldEnd();
-
 
48674
      }
-
 
48675
      oprot.writeFieldStop();
-
 
48676
      oprot.writeStructEnd();
-
 
48677
    }
-
 
48678
 
-
 
48679
    @Override
-
 
48680
    public String toString() {
-
 
48681
      StringBuilder sb = new StringBuilder("getActiveBannersForMobileSite_result(");
-
 
48682
      boolean first = true;
-
 
48683
 
-
 
48684
      sb.append("success:");
-
 
48685
      if (this.success == null) {
-
 
48686
        sb.append("null");
-
 
48687
      } else {
-
 
48688
        sb.append(this.success);
-
 
48689
      }
-
 
48690
      first = false;
-
 
48691
      sb.append(")");
-
 
48692
      return sb.toString();
-
 
48693
    }
-
 
48694
 
-
 
48695
    public void validate() throws org.apache.thrift.TException {
-
 
48696
      // check for required fields
-
 
48697
    }
-
 
48698
 
-
 
48699
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
48700
      try {
-
 
48701
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
48702
      } catch (org.apache.thrift.TException te) {
-
 
48703
        throw new java.io.IOException(te);
-
 
48704
      }
-
 
48705
    }
-
 
48706
 
-
 
48707
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
48708
      try {
-
 
48709
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
48710
      } catch (org.apache.thrift.TException te) {
-
 
48711
        throw new java.io.IOException(te);
-
 
48712
      }
-
 
48713
    }
-
 
48714
 
-
 
48715
  }
-
 
48716
 
47669
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
48717
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
47670
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
48718
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
47671
 
48719
 
47672
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
48720
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
47673
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
48721
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
Line 50790... Line 51838...
50790
        }
51838
        }
50791
        switch (field.id) {
51839
        switch (field.id) {
50792
          case 0: // SUCCESS
51840
          case 0: // SUCCESS
50793
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51841
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50794
              {
51842
              {
50795
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
51843
                org.apache.thrift.protocol.TList _list157 = iprot.readListBegin();
50796
                this.success = new ArrayList<Item>(_list148.size);
51844
                this.success = new ArrayList<Item>(_list157.size);
50797
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
51845
                for (int _i158 = 0; _i158 < _list157.size; ++_i158)
50798
                {
51846
                {
50799
                  Item _elem150; // required
51847
                  Item _elem159; // required
50800
                  _elem150 = new Item();
51848
                  _elem159 = new Item();
50801
                  _elem150.read(iprot);
51849
                  _elem159.read(iprot);
50802
                  this.success.add(_elem150);
51850
                  this.success.add(_elem159);
50803
                }
51851
                }
50804
                iprot.readListEnd();
51852
                iprot.readListEnd();
50805
              }
51853
              }
50806
            } else { 
51854
            } else { 
50807
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51855
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50821... Line 51869...
50821
 
51869
 
50822
      if (this.isSetSuccess()) {
51870
      if (this.isSetSuccess()) {
50823
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51871
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50824
        {
51872
        {
50825
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51873
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50826
          for (Item _iter151 : this.success)
51874
          for (Item _iter160 : this.success)
50827
          {
51875
          {
50828
            _iter151.write(oprot);
51876
            _iter160.write(oprot);
50829
          }
51877
          }
50830
          oprot.writeListEnd();
51878
          oprot.writeListEnd();
50831
        }
51879
        }
50832
        oprot.writeFieldEnd();
51880
        oprot.writeFieldEnd();
50833
      }
51881
      }
Line 51503... Line 52551...
51503
        }
52551
        }
51504
        switch (field.id) {
52552
        switch (field.id) {
51505
          case 0: // SUCCESS
52553
          case 0: // SUCCESS
51506
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52554
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51507
              {
52555
              {
51508
                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
52556
                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
51509
                this.success = new ArrayList<Item>(_list152.size);
52557
                this.success = new ArrayList<Item>(_list161.size);
51510
                for (int _i153 = 0; _i153 < _list152.size; ++_i153)
52558
                for (int _i162 = 0; _i162 < _list161.size; ++_i162)
51511
                {
52559
                {
51512
                  Item _elem154; // required
52560
                  Item _elem163; // required
51513
                  _elem154 = new Item();
52561
                  _elem163 = new Item();
51514
                  _elem154.read(iprot);
52562
                  _elem163.read(iprot);
51515
                  this.success.add(_elem154);
52563
                  this.success.add(_elem163);
51516
                }
52564
                }
51517
                iprot.readListEnd();
52565
                iprot.readListEnd();
51518
              }
52566
              }
51519
            } else { 
52567
            } else { 
51520
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52568
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 51534... Line 52582...
51534
 
52582
 
51535
      if (this.isSetSuccess()) {
52583
      if (this.isSetSuccess()) {
51536
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52584
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51537
        {
52585
        {
51538
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52586
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51539
          for (Item _iter155 : this.success)
52587
          for (Item _iter164 : this.success)
51540
          {
52588
          {
51541
            _iter155.write(oprot);
52589
            _iter164.write(oprot);
51542
          }
52590
          }
51543
          oprot.writeListEnd();
52591
          oprot.writeListEnd();
51544
        }
52592
        }
51545
        oprot.writeFieldEnd();
52593
        oprot.writeFieldEnd();
51546
      }
52594
      }
Line 52292... Line 53340...
52292
        }
53340
        }
52293
        switch (field.id) {
53341
        switch (field.id) {
52294
          case 0: // SUCCESS
53342
          case 0: // SUCCESS
52295
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53343
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52296
              {
53344
              {
52297
                org.apache.thrift.protocol.TList _list156 = iprot.readListBegin();
53345
                org.apache.thrift.protocol.TList _list165 = iprot.readListBegin();
52298
                this.success = new ArrayList<Long>(_list156.size);
53346
                this.success = new ArrayList<Long>(_list165.size);
52299
                for (int _i157 = 0; _i157 < _list156.size; ++_i157)
53347
                for (int _i166 = 0; _i166 < _list165.size; ++_i166)
52300
                {
53348
                {
52301
                  long _elem158; // required
53349
                  long _elem167; // required
52302
                  _elem158 = iprot.readI64();
53350
                  _elem167 = iprot.readI64();
52303
                  this.success.add(_elem158);
53351
                  this.success.add(_elem167);
52304
                }
53352
                }
52305
                iprot.readListEnd();
53353
                iprot.readListEnd();
52306
              }
53354
              }
52307
            } else { 
53355
            } else { 
52308
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53356
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52322... Line 53370...
52322
 
53370
 
52323
      if (this.isSetSuccess()) {
53371
      if (this.isSetSuccess()) {
52324
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53372
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52325
        {
53373
        {
52326
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
53374
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
52327
          for (long _iter159 : this.success)
53375
          for (long _iter168 : this.success)
52328
          {
53376
          {
52329
            oprot.writeI64(_iter159);
53377
            oprot.writeI64(_iter168);
52330
          }
53378
          }
52331
          oprot.writeListEnd();
53379
          oprot.writeListEnd();
52332
        }
53380
        }
52333
        oprot.writeFieldEnd();
53381
        oprot.writeFieldEnd();
52334
      }
53382
      }
Line 52744... Line 53792...
52744
      }
53792
      }
52745
    }
53793
    }
52746
 
53794
 
52747
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
53795
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
52748
      try {
53796
      try {
52749
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
52750
        __isset_bit_vector = new BitSet(1);
-
 
52751
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
53797
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
52752
      } catch (org.apache.thrift.TException te) {
53798
      } catch (org.apache.thrift.TException te) {
52753
        throw new java.io.IOException(te);
53799
        throw new java.io.IOException(te);
52754
      }
53800
      }
52755
    }
53801
    }
Line 54084... Line 55130...
54084
        }
55130
        }
54085
        switch (field.id) {
55131
        switch (field.id) {
54086
          case 0: // SUCCESS
55132
          case 0: // SUCCESS
54087
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55133
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54088
              {
55134
              {
54089
                org.apache.thrift.protocol.TList _list160 = iprot.readListBegin();
55135
                org.apache.thrift.protocol.TList _list169 = iprot.readListBegin();
54090
                this.success = new ArrayList<String>(_list160.size);
55136
                this.success = new ArrayList<String>(_list169.size);
54091
                for (int _i161 = 0; _i161 < _list160.size; ++_i161)
55137
                for (int _i170 = 0; _i170 < _list169.size; ++_i170)
54092
                {
55138
                {
54093
                  String _elem162; // required
55139
                  String _elem171; // required
54094
                  _elem162 = iprot.readString();
55140
                  _elem171 = iprot.readString();
54095
                  this.success.add(_elem162);
55141
                  this.success.add(_elem171);
54096
                }
55142
                }
54097
                iprot.readListEnd();
55143
                iprot.readListEnd();
54098
              }
55144
              }
54099
            } else { 
55145
            } else { 
54100
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55146
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54114... Line 55160...
54114
 
55160
 
54115
      if (this.isSetSuccess()) {
55161
      if (this.isSetSuccess()) {
54116
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55162
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54117
        {
55163
        {
54118
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
55164
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
54119
          for (String _iter163 : this.success)
55165
          for (String _iter172 : this.success)
54120
          {
55166
          {
54121
            oprot.writeString(_iter163);
55167
            oprot.writeString(_iter172);
54122
          }
55168
          }
54123
          oprot.writeListEnd();
55169
          oprot.writeListEnd();
54124
        }
55170
        }
54125
        oprot.writeFieldEnd();
55171
        oprot.writeFieldEnd();
54126
      }
55172
      }
Line 54614... Line 55660...
54614
        }
55660
        }
54615
        switch (field.id) {
55661
        switch (field.id) {
54616
          case 0: // SUCCESS
55662
          case 0: // SUCCESS
54617
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55663
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54618
              {
55664
              {
54619
                org.apache.thrift.protocol.TList _list164 = iprot.readListBegin();
55665
                org.apache.thrift.protocol.TList _list173 = iprot.readListBegin();
54620
                this.success = new ArrayList<String>(_list164.size);
55666
                this.success = new ArrayList<String>(_list173.size);
54621
                for (int _i165 = 0; _i165 < _list164.size; ++_i165)
55667
                for (int _i174 = 0; _i174 < _list173.size; ++_i174)
54622
                {
55668
                {
54623
                  String _elem166; // required
55669
                  String _elem175; // required
54624
                  _elem166 = iprot.readString();
55670
                  _elem175 = iprot.readString();
54625
                  this.success.add(_elem166);
55671
                  this.success.add(_elem175);
54626
                }
55672
                }
54627
                iprot.readListEnd();
55673
                iprot.readListEnd();
54628
              }
55674
              }
54629
            } else { 
55675
            } else { 
54630
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
55676
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54644... Line 55690...
54644
 
55690
 
54645
      if (this.isSetSuccess()) {
55691
      if (this.isSetSuccess()) {
54646
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55692
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54647
        {
55693
        {
54648
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
55694
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
54649
          for (String _iter167 : this.success)
55695
          for (String _iter176 : this.success)
54650
          {
55696
          {
54651
            oprot.writeString(_iter167);
55697
            oprot.writeString(_iter176);
54652
          }
55698
          }
54653
          oprot.writeListEnd();
55699
          oprot.writeListEnd();
54654
        }
55700
        }
54655
        oprot.writeFieldEnd();
55701
        oprot.writeFieldEnd();
54656
      }
55702
      }
Line 55144... Line 56190...
55144
        }
56190
        }
55145
        switch (field.id) {
56191
        switch (field.id) {
55146
          case 0: // SUCCESS
56192
          case 0: // SUCCESS
55147
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56193
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55148
              {
56194
              {
55149
                org.apache.thrift.protocol.TList _list168 = iprot.readListBegin();
56195
                org.apache.thrift.protocol.TList _list177 = iprot.readListBegin();
55150
                this.success = new ArrayList<Source>(_list168.size);
56196
                this.success = new ArrayList<Source>(_list177.size);
55151
                for (int _i169 = 0; _i169 < _list168.size; ++_i169)
56197
                for (int _i178 = 0; _i178 < _list177.size; ++_i178)
55152
                {
56198
                {
55153
                  Source _elem170; // required
56199
                  Source _elem179; // required
55154
                  _elem170 = new Source();
56200
                  _elem179 = new Source();
55155
                  _elem170.read(iprot);
56201
                  _elem179.read(iprot);
55156
                  this.success.add(_elem170);
56202
                  this.success.add(_elem179);
55157
                }
56203
                }
55158
                iprot.readListEnd();
56204
                iprot.readListEnd();
55159
              }
56205
              }
55160
            } else { 
56206
            } else { 
55161
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56207
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55175... Line 56221...
55175
 
56221
 
55176
      if (this.isSetSuccess()) {
56222
      if (this.isSetSuccess()) {
55177
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56223
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55178
        {
56224
        {
55179
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56225
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55180
          for (Source _iter171 : this.success)
56226
          for (Source _iter180 : this.success)
55181
          {
56227
          {
55182
            _iter171.write(oprot);
56228
            _iter180.write(oprot);
55183
          }
56229
          }
55184
          oprot.writeListEnd();
56230
          oprot.writeListEnd();
55185
        }
56231
        }
55186
        oprot.writeFieldEnd();
56232
        oprot.writeFieldEnd();
55187
      }
56233
      }
Line 57181... Line 58227...
57181
        }
58227
        }
57182
        switch (field.id) {
58228
        switch (field.id) {
57183
          case 0: // SUCCESS
58229
          case 0: // SUCCESS
57184
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58230
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57185
              {
58231
              {
57186
                org.apache.thrift.protocol.TList _list172 = iprot.readListBegin();
58232
                org.apache.thrift.protocol.TList _list181 = iprot.readListBegin();
57187
                this.success = new ArrayList<SourceItemPricing>(_list172.size);
58233
                this.success = new ArrayList<SourceItemPricing>(_list181.size);
57188
                for (int _i173 = 0; _i173 < _list172.size; ++_i173)
58234
                for (int _i182 = 0; _i182 < _list181.size; ++_i182)
57189
                {
58235
                {
57190
                  SourceItemPricing _elem174; // required
58236
                  SourceItemPricing _elem183; // required
57191
                  _elem174 = new SourceItemPricing();
58237
                  _elem183 = new SourceItemPricing();
57192
                  _elem174.read(iprot);
58238
                  _elem183.read(iprot);
57193
                  this.success.add(_elem174);
58239
                  this.success.add(_elem183);
57194
                }
58240
                }
57195
                iprot.readListEnd();
58241
                iprot.readListEnd();
57196
              }
58242
              }
57197
            } else { 
58243
            } else { 
57198
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58244
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 57220... Line 58266...
57220
 
58266
 
57221
      if (this.isSetSuccess()) {
58267
      if (this.isSetSuccess()) {
57222
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58268
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57223
        {
58269
        {
57224
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58270
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57225
          for (SourceItemPricing _iter175 : this.success)
58271
          for (SourceItemPricing _iter184 : this.success)
57226
          {
58272
          {
57227
            _iter175.write(oprot);
58273
            _iter184.write(oprot);
57228
          }
58274
          }
57229
          oprot.writeListEnd();
58275
          oprot.writeListEnd();
57230
        }
58276
        }
57231
        oprot.writeFieldEnd();
58277
        oprot.writeFieldEnd();
57232
      } else if (this.isSetCex()) {
58278
      } else if (this.isSetCex()) {
Line 58428... Line 59474...
58428
        }
59474
        }
58429
        switch (field.id) {
59475
        switch (field.id) {
58430
          case 1: // SEARCH_TERMS
59476
          case 1: // SEARCH_TERMS
58431
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59477
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58432
              {
59478
              {
58433
                org.apache.thrift.protocol.TList _list176 = iprot.readListBegin();
59479
                org.apache.thrift.protocol.TList _list185 = iprot.readListBegin();
58434
                this.searchTerms = new ArrayList<String>(_list176.size);
59480
                this.searchTerms = new ArrayList<String>(_list185.size);
58435
                for (int _i177 = 0; _i177 < _list176.size; ++_i177)
59481
                for (int _i186 = 0; _i186 < _list185.size; ++_i186)
58436
                {
59482
                {
58437
                  String _elem178; // required
59483
                  String _elem187; // required
58438
                  _elem178 = iprot.readString();
59484
                  _elem187 = iprot.readString();
58439
                  this.searchTerms.add(_elem178);
59485
                  this.searchTerms.add(_elem187);
58440
                }
59486
                }
58441
                iprot.readListEnd();
59487
                iprot.readListEnd();
58442
              }
59488
              }
58443
            } else { 
59489
            } else { 
58444
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59490
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58475... Line 59521...
58475
      oprot.writeStructBegin(STRUCT_DESC);
59521
      oprot.writeStructBegin(STRUCT_DESC);
58476
      if (this.searchTerms != null) {
59522
      if (this.searchTerms != null) {
58477
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
59523
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
58478
        {
59524
        {
58479
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
59525
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
58480
          for (String _iter179 : this.searchTerms)
59526
          for (String _iter188 : this.searchTerms)
58481
          {
59527
          {
58482
            oprot.writeString(_iter179);
59528
            oprot.writeString(_iter188);
58483
          }
59529
          }
58484
          oprot.writeListEnd();
59530
          oprot.writeListEnd();
58485
        }
59531
        }
58486
        oprot.writeFieldEnd();
59532
        oprot.writeFieldEnd();
58487
      }
59533
      }
Line 58789... Line 59835...
58789
        }
59835
        }
58790
        switch (field.id) {
59836
        switch (field.id) {
58791
          case 0: // SUCCESS
59837
          case 0: // SUCCESS
58792
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59838
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58793
              {
59839
              {
58794
                org.apache.thrift.protocol.TList _list180 = iprot.readListBegin();
59840
                org.apache.thrift.protocol.TList _list189 = iprot.readListBegin();
58795
                this.success = new ArrayList<Item>(_list180.size);
59841
                this.success = new ArrayList<Item>(_list189.size);
58796
                for (int _i181 = 0; _i181 < _list180.size; ++_i181)
59842
                for (int _i190 = 0; _i190 < _list189.size; ++_i190)
58797
                {
59843
                {
58798
                  Item _elem182; // required
59844
                  Item _elem191; // required
58799
                  _elem182 = new Item();
59845
                  _elem191 = new Item();
58800
                  _elem182.read(iprot);
59846
                  _elem191.read(iprot);
58801
                  this.success.add(_elem182);
59847
                  this.success.add(_elem191);
58802
                }
59848
                }
58803
                iprot.readListEnd();
59849
                iprot.readListEnd();
58804
              }
59850
              }
58805
            } else { 
59851
            } else { 
58806
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59852
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58820... Line 59866...
58820
 
59866
 
58821
      if (this.isSetSuccess()) {
59867
      if (this.isSetSuccess()) {
58822
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59868
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58823
        {
59869
        {
58824
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59870
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58825
          for (Item _iter183 : this.success)
59871
          for (Item _iter192 : this.success)
58826
          {
59872
          {
58827
            _iter183.write(oprot);
59873
            _iter192.write(oprot);
58828
          }
59874
          }
58829
          oprot.writeListEnd();
59875
          oprot.writeListEnd();
58830
        }
59876
        }
58831
        oprot.writeFieldEnd();
59877
        oprot.writeFieldEnd();
58832
      }
59878
      }
Line 59120... Line 60166...
59120
        }
60166
        }
59121
        switch (field.id) {
60167
        switch (field.id) {
59122
          case 1: // SEARCH_TERMS
60168
          case 1: // SEARCH_TERMS
59123
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60169
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59124
              {
60170
              {
59125
                org.apache.thrift.protocol.TList _list184 = iprot.readListBegin();
60171
                org.apache.thrift.protocol.TList _list193 = iprot.readListBegin();
59126
                this.searchTerms = new ArrayList<String>(_list184.size);
60172
                this.searchTerms = new ArrayList<String>(_list193.size);
59127
                for (int _i185 = 0; _i185 < _list184.size; ++_i185)
60173
                for (int _i194 = 0; _i194 < _list193.size; ++_i194)
59128
                {
60174
                {
59129
                  String _elem186; // required
60175
                  String _elem195; // required
59130
                  _elem186 = iprot.readString();
60176
                  _elem195 = iprot.readString();
59131
                  this.searchTerms.add(_elem186);
60177
                  this.searchTerms.add(_elem195);
59132
                }
60178
                }
59133
                iprot.readListEnd();
60179
                iprot.readListEnd();
59134
              }
60180
              }
59135
            } else { 
60181
            } else { 
59136
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60182
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59151... Line 60197...
59151
      oprot.writeStructBegin(STRUCT_DESC);
60197
      oprot.writeStructBegin(STRUCT_DESC);
59152
      if (this.searchTerms != null) {
60198
      if (this.searchTerms != null) {
59153
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
60199
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
59154
        {
60200
        {
59155
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
60201
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
59156
          for (String _iter187 : this.searchTerms)
60202
          for (String _iter196 : this.searchTerms)
59157
          {
60203
          {
59158
            oprot.writeString(_iter187);
60204
            oprot.writeString(_iter196);
59159
          }
60205
          }
59160
          oprot.writeListEnd();
60206
          oprot.writeListEnd();
59161
        }
60207
        }
59162
        oprot.writeFieldEnd();
60208
        oprot.writeFieldEnd();
59163
      }
60209
      }
Line 60038... Line 61084...
60038
        }
61084
        }
60039
        switch (field.id) {
61085
        switch (field.id) {
60040
          case 0: // SUCCESS
61086
          case 0: // SUCCESS
60041
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
61087
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60042
              {
61088
              {
60043
                org.apache.thrift.protocol.TList _list188 = iprot.readListBegin();
61089
                org.apache.thrift.protocol.TList _list197 = iprot.readListBegin();
60044
                this.success = new ArrayList<ProductNotificationRequest>(_list188.size);
61090
                this.success = new ArrayList<ProductNotificationRequest>(_list197.size);
60045
                for (int _i189 = 0; _i189 < _list188.size; ++_i189)
61091
                for (int _i198 = 0; _i198 < _list197.size; ++_i198)
60046
                {
61092
                {
60047
                  ProductNotificationRequest _elem190; // required
61093
                  ProductNotificationRequest _elem199; // required
60048
                  _elem190 = new ProductNotificationRequest();
61094
                  _elem199 = new ProductNotificationRequest();
60049
                  _elem190.read(iprot);
61095
                  _elem199.read(iprot);
60050
                  this.success.add(_elem190);
61096
                  this.success.add(_elem199);
60051
                }
61097
                }
60052
                iprot.readListEnd();
61098
                iprot.readListEnd();
60053
              }
61099
              }
60054
            } else { 
61100
            } else { 
60055
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
61101
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 60069... Line 61115...
60069
 
61115
 
60070
      if (this.isSetSuccess()) {
61116
      if (this.isSetSuccess()) {
60071
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
61117
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60072
        {
61118
        {
60073
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
61119
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60074
          for (ProductNotificationRequest _iter191 : this.success)
61120
          for (ProductNotificationRequest _iter200 : this.success)
60075
          {
61121
          {
60076
            _iter191.write(oprot);
61122
            _iter200.write(oprot);
60077
          }
61123
          }
60078
          oprot.writeListEnd();
61124
          oprot.writeListEnd();
60079
        }
61125
        }
60080
        oprot.writeFieldEnd();
61126
        oprot.writeFieldEnd();
60081
      }
61127
      }
Line 60746... Line 61792...
60746
        }
61792
        }
60747
        switch (field.id) {
61793
        switch (field.id) {
60748
          case 0: // SUCCESS
61794
          case 0: // SUCCESS
60749
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
61795
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60750
              {
61796
              {
60751
                org.apache.thrift.protocol.TList _list192 = iprot.readListBegin();
61797
                org.apache.thrift.protocol.TList _list201 = iprot.readListBegin();
60752
                this.success = new ArrayList<ProductNotificationRequestCount>(_list192.size);
61798
                this.success = new ArrayList<ProductNotificationRequestCount>(_list201.size);
60753
                for (int _i193 = 0; _i193 < _list192.size; ++_i193)
61799
                for (int _i202 = 0; _i202 < _list201.size; ++_i202)
60754
                {
61800
                {
60755
                  ProductNotificationRequestCount _elem194; // required
61801
                  ProductNotificationRequestCount _elem203; // required
60756
                  _elem194 = new ProductNotificationRequestCount();
61802
                  _elem203 = new ProductNotificationRequestCount();
60757
                  _elem194.read(iprot);
61803
                  _elem203.read(iprot);
60758
                  this.success.add(_elem194);
61804
                  this.success.add(_elem203);
60759
                }
61805
                }
60760
                iprot.readListEnd();
61806
                iprot.readListEnd();
60761
              }
61807
              }
60762
            } else { 
61808
            } else { 
60763
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
61809
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 60777... Line 61823...
60777
 
61823
 
60778
      if (this.isSetSuccess()) {
61824
      if (this.isSetSuccess()) {
60779
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
61825
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60780
        {
61826
        {
60781
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
61827
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60782
          for (ProductNotificationRequestCount _iter195 : this.success)
61828
          for (ProductNotificationRequestCount _iter204 : this.success)
60783
          {
61829
          {
60784
            _iter195.write(oprot);
61830
            _iter204.write(oprot);
60785
          }
61831
          }
60786
          oprot.writeListEnd();
61832
          oprot.writeListEnd();
60787
        }
61833
        }
60788
        oprot.writeFieldEnd();
61834
        oprot.writeFieldEnd();
60789
      }
61835
      }
Line 64489... Line 65535...
64489
        }
65535
        }
64490
        switch (field.id) {
65536
        switch (field.id) {
64491
          case 0: // SUCCESS
65537
          case 0: // SUCCESS
64492
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
65538
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64493
              {
65539
              {
64494
                org.apache.thrift.protocol.TList _list196 = iprot.readListBegin();
65540
                org.apache.thrift.protocol.TList _list205 = iprot.readListBegin();
64495
                this.success = new ArrayList<VoucherItemMapping>(_list196.size);
65541
                this.success = new ArrayList<VoucherItemMapping>(_list205.size);
64496
                for (int _i197 = 0; _i197 < _list196.size; ++_i197)
65542
                for (int _i206 = 0; _i206 < _list205.size; ++_i206)
64497
                {
65543
                {
64498
                  VoucherItemMapping _elem198; // required
65544
                  VoucherItemMapping _elem207; // required
64499
                  _elem198 = new VoucherItemMapping();
65545
                  _elem207 = new VoucherItemMapping();
64500
                  _elem198.read(iprot);
65546
                  _elem207.read(iprot);
64501
                  this.success.add(_elem198);
65547
                  this.success.add(_elem207);
64502
                }
65548
                }
64503
                iprot.readListEnd();
65549
                iprot.readListEnd();
64504
              }
65550
              }
64505
            } else { 
65551
            } else { 
64506
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
65552
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64520... Line 65566...
64520
 
65566
 
64521
      if (this.isSetSuccess()) {
65567
      if (this.isSetSuccess()) {
64522
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
65568
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64523
        {
65569
        {
64524
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
65570
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64525
          for (VoucherItemMapping _iter199 : this.success)
65571
          for (VoucherItemMapping _iter208 : this.success)
64526
          {
65572
          {
64527
            _iter199.write(oprot);
65573
            _iter208.write(oprot);
64528
          }
65574
          }
64529
          oprot.writeListEnd();
65575
          oprot.writeListEnd();
64530
        }
65576
        }
64531
        oprot.writeFieldEnd();
65577
        oprot.writeFieldEnd();
64532
      }
65578
      }
Line 67295... Line 68341...
67295
        }
68341
        }
67296
        switch (field.id) {
68342
        switch (field.id) {
67297
          case 0: // SUCCESS
68343
          case 0: // SUCCESS
67298
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68344
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67299
              {
68345
              {
67300
                org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
68346
                org.apache.thrift.protocol.TList _list209 = iprot.readListBegin();
67301
                this.success = new ArrayList<Item>(_list200.size);
68347
                this.success = new ArrayList<Item>(_list209.size);
67302
                for (int _i201 = 0; _i201 < _list200.size; ++_i201)
68348
                for (int _i210 = 0; _i210 < _list209.size; ++_i210)
67303
                {
68349
                {
67304
                  Item _elem202; // required
68350
                  Item _elem211; // required
67305
                  _elem202 = new Item();
68351
                  _elem211 = new Item();
67306
                  _elem202.read(iprot);
68352
                  _elem211.read(iprot);
67307
                  this.success.add(_elem202);
68353
                  this.success.add(_elem211);
67308
                }
68354
                }
67309
                iprot.readListEnd();
68355
                iprot.readListEnd();
67310
              }
68356
              }
67311
            } else { 
68357
            } else { 
67312
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68358
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67326... Line 68372...
67326
 
68372
 
67327
      if (this.isSetSuccess()) {
68373
      if (this.isSetSuccess()) {
67328
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68374
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67329
        {
68375
        {
67330
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68376
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67331
          for (Item _iter203 : this.success)
68377
          for (Item _iter212 : this.success)
67332
          {
68378
          {
67333
            _iter203.write(oprot);
68379
            _iter212.write(oprot);
67334
          }
68380
          }
67335
          oprot.writeListEnd();
68381
          oprot.writeListEnd();
67336
        }
68382
        }
67337
        oprot.writeFieldEnd();
68383
        oprot.writeFieldEnd();
67338
      }
68384
      }
Line 67826... Line 68872...
67826
        }
68872
        }
67827
        switch (field.id) {
68873
        switch (field.id) {
67828
          case 0: // SUCCESS
68874
          case 0: // SUCCESS
67829
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68875
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67830
              {
68876
              {
67831
                org.apache.thrift.protocol.TList _list204 = iprot.readListBegin();
68877
                org.apache.thrift.protocol.TList _list213 = iprot.readListBegin();
67832
                this.success = new ArrayList<Item>(_list204.size);
68878
                this.success = new ArrayList<Item>(_list213.size);
67833
                for (int _i205 = 0; _i205 < _list204.size; ++_i205)
68879
                for (int _i214 = 0; _i214 < _list213.size; ++_i214)
67834
                {
68880
                {
67835
                  Item _elem206; // required
68881
                  Item _elem215; // required
67836
                  _elem206 = new Item();
68882
                  _elem215 = new Item();
67837
                  _elem206.read(iprot);
68883
                  _elem215.read(iprot);
67838
                  this.success.add(_elem206);
68884
                  this.success.add(_elem215);
67839
                }
68885
                }
67840
                iprot.readListEnd();
68886
                iprot.readListEnd();
67841
              }
68887
              }
67842
            } else { 
68888
            } else { 
67843
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
68889
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67857... Line 68903...
67857
 
68903
 
67858
      if (this.isSetSuccess()) {
68904
      if (this.isSetSuccess()) {
67859
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68905
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67860
        {
68906
        {
67861
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68907
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67862
          for (Item _iter207 : this.success)
68908
          for (Item _iter216 : this.success)
67863
          {
68909
          {
67864
            _iter207.write(oprot);
68910
            _iter216.write(oprot);
67865
          }
68911
          }
67866
          oprot.writeListEnd();
68912
          oprot.writeListEnd();
67867
        }
68913
        }
67868
        oprot.writeFieldEnd();
68914
        oprot.writeFieldEnd();
67869
      }
68915
      }
Line 69779... Line 70825...
69779
        }
70825
        }
69780
        switch (field.id) {
70826
        switch (field.id) {
69781
          case 0: // SUCCESS
70827
          case 0: // SUCCESS
69782
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
70828
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69783
              {
70829
              {
69784
                org.apache.thrift.protocol.TList _list208 = iprot.readListBegin();
70830
                org.apache.thrift.protocol.TList _list217 = iprot.readListBegin();
69785
                this.success = new ArrayList<Insurer>(_list208.size);
70831
                this.success = new ArrayList<Insurer>(_list217.size);
69786
                for (int _i209 = 0; _i209 < _list208.size; ++_i209)
70832
                for (int _i218 = 0; _i218 < _list217.size; ++_i218)
69787
                {
70833
                {
69788
                  Insurer _elem210; // required
70834
                  Insurer _elem219; // required
69789
                  _elem210 = new Insurer();
70835
                  _elem219 = new Insurer();
69790
                  _elem210.read(iprot);
70836
                  _elem219.read(iprot);
69791
                  this.success.add(_elem210);
70837
                  this.success.add(_elem219);
69792
                }
70838
                }
69793
                iprot.readListEnd();
70839
                iprot.readListEnd();
69794
              }
70840
              }
69795
            } else { 
70841
            } else { 
69796
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
70842
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69810... Line 70856...
69810
 
70856
 
69811
      if (this.isSetSuccess()) {
70857
      if (this.isSetSuccess()) {
69812
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
70858
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69813
        {
70859
        {
69814
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
70860
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
69815
          for (Insurer _iter211 : this.success)
70861
          for (Insurer _iter220 : this.success)
69816
          {
70862
          {
69817
            _iter211.write(oprot);
70863
            _iter220.write(oprot);
69818
          }
70864
          }
69819
          oprot.writeListEnd();
70865
          oprot.writeListEnd();
69820
        }
70866
        }
69821
        oprot.writeFieldEnd();
70867
        oprot.writeFieldEnd();
69822
      }
70868
      }
Line 72466... Line 73512...
72466
        }
73512
        }
72467
        switch (field.id) {
73513
        switch (field.id) {
72468
          case 0: // SUCCESS
73514
          case 0: // SUCCESS
72469
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
73515
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
72470
              {
73516
              {
72471
                org.apache.thrift.protocol.TMap _map212 = iprot.readMapBegin();
73517
                org.apache.thrift.protocol.TMap _map221 = iprot.readMapBegin();
72472
                this.success = new HashMap<String,BrandInfo>(2*_map212.size);
73518
                this.success = new HashMap<String,BrandInfo>(2*_map221.size);
72473
                for (int _i213 = 0; _i213 < _map212.size; ++_i213)
73519
                for (int _i222 = 0; _i222 < _map221.size; ++_i222)
72474
                {
73520
                {
72475
                  String _key214; // required
73521
                  String _key223; // required
72476
                  BrandInfo _val215; // required
73522
                  BrandInfo _val224; // required
72477
                  _key214 = iprot.readString();
73523
                  _key223 = iprot.readString();
72478
                  _val215 = new BrandInfo();
73524
                  _val224 = new BrandInfo();
72479
                  _val215.read(iprot);
73525
                  _val224.read(iprot);
72480
                  this.success.put(_key214, _val215);
73526
                  this.success.put(_key223, _val224);
72481
                }
73527
                }
72482
                iprot.readMapEnd();
73528
                iprot.readMapEnd();
72483
              }
73529
              }
72484
            } else { 
73530
            } else { 
72485
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73531
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72499... Line 73545...
72499
 
73545
 
72500
      if (this.isSetSuccess()) {
73546
      if (this.isSetSuccess()) {
72501
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73547
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72502
        {
73548
        {
72503
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73549
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72504
          for (Map.Entry<String, BrandInfo> _iter216 : this.success.entrySet())
73550
          for (Map.Entry<String, BrandInfo> _iter225 : this.success.entrySet())
72505
          {
73551
          {
72506
            oprot.writeString(_iter216.getKey());
73552
            oprot.writeString(_iter225.getKey());
72507
            _iter216.getValue().write(oprot);
73553
            _iter225.getValue().write(oprot);
72508
          }
73554
          }
72509
          oprot.writeMapEnd();
73555
          oprot.writeMapEnd();
72510
        }
73556
        }
72511
        oprot.writeFieldEnd();
73557
        oprot.writeFieldEnd();
72512
      }
73558
      }
Line 73388... Line 74434...
73388
        }
74434
        }
73389
        switch (field.id) {
74435
        switch (field.id) {
73390
          case 1: // ITEM_IDS
74436
          case 1: // ITEM_IDS
73391
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
74437
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
73392
              {
74438
              {
73393
                org.apache.thrift.protocol.TList _list217 = iprot.readListBegin();
74439
                org.apache.thrift.protocol.TList _list226 = iprot.readListBegin();
73394
                this.itemIds = new ArrayList<Long>(_list217.size);
74440
                this.itemIds = new ArrayList<Long>(_list226.size);
73395
                for (int _i218 = 0; _i218 < _list217.size; ++_i218)
74441
                for (int _i227 = 0; _i227 < _list226.size; ++_i227)
73396
                {
74442
                {
73397
                  long _elem219; // required
74443
                  long _elem228; // required
73398
                  _elem219 = iprot.readI64();
74444
                  _elem228 = iprot.readI64();
73399
                  this.itemIds.add(_elem219);
74445
                  this.itemIds.add(_elem228);
73400
                }
74446
                }
73401
                iprot.readListEnd();
74447
                iprot.readListEnd();
73402
              }
74448
              }
73403
            } else { 
74449
            } else { 
73404
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
74450
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 73419... Line 74465...
73419
      oprot.writeStructBegin(STRUCT_DESC);
74465
      oprot.writeStructBegin(STRUCT_DESC);
73420
      if (this.itemIds != null) {
74466
      if (this.itemIds != null) {
73421
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
74467
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
73422
        {
74468
        {
73423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
74469
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
73424
          for (long _iter220 : this.itemIds)
74470
          for (long _iter229 : this.itemIds)
73425
          {
74471
          {
73426
            oprot.writeI64(_iter220);
74472
            oprot.writeI64(_iter229);
73427
          }
74473
          }
73428
          oprot.writeListEnd();
74474
          oprot.writeListEnd();
73429
        }
74475
        }
73430
        oprot.writeFieldEnd();
74476
        oprot.writeFieldEnd();
73431
      }
74477
      }
Line 73719... Line 74765...
73719
        }
74765
        }
73720
        switch (field.id) {
74766
        switch (field.id) {
73721
          case 0: // SUCCESS
74767
          case 0: // SUCCESS
73722
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
74768
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
73723
              {
74769
              {
73724
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
74770
                org.apache.thrift.protocol.TList _list230 = iprot.readListBegin();
73725
                this.success = new ArrayList<StorePricing>(_list221.size);
74771
                this.success = new ArrayList<StorePricing>(_list230.size);
73726
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
74772
                for (int _i231 = 0; _i231 < _list230.size; ++_i231)
73727
                {
74773
                {
73728
                  StorePricing _elem223; // required
74774
                  StorePricing _elem232; // required
73729
                  _elem223 = new StorePricing();
74775
                  _elem232 = new StorePricing();
73730
                  _elem223.read(iprot);
74776
                  _elem232.read(iprot);
73731
                  this.success.add(_elem223);
74777
                  this.success.add(_elem232);
73732
                }
74778
                }
73733
                iprot.readListEnd();
74779
                iprot.readListEnd();
73734
              }
74780
              }
73735
            } else { 
74781
            } else { 
73736
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
74782
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 73750... Line 74796...
73750
 
74796
 
73751
      if (this.isSetSuccess()) {
74797
      if (this.isSetSuccess()) {
73752
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
74798
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73753
        {
74799
        {
73754
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
74800
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73755
          for (StorePricing _iter224 : this.success)
74801
          for (StorePricing _iter233 : this.success)
73756
          {
74802
          {
73757
            _iter224.write(oprot);
74803
            _iter233.write(oprot);
73758
          }
74804
          }
73759
          oprot.writeListEnd();
74805
          oprot.writeListEnd();
73760
        }
74806
        }
73761
        oprot.writeFieldEnd();
74807
        oprot.writeFieldEnd();
73762
      }
74808
      }
Line 74832... Line 75878...
74832
        }
75878
        }
74833
        switch (field.id) {
75879
        switch (field.id) {
74834
          case 0: // SUCCESS
75880
          case 0: // SUCCESS
74835
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
75881
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
74836
              {
75882
              {
74837
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
75883
                org.apache.thrift.protocol.TList _list234 = iprot.readListBegin();
74838
                this.success = new ArrayList<Amazonlisted>(_list225.size);
75884
                this.success = new ArrayList<Amazonlisted>(_list234.size);
74839
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
75885
                for (int _i235 = 0; _i235 < _list234.size; ++_i235)
74840
                {
75886
                {
74841
                  Amazonlisted _elem227; // required
75887
                  Amazonlisted _elem236; // required
74842
                  _elem227 = new Amazonlisted();
75888
                  _elem236 = new Amazonlisted();
74843
                  _elem227.read(iprot);
75889
                  _elem236.read(iprot);
74844
                  this.success.add(_elem227);
75890
                  this.success.add(_elem236);
74845
                }
75891
                }
74846
                iprot.readListEnd();
75892
                iprot.readListEnd();
74847
              }
75893
              }
74848
            } else { 
75894
            } else { 
74849
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
75895
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 74863... Line 75909...
74863
 
75909
 
74864
      if (this.isSetSuccess()) {
75910
      if (this.isSetSuccess()) {
74865
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
75911
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
74866
        {
75912
        {
74867
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
75913
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
74868
          for (Amazonlisted _iter228 : this.success)
75914
          for (Amazonlisted _iter237 : this.success)
74869
          {
75915
          {
74870
            _iter228.write(oprot);
75916
            _iter237.write(oprot);
74871
          }
75917
          }
74872
          oprot.writeListEnd();
75918
          oprot.writeListEnd();
74873
        }
75919
        }
74874
        oprot.writeFieldEnd();
75920
        oprot.writeFieldEnd();
74875
      }
75921
      }
Line 75302... Line 76348...
75302
        }
76348
        }
75303
        switch (field.id) {
76349
        switch (field.id) {
75304
          case 1: // SEARCH_TERM
76350
          case 1: // SEARCH_TERM
75305
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76351
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
75306
              {
76352
              {
75307
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
76353
                org.apache.thrift.protocol.TList _list238 = iprot.readListBegin();
75308
                this.searchTerm = new ArrayList<String>(_list229.size);
76354
                this.searchTerm = new ArrayList<String>(_list238.size);
75309
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
76355
                for (int _i239 = 0; _i239 < _list238.size; ++_i239)
75310
                {
76356
                {
75311
                  String _elem231; // required
76357
                  String _elem240; // required
75312
                  _elem231 = iprot.readString();
76358
                  _elem240 = iprot.readString();
75313
                  this.searchTerm.add(_elem231);
76359
                  this.searchTerm.add(_elem240);
75314
                }
76360
                }
75315
                iprot.readListEnd();
76361
                iprot.readListEnd();
75316
              }
76362
              }
75317
            } else { 
76363
            } else { 
75318
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
76364
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 75349... Line 76395...
75349
      oprot.writeStructBegin(STRUCT_DESC);
76395
      oprot.writeStructBegin(STRUCT_DESC);
75350
      if (this.searchTerm != null) {
76396
      if (this.searchTerm != null) {
75351
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
76397
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
75352
        {
76398
        {
75353
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
76399
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
75354
          for (String _iter232 : this.searchTerm)
76400
          for (String _iter241 : this.searchTerm)
75355
          {
76401
          {
75356
            oprot.writeString(_iter232);
76402
            oprot.writeString(_iter241);
75357
          }
76403
          }
75358
          oprot.writeListEnd();
76404
          oprot.writeListEnd();
75359
        }
76405
        }
75360
        oprot.writeFieldEnd();
76406
        oprot.writeFieldEnd();
75361
      }
76407
      }
Line 75665... Line 76711...
75665
        }
76711
        }
75666
        switch (field.id) {
76712
        switch (field.id) {
75667
          case 0: // SUCCESS
76713
          case 0: // SUCCESS
75668
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76714
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
75669
              {
76715
              {
75670
                org.apache.thrift.protocol.TList _list233 = iprot.readListBegin();
76716
                org.apache.thrift.protocol.TList _list242 = iprot.readListBegin();
75671
                this.success = new ArrayList<Amazonlisted>(_list233.size);
76717
                this.success = new ArrayList<Amazonlisted>(_list242.size);
75672
                for (int _i234 = 0; _i234 < _list233.size; ++_i234)
76718
                for (int _i243 = 0; _i243 < _list242.size; ++_i243)
75673
                {
76719
                {
75674
                  Amazonlisted _elem235; // required
76720
                  Amazonlisted _elem244; // required
75675
                  _elem235 = new Amazonlisted();
76721
                  _elem244 = new Amazonlisted();
75676
                  _elem235.read(iprot);
76722
                  _elem244.read(iprot);
75677
                  this.success.add(_elem235);
76723
                  this.success.add(_elem244);
75678
                }
76724
                }
75679
                iprot.readListEnd();
76725
                iprot.readListEnd();
75680
              }
76726
              }
75681
            } else { 
76727
            } else { 
75682
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
76728
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 75696... Line 76742...
75696
 
76742
 
75697
      if (this.isSetSuccess()) {
76743
      if (this.isSetSuccess()) {
75698
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76744
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
75699
        {
76745
        {
75700
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
76746
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
75701
          for (Amazonlisted _iter236 : this.success)
76747
          for (Amazonlisted _iter245 : this.success)
75702
          {
76748
          {
75703
            _iter236.write(oprot);
76749
            _iter245.write(oprot);
75704
          }
76750
          }
75705
          oprot.writeListEnd();
76751
          oprot.writeListEnd();
75706
        }
76752
        }
75707
        oprot.writeFieldEnd();
76753
        oprot.writeFieldEnd();
75708
      }
76754
      }
Line 75996... Line 77042...
75996
        }
77042
        }
75997
        switch (field.id) {
77043
        switch (field.id) {
75998
          case 1: // SEARCH_TERM
77044
          case 1: // SEARCH_TERM
75999
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77045
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76000
              {
77046
              {
76001
                org.apache.thrift.protocol.TList _list237 = iprot.readListBegin();
77047
                org.apache.thrift.protocol.TList _list246 = iprot.readListBegin();
76002
                this.searchTerm = new ArrayList<String>(_list237.size);
77048
                this.searchTerm = new ArrayList<String>(_list246.size);
76003
                for (int _i238 = 0; _i238 < _list237.size; ++_i238)
77049
                for (int _i247 = 0; _i247 < _list246.size; ++_i247)
76004
                {
77050
                {
76005
                  String _elem239; // required
77051
                  String _elem248; // required
76006
                  _elem239 = iprot.readString();
77052
                  _elem248 = iprot.readString();
76007
                  this.searchTerm.add(_elem239);
77053
                  this.searchTerm.add(_elem248);
76008
                }
77054
                }
76009
                iprot.readListEnd();
77055
                iprot.readListEnd();
76010
              }
77056
              }
76011
            } else { 
77057
            } else { 
76012
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77058
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 76027... Line 77073...
76027
      oprot.writeStructBegin(STRUCT_DESC);
77073
      oprot.writeStructBegin(STRUCT_DESC);
76028
      if (this.searchTerm != null) {
77074
      if (this.searchTerm != null) {
76029
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
77075
        oprot.writeFieldBegin(SEARCH_TERM_FIELD_DESC);
76030
        {
77076
        {
76031
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
77077
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerm.size()));
76032
          for (String _iter240 : this.searchTerm)
77078
          for (String _iter249 : this.searchTerm)
76033
          {
77079
          {
76034
            oprot.writeString(_iter240);
77080
            oprot.writeString(_iter249);
76035
          }
77081
          }
76036
          oprot.writeListEnd();
77082
          oprot.writeListEnd();
76037
        }
77083
        }
76038
        oprot.writeFieldEnd();
77084
        oprot.writeFieldEnd();
76039
      }
77085
      }
Line 78889... Line 79935...
78889
        }
79935
        }
78890
        switch (field.id) {
79936
        switch (field.id) {
78891
          case 0: // SUCCESS
79937
          case 0: // SUCCESS
78892
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79938
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78893
              {
79939
              {
78894
                org.apache.thrift.protocol.TList _list241 = iprot.readListBegin();
79940
                org.apache.thrift.protocol.TList _list250 = iprot.readListBegin();
78895
                this.success = new ArrayList<Item>(_list241.size);
79941
                this.success = new ArrayList<Item>(_list250.size);
78896
                for (int _i242 = 0; _i242 < _list241.size; ++_i242)
79942
                for (int _i251 = 0; _i251 < _list250.size; ++_i251)
78897
                {
79943
                {
78898
                  Item _elem243; // required
79944
                  Item _elem252; // required
78899
                  _elem243 = new Item();
79945
                  _elem252 = new Item();
78900
                  _elem243.read(iprot);
79946
                  _elem252.read(iprot);
78901
                  this.success.add(_elem243);
79947
                  this.success.add(_elem252);
78902
                }
79948
                }
78903
                iprot.readListEnd();
79949
                iprot.readListEnd();
78904
              }
79950
              }
78905
            } else { 
79951
            } else { 
78906
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79952
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78920... Line 79966...
78920
 
79966
 
78921
      if (this.isSetSuccess()) {
79967
      if (this.isSetSuccess()) {
78922
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79968
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78923
        {
79969
        {
78924
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79970
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78925
          for (Item _iter244 : this.success)
79971
          for (Item _iter253 : this.success)
78926
          {
79972
          {
78927
            _iter244.write(oprot);
79973
            _iter253.write(oprot);
78928
          }
79974
          }
78929
          oprot.writeListEnd();
79975
          oprot.writeListEnd();
78930
        }
79976
        }
78931
        oprot.writeFieldEnd();
79977
        oprot.writeFieldEnd();
78932
      }
79978
      }
Line 79420... Line 80466...
79420
        }
80466
        }
79421
        switch (field.id) {
80467
        switch (field.id) {
79422
          case 0: // SUCCESS
80468
          case 0: // SUCCESS
79423
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80469
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79424
              {
80470
              {
79425
                org.apache.thrift.protocol.TList _list245 = iprot.readListBegin();
80471
                org.apache.thrift.protocol.TList _list254 = iprot.readListBegin();
79426
                this.success = new ArrayList<Amazonlisted>(_list245.size);
80472
                this.success = new ArrayList<Amazonlisted>(_list254.size);
79427
                for (int _i246 = 0; _i246 < _list245.size; ++_i246)
80473
                for (int _i255 = 0; _i255 < _list254.size; ++_i255)
79428
                {
80474
                {
79429
                  Amazonlisted _elem247; // required
80475
                  Amazonlisted _elem256; // required
79430
                  _elem247 = new Amazonlisted();
80476
                  _elem256 = new Amazonlisted();
79431
                  _elem247.read(iprot);
80477
                  _elem256.read(iprot);
79432
                  this.success.add(_elem247);
80478
                  this.success.add(_elem256);
79433
                }
80479
                }
79434
                iprot.readListEnd();
80480
                iprot.readListEnd();
79435
              }
80481
              }
79436
            } else { 
80482
            } else { 
79437
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
80483
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79451... Line 80497...
79451
 
80497
 
79452
      if (this.isSetSuccess()) {
80498
      if (this.isSetSuccess()) {
79453
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80499
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79454
        {
80500
        {
79455
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80501
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79456
          for (Amazonlisted _iter248 : this.success)
80502
          for (Amazonlisted _iter257 : this.success)
79457
          {
80503
          {
79458
            _iter248.write(oprot);
80504
            _iter257.write(oprot);
79459
          }
80505
          }
79460
          oprot.writeListEnd();
80506
          oprot.writeListEnd();
79461
        }
80507
        }
79462
        oprot.writeFieldEnd();
80508
        oprot.writeFieldEnd();
79463
      }
80509
      }
Line 79951... Line 80997...
79951
        }
80997
        }
79952
        switch (field.id) {
80998
        switch (field.id) {
79953
          case 0: // SUCCESS
80999
          case 0: // SUCCESS
79954
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81000
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79955
              {
81001
              {
79956
                org.apache.thrift.protocol.TList _list249 = iprot.readListBegin();
81002
                org.apache.thrift.protocol.TList _list258 = iprot.readListBegin();
79957
                this.success = new ArrayList<Amazonlisted>(_list249.size);
81003
                this.success = new ArrayList<Amazonlisted>(_list258.size);
79958
                for (int _i250 = 0; _i250 < _list249.size; ++_i250)
81004
                for (int _i259 = 0; _i259 < _list258.size; ++_i259)
79959
                {
81005
                {
79960
                  Amazonlisted _elem251; // required
81006
                  Amazonlisted _elem260; // required
79961
                  _elem251 = new Amazonlisted();
81007
                  _elem260 = new Amazonlisted();
79962
                  _elem251.read(iprot);
81008
                  _elem260.read(iprot);
79963
                  this.success.add(_elem251);
81009
                  this.success.add(_elem260);
79964
                }
81010
                }
79965
                iprot.readListEnd();
81011
                iprot.readListEnd();
79966
              }
81012
              }
79967
            } else { 
81013
            } else { 
79968
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
81014
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79982... Line 81028...
79982
 
81028
 
79983
      if (this.isSetSuccess()) {
81029
      if (this.isSetSuccess()) {
79984
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
81030
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79985
        {
81031
        {
79986
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
81032
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79987
          for (Amazonlisted _iter252 : this.success)
81033
          for (Amazonlisted _iter261 : this.success)
79988
          {
81034
          {
79989
            _iter252.write(oprot);
81035
            _iter261.write(oprot);
79990
          }
81036
          }
79991
          oprot.writeListEnd();
81037
          oprot.writeListEnd();
79992
        }
81038
        }
79993
        oprot.writeFieldEnd();
81039
        oprot.writeFieldEnd();
79994
      }
81040
      }
Line 81181... Line 82227...
81181
            }
82227
            }
81182
            break;
82228
            break;
81183
          case 2: // SKU
82229
          case 2: // SKU
81184
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82230
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
81185
              {
82231
              {
81186
                org.apache.thrift.protocol.TList _list253 = iprot.readListBegin();
82232
                org.apache.thrift.protocol.TList _list262 = iprot.readListBegin();
81187
                this.sku = new ArrayList<Long>(_list253.size);
82233
                this.sku = new ArrayList<Long>(_list262.size);
81188
                for (int _i254 = 0; _i254 < _list253.size; ++_i254)
82234
                for (int _i263 = 0; _i263 < _list262.size; ++_i263)
81189
                {
82235
                {
81190
                  long _elem255; // required
82236
                  long _elem264; // required
81191
                  _elem255 = iprot.readI64();
82237
                  _elem264 = iprot.readI64();
81192
                  this.sku.add(_elem255);
82238
                  this.sku.add(_elem264);
81193
                }
82239
                }
81194
                iprot.readListEnd();
82240
                iprot.readListEnd();
81195
              }
82241
              }
81196
            } else { 
82242
            } else { 
81197
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82243
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 81225... Line 82271...
81225
      }
82271
      }
81226
      if (this.sku != null) {
82272
      if (this.sku != null) {
81227
        oprot.writeFieldBegin(SKU_FIELD_DESC);
82273
        oprot.writeFieldBegin(SKU_FIELD_DESC);
81228
        {
82274
        {
81229
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.sku.size()));
82275
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.sku.size()));
81230
          for (long _iter256 : this.sku)
82276
          for (long _iter265 : this.sku)
81231
          {
82277
          {
81232
            oprot.writeI64(_iter256);
82278
            oprot.writeI64(_iter265);
81233
          }
82279
          }
81234
          oprot.writeListEnd();
82280
          oprot.writeListEnd();
81235
        }
82281
        }
81236
        oprot.writeFieldEnd();
82282
        oprot.writeFieldEnd();
81237
      }
82283
      }
Line 82035... Line 83081...
82035
        }
83081
        }
82036
        switch (field.id) {
83082
        switch (field.id) {
82037
          case 0: // SUCCESS
83083
          case 0: // SUCCESS
82038
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
83084
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82039
              {
83085
              {
82040
                org.apache.thrift.protocol.TList _list257 = iprot.readListBegin();
83086
                org.apache.thrift.protocol.TList _list266 = iprot.readListBegin();
82041
                this.success = new ArrayList<Category>(_list257.size);
83087
                this.success = new ArrayList<Category>(_list266.size);
82042
                for (int _i258 = 0; _i258 < _list257.size; ++_i258)
83088
                for (int _i267 = 0; _i267 < _list266.size; ++_i267)
82043
                {
83089
                {
82044
                  Category _elem259; // required
83090
                  Category _elem268; // required
82045
                  _elem259 = new Category();
83091
                  _elem268 = new Category();
82046
                  _elem259.read(iprot);
83092
                  _elem268.read(iprot);
82047
                  this.success.add(_elem259);
83093
                  this.success.add(_elem268);
82048
                }
83094
                }
82049
                iprot.readListEnd();
83095
                iprot.readListEnd();
82050
              }
83096
              }
82051
            } else { 
83097
            } else { 
82052
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83098
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 82066... Line 83112...
82066
 
83112
 
82067
      if (this.isSetSuccess()) {
83113
      if (this.isSetSuccess()) {
82068
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
83114
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82069
        {
83115
        {
82070
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
83116
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82071
          for (Category _iter260 : this.success)
83117
          for (Category _iter269 : this.success)
82072
          {
83118
          {
82073
            _iter260.write(oprot);
83119
            _iter269.write(oprot);
82074
          }
83120
          }
82075
          oprot.writeListEnd();
83121
          oprot.writeListEnd();
82076
        }
83122
        }
82077
        oprot.writeFieldEnd();
83123
        oprot.writeFieldEnd();
82078
      }
83124
      }
Line 85307... Line 86353...
85307
        }
86353
        }
85308
        switch (field.id) {
86354
        switch (field.id) {
85309
          case 0: // SUCCESS
86355
          case 0: // SUCCESS
85310
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86356
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
85311
              {
86357
              {
85312
                org.apache.thrift.protocol.TList _list261 = iprot.readListBegin();
86358
                org.apache.thrift.protocol.TList _list270 = iprot.readListBegin();
85313
                this.success = new ArrayList<Amazonlisted>(_list261.size);
86359
                this.success = new ArrayList<Amazonlisted>(_list270.size);
85314
                for (int _i262 = 0; _i262 < _list261.size; ++_i262)
86360
                for (int _i271 = 0; _i271 < _list270.size; ++_i271)
85315
                {
86361
                {
85316
                  Amazonlisted _elem263; // required
86362
                  Amazonlisted _elem272; // required
85317
                  _elem263 = new Amazonlisted();
86363
                  _elem272 = new Amazonlisted();
85318
                  _elem263.read(iprot);
86364
                  _elem272.read(iprot);
85319
                  this.success.add(_elem263);
86365
                  this.success.add(_elem272);
85320
                }
86366
                }
85321
                iprot.readListEnd();
86367
                iprot.readListEnd();
85322
              }
86368
              }
85323
            } else { 
86369
            } else { 
85324
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86370
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85338... Line 86384...
85338
 
86384
 
85339
      if (this.isSetSuccess()) {
86385
      if (this.isSetSuccess()) {
85340
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86386
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
85341
        {
86387
        {
85342
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
86388
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
85343
          for (Amazonlisted _iter264 : this.success)
86389
          for (Amazonlisted _iter273 : this.success)
85344
          {
86390
          {
85345
            _iter264.write(oprot);
86391
            _iter273.write(oprot);
85346
          }
86392
          }
85347
          oprot.writeListEnd();
86393
          oprot.writeListEnd();
85348
        }
86394
        }
85349
        oprot.writeFieldEnd();
86395
        oprot.writeFieldEnd();
85350
      }
86396
      }
Line 85643... Line 86689...
85643
        }
86689
        }
85644
        switch (field.id) {
86690
        switch (field.id) {
85645
          case 1: // AMAZONLISTED
86691
          case 1: // AMAZONLISTED
85646
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
86692
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
85647
              {
86693
              {
85648
                org.apache.thrift.protocol.TMap _map265 = iprot.readMapBegin();
86694
                org.apache.thrift.protocol.TMap _map274 = iprot.readMapBegin();
85649
                this.amazonlisted = new HashMap<Long,Amazonlisted>(2*_map265.size);
86695
                this.amazonlisted = new HashMap<Long,Amazonlisted>(2*_map274.size);
85650
                for (int _i266 = 0; _i266 < _map265.size; ++_i266)
86696
                for (int _i275 = 0; _i275 < _map274.size; ++_i275)
85651
                {
86697
                {
85652
                  long _key267; // required
86698
                  long _key276; // required
85653
                  Amazonlisted _val268; // required
86699
                  Amazonlisted _val277; // required
85654
                  _key267 = iprot.readI64();
86700
                  _key276 = iprot.readI64();
85655
                  _val268 = new Amazonlisted();
86701
                  _val277 = new Amazonlisted();
85656
                  _val268.read(iprot);
86702
                  _val277.read(iprot);
85657
                  this.amazonlisted.put(_key267, _val268);
86703
                  this.amazonlisted.put(_key276, _val277);
85658
                }
86704
                }
85659
                iprot.readMapEnd();
86705
                iprot.readMapEnd();
85660
              }
86706
              }
85661
            } else { 
86707
            } else { 
85662
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
86708
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 85677... Line 86723...
85677
      oprot.writeStructBegin(STRUCT_DESC);
86723
      oprot.writeStructBegin(STRUCT_DESC);
85678
      if (this.amazonlisted != null) {
86724
      if (this.amazonlisted != null) {
85679
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
86725
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
85680
        {
86726
        {
85681
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.amazonlisted.size()));
86727
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.amazonlisted.size()));
85682
          for (Map.Entry<Long, Amazonlisted> _iter269 : this.amazonlisted.entrySet())
86728
          for (Map.Entry<Long, Amazonlisted> _iter278 : this.amazonlisted.entrySet())
85683
          {
86729
          {
85684
            oprot.writeI64(_iter269.getKey());
86730
            oprot.writeI64(_iter278.getKey());
85685
            _iter269.getValue().write(oprot);
86731
            _iter278.getValue().write(oprot);
85686
          }
86732
          }
85687
          oprot.writeMapEnd();
86733
          oprot.writeMapEnd();
85688
        }
86734
        }
85689
        oprot.writeFieldEnd();
86735
        oprot.writeFieldEnd();
85690
      }
86736
      }
Line 86471... Line 87517...
86471
        }
87517
        }
86472
        switch (field.id) {
87518
        switch (field.id) {
86473
          case 0: // SUCCESS
87519
          case 0: // SUCCESS
86474
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87520
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
86475
              {
87521
              {
86476
                org.apache.thrift.protocol.TList _list270 = iprot.readListBegin();
87522
                org.apache.thrift.protocol.TList _list279 = iprot.readListBegin();
86477
                this.success = new ArrayList<Amazonlisted>(_list270.size);
87523
                this.success = new ArrayList<Amazonlisted>(_list279.size);
86478
                for (int _i271 = 0; _i271 < _list270.size; ++_i271)
87524
                for (int _i280 = 0; _i280 < _list279.size; ++_i280)
86479
                {
87525
                {
86480
                  Amazonlisted _elem272; // required
87526
                  Amazonlisted _elem281; // required
86481
                  _elem272 = new Amazonlisted();
87527
                  _elem281 = new Amazonlisted();
86482
                  _elem272.read(iprot);
87528
                  _elem281.read(iprot);
86483
                  this.success.add(_elem272);
87529
                  this.success.add(_elem281);
86484
                }
87530
                }
86485
                iprot.readListEnd();
87531
                iprot.readListEnd();
86486
              }
87532
              }
86487
            } else { 
87533
            } else { 
86488
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
87534
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 86502... Line 87548...
86502
 
87548
 
86503
      if (this.isSetSuccess()) {
87549
      if (this.isSetSuccess()) {
86504
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87550
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
86505
        {
87551
        {
86506
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87552
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
86507
          for (Amazonlisted _iter273 : this.success)
87553
          for (Amazonlisted _iter282 : this.success)
86508
          {
87554
          {
86509
            _iter273.write(oprot);
87555
            _iter282.write(oprot);
86510
          }
87556
          }
86511
          oprot.writeListEnd();
87557
          oprot.writeListEnd();
86512
        }
87558
        }
86513
        oprot.writeFieldEnd();
87559
        oprot.writeFieldEnd();
86514
      }
87560
      }
Line 87002... Line 88048...
87002
        }
88048
        }
87003
        switch (field.id) {
88049
        switch (field.id) {
87004
          case 0: // SUCCESS
88050
          case 0: // SUCCESS
87005
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88051
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87006
              {
88052
              {
87007
                org.apache.thrift.protocol.TList _list274 = iprot.readListBegin();
88053
                org.apache.thrift.protocol.TList _list283 = iprot.readListBegin();
87008
                this.success = new ArrayList<Amazonlisted>(_list274.size);
88054
                this.success = new ArrayList<Amazonlisted>(_list283.size);
87009
                for (int _i275 = 0; _i275 < _list274.size; ++_i275)
88055
                for (int _i284 = 0; _i284 < _list283.size; ++_i284)
87010
                {
88056
                {
87011
                  Amazonlisted _elem276; // required
88057
                  Amazonlisted _elem285; // required
87012
                  _elem276 = new Amazonlisted();
88058
                  _elem285 = new Amazonlisted();
87013
                  _elem276.read(iprot);
88059
                  _elem285.read(iprot);
87014
                  this.success.add(_elem276);
88060
                  this.success.add(_elem285);
87015
                }
88061
                }
87016
                iprot.readListEnd();
88062
                iprot.readListEnd();
87017
              }
88063
              }
87018
            } else { 
88064
            } else { 
87019
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88065
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 87033... Line 88079...
87033
 
88079
 
87034
      if (this.isSetSuccess()) {
88080
      if (this.isSetSuccess()) {
87035
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88081
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87036
        {
88082
        {
87037
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
88083
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87038
          for (Amazonlisted _iter277 : this.success)
88084
          for (Amazonlisted _iter286 : this.success)
87039
          {
88085
          {
87040
            _iter277.write(oprot);
88086
            _iter286.write(oprot);
87041
          }
88087
          }
87042
          oprot.writeListEnd();
88088
          oprot.writeListEnd();
87043
        }
88089
        }
87044
        oprot.writeFieldEnd();
88090
        oprot.writeFieldEnd();
87045
      }
88091
      }
Line 87533... Line 88579...
87533
        }
88579
        }
87534
        switch (field.id) {
88580
        switch (field.id) {
87535
          case 0: // SUCCESS
88581
          case 0: // SUCCESS
87536
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
88582
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
87537
              {
88583
              {
87538
                org.apache.thrift.protocol.TList _list278 = iprot.readListBegin();
88584
                org.apache.thrift.protocol.TList _list287 = iprot.readListBegin();
87539
                this.success = new ArrayList<Item>(_list278.size);
88585
                this.success = new ArrayList<Item>(_list287.size);
87540
                for (int _i279 = 0; _i279 < _list278.size; ++_i279)
88586
                for (int _i288 = 0; _i288 < _list287.size; ++_i288)
87541
                {
88587
                {
87542
                  Item _elem280; // required
88588
                  Item _elem289; // required
87543
                  _elem280 = new Item();
88589
                  _elem289 = new Item();
87544
                  _elem280.read(iprot);
88590
                  _elem289.read(iprot);
87545
                  this.success.add(_elem280);
88591
                  this.success.add(_elem289);
87546
                }
88592
                }
87547
                iprot.readListEnd();
88593
                iprot.readListEnd();
87548
              }
88594
              }
87549
            } else { 
88595
            } else { 
87550
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88596
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 87564... Line 88610...
87564
 
88610
 
87565
      if (this.isSetSuccess()) {
88611
      if (this.isSetSuccess()) {
87566
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
88612
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
87567
        {
88613
        {
87568
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
88614
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
87569
          for (Item _iter281 : this.success)
88615
          for (Item _iter290 : this.success)
87570
          {
88616
          {
87571
            _iter281.write(oprot);
88617
            _iter290.write(oprot);
87572
          }
88618
          }
87573
          oprot.writeListEnd();
88619
          oprot.writeListEnd();
87574
        }
88620
        }
87575
        oprot.writeFieldEnd();
88621
        oprot.writeFieldEnd();
87576
      }
88622
      }
Line 87869... Line 88915...
87869
        }
88915
        }
87870
        switch (field.id) {
88916
        switch (field.id) {
87871
          case 1: // ITEM
88917
          case 1: // ITEM
87872
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
88918
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
87873
              {
88919
              {
87874
                org.apache.thrift.protocol.TMap _map282 = iprot.readMapBegin();
88920
                org.apache.thrift.protocol.TMap _map291 = iprot.readMapBegin();
87875
                this.item = new HashMap<Long,Item>(2*_map282.size);
88921
                this.item = new HashMap<Long,Item>(2*_map291.size);
87876
                for (int _i283 = 0; _i283 < _map282.size; ++_i283)
88922
                for (int _i292 = 0; _i292 < _map291.size; ++_i292)
87877
                {
88923
                {
87878
                  long _key284; // required
88924
                  long _key293; // required
87879
                  Item _val285; // required
88925
                  Item _val294; // required
87880
                  _key284 = iprot.readI64();
88926
                  _key293 = iprot.readI64();
87881
                  _val285 = new Item();
88927
                  _val294 = new Item();
87882
                  _val285.read(iprot);
88928
                  _val294.read(iprot);
87883
                  this.item.put(_key284, _val285);
88929
                  this.item.put(_key293, _val294);
87884
                }
88930
                }
87885
                iprot.readMapEnd();
88931
                iprot.readMapEnd();
87886
              }
88932
              }
87887
            } else { 
88933
            } else { 
87888
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
88934
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 87903... Line 88949...
87903
      oprot.writeStructBegin(STRUCT_DESC);
88949
      oprot.writeStructBegin(STRUCT_DESC);
87904
      if (this.item != null) {
88950
      if (this.item != null) {
87905
        oprot.writeFieldBegin(ITEM_FIELD_DESC);
88951
        oprot.writeFieldBegin(ITEM_FIELD_DESC);
87906
        {
88952
        {
87907
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.item.size()));
88953
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.item.size()));
87908
          for (Map.Entry<Long, Item> _iter286 : this.item.entrySet())
88954
          for (Map.Entry<Long, Item> _iter295 : this.item.entrySet())
87909
          {
88955
          {
87910
            oprot.writeI64(_iter286.getKey());
88956
            oprot.writeI64(_iter295.getKey());
87911
            _iter286.getValue().write(oprot);
88957
            _iter295.getValue().write(oprot);
87912
          }
88958
          }
87913
          oprot.writeMapEnd();
88959
          oprot.writeMapEnd();
87914
        }
88960
        }
87915
        oprot.writeFieldEnd();
88961
        oprot.writeFieldEnd();
87916
      }
88962
      }
Line 89779... Line 90825...
89779
        }
90825
        }
89780
        switch (field.id) {
90826
        switch (field.id) {
89781
          case 0: // SUCCESS
90827
          case 0: // SUCCESS
89782
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
90828
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
89783
              {
90829
              {
89784
                org.apache.thrift.protocol.TList _list287 = iprot.readListBegin();
90830
                org.apache.thrift.protocol.TList _list296 = iprot.readListBegin();
89785
                this.success = new ArrayList<SnapdealItem>(_list287.size);
90831
                this.success = new ArrayList<SnapdealItem>(_list296.size);
89786
                for (int _i288 = 0; _i288 < _list287.size; ++_i288)
90832
                for (int _i297 = 0; _i297 < _list296.size; ++_i297)
89787
                {
90833
                {
89788
                  SnapdealItem _elem289; // required
90834
                  SnapdealItem _elem298; // required
89789
                  _elem289 = new SnapdealItem();
90835
                  _elem298 = new SnapdealItem();
89790
                  _elem289.read(iprot);
90836
                  _elem298.read(iprot);
89791
                  this.success.add(_elem289);
90837
                  this.success.add(_elem298);
89792
                }
90838
                }
89793
                iprot.readListEnd();
90839
                iprot.readListEnd();
89794
              }
90840
              }
89795
            } else { 
90841
            } else { 
89796
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
90842
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 89810... Line 90856...
89810
 
90856
 
89811
      if (this.isSetSuccess()) {
90857
      if (this.isSetSuccess()) {
89812
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
90858
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
89813
        {
90859
        {
89814
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
90860
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
89815
          for (SnapdealItem _iter290 : this.success)
90861
          for (SnapdealItem _iter299 : this.success)
89816
          {
90862
          {
89817
            _iter290.write(oprot);
90863
            _iter299.write(oprot);
89818
          }
90864
          }
89819
          oprot.writeListEnd();
90865
          oprot.writeListEnd();
89820
        }
90866
        }
89821
        oprot.writeFieldEnd();
90867
        oprot.writeFieldEnd();
89822
      }
90868
      }