Subversion Repositories SmartDukaan

Rev

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

Rev 8379 Rev 8579
Line 173... Line 173...
173
 
173
 
174
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
174
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
175
 
175
 
176
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException;
176
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException;
177
 
177
 
-
 
178
    /**
-
 
179
     * Banner Related
-
 
180
     * 
-
 
181
     * @param banner
-
 
182
     */
178
    public boolean addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap) throws org.apache.thrift.TException;
183
    public boolean addBanner(Banner banner) throws org.apache.thrift.TException;
179
 
184
 
-
 
185
    public boolean updateBanner(Banner banner) throws org.apache.thrift.TException;
-
 
186
 
180
    public List<String> getAllBanners() throws org.apache.thrift.TException;
187
    public List<Banner> getAllBanners() throws org.apache.thrift.TException;
181
 
188
 
182
    public boolean deleteBanner(String bannerName) throws org.apache.thrift.TException;
189
    public boolean deleteBanner(String bannerName) throws org.apache.thrift.TException;
183
 
190
 
184
    public Banner getBannerDetails(String bannerName) throws org.apache.thrift.TException;
191
    public Banner getBannerDetails(String bannerName) throws org.apache.thrift.TException;
185
 
192
 
186
    public List<Banner> getActiveBanners() throws org.apache.thrift.TException;
193
    public Map<String,List<Banner>> getActiveBanners() throws org.apache.thrift.TException;
-
 
194
 
-
 
195
    public boolean addBannerMap(List<BannerMap> bannerMaps) throws org.apache.thrift.TException;
187
 
196
 
188
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException;
197
    public boolean updateBannerMap(BannerMap bannerMap) throws org.apache.thrift.TException;
189
 
198
 
190
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException;
199
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException;
191
 
200
 
192
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException;
201
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException;
193
 
202
 
-
 
203
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings) throws org.apache.thrift.TException;
-
 
204
 
-
 
205
    public List<BannerUriMapping> getUriMapping(String bannerName) throws org.apache.thrift.TException;
-
 
206
 
-
 
207
    public void addCampaign(Campaign campaign) throws org.apache.thrift.TException;
-
 
208
 
-
 
209
    public List<Campaign> getCampaigns(String campaignName) throws org.apache.thrift.TException;
-
 
210
 
-
 
211
    public void deleteCampaign(long campaignId) throws org.apache.thrift.TException;
-
 
212
 
-
 
213
    public List<String> getAllCampaigns() throws org.apache.thrift.TException;
-
 
214
 
194
    /**
215
    /**
195
     * Delete similar item.
216
     * Delete similar item.
196
     * 
217
     * 
197
     * @param itemId
218
     * @param itemId
198
     * @param catalogItemId
219
     * @param catalogItemId
Line 519... Line 540...
519
 
540
 
520
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
541
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
521
 
542
 
522
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException;
543
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException;
523
 
544
 
524
    public void addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBanner_call> resultHandler) throws org.apache.thrift.TException;
545
    public void addBanner(Banner banner, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBanner_call> resultHandler) throws org.apache.thrift.TException;
-
 
546
 
-
 
547
    public void updateBanner(Banner banner, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateBanner_call> resultHandler) throws org.apache.thrift.TException;
525
 
548
 
526
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllBanners_call> resultHandler) throws org.apache.thrift.TException;
549
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllBanners_call> resultHandler) throws org.apache.thrift.TException;
527
 
550
 
528
    public void deleteBanner(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBanner_call> resultHandler) throws org.apache.thrift.TException;
551
    public void deleteBanner(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBanner_call> resultHandler) throws org.apache.thrift.TException;
529
 
552
 
530
    public void getBannerDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerDetails_call> resultHandler) throws org.apache.thrift.TException;
553
    public void getBannerDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerDetails_call> resultHandler) throws org.apache.thrift.TException;
531
 
554
 
532
    public void getActiveBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveBanners_call> resultHandler) throws org.apache.thrift.TException;
555
    public void getActiveBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveBanners_call> resultHandler) throws org.apache.thrift.TException;
533
 
556
 
534
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerMap_call> resultHandler) throws org.apache.thrift.TException;
557
    public void addBannerMap(List<BannerMap> bannerMaps, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerMap_call> resultHandler) throws org.apache.thrift.TException;
-
 
558
 
-
 
559
    public void updateBannerMap(BannerMap bannerMap, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateBannerMap_call> resultHandler) throws org.apache.thrift.TException;
535
 
560
 
536
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException;
561
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException;
537
 
562
 
538
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException;
563
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException;
539
 
564
 
-
 
565
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerUri_call> resultHandler) throws org.apache.thrift.TException;
-
 
566
 
-
 
567
    public void getUriMapping(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUriMapping_call> resultHandler) throws org.apache.thrift.TException;
-
 
568
 
-
 
569
    public void addCampaign(Campaign campaign, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCampaign_call> resultHandler) throws org.apache.thrift.TException;
-
 
570
 
-
 
571
    public void getCampaigns(String campaignName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCampaigns_call> resultHandler) throws org.apache.thrift.TException;
-
 
572
 
-
 
573
    public void deleteCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteCampaign_call> resultHandler) throws org.apache.thrift.TException;
-
 
574
 
-
 
575
    public void getAllCampaigns(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllCampaigns_call> resultHandler) throws org.apache.thrift.TException;
-
 
576
 
540
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
577
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
541
 
578
 
542
    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;
579
    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;
543
 
580
 
544
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
581
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 1713... Line 1750...
1713
        return result.success;
1750
        return result.success;
1714
      }
1751
      }
1715
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
1752
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
1716
    }
1753
    }
1717
 
1754
 
1718
    public boolean addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap) throws org.apache.thrift.TException
1755
    public boolean addBanner(Banner banner) throws org.apache.thrift.TException
1719
    {
1756
    {
1720
      send_addBanner(bannerName, imageName, link, priority, isActive, hasMap);
1757
      send_addBanner(banner);
1721
      return recv_addBanner();
1758
      return recv_addBanner();
1722
    }
1759
    }
1723
 
1760
 
1724
    public void send_addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap) throws org.apache.thrift.TException
1761
    public void send_addBanner(Banner banner) throws org.apache.thrift.TException
1725
    {
1762
    {
1726
      addBanner_args args = new addBanner_args();
1763
      addBanner_args args = new addBanner_args();
1727
      args.setBannerName(bannerName);
1764
      args.setBanner(banner);
1728
      args.setImageName(imageName);
-
 
1729
      args.setLink(link);
-
 
1730
      args.setPriority(priority);
-
 
1731
      args.setIsActive(isActive);
-
 
1732
      args.setHasMap(hasMap);
-
 
1733
      sendBase("addBanner", args);
1765
      sendBase("addBanner", args);
1734
    }
1766
    }
1735
 
1767
 
1736
    public boolean recv_addBanner() throws org.apache.thrift.TException
1768
    public boolean recv_addBanner() throws org.apache.thrift.TException
1737
    {
1769
    {
Line 1741... Line 1773...
1741
        return result.success;
1773
        return result.success;
1742
      }
1774
      }
1743
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
1775
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
1744
    }
1776
    }
1745
 
1777
 
-
 
1778
    public boolean updateBanner(Banner banner) throws org.apache.thrift.TException
-
 
1779
    {
-
 
1780
      send_updateBanner(banner);
-
 
1781
      return recv_updateBanner();
-
 
1782
    }
-
 
1783
 
-
 
1784
    public void send_updateBanner(Banner banner) throws org.apache.thrift.TException
-
 
1785
    {
-
 
1786
      updateBanner_args args = new updateBanner_args();
-
 
1787
      args.setBanner(banner);
-
 
1788
      sendBase("updateBanner", args);
-
 
1789
    }
-
 
1790
 
-
 
1791
    public boolean recv_updateBanner() throws org.apache.thrift.TException
-
 
1792
    {
-
 
1793
      updateBanner_result result = new updateBanner_result();
-
 
1794
      receiveBase(result, "updateBanner");
-
 
1795
      if (result.isSetSuccess()) {
-
 
1796
        return result.success;
-
 
1797
      }
-
 
1798
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
-
 
1799
    }
-
 
1800
 
1746
    public List<String> getAllBanners() throws org.apache.thrift.TException
1801
    public List<Banner> getAllBanners() throws org.apache.thrift.TException
1747
    {
1802
    {
1748
      send_getAllBanners();
1803
      send_getAllBanners();
1749
      return recv_getAllBanners();
1804
      return recv_getAllBanners();
1750
    }
1805
    }
1751
 
1806
 
Line 1753... Line 1808...
1753
    {
1808
    {
1754
      getAllBanners_args args = new getAllBanners_args();
1809
      getAllBanners_args args = new getAllBanners_args();
1755
      sendBase("getAllBanners", args);
1810
      sendBase("getAllBanners", args);
1756
    }
1811
    }
1757
 
1812
 
1758
    public List<String> recv_getAllBanners() throws org.apache.thrift.TException
1813
    public List<Banner> recv_getAllBanners() throws org.apache.thrift.TException
1759
    {
1814
    {
1760
      getAllBanners_result result = new getAllBanners_result();
1815
      getAllBanners_result result = new getAllBanners_result();
1761
      receiveBase(result, "getAllBanners");
1816
      receiveBase(result, "getAllBanners");
1762
      if (result.isSetSuccess()) {
1817
      if (result.isSetSuccess()) {
1763
        return result.success;
1818
        return result.success;
Line 1809... Line 1864...
1809
        return result.success;
1864
        return result.success;
1810
      }
1865
      }
1811
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
1866
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
1812
    }
1867
    }
1813
 
1868
 
1814
    public List<Banner> getActiveBanners() throws org.apache.thrift.TException
1869
    public Map<String,List<Banner>> getActiveBanners() throws org.apache.thrift.TException
1815
    {
1870
    {
1816
      send_getActiveBanners();
1871
      send_getActiveBanners();
1817
      return recv_getActiveBanners();
1872
      return recv_getActiveBanners();
1818
    }
1873
    }
1819
 
1874
 
Line 1821... Line 1876...
1821
    {
1876
    {
1822
      getActiveBanners_args args = new getActiveBanners_args();
1877
      getActiveBanners_args args = new getActiveBanners_args();
1823
      sendBase("getActiveBanners", args);
1878
      sendBase("getActiveBanners", args);
1824
    }
1879
    }
1825
 
1880
 
1826
    public List<Banner> recv_getActiveBanners() throws org.apache.thrift.TException
1881
    public Map<String,List<Banner>> recv_getActiveBanners() throws org.apache.thrift.TException
1827
    {
1882
    {
1828
      getActiveBanners_result result = new getActiveBanners_result();
1883
      getActiveBanners_result result = new getActiveBanners_result();
1829
      receiveBase(result, "getActiveBanners");
1884
      receiveBase(result, "getActiveBanners");
1830
      if (result.isSetSuccess()) {
1885
      if (result.isSetSuccess()) {
1831
        return result.success;
1886
        return result.success;
1832
      }
1887
      }
1833
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
1888
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
1834
    }
1889
    }
1835
 
1890
 
1836
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException
1891
    public boolean addBannerMap(List<BannerMap> bannerMaps) throws org.apache.thrift.TException
1837
    {
1892
    {
1838
      send_addBannerMap(bannerName, mapLink, coordinates);
1893
      send_addBannerMap(bannerMaps);
1839
      return recv_addBannerMap();
1894
      return recv_addBannerMap();
1840
    }
1895
    }
1841
 
1896
 
1842
    public void send_addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException
1897
    public void send_addBannerMap(List<BannerMap> bannerMaps) throws org.apache.thrift.TException
1843
    {
1898
    {
1844
      addBannerMap_args args = new addBannerMap_args();
1899
      addBannerMap_args args = new addBannerMap_args();
1845
      args.setBannerName(bannerName);
1900
      args.setBannerMaps(bannerMaps);
1846
      args.setMapLink(mapLink);
-
 
1847
      args.setCoordinates(coordinates);
-
 
1848
      sendBase("addBannerMap", args);
1901
      sendBase("addBannerMap", args);
1849
    }
1902
    }
1850
 
1903
 
1851
    public boolean recv_addBannerMap() throws org.apache.thrift.TException
1904
    public boolean recv_addBannerMap() throws org.apache.thrift.TException
1852
    {
1905
    {
Line 1856... Line 1909...
1856
        return result.success;
1909
        return result.success;
1857
      }
1910
      }
1858
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
1911
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
1859
    }
1912
    }
1860
 
1913
 
-
 
1914
    public boolean updateBannerMap(BannerMap bannerMap) throws org.apache.thrift.TException
-
 
1915
    {
-
 
1916
      send_updateBannerMap(bannerMap);
-
 
1917
      return recv_updateBannerMap();
-
 
1918
    }
-
 
1919
 
-
 
1920
    public void send_updateBannerMap(BannerMap bannerMap) throws org.apache.thrift.TException
-
 
1921
    {
-
 
1922
      updateBannerMap_args args = new updateBannerMap_args();
-
 
1923
      args.setBannerMap(bannerMap);
-
 
1924
      sendBase("updateBannerMap", args);
-
 
1925
    }
-
 
1926
 
-
 
1927
    public boolean recv_updateBannerMap() throws org.apache.thrift.TException
-
 
1928
    {
-
 
1929
      updateBannerMap_result result = new updateBannerMap_result();
-
 
1930
      receiveBase(result, "updateBannerMap");
-
 
1931
      if (result.isSetSuccess()) {
-
 
1932
        return result.success;
-
 
1933
      }
-
 
1934
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
-
 
1935
    }
-
 
1936
 
1861
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException
1937
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException
1862
    {
1938
    {
1863
      send_deleteBannerMap(bannerName);
1939
      send_deleteBannerMap(bannerName);
1864
      return recv_deleteBannerMap();
1940
      return recv_deleteBannerMap();
1865
    }
1941
    }
Line 1902... Line 1978...
1902
        return result.success;
1978
        return result.success;
1903
      }
1979
      }
1904
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
1980
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
1905
    }
1981
    }
1906
 
1982
 
-
 
1983
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings) throws org.apache.thrift.TException
-
 
1984
    {
-
 
1985
      send_addBannerUri(bannerUriMappings);
-
 
1986
      recv_addBannerUri();
-
 
1987
    }
-
 
1988
 
-
 
1989
    public void send_addBannerUri(List<BannerUriMapping> bannerUriMappings) throws org.apache.thrift.TException
-
 
1990
    {
-
 
1991
      addBannerUri_args args = new addBannerUri_args();
-
 
1992
      args.setBannerUriMappings(bannerUriMappings);
-
 
1993
      sendBase("addBannerUri", args);
-
 
1994
    }
-
 
1995
 
-
 
1996
    public void recv_addBannerUri() throws org.apache.thrift.TException
-
 
1997
    {
-
 
1998
      addBannerUri_result result = new addBannerUri_result();
-
 
1999
      receiveBase(result, "addBannerUri");
-
 
2000
      return;
-
 
2001
    }
-
 
2002
 
-
 
2003
    public List<BannerUriMapping> getUriMapping(String bannerName) throws org.apache.thrift.TException
-
 
2004
    {
-
 
2005
      send_getUriMapping(bannerName);
-
 
2006
      return recv_getUriMapping();
-
 
2007
    }
-
 
2008
 
-
 
2009
    public void send_getUriMapping(String bannerName) throws org.apache.thrift.TException
-
 
2010
    {
-
 
2011
      getUriMapping_args args = new getUriMapping_args();
-
 
2012
      args.setBannerName(bannerName);
-
 
2013
      sendBase("getUriMapping", args);
-
 
2014
    }
-
 
2015
 
-
 
2016
    public List<BannerUriMapping> recv_getUriMapping() throws org.apache.thrift.TException
-
 
2017
    {
-
 
2018
      getUriMapping_result result = new getUriMapping_result();
-
 
2019
      receiveBase(result, "getUriMapping");
-
 
2020
      if (result.isSetSuccess()) {
-
 
2021
        return result.success;
-
 
2022
      }
-
 
2023
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
-
 
2024
    }
-
 
2025
 
-
 
2026
    public void addCampaign(Campaign campaign) throws org.apache.thrift.TException
-
 
2027
    {
-
 
2028
      send_addCampaign(campaign);
-
 
2029
      recv_addCampaign();
-
 
2030
    }
-
 
2031
 
-
 
2032
    public void send_addCampaign(Campaign campaign) throws org.apache.thrift.TException
-
 
2033
    {
-
 
2034
      addCampaign_args args = new addCampaign_args();
-
 
2035
      args.setCampaign(campaign);
-
 
2036
      sendBase("addCampaign", args);
-
 
2037
    }
-
 
2038
 
-
 
2039
    public void recv_addCampaign() throws org.apache.thrift.TException
-
 
2040
    {
-
 
2041
      addCampaign_result result = new addCampaign_result();
-
 
2042
      receiveBase(result, "addCampaign");
-
 
2043
      return;
-
 
2044
    }
-
 
2045
 
-
 
2046
    public List<Campaign> getCampaigns(String campaignName) throws org.apache.thrift.TException
-
 
2047
    {
-
 
2048
      send_getCampaigns(campaignName);
-
 
2049
      return recv_getCampaigns();
-
 
2050
    }
-
 
2051
 
-
 
2052
    public void send_getCampaigns(String campaignName) throws org.apache.thrift.TException
-
 
2053
    {
-
 
2054
      getCampaigns_args args = new getCampaigns_args();
-
 
2055
      args.setCampaignName(campaignName);
-
 
2056
      sendBase("getCampaigns", args);
-
 
2057
    }
-
 
2058
 
-
 
2059
    public List<Campaign> recv_getCampaigns() throws org.apache.thrift.TException
-
 
2060
    {
-
 
2061
      getCampaigns_result result = new getCampaigns_result();
-
 
2062
      receiveBase(result, "getCampaigns");
-
 
2063
      if (result.isSetSuccess()) {
-
 
2064
        return result.success;
-
 
2065
      }
-
 
2066
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
-
 
2067
    }
-
 
2068
 
-
 
2069
    public void deleteCampaign(long campaignId) throws org.apache.thrift.TException
-
 
2070
    {
-
 
2071
      send_deleteCampaign(campaignId);
-
 
2072
      recv_deleteCampaign();
-
 
2073
    }
-
 
2074
 
-
 
2075
    public void send_deleteCampaign(long campaignId) throws org.apache.thrift.TException
-
 
2076
    {
-
 
2077
      deleteCampaign_args args = new deleteCampaign_args();
-
 
2078
      args.setCampaignId(campaignId);
-
 
2079
      sendBase("deleteCampaign", args);
-
 
2080
    }
-
 
2081
 
-
 
2082
    public void recv_deleteCampaign() throws org.apache.thrift.TException
-
 
2083
    {
-
 
2084
      deleteCampaign_result result = new deleteCampaign_result();
-
 
2085
      receiveBase(result, "deleteCampaign");
-
 
2086
      return;
-
 
2087
    }
-
 
2088
 
-
 
2089
    public List<String> getAllCampaigns() throws org.apache.thrift.TException
-
 
2090
    {
-
 
2091
      send_getAllCampaigns();
-
 
2092
      return recv_getAllCampaigns();
-
 
2093
    }
-
 
2094
 
-
 
2095
    public void send_getAllCampaigns() throws org.apache.thrift.TException
-
 
2096
    {
-
 
2097
      getAllCampaigns_args args = new getAllCampaigns_args();
-
 
2098
      sendBase("getAllCampaigns", args);
-
 
2099
    }
-
 
2100
 
-
 
2101
    public List<String> recv_getAllCampaigns() throws org.apache.thrift.TException
-
 
2102
    {
-
 
2103
      getAllCampaigns_result result = new getAllCampaigns_result();
-
 
2104
      receiveBase(result, "getAllCampaigns");
-
 
2105
      if (result.isSetSuccess()) {
-
 
2106
        return result.success;
-
 
2107
      }
-
 
2108
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
-
 
2109
    }
-
 
2110
 
1907
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
2111
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
1908
    {
2112
    {
1909
      send_deleteSimilarItem(itemId, catalogItemId);
2113
      send_deleteSimilarItem(itemId, catalogItemId);
1910
      return recv_deleteSimilarItem();
2114
      return recv_deleteSimilarItem();
1911
    }
2115
    }
Line 4665... Line 4869...
4665
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4869
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4666
        return (new Client(prot)).recv_getAllEntityTags();
4870
        return (new Client(prot)).recv_getAllEntityTags();
4667
      }
4871
      }
4668
    }
4872
    }
4669
 
4873
 
4670
    public void addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap, org.apache.thrift.async.AsyncMethodCallback<addBanner_call> resultHandler) throws org.apache.thrift.TException {
4874
    public void addBanner(Banner banner, org.apache.thrift.async.AsyncMethodCallback<addBanner_call> resultHandler) throws org.apache.thrift.TException {
4671
      checkReady();
4875
      checkReady();
4672
      addBanner_call method_call = new addBanner_call(bannerName, imageName, link, priority, isActive, hasMap, resultHandler, this, ___protocolFactory, ___transport);
4876
      addBanner_call method_call = new addBanner_call(banner, resultHandler, this, ___protocolFactory, ___transport);
4673
      this.___currentMethod = method_call;
4877
      this.___currentMethod = method_call;
4674
      ___manager.call(method_call);
4878
      ___manager.call(method_call);
4675
    }
4879
    }
4676
 
4880
 
4677
    public static class addBanner_call extends org.apache.thrift.async.TAsyncMethodCall {
4881
    public static class addBanner_call extends org.apache.thrift.async.TAsyncMethodCall {
4678
      private String bannerName;
4882
      private Banner banner;
4679
      private String imageName;
-
 
4680
      private String link;
-
 
4681
      private long priority;
-
 
4682
      private boolean isActive;
-
 
4683
      private boolean hasMap;
-
 
4684
      public addBanner_call(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap, org.apache.thrift.async.AsyncMethodCallback<addBanner_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 {
4883
      public addBanner_call(Banner banner, org.apache.thrift.async.AsyncMethodCallback<addBanner_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 {
4685
        super(client, protocolFactory, transport, resultHandler, false);
4884
        super(client, protocolFactory, transport, resultHandler, false);
4686
        this.bannerName = bannerName;
4885
        this.banner = banner;
4687
        this.imageName = imageName;
-
 
4688
        this.link = link;
-
 
4689
        this.priority = priority;
-
 
4690
        this.isActive = isActive;
-
 
4691
        this.hasMap = hasMap;
-
 
4692
      }
4886
      }
4693
 
4887
 
4694
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
4888
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
4695
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
4889
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
4696
        addBanner_args args = new addBanner_args();
4890
        addBanner_args args = new addBanner_args();
4697
        args.setBannerName(bannerName);
4891
        args.setBanner(banner);
4698
        args.setImageName(imageName);
-
 
4699
        args.setLink(link);
-
 
4700
        args.setPriority(priority);
-
 
4701
        args.setIsActive(isActive);
-
 
4702
        args.setHasMap(hasMap);
-
 
4703
        args.write(prot);
4892
        args.write(prot);
4704
        prot.writeMessageEnd();
4893
        prot.writeMessageEnd();
4705
      }
4894
      }
4706
 
4895
 
4707
      public boolean getResult() throws org.apache.thrift.TException {
4896
      public boolean getResult() throws org.apache.thrift.TException {
Line 4712... Line 4901...
4712
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4901
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4713
        return (new Client(prot)).recv_addBanner();
4902
        return (new Client(prot)).recv_addBanner();
4714
      }
4903
      }
4715
    }
4904
    }
4716
 
4905
 
-
 
4906
    public void updateBanner(Banner banner, org.apache.thrift.async.AsyncMethodCallback<updateBanner_call> resultHandler) throws org.apache.thrift.TException {
-
 
4907
      checkReady();
-
 
4908
      updateBanner_call method_call = new updateBanner_call(banner, resultHandler, this, ___protocolFactory, ___transport);
-
 
4909
      this.___currentMethod = method_call;
-
 
4910
      ___manager.call(method_call);
-
 
4911
    }
-
 
4912
 
-
 
4913
    public static class updateBanner_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4914
      private Banner banner;
-
 
4915
      public updateBanner_call(Banner banner, org.apache.thrift.async.AsyncMethodCallback<updateBanner_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 {
-
 
4916
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4917
        this.banner = banner;
-
 
4918
      }
-
 
4919
 
-
 
4920
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4921
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateBanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4922
        updateBanner_args args = new updateBanner_args();
-
 
4923
        args.setBanner(banner);
-
 
4924
        args.write(prot);
-
 
4925
        prot.writeMessageEnd();
-
 
4926
      }
-
 
4927
 
-
 
4928
      public boolean getResult() throws org.apache.thrift.TException {
-
 
4929
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4930
          throw new IllegalStateException("Method call not finished!");
-
 
4931
        }
-
 
4932
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4933
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4934
        return (new Client(prot)).recv_updateBanner();
-
 
4935
      }
-
 
4936
    }
-
 
4937
 
4717
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<getAllBanners_call> resultHandler) throws org.apache.thrift.TException {
4938
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<getAllBanners_call> resultHandler) throws org.apache.thrift.TException {
4718
      checkReady();
4939
      checkReady();
4719
      getAllBanners_call method_call = new getAllBanners_call(resultHandler, this, ___protocolFactory, ___transport);
4940
      getAllBanners_call method_call = new getAllBanners_call(resultHandler, this, ___protocolFactory, ___transport);
4720
      this.___currentMethod = method_call;
4941
      this.___currentMethod = method_call;
4721
      ___manager.call(method_call);
4942
      ___manager.call(method_call);
Line 4731... Line 4952...
4731
        getAllBanners_args args = new getAllBanners_args();
4952
        getAllBanners_args args = new getAllBanners_args();
4732
        args.write(prot);
4953
        args.write(prot);
4733
        prot.writeMessageEnd();
4954
        prot.writeMessageEnd();
4734
      }
4955
      }
4735
 
4956
 
4736
      public List<String> getResult() throws org.apache.thrift.TException {
4957
      public List<Banner> getResult() throws org.apache.thrift.TException {
4737
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4958
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4738
          throw new IllegalStateException("Method call not finished!");
4959
          throw new IllegalStateException("Method call not finished!");
4739
        }
4960
        }
4740
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4961
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4741
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4962
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
Line 4824... Line 5045...
4824
        getActiveBanners_args args = new getActiveBanners_args();
5045
        getActiveBanners_args args = new getActiveBanners_args();
4825
        args.write(prot);
5046
        args.write(prot);
4826
        prot.writeMessageEnd();
5047
        prot.writeMessageEnd();
4827
      }
5048
      }
4828
 
5049
 
4829
      public List<Banner> getResult() throws org.apache.thrift.TException {
5050
      public Map<String,List<Banner>> getResult() throws org.apache.thrift.TException {
4830
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
5051
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
4831
          throw new IllegalStateException("Method call not finished!");
5052
          throw new IllegalStateException("Method call not finished!");
4832
        }
5053
        }
4833
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
5054
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
4834
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5055
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4835
        return (new Client(prot)).recv_getActiveBanners();
5056
        return (new Client(prot)).recv_getActiveBanners();
4836
      }
5057
      }
4837
    }
5058
    }
4838
 
5059
 
4839
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_call> resultHandler) throws org.apache.thrift.TException {
5060
    public void addBannerMap(List<BannerMap> bannerMaps, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_call> resultHandler) throws org.apache.thrift.TException {
4840
      checkReady();
5061
      checkReady();
4841
      addBannerMap_call method_call = new addBannerMap_call(bannerName, mapLink, coordinates, resultHandler, this, ___protocolFactory, ___transport);
5062
      addBannerMap_call method_call = new addBannerMap_call(bannerMaps, resultHandler, this, ___protocolFactory, ___transport);
4842
      this.___currentMethod = method_call;
5063
      this.___currentMethod = method_call;
4843
      ___manager.call(method_call);
5064
      ___manager.call(method_call);
4844
    }
5065
    }
4845
 
5066
 
4846
    public static class addBannerMap_call extends org.apache.thrift.async.TAsyncMethodCall {
5067
    public static class addBannerMap_call extends org.apache.thrift.async.TAsyncMethodCall {
4847
      private String bannerName;
5068
      private List<BannerMap> bannerMaps;
4848
      private String mapLink;
-
 
4849
      private String coordinates;
-
 
4850
      public addBannerMap_call(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_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 {
5069
      public addBannerMap_call(List<BannerMap> bannerMaps, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_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 {
4851
        super(client, protocolFactory, transport, resultHandler, false);
5070
        super(client, protocolFactory, transport, resultHandler, false);
4852
        this.bannerName = bannerName;
5071
        this.bannerMaps = bannerMaps;
4853
        this.mapLink = mapLink;
-
 
4854
        this.coordinates = coordinates;
-
 
4855
      }
5072
      }
4856
 
5073
 
4857
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5074
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
4858
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBannerMap", org.apache.thrift.protocol.TMessageType.CALL, 0));
5075
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBannerMap", org.apache.thrift.protocol.TMessageType.CALL, 0));
4859
        addBannerMap_args args = new addBannerMap_args();
5076
        addBannerMap_args args = new addBannerMap_args();
4860
        args.setBannerName(bannerName);
5077
        args.setBannerMaps(bannerMaps);
4861
        args.setMapLink(mapLink);
-
 
4862
        args.setCoordinates(coordinates);
-
 
4863
        args.write(prot);
5078
        args.write(prot);
4864
        prot.writeMessageEnd();
5079
        prot.writeMessageEnd();
4865
      }
5080
      }
4866
 
5081
 
4867
      public boolean getResult() throws org.apache.thrift.TException {
5082
      public boolean getResult() throws org.apache.thrift.TException {
Line 4872... Line 5087...
4872
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5087
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4873
        return (new Client(prot)).recv_addBannerMap();
5088
        return (new Client(prot)).recv_addBannerMap();
4874
      }
5089
      }
4875
    }
5090
    }
4876
 
5091
 
-
 
5092
    public void updateBannerMap(BannerMap bannerMap, org.apache.thrift.async.AsyncMethodCallback<updateBannerMap_call> resultHandler) throws org.apache.thrift.TException {
-
 
5093
      checkReady();
-
 
5094
      updateBannerMap_call method_call = new updateBannerMap_call(bannerMap, resultHandler, this, ___protocolFactory, ___transport);
-
 
5095
      this.___currentMethod = method_call;
-
 
5096
      ___manager.call(method_call);
-
 
5097
    }
-
 
5098
 
-
 
5099
    public static class updateBannerMap_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5100
      private BannerMap bannerMap;
-
 
5101
      public updateBannerMap_call(BannerMap bannerMap, org.apache.thrift.async.AsyncMethodCallback<updateBannerMap_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 {
-
 
5102
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5103
        this.bannerMap = bannerMap;
-
 
5104
      }
-
 
5105
 
-
 
5106
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5107
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateBannerMap", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5108
        updateBannerMap_args args = new updateBannerMap_args();
-
 
5109
        args.setBannerMap(bannerMap);
-
 
5110
        args.write(prot);
-
 
5111
        prot.writeMessageEnd();
-
 
5112
      }
-
 
5113
 
-
 
5114
      public boolean getResult() throws org.apache.thrift.TException {
-
 
5115
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5116
          throw new IllegalStateException("Method call not finished!");
-
 
5117
        }
-
 
5118
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5119
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5120
        return (new Client(prot)).recv_updateBannerMap();
-
 
5121
      }
-
 
5122
    }
-
 
5123
 
4877
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException {
5124
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException {
4878
      checkReady();
5125
      checkReady();
4879
      deleteBannerMap_call method_call = new deleteBannerMap_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
5126
      deleteBannerMap_call method_call = new deleteBannerMap_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
4880
      this.___currentMethod = method_call;
5127
      this.___currentMethod = method_call;
4881
      ___manager.call(method_call);
5128
      ___manager.call(method_call);
Line 4936... Line 5183...
4936
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5183
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4937
        return (new Client(prot)).recv_getBannerMapDetails();
5184
        return (new Client(prot)).recv_getBannerMapDetails();
4938
      }
5185
      }
4939
    }
5186
    }
4940
 
5187
 
-
 
5188
    public void addBannerUri(List<BannerUriMapping> bannerUriMappings, org.apache.thrift.async.AsyncMethodCallback<addBannerUri_call> resultHandler) throws org.apache.thrift.TException {
-
 
5189
      checkReady();
-
 
5190
      addBannerUri_call method_call = new addBannerUri_call(bannerUriMappings, resultHandler, this, ___protocolFactory, ___transport);
-
 
5191
      this.___currentMethod = method_call;
-
 
5192
      ___manager.call(method_call);
-
 
5193
    }
-
 
5194
 
-
 
5195
    public static class addBannerUri_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5196
      private List<BannerUriMapping> bannerUriMappings;
-
 
5197
      public addBannerUri_call(List<BannerUriMapping> bannerUriMappings, org.apache.thrift.async.AsyncMethodCallback<addBannerUri_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 {
-
 
5198
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5199
        this.bannerUriMappings = bannerUriMappings;
-
 
5200
      }
-
 
5201
 
-
 
5202
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5203
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBannerUri", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5204
        addBannerUri_args args = new addBannerUri_args();
-
 
5205
        args.setBannerUriMappings(bannerUriMappings);
-
 
5206
        args.write(prot);
-
 
5207
        prot.writeMessageEnd();
-
 
5208
      }
-
 
5209
 
-
 
5210
      public void getResult() throws org.apache.thrift.TException {
-
 
5211
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5212
          throw new IllegalStateException("Method call not finished!");
-
 
5213
        }
-
 
5214
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5215
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5216
        (new Client(prot)).recv_addBannerUri();
-
 
5217
      }
-
 
5218
    }
-
 
5219
 
-
 
5220
    public void getUriMapping(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getUriMapping_call> resultHandler) throws org.apache.thrift.TException {
-
 
5221
      checkReady();
-
 
5222
      getUriMapping_call method_call = new getUriMapping_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
-
 
5223
      this.___currentMethod = method_call;
-
 
5224
      ___manager.call(method_call);
-
 
5225
    }
-
 
5226
 
-
 
5227
    public static class getUriMapping_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5228
      private String bannerName;
-
 
5229
      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 {
-
 
5230
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5231
        this.bannerName = bannerName;
-
 
5232
      }
-
 
5233
 
-
 
5234
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5235
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUriMapping", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5236
        getUriMapping_args args = new getUriMapping_args();
-
 
5237
        args.setBannerName(bannerName);
-
 
5238
        args.write(prot);
-
 
5239
        prot.writeMessageEnd();
-
 
5240
      }
-
 
5241
 
-
 
5242
      public List<BannerUriMapping> getResult() throws org.apache.thrift.TException {
-
 
5243
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5244
          throw new IllegalStateException("Method call not finished!");
-
 
5245
        }
-
 
5246
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5247
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5248
        return (new Client(prot)).recv_getUriMapping();
-
 
5249
      }
-
 
5250
    }
-
 
5251
 
-
 
5252
    public void addCampaign(Campaign campaign, org.apache.thrift.async.AsyncMethodCallback<addCampaign_call> resultHandler) throws org.apache.thrift.TException {
-
 
5253
      checkReady();
-
 
5254
      addCampaign_call method_call = new addCampaign_call(campaign, resultHandler, this, ___protocolFactory, ___transport);
-
 
5255
      this.___currentMethod = method_call;
-
 
5256
      ___manager.call(method_call);
-
 
5257
    }
-
 
5258
 
-
 
5259
    public static class addCampaign_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5260
      private Campaign campaign;
-
 
5261
      public addCampaign_call(Campaign campaign, org.apache.thrift.async.AsyncMethodCallback<addCampaign_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 {
-
 
5262
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5263
        this.campaign = campaign;
-
 
5264
      }
-
 
5265
 
-
 
5266
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5267
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addCampaign", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5268
        addCampaign_args args = new addCampaign_args();
-
 
5269
        args.setCampaign(campaign);
-
 
5270
        args.write(prot);
-
 
5271
        prot.writeMessageEnd();
-
 
5272
      }
-
 
5273
 
-
 
5274
      public void getResult() throws org.apache.thrift.TException {
-
 
5275
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5276
          throw new IllegalStateException("Method call not finished!");
-
 
5277
        }
-
 
5278
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5279
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5280
        (new Client(prot)).recv_addCampaign();
-
 
5281
      }
-
 
5282
    }
-
 
5283
 
-
 
5284
    public void getCampaigns(String campaignName, org.apache.thrift.async.AsyncMethodCallback<getCampaigns_call> resultHandler) throws org.apache.thrift.TException {
-
 
5285
      checkReady();
-
 
5286
      getCampaigns_call method_call = new getCampaigns_call(campaignName, resultHandler, this, ___protocolFactory, ___transport);
-
 
5287
      this.___currentMethod = method_call;
-
 
5288
      ___manager.call(method_call);
-
 
5289
    }
-
 
5290
 
-
 
5291
    public static class getCampaigns_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5292
      private String campaignName;
-
 
5293
      public getCampaigns_call(String campaignName, org.apache.thrift.async.AsyncMethodCallback<getCampaigns_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 {
-
 
5294
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5295
        this.campaignName = campaignName;
-
 
5296
      }
-
 
5297
 
-
 
5298
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5299
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCampaigns", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5300
        getCampaigns_args args = new getCampaigns_args();
-
 
5301
        args.setCampaignName(campaignName);
-
 
5302
        args.write(prot);
-
 
5303
        prot.writeMessageEnd();
-
 
5304
      }
-
 
5305
 
-
 
5306
      public List<Campaign> getResult() throws org.apache.thrift.TException {
-
 
5307
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5308
          throw new IllegalStateException("Method call not finished!");
-
 
5309
        }
-
 
5310
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5311
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5312
        return (new Client(prot)).recv_getCampaigns();
-
 
5313
      }
-
 
5314
    }
-
 
5315
 
-
 
5316
    public void deleteCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<deleteCampaign_call> resultHandler) throws org.apache.thrift.TException {
-
 
5317
      checkReady();
-
 
5318
      deleteCampaign_call method_call = new deleteCampaign_call(campaignId, resultHandler, this, ___protocolFactory, ___transport);
-
 
5319
      this.___currentMethod = method_call;
-
 
5320
      ___manager.call(method_call);
-
 
5321
    }
-
 
5322
 
-
 
5323
    public static class deleteCampaign_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5324
      private long campaignId;
-
 
5325
      public deleteCampaign_call(long campaignId, org.apache.thrift.async.AsyncMethodCallback<deleteCampaign_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 {
-
 
5326
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5327
        this.campaignId = campaignId;
-
 
5328
      }
-
 
5329
 
-
 
5330
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5331
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteCampaign", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5332
        deleteCampaign_args args = new deleteCampaign_args();
-
 
5333
        args.setCampaignId(campaignId);
-
 
5334
        args.write(prot);
-
 
5335
        prot.writeMessageEnd();
-
 
5336
      }
-
 
5337
 
-
 
5338
      public void getResult() throws org.apache.thrift.TException {
-
 
5339
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5340
          throw new IllegalStateException("Method call not finished!");
-
 
5341
        }
-
 
5342
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5343
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5344
        (new Client(prot)).recv_deleteCampaign();
-
 
5345
      }
-
 
5346
    }
-
 
5347
 
-
 
5348
    public void getAllCampaigns(org.apache.thrift.async.AsyncMethodCallback<getAllCampaigns_call> resultHandler) throws org.apache.thrift.TException {
-
 
5349
      checkReady();
-
 
5350
      getAllCampaigns_call method_call = new getAllCampaigns_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
5351
      this.___currentMethod = method_call;
-
 
5352
      ___manager.call(method_call);
-
 
5353
    }
-
 
5354
 
-
 
5355
    public static class getAllCampaigns_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5356
      public getAllCampaigns_call(org.apache.thrift.async.AsyncMethodCallback<getAllCampaigns_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 {
-
 
5357
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5358
      }
-
 
5359
 
-
 
5360
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5361
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllCampaigns", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5362
        getAllCampaigns_args args = new getAllCampaigns_args();
-
 
5363
        args.write(prot);
-
 
5364
        prot.writeMessageEnd();
-
 
5365
      }
-
 
5366
 
-
 
5367
      public List<String> getResult() throws org.apache.thrift.TException {
-
 
5368
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5369
          throw new IllegalStateException("Method call not finished!");
-
 
5370
        }
-
 
5371
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5372
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5373
        return (new Client(prot)).recv_getAllCampaigns();
-
 
5374
      }
-
 
5375
    }
-
 
5376
 
4941
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
5377
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
4942
      checkReady();
5378
      checkReady();
4943
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
5379
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
4944
      this.___currentMethod = method_call;
5380
      this.___currentMethod = method_call;
4945
      ___manager.call(method_call);
5381
      ___manager.call(method_call);
Line 6971... Line 7407...
6971
      processMap.put("deleteTag", new deleteTag());
7407
      processMap.put("deleteTag", new deleteTag());
6972
      processMap.put("getAllTags", new getAllTags());
7408
      processMap.put("getAllTags", new getAllTags());
6973
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
7409
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
6974
      processMap.put("getAllEntityTags", new getAllEntityTags());
7410
      processMap.put("getAllEntityTags", new getAllEntityTags());
6975
      processMap.put("addBanner", new addBanner());
7411
      processMap.put("addBanner", new addBanner());
-
 
7412
      processMap.put("updateBanner", new updateBanner());
6976
      processMap.put("getAllBanners", new getAllBanners());
7413
      processMap.put("getAllBanners", new getAllBanners());
6977
      processMap.put("deleteBanner", new deleteBanner());
7414
      processMap.put("deleteBanner", new deleteBanner());
6978
      processMap.put("getBannerDetails", new getBannerDetails());
7415
      processMap.put("getBannerDetails", new getBannerDetails());
6979
      processMap.put("getActiveBanners", new getActiveBanners());
7416
      processMap.put("getActiveBanners", new getActiveBanners());
6980
      processMap.put("addBannerMap", new addBannerMap());
7417
      processMap.put("addBannerMap", new addBannerMap());
-
 
7418
      processMap.put("updateBannerMap", new updateBannerMap());
6981
      processMap.put("deleteBannerMap", new deleteBannerMap());
7419
      processMap.put("deleteBannerMap", new deleteBannerMap());
6982
      processMap.put("getBannerMapDetails", new getBannerMapDetails());
7420
      processMap.put("getBannerMapDetails", new getBannerMapDetails());
-
 
7421
      processMap.put("addBannerUri", new addBannerUri());
-
 
7422
      processMap.put("getUriMapping", new getUriMapping());
-
 
7423
      processMap.put("addCampaign", new addCampaign());
-
 
7424
      processMap.put("getCampaigns", new getCampaigns());
-
 
7425
      processMap.put("deleteCampaign", new deleteCampaign());
-
 
7426
      processMap.put("getAllCampaigns", new getAllCampaigns());
6983
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
7427
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
6984
      processMap.put("checkSimilarItem", new checkSimilarItem());
7428
      processMap.put("checkSimilarItem", new checkSimilarItem());
6985
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
7429
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
6986
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
7430
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
6987
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
7431
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
Line 7837... Line 8281...
7837
        return new addBanner_args();
8281
        return new addBanner_args();
7838
      }
8282
      }
7839
 
8283
 
7840
      protected addBanner_result getResult(I iface, addBanner_args args) throws org.apache.thrift.TException {
8284
      protected addBanner_result getResult(I iface, addBanner_args args) throws org.apache.thrift.TException {
7841
        addBanner_result result = new addBanner_result();
8285
        addBanner_result result = new addBanner_result();
-
 
8286
        result.success = iface.addBanner(args.banner);
-
 
8287
        result.setSuccessIsSet(true);
-
 
8288
        return result;
-
 
8289
      }
-
 
8290
    }
-
 
8291
 
-
 
8292
    private static class updateBanner<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateBanner_args> {
-
 
8293
      public updateBanner() {
-
 
8294
        super("updateBanner");
-
 
8295
      }
-
 
8296
 
-
 
8297
      protected updateBanner_args getEmptyArgsInstance() {
-
 
8298
        return new updateBanner_args();
-
 
8299
      }
-
 
8300
 
7842
        result.success = iface.addBanner(args.bannerName, args.imageName, args.link, args.priority, args.isActive, args.hasMap);
8301
      protected updateBanner_result getResult(I iface, updateBanner_args args) throws org.apache.thrift.TException {
-
 
8302
        updateBanner_result result = new updateBanner_result();
-
 
8303
        result.success = iface.updateBanner(args.banner);
7843
        result.setSuccessIsSet(true);
8304
        result.setSuccessIsSet(true);
7844
        return result;
8305
        return result;
7845
      }
8306
      }
7846
    }
8307
    }
7847
 
8308
 
Line 7919... Line 8380...
7919
        return new addBannerMap_args();
8380
        return new addBannerMap_args();
7920
      }
8381
      }
7921
 
8382
 
7922
      protected addBannerMap_result getResult(I iface, addBannerMap_args args) throws org.apache.thrift.TException {
8383
      protected addBannerMap_result getResult(I iface, addBannerMap_args args) throws org.apache.thrift.TException {
7923
        addBannerMap_result result = new addBannerMap_result();
8384
        addBannerMap_result result = new addBannerMap_result();
7924
        result.success = iface.addBannerMap(args.bannerName, args.mapLink, args.coordinates);
8385
        result.success = iface.addBannerMap(args.bannerMaps);
-
 
8386
        result.setSuccessIsSet(true);
-
 
8387
        return result;
-
 
8388
      }
-
 
8389
    }
-
 
8390
 
-
 
8391
    private static class updateBannerMap<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateBannerMap_args> {
-
 
8392
      public updateBannerMap() {
-
 
8393
        super("updateBannerMap");
-
 
8394
      }
-
 
8395
 
-
 
8396
      protected updateBannerMap_args getEmptyArgsInstance() {
-
 
8397
        return new updateBannerMap_args();
-
 
8398
      }
-
 
8399
 
-
 
8400
      protected updateBannerMap_result getResult(I iface, updateBannerMap_args args) throws org.apache.thrift.TException {
-
 
8401
        updateBannerMap_result result = new updateBannerMap_result();
-
 
8402
        result.success = iface.updateBannerMap(args.bannerMap);
7925
        result.setSuccessIsSet(true);
8403
        result.setSuccessIsSet(true);
7926
        return result;
8404
        return result;
7927
      }
8405
      }
7928
    }
8406
    }
7929
 
8407
 
Line 7958... Line 8436...
7958
        result.success = iface.getBannerMapDetails(args.bannerName);
8436
        result.success = iface.getBannerMapDetails(args.bannerName);
7959
        return result;
8437
        return result;
7960
      }
8438
      }
7961
    }
8439
    }
7962
 
8440
 
-
 
8441
    private static class addBannerUri<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBannerUri_args> {
-
 
8442
      public addBannerUri() {
-
 
8443
        super("addBannerUri");
-
 
8444
      }
-
 
8445
 
-
 
8446
      protected addBannerUri_args getEmptyArgsInstance() {
-
 
8447
        return new addBannerUri_args();
-
 
8448
      }
-
 
8449
 
-
 
8450
      protected addBannerUri_result getResult(I iface, addBannerUri_args args) throws org.apache.thrift.TException {
-
 
8451
        addBannerUri_result result = new addBannerUri_result();
-
 
8452
        iface.addBannerUri(args.bannerUriMappings);
-
 
8453
        return result;
-
 
8454
      }
-
 
8455
    }
-
 
8456
 
-
 
8457
    private static class getUriMapping<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUriMapping_args> {
-
 
8458
      public getUriMapping() {
-
 
8459
        super("getUriMapping");
-
 
8460
      }
-
 
8461
 
-
 
8462
      protected getUriMapping_args getEmptyArgsInstance() {
-
 
8463
        return new getUriMapping_args();
-
 
8464
      }
-
 
8465
 
-
 
8466
      protected getUriMapping_result getResult(I iface, getUriMapping_args args) throws org.apache.thrift.TException {
-
 
8467
        getUriMapping_result result = new getUriMapping_result();
-
 
8468
        result.success = iface.getUriMapping(args.bannerName);
-
 
8469
        return result;
-
 
8470
      }
-
 
8471
    }
-
 
8472
 
-
 
8473
    private static class addCampaign<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addCampaign_args> {
-
 
8474
      public addCampaign() {
-
 
8475
        super("addCampaign");
-
 
8476
      }
-
 
8477
 
-
 
8478
      protected addCampaign_args getEmptyArgsInstance() {
-
 
8479
        return new addCampaign_args();
-
 
8480
      }
-
 
8481
 
-
 
8482
      protected addCampaign_result getResult(I iface, addCampaign_args args) throws org.apache.thrift.TException {
-
 
8483
        addCampaign_result result = new addCampaign_result();
-
 
8484
        iface.addCampaign(args.campaign);
-
 
8485
        return result;
-
 
8486
      }
-
 
8487
    }
-
 
8488
 
-
 
8489
    private static class getCampaigns<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getCampaigns_args> {
-
 
8490
      public getCampaigns() {
-
 
8491
        super("getCampaigns");
-
 
8492
      }
-
 
8493
 
-
 
8494
      protected getCampaigns_args getEmptyArgsInstance() {
-
 
8495
        return new getCampaigns_args();
-
 
8496
      }
-
 
8497
 
-
 
8498
      protected getCampaigns_result getResult(I iface, getCampaigns_args args) throws org.apache.thrift.TException {
-
 
8499
        getCampaigns_result result = new getCampaigns_result();
-
 
8500
        result.success = iface.getCampaigns(args.campaignName);
-
 
8501
        return result;
-
 
8502
      }
-
 
8503
    }
-
 
8504
 
-
 
8505
    private static class deleteCampaign<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteCampaign_args> {
-
 
8506
      public deleteCampaign() {
-
 
8507
        super("deleteCampaign");
-
 
8508
      }
-
 
8509
 
-
 
8510
      protected deleteCampaign_args getEmptyArgsInstance() {
-
 
8511
        return new deleteCampaign_args();
-
 
8512
      }
-
 
8513
 
-
 
8514
      protected deleteCampaign_result getResult(I iface, deleteCampaign_args args) throws org.apache.thrift.TException {
-
 
8515
        deleteCampaign_result result = new deleteCampaign_result();
-
 
8516
        iface.deleteCampaign(args.campaignId);
-
 
8517
        return result;
-
 
8518
      }
-
 
8519
    }
-
 
8520
 
-
 
8521
    private static class getAllCampaigns<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllCampaigns_args> {
-
 
8522
      public getAllCampaigns() {
-
 
8523
        super("getAllCampaigns");
-
 
8524
      }
-
 
8525
 
-
 
8526
      protected getAllCampaigns_args getEmptyArgsInstance() {
-
 
8527
        return new getAllCampaigns_args();
-
 
8528
      }
-
 
8529
 
-
 
8530
      protected getAllCampaigns_result getResult(I iface, getAllCampaigns_args args) throws org.apache.thrift.TException {
-
 
8531
        getAllCampaigns_result result = new getAllCampaigns_result();
-
 
8532
        result.success = iface.getAllCampaigns();
-
 
8533
        return result;
-
 
8534
      }
-
 
8535
    }
-
 
8536
 
7963
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
8537
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
7964
      public deleteSimilarItem() {
8538
      public deleteSimilarItem() {
7965
        super("deleteSimilarItem");
8539
        super("deleteSimilarItem");
7966
      }
8540
      }
7967
 
8541
 
Line 37422... Line 37996...
37422
  }
37996
  }
37423
 
37997
 
37424
  public static class addBanner_args implements org.apache.thrift.TBase<addBanner_args, addBanner_args._Fields>, java.io.Serializable, Cloneable   {
37998
  public static class addBanner_args implements org.apache.thrift.TBase<addBanner_args, addBanner_args._Fields>, java.io.Serializable, Cloneable   {
37425
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBanner_args");
37999
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBanner_args");
37426
 
38000
 
37427
    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);
38001
    private static final org.apache.thrift.protocol.TField BANNER_FIELD_DESC = new org.apache.thrift.protocol.TField("banner", org.apache.thrift.protocol.TType.STRUCT, (short)1);
37428
    private static final org.apache.thrift.protocol.TField IMAGE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("imageName", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
37429
    private static final org.apache.thrift.protocol.TField LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("link", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
37430
    private static final org.apache.thrift.protocol.TField PRIORITY_FIELD_DESC = new org.apache.thrift.protocol.TField("priority", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
37431
    private static final org.apache.thrift.protocol.TField IS_ACTIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("isActive", org.apache.thrift.protocol.TType.BOOL, (short)5);
-
 
37432
    private static final org.apache.thrift.protocol.TField HAS_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("hasMap", org.apache.thrift.protocol.TType.BOOL, (short)6);
-
 
37433
 
38002
 
37434
    private String bannerName; // required
38003
    private Banner banner; // required
37435
    private String imageName; // required
-
 
37436
    private String link; // required
-
 
37437
    private long priority; // required
-
 
37438
    private boolean isActive; // required
-
 
37439
    private boolean hasMap; // required
-
 
37440
 
38004
 
37441
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
38005
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
37442
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
38006
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
37443
      BANNER_NAME((short)1, "bannerName"),
38007
      BANNER((short)1, "banner");
37444
      IMAGE_NAME((short)2, "imageName"),
-
 
37445
      LINK((short)3, "link"),
-
 
37446
      PRIORITY((short)4, "priority"),
-
 
37447
      IS_ACTIVE((short)5, "isActive"),
-
 
37448
      HAS_MAP((short)6, "hasMap");
-
 
37449
 
38008
 
37450
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
38009
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
37451
 
38010
 
37452
      static {
38011
      static {
37453
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
38012
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 37458... Line 38017...
37458
      /**
38017
      /**
37459
       * Find the _Fields constant that matches fieldId, or null if its not found.
38018
       * Find the _Fields constant that matches fieldId, or null if its not found.
37460
       */
38019
       */
37461
      public static _Fields findByThriftId(int fieldId) {
38020
      public static _Fields findByThriftId(int fieldId) {
37462
        switch(fieldId) {
38021
        switch(fieldId) {
37463
          case 1: // BANNER_NAME
38022
          case 1: // BANNER
37464
            return BANNER_NAME;
38023
            return BANNER;
37465
          case 2: // IMAGE_NAME
-
 
37466
            return IMAGE_NAME;
-
 
37467
          case 3: // LINK
-
 
37468
            return LINK;
-
 
37469
          case 4: // PRIORITY
-
 
37470
            return PRIORITY;
-
 
37471
          case 5: // IS_ACTIVE
-
 
37472
            return IS_ACTIVE;
-
 
37473
          case 6: // HAS_MAP
-
 
37474
            return HAS_MAP;
-
 
37475
          default:
38024
          default:
37476
            return null;
38025
            return null;
37477
        }
38026
        }
37478
      }
38027
      }
37479
 
38028
 
Line 37510... Line 38059...
37510
        return _fieldName;
38059
        return _fieldName;
37511
      }
38060
      }
37512
    }
38061
    }
37513
 
38062
 
37514
    // isset id assignments
38063
    // isset id assignments
37515
    private static final int __PRIORITY_ISSET_ID = 0;
-
 
37516
    private static final int __ISACTIVE_ISSET_ID = 1;
-
 
37517
    private static final int __HASMAP_ISSET_ID = 2;
-
 
37518
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
37519
 
38064
 
37520
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
38065
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
37521
    static {
38066
    static {
37522
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
38067
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
37523
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
38068
      tmpMap.put(_Fields.BANNER, new org.apache.thrift.meta_data.FieldMetaData("banner", org.apache.thrift.TFieldRequirementType.DEFAULT, 
37524
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
37525
      tmpMap.put(_Fields.IMAGE_NAME, new org.apache.thrift.meta_data.FieldMetaData("imageName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
37526
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
37527
      tmpMap.put(_Fields.LINK, new org.apache.thrift.meta_data.FieldMetaData("link", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
37528
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
38069
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class)));
37529
      tmpMap.put(_Fields.PRIORITY, new org.apache.thrift.meta_data.FieldMetaData("priority", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
37530
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
37531
      tmpMap.put(_Fields.IS_ACTIVE, new org.apache.thrift.meta_data.FieldMetaData("isActive", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
37532
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
37533
      tmpMap.put(_Fields.HAS_MAP, new org.apache.thrift.meta_data.FieldMetaData("hasMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
37534
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
37535
      metaDataMap = Collections.unmodifiableMap(tmpMap);
38070
      metaDataMap = Collections.unmodifiableMap(tmpMap);
37536
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBanner_args.class, metaDataMap);
38071
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBanner_args.class, metaDataMap);
37537
    }
38072
    }
37538
 
38073
 
37539
    public addBanner_args() {
38074
    public addBanner_args() {
37540
    }
38075
    }
37541
 
38076
 
37542
    public addBanner_args(
38077
    public addBanner_args(
37543
      String bannerName,
38078
      Banner banner)
37544
      String imageName,
-
 
37545
      String link,
-
 
37546
      long priority,
-
 
37547
      boolean isActive,
-
 
37548
      boolean hasMap)
-
 
37549
    {
38079
    {
37550
      this();
38080
      this();
37551
      this.bannerName = bannerName;
38081
      this.banner = banner;
37552
      this.imageName = imageName;
-
 
37553
      this.link = link;
-
 
37554
      this.priority = priority;
-
 
37555
      setPriorityIsSet(true);
-
 
37556
      this.isActive = isActive;
-
 
37557
      setIsActiveIsSet(true);
-
 
37558
      this.hasMap = hasMap;
-
 
37559
      setHasMapIsSet(true);
-
 
37560
    }
38082
    }
37561
 
38083
 
37562
    /**
38084
    /**
37563
     * Performs a deep copy on <i>other</i>.
38085
     * Performs a deep copy on <i>other</i>.
37564
     */
38086
     */
37565
    public addBanner_args(addBanner_args other) {
38087
    public addBanner_args(addBanner_args other) {
37566
      __isset_bit_vector.clear();
-
 
37567
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
37568
      if (other.isSetBannerName()) {
38088
      if (other.isSetBanner()) {
37569
        this.bannerName = other.bannerName;
38089
        this.banner = new Banner(other.banner);
37570
      }
38090
      }
37571
      if (other.isSetImageName()) {
-
 
37572
        this.imageName = other.imageName;
-
 
37573
      }
-
 
37574
      if (other.isSetLink()) {
-
 
37575
        this.link = other.link;
-
 
37576
      }
-
 
37577
      this.priority = other.priority;
-
 
37578
      this.isActive = other.isActive;
-
 
37579
      this.hasMap = other.hasMap;
-
 
37580
    }
38091
    }
37581
 
38092
 
37582
    public addBanner_args deepCopy() {
38093
    public addBanner_args deepCopy() {
37583
      return new addBanner_args(this);
38094
      return new addBanner_args(this);
37584
    }
38095
    }
37585
 
38096
 
37586
    @Override
38097
    @Override
37587
    public void clear() {
38098
    public void clear() {
37588
      this.bannerName = null;
38099
      this.banner = null;
37589
      this.imageName = null;
-
 
37590
      this.link = null;
-
 
37591
      setPriorityIsSet(false);
-
 
37592
      this.priority = 0;
-
 
37593
      setIsActiveIsSet(false);
-
 
37594
      this.isActive = false;
-
 
37595
      setHasMapIsSet(false);
-
 
37596
      this.hasMap = false;
-
 
37597
    }
38100
    }
37598
 
38101
 
37599
    public String getBannerName() {
38102
    public Banner getBanner() {
37600
      return this.bannerName;
38103
      return this.banner;
37601
    }
38104
    }
37602
 
38105
 
37603
    public void setBannerName(String bannerName) {
38106
    public void setBanner(Banner banner) {
37604
      this.bannerName = bannerName;
38107
      this.banner = banner;
37605
    }
38108
    }
37606
 
38109
 
37607
    public void unsetBannerName() {
38110
    public void unsetBanner() {
37608
      this.bannerName = null;
38111
      this.banner = null;
37609
    }
38112
    }
37610
 
38113
 
37611
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
38114
    /** Returns true if field banner is set (has been assigned a value) and false otherwise */
37612
    public boolean isSetBannerName() {
38115
    public boolean isSetBanner() {
37613
      return this.bannerName != null;
38116
      return this.banner != null;
37614
    }
38117
    }
37615
 
38118
 
37616
    public void setBannerNameIsSet(boolean value) {
38119
    public void setBannerIsSet(boolean value) {
37617
      if (!value) {
38120
      if (!value) {
37618
        this.bannerName = null;
38121
        this.banner = null;
37619
      }
38122
      }
37620
    }
38123
    }
37621
 
38124
 
-
 
38125
    public void setFieldValue(_Fields field, Object value) {
-
 
38126
      switch (field) {
-
 
38127
      case BANNER:
37622
    public String getImageName() {
38128
        if (value == null) {
37623
      return this.imageName;
38129
          unsetBanner();
-
 
38130
        } else {
-
 
38131
          setBanner((Banner)value);
-
 
38132
        }
-
 
38133
        break;
-
 
38134
 
-
 
38135
      }
37624
    }
38136
    }
37625
 
38137
 
37626
    public void setImageName(String imageName) {
38138
    public Object getFieldValue(_Fields field) {
-
 
38139
      switch (field) {
-
 
38140
      case BANNER:
-
 
38141
        return getBanner();
-
 
38142
 
-
 
38143
      }
37627
      this.imageName = imageName;
38144
      throw new IllegalStateException();
37628
    }
38145
    }
37629
 
38146
 
-
 
38147
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
37630
    public void unsetImageName() {
38148
    public boolean isSet(_Fields field) {
37631
      this.imageName = null;
38149
      if (field == null) {
-
 
38150
        throw new IllegalArgumentException();
-
 
38151
      }
-
 
38152
 
-
 
38153
      switch (field) {
-
 
38154
      case BANNER:
-
 
38155
        return isSetBanner();
-
 
38156
      }
-
 
38157
      throw new IllegalStateException();
37632
    }
38158
    }
37633
 
38159
 
-
 
38160
    @Override
37634
    /** Returns true if field imageName is set (has been assigned a value) and false otherwise */
38161
    public boolean equals(Object that) {
-
 
38162
      if (that == null)
-
 
38163
        return false;
37635
    public boolean isSetImageName() {
38164
      if (that instanceof addBanner_args)
37636
      return this.imageName != null;
38165
        return this.equals((addBanner_args)that);
-
 
38166
      return false;
37637
    }
38167
    }
37638
 
38168
 
37639
    public void setImageNameIsSet(boolean value) {
38169
    public boolean equals(addBanner_args that) {
37640
      if (!value) {
38170
      if (that == null)
-
 
38171
        return false;
-
 
38172
 
-
 
38173
      boolean this_present_banner = true && this.isSetBanner();
-
 
38174
      boolean that_present_banner = true && that.isSetBanner();
-
 
38175
      if (this_present_banner || that_present_banner) {
-
 
38176
        if (!(this_present_banner && that_present_banner))
-
 
38177
          return false;
-
 
38178
        if (!this.banner.equals(that.banner))
37641
        this.imageName = null;
38179
          return false;
37642
      }
38180
      }
-
 
38181
 
-
 
38182
      return true;
37643
    }
38183
    }
37644
 
38184
 
-
 
38185
    @Override
37645
    public String getLink() {
38186
    public int hashCode() {
37646
      return this.link;
38187
      return 0;
37647
    }
38188
    }
37648
 
38189
 
37649
    public void setLink(String link) {
38190
    public int compareTo(addBanner_args other) {
-
 
38191
      if (!getClass().equals(other.getClass())) {
-
 
38192
        return getClass().getName().compareTo(other.getClass().getName());
-
 
38193
      }
-
 
38194
 
-
 
38195
      int lastComparison = 0;
-
 
38196
      addBanner_args typedOther = (addBanner_args)other;
-
 
38197
 
-
 
38198
      lastComparison = Boolean.valueOf(isSetBanner()).compareTo(typedOther.isSetBanner());
-
 
38199
      if (lastComparison != 0) {
-
 
38200
        return lastComparison;
-
 
38201
      }
-
 
38202
      if (isSetBanner()) {
-
 
38203
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.banner, typedOther.banner);
-
 
38204
        if (lastComparison != 0) {
-
 
38205
          return lastComparison;
-
 
38206
        }
-
 
38207
      }
37650
      this.link = link;
38208
      return 0;
37651
    }
38209
    }
37652
 
38210
 
37653
    public void unsetLink() {
38211
    public _Fields fieldForId(int fieldId) {
37654
      this.link = null;
38212
      return _Fields.findByThriftId(fieldId);
37655
    }
38213
    }
37656
 
38214
 
-
 
38215
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
38216
      org.apache.thrift.protocol.TField field;
-
 
38217
      iprot.readStructBegin();
-
 
38218
      while (true)
-
 
38219
      {
-
 
38220
        field = iprot.readFieldBegin();
-
 
38221
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
38222
          break;
-
 
38223
        }
-
 
38224
        switch (field.id) {
-
 
38225
          case 1: // BANNER
37657
    /** Returns true if field link is set (has been assigned a value) and false otherwise */
38226
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
38227
              this.banner = new Banner();
-
 
38228
              this.banner.read(iprot);
-
 
38229
            } else { 
-
 
38230
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
38231
            }
-
 
38232
            break;
-
 
38233
          default:
-
 
38234
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
38235
        }
37658
    public boolean isSetLink() {
38236
        iprot.readFieldEnd();
-
 
38237
      }
37659
      return this.link != null;
38238
      iprot.readStructEnd();
-
 
38239
      validate();
37660
    }
38240
    }
37661
 
38241
 
37662
    public void setLinkIsSet(boolean value) {
38242
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
37663
      if (!value) {
38243
      validate();
-
 
38244
 
-
 
38245
      oprot.writeStructBegin(STRUCT_DESC);
37664
        this.link = null;
38246
      if (this.banner != null) {
-
 
38247
        oprot.writeFieldBegin(BANNER_FIELD_DESC);
-
 
38248
        this.banner.write(oprot);
-
 
38249
        oprot.writeFieldEnd();
37665
      }
38250
      }
-
 
38251
      oprot.writeFieldStop();
-
 
38252
      oprot.writeStructEnd();
37666
    }
38253
    }
37667
 
38254
 
-
 
38255
    @Override
37668
    public long getPriority() {
38256
    public String toString() {
-
 
38257
      StringBuilder sb = new StringBuilder("addBanner_args(");
-
 
38258
      boolean first = true;
-
 
38259
 
-
 
38260
      sb.append("banner:");
-
 
38261
      if (this.banner == null) {
-
 
38262
        sb.append("null");
-
 
38263
      } else {
-
 
38264
        sb.append(this.banner);
-
 
38265
      }
-
 
38266
      first = false;
-
 
38267
      sb.append(")");
37669
      return this.priority;
38268
      return sb.toString();
37670
    }
38269
    }
37671
 
38270
 
37672
    public void setPriority(long priority) {
38271
    public void validate() throws org.apache.thrift.TException {
37673
      this.priority = priority;
-
 
37674
      setPriorityIsSet(true);
38272
      // check for required fields
37675
    }
38273
    }
37676
 
38274
 
-
 
38275
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
38276
      try {
-
 
38277
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
37677
    public void unsetPriority() {
38278
      } catch (org.apache.thrift.TException te) {
37678
      __isset_bit_vector.clear(__PRIORITY_ISSET_ID);
38279
        throw new java.io.IOException(te);
-
 
38280
      }
37679
    }
38281
    }
37680
 
38282
 
37681
    /** Returns true if field priority is set (has been assigned a value) and false otherwise */
38283
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
38284
      try {
-
 
38285
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
37682
    public boolean isSetPriority() {
38286
      } catch (org.apache.thrift.TException te) {
37683
      return __isset_bit_vector.get(__PRIORITY_ISSET_ID);
38287
        throw new java.io.IOException(te);
-
 
38288
      }
37684
    }
38289
    }
37685
 
38290
 
-
 
38291
  }
-
 
38292
 
-
 
38293
  public static class addBanner_result implements org.apache.thrift.TBase<addBanner_result, addBanner_result._Fields>, java.io.Serializable, Cloneable   {
-
 
38294
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBanner_result");
-
 
38295
 
-
 
38296
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
38297
 
-
 
38298
    private boolean success; // required
-
 
38299
 
-
 
38300
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
38301
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
38302
      SUCCESS((short)0, "success");
-
 
38303
 
-
 
38304
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
38305
 
-
 
38306
      static {
-
 
38307
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
38308
          byName.put(field.getFieldName(), field);
-
 
38309
        }
-
 
38310
      }
-
 
38311
 
-
 
38312
      /**
-
 
38313
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
38314
       */
-
 
38315
      public static _Fields findByThriftId(int fieldId) {
-
 
38316
        switch(fieldId) {
-
 
38317
          case 0: // SUCCESS
-
 
38318
            return SUCCESS;
-
 
38319
          default:
-
 
38320
            return null;
-
 
38321
        }
-
 
38322
      }
-
 
38323
 
-
 
38324
      /**
-
 
38325
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
38326
       * if it is not found.
-
 
38327
       */
-
 
38328
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
38329
        _Fields fields = findByThriftId(fieldId);
-
 
38330
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
38331
        return fields;
-
 
38332
      }
-
 
38333
 
-
 
38334
      /**
-
 
38335
       * Find the _Fields constant that matches name, or null if its not found.
-
 
38336
       */
37686
    public void setPriorityIsSet(boolean value) {
38337
      public static _Fields findByName(String name) {
-
 
38338
        return byName.get(name);
-
 
38339
      }
-
 
38340
 
-
 
38341
      private final short _thriftId;
-
 
38342
      private final String _fieldName;
-
 
38343
 
37687
      __isset_bit_vector.set(__PRIORITY_ISSET_ID, value);
38344
      _Fields(short thriftId, String fieldName) {
-
 
38345
        _thriftId = thriftId;
-
 
38346
        _fieldName = fieldName;
-
 
38347
      }
-
 
38348
 
-
 
38349
      public short getThriftFieldId() {
-
 
38350
        return _thriftId;
-
 
38351
      }
-
 
38352
 
-
 
38353
      public String getFieldName() {
-
 
38354
        return _fieldName;
-
 
38355
      }
37688
    }
38356
    }
37689
 
38357
 
37690
    public boolean isIsActive() {
38358
    // isset id assignments
-
 
38359
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
38360
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
38361
 
-
 
38362
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
37691
      return this.isActive;
38363
    static {
-
 
38364
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
38365
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
38366
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
38367
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
38368
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBanner_result.class, metaDataMap);
37692
    }
38369
    }
37693
 
38370
 
37694
    public void setIsActive(boolean isActive) {
38371
    public addBanner_result() {
37695
      this.isActive = isActive;
-
 
37696
      setIsActiveIsSet(true);
-
 
37697
    }
38372
    }
37698
 
38373
 
37699
    public void unsetIsActive() {
38374
    public addBanner_result(
-
 
38375
      boolean success)
-
 
38376
    {
-
 
38377
      this();
-
 
38378
      this.success = success;
37700
      __isset_bit_vector.clear(__ISACTIVE_ISSET_ID);
38379
      setSuccessIsSet(true);
37701
    }
38380
    }
37702
 
38381
 
-
 
38382
    /**
-
 
38383
     * Performs a deep copy on <i>other</i>.
-
 
38384
     */
37703
    /** Returns true if field isActive is set (has been assigned a value) and false otherwise */
38385
    public addBanner_result(addBanner_result other) {
37704
    public boolean isSetIsActive() {
38386
      __isset_bit_vector.clear();
37705
      return __isset_bit_vector.get(__ISACTIVE_ISSET_ID);
38387
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
38388
      this.success = other.success;
37706
    }
38389
    }
37707
 
38390
 
37708
    public void setIsActiveIsSet(boolean value) {
38391
    public addBanner_result deepCopy() {
37709
      __isset_bit_vector.set(__ISACTIVE_ISSET_ID, value);
38392
      return new addBanner_result(this);
37710
    }
38393
    }
37711
 
38394
 
-
 
38395
    @Override
37712
    public boolean isHasMap() {
38396
    public void clear() {
37713
      return this.hasMap;
38397
      setSuccessIsSet(false);
-
 
38398
      this.success = false;
37714
    }
38399
    }
37715
 
38400
 
37716
    public void setHasMap(boolean hasMap) {
38401
    public boolean isSuccess() {
37717
      this.hasMap = hasMap;
-
 
37718
      setHasMapIsSet(true);
38402
      return this.success;
37719
    }
38403
    }
37720
 
38404
 
37721
    public void unsetHasMap() {
38405
    public void setSuccess(boolean success) {
-
 
38406
      this.success = success;
37722
      __isset_bit_vector.clear(__HASMAP_ISSET_ID);
38407
      setSuccessIsSet(true);
37723
    }
38408
    }
37724
 
38409
 
37725
    /** Returns true if field hasMap is set (has been assigned a value) and false otherwise */
-
 
37726
    public boolean isSetHasMap() {
38410
    public void unsetSuccess() {
37727
      return __isset_bit_vector.get(__HASMAP_ISSET_ID);
38411
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
37728
    }
38412
    }
37729
 
38413
 
-
 
38414
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
38415
    public boolean isSetSuccess() {
-
 
38416
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
38417
    }
-
 
38418
 
37730
    public void setHasMapIsSet(boolean value) {
38419
    public void setSuccessIsSet(boolean value) {
37731
      __isset_bit_vector.set(__HASMAP_ISSET_ID, value);
38420
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
37732
    }
38421
    }
37733
 
38422
 
37734
    public void setFieldValue(_Fields field, Object value) {
38423
    public void setFieldValue(_Fields field, Object value) {
37735
      switch (field) {
38424
      switch (field) {
37736
      case BANNER_NAME:
-
 
37737
        if (value == null) {
-
 
37738
          unsetBannerName();
-
 
37739
        } else {
-
 
37740
          setBannerName((String)value);
-
 
37741
        }
-
 
37742
        break;
-
 
37743
 
-
 
37744
      case IMAGE_NAME:
-
 
37745
        if (value == null) {
-
 
37746
          unsetImageName();
-
 
37747
        } else {
-
 
37748
          setImageName((String)value);
-
 
37749
        }
-
 
37750
        break;
-
 
37751
 
-
 
37752
      case LINK:
-
 
37753
        if (value == null) {
-
 
37754
          unsetLink();
-
 
37755
        } else {
-
 
37756
          setLink((String)value);
-
 
37757
        }
-
 
37758
        break;
-
 
37759
 
-
 
37760
      case PRIORITY:
-
 
37761
        if (value == null) {
-
 
37762
          unsetPriority();
-
 
37763
        } else {
-
 
37764
          setPriority((Long)value);
-
 
37765
        }
-
 
37766
        break;
-
 
37767
 
-
 
37768
      case IS_ACTIVE:
38425
      case SUCCESS:
37769
        if (value == null) {
-
 
37770
          unsetIsActive();
-
 
37771
        } else {
-
 
37772
          setIsActive((Boolean)value);
-
 
37773
        }
-
 
37774
        break;
-
 
37775
 
-
 
37776
      case HAS_MAP:
-
 
37777
        if (value == null) {
38426
        if (value == null) {
37778
          unsetHasMap();
38427
          unsetSuccess();
37779
        } else {
38428
        } else {
37780
          setHasMap((Boolean)value);
38429
          setSuccess((Boolean)value);
37781
        }
38430
        }
37782
        break;
38431
        break;
37783
 
38432
 
37784
      }
38433
      }
37785
    }
38434
    }
37786
 
38435
 
37787
    public Object getFieldValue(_Fields field) {
38436
    public Object getFieldValue(_Fields field) {
37788
      switch (field) {
38437
      switch (field) {
37789
      case BANNER_NAME:
-
 
37790
        return getBannerName();
-
 
37791
 
-
 
37792
      case IMAGE_NAME:
-
 
37793
        return getImageName();
-
 
37794
 
-
 
37795
      case LINK:
-
 
37796
        return getLink();
-
 
37797
 
-
 
37798
      case PRIORITY:
-
 
37799
        return Long.valueOf(getPriority());
-
 
37800
 
-
 
37801
      case IS_ACTIVE:
38438
      case SUCCESS:
37802
        return Boolean.valueOf(isIsActive());
38439
        return Boolean.valueOf(isSuccess());
37803
 
-
 
37804
      case HAS_MAP:
-
 
37805
        return Boolean.valueOf(isHasMap());
-
 
37806
 
38440
 
37807
      }
38441
      }
37808
      throw new IllegalStateException();
38442
      throw new IllegalStateException();
37809
    }
38443
    }
37810
 
38444
 
Line 37813... Line 38447...
37813
      if (field == null) {
38447
      if (field == null) {
37814
        throw new IllegalArgumentException();
38448
        throw new IllegalArgumentException();
37815
      }
38449
      }
37816
 
38450
 
37817
      switch (field) {
38451
      switch (field) {
37818
      case BANNER_NAME:
-
 
37819
        return isSetBannerName();
-
 
37820
      case IMAGE_NAME:
-
 
37821
        return isSetImageName();
-
 
37822
      case LINK:
-
 
37823
        return isSetLink();
-
 
37824
      case PRIORITY:
-
 
37825
        return isSetPriority();
-
 
37826
      case IS_ACTIVE:
38452
      case SUCCESS:
37827
        return isSetIsActive();
38453
        return isSetSuccess();
37828
      case HAS_MAP:
-
 
37829
        return isSetHasMap();
-
 
37830
      }
38454
      }
37831
      throw new IllegalStateException();
38455
      throw new IllegalStateException();
37832
    }
38456
    }
37833
 
38457
 
37834
    @Override
38458
    @Override
37835
    public boolean equals(Object that) {
38459
    public boolean equals(Object that) {
37836
      if (that == null)
38460
      if (that == null)
37837
        return false;
38461
        return false;
37838
      if (that instanceof addBanner_args)
38462
      if (that instanceof addBanner_result)
37839
        return this.equals((addBanner_args)that);
38463
        return this.equals((addBanner_result)that);
37840
      return false;
38464
      return false;
37841
    }
38465
    }
37842
 
38466
 
37843
    public boolean equals(addBanner_args that) {
38467
    public boolean equals(addBanner_result that) {
37844
      if (that == null)
38468
      if (that == null)
37845
        return false;
38469
        return false;
37846
 
38470
 
37847
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
37848
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
37849
      if (this_present_bannerName || that_present_bannerName) {
-
 
37850
        if (!(this_present_bannerName && that_present_bannerName))
-
 
37851
          return false;
-
 
37852
        if (!this.bannerName.equals(that.bannerName))
-
 
37853
          return false;
-
 
37854
      }
-
 
37855
 
-
 
37856
      boolean this_present_imageName = true && this.isSetImageName();
-
 
37857
      boolean that_present_imageName = true && that.isSetImageName();
-
 
37858
      if (this_present_imageName || that_present_imageName) {
-
 
37859
        if (!(this_present_imageName && that_present_imageName))
-
 
37860
          return false;
-
 
37861
        if (!this.imageName.equals(that.imageName))
-
 
37862
          return false;
-
 
37863
      }
-
 
37864
 
-
 
37865
      boolean this_present_link = true && this.isSetLink();
-
 
37866
      boolean that_present_link = true && that.isSetLink();
-
 
37867
      if (this_present_link || that_present_link) {
-
 
37868
        if (!(this_present_link && that_present_link))
-
 
37869
          return false;
-
 
37870
        if (!this.link.equals(that.link))
-
 
37871
          return false;
-
 
37872
      }
-
 
37873
 
-
 
37874
      boolean this_present_priority = true;
-
 
37875
      boolean that_present_priority = true;
-
 
37876
      if (this_present_priority || that_present_priority) {
-
 
37877
        if (!(this_present_priority && that_present_priority))
-
 
37878
          return false;
-
 
37879
        if (this.priority != that.priority)
-
 
37880
          return false;
-
 
37881
      }
-
 
37882
 
-
 
37883
      boolean this_present_isActive = true;
38471
      boolean this_present_success = true;
37884
      boolean that_present_isActive = true;
38472
      boolean that_present_success = true;
37885
      if (this_present_isActive || that_present_isActive) {
38473
      if (this_present_success || that_present_success) {
37886
        if (!(this_present_isActive && that_present_isActive))
38474
        if (!(this_present_success && that_present_success))
37887
          return false;
-
 
37888
        if (this.isActive != that.isActive)
-
 
37889
          return false;
-
 
37890
      }
-
 
37891
 
-
 
37892
      boolean this_present_hasMap = true;
-
 
37893
      boolean that_present_hasMap = true;
-
 
37894
      if (this_present_hasMap || that_present_hasMap) {
-
 
37895
        if (!(this_present_hasMap && that_present_hasMap))
-
 
37896
          return false;
38475
          return false;
37897
        if (this.hasMap != that.hasMap)
38476
        if (this.success != that.success)
37898
          return false;
38477
          return false;
37899
      }
38478
      }
37900
 
38479
 
37901
      return true;
38480
      return true;
37902
    }
38481
    }
Line 37904... Line 38483...
37904
    @Override
38483
    @Override
37905
    public int hashCode() {
38484
    public int hashCode() {
37906
      return 0;
38485
      return 0;
37907
    }
38486
    }
37908
 
38487
 
37909
    public int compareTo(addBanner_args other) {
38488
    public int compareTo(addBanner_result other) {
37910
      if (!getClass().equals(other.getClass())) {
38489
      if (!getClass().equals(other.getClass())) {
37911
        return getClass().getName().compareTo(other.getClass().getName());
38490
        return getClass().getName().compareTo(other.getClass().getName());
37912
      }
38491
      }
37913
 
38492
 
37914
      int lastComparison = 0;
38493
      int lastComparison = 0;
37915
      addBanner_args typedOther = (addBanner_args)other;
38494
      addBanner_result typedOther = (addBanner_result)other;
37916
 
38495
 
37917
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
38496
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
37918
      if (lastComparison != 0) {
38497
      if (lastComparison != 0) {
37919
        return lastComparison;
38498
        return lastComparison;
37920
      }
38499
      }
37921
      if (isSetBannerName()) {
38500
      if (isSetSuccess()) {
37922
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
38501
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
37923
        if (lastComparison != 0) {
38502
        if (lastComparison != 0) {
37924
          return lastComparison;
38503
          return lastComparison;
37925
        }
38504
        }
37926
      }
38505
      }
-
 
38506
      return 0;
-
 
38507
    }
-
 
38508
 
-
 
38509
    public _Fields fieldForId(int fieldId) {
-
 
38510
      return _Fields.findByThriftId(fieldId);
-
 
38511
    }
-
 
38512
 
37927
      lastComparison = Boolean.valueOf(isSetImageName()).compareTo(typedOther.isSetImageName());
38513
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
37928
      if (lastComparison != 0) {
38514
      org.apache.thrift.protocol.TField field;
37929
        return lastComparison;
38515
      iprot.readStructBegin();
-
 
38516
      while (true)
37930
      }
38517
      {
37931
      if (isSetImageName()) {
38518
        field = iprot.readFieldBegin();
37932
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageName, typedOther.imageName);
38519
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
38520
          break;
-
 
38521
        }
37933
        if (lastComparison != 0) {
38522
        switch (field.id) {
-
 
38523
          case 0: // SUCCESS
-
 
38524
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
38525
              this.success = iprot.readBool();
37934
          return lastComparison;
38526
              setSuccessIsSet(true);
-
 
38527
            } else { 
-
 
38528
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
38529
            }
-
 
38530
            break;
-
 
38531
          default:
-
 
38532
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37935
        }
38533
        }
-
 
38534
        iprot.readFieldEnd();
37936
      }
38535
      }
-
 
38536
      iprot.readStructEnd();
-
 
38537
      validate();
-
 
38538
    }
-
 
38539
 
37937
      lastComparison = Boolean.valueOf(isSetLink()).compareTo(typedOther.isSetLink());
38540
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
38541
      oprot.writeStructBegin(STRUCT_DESC);
-
 
38542
 
37938
      if (lastComparison != 0) {
38543
      if (this.isSetSuccess()) {
-
 
38544
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
38545
        oprot.writeBool(this.success);
37939
        return lastComparison;
38546
        oprot.writeFieldEnd();
37940
      }
38547
      }
-
 
38548
      oprot.writeFieldStop();
-
 
38549
      oprot.writeStructEnd();
-
 
38550
    }
-
 
38551
 
-
 
38552
    @Override
37941
      if (isSetLink()) {
38553
    public String toString() {
37942
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.link, typedOther.link);
38554
      StringBuilder sb = new StringBuilder("addBanner_result(");
37943
        if (lastComparison != 0) {
38555
      boolean first = true;
-
 
38556
 
-
 
38557
      sb.append("success:");
-
 
38558
      sb.append(this.success);
-
 
38559
      first = false;
-
 
38560
      sb.append(")");
37944
          return lastComparison;
38561
      return sb.toString();
-
 
38562
    }
-
 
38563
 
-
 
38564
    public void validate() throws org.apache.thrift.TException {
-
 
38565
      // check for required fields
-
 
38566
    }
-
 
38567
 
-
 
38568
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
37945
        }
38569
      try {
-
 
38570
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
38571
      } catch (org.apache.thrift.TException te) {
-
 
38572
        throw new java.io.IOException(te);
37946
      }
38573
      }
-
 
38574
    }
-
 
38575
 
-
 
38576
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
38577
      try {
37947
      lastComparison = Boolean.valueOf(isSetPriority()).compareTo(typedOther.isSetPriority());
38578
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
37948
      if (lastComparison != 0) {
38579
      } catch (org.apache.thrift.TException te) {
37949
        return lastComparison;
38580
        throw new java.io.IOException(te);
37950
      }
38581
      }
-
 
38582
    }
-
 
38583
 
-
 
38584
  }
-
 
38585
 
-
 
38586
  public static class updateBanner_args implements org.apache.thrift.TBase<updateBanner_args, updateBanner_args._Fields>, java.io.Serializable, Cloneable   {
-
 
38587
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateBanner_args");
-
 
38588
 
-
 
38589
    private static final org.apache.thrift.protocol.TField BANNER_FIELD_DESC = new org.apache.thrift.protocol.TField("banner", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
38590
 
-
 
38591
    private Banner banner; // required
-
 
38592
 
-
 
38593
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
38594
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
37951
      if (isSetPriority()) {
38595
      BANNER((short)1, "banner");
-
 
38596
 
37952
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.priority, typedOther.priority);
38597
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
38598
 
-
 
38599
      static {
37953
        if (lastComparison != 0) {
38600
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
37954
          return lastComparison;
38601
          byName.put(field.getFieldName(), field);
37955
        }
38602
        }
37956
      }
38603
      }
-
 
38604
 
-
 
38605
      /**
37957
      lastComparison = Boolean.valueOf(isSetIsActive()).compareTo(typedOther.isSetIsActive());
38606
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
38607
       */
-
 
38608
      public static _Fields findByThriftId(int fieldId) {
37958
      if (lastComparison != 0) {
38609
        switch(fieldId) {
-
 
38610
          case 1: // BANNER
37959
        return lastComparison;
38611
            return BANNER;
-
 
38612
          default:
-
 
38613
            return null;
-
 
38614
        }
37960
      }
38615
      }
-
 
38616
 
-
 
38617
      /**
-
 
38618
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
38619
       * if it is not found.
-
 
38620
       */
-
 
38621
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
38622
        _Fields fields = findByThriftId(fieldId);
-
 
38623
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
38624
        return fields;
-
 
38625
      }
-
 
38626
 
-
 
38627
      /**
-
 
38628
       * Find the _Fields constant that matches name, or null if its not found.
-
 
38629
       */
-
 
38630
      public static _Fields findByName(String name) {
-
 
38631
        return byName.get(name);
-
 
38632
      }
-
 
38633
 
-
 
38634
      private final short _thriftId;
-
 
38635
      private final String _fieldName;
-
 
38636
 
-
 
38637
      _Fields(short thriftId, String fieldName) {
-
 
38638
        _thriftId = thriftId;
-
 
38639
        _fieldName = fieldName;
-
 
38640
      }
-
 
38641
 
-
 
38642
      public short getThriftFieldId() {
-
 
38643
        return _thriftId;
-
 
38644
      }
-
 
38645
 
-
 
38646
      public String getFieldName() {
-
 
38647
        return _fieldName;
-
 
38648
      }
-
 
38649
    }
-
 
38650
 
-
 
38651
    // isset id assignments
-
 
38652
 
-
 
38653
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
38654
    static {
-
 
38655
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
38656
      tmpMap.put(_Fields.BANNER, new org.apache.thrift.meta_data.FieldMetaData("banner", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
38657
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class)));
-
 
38658
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
38659
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateBanner_args.class, metaDataMap);
-
 
38660
    }
-
 
38661
 
-
 
38662
    public updateBanner_args() {
-
 
38663
    }
-
 
38664
 
-
 
38665
    public updateBanner_args(
-
 
38666
      Banner banner)
-
 
38667
    {
-
 
38668
      this();
-
 
38669
      this.banner = banner;
-
 
38670
    }
-
 
38671
 
-
 
38672
    /**
-
 
38673
     * Performs a deep copy on <i>other</i>.
-
 
38674
     */
-
 
38675
    public updateBanner_args(updateBanner_args other) {
37961
      if (isSetIsActive()) {
38676
      if (other.isSetBanner()) {
-
 
38677
        this.banner = new Banner(other.banner);
-
 
38678
      }
-
 
38679
    }
-
 
38680
 
-
 
38681
    public updateBanner_args deepCopy() {
-
 
38682
      return new updateBanner_args(this);
-
 
38683
    }
-
 
38684
 
-
 
38685
    @Override
-
 
38686
    public void clear() {
-
 
38687
      this.banner = null;
-
 
38688
    }
-
 
38689
 
-
 
38690
    public Banner getBanner() {
-
 
38691
      return this.banner;
-
 
38692
    }
-
 
38693
 
-
 
38694
    public void setBanner(Banner banner) {
-
 
38695
      this.banner = banner;
-
 
38696
    }
-
 
38697
 
-
 
38698
    public void unsetBanner() {
-
 
38699
      this.banner = null;
-
 
38700
    }
-
 
38701
 
37962
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isActive, typedOther.isActive);
38702
    /** Returns true if field banner is set (has been assigned a value) and false otherwise */
-
 
38703
    public boolean isSetBanner() {
-
 
38704
      return this.banner != null;
-
 
38705
    }
-
 
38706
 
-
 
38707
    public void setBannerIsSet(boolean value) {
-
 
38708
      if (!value) {
-
 
38709
        this.banner = null;
-
 
38710
      }
-
 
38711
    }
-
 
38712
 
-
 
38713
    public void setFieldValue(_Fields field, Object value) {
-
 
38714
      switch (field) {
-
 
38715
      case BANNER:
37963
        if (lastComparison != 0) {
38716
        if (value == null) {
-
 
38717
          unsetBanner();
-
 
38718
        } else {
37964
          return lastComparison;
38719
          setBanner((Banner)value);
37965
        }
38720
        }
-
 
38721
        break;
-
 
38722
 
-
 
38723
      }
-
 
38724
    }
-
 
38725
 
-
 
38726
    public Object getFieldValue(_Fields field) {
-
 
38727
      switch (field) {
-
 
38728
      case BANNER:
-
 
38729
        return getBanner();
-
 
38730
 
37966
      }
38731
      }
-
 
38732
      throw new IllegalStateException();
-
 
38733
    }
-
 
38734
 
-
 
38735
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
38736
    public boolean isSet(_Fields field) {
-
 
38737
      if (field == null) {
-
 
38738
        throw new IllegalArgumentException();
-
 
38739
      }
-
 
38740
 
-
 
38741
      switch (field) {
-
 
38742
      case BANNER:
-
 
38743
        return isSetBanner();
-
 
38744
      }
-
 
38745
      throw new IllegalStateException();
-
 
38746
    }
-
 
38747
 
-
 
38748
    @Override
-
 
38749
    public boolean equals(Object that) {
-
 
38750
      if (that == null)
-
 
38751
        return false;
-
 
38752
      if (that instanceof updateBanner_args)
-
 
38753
        return this.equals((updateBanner_args)that);
-
 
38754
      return false;
-
 
38755
    }
-
 
38756
 
-
 
38757
    public boolean equals(updateBanner_args that) {
-
 
38758
      if (that == null)
-
 
38759
        return false;
-
 
38760
 
-
 
38761
      boolean this_present_banner = true && this.isSetBanner();
-
 
38762
      boolean that_present_banner = true && that.isSetBanner();
-
 
38763
      if (this_present_banner || that_present_banner) {
-
 
38764
        if (!(this_present_banner && that_present_banner))
-
 
38765
          return false;
-
 
38766
        if (!this.banner.equals(that.banner))
-
 
38767
          return false;
-
 
38768
      }
-
 
38769
 
-
 
38770
      return true;
-
 
38771
    }
-
 
38772
 
-
 
38773
    @Override
-
 
38774
    public int hashCode() {
-
 
38775
      return 0;
-
 
38776
    }
-
 
38777
 
-
 
38778
    public int compareTo(updateBanner_args other) {
-
 
38779
      if (!getClass().equals(other.getClass())) {
-
 
38780
        return getClass().getName().compareTo(other.getClass().getName());
-
 
38781
      }
-
 
38782
 
-
 
38783
      int lastComparison = 0;
-
 
38784
      updateBanner_args typedOther = (updateBanner_args)other;
-
 
38785
 
37967
      lastComparison = Boolean.valueOf(isSetHasMap()).compareTo(typedOther.isSetHasMap());
38786
      lastComparison = Boolean.valueOf(isSetBanner()).compareTo(typedOther.isSetBanner());
37968
      if (lastComparison != 0) {
38787
      if (lastComparison != 0) {
37969
        return lastComparison;
38788
        return lastComparison;
37970
      }
38789
      }
37971
      if (isSetHasMap()) {
38790
      if (isSetBanner()) {
37972
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasMap, typedOther.hasMap);
38791
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.banner, typedOther.banner);
37973
        if (lastComparison != 0) {
38792
        if (lastComparison != 0) {
37974
          return lastComparison;
38793
          return lastComparison;
37975
        }
38794
        }
37976
      }
38795
      }
37977
      return 0;
38796
      return 0;
Line 37989... Line 38808...
37989
        field = iprot.readFieldBegin();
38808
        field = iprot.readFieldBegin();
37990
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
38809
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
37991
          break;
38810
          break;
37992
        }
38811
        }
37993
        switch (field.id) {
38812
        switch (field.id) {
37994
          case 1: // BANNER_NAME
38813
          case 1: // BANNER
37995
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
38814
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
37996
              this.bannerName = iprot.readString();
38815
              this.banner = new Banner();
37997
            } else { 
-
 
37998
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
37999
            }
-
 
38000
            break;
-
 
38001
          case 2: // IMAGE_NAME
-
 
38002
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
38003
              this.imageName = iprot.readString();
-
 
38004
            } else { 
-
 
38005
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
38006
            }
-
 
38007
            break;
-
 
38008
          case 3: // LINK
-
 
38009
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
38010
              this.link = iprot.readString();
38816
              this.banner.read(iprot);
38011
            } else { 
-
 
38012
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
38013
            }
-
 
38014
            break;
-
 
38015
          case 4: // PRIORITY
-
 
38016
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
38017
              this.priority = iprot.readI64();
-
 
38018
              setPriorityIsSet(true);
-
 
38019
            } else { 
-
 
38020
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
38021
            }
-
 
38022
            break;
-
 
38023
          case 5: // IS_ACTIVE
-
 
38024
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
38025
              this.isActive = iprot.readBool();
-
 
38026
              setIsActiveIsSet(true);
-
 
38027
            } else { 
-
 
38028
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
38029
            }
-
 
38030
            break;
-
 
38031
          case 6: // HAS_MAP
-
 
38032
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
38033
              this.hasMap = iprot.readBool();
-
 
38034
              setHasMapIsSet(true);
-
 
38035
            } else { 
38817
            } else { 
38036
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38818
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38037
            }
38819
            }
38038
            break;
38820
            break;
38039
          default:
38821
          default:
Line 38047... Line 38829...
38047
 
38829
 
38048
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
38830
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
38049
      validate();
38831
      validate();
38050
 
38832
 
38051
      oprot.writeStructBegin(STRUCT_DESC);
38833
      oprot.writeStructBegin(STRUCT_DESC);
38052
      if (this.bannerName != null) {
38834
      if (this.banner != null) {
38053
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
38835
        oprot.writeFieldBegin(BANNER_FIELD_DESC);
38054
        oprot.writeString(this.bannerName);
38836
        this.banner.write(oprot);
38055
        oprot.writeFieldEnd();
38837
        oprot.writeFieldEnd();
38056
      }
38838
      }
38057
      if (this.imageName != null) {
-
 
38058
        oprot.writeFieldBegin(IMAGE_NAME_FIELD_DESC);
-
 
38059
        oprot.writeString(this.imageName);
-
 
38060
        oprot.writeFieldEnd();
-
 
38061
      }
-
 
38062
      if (this.link != null) {
-
 
38063
        oprot.writeFieldBegin(LINK_FIELD_DESC);
-
 
38064
        oprot.writeString(this.link);
-
 
38065
        oprot.writeFieldEnd();
-
 
38066
      }
-
 
38067
      oprot.writeFieldBegin(PRIORITY_FIELD_DESC);
-
 
38068
      oprot.writeI64(this.priority);
-
 
38069
      oprot.writeFieldEnd();
-
 
38070
      oprot.writeFieldBegin(IS_ACTIVE_FIELD_DESC);
-
 
38071
      oprot.writeBool(this.isActive);
-
 
38072
      oprot.writeFieldEnd();
-
 
38073
      oprot.writeFieldBegin(HAS_MAP_FIELD_DESC);
-
 
38074
      oprot.writeBool(this.hasMap);
-
 
38075
      oprot.writeFieldEnd();
-
 
38076
      oprot.writeFieldStop();
38839
      oprot.writeFieldStop();
38077
      oprot.writeStructEnd();
38840
      oprot.writeStructEnd();
38078
    }
38841
    }
38079
 
38842
 
38080
    @Override
38843
    @Override
38081
    public String toString() {
38844
    public String toString() {
38082
      StringBuilder sb = new StringBuilder("addBanner_args(");
38845
      StringBuilder sb = new StringBuilder("updateBanner_args(");
38083
      boolean first = true;
38846
      boolean first = true;
38084
 
38847
 
38085
      sb.append("bannerName:");
38848
      sb.append("banner:");
38086
      if (this.bannerName == null) {
38849
      if (this.banner == null) {
38087
        sb.append("null");
38850
        sb.append("null");
38088
      } else {
38851
      } else {
38089
        sb.append(this.bannerName);
38852
        sb.append(this.banner);
38090
      }
38853
      }
38091
      first = false;
38854
      first = false;
38092
      if (!first) sb.append(", ");
-
 
38093
      sb.append("imageName:");
-
 
38094
      if (this.imageName == null) {
-
 
38095
        sb.append("null");
-
 
38096
      } else {
-
 
38097
        sb.append(this.imageName);
-
 
38098
      }
-
 
38099
      first = false;
-
 
38100
      if (!first) sb.append(", ");
-
 
38101
      sb.append("link:");
-
 
38102
      if (this.link == null) {
-
 
38103
        sb.append("null");
-
 
38104
      } else {
-
 
38105
        sb.append(this.link);
-
 
38106
      }
-
 
38107
      first = false;
-
 
38108
      if (!first) sb.append(", ");
-
 
38109
      sb.append("priority:");
-
 
38110
      sb.append(this.priority);
-
 
38111
      first = false;
-
 
38112
      if (!first) sb.append(", ");
-
 
38113
      sb.append("isActive:");
-
 
38114
      sb.append(this.isActive);
-
 
38115
      first = false;
-
 
38116
      if (!first) sb.append(", ");
-
 
38117
      sb.append("hasMap:");
-
 
38118
      sb.append(this.hasMap);
-
 
38119
      first = false;
-
 
38120
      sb.append(")");
38855
      sb.append(")");
38121
      return sb.toString();
38856
      return sb.toString();
38122
    }
38857
    }
38123
 
38858
 
38124
    public void validate() throws org.apache.thrift.TException {
38859
    public void validate() throws org.apache.thrift.TException {
Line 38133... Line 38868...
38133
      }
38868
      }
38134
    }
38869
    }
38135
 
38870
 
38136
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
38871
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
38137
      try {
38872
      try {
38138
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
38139
        __isset_bit_vector = new BitSet(1);
-
 
38140
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
38873
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
38141
      } catch (org.apache.thrift.TException te) {
38874
      } catch (org.apache.thrift.TException te) {
38142
        throw new java.io.IOException(te);
38875
        throw new java.io.IOException(te);
38143
      }
38876
      }
38144
    }
38877
    }
38145
 
38878
 
38146
  }
38879
  }
38147
 
38880
 
38148
  public static class addBanner_result implements org.apache.thrift.TBase<addBanner_result, addBanner_result._Fields>, java.io.Serializable, Cloneable   {
38881
  public static class updateBanner_result implements org.apache.thrift.TBase<updateBanner_result, updateBanner_result._Fields>, java.io.Serializable, Cloneable   {
38149
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBanner_result");
38882
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateBanner_result");
38150
 
38883
 
38151
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
38884
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
38152
 
38885
 
38153
    private boolean success; // required
38886
    private boolean success; // required
38154
 
38887
 
Line 38218... Line 38951...
38218
    static {
38951
    static {
38219
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
38952
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
38220
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
38953
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
38221
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
38954
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
38222
      metaDataMap = Collections.unmodifiableMap(tmpMap);
38955
      metaDataMap = Collections.unmodifiableMap(tmpMap);
38223
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBanner_result.class, metaDataMap);
38956
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateBanner_result.class, metaDataMap);
38224
    }
38957
    }
38225
 
38958
 
38226
    public addBanner_result() {
38959
    public updateBanner_result() {
38227
    }
38960
    }
38228
 
38961
 
38229
    public addBanner_result(
38962
    public updateBanner_result(
38230
      boolean success)
38963
      boolean success)
38231
    {
38964
    {
38232
      this();
38965
      this();
38233
      this.success = success;
38966
      this.success = success;
38234
      setSuccessIsSet(true);
38967
      setSuccessIsSet(true);
38235
    }
38968
    }
38236
 
38969
 
38237
    /**
38970
    /**
38238
     * Performs a deep copy on <i>other</i>.
38971
     * Performs a deep copy on <i>other</i>.
38239
     */
38972
     */
38240
    public addBanner_result(addBanner_result other) {
38973
    public updateBanner_result(updateBanner_result other) {
38241
      __isset_bit_vector.clear();
38974
      __isset_bit_vector.clear();
38242
      __isset_bit_vector.or(other.__isset_bit_vector);
38975
      __isset_bit_vector.or(other.__isset_bit_vector);
38243
      this.success = other.success;
38976
      this.success = other.success;
38244
    }
38977
    }
38245
 
38978
 
38246
    public addBanner_result deepCopy() {
38979
    public updateBanner_result deepCopy() {
38247
      return new addBanner_result(this);
38980
      return new updateBanner_result(this);
38248
    }
38981
    }
38249
 
38982
 
38250
    @Override
38983
    @Override
38251
    public void clear() {
38984
    public void clear() {
38252
      setSuccessIsSet(false);
38985
      setSuccessIsSet(false);
Line 38312... Line 39045...
38312
 
39045
 
38313
    @Override
39046
    @Override
38314
    public boolean equals(Object that) {
39047
    public boolean equals(Object that) {
38315
      if (that == null)
39048
      if (that == null)
38316
        return false;
39049
        return false;
38317
      if (that instanceof addBanner_result)
39050
      if (that instanceof updateBanner_result)
38318
        return this.equals((addBanner_result)that);
39051
        return this.equals((updateBanner_result)that);
38319
      return false;
39052
      return false;
38320
    }
39053
    }
38321
 
39054
 
38322
    public boolean equals(addBanner_result that) {
39055
    public boolean equals(updateBanner_result that) {
38323
      if (that == null)
39056
      if (that == null)
38324
        return false;
39057
        return false;
38325
 
39058
 
38326
      boolean this_present_success = true;
39059
      boolean this_present_success = true;
38327
      boolean that_present_success = true;
39060
      boolean that_present_success = true;
Line 38338... Line 39071...
38338
    @Override
39071
    @Override
38339
    public int hashCode() {
39072
    public int hashCode() {
38340
      return 0;
39073
      return 0;
38341
    }
39074
    }
38342
 
39075
 
38343
    public int compareTo(addBanner_result other) {
39076
    public int compareTo(updateBanner_result other) {
38344
      if (!getClass().equals(other.getClass())) {
39077
      if (!getClass().equals(other.getClass())) {
38345
        return getClass().getName().compareTo(other.getClass().getName());
39078
        return getClass().getName().compareTo(other.getClass().getName());
38346
      }
39079
      }
38347
 
39080
 
38348
      int lastComparison = 0;
39081
      int lastComparison = 0;
38349
      addBanner_result typedOther = (addBanner_result)other;
39082
      updateBanner_result typedOther = (updateBanner_result)other;
38350
 
39083
 
38351
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
39084
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
38352
      if (lastComparison != 0) {
39085
      if (lastComparison != 0) {
38353
        return lastComparison;
39086
        return lastComparison;
38354
      }
39087
      }
Line 38404... Line 39137...
38404
      oprot.writeStructEnd();
39137
      oprot.writeStructEnd();
38405
    }
39138
    }
38406
 
39139
 
38407
    @Override
39140
    @Override
38408
    public String toString() {
39141
    public String toString() {
38409
      StringBuilder sb = new StringBuilder("addBanner_result(");
39142
      StringBuilder sb = new StringBuilder("updateBanner_result(");
38410
      boolean first = true;
39143
      boolean first = true;
38411
 
39144
 
38412
      sb.append("success:");
39145
      sb.append("success:");
38413
      sb.append(this.success);
39146
      sb.append(this.success);
38414
      first = false;
39147
      first = false;
Line 38641... Line 39374...
38641
  public static class getAllBanners_result implements org.apache.thrift.TBase<getAllBanners_result, getAllBanners_result._Fields>, java.io.Serializable, Cloneable   {
39374
  public static class getAllBanners_result implements org.apache.thrift.TBase<getAllBanners_result, getAllBanners_result._Fields>, java.io.Serializable, Cloneable   {
38642
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllBanners_result");
39375
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllBanners_result");
38643
 
39376
 
38644
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
39377
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
38645
 
39378
 
38646
    private List<String> success; // required
39379
    private List<Banner> success; // required
38647
 
39380
 
38648
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
39381
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
38649
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
39382
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
38650
      SUCCESS((short)0, "success");
39383
      SUCCESS((short)0, "success");
38651
 
39384
 
Line 38708... Line 39441...
38708
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
39441
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
38709
    static {
39442
    static {
38710
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
39443
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
38711
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
39444
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
38712
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
39445
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
38713
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
39446
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class))));
38714
      metaDataMap = Collections.unmodifiableMap(tmpMap);
39447
      metaDataMap = Collections.unmodifiableMap(tmpMap);
38715
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllBanners_result.class, metaDataMap);
39448
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllBanners_result.class, metaDataMap);
38716
    }
39449
    }
38717
 
39450
 
38718
    public getAllBanners_result() {
39451
    public getAllBanners_result() {
38719
    }
39452
    }
38720
 
39453
 
38721
    public getAllBanners_result(
39454
    public getAllBanners_result(
38722
      List<String> success)
39455
      List<Banner> success)
38723
    {
39456
    {
38724
      this();
39457
      this();
38725
      this.success = success;
39458
      this.success = success;
38726
    }
39459
    }
38727
 
39460
 
38728
    /**
39461
    /**
38729
     * Performs a deep copy on <i>other</i>.
39462
     * Performs a deep copy on <i>other</i>.
38730
     */
39463
     */
38731
    public getAllBanners_result(getAllBanners_result other) {
39464
    public getAllBanners_result(getAllBanners_result other) {
38732
      if (other.isSetSuccess()) {
39465
      if (other.isSetSuccess()) {
38733
        List<String> __this__success = new ArrayList<String>();
39466
        List<Banner> __this__success = new ArrayList<Banner>();
38734
        for (String other_element : other.success) {
39467
        for (Banner other_element : other.success) {
38735
          __this__success.add(other_element);
39468
          __this__success.add(new Banner(other_element));
38736
        }
39469
        }
38737
        this.success = __this__success;
39470
        this.success = __this__success;
38738
      }
39471
      }
38739
    }
39472
    }
38740
 
39473
 
Line 38749... Line 39482...
38749
 
39482
 
38750
    public int getSuccessSize() {
39483
    public int getSuccessSize() {
38751
      return (this.success == null) ? 0 : this.success.size();
39484
      return (this.success == null) ? 0 : this.success.size();
38752
    }
39485
    }
38753
 
39486
 
38754
    public java.util.Iterator<String> getSuccessIterator() {
39487
    public java.util.Iterator<Banner> getSuccessIterator() {
38755
      return (this.success == null) ? null : this.success.iterator();
39488
      return (this.success == null) ? null : this.success.iterator();
38756
    }
39489
    }
38757
 
39490
 
38758
    public void addToSuccess(String elem) {
39491
    public void addToSuccess(Banner elem) {
38759
      if (this.success == null) {
39492
      if (this.success == null) {
38760
        this.success = new ArrayList<String>();
39493
        this.success = new ArrayList<Banner>();
38761
      }
39494
      }
38762
      this.success.add(elem);
39495
      this.success.add(elem);
38763
    }
39496
    }
38764
 
39497
 
38765
    public List<String> getSuccess() {
39498
    public List<Banner> getSuccess() {
38766
      return this.success;
39499
      return this.success;
38767
    }
39500
    }
38768
 
39501
 
38769
    public void setSuccess(List<String> success) {
39502
    public void setSuccess(List<Banner> success) {
38770
      this.success = success;
39503
      this.success = success;
38771
    }
39504
    }
38772
 
39505
 
38773
    public void unsetSuccess() {
39506
    public void unsetSuccess() {
38774
      this.success = null;
39507
      this.success = null;
Line 38789... Line 39522...
38789
      switch (field) {
39522
      switch (field) {
38790
      case SUCCESS:
39523
      case SUCCESS:
38791
        if (value == null) {
39524
        if (value == null) {
38792
          unsetSuccess();
39525
          unsetSuccess();
38793
        } else {
39526
        } else {
38794
          setSuccess((List<String>)value);
39527
          setSuccess((List<Banner>)value);
38795
        }
39528
        }
38796
        break;
39529
        break;
38797
 
39530
 
38798
      }
39531
      }
38799
    }
39532
    }
Line 38887... Line 39620...
38887
        switch (field.id) {
39620
        switch (field.id) {
38888
          case 0: // SUCCESS
39621
          case 0: // SUCCESS
38889
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39622
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38890
              {
39623
              {
38891
                org.apache.thrift.protocol.TList _list103 = iprot.readListBegin();
39624
                org.apache.thrift.protocol.TList _list103 = iprot.readListBegin();
38892
                this.success = new ArrayList<String>(_list103.size);
39625
                this.success = new ArrayList<Banner>(_list103.size);
38893
                for (int _i104 = 0; _i104 < _list103.size; ++_i104)
39626
                for (int _i104 = 0; _i104 < _list103.size; ++_i104)
38894
                {
39627
                {
38895
                  String _elem105; // required
39628
                  Banner _elem105; // required
38896
                  _elem105 = iprot.readString();
39629
                  _elem105 = new Banner();
-
 
39630
                  _elem105.read(iprot);
38897
                  this.success.add(_elem105);
39631
                  this.success.add(_elem105);
38898
                }
39632
                }
38899
                iprot.readListEnd();
39633
                iprot.readListEnd();
38900
              }
39634
              }
38901
            } else { 
39635
            } else { 
Line 38915... Line 39649...
38915
      oprot.writeStructBegin(STRUCT_DESC);
39649
      oprot.writeStructBegin(STRUCT_DESC);
38916
 
39650
 
38917
      if (this.isSetSuccess()) {
39651
      if (this.isSetSuccess()) {
38918
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39652
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38919
        {
39653
        {
38920
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
39654
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38921
          for (String _iter106 : this.success)
39655
          for (Banner _iter106 : this.success)
38922
          {
39656
          {
38923
            oprot.writeString(_iter106);
39657
            _iter106.write(oprot);
38924
          }
39658
          }
38925
          oprot.writeListEnd();
39659
          oprot.writeListEnd();
38926
        }
39660
        }
38927
        oprot.writeFieldEnd();
39661
        oprot.writeFieldEnd();
38928
      }
39662
      }
Line 40344... Line 41078...
40344
  }
41078
  }
40345
 
41079
 
40346
  public static class getActiveBanners_result implements org.apache.thrift.TBase<getActiveBanners_result, getActiveBanners_result._Fields>, java.io.Serializable, Cloneable   {
41080
  public static class getActiveBanners_result implements org.apache.thrift.TBase<getActiveBanners_result, getActiveBanners_result._Fields>, java.io.Serializable, Cloneable   {
40347
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveBanners_result");
41081
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveBanners_result");
40348
 
41082
 
40349
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
41083
    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);
40350
 
41084
 
40351
    private List<Banner> success; // required
41085
    private Map<String,List<Banner>> success; // required
40352
 
41086
 
40353
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
41087
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
40354
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
41088
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
40355
      SUCCESS((short)0, "success");
41089
      SUCCESS((short)0, "success");
40356
 
41090
 
Line 40412... Line 41146...
40412
 
41146
 
40413
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
41147
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
40414
    static {
41148
    static {
40415
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
41149
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
40416
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
41150
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
41151
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
41152
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
40417
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
41153
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
40418
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class))));
41154
                  new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class)))));
40419
      metaDataMap = Collections.unmodifiableMap(tmpMap);
41155
      metaDataMap = Collections.unmodifiableMap(tmpMap);
40420
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveBanners_result.class, metaDataMap);
41156
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveBanners_result.class, metaDataMap);
40421
    }
41157
    }
40422
 
41158
 
40423
    public getActiveBanners_result() {
41159
    public getActiveBanners_result() {
40424
    }
41160
    }
40425
 
41161
 
40426
    public getActiveBanners_result(
41162
    public getActiveBanners_result(
40427
      List<Banner> success)
41163
      Map<String,List<Banner>> success)
40428
    {
41164
    {
40429
      this();
41165
      this();
40430
      this.success = success;
41166
      this.success = success;
40431
    }
41167
    }
40432
 
41168
 
40433
    /**
41169
    /**
40434
     * Performs a deep copy on <i>other</i>.
41170
     * Performs a deep copy on <i>other</i>.
40435
     */
41171
     */
40436
    public getActiveBanners_result(getActiveBanners_result other) {
41172
    public getActiveBanners_result(getActiveBanners_result other) {
40437
      if (other.isSetSuccess()) {
41173
      if (other.isSetSuccess()) {
-
 
41174
        Map<String,List<Banner>> __this__success = new HashMap<String,List<Banner>>();
-
 
41175
        for (Map.Entry<String, List<Banner>> other_element : other.success.entrySet()) {
-
 
41176
 
-
 
41177
          String other_element_key = other_element.getKey();
-
 
41178
          List<Banner> other_element_value = other_element.getValue();
-
 
41179
 
-
 
41180
          String __this__success_copy_key = other_element_key;
-
 
41181
 
40438
        List<Banner> __this__success = new ArrayList<Banner>();
41182
          List<Banner> __this__success_copy_value = new ArrayList<Banner>();
40439
        for (Banner other_element : other.success) {
41183
          for (Banner other_element_value_element : other_element_value) {
40440
          __this__success.add(new Banner(other_element));
41184
            __this__success_copy_value.add(new Banner(other_element_value_element));
-
 
41185
          }
-
 
41186
 
-
 
41187
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
40441
        }
41188
        }
40442
        this.success = __this__success;
41189
        this.success = __this__success;
40443
      }
41190
      }
40444
    }
41191
    }
40445
 
41192
 
Line 40454... Line 41201...
40454
 
41201
 
40455
    public int getSuccessSize() {
41202
    public int getSuccessSize() {
40456
      return (this.success == null) ? 0 : this.success.size();
41203
      return (this.success == null) ? 0 : this.success.size();
40457
    }
41204
    }
40458
 
41205
 
40459
    public java.util.Iterator<Banner> getSuccessIterator() {
-
 
40460
      return (this.success == null) ? null : this.success.iterator();
-
 
40461
    }
-
 
40462
 
-
 
40463
    public void addToSuccess(Banner elem) {
41206
    public void putToSuccess(String key, List<Banner> val) {
40464
      if (this.success == null) {
41207
      if (this.success == null) {
40465
        this.success = new ArrayList<Banner>();
41208
        this.success = new HashMap<String,List<Banner>>();
40466
      }
41209
      }
40467
      this.success.add(elem);
41210
      this.success.put(key, val);
40468
    }
41211
    }
40469
 
41212
 
40470
    public List<Banner> getSuccess() {
41213
    public Map<String,List<Banner>> getSuccess() {
40471
      return this.success;
41214
      return this.success;
40472
    }
41215
    }
40473
 
41216
 
40474
    public void setSuccess(List<Banner> success) {
41217
    public void setSuccess(Map<String,List<Banner>> success) {
40475
      this.success = success;
41218
      this.success = success;
40476
    }
41219
    }
40477
 
41220
 
40478
    public void unsetSuccess() {
41221
    public void unsetSuccess() {
40479
      this.success = null;
41222
      this.success = null;
Line 40494... Line 41237...
40494
      switch (field) {
41237
      switch (field) {
40495
      case SUCCESS:
41238
      case SUCCESS:
40496
        if (value == null) {
41239
        if (value == null) {
40497
          unsetSuccess();
41240
          unsetSuccess();
40498
        } else {
41241
        } else {
40499
          setSuccess((List<Banner>)value);
41242
          setSuccess((Map<String,List<Banner>>)value);
40500
        }
41243
        }
40501
        break;
41244
        break;
40502
 
41245
 
40503
      }
41246
      }
40504
    }
41247
    }
Line 40589... Line 41332...
40589
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
41332
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
40590
          break;
41333
          break;
40591
        }
41334
        }
40592
        switch (field.id) {
41335
        switch (field.id) {
40593
          case 0: // SUCCESS
41336
          case 0: // SUCCESS
40594
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41337
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
40595
              {
41338
              {
40596
                org.apache.thrift.protocol.TList _list107 = iprot.readListBegin();
41339
                org.apache.thrift.protocol.TMap _map107 = iprot.readMapBegin();
40597
                this.success = new ArrayList<Banner>(_list107.size);
41340
                this.success = new HashMap<String,List<Banner>>(2*_map107.size);
40598
                for (int _i108 = 0; _i108 < _list107.size; ++_i108)
41341
                for (int _i108 = 0; _i108 < _map107.size; ++_i108)
40599
                {
41342
                {
-
 
41343
                  String _key109; // required
-
 
41344
                  List<Banner> _val110; // required
-
 
41345
                  _key109 = iprot.readString();
-
 
41346
                  {
-
 
41347
                    org.apache.thrift.protocol.TList _list111 = iprot.readListBegin();
-
 
41348
                    _val110 = new ArrayList<Banner>(_list111.size);
-
 
41349
                    for (int _i112 = 0; _i112 < _list111.size; ++_i112)
-
 
41350
                    {
40600
                  Banner _elem109; // required
41351
                      Banner _elem113; // required
40601
                  _elem109 = new Banner();
41352
                      _elem113 = new Banner();
40602
                  _elem109.read(iprot);
41353
                      _elem113.read(iprot);
-
 
41354
                      _val110.add(_elem113);
-
 
41355
                    }
-
 
41356
                    iprot.readListEnd();
-
 
41357
                  }
40603
                  this.success.add(_elem109);
41358
                  this.success.put(_key109, _val110);
40604
                }
41359
                }
40605
                iprot.readListEnd();
41360
                iprot.readMapEnd();
40606
              }
41361
              }
40607
            } else { 
41362
            } else { 
40608
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41363
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40609
            }
41364
            }
40610
            break;
41365
            break;
Line 40621... Line 41376...
40621
      oprot.writeStructBegin(STRUCT_DESC);
41376
      oprot.writeStructBegin(STRUCT_DESC);
40622
 
41377
 
40623
      if (this.isSetSuccess()) {
41378
      if (this.isSetSuccess()) {
40624
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41379
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40625
        {
41380
        {
40626
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41381
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, this.success.size()));
40627
          for (Banner _iter110 : this.success)
41382
          for (Map.Entry<String, List<Banner>> _iter114 : this.success.entrySet())
40628
          {
41383
          {
-
 
41384
            oprot.writeString(_iter114.getKey());
-
 
41385
            {
-
 
41386
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter114.getValue().size()));
-
 
41387
              for (Banner _iter115 : _iter114.getValue())
-
 
41388
              {
40629
            _iter110.write(oprot);
41389
                _iter115.write(oprot);
-
 
41390
              }
-
 
41391
              oprot.writeListEnd();
-
 
41392
            }
40630
          }
41393
          }
40631
          oprot.writeListEnd();
41394
          oprot.writeMapEnd();
40632
        }
41395
        }
40633
        oprot.writeFieldEnd();
41396
        oprot.writeFieldEnd();
40634
      }
41397
      }
40635
      oprot.writeFieldStop();
41398
      oprot.writeFieldStop();
40636
      oprot.writeStructEnd();
41399
      oprot.writeStructEnd();
Line 40675... Line 41438...
40675
  }
41438
  }
40676
 
41439
 
40677
  public static class addBannerMap_args implements org.apache.thrift.TBase<addBannerMap_args, addBannerMap_args._Fields>, java.io.Serializable, Cloneable   {
41440
  public static class addBannerMap_args implements org.apache.thrift.TBase<addBannerMap_args, addBannerMap_args._Fields>, java.io.Serializable, Cloneable   {
40678
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_args");
41441
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_args");
40679
 
41442
 
40680
    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);
41443
    private static final org.apache.thrift.protocol.TField BANNER_MAPS_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerMaps", org.apache.thrift.protocol.TType.LIST, (short)1);
40681
    private static final org.apache.thrift.protocol.TField MAP_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("mapLink", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
40682
    private static final org.apache.thrift.protocol.TField COORDINATES_FIELD_DESC = new org.apache.thrift.protocol.TField("coordinates", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
40683
 
41444
 
40684
    private String bannerName; // required
41445
    private List<BannerMap> bannerMaps; // required
40685
    private String mapLink; // required
-
 
40686
    private String coordinates; // required
-
 
40687
 
41446
 
40688
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
41447
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
40689
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
41448
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
40690
      BANNER_NAME((short)1, "bannerName"),
41449
      BANNER_MAPS((short)1, "bannerMaps");
40691
      MAP_LINK((short)2, "mapLink"),
-
 
40692
      COORDINATES((short)3, "coordinates");
-
 
40693
 
41450
 
40694
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
41451
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
40695
 
41452
 
40696
      static {
41453
      static {
40697
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
41454
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 40702... Line 41459...
40702
      /**
41459
      /**
40703
       * Find the _Fields constant that matches fieldId, or null if its not found.
41460
       * Find the _Fields constant that matches fieldId, or null if its not found.
40704
       */
41461
       */
40705
      public static _Fields findByThriftId(int fieldId) {
41462
      public static _Fields findByThriftId(int fieldId) {
40706
        switch(fieldId) {
41463
        switch(fieldId) {
40707
          case 1: // BANNER_NAME
41464
          case 1: // BANNER_MAPS
40708
            return BANNER_NAME;
41465
            return BANNER_MAPS;
40709
          case 2: // MAP_LINK
-
 
40710
            return MAP_LINK;
-
 
40711
          case 3: // COORDINATES
-
 
40712
            return COORDINATES;
-
 
40713
          default:
41466
          default:
40714
            return null;
41467
            return null;
40715
        }
41468
        }
40716
      }
41469
      }
40717
 
41470
 
Line 40752... Line 41505...
40752
    // isset id assignments
41505
    // isset id assignments
40753
 
41506
 
40754
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
41507
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
40755
    static {
41508
    static {
40756
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
41509
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
40757
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
41510
      tmpMap.put(_Fields.BANNER_MAPS, new org.apache.thrift.meta_data.FieldMetaData("bannerMaps", org.apache.thrift.TFieldRequirementType.DEFAULT, 
40758
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
40759
      tmpMap.put(_Fields.MAP_LINK, new org.apache.thrift.meta_data.FieldMetaData("mapLink", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40760
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
41511
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
40761
      tmpMap.put(_Fields.COORDINATES, new org.apache.thrift.meta_data.FieldMetaData("coordinates", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
40762
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
41512
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BannerMap.class))));
40763
      metaDataMap = Collections.unmodifiableMap(tmpMap);
41513
      metaDataMap = Collections.unmodifiableMap(tmpMap);
40764
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerMap_args.class, metaDataMap);
41514
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerMap_args.class, metaDataMap);
40765
    }
41515
    }
40766
 
41516
 
40767
    public addBannerMap_args() {
41517
    public addBannerMap_args() {
40768
    }
41518
    }
40769
 
41519
 
40770
    public addBannerMap_args(
41520
    public addBannerMap_args(
40771
      String bannerName,
41521
      List<BannerMap> bannerMaps)
40772
      String mapLink,
-
 
40773
      String coordinates)
-
 
40774
    {
41522
    {
40775
      this();
41523
      this();
40776
      this.bannerName = bannerName;
41524
      this.bannerMaps = bannerMaps;
40777
      this.mapLink = mapLink;
-
 
40778
      this.coordinates = coordinates;
-
 
40779
    }
41525
    }
40780
 
41526
 
40781
    /**
41527
    /**
40782
     * Performs a deep copy on <i>other</i>.
41528
     * Performs a deep copy on <i>other</i>.
40783
     */
41529
     */
40784
    public addBannerMap_args(addBannerMap_args other) {
41530
    public addBannerMap_args(addBannerMap_args other) {
40785
      if (other.isSetBannerName()) {
41531
      if (other.isSetBannerMaps()) {
40786
        this.bannerName = other.bannerName;
41532
        List<BannerMap> __this__bannerMaps = new ArrayList<BannerMap>();
40787
      }
-
 
40788
      if (other.isSetMapLink()) {
41533
        for (BannerMap other_element : other.bannerMaps) {
40789
        this.mapLink = other.mapLink;
41534
          __this__bannerMaps.add(new BannerMap(other_element));
40790
      }
41535
        }
40791
      if (other.isSetCoordinates()) {
-
 
40792
        this.coordinates = other.coordinates;
41536
        this.bannerMaps = __this__bannerMaps;
40793
      }
41537
      }
40794
    }
41538
    }
40795
 
41539
 
40796
    public addBannerMap_args deepCopy() {
41540
    public addBannerMap_args deepCopy() {
40797
      return new addBannerMap_args(this);
41541
      return new addBannerMap_args(this);
40798
    }
41542
    }
40799
 
41543
 
40800
    @Override
41544
    @Override
40801
    public void clear() {
41545
    public void clear() {
40802
      this.bannerName = null;
41546
      this.bannerMaps = null;
40803
      this.mapLink = null;
-
 
40804
      this.coordinates = null;
-
 
40805
    }
41547
    }
40806
 
41548
 
40807
    public String getBannerName() {
41549
    public int getBannerMapsSize() {
40808
      return this.bannerName;
41550
      return (this.bannerMaps == null) ? 0 : this.bannerMaps.size();
40809
    }
41551
    }
40810
 
41552
 
40811
    public void setBannerName(String bannerName) {
41553
    public java.util.Iterator<BannerMap> getBannerMapsIterator() {
40812
      this.bannerName = bannerName;
41554
      return (this.bannerMaps == null) ? null : this.bannerMaps.iterator();
40813
    }
41555
    }
40814
 
41556
 
40815
    public void unsetBannerName() {
41557
    public void addToBannerMaps(BannerMap elem) {
40816
      this.bannerName = null;
41558
      if (this.bannerMaps == null) {
-
 
41559
        this.bannerMaps = new ArrayList<BannerMap>();
-
 
41560
      }
-
 
41561
      this.bannerMaps.add(elem);
40817
    }
41562
    }
40818
 
41563
 
40819
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
40820
    public boolean isSetBannerName() {
41564
    public List<BannerMap> getBannerMaps() {
40821
      return this.bannerName != null;
41565
      return this.bannerMaps;
40822
    }
41566
    }
40823
 
41567
 
-
 
41568
    public void setBannerMaps(List<BannerMap> bannerMaps) {
-
 
41569
      this.bannerMaps = bannerMaps;
-
 
41570
    }
-
 
41571
 
-
 
41572
    public void unsetBannerMaps() {
-
 
41573
      this.bannerMaps = null;
-
 
41574
    }
-
 
41575
 
-
 
41576
    /** Returns true if field bannerMaps is set (has been assigned a value) and false otherwise */
-
 
41577
    public boolean isSetBannerMaps() {
-
 
41578
      return this.bannerMaps != null;
-
 
41579
    }
-
 
41580
 
40824
    public void setBannerNameIsSet(boolean value) {
41581
    public void setBannerMapsIsSet(boolean value) {
40825
      if (!value) {
41582
      if (!value) {
40826
        this.bannerName = null;
41583
        this.bannerMaps = null;
40827
      }
41584
      }
40828
    }
41585
    }
40829
 
41586
 
-
 
41587
    public void setFieldValue(_Fields field, Object value) {
-
 
41588
      switch (field) {
-
 
41589
      case BANNER_MAPS:
40830
    public String getMapLink() {
41590
        if (value == null) {
40831
      return this.mapLink;
41591
          unsetBannerMaps();
-
 
41592
        } else {
-
 
41593
          setBannerMaps((List<BannerMap>)value);
-
 
41594
        }
-
 
41595
        break;
-
 
41596
 
-
 
41597
      }
40832
    }
41598
    }
40833
 
41599
 
40834
    public void setMapLink(String mapLink) {
41600
    public Object getFieldValue(_Fields field) {
-
 
41601
      switch (field) {
-
 
41602
      case BANNER_MAPS:
40835
      this.mapLink = mapLink;
41603
        return getBannerMaps();
-
 
41604
 
-
 
41605
      }
-
 
41606
      throw new IllegalStateException();
40836
    }
41607
    }
40837
 
41608
 
-
 
41609
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
40838
    public void unsetMapLink() {
41610
    public boolean isSet(_Fields field) {
40839
      this.mapLink = null;
41611
      if (field == null) {
-
 
41612
        throw new IllegalArgumentException();
-
 
41613
      }
-
 
41614
 
-
 
41615
      switch (field) {
-
 
41616
      case BANNER_MAPS:
-
 
41617
        return isSetBannerMaps();
-
 
41618
      }
-
 
41619
      throw new IllegalStateException();
40840
    }
41620
    }
40841
 
41621
 
-
 
41622
    @Override
-
 
41623
    public boolean equals(Object that) {
-
 
41624
      if (that == null)
-
 
41625
        return false;
40842
    /** Returns true if field mapLink is set (has been assigned a value) and false otherwise */
41626
      if (that instanceof addBannerMap_args)
40843
    public boolean isSetMapLink() {
41627
        return this.equals((addBannerMap_args)that);
40844
      return this.mapLink != null;
41628
      return false;
40845
    }
41629
    }
40846
 
41630
 
40847
    public void setMapLinkIsSet(boolean value) {
41631
    public boolean equals(addBannerMap_args that) {
40848
      if (!value) {
41632
      if (that == null)
-
 
41633
        return false;
-
 
41634
 
-
 
41635
      boolean this_present_bannerMaps = true && this.isSetBannerMaps();
-
 
41636
      boolean that_present_bannerMaps = true && that.isSetBannerMaps();
-
 
41637
      if (this_present_bannerMaps || that_present_bannerMaps) {
-
 
41638
        if (!(this_present_bannerMaps && that_present_bannerMaps))
-
 
41639
          return false;
-
 
41640
        if (!this.bannerMaps.equals(that.bannerMaps))
40849
        this.mapLink = null;
41641
          return false;
40850
      }
41642
      }
-
 
41643
 
-
 
41644
      return true;
40851
    }
41645
    }
40852
 
41646
 
-
 
41647
    @Override
40853
    public String getCoordinates() {
41648
    public int hashCode() {
40854
      return this.coordinates;
41649
      return 0;
40855
    }
41650
    }
40856
 
41651
 
40857
    public void setCoordinates(String coordinates) {
41652
    public int compareTo(addBannerMap_args other) {
-
 
41653
      if (!getClass().equals(other.getClass())) {
-
 
41654
        return getClass().getName().compareTo(other.getClass().getName());
-
 
41655
      }
-
 
41656
 
-
 
41657
      int lastComparison = 0;
-
 
41658
      addBannerMap_args typedOther = (addBannerMap_args)other;
-
 
41659
 
-
 
41660
      lastComparison = Boolean.valueOf(isSetBannerMaps()).compareTo(typedOther.isSetBannerMaps());
-
 
41661
      if (lastComparison != 0) {
-
 
41662
        return lastComparison;
-
 
41663
      }
-
 
41664
      if (isSetBannerMaps()) {
-
 
41665
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerMaps, typedOther.bannerMaps);
-
 
41666
        if (lastComparison != 0) {
40858
      this.coordinates = coordinates;
41667
          return lastComparison;
-
 
41668
        }
-
 
41669
      }
-
 
41670
      return 0;
40859
    }
41671
    }
40860
 
41672
 
40861
    public void unsetCoordinates() {
41673
    public _Fields fieldForId(int fieldId) {
40862
      this.coordinates = null;
41674
      return _Fields.findByThriftId(fieldId);
40863
    }
41675
    }
40864
 
41676
 
-
 
41677
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
41678
      org.apache.thrift.protocol.TField field;
-
 
41679
      iprot.readStructBegin();
-
 
41680
      while (true)
-
 
41681
      {
-
 
41682
        field = iprot.readFieldBegin();
-
 
41683
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
41684
          break;
-
 
41685
        }
-
 
41686
        switch (field.id) {
-
 
41687
          case 1: // BANNER_MAPS
-
 
41688
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
41689
              {
40865
    /** Returns true if field coordinates is set (has been assigned a value) and false otherwise */
41690
                org.apache.thrift.protocol.TList _list116 = iprot.readListBegin();
-
 
41691
                this.bannerMaps = new ArrayList<BannerMap>(_list116.size);
-
 
41692
                for (int _i117 = 0; _i117 < _list116.size; ++_i117)
-
 
41693
                {
-
 
41694
                  BannerMap _elem118; // required
-
 
41695
                  _elem118 = new BannerMap();
-
 
41696
                  _elem118.read(iprot);
-
 
41697
                  this.bannerMaps.add(_elem118);
-
 
41698
                }
40866
    public boolean isSetCoordinates() {
41699
                iprot.readListEnd();
-
 
41700
              }
-
 
41701
            } else { 
-
 
41702
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41703
            }
-
 
41704
            break;
-
 
41705
          default:
-
 
41706
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41707
        }
40867
      return this.coordinates != null;
41708
        iprot.readFieldEnd();
-
 
41709
      }
-
 
41710
      iprot.readStructEnd();
-
 
41711
      validate();
40868
    }
41712
    }
40869
 
41713
 
40870
    public void setCoordinatesIsSet(boolean value) {
41714
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
40871
      if (!value) {
41715
      validate();
-
 
41716
 
-
 
41717
      oprot.writeStructBegin(STRUCT_DESC);
40872
        this.coordinates = null;
41718
      if (this.bannerMaps != null) {
-
 
41719
        oprot.writeFieldBegin(BANNER_MAPS_FIELD_DESC);
-
 
41720
        {
-
 
41721
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.bannerMaps.size()));
-
 
41722
          for (BannerMap _iter119 : this.bannerMaps)
-
 
41723
          {
-
 
41724
            _iter119.write(oprot);
-
 
41725
          }
-
 
41726
          oprot.writeListEnd();
-
 
41727
        }
-
 
41728
        oprot.writeFieldEnd();
40873
      }
41729
      }
-
 
41730
      oprot.writeFieldStop();
-
 
41731
      oprot.writeStructEnd();
40874
    }
41732
    }
40875
 
41733
 
-
 
41734
    @Override
-
 
41735
    public String toString() {
40876
    public void setFieldValue(_Fields field, Object value) {
41736
      StringBuilder sb = new StringBuilder("addBannerMap_args(");
40877
      switch (field) {
41737
      boolean first = true;
-
 
41738
 
40878
      case BANNER_NAME:
41739
      sb.append("bannerMaps:");
40879
        if (value == null) {
41740
      if (this.bannerMaps == null) {
40880
          unsetBannerName();
41741
        sb.append("null");
40881
        } else {
41742
      } else {
40882
          setBannerName((String)value);
41743
        sb.append(this.bannerMaps);
-
 
41744
      }
-
 
41745
      first = false;
-
 
41746
      sb.append(")");
-
 
41747
      return sb.toString();
-
 
41748
    }
-
 
41749
 
-
 
41750
    public void validate() throws org.apache.thrift.TException {
-
 
41751
      // check for required fields
-
 
41752
    }
-
 
41753
 
-
 
41754
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
41755
      try {
-
 
41756
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
41757
      } catch (org.apache.thrift.TException te) {
-
 
41758
        throw new java.io.IOException(te);
-
 
41759
      }
-
 
41760
    }
-
 
41761
 
-
 
41762
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
41763
      try {
-
 
41764
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
41765
      } catch (org.apache.thrift.TException te) {
-
 
41766
        throw new java.io.IOException(te);
-
 
41767
      }
-
 
41768
    }
-
 
41769
 
-
 
41770
  }
-
 
41771
 
-
 
41772
  public static class addBannerMap_result implements org.apache.thrift.TBase<addBannerMap_result, addBannerMap_result._Fields>, java.io.Serializable, Cloneable   {
-
 
41773
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_result");
-
 
41774
 
-
 
41775
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
41776
 
-
 
41777
    private boolean success; // required
-
 
41778
 
-
 
41779
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
41780
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
41781
      SUCCESS((short)0, "success");
-
 
41782
 
-
 
41783
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
41784
 
-
 
41785
      static {
-
 
41786
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
41787
          byName.put(field.getFieldName(), field);
40883
        }
41788
        }
40884
        break;
41789
      }
40885
 
41790
 
-
 
41791
      /**
-
 
41792
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
41793
       */
-
 
41794
      public static _Fields findByThriftId(int fieldId) {
40886
      case MAP_LINK:
41795
        switch(fieldId) {
40887
        if (value == null) {
41796
          case 0: // SUCCESS
40888
          unsetMapLink();
41797
            return SUCCESS;
40889
        } else {
41798
          default:
40890
          setMapLink((String)value);
41799
            return null;
40891
        }
41800
        }
-
 
41801
      }
-
 
41802
 
-
 
41803
      /**
-
 
41804
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
41805
       * if it is not found.
-
 
41806
       */
-
 
41807
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
41808
        _Fields fields = findByThriftId(fieldId);
-
 
41809
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
41810
        return fields;
-
 
41811
      }
-
 
41812
 
-
 
41813
      /**
-
 
41814
       * Find the _Fields constant that matches name, or null if its not found.
-
 
41815
       */
-
 
41816
      public static _Fields findByName(String name) {
-
 
41817
        return byName.get(name);
-
 
41818
      }
-
 
41819
 
-
 
41820
      private final short _thriftId;
-
 
41821
      private final String _fieldName;
-
 
41822
 
-
 
41823
      _Fields(short thriftId, String fieldName) {
-
 
41824
        _thriftId = thriftId;
-
 
41825
        _fieldName = fieldName;
-
 
41826
      }
-
 
41827
 
-
 
41828
      public short getThriftFieldId() {
-
 
41829
        return _thriftId;
-
 
41830
      }
-
 
41831
 
-
 
41832
      public String getFieldName() {
-
 
41833
        return _fieldName;
-
 
41834
      }
-
 
41835
    }
-
 
41836
 
-
 
41837
    // isset id assignments
-
 
41838
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
41839
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
41840
 
-
 
41841
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
41842
    static {
-
 
41843
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
41844
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
41845
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
41846
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
41847
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerMap_result.class, metaDataMap);
-
 
41848
    }
-
 
41849
 
-
 
41850
    public addBannerMap_result() {
-
 
41851
    }
-
 
41852
 
-
 
41853
    public addBannerMap_result(
-
 
41854
      boolean success)
-
 
41855
    {
40892
        break;
41856
      this();
-
 
41857
      this.success = success;
-
 
41858
      setSuccessIsSet(true);
-
 
41859
    }
-
 
41860
 
-
 
41861
    /**
-
 
41862
     * Performs a deep copy on <i>other</i>.
-
 
41863
     */
-
 
41864
    public addBannerMap_result(addBannerMap_result other) {
-
 
41865
      __isset_bit_vector.clear();
-
 
41866
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
41867
      this.success = other.success;
-
 
41868
    }
-
 
41869
 
-
 
41870
    public addBannerMap_result deepCopy() {
-
 
41871
      return new addBannerMap_result(this);
-
 
41872
    }
-
 
41873
 
-
 
41874
    @Override
-
 
41875
    public void clear() {
-
 
41876
      setSuccessIsSet(false);
-
 
41877
      this.success = false;
-
 
41878
    }
-
 
41879
 
-
 
41880
    public boolean isSuccess() {
-
 
41881
      return this.success;
-
 
41882
    }
-
 
41883
 
-
 
41884
    public void setSuccess(boolean success) {
-
 
41885
      this.success = success;
-
 
41886
      setSuccessIsSet(true);
-
 
41887
    }
-
 
41888
 
-
 
41889
    public void unsetSuccess() {
-
 
41890
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
41891
    }
-
 
41892
 
-
 
41893
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
41894
    public boolean isSetSuccess() {
-
 
41895
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
41896
    }
-
 
41897
 
-
 
41898
    public void setSuccessIsSet(boolean value) {
-
 
41899
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
41900
    }
40893
 
41901
 
-
 
41902
    public void setFieldValue(_Fields field, Object value) {
-
 
41903
      switch (field) {
40894
      case COORDINATES:
41904
      case SUCCESS:
40895
        if (value == null) {
41905
        if (value == null) {
40896
          unsetCoordinates();
41906
          unsetSuccess();
40897
        } else {
41907
        } else {
40898
          setCoordinates((String)value);
41908
          setSuccess((Boolean)value);
40899
        }
41909
        }
40900
        break;
41910
        break;
40901
 
41911
 
40902
      }
41912
      }
40903
    }
41913
    }
40904
 
41914
 
40905
    public Object getFieldValue(_Fields field) {
41915
    public Object getFieldValue(_Fields field) {
40906
      switch (field) {
41916
      switch (field) {
40907
      case BANNER_NAME:
-
 
40908
        return getBannerName();
-
 
40909
 
-
 
40910
      case MAP_LINK:
41917
      case SUCCESS:
40911
        return getMapLink();
-
 
40912
 
-
 
40913
      case COORDINATES:
-
 
40914
        return getCoordinates();
41918
        return Boolean.valueOf(isSuccess());
40915
 
41919
 
40916
      }
41920
      }
40917
      throw new IllegalStateException();
41921
      throw new IllegalStateException();
40918
    }
41922
    }
40919
 
41923
 
Line 40922... Line 41926...
40922
      if (field == null) {
41926
      if (field == null) {
40923
        throw new IllegalArgumentException();
41927
        throw new IllegalArgumentException();
40924
      }
41928
      }
40925
 
41929
 
40926
      switch (field) {
41930
      switch (field) {
40927
      case BANNER_NAME:
-
 
40928
        return isSetBannerName();
-
 
40929
      case MAP_LINK:
41931
      case SUCCESS:
40930
        return isSetMapLink();
41932
        return isSetSuccess();
40931
      case COORDINATES:
-
 
40932
        return isSetCoordinates();
-
 
40933
      }
41933
      }
40934
      throw new IllegalStateException();
41934
      throw new IllegalStateException();
40935
    }
41935
    }
40936
 
41936
 
40937
    @Override
41937
    @Override
40938
    public boolean equals(Object that) {
41938
    public boolean equals(Object that) {
40939
      if (that == null)
41939
      if (that == null)
40940
        return false;
41940
        return false;
40941
      if (that instanceof addBannerMap_args)
41941
      if (that instanceof addBannerMap_result)
40942
        return this.equals((addBannerMap_args)that);
41942
        return this.equals((addBannerMap_result)that);
40943
      return false;
41943
      return false;
40944
    }
41944
    }
40945
 
41945
 
40946
    public boolean equals(addBannerMap_args that) {
41946
    public boolean equals(addBannerMap_result that) {
40947
      if (that == null)
41947
      if (that == null)
40948
        return false;
41948
        return false;
40949
 
41949
 
40950
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
40951
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
40952
      if (this_present_bannerName || that_present_bannerName) {
-
 
40953
        if (!(this_present_bannerName && that_present_bannerName))
-
 
40954
          return false;
-
 
40955
        if (!this.bannerName.equals(that.bannerName))
-
 
40956
          return false;
-
 
40957
      }
-
 
40958
 
-
 
40959
      boolean this_present_mapLink = true && this.isSetMapLink();
41950
      boolean this_present_success = true;
40960
      boolean that_present_mapLink = true && that.isSetMapLink();
41951
      boolean that_present_success = true;
40961
      if (this_present_mapLink || that_present_mapLink) {
41952
      if (this_present_success || that_present_success) {
40962
        if (!(this_present_mapLink && that_present_mapLink))
41953
        if (!(this_present_success && that_present_success))
40963
          return false;
-
 
40964
        if (!this.mapLink.equals(that.mapLink))
-
 
40965
          return false;
-
 
40966
      }
-
 
40967
 
-
 
40968
      boolean this_present_coordinates = true && this.isSetCoordinates();
-
 
40969
      boolean that_present_coordinates = true && that.isSetCoordinates();
-
 
40970
      if (this_present_coordinates || that_present_coordinates) {
-
 
40971
        if (!(this_present_coordinates && that_present_coordinates))
-
 
40972
          return false;
41954
          return false;
40973
        if (!this.coordinates.equals(that.coordinates))
41955
        if (this.success != that.success)
40974
          return false;
41956
          return false;
40975
      }
41957
      }
40976
 
41958
 
40977
      return true;
41959
      return true;
40978
    }
41960
    }
Line 40980... Line 41962...
40980
    @Override
41962
    @Override
40981
    public int hashCode() {
41963
    public int hashCode() {
40982
      return 0;
41964
      return 0;
40983
    }
41965
    }
40984
 
41966
 
40985
    public int compareTo(addBannerMap_args other) {
41967
    public int compareTo(addBannerMap_result other) {
40986
      if (!getClass().equals(other.getClass())) {
41968
      if (!getClass().equals(other.getClass())) {
40987
        return getClass().getName().compareTo(other.getClass().getName());
41969
        return getClass().getName().compareTo(other.getClass().getName());
40988
      }
41970
      }
40989
 
41971
 
40990
      int lastComparison = 0;
41972
      int lastComparison = 0;
40991
      addBannerMap_args typedOther = (addBannerMap_args)other;
41973
      addBannerMap_result typedOther = (addBannerMap_result)other;
40992
 
41974
 
40993
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
41975
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
40994
      if (lastComparison != 0) {
41976
      if (lastComparison != 0) {
40995
        return lastComparison;
41977
        return lastComparison;
40996
      }
41978
      }
40997
      if (isSetBannerName()) {
41979
      if (isSetSuccess()) {
40998
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
41980
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
40999
        if (lastComparison != 0) {
41981
        if (lastComparison != 0) {
41000
          return lastComparison;
41982
          return lastComparison;
41001
        }
41983
        }
41002
      }
41984
      }
-
 
41985
      return 0;
-
 
41986
    }
-
 
41987
 
-
 
41988
    public _Fields fieldForId(int fieldId) {
-
 
41989
      return _Fields.findByThriftId(fieldId);
-
 
41990
    }
-
 
41991
 
41003
      lastComparison = Boolean.valueOf(isSetMapLink()).compareTo(typedOther.isSetMapLink());
41992
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
41993
      org.apache.thrift.protocol.TField field;
-
 
41994
      iprot.readStructBegin();
-
 
41995
      while (true)
-
 
41996
      {
-
 
41997
        field = iprot.readFieldBegin();
-
 
41998
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
41999
          break;
-
 
42000
        }
41004
      if (lastComparison != 0) {
42001
        switch (field.id) {
-
 
42002
          case 0: // SUCCESS
-
 
42003
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
42004
              this.success = iprot.readBool();
-
 
42005
              setSuccessIsSet(true);
-
 
42006
            } else { 
-
 
42007
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
42008
            }
-
 
42009
            break;
-
 
42010
          default:
-
 
42011
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
42012
        }
41005
        return lastComparison;
42013
        iprot.readFieldEnd();
41006
      }
42014
      }
-
 
42015
      iprot.readStructEnd();
-
 
42016
      validate();
-
 
42017
    }
-
 
42018
 
-
 
42019
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
42020
      oprot.writeStructBegin(STRUCT_DESC);
-
 
42021
 
41007
      if (isSetMapLink()) {
42022
      if (this.isSetSuccess()) {
-
 
42023
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
42024
        oprot.writeBool(this.success);
-
 
42025
        oprot.writeFieldEnd();
-
 
42026
      }
-
 
42027
      oprot.writeFieldStop();
-
 
42028
      oprot.writeStructEnd();
-
 
42029
    }
-
 
42030
 
-
 
42031
    @Override
-
 
42032
    public String toString() {
-
 
42033
      StringBuilder sb = new StringBuilder("addBannerMap_result(");
-
 
42034
      boolean first = true;
-
 
42035
 
-
 
42036
      sb.append("success:");
-
 
42037
      sb.append(this.success);
-
 
42038
      first = false;
-
 
42039
      sb.append(")");
-
 
42040
      return sb.toString();
-
 
42041
    }
-
 
42042
 
-
 
42043
    public void validate() throws org.apache.thrift.TException {
-
 
42044
      // check for required fields
-
 
42045
    }
-
 
42046
 
-
 
42047
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
42048
      try {
-
 
42049
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
42050
      } catch (org.apache.thrift.TException te) {
-
 
42051
        throw new java.io.IOException(te);
-
 
42052
      }
-
 
42053
    }
-
 
42054
 
-
 
42055
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
42056
      try {
41008
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mapLink, typedOther.mapLink);
42057
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
42058
      } catch (org.apache.thrift.TException te) {
-
 
42059
        throw new java.io.IOException(te);
-
 
42060
      }
-
 
42061
    }
-
 
42062
 
-
 
42063
  }
-
 
42064
 
-
 
42065
  public static class updateBannerMap_args implements org.apache.thrift.TBase<updateBannerMap_args, updateBannerMap_args._Fields>, java.io.Serializable, Cloneable   {
-
 
42066
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateBannerMap_args");
-
 
42067
 
-
 
42068
    private static final org.apache.thrift.protocol.TField BANNER_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerMap", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
42069
 
-
 
42070
    private BannerMap bannerMap; // required
-
 
42071
 
-
 
42072
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
42073
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
42074
      BANNER_MAP((short)1, "bannerMap");
-
 
42075
 
-
 
42076
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
42077
 
-
 
42078
      static {
-
 
42079
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
42080
          byName.put(field.getFieldName(), field);
-
 
42081
        }
-
 
42082
      }
-
 
42083
 
-
 
42084
      /**
-
 
42085
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
42086
       */
-
 
42087
      public static _Fields findByThriftId(int fieldId) {
-
 
42088
        switch(fieldId) {
41009
        if (lastComparison != 0) {
42089
          case 1: // BANNER_MAP
41010
          return lastComparison;
42090
            return BANNER_MAP;
-
 
42091
          default:
-
 
42092
            return null;
41011
        }
42093
        }
41012
      }
42094
      }
-
 
42095
 
-
 
42096
      /**
-
 
42097
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
42098
       * if it is not found.
-
 
42099
       */
-
 
42100
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
42101
        _Fields fields = findByThriftId(fieldId);
-
 
42102
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
42103
        return fields;
-
 
42104
      }
-
 
42105
 
-
 
42106
      /**
-
 
42107
       * Find the _Fields constant that matches name, or null if its not found.
-
 
42108
       */
-
 
42109
      public static _Fields findByName(String name) {
-
 
42110
        return byName.get(name);
-
 
42111
      }
-
 
42112
 
-
 
42113
      private final short _thriftId;
-
 
42114
      private final String _fieldName;
-
 
42115
 
-
 
42116
      _Fields(short thriftId, String fieldName) {
-
 
42117
        _thriftId = thriftId;
-
 
42118
        _fieldName = fieldName;
-
 
42119
      }
-
 
42120
 
-
 
42121
      public short getThriftFieldId() {
-
 
42122
        return _thriftId;
-
 
42123
      }
-
 
42124
 
-
 
42125
      public String getFieldName() {
-
 
42126
        return _fieldName;
-
 
42127
      }
-
 
42128
    }
-
 
42129
 
-
 
42130
    // isset id assignments
-
 
42131
 
-
 
42132
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
42133
    static {
-
 
42134
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
42135
      tmpMap.put(_Fields.BANNER_MAP, new org.apache.thrift.meta_data.FieldMetaData("bannerMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
42136
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BannerMap.class)));
-
 
42137
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
42138
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateBannerMap_args.class, metaDataMap);
-
 
42139
    }
-
 
42140
 
-
 
42141
    public updateBannerMap_args() {
-
 
42142
    }
-
 
42143
 
-
 
42144
    public updateBannerMap_args(
-
 
42145
      BannerMap bannerMap)
-
 
42146
    {
-
 
42147
      this();
-
 
42148
      this.bannerMap = bannerMap;
-
 
42149
    }
-
 
42150
 
-
 
42151
    /**
-
 
42152
     * Performs a deep copy on <i>other</i>.
-
 
42153
     */
-
 
42154
    public updateBannerMap_args(updateBannerMap_args other) {
-
 
42155
      if (other.isSetBannerMap()) {
-
 
42156
        this.bannerMap = new BannerMap(other.bannerMap);
-
 
42157
      }
-
 
42158
    }
-
 
42159
 
-
 
42160
    public updateBannerMap_args deepCopy() {
-
 
42161
      return new updateBannerMap_args(this);
-
 
42162
    }
-
 
42163
 
-
 
42164
    @Override
-
 
42165
    public void clear() {
-
 
42166
      this.bannerMap = null;
-
 
42167
    }
-
 
42168
 
-
 
42169
    public BannerMap getBannerMap() {
-
 
42170
      return this.bannerMap;
-
 
42171
    }
-
 
42172
 
-
 
42173
    public void setBannerMap(BannerMap bannerMap) {
-
 
42174
      this.bannerMap = bannerMap;
-
 
42175
    }
-
 
42176
 
-
 
42177
    public void unsetBannerMap() {
-
 
42178
      this.bannerMap = null;
-
 
42179
    }
-
 
42180
 
-
 
42181
    /** Returns true if field bannerMap is set (has been assigned a value) and false otherwise */
-
 
42182
    public boolean isSetBannerMap() {
-
 
42183
      return this.bannerMap != null;
-
 
42184
    }
-
 
42185
 
-
 
42186
    public void setBannerMapIsSet(boolean value) {
-
 
42187
      if (!value) {
-
 
42188
        this.bannerMap = null;
-
 
42189
      }
-
 
42190
    }
-
 
42191
 
-
 
42192
    public void setFieldValue(_Fields field, Object value) {
-
 
42193
      switch (field) {
-
 
42194
      case BANNER_MAP:
-
 
42195
        if (value == null) {
-
 
42196
          unsetBannerMap();
-
 
42197
        } else {
-
 
42198
          setBannerMap((BannerMap)value);
-
 
42199
        }
-
 
42200
        break;
-
 
42201
 
-
 
42202
      }
-
 
42203
    }
-
 
42204
 
-
 
42205
    public Object getFieldValue(_Fields field) {
-
 
42206
      switch (field) {
-
 
42207
      case BANNER_MAP:
-
 
42208
        return getBannerMap();
-
 
42209
 
-
 
42210
      }
-
 
42211
      throw new IllegalStateException();
-
 
42212
    }
-
 
42213
 
-
 
42214
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
42215
    public boolean isSet(_Fields field) {
-
 
42216
      if (field == null) {
-
 
42217
        throw new IllegalArgumentException();
-
 
42218
      }
-
 
42219
 
-
 
42220
      switch (field) {
-
 
42221
      case BANNER_MAP:
-
 
42222
        return isSetBannerMap();
-
 
42223
      }
-
 
42224
      throw new IllegalStateException();
-
 
42225
    }
-
 
42226
 
-
 
42227
    @Override
-
 
42228
    public boolean equals(Object that) {
-
 
42229
      if (that == null)
-
 
42230
        return false;
-
 
42231
      if (that instanceof updateBannerMap_args)
-
 
42232
        return this.equals((updateBannerMap_args)that);
-
 
42233
      return false;
-
 
42234
    }
-
 
42235
 
-
 
42236
    public boolean equals(updateBannerMap_args that) {
-
 
42237
      if (that == null)
-
 
42238
        return false;
-
 
42239
 
-
 
42240
      boolean this_present_bannerMap = true && this.isSetBannerMap();
-
 
42241
      boolean that_present_bannerMap = true && that.isSetBannerMap();
-
 
42242
      if (this_present_bannerMap || that_present_bannerMap) {
-
 
42243
        if (!(this_present_bannerMap && that_present_bannerMap))
-
 
42244
          return false;
-
 
42245
        if (!this.bannerMap.equals(that.bannerMap))
-
 
42246
          return false;
-
 
42247
      }
-
 
42248
 
-
 
42249
      return true;
-
 
42250
    }
-
 
42251
 
-
 
42252
    @Override
-
 
42253
    public int hashCode() {
-
 
42254
      return 0;
-
 
42255
    }
-
 
42256
 
-
 
42257
    public int compareTo(updateBannerMap_args other) {
-
 
42258
      if (!getClass().equals(other.getClass())) {
-
 
42259
        return getClass().getName().compareTo(other.getClass().getName());
-
 
42260
      }
-
 
42261
 
-
 
42262
      int lastComparison = 0;
-
 
42263
      updateBannerMap_args typedOther = (updateBannerMap_args)other;
-
 
42264
 
41013
      lastComparison = Boolean.valueOf(isSetCoordinates()).compareTo(typedOther.isSetCoordinates());
42265
      lastComparison = Boolean.valueOf(isSetBannerMap()).compareTo(typedOther.isSetBannerMap());
41014
      if (lastComparison != 0) {
42266
      if (lastComparison != 0) {
41015
        return lastComparison;
42267
        return lastComparison;
41016
      }
42268
      }
41017
      if (isSetCoordinates()) {
42269
      if (isSetBannerMap()) {
41018
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.coordinates, typedOther.coordinates);
42270
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerMap, typedOther.bannerMap);
41019
        if (lastComparison != 0) {
42271
        if (lastComparison != 0) {
41020
          return lastComparison;
42272
          return lastComparison;
41021
        }
42273
        }
41022
      }
42274
      }
41023
      return 0;
42275
      return 0;
Line 41035... Line 42287...
41035
        field = iprot.readFieldBegin();
42287
        field = iprot.readFieldBegin();
41036
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
42288
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
41037
          break;
42289
          break;
41038
        }
42290
        }
41039
        switch (field.id) {
42291
        switch (field.id) {
41040
          case 1: // BANNER_NAME
42292
          case 1: // BANNER_MAP
41041
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
42293
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
41042
              this.bannerName = iprot.readString();
42294
              this.bannerMap = new BannerMap();
41043
            } else { 
-
 
41044
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41045
            }
-
 
41046
            break;
-
 
41047
          case 2: // MAP_LINK
-
 
41048
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
41049
              this.mapLink = iprot.readString();
42295
              this.bannerMap.read(iprot);
41050
            } else { 
-
 
41051
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
41052
            }
-
 
41053
            break;
-
 
41054
          case 3: // COORDINATES
-
 
41055
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
41056
              this.coordinates = iprot.readString();
-
 
41057
            } else { 
42296
            } else { 
41058
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42297
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41059
            }
42298
            }
41060
            break;
42299
            break;
41061
          default:
42300
          default:
Line 41069... Line 42308...
41069
 
42308
 
41070
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
42309
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
41071
      validate();
42310
      validate();
41072
 
42311
 
41073
      oprot.writeStructBegin(STRUCT_DESC);
42312
      oprot.writeStructBegin(STRUCT_DESC);
41074
      if (this.bannerName != null) {
42313
      if (this.bannerMap != null) {
41075
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
42314
        oprot.writeFieldBegin(BANNER_MAP_FIELD_DESC);
41076
        oprot.writeString(this.bannerName);
-
 
41077
        oprot.writeFieldEnd();
-
 
41078
      }
-
 
41079
      if (this.mapLink != null) {
-
 
41080
        oprot.writeFieldBegin(MAP_LINK_FIELD_DESC);
-
 
41081
        oprot.writeString(this.mapLink);
42315
        this.bannerMap.write(oprot);
41082
        oprot.writeFieldEnd();
-
 
41083
      }
-
 
41084
      if (this.coordinates != null) {
-
 
41085
        oprot.writeFieldBegin(COORDINATES_FIELD_DESC);
-
 
41086
        oprot.writeString(this.coordinates);
-
 
41087
        oprot.writeFieldEnd();
42316
        oprot.writeFieldEnd();
41088
      }
42317
      }
41089
      oprot.writeFieldStop();
42318
      oprot.writeFieldStop();
41090
      oprot.writeStructEnd();
42319
      oprot.writeStructEnd();
41091
    }
42320
    }
41092
 
42321
 
41093
    @Override
42322
    @Override
41094
    public String toString() {
42323
    public String toString() {
41095
      StringBuilder sb = new StringBuilder("addBannerMap_args(");
42324
      StringBuilder sb = new StringBuilder("updateBannerMap_args(");
41096
      boolean first = true;
42325
      boolean first = true;
41097
 
42326
 
41098
      sb.append("bannerName:");
42327
      sb.append("bannerMap:");
41099
      if (this.bannerName == null) {
42328
      if (this.bannerMap == null) {
41100
        sb.append("null");
42329
        sb.append("null");
41101
      } else {
42330
      } else {
41102
        sb.append(this.bannerName);
42331
        sb.append(this.bannerMap);
41103
      }
-
 
41104
      first = false;
-
 
41105
      if (!first) sb.append(", ");
-
 
41106
      sb.append("mapLink:");
-
 
41107
      if (this.mapLink == null) {
-
 
41108
        sb.append("null");
-
 
41109
      } else {
-
 
41110
        sb.append(this.mapLink);
-
 
41111
      }
-
 
41112
      first = false;
-
 
41113
      if (!first) sb.append(", ");
-
 
41114
      sb.append("coordinates:");
-
 
41115
      if (this.coordinates == null) {
-
 
41116
        sb.append("null");
-
 
41117
      } else {
-
 
41118
        sb.append(this.coordinates);
-
 
41119
      }
42332
      }
41120
      first = false;
42333
      first = false;
41121
      sb.append(")");
42334
      sb.append(")");
41122
      return sb.toString();
42335
      return sb.toString();
41123
    }
42336
    }
Line 41142... Line 42355...
41142
      }
42355
      }
41143
    }
42356
    }
41144
 
42357
 
41145
  }
42358
  }
41146
 
42359
 
41147
  public static class addBannerMap_result implements org.apache.thrift.TBase<addBannerMap_result, addBannerMap_result._Fields>, java.io.Serializable, Cloneable   {
42360
  public static class updateBannerMap_result implements org.apache.thrift.TBase<updateBannerMap_result, updateBannerMap_result._Fields>, java.io.Serializable, Cloneable   {
41148
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_result");
42361
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateBannerMap_result");
41149
 
42362
 
41150
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
42363
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
41151
 
42364
 
41152
    private boolean success; // required
42365
    private boolean success; // required
41153
 
42366
 
Line 41217... Line 42430...
41217
    static {
42430
    static {
41218
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
42431
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
41219
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
42432
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
41220
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
42433
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
41221
      metaDataMap = Collections.unmodifiableMap(tmpMap);
42434
      metaDataMap = Collections.unmodifiableMap(tmpMap);
41222
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerMap_result.class, metaDataMap);
42435
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateBannerMap_result.class, metaDataMap);
41223
    }
42436
    }
41224
 
42437
 
41225
    public addBannerMap_result() {
42438
    public updateBannerMap_result() {
41226
    }
42439
    }
41227
 
42440
 
41228
    public addBannerMap_result(
42441
    public updateBannerMap_result(
41229
      boolean success)
42442
      boolean success)
41230
    {
42443
    {
41231
      this();
42444
      this();
41232
      this.success = success;
42445
      this.success = success;
41233
      setSuccessIsSet(true);
42446
      setSuccessIsSet(true);
41234
    }
42447
    }
41235
 
42448
 
41236
    /**
42449
    /**
41237
     * Performs a deep copy on <i>other</i>.
42450
     * Performs a deep copy on <i>other</i>.
41238
     */
42451
     */
41239
    public addBannerMap_result(addBannerMap_result other) {
42452
    public updateBannerMap_result(updateBannerMap_result other) {
41240
      __isset_bit_vector.clear();
42453
      __isset_bit_vector.clear();
41241
      __isset_bit_vector.or(other.__isset_bit_vector);
42454
      __isset_bit_vector.or(other.__isset_bit_vector);
41242
      this.success = other.success;
42455
      this.success = other.success;
41243
    }
42456
    }
41244
 
42457
 
41245
    public addBannerMap_result deepCopy() {
42458
    public updateBannerMap_result deepCopy() {
41246
      return new addBannerMap_result(this);
42459
      return new updateBannerMap_result(this);
41247
    }
42460
    }
41248
 
42461
 
41249
    @Override
42462
    @Override
41250
    public void clear() {
42463
    public void clear() {
41251
      setSuccessIsSet(false);
42464
      setSuccessIsSet(false);
Line 41311... Line 42524...
41311
 
42524
 
41312
    @Override
42525
    @Override
41313
    public boolean equals(Object that) {
42526
    public boolean equals(Object that) {
41314
      if (that == null)
42527
      if (that == null)
41315
        return false;
42528
        return false;
41316
      if (that instanceof addBannerMap_result)
42529
      if (that instanceof updateBannerMap_result)
41317
        return this.equals((addBannerMap_result)that);
42530
        return this.equals((updateBannerMap_result)that);
41318
      return false;
42531
      return false;
41319
    }
42532
    }
41320
 
42533
 
41321
    public boolean equals(addBannerMap_result that) {
42534
    public boolean equals(updateBannerMap_result that) {
41322
      if (that == null)
42535
      if (that == null)
41323
        return false;
42536
        return false;
41324
 
42537
 
41325
      boolean this_present_success = true;
42538
      boolean this_present_success = true;
41326
      boolean that_present_success = true;
42539
      boolean that_present_success = true;
Line 41337... Line 42550...
41337
    @Override
42550
    @Override
41338
    public int hashCode() {
42551
    public int hashCode() {
41339
      return 0;
42552
      return 0;
41340
    }
42553
    }
41341
 
42554
 
41342
    public int compareTo(addBannerMap_result other) {
42555
    public int compareTo(updateBannerMap_result other) {
41343
      if (!getClass().equals(other.getClass())) {
42556
      if (!getClass().equals(other.getClass())) {
41344
        return getClass().getName().compareTo(other.getClass().getName());
42557
        return getClass().getName().compareTo(other.getClass().getName());
41345
      }
42558
      }
41346
 
42559
 
41347
      int lastComparison = 0;
42560
      int lastComparison = 0;
41348
      addBannerMap_result typedOther = (addBannerMap_result)other;
42561
      updateBannerMap_result typedOther = (updateBannerMap_result)other;
41349
 
42562
 
41350
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
42563
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
41351
      if (lastComparison != 0) {
42564
      if (lastComparison != 0) {
41352
        return lastComparison;
42565
        return lastComparison;
41353
      }
42566
      }
Line 41403... Line 42616...
41403
      oprot.writeStructEnd();
42616
      oprot.writeStructEnd();
41404
    }
42617
    }
41405
 
42618
 
41406
    @Override
42619
    @Override
41407
    public String toString() {
42620
    public String toString() {
41408
      StringBuilder sb = new StringBuilder("addBannerMap_result(");
42621
      StringBuilder sb = new StringBuilder("updateBannerMap_result(");
41409
      boolean first = true;
42622
      boolean first = true;
41410
 
42623
 
41411
      sb.append("success:");
42624
      sb.append("success:");
41412
      sb.append(this.success);
42625
      sb.append(this.success);
41413
      first = false;
42626
      first = false;
Line 42566... Line 43779...
42566
        }
43779
        }
42567
        switch (field.id) {
43780
        switch (field.id) {
42568
          case 0: // SUCCESS
43781
          case 0: // SUCCESS
42569
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43782
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42570
              {
43783
              {
42571
                org.apache.thrift.protocol.TList _list111 = iprot.readListBegin();
43784
                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
42572
                this.success = new ArrayList<BannerMap>(_list111.size);
43785
                this.success = new ArrayList<BannerMap>(_list120.size);
42573
                for (int _i112 = 0; _i112 < _list111.size; ++_i112)
43786
                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
42574
                {
43787
                {
42575
                  BannerMap _elem113; // required
43788
                  BannerMap _elem122; // required
42576
                  _elem113 = new BannerMap();
43789
                  _elem122 = new BannerMap();
42577
                  _elem113.read(iprot);
43790
                  _elem122.read(iprot);
42578
                  this.success.add(_elem113);
43791
                  this.success.add(_elem122);
42579
                }
43792
                }
42580
                iprot.readListEnd();
43793
                iprot.readListEnd();
42581
              }
43794
              }
42582
            } else { 
43795
            } else { 
42583
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43796
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42597... Line 43810...
42597
 
43810
 
42598
      if (this.isSetSuccess()) {
43811
      if (this.isSetSuccess()) {
42599
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43812
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42600
        {
43813
        {
42601
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43814
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42602
          for (BannerMap _iter114 : this.success)
43815
          for (BannerMap _iter123 : this.success)
42603
          {
43816
          {
42604
            _iter114.write(oprot);
43817
            _iter123.write(oprot);
42605
          }
43818
          }
42606
          oprot.writeListEnd();
43819
          oprot.writeListEnd();
42607
        }
43820
        }
42608
        oprot.writeFieldEnd();
43821
        oprot.writeFieldEnd();
42609
      }
43822
      }
Line 42647... Line 43860...
42647
      }
43860
      }
42648
    }
43861
    }
42649
 
43862
 
42650
  }
43863
  }
42651
 
43864
 
-
 
43865
  public static class addBannerUri_args implements org.apache.thrift.TBase<addBannerUri_args, addBannerUri_args._Fields>, java.io.Serializable, Cloneable   {
-
 
43866
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerUri_args");
-
 
43867
 
-
 
43868
    private static final org.apache.thrift.protocol.TField BANNER_URI_MAPPINGS_FIELD_DESC = new org.apache.thrift.protocol.TField("bannerUriMappings", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
43869
 
-
 
43870
    private List<BannerUriMapping> bannerUriMappings; // required
-
 
43871
 
-
 
43872
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
43873
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
43874
      BANNER_URI_MAPPINGS((short)1, "bannerUriMappings");
-
 
43875
 
-
 
43876
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
43877
 
-
 
43878
      static {
-
 
43879
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
43880
          byName.put(field.getFieldName(), field);
-
 
43881
        }
-
 
43882
      }
-
 
43883
 
-
 
43884
      /**
-
 
43885
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
43886
       */
-
 
43887
      public static _Fields findByThriftId(int fieldId) {
-
 
43888
        switch(fieldId) {
-
 
43889
          case 1: // BANNER_URI_MAPPINGS
-
 
43890
            return BANNER_URI_MAPPINGS;
-
 
43891
          default:
-
 
43892
            return null;
-
 
43893
        }
-
 
43894
      }
-
 
43895
 
-
 
43896
      /**
-
 
43897
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
43898
       * if it is not found.
-
 
43899
       */
-
 
43900
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
43901
        _Fields fields = findByThriftId(fieldId);
-
 
43902
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
43903
        return fields;
-
 
43904
      }
-
 
43905
 
-
 
43906
      /**
-
 
43907
       * Find the _Fields constant that matches name, or null if its not found.
-
 
43908
       */
-
 
43909
      public static _Fields findByName(String name) {
-
 
43910
        return byName.get(name);
-
 
43911
      }
-
 
43912
 
-
 
43913
      private final short _thriftId;
-
 
43914
      private final String _fieldName;
-
 
43915
 
-
 
43916
      _Fields(short thriftId, String fieldName) {
-
 
43917
        _thriftId = thriftId;
-
 
43918
        _fieldName = fieldName;
-
 
43919
      }
-
 
43920
 
-
 
43921
      public short getThriftFieldId() {
-
 
43922
        return _thriftId;
-
 
43923
      }
-
 
43924
 
-
 
43925
      public String getFieldName() {
-
 
43926
        return _fieldName;
-
 
43927
      }
-
 
43928
    }
-
 
43929
 
-
 
43930
    // isset id assignments
-
 
43931
 
-
 
43932
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
43933
    static {
-
 
43934
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
43935
      tmpMap.put(_Fields.BANNER_URI_MAPPINGS, new org.apache.thrift.meta_data.FieldMetaData("bannerUriMappings", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
43936
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
43937
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BannerUriMapping.class))));
-
 
43938
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
43939
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerUri_args.class, metaDataMap);
-
 
43940
    }
-
 
43941
 
-
 
43942
    public addBannerUri_args() {
-
 
43943
    }
-
 
43944
 
-
 
43945
    public addBannerUri_args(
-
 
43946
      List<BannerUriMapping> bannerUriMappings)
-
 
43947
    {
-
 
43948
      this();
-
 
43949
      this.bannerUriMappings = bannerUriMappings;
-
 
43950
    }
-
 
43951
 
-
 
43952
    /**
-
 
43953
     * Performs a deep copy on <i>other</i>.
-
 
43954
     */
-
 
43955
    public addBannerUri_args(addBannerUri_args other) {
-
 
43956
      if (other.isSetBannerUriMappings()) {
-
 
43957
        List<BannerUriMapping> __this__bannerUriMappings = new ArrayList<BannerUriMapping>();
-
 
43958
        for (BannerUriMapping other_element : other.bannerUriMappings) {
-
 
43959
          __this__bannerUriMappings.add(new BannerUriMapping(other_element));
-
 
43960
        }
-
 
43961
        this.bannerUriMappings = __this__bannerUriMappings;
-
 
43962
      }
-
 
43963
    }
-
 
43964
 
-
 
43965
    public addBannerUri_args deepCopy() {
-
 
43966
      return new addBannerUri_args(this);
-
 
43967
    }
-
 
43968
 
-
 
43969
    @Override
-
 
43970
    public void clear() {
-
 
43971
      this.bannerUriMappings = null;
-
 
43972
    }
-
 
43973
 
-
 
43974
    public int getBannerUriMappingsSize() {
-
 
43975
      return (this.bannerUriMappings == null) ? 0 : this.bannerUriMappings.size();
-
 
43976
    }
-
 
43977
 
-
 
43978
    public java.util.Iterator<BannerUriMapping> getBannerUriMappingsIterator() {
-
 
43979
      return (this.bannerUriMappings == null) ? null : this.bannerUriMappings.iterator();
-
 
43980
    }
-
 
43981
 
-
 
43982
    public void addToBannerUriMappings(BannerUriMapping elem) {
-
 
43983
      if (this.bannerUriMappings == null) {
-
 
43984
        this.bannerUriMappings = new ArrayList<BannerUriMapping>();
-
 
43985
      }
-
 
43986
      this.bannerUriMappings.add(elem);
-
 
43987
    }
-
 
43988
 
-
 
43989
    public List<BannerUriMapping> getBannerUriMappings() {
-
 
43990
      return this.bannerUriMappings;
-
 
43991
    }
-
 
43992
 
-
 
43993
    public void setBannerUriMappings(List<BannerUriMapping> bannerUriMappings) {
-
 
43994
      this.bannerUriMappings = bannerUriMappings;
-
 
43995
    }
-
 
43996
 
-
 
43997
    public void unsetBannerUriMappings() {
-
 
43998
      this.bannerUriMappings = null;
-
 
43999
    }
-
 
44000
 
-
 
44001
    /** Returns true if field bannerUriMappings is set (has been assigned a value) and false otherwise */
-
 
44002
    public boolean isSetBannerUriMappings() {
-
 
44003
      return this.bannerUriMappings != null;
-
 
44004
    }
-
 
44005
 
-
 
44006
    public void setBannerUriMappingsIsSet(boolean value) {
-
 
44007
      if (!value) {
-
 
44008
        this.bannerUriMappings = null;
-
 
44009
      }
-
 
44010
    }
-
 
44011
 
-
 
44012
    public void setFieldValue(_Fields field, Object value) {
-
 
44013
      switch (field) {
-
 
44014
      case BANNER_URI_MAPPINGS:
-
 
44015
        if (value == null) {
-
 
44016
          unsetBannerUriMappings();
-
 
44017
        } else {
-
 
44018
          setBannerUriMappings((List<BannerUriMapping>)value);
-
 
44019
        }
-
 
44020
        break;
-
 
44021
 
-
 
44022
      }
-
 
44023
    }
-
 
44024
 
-
 
44025
    public Object getFieldValue(_Fields field) {
-
 
44026
      switch (field) {
-
 
44027
      case BANNER_URI_MAPPINGS:
-
 
44028
        return getBannerUriMappings();
-
 
44029
 
-
 
44030
      }
-
 
44031
      throw new IllegalStateException();
-
 
44032
    }
-
 
44033
 
-
 
44034
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
44035
    public boolean isSet(_Fields field) {
-
 
44036
      if (field == null) {
-
 
44037
        throw new IllegalArgumentException();
-
 
44038
      }
-
 
44039
 
-
 
44040
      switch (field) {
-
 
44041
      case BANNER_URI_MAPPINGS:
-
 
44042
        return isSetBannerUriMappings();
-
 
44043
      }
-
 
44044
      throw new IllegalStateException();
-
 
44045
    }
-
 
44046
 
-
 
44047
    @Override
-
 
44048
    public boolean equals(Object that) {
-
 
44049
      if (that == null)
-
 
44050
        return false;
-
 
44051
      if (that instanceof addBannerUri_args)
-
 
44052
        return this.equals((addBannerUri_args)that);
-
 
44053
      return false;
-
 
44054
    }
-
 
44055
 
-
 
44056
    public boolean equals(addBannerUri_args that) {
-
 
44057
      if (that == null)
-
 
44058
        return false;
-
 
44059
 
-
 
44060
      boolean this_present_bannerUriMappings = true && this.isSetBannerUriMappings();
-
 
44061
      boolean that_present_bannerUriMappings = true && that.isSetBannerUriMappings();
-
 
44062
      if (this_present_bannerUriMappings || that_present_bannerUriMappings) {
-
 
44063
        if (!(this_present_bannerUriMappings && that_present_bannerUriMappings))
-
 
44064
          return false;
-
 
44065
        if (!this.bannerUriMappings.equals(that.bannerUriMappings))
-
 
44066
          return false;
-
 
44067
      }
-
 
44068
 
-
 
44069
      return true;
-
 
44070
    }
-
 
44071
 
-
 
44072
    @Override
-
 
44073
    public int hashCode() {
-
 
44074
      return 0;
-
 
44075
    }
-
 
44076
 
-
 
44077
    public int compareTo(addBannerUri_args other) {
-
 
44078
      if (!getClass().equals(other.getClass())) {
-
 
44079
        return getClass().getName().compareTo(other.getClass().getName());
-
 
44080
      }
-
 
44081
 
-
 
44082
      int lastComparison = 0;
-
 
44083
      addBannerUri_args typedOther = (addBannerUri_args)other;
-
 
44084
 
-
 
44085
      lastComparison = Boolean.valueOf(isSetBannerUriMappings()).compareTo(typedOther.isSetBannerUriMappings());
-
 
44086
      if (lastComparison != 0) {
-
 
44087
        return lastComparison;
-
 
44088
      }
-
 
44089
      if (isSetBannerUriMappings()) {
-
 
44090
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerUriMappings, typedOther.bannerUriMappings);
-
 
44091
        if (lastComparison != 0) {
-
 
44092
          return lastComparison;
-
 
44093
        }
-
 
44094
      }
-
 
44095
      return 0;
-
 
44096
    }
-
 
44097
 
-
 
44098
    public _Fields fieldForId(int fieldId) {
-
 
44099
      return _Fields.findByThriftId(fieldId);
-
 
44100
    }
-
 
44101
 
-
 
44102
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
44103
      org.apache.thrift.protocol.TField field;
-
 
44104
      iprot.readStructBegin();
-
 
44105
      while (true)
-
 
44106
      {
-
 
44107
        field = iprot.readFieldBegin();
-
 
44108
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
44109
          break;
-
 
44110
        }
-
 
44111
        switch (field.id) {
-
 
44112
          case 1: // BANNER_URI_MAPPINGS
-
 
44113
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
44114
              {
-
 
44115
                org.apache.thrift.protocol.TList _list124 = iprot.readListBegin();
-
 
44116
                this.bannerUriMappings = new ArrayList<BannerUriMapping>(_list124.size);
-
 
44117
                for (int _i125 = 0; _i125 < _list124.size; ++_i125)
-
 
44118
                {
-
 
44119
                  BannerUriMapping _elem126; // required
-
 
44120
                  _elem126 = new BannerUriMapping();
-
 
44121
                  _elem126.read(iprot);
-
 
44122
                  this.bannerUriMappings.add(_elem126);
-
 
44123
                }
-
 
44124
                iprot.readListEnd();
-
 
44125
              }
-
 
44126
            } else { 
-
 
44127
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44128
            }
-
 
44129
            break;
-
 
44130
          default:
-
 
44131
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44132
        }
-
 
44133
        iprot.readFieldEnd();
-
 
44134
      }
-
 
44135
      iprot.readStructEnd();
-
 
44136
      validate();
-
 
44137
    }
-
 
44138
 
-
 
44139
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
44140
      validate();
-
 
44141
 
-
 
44142
      oprot.writeStructBegin(STRUCT_DESC);
-
 
44143
      if (this.bannerUriMappings != null) {
-
 
44144
        oprot.writeFieldBegin(BANNER_URI_MAPPINGS_FIELD_DESC);
-
 
44145
        {
-
 
44146
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.bannerUriMappings.size()));
-
 
44147
          for (BannerUriMapping _iter127 : this.bannerUriMappings)
-
 
44148
          {
-
 
44149
            _iter127.write(oprot);
-
 
44150
          }
-
 
44151
          oprot.writeListEnd();
-
 
44152
        }
-
 
44153
        oprot.writeFieldEnd();
-
 
44154
      }
-
 
44155
      oprot.writeFieldStop();
-
 
44156
      oprot.writeStructEnd();
-
 
44157
    }
-
 
44158
 
-
 
44159
    @Override
-
 
44160
    public String toString() {
-
 
44161
      StringBuilder sb = new StringBuilder("addBannerUri_args(");
-
 
44162
      boolean first = true;
-
 
44163
 
-
 
44164
      sb.append("bannerUriMappings:");
-
 
44165
      if (this.bannerUriMappings == null) {
-
 
44166
        sb.append("null");
-
 
44167
      } else {
-
 
44168
        sb.append(this.bannerUriMappings);
-
 
44169
      }
-
 
44170
      first = false;
-
 
44171
      sb.append(")");
-
 
44172
      return sb.toString();
-
 
44173
    }
-
 
44174
 
-
 
44175
    public void validate() throws org.apache.thrift.TException {
-
 
44176
      // check for required fields
-
 
44177
    }
-
 
44178
 
-
 
44179
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
44180
      try {
-
 
44181
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
44182
      } catch (org.apache.thrift.TException te) {
-
 
44183
        throw new java.io.IOException(te);
-
 
44184
      }
-
 
44185
    }
-
 
44186
 
-
 
44187
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
44188
      try {
-
 
44189
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
44190
      } catch (org.apache.thrift.TException te) {
-
 
44191
        throw new java.io.IOException(te);
-
 
44192
      }
-
 
44193
    }
-
 
44194
 
-
 
44195
  }
-
 
44196
 
-
 
44197
  public static class addBannerUri_result implements org.apache.thrift.TBase<addBannerUri_result, addBannerUri_result._Fields>, java.io.Serializable, Cloneable   {
-
 
44198
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerUri_result");
-
 
44199
 
-
 
44200
 
-
 
44201
 
-
 
44202
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
44203
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
44204
;
-
 
44205
 
-
 
44206
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
44207
 
-
 
44208
      static {
-
 
44209
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
44210
          byName.put(field.getFieldName(), field);
-
 
44211
        }
-
 
44212
      }
-
 
44213
 
-
 
44214
      /**
-
 
44215
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
44216
       */
-
 
44217
      public static _Fields findByThriftId(int fieldId) {
-
 
44218
        switch(fieldId) {
-
 
44219
          default:
-
 
44220
            return null;
-
 
44221
        }
-
 
44222
      }
-
 
44223
 
-
 
44224
      /**
-
 
44225
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
44226
       * if it is not found.
-
 
44227
       */
-
 
44228
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
44229
        _Fields fields = findByThriftId(fieldId);
-
 
44230
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
44231
        return fields;
-
 
44232
      }
-
 
44233
 
-
 
44234
      /**
-
 
44235
       * Find the _Fields constant that matches name, or null if its not found.
-
 
44236
       */
-
 
44237
      public static _Fields findByName(String name) {
-
 
44238
        return byName.get(name);
-
 
44239
      }
-
 
44240
 
-
 
44241
      private final short _thriftId;
-
 
44242
      private final String _fieldName;
-
 
44243
 
-
 
44244
      _Fields(short thriftId, String fieldName) {
-
 
44245
        _thriftId = thriftId;
-
 
44246
        _fieldName = fieldName;
-
 
44247
      }
-
 
44248
 
-
 
44249
      public short getThriftFieldId() {
-
 
44250
        return _thriftId;
-
 
44251
      }
-
 
44252
 
-
 
44253
      public String getFieldName() {
-
 
44254
        return _fieldName;
-
 
44255
      }
-
 
44256
    }
-
 
44257
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
44258
    static {
-
 
44259
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
44260
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
44261
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBannerUri_result.class, metaDataMap);
-
 
44262
    }
-
 
44263
 
-
 
44264
    public addBannerUri_result() {
-
 
44265
    }
-
 
44266
 
-
 
44267
    /**
-
 
44268
     * Performs a deep copy on <i>other</i>.
-
 
44269
     */
-
 
44270
    public addBannerUri_result(addBannerUri_result other) {
-
 
44271
    }
-
 
44272
 
-
 
44273
    public addBannerUri_result deepCopy() {
-
 
44274
      return new addBannerUri_result(this);
-
 
44275
    }
-
 
44276
 
-
 
44277
    @Override
-
 
44278
    public void clear() {
-
 
44279
    }
-
 
44280
 
-
 
44281
    public void setFieldValue(_Fields field, Object value) {
-
 
44282
      switch (field) {
-
 
44283
      }
-
 
44284
    }
-
 
44285
 
-
 
44286
    public Object getFieldValue(_Fields field) {
-
 
44287
      switch (field) {
-
 
44288
      }
-
 
44289
      throw new IllegalStateException();
-
 
44290
    }
-
 
44291
 
-
 
44292
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
44293
    public boolean isSet(_Fields field) {
-
 
44294
      if (field == null) {
-
 
44295
        throw new IllegalArgumentException();
-
 
44296
      }
-
 
44297
 
-
 
44298
      switch (field) {
-
 
44299
      }
-
 
44300
      throw new IllegalStateException();
-
 
44301
    }
-
 
44302
 
-
 
44303
    @Override
-
 
44304
    public boolean equals(Object that) {
-
 
44305
      if (that == null)
-
 
44306
        return false;
-
 
44307
      if (that instanceof addBannerUri_result)
-
 
44308
        return this.equals((addBannerUri_result)that);
-
 
44309
      return false;
-
 
44310
    }
-
 
44311
 
-
 
44312
    public boolean equals(addBannerUri_result that) {
-
 
44313
      if (that == null)
-
 
44314
        return false;
-
 
44315
 
-
 
44316
      return true;
-
 
44317
    }
-
 
44318
 
-
 
44319
    @Override
-
 
44320
    public int hashCode() {
-
 
44321
      return 0;
-
 
44322
    }
-
 
44323
 
-
 
44324
    public int compareTo(addBannerUri_result other) {
-
 
44325
      if (!getClass().equals(other.getClass())) {
-
 
44326
        return getClass().getName().compareTo(other.getClass().getName());
-
 
44327
      }
-
 
44328
 
-
 
44329
      int lastComparison = 0;
-
 
44330
      addBannerUri_result typedOther = (addBannerUri_result)other;
-
 
44331
 
-
 
44332
      return 0;
-
 
44333
    }
-
 
44334
 
-
 
44335
    public _Fields fieldForId(int fieldId) {
-
 
44336
      return _Fields.findByThriftId(fieldId);
-
 
44337
    }
-
 
44338
 
-
 
44339
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
44340
      org.apache.thrift.protocol.TField field;
-
 
44341
      iprot.readStructBegin();
-
 
44342
      while (true)
-
 
44343
      {
-
 
44344
        field = iprot.readFieldBegin();
-
 
44345
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
44346
          break;
-
 
44347
        }
-
 
44348
        switch (field.id) {
-
 
44349
          default:
-
 
44350
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44351
        }
-
 
44352
        iprot.readFieldEnd();
-
 
44353
      }
-
 
44354
      iprot.readStructEnd();
-
 
44355
      validate();
-
 
44356
    }
-
 
44357
 
-
 
44358
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
44359
      oprot.writeStructBegin(STRUCT_DESC);
-
 
44360
 
-
 
44361
      oprot.writeFieldStop();
-
 
44362
      oprot.writeStructEnd();
-
 
44363
    }
-
 
44364
 
-
 
44365
    @Override
-
 
44366
    public String toString() {
-
 
44367
      StringBuilder sb = new StringBuilder("addBannerUri_result(");
-
 
44368
      boolean first = true;
-
 
44369
 
-
 
44370
      sb.append(")");
-
 
44371
      return sb.toString();
-
 
44372
    }
-
 
44373
 
-
 
44374
    public void validate() throws org.apache.thrift.TException {
-
 
44375
      // check for required fields
-
 
44376
    }
-
 
44377
 
-
 
44378
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
44379
      try {
-
 
44380
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
44381
      } catch (org.apache.thrift.TException te) {
-
 
44382
        throw new java.io.IOException(te);
-
 
44383
      }
-
 
44384
    }
-
 
44385
 
-
 
44386
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
44387
      try {
-
 
44388
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
44389
      } catch (org.apache.thrift.TException te) {
-
 
44390
        throw new java.io.IOException(te);
-
 
44391
      }
-
 
44392
    }
-
 
44393
 
-
 
44394
  }
-
 
44395
 
-
 
44396
  public static class getUriMapping_args implements org.apache.thrift.TBase<getUriMapping_args, getUriMapping_args._Fields>, java.io.Serializable, Cloneable   {
-
 
44397
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUriMapping_args");
-
 
44398
 
-
 
44399
    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);
-
 
44400
 
-
 
44401
    private String bannerName; // required
-
 
44402
 
-
 
44403
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
44404
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
44405
      BANNER_NAME((short)1, "bannerName");
-
 
44406
 
-
 
44407
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
44408
 
-
 
44409
      static {
-
 
44410
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
44411
          byName.put(field.getFieldName(), field);
-
 
44412
        }
-
 
44413
      }
-
 
44414
 
-
 
44415
      /**
-
 
44416
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
44417
       */
-
 
44418
      public static _Fields findByThriftId(int fieldId) {
-
 
44419
        switch(fieldId) {
-
 
44420
          case 1: // BANNER_NAME
-
 
44421
            return BANNER_NAME;
-
 
44422
          default:
-
 
44423
            return null;
-
 
44424
        }
-
 
44425
      }
-
 
44426
 
-
 
44427
      /**
-
 
44428
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
44429
       * if it is not found.
-
 
44430
       */
-
 
44431
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
44432
        _Fields fields = findByThriftId(fieldId);
-
 
44433
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
44434
        return fields;
-
 
44435
      }
-
 
44436
 
-
 
44437
      /**
-
 
44438
       * Find the _Fields constant that matches name, or null if its not found.
-
 
44439
       */
-
 
44440
      public static _Fields findByName(String name) {
-
 
44441
        return byName.get(name);
-
 
44442
      }
-
 
44443
 
-
 
44444
      private final short _thriftId;
-
 
44445
      private final String _fieldName;
-
 
44446
 
-
 
44447
      _Fields(short thriftId, String fieldName) {
-
 
44448
        _thriftId = thriftId;
-
 
44449
        _fieldName = fieldName;
-
 
44450
      }
-
 
44451
 
-
 
44452
      public short getThriftFieldId() {
-
 
44453
        return _thriftId;
-
 
44454
      }
-
 
44455
 
-
 
44456
      public String getFieldName() {
-
 
44457
        return _fieldName;
-
 
44458
      }
-
 
44459
    }
-
 
44460
 
-
 
44461
    // isset id assignments
-
 
44462
 
-
 
44463
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
44464
    static {
-
 
44465
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
44466
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
44467
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
44468
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
44469
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUriMapping_args.class, metaDataMap);
-
 
44470
    }
-
 
44471
 
-
 
44472
    public getUriMapping_args() {
-
 
44473
    }
-
 
44474
 
-
 
44475
    public getUriMapping_args(
-
 
44476
      String bannerName)
-
 
44477
    {
-
 
44478
      this();
-
 
44479
      this.bannerName = bannerName;
-
 
44480
    }
-
 
44481
 
-
 
44482
    /**
-
 
44483
     * Performs a deep copy on <i>other</i>.
-
 
44484
     */
-
 
44485
    public getUriMapping_args(getUriMapping_args other) {
-
 
44486
      if (other.isSetBannerName()) {
-
 
44487
        this.bannerName = other.bannerName;
-
 
44488
      }
-
 
44489
    }
-
 
44490
 
-
 
44491
    public getUriMapping_args deepCopy() {
-
 
44492
      return new getUriMapping_args(this);
-
 
44493
    }
-
 
44494
 
-
 
44495
    @Override
-
 
44496
    public void clear() {
-
 
44497
      this.bannerName = null;
-
 
44498
    }
-
 
44499
 
-
 
44500
    public String getBannerName() {
-
 
44501
      return this.bannerName;
-
 
44502
    }
-
 
44503
 
-
 
44504
    public void setBannerName(String bannerName) {
-
 
44505
      this.bannerName = bannerName;
-
 
44506
    }
-
 
44507
 
-
 
44508
    public void unsetBannerName() {
-
 
44509
      this.bannerName = null;
-
 
44510
    }
-
 
44511
 
-
 
44512
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
44513
    public boolean isSetBannerName() {
-
 
44514
      return this.bannerName != null;
-
 
44515
    }
-
 
44516
 
-
 
44517
    public void setBannerNameIsSet(boolean value) {
-
 
44518
      if (!value) {
-
 
44519
        this.bannerName = null;
-
 
44520
      }
-
 
44521
    }
-
 
44522
 
-
 
44523
    public void setFieldValue(_Fields field, Object value) {
-
 
44524
      switch (field) {
-
 
44525
      case BANNER_NAME:
-
 
44526
        if (value == null) {
-
 
44527
          unsetBannerName();
-
 
44528
        } else {
-
 
44529
          setBannerName((String)value);
-
 
44530
        }
-
 
44531
        break;
-
 
44532
 
-
 
44533
      }
-
 
44534
    }
-
 
44535
 
-
 
44536
    public Object getFieldValue(_Fields field) {
-
 
44537
      switch (field) {
-
 
44538
      case BANNER_NAME:
-
 
44539
        return getBannerName();
-
 
44540
 
-
 
44541
      }
-
 
44542
      throw new IllegalStateException();
-
 
44543
    }
-
 
44544
 
-
 
44545
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
44546
    public boolean isSet(_Fields field) {
-
 
44547
      if (field == null) {
-
 
44548
        throw new IllegalArgumentException();
-
 
44549
      }
-
 
44550
 
-
 
44551
      switch (field) {
-
 
44552
      case BANNER_NAME:
-
 
44553
        return isSetBannerName();
-
 
44554
      }
-
 
44555
      throw new IllegalStateException();
-
 
44556
    }
-
 
44557
 
-
 
44558
    @Override
-
 
44559
    public boolean equals(Object that) {
-
 
44560
      if (that == null)
-
 
44561
        return false;
-
 
44562
      if (that instanceof getUriMapping_args)
-
 
44563
        return this.equals((getUriMapping_args)that);
-
 
44564
      return false;
-
 
44565
    }
-
 
44566
 
-
 
44567
    public boolean equals(getUriMapping_args that) {
-
 
44568
      if (that == null)
-
 
44569
        return false;
-
 
44570
 
-
 
44571
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
44572
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
44573
      if (this_present_bannerName || that_present_bannerName) {
-
 
44574
        if (!(this_present_bannerName && that_present_bannerName))
-
 
44575
          return false;
-
 
44576
        if (!this.bannerName.equals(that.bannerName))
-
 
44577
          return false;
-
 
44578
      }
-
 
44579
 
-
 
44580
      return true;
-
 
44581
    }
-
 
44582
 
-
 
44583
    @Override
-
 
44584
    public int hashCode() {
-
 
44585
      return 0;
-
 
44586
    }
-
 
44587
 
-
 
44588
    public int compareTo(getUriMapping_args other) {
-
 
44589
      if (!getClass().equals(other.getClass())) {
-
 
44590
        return getClass().getName().compareTo(other.getClass().getName());
-
 
44591
      }
-
 
44592
 
-
 
44593
      int lastComparison = 0;
-
 
44594
      getUriMapping_args typedOther = (getUriMapping_args)other;
-
 
44595
 
-
 
44596
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
-
 
44597
      if (lastComparison != 0) {
-
 
44598
        return lastComparison;
-
 
44599
      }
-
 
44600
      if (isSetBannerName()) {
-
 
44601
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
-
 
44602
        if (lastComparison != 0) {
-
 
44603
          return lastComparison;
-
 
44604
        }
-
 
44605
      }
-
 
44606
      return 0;
-
 
44607
    }
-
 
44608
 
-
 
44609
    public _Fields fieldForId(int fieldId) {
-
 
44610
      return _Fields.findByThriftId(fieldId);
-
 
44611
    }
-
 
44612
 
-
 
44613
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
44614
      org.apache.thrift.protocol.TField field;
-
 
44615
      iprot.readStructBegin();
-
 
44616
      while (true)
-
 
44617
      {
-
 
44618
        field = iprot.readFieldBegin();
-
 
44619
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
44620
          break;
-
 
44621
        }
-
 
44622
        switch (field.id) {
-
 
44623
          case 1: // BANNER_NAME
-
 
44624
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
44625
              this.bannerName = iprot.readString();
-
 
44626
            } else { 
-
 
44627
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44628
            }
-
 
44629
            break;
-
 
44630
          default:
-
 
44631
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44632
        }
-
 
44633
        iprot.readFieldEnd();
-
 
44634
      }
-
 
44635
      iprot.readStructEnd();
-
 
44636
      validate();
-
 
44637
    }
-
 
44638
 
-
 
44639
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
44640
      validate();
-
 
44641
 
-
 
44642
      oprot.writeStructBegin(STRUCT_DESC);
-
 
44643
      if (this.bannerName != null) {
-
 
44644
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
-
 
44645
        oprot.writeString(this.bannerName);
-
 
44646
        oprot.writeFieldEnd();
-
 
44647
      }
-
 
44648
      oprot.writeFieldStop();
-
 
44649
      oprot.writeStructEnd();
-
 
44650
    }
-
 
44651
 
-
 
44652
    @Override
-
 
44653
    public String toString() {
-
 
44654
      StringBuilder sb = new StringBuilder("getUriMapping_args(");
-
 
44655
      boolean first = true;
-
 
44656
 
-
 
44657
      sb.append("bannerName:");
-
 
44658
      if (this.bannerName == null) {
-
 
44659
        sb.append("null");
-
 
44660
      } else {
-
 
44661
        sb.append(this.bannerName);
-
 
44662
      }
-
 
44663
      first = false;
-
 
44664
      sb.append(")");
-
 
44665
      return sb.toString();
-
 
44666
    }
-
 
44667
 
-
 
44668
    public void validate() throws org.apache.thrift.TException {
-
 
44669
      // check for required fields
-
 
44670
    }
-
 
44671
 
-
 
44672
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
44673
      try {
-
 
44674
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
44675
      } catch (org.apache.thrift.TException te) {
-
 
44676
        throw new java.io.IOException(te);
-
 
44677
      }
-
 
44678
    }
-
 
44679
 
-
 
44680
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
44681
      try {
-
 
44682
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
44683
      } catch (org.apache.thrift.TException te) {
-
 
44684
        throw new java.io.IOException(te);
-
 
44685
      }
-
 
44686
    }
-
 
44687
 
-
 
44688
  }
-
 
44689
 
-
 
44690
  public static class getUriMapping_result implements org.apache.thrift.TBase<getUriMapping_result, getUriMapping_result._Fields>, java.io.Serializable, Cloneable   {
-
 
44691
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUriMapping_result");
-
 
44692
 
-
 
44693
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
44694
 
-
 
44695
    private List<BannerUriMapping> success; // required
-
 
44696
 
-
 
44697
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
44698
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
44699
      SUCCESS((short)0, "success");
-
 
44700
 
-
 
44701
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
44702
 
-
 
44703
      static {
-
 
44704
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
44705
          byName.put(field.getFieldName(), field);
-
 
44706
        }
-
 
44707
      }
-
 
44708
 
-
 
44709
      /**
-
 
44710
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
44711
       */
-
 
44712
      public static _Fields findByThriftId(int fieldId) {
-
 
44713
        switch(fieldId) {
-
 
44714
          case 0: // SUCCESS
-
 
44715
            return SUCCESS;
-
 
44716
          default:
-
 
44717
            return null;
-
 
44718
        }
-
 
44719
      }
-
 
44720
 
-
 
44721
      /**
-
 
44722
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
44723
       * if it is not found.
-
 
44724
       */
-
 
44725
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
44726
        _Fields fields = findByThriftId(fieldId);
-
 
44727
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
44728
        return fields;
-
 
44729
      }
-
 
44730
 
-
 
44731
      /**
-
 
44732
       * Find the _Fields constant that matches name, or null if its not found.
-
 
44733
       */
-
 
44734
      public static _Fields findByName(String name) {
-
 
44735
        return byName.get(name);
-
 
44736
      }
-
 
44737
 
-
 
44738
      private final short _thriftId;
-
 
44739
      private final String _fieldName;
-
 
44740
 
-
 
44741
      _Fields(short thriftId, String fieldName) {
-
 
44742
        _thriftId = thriftId;
-
 
44743
        _fieldName = fieldName;
-
 
44744
      }
-
 
44745
 
-
 
44746
      public short getThriftFieldId() {
-
 
44747
        return _thriftId;
-
 
44748
      }
-
 
44749
 
-
 
44750
      public String getFieldName() {
-
 
44751
        return _fieldName;
-
 
44752
      }
-
 
44753
    }
-
 
44754
 
-
 
44755
    // isset id assignments
-
 
44756
 
-
 
44757
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
44758
    static {
-
 
44759
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
44760
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
44761
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
44762
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BannerUriMapping.class))));
-
 
44763
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
44764
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUriMapping_result.class, metaDataMap);
-
 
44765
    }
-
 
44766
 
-
 
44767
    public getUriMapping_result() {
-
 
44768
    }
-
 
44769
 
-
 
44770
    public getUriMapping_result(
-
 
44771
      List<BannerUriMapping> success)
-
 
44772
    {
-
 
44773
      this();
-
 
44774
      this.success = success;
-
 
44775
    }
-
 
44776
 
-
 
44777
    /**
-
 
44778
     * Performs a deep copy on <i>other</i>.
-
 
44779
     */
-
 
44780
    public getUriMapping_result(getUriMapping_result other) {
-
 
44781
      if (other.isSetSuccess()) {
-
 
44782
        List<BannerUriMapping> __this__success = new ArrayList<BannerUriMapping>();
-
 
44783
        for (BannerUriMapping other_element : other.success) {
-
 
44784
          __this__success.add(new BannerUriMapping(other_element));
-
 
44785
        }
-
 
44786
        this.success = __this__success;
-
 
44787
      }
-
 
44788
    }
-
 
44789
 
-
 
44790
    public getUriMapping_result deepCopy() {
-
 
44791
      return new getUriMapping_result(this);
-
 
44792
    }
-
 
44793
 
-
 
44794
    @Override
-
 
44795
    public void clear() {
-
 
44796
      this.success = null;
-
 
44797
    }
-
 
44798
 
-
 
44799
    public int getSuccessSize() {
-
 
44800
      return (this.success == null) ? 0 : this.success.size();
-
 
44801
    }
-
 
44802
 
-
 
44803
    public java.util.Iterator<BannerUriMapping> getSuccessIterator() {
-
 
44804
      return (this.success == null) ? null : this.success.iterator();
-
 
44805
    }
-
 
44806
 
-
 
44807
    public void addToSuccess(BannerUriMapping elem) {
-
 
44808
      if (this.success == null) {
-
 
44809
        this.success = new ArrayList<BannerUriMapping>();
-
 
44810
      }
-
 
44811
      this.success.add(elem);
-
 
44812
    }
-
 
44813
 
-
 
44814
    public List<BannerUriMapping> getSuccess() {
-
 
44815
      return this.success;
-
 
44816
    }
-
 
44817
 
-
 
44818
    public void setSuccess(List<BannerUriMapping> success) {
-
 
44819
      this.success = success;
-
 
44820
    }
-
 
44821
 
-
 
44822
    public void unsetSuccess() {
-
 
44823
      this.success = null;
-
 
44824
    }
-
 
44825
 
-
 
44826
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
44827
    public boolean isSetSuccess() {
-
 
44828
      return this.success != null;
-
 
44829
    }
-
 
44830
 
-
 
44831
    public void setSuccessIsSet(boolean value) {
-
 
44832
      if (!value) {
-
 
44833
        this.success = null;
-
 
44834
      }
-
 
44835
    }
-
 
44836
 
-
 
44837
    public void setFieldValue(_Fields field, Object value) {
-
 
44838
      switch (field) {
-
 
44839
      case SUCCESS:
-
 
44840
        if (value == null) {
-
 
44841
          unsetSuccess();
-
 
44842
        } else {
-
 
44843
          setSuccess((List<BannerUriMapping>)value);
-
 
44844
        }
-
 
44845
        break;
-
 
44846
 
-
 
44847
      }
-
 
44848
    }
-
 
44849
 
-
 
44850
    public Object getFieldValue(_Fields field) {
-
 
44851
      switch (field) {
-
 
44852
      case SUCCESS:
-
 
44853
        return getSuccess();
-
 
44854
 
-
 
44855
      }
-
 
44856
      throw new IllegalStateException();
-
 
44857
    }
-
 
44858
 
-
 
44859
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
44860
    public boolean isSet(_Fields field) {
-
 
44861
      if (field == null) {
-
 
44862
        throw new IllegalArgumentException();
-
 
44863
      }
-
 
44864
 
-
 
44865
      switch (field) {
-
 
44866
      case SUCCESS:
-
 
44867
        return isSetSuccess();
-
 
44868
      }
-
 
44869
      throw new IllegalStateException();
-
 
44870
    }
-
 
44871
 
-
 
44872
    @Override
-
 
44873
    public boolean equals(Object that) {
-
 
44874
      if (that == null)
-
 
44875
        return false;
-
 
44876
      if (that instanceof getUriMapping_result)
-
 
44877
        return this.equals((getUriMapping_result)that);
-
 
44878
      return false;
-
 
44879
    }
-
 
44880
 
-
 
44881
    public boolean equals(getUriMapping_result that) {
-
 
44882
      if (that == null)
-
 
44883
        return false;
-
 
44884
 
-
 
44885
      boolean this_present_success = true && this.isSetSuccess();
-
 
44886
      boolean that_present_success = true && that.isSetSuccess();
-
 
44887
      if (this_present_success || that_present_success) {
-
 
44888
        if (!(this_present_success && that_present_success))
-
 
44889
          return false;
-
 
44890
        if (!this.success.equals(that.success))
-
 
44891
          return false;
-
 
44892
      }
-
 
44893
 
-
 
44894
      return true;
-
 
44895
    }
-
 
44896
 
-
 
44897
    @Override
-
 
44898
    public int hashCode() {
-
 
44899
      return 0;
-
 
44900
    }
-
 
44901
 
-
 
44902
    public int compareTo(getUriMapping_result other) {
-
 
44903
      if (!getClass().equals(other.getClass())) {
-
 
44904
        return getClass().getName().compareTo(other.getClass().getName());
-
 
44905
      }
-
 
44906
 
-
 
44907
      int lastComparison = 0;
-
 
44908
      getUriMapping_result typedOther = (getUriMapping_result)other;
-
 
44909
 
-
 
44910
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
44911
      if (lastComparison != 0) {
-
 
44912
        return lastComparison;
-
 
44913
      }
-
 
44914
      if (isSetSuccess()) {
-
 
44915
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
44916
        if (lastComparison != 0) {
-
 
44917
          return lastComparison;
-
 
44918
        }
-
 
44919
      }
-
 
44920
      return 0;
-
 
44921
    }
-
 
44922
 
-
 
44923
    public _Fields fieldForId(int fieldId) {
-
 
44924
      return _Fields.findByThriftId(fieldId);
-
 
44925
    }
-
 
44926
 
-
 
44927
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
44928
      org.apache.thrift.protocol.TField field;
-
 
44929
      iprot.readStructBegin();
-
 
44930
      while (true)
-
 
44931
      {
-
 
44932
        field = iprot.readFieldBegin();
-
 
44933
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
44934
          break;
-
 
44935
        }
-
 
44936
        switch (field.id) {
-
 
44937
          case 0: // SUCCESS
-
 
44938
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
44939
              {
-
 
44940
                org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
-
 
44941
                this.success = new ArrayList<BannerUriMapping>(_list128.size);
-
 
44942
                for (int _i129 = 0; _i129 < _list128.size; ++_i129)
-
 
44943
                {
-
 
44944
                  BannerUriMapping _elem130; // required
-
 
44945
                  _elem130 = new BannerUriMapping();
-
 
44946
                  _elem130.read(iprot);
-
 
44947
                  this.success.add(_elem130);
-
 
44948
                }
-
 
44949
                iprot.readListEnd();
-
 
44950
              }
-
 
44951
            } else { 
-
 
44952
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44953
            }
-
 
44954
            break;
-
 
44955
          default:
-
 
44956
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
44957
        }
-
 
44958
        iprot.readFieldEnd();
-
 
44959
      }
-
 
44960
      iprot.readStructEnd();
-
 
44961
      validate();
-
 
44962
    }
-
 
44963
 
-
 
44964
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
44965
      oprot.writeStructBegin(STRUCT_DESC);
-
 
44966
 
-
 
44967
      if (this.isSetSuccess()) {
-
 
44968
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
44969
        {
-
 
44970
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
44971
          for (BannerUriMapping _iter131 : this.success)
-
 
44972
          {
-
 
44973
            _iter131.write(oprot);
-
 
44974
          }
-
 
44975
          oprot.writeListEnd();
-
 
44976
        }
-
 
44977
        oprot.writeFieldEnd();
-
 
44978
      }
-
 
44979
      oprot.writeFieldStop();
-
 
44980
      oprot.writeStructEnd();
-
 
44981
    }
-
 
44982
 
-
 
44983
    @Override
-
 
44984
    public String toString() {
-
 
44985
      StringBuilder sb = new StringBuilder("getUriMapping_result(");
-
 
44986
      boolean first = true;
-
 
44987
 
-
 
44988
      sb.append("success:");
-
 
44989
      if (this.success == null) {
-
 
44990
        sb.append("null");
-
 
44991
      } else {
-
 
44992
        sb.append(this.success);
-
 
44993
      }
-
 
44994
      first = false;
-
 
44995
      sb.append(")");
-
 
44996
      return sb.toString();
-
 
44997
    }
-
 
44998
 
-
 
44999
    public void validate() throws org.apache.thrift.TException {
-
 
45000
      // check for required fields
-
 
45001
    }
-
 
45002
 
-
 
45003
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
45004
      try {
-
 
45005
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
45006
      } catch (org.apache.thrift.TException te) {
-
 
45007
        throw new java.io.IOException(te);
-
 
45008
      }
-
 
45009
    }
-
 
45010
 
-
 
45011
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
45012
      try {
-
 
45013
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
45014
      } catch (org.apache.thrift.TException te) {
-
 
45015
        throw new java.io.IOException(te);
-
 
45016
      }
-
 
45017
    }
-
 
45018
 
-
 
45019
  }
-
 
45020
 
-
 
45021
  public static class addCampaign_args implements org.apache.thrift.TBase<addCampaign_args, addCampaign_args._Fields>, java.io.Serializable, Cloneable   {
-
 
45022
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addCampaign_args");
-
 
45023
 
-
 
45024
    private static final org.apache.thrift.protocol.TField CAMPAIGN_FIELD_DESC = new org.apache.thrift.protocol.TField("campaign", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
45025
 
-
 
45026
    private Campaign campaign; // required
-
 
45027
 
-
 
45028
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
45029
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
45030
      CAMPAIGN((short)1, "campaign");
-
 
45031
 
-
 
45032
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
45033
 
-
 
45034
      static {
-
 
45035
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
45036
          byName.put(field.getFieldName(), field);
-
 
45037
        }
-
 
45038
      }
-
 
45039
 
-
 
45040
      /**
-
 
45041
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
45042
       */
-
 
45043
      public static _Fields findByThriftId(int fieldId) {
-
 
45044
        switch(fieldId) {
-
 
45045
          case 1: // CAMPAIGN
-
 
45046
            return CAMPAIGN;
-
 
45047
          default:
-
 
45048
            return null;
-
 
45049
        }
-
 
45050
      }
-
 
45051
 
-
 
45052
      /**
-
 
45053
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
45054
       * if it is not found.
-
 
45055
       */
-
 
45056
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
45057
        _Fields fields = findByThriftId(fieldId);
-
 
45058
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
45059
        return fields;
-
 
45060
      }
-
 
45061
 
-
 
45062
      /**
-
 
45063
       * Find the _Fields constant that matches name, or null if its not found.
-
 
45064
       */
-
 
45065
      public static _Fields findByName(String name) {
-
 
45066
        return byName.get(name);
-
 
45067
      }
-
 
45068
 
-
 
45069
      private final short _thriftId;
-
 
45070
      private final String _fieldName;
-
 
45071
 
-
 
45072
      _Fields(short thriftId, String fieldName) {
-
 
45073
        _thriftId = thriftId;
-
 
45074
        _fieldName = fieldName;
-
 
45075
      }
-
 
45076
 
-
 
45077
      public short getThriftFieldId() {
-
 
45078
        return _thriftId;
-
 
45079
      }
-
 
45080
 
-
 
45081
      public String getFieldName() {
-
 
45082
        return _fieldName;
-
 
45083
      }
-
 
45084
    }
-
 
45085
 
-
 
45086
    // isset id assignments
-
 
45087
 
-
 
45088
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
45089
    static {
-
 
45090
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
45091
      tmpMap.put(_Fields.CAMPAIGN, new org.apache.thrift.meta_data.FieldMetaData("campaign", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
45092
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Campaign.class)));
-
 
45093
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
45094
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addCampaign_args.class, metaDataMap);
-
 
45095
    }
-
 
45096
 
-
 
45097
    public addCampaign_args() {
-
 
45098
    }
-
 
45099
 
-
 
45100
    public addCampaign_args(
-
 
45101
      Campaign campaign)
-
 
45102
    {
-
 
45103
      this();
-
 
45104
      this.campaign = campaign;
-
 
45105
    }
-
 
45106
 
-
 
45107
    /**
-
 
45108
     * Performs a deep copy on <i>other</i>.
-
 
45109
     */
-
 
45110
    public addCampaign_args(addCampaign_args other) {
-
 
45111
      if (other.isSetCampaign()) {
-
 
45112
        this.campaign = new Campaign(other.campaign);
-
 
45113
      }
-
 
45114
    }
-
 
45115
 
-
 
45116
    public addCampaign_args deepCopy() {
-
 
45117
      return new addCampaign_args(this);
-
 
45118
    }
-
 
45119
 
-
 
45120
    @Override
-
 
45121
    public void clear() {
-
 
45122
      this.campaign = null;
-
 
45123
    }
-
 
45124
 
-
 
45125
    public Campaign getCampaign() {
-
 
45126
      return this.campaign;
-
 
45127
    }
-
 
45128
 
-
 
45129
    public void setCampaign(Campaign campaign) {
-
 
45130
      this.campaign = campaign;
-
 
45131
    }
-
 
45132
 
-
 
45133
    public void unsetCampaign() {
-
 
45134
      this.campaign = null;
-
 
45135
    }
-
 
45136
 
-
 
45137
    /** Returns true if field campaign is set (has been assigned a value) and false otherwise */
-
 
45138
    public boolean isSetCampaign() {
-
 
45139
      return this.campaign != null;
-
 
45140
    }
-
 
45141
 
-
 
45142
    public void setCampaignIsSet(boolean value) {
-
 
45143
      if (!value) {
-
 
45144
        this.campaign = null;
-
 
45145
      }
-
 
45146
    }
-
 
45147
 
-
 
45148
    public void setFieldValue(_Fields field, Object value) {
-
 
45149
      switch (field) {
-
 
45150
      case CAMPAIGN:
-
 
45151
        if (value == null) {
-
 
45152
          unsetCampaign();
-
 
45153
        } else {
-
 
45154
          setCampaign((Campaign)value);
-
 
45155
        }
-
 
45156
        break;
-
 
45157
 
-
 
45158
      }
-
 
45159
    }
-
 
45160
 
-
 
45161
    public Object getFieldValue(_Fields field) {
-
 
45162
      switch (field) {
-
 
45163
      case CAMPAIGN:
-
 
45164
        return getCampaign();
-
 
45165
 
-
 
45166
      }
-
 
45167
      throw new IllegalStateException();
-
 
45168
    }
-
 
45169
 
-
 
45170
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
45171
    public boolean isSet(_Fields field) {
-
 
45172
      if (field == null) {
-
 
45173
        throw new IllegalArgumentException();
-
 
45174
      }
-
 
45175
 
-
 
45176
      switch (field) {
-
 
45177
      case CAMPAIGN:
-
 
45178
        return isSetCampaign();
-
 
45179
      }
-
 
45180
      throw new IllegalStateException();
-
 
45181
    }
-
 
45182
 
-
 
45183
    @Override
-
 
45184
    public boolean equals(Object that) {
-
 
45185
      if (that == null)
-
 
45186
        return false;
-
 
45187
      if (that instanceof addCampaign_args)
-
 
45188
        return this.equals((addCampaign_args)that);
-
 
45189
      return false;
-
 
45190
    }
-
 
45191
 
-
 
45192
    public boolean equals(addCampaign_args that) {
-
 
45193
      if (that == null)
-
 
45194
        return false;
-
 
45195
 
-
 
45196
      boolean this_present_campaign = true && this.isSetCampaign();
-
 
45197
      boolean that_present_campaign = true && that.isSetCampaign();
-
 
45198
      if (this_present_campaign || that_present_campaign) {
-
 
45199
        if (!(this_present_campaign && that_present_campaign))
-
 
45200
          return false;
-
 
45201
        if (!this.campaign.equals(that.campaign))
-
 
45202
          return false;
-
 
45203
      }
-
 
45204
 
-
 
45205
      return true;
-
 
45206
    }
-
 
45207
 
-
 
45208
    @Override
-
 
45209
    public int hashCode() {
-
 
45210
      return 0;
-
 
45211
    }
-
 
45212
 
-
 
45213
    public int compareTo(addCampaign_args other) {
-
 
45214
      if (!getClass().equals(other.getClass())) {
-
 
45215
        return getClass().getName().compareTo(other.getClass().getName());
-
 
45216
      }
-
 
45217
 
-
 
45218
      int lastComparison = 0;
-
 
45219
      addCampaign_args typedOther = (addCampaign_args)other;
-
 
45220
 
-
 
45221
      lastComparison = Boolean.valueOf(isSetCampaign()).compareTo(typedOther.isSetCampaign());
-
 
45222
      if (lastComparison != 0) {
-
 
45223
        return lastComparison;
-
 
45224
      }
-
 
45225
      if (isSetCampaign()) {
-
 
45226
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.campaign, typedOther.campaign);
-
 
45227
        if (lastComparison != 0) {
-
 
45228
          return lastComparison;
-
 
45229
        }
-
 
45230
      }
-
 
45231
      return 0;
-
 
45232
    }
-
 
45233
 
-
 
45234
    public _Fields fieldForId(int fieldId) {
-
 
45235
      return _Fields.findByThriftId(fieldId);
-
 
45236
    }
-
 
45237
 
-
 
45238
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
45239
      org.apache.thrift.protocol.TField field;
-
 
45240
      iprot.readStructBegin();
-
 
45241
      while (true)
-
 
45242
      {
-
 
45243
        field = iprot.readFieldBegin();
-
 
45244
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
45245
          break;
-
 
45246
        }
-
 
45247
        switch (field.id) {
-
 
45248
          case 1: // CAMPAIGN
-
 
45249
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
45250
              this.campaign = new Campaign();
-
 
45251
              this.campaign.read(iprot);
-
 
45252
            } else { 
-
 
45253
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
45254
            }
-
 
45255
            break;
-
 
45256
          default:
-
 
45257
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
45258
        }
-
 
45259
        iprot.readFieldEnd();
-
 
45260
      }
-
 
45261
      iprot.readStructEnd();
-
 
45262
      validate();
-
 
45263
    }
-
 
45264
 
-
 
45265
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
45266
      validate();
-
 
45267
 
-
 
45268
      oprot.writeStructBegin(STRUCT_DESC);
-
 
45269
      if (this.campaign != null) {
-
 
45270
        oprot.writeFieldBegin(CAMPAIGN_FIELD_DESC);
-
 
45271
        this.campaign.write(oprot);
-
 
45272
        oprot.writeFieldEnd();
-
 
45273
      }
-
 
45274
      oprot.writeFieldStop();
-
 
45275
      oprot.writeStructEnd();
-
 
45276
    }
-
 
45277
 
-
 
45278
    @Override
-
 
45279
    public String toString() {
-
 
45280
      StringBuilder sb = new StringBuilder("addCampaign_args(");
-
 
45281
      boolean first = true;
-
 
45282
 
-
 
45283
      sb.append("campaign:");
-
 
45284
      if (this.campaign == null) {
-
 
45285
        sb.append("null");
-
 
45286
      } else {
-
 
45287
        sb.append(this.campaign);
-
 
45288
      }
-
 
45289
      first = false;
-
 
45290
      sb.append(")");
-
 
45291
      return sb.toString();
-
 
45292
    }
-
 
45293
 
-
 
45294
    public void validate() throws org.apache.thrift.TException {
-
 
45295
      // check for required fields
-
 
45296
    }
-
 
45297
 
-
 
45298
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
45299
      try {
-
 
45300
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
45301
      } catch (org.apache.thrift.TException te) {
-
 
45302
        throw new java.io.IOException(te);
-
 
45303
      }
-
 
45304
    }
-
 
45305
 
-
 
45306
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
45307
      try {
-
 
45308
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
45309
      } catch (org.apache.thrift.TException te) {
-
 
45310
        throw new java.io.IOException(te);
-
 
45311
      }
-
 
45312
    }
-
 
45313
 
-
 
45314
  }
-
 
45315
 
-
 
45316
  public static class addCampaign_result implements org.apache.thrift.TBase<addCampaign_result, addCampaign_result._Fields>, java.io.Serializable, Cloneable   {
-
 
45317
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addCampaign_result");
-
 
45318
 
-
 
45319
 
-
 
45320
 
-
 
45321
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
45322
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
45323
;
-
 
45324
 
-
 
45325
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
45326
 
-
 
45327
      static {
-
 
45328
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
45329
          byName.put(field.getFieldName(), field);
-
 
45330
        }
-
 
45331
      }
-
 
45332
 
-
 
45333
      /**
-
 
45334
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
45335
       */
-
 
45336
      public static _Fields findByThriftId(int fieldId) {
-
 
45337
        switch(fieldId) {
-
 
45338
          default:
-
 
45339
            return null;
-
 
45340
        }
-
 
45341
      }
-
 
45342
 
-
 
45343
      /**
-
 
45344
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
45345
       * if it is not found.
-
 
45346
       */
-
 
45347
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
45348
        _Fields fields = findByThriftId(fieldId);
-
 
45349
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
45350
        return fields;
-
 
45351
      }
-
 
45352
 
-
 
45353
      /**
-
 
45354
       * Find the _Fields constant that matches name, or null if its not found.
-
 
45355
       */
-
 
45356
      public static _Fields findByName(String name) {
-
 
45357
        return byName.get(name);
-
 
45358
      }
-
 
45359
 
-
 
45360
      private final short _thriftId;
-
 
45361
      private final String _fieldName;
-
 
45362
 
-
 
45363
      _Fields(short thriftId, String fieldName) {
-
 
45364
        _thriftId = thriftId;
-
 
45365
        _fieldName = fieldName;
-
 
45366
      }
-
 
45367
 
-
 
45368
      public short getThriftFieldId() {
-
 
45369
        return _thriftId;
-
 
45370
      }
-
 
45371
 
-
 
45372
      public String getFieldName() {
-
 
45373
        return _fieldName;
-
 
45374
      }
-
 
45375
    }
-
 
45376
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
45377
    static {
-
 
45378
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
45379
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
45380
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addCampaign_result.class, metaDataMap);
-
 
45381
    }
-
 
45382
 
-
 
45383
    public addCampaign_result() {
-
 
45384
    }
-
 
45385
 
-
 
45386
    /**
-
 
45387
     * Performs a deep copy on <i>other</i>.
-
 
45388
     */
-
 
45389
    public addCampaign_result(addCampaign_result other) {
-
 
45390
    }
-
 
45391
 
-
 
45392
    public addCampaign_result deepCopy() {
-
 
45393
      return new addCampaign_result(this);
-
 
45394
    }
-
 
45395
 
-
 
45396
    @Override
-
 
45397
    public void clear() {
-
 
45398
    }
-
 
45399
 
-
 
45400
    public void setFieldValue(_Fields field, Object value) {
-
 
45401
      switch (field) {
-
 
45402
      }
-
 
45403
    }
-
 
45404
 
-
 
45405
    public Object getFieldValue(_Fields field) {
-
 
45406
      switch (field) {
-
 
45407
      }
-
 
45408
      throw new IllegalStateException();
-
 
45409
    }
-
 
45410
 
-
 
45411
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
45412
    public boolean isSet(_Fields field) {
-
 
45413
      if (field == null) {
-
 
45414
        throw new IllegalArgumentException();
-
 
45415
      }
-
 
45416
 
-
 
45417
      switch (field) {
-
 
45418
      }
-
 
45419
      throw new IllegalStateException();
-
 
45420
    }
-
 
45421
 
-
 
45422
    @Override
-
 
45423
    public boolean equals(Object that) {
-
 
45424
      if (that == null)
-
 
45425
        return false;
-
 
45426
      if (that instanceof addCampaign_result)
-
 
45427
        return this.equals((addCampaign_result)that);
-
 
45428
      return false;
-
 
45429
    }
-
 
45430
 
-
 
45431
    public boolean equals(addCampaign_result that) {
-
 
45432
      if (that == null)
-
 
45433
        return false;
-
 
45434
 
-
 
45435
      return true;
-
 
45436
    }
-
 
45437
 
-
 
45438
    @Override
-
 
45439
    public int hashCode() {
-
 
45440
      return 0;
-
 
45441
    }
-
 
45442
 
-
 
45443
    public int compareTo(addCampaign_result other) {
-
 
45444
      if (!getClass().equals(other.getClass())) {
-
 
45445
        return getClass().getName().compareTo(other.getClass().getName());
-
 
45446
      }
-
 
45447
 
-
 
45448
      int lastComparison = 0;
-
 
45449
      addCampaign_result typedOther = (addCampaign_result)other;
-
 
45450
 
-
 
45451
      return 0;
-
 
45452
    }
-
 
45453
 
-
 
45454
    public _Fields fieldForId(int fieldId) {
-
 
45455
      return _Fields.findByThriftId(fieldId);
-
 
45456
    }
-
 
45457
 
-
 
45458
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
45459
      org.apache.thrift.protocol.TField field;
-
 
45460
      iprot.readStructBegin();
-
 
45461
      while (true)
-
 
45462
      {
-
 
45463
        field = iprot.readFieldBegin();
-
 
45464
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
45465
          break;
-
 
45466
        }
-
 
45467
        switch (field.id) {
-
 
45468
          default:
-
 
45469
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
45470
        }
-
 
45471
        iprot.readFieldEnd();
-
 
45472
      }
-
 
45473
      iprot.readStructEnd();
-
 
45474
      validate();
-
 
45475
    }
-
 
45476
 
-
 
45477
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
45478
      oprot.writeStructBegin(STRUCT_DESC);
-
 
45479
 
-
 
45480
      oprot.writeFieldStop();
-
 
45481
      oprot.writeStructEnd();
-
 
45482
    }
-
 
45483
 
-
 
45484
    @Override
-
 
45485
    public String toString() {
-
 
45486
      StringBuilder sb = new StringBuilder("addCampaign_result(");
-
 
45487
      boolean first = true;
-
 
45488
 
-
 
45489
      sb.append(")");
-
 
45490
      return sb.toString();
-
 
45491
    }
-
 
45492
 
-
 
45493
    public void validate() throws org.apache.thrift.TException {
-
 
45494
      // check for required fields
-
 
45495
    }
-
 
45496
 
-
 
45497
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
45498
      try {
-
 
45499
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
45500
      } catch (org.apache.thrift.TException te) {
-
 
45501
        throw new java.io.IOException(te);
-
 
45502
      }
-
 
45503
    }
-
 
45504
 
-
 
45505
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
45506
      try {
-
 
45507
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
45508
      } catch (org.apache.thrift.TException te) {
-
 
45509
        throw new java.io.IOException(te);
-
 
45510
      }
-
 
45511
    }
-
 
45512
 
-
 
45513
  }
-
 
45514
 
-
 
45515
  public static class getCampaigns_args implements org.apache.thrift.TBase<getCampaigns_args, getCampaigns_args._Fields>, java.io.Serializable, Cloneable   {
-
 
45516
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCampaigns_args");
-
 
45517
 
-
 
45518
    private static final org.apache.thrift.protocol.TField CAMPAIGN_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("campaignName", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
45519
 
-
 
45520
    private String campaignName; // required
-
 
45521
 
-
 
45522
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
45523
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
45524
      CAMPAIGN_NAME((short)1, "campaignName");
-
 
45525
 
-
 
45526
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
45527
 
-
 
45528
      static {
-
 
45529
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
45530
          byName.put(field.getFieldName(), field);
-
 
45531
        }
-
 
45532
      }
-
 
45533
 
-
 
45534
      /**
-
 
45535
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
45536
       */
-
 
45537
      public static _Fields findByThriftId(int fieldId) {
-
 
45538
        switch(fieldId) {
-
 
45539
          case 1: // CAMPAIGN_NAME
-
 
45540
            return CAMPAIGN_NAME;
-
 
45541
          default:
-
 
45542
            return null;
-
 
45543
        }
-
 
45544
      }
-
 
45545
 
-
 
45546
      /**
-
 
45547
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
45548
       * if it is not found.
-
 
45549
       */
-
 
45550
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
45551
        _Fields fields = findByThriftId(fieldId);
-
 
45552
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
45553
        return fields;
-
 
45554
      }
-
 
45555
 
-
 
45556
      /**
-
 
45557
       * Find the _Fields constant that matches name, or null if its not found.
-
 
45558
       */
-
 
45559
      public static _Fields findByName(String name) {
-
 
45560
        return byName.get(name);
-
 
45561
      }
-
 
45562
 
-
 
45563
      private final short _thriftId;
-
 
45564
      private final String _fieldName;
-
 
45565
 
-
 
45566
      _Fields(short thriftId, String fieldName) {
-
 
45567
        _thriftId = thriftId;
-
 
45568
        _fieldName = fieldName;
-
 
45569
      }
-
 
45570
 
-
 
45571
      public short getThriftFieldId() {
-
 
45572
        return _thriftId;
-
 
45573
      }
-
 
45574
 
-
 
45575
      public String getFieldName() {
-
 
45576
        return _fieldName;
-
 
45577
      }
-
 
45578
    }
-
 
45579
 
-
 
45580
    // isset id assignments
-
 
45581
 
-
 
45582
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
45583
    static {
-
 
45584
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
45585
      tmpMap.put(_Fields.CAMPAIGN_NAME, new org.apache.thrift.meta_data.FieldMetaData("campaignName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
45586
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
45587
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
45588
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCampaigns_args.class, metaDataMap);
-
 
45589
    }
-
 
45590
 
-
 
45591
    public getCampaigns_args() {
-
 
45592
    }
-
 
45593
 
-
 
45594
    public getCampaigns_args(
-
 
45595
      String campaignName)
-
 
45596
    {
-
 
45597
      this();
-
 
45598
      this.campaignName = campaignName;
-
 
45599
    }
-
 
45600
 
-
 
45601
    /**
-
 
45602
     * Performs a deep copy on <i>other</i>.
-
 
45603
     */
-
 
45604
    public getCampaigns_args(getCampaigns_args other) {
-
 
45605
      if (other.isSetCampaignName()) {
-
 
45606
        this.campaignName = other.campaignName;
-
 
45607
      }
-
 
45608
    }
-
 
45609
 
-
 
45610
    public getCampaigns_args deepCopy() {
-
 
45611
      return new getCampaigns_args(this);
-
 
45612
    }
-
 
45613
 
-
 
45614
    @Override
-
 
45615
    public void clear() {
-
 
45616
      this.campaignName = null;
-
 
45617
    }
-
 
45618
 
-
 
45619
    public String getCampaignName() {
-
 
45620
      return this.campaignName;
-
 
45621
    }
-
 
45622
 
-
 
45623
    public void setCampaignName(String campaignName) {
-
 
45624
      this.campaignName = campaignName;
-
 
45625
    }
-
 
45626
 
-
 
45627
    public void unsetCampaignName() {
-
 
45628
      this.campaignName = null;
-
 
45629
    }
-
 
45630
 
-
 
45631
    /** Returns true if field campaignName is set (has been assigned a value) and false otherwise */
-
 
45632
    public boolean isSetCampaignName() {
-
 
45633
      return this.campaignName != null;
-
 
45634
    }
-
 
45635
 
-
 
45636
    public void setCampaignNameIsSet(boolean value) {
-
 
45637
      if (!value) {
-
 
45638
        this.campaignName = null;
-
 
45639
      }
-
 
45640
    }
-
 
45641
 
-
 
45642
    public void setFieldValue(_Fields field, Object value) {
-
 
45643
      switch (field) {
-
 
45644
      case CAMPAIGN_NAME:
-
 
45645
        if (value == null) {
-
 
45646
          unsetCampaignName();
-
 
45647
        } else {
-
 
45648
          setCampaignName((String)value);
-
 
45649
        }
-
 
45650
        break;
-
 
45651
 
-
 
45652
      }
-
 
45653
    }
-
 
45654
 
-
 
45655
    public Object getFieldValue(_Fields field) {
-
 
45656
      switch (field) {
-
 
45657
      case CAMPAIGN_NAME:
-
 
45658
        return getCampaignName();
-
 
45659
 
-
 
45660
      }
-
 
45661
      throw new IllegalStateException();
-
 
45662
    }
-
 
45663
 
-
 
45664
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
45665
    public boolean isSet(_Fields field) {
-
 
45666
      if (field == null) {
-
 
45667
        throw new IllegalArgumentException();
-
 
45668
      }
-
 
45669
 
-
 
45670
      switch (field) {
-
 
45671
      case CAMPAIGN_NAME:
-
 
45672
        return isSetCampaignName();
-
 
45673
      }
-
 
45674
      throw new IllegalStateException();
-
 
45675
    }
-
 
45676
 
-
 
45677
    @Override
-
 
45678
    public boolean equals(Object that) {
-
 
45679
      if (that == null)
-
 
45680
        return false;
-
 
45681
      if (that instanceof getCampaigns_args)
-
 
45682
        return this.equals((getCampaigns_args)that);
-
 
45683
      return false;
-
 
45684
    }
-
 
45685
 
-
 
45686
    public boolean equals(getCampaigns_args that) {
-
 
45687
      if (that == null)
-
 
45688
        return false;
-
 
45689
 
-
 
45690
      boolean this_present_campaignName = true && this.isSetCampaignName();
-
 
45691
      boolean that_present_campaignName = true && that.isSetCampaignName();
-
 
45692
      if (this_present_campaignName || that_present_campaignName) {
-
 
45693
        if (!(this_present_campaignName && that_present_campaignName))
-
 
45694
          return false;
-
 
45695
        if (!this.campaignName.equals(that.campaignName))
-
 
45696
          return false;
-
 
45697
      }
-
 
45698
 
-
 
45699
      return true;
-
 
45700
    }
-
 
45701
 
-
 
45702
    @Override
-
 
45703
    public int hashCode() {
-
 
45704
      return 0;
-
 
45705
    }
-
 
45706
 
-
 
45707
    public int compareTo(getCampaigns_args other) {
-
 
45708
      if (!getClass().equals(other.getClass())) {
-
 
45709
        return getClass().getName().compareTo(other.getClass().getName());
-
 
45710
      }
-
 
45711
 
-
 
45712
      int lastComparison = 0;
-
 
45713
      getCampaigns_args typedOther = (getCampaigns_args)other;
-
 
45714
 
-
 
45715
      lastComparison = Boolean.valueOf(isSetCampaignName()).compareTo(typedOther.isSetCampaignName());
-
 
45716
      if (lastComparison != 0) {
-
 
45717
        return lastComparison;
-
 
45718
      }
-
 
45719
      if (isSetCampaignName()) {
-
 
45720
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.campaignName, typedOther.campaignName);
-
 
45721
        if (lastComparison != 0) {
-
 
45722
          return lastComparison;
-
 
45723
        }
-
 
45724
      }
-
 
45725
      return 0;
-
 
45726
    }
-
 
45727
 
-
 
45728
    public _Fields fieldForId(int fieldId) {
-
 
45729
      return _Fields.findByThriftId(fieldId);
-
 
45730
    }
-
 
45731
 
-
 
45732
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
45733
      org.apache.thrift.protocol.TField field;
-
 
45734
      iprot.readStructBegin();
-
 
45735
      while (true)
-
 
45736
      {
-
 
45737
        field = iprot.readFieldBegin();
-
 
45738
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
45739
          break;
-
 
45740
        }
-
 
45741
        switch (field.id) {
-
 
45742
          case 1: // CAMPAIGN_NAME
-
 
45743
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
45744
              this.campaignName = iprot.readString();
-
 
45745
            } else { 
-
 
45746
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
45747
            }
-
 
45748
            break;
-
 
45749
          default:
-
 
45750
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
45751
        }
-
 
45752
        iprot.readFieldEnd();
-
 
45753
      }
-
 
45754
      iprot.readStructEnd();
-
 
45755
      validate();
-
 
45756
    }
-
 
45757
 
-
 
45758
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
45759
      validate();
-
 
45760
 
-
 
45761
      oprot.writeStructBegin(STRUCT_DESC);
-
 
45762
      if (this.campaignName != null) {
-
 
45763
        oprot.writeFieldBegin(CAMPAIGN_NAME_FIELD_DESC);
-
 
45764
        oprot.writeString(this.campaignName);
-
 
45765
        oprot.writeFieldEnd();
-
 
45766
      }
-
 
45767
      oprot.writeFieldStop();
-
 
45768
      oprot.writeStructEnd();
-
 
45769
    }
-
 
45770
 
-
 
45771
    @Override
-
 
45772
    public String toString() {
-
 
45773
      StringBuilder sb = new StringBuilder("getCampaigns_args(");
-
 
45774
      boolean first = true;
-
 
45775
 
-
 
45776
      sb.append("campaignName:");
-
 
45777
      if (this.campaignName == null) {
-
 
45778
        sb.append("null");
-
 
45779
      } else {
-
 
45780
        sb.append(this.campaignName);
-
 
45781
      }
-
 
45782
      first = false;
-
 
45783
      sb.append(")");
-
 
45784
      return sb.toString();
-
 
45785
    }
-
 
45786
 
-
 
45787
    public void validate() throws org.apache.thrift.TException {
-
 
45788
      // check for required fields
-
 
45789
    }
-
 
45790
 
-
 
45791
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
45792
      try {
-
 
45793
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
45794
      } catch (org.apache.thrift.TException te) {
-
 
45795
        throw new java.io.IOException(te);
-
 
45796
      }
-
 
45797
    }
-
 
45798
 
-
 
45799
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
45800
      try {
-
 
45801
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
45802
      } catch (org.apache.thrift.TException te) {
-
 
45803
        throw new java.io.IOException(te);
-
 
45804
      }
-
 
45805
    }
-
 
45806
 
-
 
45807
  }
-
 
45808
 
-
 
45809
  public static class getCampaigns_result implements org.apache.thrift.TBase<getCampaigns_result, getCampaigns_result._Fields>, java.io.Serializable, Cloneable   {
-
 
45810
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCampaigns_result");
-
 
45811
 
-
 
45812
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
45813
 
-
 
45814
    private List<Campaign> success; // required
-
 
45815
 
-
 
45816
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
45817
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
45818
      SUCCESS((short)0, "success");
-
 
45819
 
-
 
45820
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
45821
 
-
 
45822
      static {
-
 
45823
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
45824
          byName.put(field.getFieldName(), field);
-
 
45825
        }
-
 
45826
      }
-
 
45827
 
-
 
45828
      /**
-
 
45829
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
45830
       */
-
 
45831
      public static _Fields findByThriftId(int fieldId) {
-
 
45832
        switch(fieldId) {
-
 
45833
          case 0: // SUCCESS
-
 
45834
            return SUCCESS;
-
 
45835
          default:
-
 
45836
            return null;
-
 
45837
        }
-
 
45838
      }
-
 
45839
 
-
 
45840
      /**
-
 
45841
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
45842
       * if it is not found.
-
 
45843
       */
-
 
45844
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
45845
        _Fields fields = findByThriftId(fieldId);
-
 
45846
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
45847
        return fields;
-
 
45848
      }
-
 
45849
 
-
 
45850
      /**
-
 
45851
       * Find the _Fields constant that matches name, or null if its not found.
-
 
45852
       */
-
 
45853
      public static _Fields findByName(String name) {
-
 
45854
        return byName.get(name);
-
 
45855
      }
-
 
45856
 
-
 
45857
      private final short _thriftId;
-
 
45858
      private final String _fieldName;
-
 
45859
 
-
 
45860
      _Fields(short thriftId, String fieldName) {
-
 
45861
        _thriftId = thriftId;
-
 
45862
        _fieldName = fieldName;
-
 
45863
      }
-
 
45864
 
-
 
45865
      public short getThriftFieldId() {
-
 
45866
        return _thriftId;
-
 
45867
      }
-
 
45868
 
-
 
45869
      public String getFieldName() {
-
 
45870
        return _fieldName;
-
 
45871
      }
-
 
45872
    }
-
 
45873
 
-
 
45874
    // isset id assignments
-
 
45875
 
-
 
45876
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
45877
    static {
-
 
45878
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
45879
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
45880
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
45881
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Campaign.class))));
-
 
45882
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
45883
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCampaigns_result.class, metaDataMap);
-
 
45884
    }
-
 
45885
 
-
 
45886
    public getCampaigns_result() {
-
 
45887
    }
-
 
45888
 
-
 
45889
    public getCampaigns_result(
-
 
45890
      List<Campaign> success)
-
 
45891
    {
-
 
45892
      this();
-
 
45893
      this.success = success;
-
 
45894
    }
-
 
45895
 
-
 
45896
    /**
-
 
45897
     * Performs a deep copy on <i>other</i>.
-
 
45898
     */
-
 
45899
    public getCampaigns_result(getCampaigns_result other) {
-
 
45900
      if (other.isSetSuccess()) {
-
 
45901
        List<Campaign> __this__success = new ArrayList<Campaign>();
-
 
45902
        for (Campaign other_element : other.success) {
-
 
45903
          __this__success.add(new Campaign(other_element));
-
 
45904
        }
-
 
45905
        this.success = __this__success;
-
 
45906
      }
-
 
45907
    }
-
 
45908
 
-
 
45909
    public getCampaigns_result deepCopy() {
-
 
45910
      return new getCampaigns_result(this);
-
 
45911
    }
-
 
45912
 
-
 
45913
    @Override
-
 
45914
    public void clear() {
-
 
45915
      this.success = null;
-
 
45916
    }
-
 
45917
 
-
 
45918
    public int getSuccessSize() {
-
 
45919
      return (this.success == null) ? 0 : this.success.size();
-
 
45920
    }
-
 
45921
 
-
 
45922
    public java.util.Iterator<Campaign> getSuccessIterator() {
-
 
45923
      return (this.success == null) ? null : this.success.iterator();
-
 
45924
    }
-
 
45925
 
-
 
45926
    public void addToSuccess(Campaign elem) {
-
 
45927
      if (this.success == null) {
-
 
45928
        this.success = new ArrayList<Campaign>();
-
 
45929
      }
-
 
45930
      this.success.add(elem);
-
 
45931
    }
-
 
45932
 
-
 
45933
    public List<Campaign> getSuccess() {
-
 
45934
      return this.success;
-
 
45935
    }
-
 
45936
 
-
 
45937
    public void setSuccess(List<Campaign> success) {
-
 
45938
      this.success = success;
-
 
45939
    }
-
 
45940
 
-
 
45941
    public void unsetSuccess() {
-
 
45942
      this.success = null;
-
 
45943
    }
-
 
45944
 
-
 
45945
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
45946
    public boolean isSetSuccess() {
-
 
45947
      return this.success != null;
-
 
45948
    }
-
 
45949
 
-
 
45950
    public void setSuccessIsSet(boolean value) {
-
 
45951
      if (!value) {
-
 
45952
        this.success = null;
-
 
45953
      }
-
 
45954
    }
-
 
45955
 
-
 
45956
    public void setFieldValue(_Fields field, Object value) {
-
 
45957
      switch (field) {
-
 
45958
      case SUCCESS:
-
 
45959
        if (value == null) {
-
 
45960
          unsetSuccess();
-
 
45961
        } else {
-
 
45962
          setSuccess((List<Campaign>)value);
-
 
45963
        }
-
 
45964
        break;
-
 
45965
 
-
 
45966
      }
-
 
45967
    }
-
 
45968
 
-
 
45969
    public Object getFieldValue(_Fields field) {
-
 
45970
      switch (field) {
-
 
45971
      case SUCCESS:
-
 
45972
        return getSuccess();
-
 
45973
 
-
 
45974
      }
-
 
45975
      throw new IllegalStateException();
-
 
45976
    }
-
 
45977
 
-
 
45978
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
45979
    public boolean isSet(_Fields field) {
-
 
45980
      if (field == null) {
-
 
45981
        throw new IllegalArgumentException();
-
 
45982
      }
-
 
45983
 
-
 
45984
      switch (field) {
-
 
45985
      case SUCCESS:
-
 
45986
        return isSetSuccess();
-
 
45987
      }
-
 
45988
      throw new IllegalStateException();
-
 
45989
    }
-
 
45990
 
-
 
45991
    @Override
-
 
45992
    public boolean equals(Object that) {
-
 
45993
      if (that == null)
-
 
45994
        return false;
-
 
45995
      if (that instanceof getCampaigns_result)
-
 
45996
        return this.equals((getCampaigns_result)that);
-
 
45997
      return false;
-
 
45998
    }
-
 
45999
 
-
 
46000
    public boolean equals(getCampaigns_result that) {
-
 
46001
      if (that == null)
-
 
46002
        return false;
-
 
46003
 
-
 
46004
      boolean this_present_success = true && this.isSetSuccess();
-
 
46005
      boolean that_present_success = true && that.isSetSuccess();
-
 
46006
      if (this_present_success || that_present_success) {
-
 
46007
        if (!(this_present_success && that_present_success))
-
 
46008
          return false;
-
 
46009
        if (!this.success.equals(that.success))
-
 
46010
          return false;
-
 
46011
      }
-
 
46012
 
-
 
46013
      return true;
-
 
46014
    }
-
 
46015
 
-
 
46016
    @Override
-
 
46017
    public int hashCode() {
-
 
46018
      return 0;
-
 
46019
    }
-
 
46020
 
-
 
46021
    public int compareTo(getCampaigns_result other) {
-
 
46022
      if (!getClass().equals(other.getClass())) {
-
 
46023
        return getClass().getName().compareTo(other.getClass().getName());
-
 
46024
      }
-
 
46025
 
-
 
46026
      int lastComparison = 0;
-
 
46027
      getCampaigns_result typedOther = (getCampaigns_result)other;
-
 
46028
 
-
 
46029
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
46030
      if (lastComparison != 0) {
-
 
46031
        return lastComparison;
-
 
46032
      }
-
 
46033
      if (isSetSuccess()) {
-
 
46034
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
46035
        if (lastComparison != 0) {
-
 
46036
          return lastComparison;
-
 
46037
        }
-
 
46038
      }
-
 
46039
      return 0;
-
 
46040
    }
-
 
46041
 
-
 
46042
    public _Fields fieldForId(int fieldId) {
-
 
46043
      return _Fields.findByThriftId(fieldId);
-
 
46044
    }
-
 
46045
 
-
 
46046
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
46047
      org.apache.thrift.protocol.TField field;
-
 
46048
      iprot.readStructBegin();
-
 
46049
      while (true)
-
 
46050
      {
-
 
46051
        field = iprot.readFieldBegin();
-
 
46052
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
46053
          break;
-
 
46054
        }
-
 
46055
        switch (field.id) {
-
 
46056
          case 0: // SUCCESS
-
 
46057
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
46058
              {
-
 
46059
                org.apache.thrift.protocol.TList _list132 = iprot.readListBegin();
-
 
46060
                this.success = new ArrayList<Campaign>(_list132.size);
-
 
46061
                for (int _i133 = 0; _i133 < _list132.size; ++_i133)
-
 
46062
                {
-
 
46063
                  Campaign _elem134; // required
-
 
46064
                  _elem134 = new Campaign();
-
 
46065
                  _elem134.read(iprot);
-
 
46066
                  this.success.add(_elem134);
-
 
46067
                }
-
 
46068
                iprot.readListEnd();
-
 
46069
              }
-
 
46070
            } else { 
-
 
46071
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
46072
            }
-
 
46073
            break;
-
 
46074
          default:
-
 
46075
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
46076
        }
-
 
46077
        iprot.readFieldEnd();
-
 
46078
      }
-
 
46079
      iprot.readStructEnd();
-
 
46080
      validate();
-
 
46081
    }
-
 
46082
 
-
 
46083
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
46084
      oprot.writeStructBegin(STRUCT_DESC);
-
 
46085
 
-
 
46086
      if (this.isSetSuccess()) {
-
 
46087
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
46088
        {
-
 
46089
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
46090
          for (Campaign _iter135 : this.success)
-
 
46091
          {
-
 
46092
            _iter135.write(oprot);
-
 
46093
          }
-
 
46094
          oprot.writeListEnd();
-
 
46095
        }
-
 
46096
        oprot.writeFieldEnd();
-
 
46097
      }
-
 
46098
      oprot.writeFieldStop();
-
 
46099
      oprot.writeStructEnd();
-
 
46100
    }
-
 
46101
 
-
 
46102
    @Override
-
 
46103
    public String toString() {
-
 
46104
      StringBuilder sb = new StringBuilder("getCampaigns_result(");
-
 
46105
      boolean first = true;
-
 
46106
 
-
 
46107
      sb.append("success:");
-
 
46108
      if (this.success == null) {
-
 
46109
        sb.append("null");
-
 
46110
      } else {
-
 
46111
        sb.append(this.success);
-
 
46112
      }
-
 
46113
      first = false;
-
 
46114
      sb.append(")");
-
 
46115
      return sb.toString();
-
 
46116
    }
-
 
46117
 
-
 
46118
    public void validate() throws org.apache.thrift.TException {
-
 
46119
      // check for required fields
-
 
46120
    }
-
 
46121
 
-
 
46122
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
46123
      try {
-
 
46124
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
46125
      } catch (org.apache.thrift.TException te) {
-
 
46126
        throw new java.io.IOException(te);
-
 
46127
      }
-
 
46128
    }
-
 
46129
 
-
 
46130
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
46131
      try {
-
 
46132
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
46133
      } catch (org.apache.thrift.TException te) {
-
 
46134
        throw new java.io.IOException(te);
-
 
46135
      }
-
 
46136
    }
-
 
46137
 
-
 
46138
  }
-
 
46139
 
-
 
46140
  public static class deleteCampaign_args implements org.apache.thrift.TBase<deleteCampaign_args, deleteCampaign_args._Fields>, java.io.Serializable, Cloneable   {
-
 
46141
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteCampaign_args");
-
 
46142
 
-
 
46143
    private static final org.apache.thrift.protocol.TField CAMPAIGN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("campaignId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
46144
 
-
 
46145
    private long campaignId; // required
-
 
46146
 
-
 
46147
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
46148
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
46149
      CAMPAIGN_ID((short)1, "campaignId");
-
 
46150
 
-
 
46151
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
46152
 
-
 
46153
      static {
-
 
46154
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
46155
          byName.put(field.getFieldName(), field);
-
 
46156
        }
-
 
46157
      }
-
 
46158
 
-
 
46159
      /**
-
 
46160
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
46161
       */
-
 
46162
      public static _Fields findByThriftId(int fieldId) {
-
 
46163
        switch(fieldId) {
-
 
46164
          case 1: // CAMPAIGN_ID
-
 
46165
            return CAMPAIGN_ID;
-
 
46166
          default:
-
 
46167
            return null;
-
 
46168
        }
-
 
46169
      }
-
 
46170
 
-
 
46171
      /**
-
 
46172
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
46173
       * if it is not found.
-
 
46174
       */
-
 
46175
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
46176
        _Fields fields = findByThriftId(fieldId);
-
 
46177
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
46178
        return fields;
-
 
46179
      }
-
 
46180
 
-
 
46181
      /**
-
 
46182
       * Find the _Fields constant that matches name, or null if its not found.
-
 
46183
       */
-
 
46184
      public static _Fields findByName(String name) {
-
 
46185
        return byName.get(name);
-
 
46186
      }
-
 
46187
 
-
 
46188
      private final short _thriftId;
-
 
46189
      private final String _fieldName;
-
 
46190
 
-
 
46191
      _Fields(short thriftId, String fieldName) {
-
 
46192
        _thriftId = thriftId;
-
 
46193
        _fieldName = fieldName;
-
 
46194
      }
-
 
46195
 
-
 
46196
      public short getThriftFieldId() {
-
 
46197
        return _thriftId;
-
 
46198
      }
-
 
46199
 
-
 
46200
      public String getFieldName() {
-
 
46201
        return _fieldName;
-
 
46202
      }
-
 
46203
    }
-
 
46204
 
-
 
46205
    // isset id assignments
-
 
46206
    private static final int __CAMPAIGNID_ISSET_ID = 0;
-
 
46207
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
46208
 
-
 
46209
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
46210
    static {
-
 
46211
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
46212
      tmpMap.put(_Fields.CAMPAIGN_ID, new org.apache.thrift.meta_data.FieldMetaData("campaignId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
46213
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
46214
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
46215
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteCampaign_args.class, metaDataMap);
-
 
46216
    }
-
 
46217
 
-
 
46218
    public deleteCampaign_args() {
-
 
46219
    }
-
 
46220
 
-
 
46221
    public deleteCampaign_args(
-
 
46222
      long campaignId)
-
 
46223
    {
-
 
46224
      this();
-
 
46225
      this.campaignId = campaignId;
-
 
46226
      setCampaignIdIsSet(true);
-
 
46227
    }
-
 
46228
 
-
 
46229
    /**
-
 
46230
     * Performs a deep copy on <i>other</i>.
-
 
46231
     */
-
 
46232
    public deleteCampaign_args(deleteCampaign_args other) {
-
 
46233
      __isset_bit_vector.clear();
-
 
46234
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
46235
      this.campaignId = other.campaignId;
-
 
46236
    }
-
 
46237
 
-
 
46238
    public deleteCampaign_args deepCopy() {
-
 
46239
      return new deleteCampaign_args(this);
-
 
46240
    }
-
 
46241
 
-
 
46242
    @Override
-
 
46243
    public void clear() {
-
 
46244
      setCampaignIdIsSet(false);
-
 
46245
      this.campaignId = 0;
-
 
46246
    }
-
 
46247
 
-
 
46248
    public long getCampaignId() {
-
 
46249
      return this.campaignId;
-
 
46250
    }
-
 
46251
 
-
 
46252
    public void setCampaignId(long campaignId) {
-
 
46253
      this.campaignId = campaignId;
-
 
46254
      setCampaignIdIsSet(true);
-
 
46255
    }
-
 
46256
 
-
 
46257
    public void unsetCampaignId() {
-
 
46258
      __isset_bit_vector.clear(__CAMPAIGNID_ISSET_ID);
-
 
46259
    }
-
 
46260
 
-
 
46261
    /** Returns true if field campaignId is set (has been assigned a value) and false otherwise */
-
 
46262
    public boolean isSetCampaignId() {
-
 
46263
      return __isset_bit_vector.get(__CAMPAIGNID_ISSET_ID);
-
 
46264
    }
-
 
46265
 
-
 
46266
    public void setCampaignIdIsSet(boolean value) {
-
 
46267
      __isset_bit_vector.set(__CAMPAIGNID_ISSET_ID, value);
-
 
46268
    }
-
 
46269
 
-
 
46270
    public void setFieldValue(_Fields field, Object value) {
-
 
46271
      switch (field) {
-
 
46272
      case CAMPAIGN_ID:
-
 
46273
        if (value == null) {
-
 
46274
          unsetCampaignId();
-
 
46275
        } else {
-
 
46276
          setCampaignId((Long)value);
-
 
46277
        }
-
 
46278
        break;
-
 
46279
 
-
 
46280
      }
-
 
46281
    }
-
 
46282
 
-
 
46283
    public Object getFieldValue(_Fields field) {
-
 
46284
      switch (field) {
-
 
46285
      case CAMPAIGN_ID:
-
 
46286
        return Long.valueOf(getCampaignId());
-
 
46287
 
-
 
46288
      }
-
 
46289
      throw new IllegalStateException();
-
 
46290
    }
-
 
46291
 
-
 
46292
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
46293
    public boolean isSet(_Fields field) {
-
 
46294
      if (field == null) {
-
 
46295
        throw new IllegalArgumentException();
-
 
46296
      }
-
 
46297
 
-
 
46298
      switch (field) {
-
 
46299
      case CAMPAIGN_ID:
-
 
46300
        return isSetCampaignId();
-
 
46301
      }
-
 
46302
      throw new IllegalStateException();
-
 
46303
    }
-
 
46304
 
-
 
46305
    @Override
-
 
46306
    public boolean equals(Object that) {
-
 
46307
      if (that == null)
-
 
46308
        return false;
-
 
46309
      if (that instanceof deleteCampaign_args)
-
 
46310
        return this.equals((deleteCampaign_args)that);
-
 
46311
      return false;
-
 
46312
    }
-
 
46313
 
-
 
46314
    public boolean equals(deleteCampaign_args that) {
-
 
46315
      if (that == null)
-
 
46316
        return false;
-
 
46317
 
-
 
46318
      boolean this_present_campaignId = true;
-
 
46319
      boolean that_present_campaignId = true;
-
 
46320
      if (this_present_campaignId || that_present_campaignId) {
-
 
46321
        if (!(this_present_campaignId && that_present_campaignId))
-
 
46322
          return false;
-
 
46323
        if (this.campaignId != that.campaignId)
-
 
46324
          return false;
-
 
46325
      }
-
 
46326
 
-
 
46327
      return true;
-
 
46328
    }
-
 
46329
 
-
 
46330
    @Override
-
 
46331
    public int hashCode() {
-
 
46332
      return 0;
-
 
46333
    }
-
 
46334
 
-
 
46335
    public int compareTo(deleteCampaign_args other) {
-
 
46336
      if (!getClass().equals(other.getClass())) {
-
 
46337
        return getClass().getName().compareTo(other.getClass().getName());
-
 
46338
      }
-
 
46339
 
-
 
46340
      int lastComparison = 0;
-
 
46341
      deleteCampaign_args typedOther = (deleteCampaign_args)other;
-
 
46342
 
-
 
46343
      lastComparison = Boolean.valueOf(isSetCampaignId()).compareTo(typedOther.isSetCampaignId());
-
 
46344
      if (lastComparison != 0) {
-
 
46345
        return lastComparison;
-
 
46346
      }
-
 
46347
      if (isSetCampaignId()) {
-
 
46348
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.campaignId, typedOther.campaignId);
-
 
46349
        if (lastComparison != 0) {
-
 
46350
          return lastComparison;
-
 
46351
        }
-
 
46352
      }
-
 
46353
      return 0;
-
 
46354
    }
-
 
46355
 
-
 
46356
    public _Fields fieldForId(int fieldId) {
-
 
46357
      return _Fields.findByThriftId(fieldId);
-
 
46358
    }
-
 
46359
 
-
 
46360
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
46361
      org.apache.thrift.protocol.TField field;
-
 
46362
      iprot.readStructBegin();
-
 
46363
      while (true)
-
 
46364
      {
-
 
46365
        field = iprot.readFieldBegin();
-
 
46366
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
46367
          break;
-
 
46368
        }
-
 
46369
        switch (field.id) {
-
 
46370
          case 1: // CAMPAIGN_ID
-
 
46371
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
46372
              this.campaignId = iprot.readI64();
-
 
46373
              setCampaignIdIsSet(true);
-
 
46374
            } else { 
-
 
46375
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
46376
            }
-
 
46377
            break;
-
 
46378
          default:
-
 
46379
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
46380
        }
-
 
46381
        iprot.readFieldEnd();
-
 
46382
      }
-
 
46383
      iprot.readStructEnd();
-
 
46384
      validate();
-
 
46385
    }
-
 
46386
 
-
 
46387
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
46388
      validate();
-
 
46389
 
-
 
46390
      oprot.writeStructBegin(STRUCT_DESC);
-
 
46391
      oprot.writeFieldBegin(CAMPAIGN_ID_FIELD_DESC);
-
 
46392
      oprot.writeI64(this.campaignId);
-
 
46393
      oprot.writeFieldEnd();
-
 
46394
      oprot.writeFieldStop();
-
 
46395
      oprot.writeStructEnd();
-
 
46396
    }
-
 
46397
 
-
 
46398
    @Override
-
 
46399
    public String toString() {
-
 
46400
      StringBuilder sb = new StringBuilder("deleteCampaign_args(");
-
 
46401
      boolean first = true;
-
 
46402
 
-
 
46403
      sb.append("campaignId:");
-
 
46404
      sb.append(this.campaignId);
-
 
46405
      first = false;
-
 
46406
      sb.append(")");
-
 
46407
      return sb.toString();
-
 
46408
    }
-
 
46409
 
-
 
46410
    public void validate() throws org.apache.thrift.TException {
-
 
46411
      // check for required fields
-
 
46412
    }
-
 
46413
 
-
 
46414
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
46415
      try {
-
 
46416
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
46417
      } catch (org.apache.thrift.TException te) {
-
 
46418
        throw new java.io.IOException(te);
-
 
46419
      }
-
 
46420
    }
-
 
46421
 
-
 
46422
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
46423
      try {
-
 
46424
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
46425
        __isset_bit_vector = new BitSet(1);
-
 
46426
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
46427
      } catch (org.apache.thrift.TException te) {
-
 
46428
        throw new java.io.IOException(te);
-
 
46429
      }
-
 
46430
    }
-
 
46431
 
-
 
46432
  }
-
 
46433
 
-
 
46434
  public static class deleteCampaign_result implements org.apache.thrift.TBase<deleteCampaign_result, deleteCampaign_result._Fields>, java.io.Serializable, Cloneable   {
-
 
46435
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteCampaign_result");
-
 
46436
 
-
 
46437
 
-
 
46438
 
-
 
46439
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
46440
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
46441
;
-
 
46442
 
-
 
46443
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
46444
 
-
 
46445
      static {
-
 
46446
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
46447
          byName.put(field.getFieldName(), field);
-
 
46448
        }
-
 
46449
      }
-
 
46450
 
-
 
46451
      /**
-
 
46452
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
46453
       */
-
 
46454
      public static _Fields findByThriftId(int fieldId) {
-
 
46455
        switch(fieldId) {
-
 
46456
          default:
-
 
46457
            return null;
-
 
46458
        }
-
 
46459
      }
-
 
46460
 
-
 
46461
      /**
-
 
46462
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
46463
       * if it is not found.
-
 
46464
       */
-
 
46465
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
46466
        _Fields fields = findByThriftId(fieldId);
-
 
46467
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
46468
        return fields;
-
 
46469
      }
-
 
46470
 
-
 
46471
      /**
-
 
46472
       * Find the _Fields constant that matches name, or null if its not found.
-
 
46473
       */
-
 
46474
      public static _Fields findByName(String name) {
-
 
46475
        return byName.get(name);
-
 
46476
      }
-
 
46477
 
-
 
46478
      private final short _thriftId;
-
 
46479
      private final String _fieldName;
-
 
46480
 
-
 
46481
      _Fields(short thriftId, String fieldName) {
-
 
46482
        _thriftId = thriftId;
-
 
46483
        _fieldName = fieldName;
-
 
46484
      }
-
 
46485
 
-
 
46486
      public short getThriftFieldId() {
-
 
46487
        return _thriftId;
-
 
46488
      }
-
 
46489
 
-
 
46490
      public String getFieldName() {
-
 
46491
        return _fieldName;
-
 
46492
      }
-
 
46493
    }
-
 
46494
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
46495
    static {
-
 
46496
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
46497
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
46498
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteCampaign_result.class, metaDataMap);
-
 
46499
    }
-
 
46500
 
-
 
46501
    public deleteCampaign_result() {
-
 
46502
    }
-
 
46503
 
-
 
46504
    /**
-
 
46505
     * Performs a deep copy on <i>other</i>.
-
 
46506
     */
-
 
46507
    public deleteCampaign_result(deleteCampaign_result other) {
-
 
46508
    }
-
 
46509
 
-
 
46510
    public deleteCampaign_result deepCopy() {
-
 
46511
      return new deleteCampaign_result(this);
-
 
46512
    }
-
 
46513
 
-
 
46514
    @Override
-
 
46515
    public void clear() {
-
 
46516
    }
-
 
46517
 
-
 
46518
    public void setFieldValue(_Fields field, Object value) {
-
 
46519
      switch (field) {
-
 
46520
      }
-
 
46521
    }
-
 
46522
 
-
 
46523
    public Object getFieldValue(_Fields field) {
-
 
46524
      switch (field) {
-
 
46525
      }
-
 
46526
      throw new IllegalStateException();
-
 
46527
    }
-
 
46528
 
-
 
46529
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
46530
    public boolean isSet(_Fields field) {
-
 
46531
      if (field == null) {
-
 
46532
        throw new IllegalArgumentException();
-
 
46533
      }
-
 
46534
 
-
 
46535
      switch (field) {
-
 
46536
      }
-
 
46537
      throw new IllegalStateException();
-
 
46538
    }
-
 
46539
 
-
 
46540
    @Override
-
 
46541
    public boolean equals(Object that) {
-
 
46542
      if (that == null)
-
 
46543
        return false;
-
 
46544
      if (that instanceof deleteCampaign_result)
-
 
46545
        return this.equals((deleteCampaign_result)that);
-
 
46546
      return false;
-
 
46547
    }
-
 
46548
 
-
 
46549
    public boolean equals(deleteCampaign_result that) {
-
 
46550
      if (that == null)
-
 
46551
        return false;
-
 
46552
 
-
 
46553
      return true;
-
 
46554
    }
-
 
46555
 
-
 
46556
    @Override
-
 
46557
    public int hashCode() {
-
 
46558
      return 0;
-
 
46559
    }
-
 
46560
 
-
 
46561
    public int compareTo(deleteCampaign_result other) {
-
 
46562
      if (!getClass().equals(other.getClass())) {
-
 
46563
        return getClass().getName().compareTo(other.getClass().getName());
-
 
46564
      }
-
 
46565
 
-
 
46566
      int lastComparison = 0;
-
 
46567
      deleteCampaign_result typedOther = (deleteCampaign_result)other;
-
 
46568
 
-
 
46569
      return 0;
-
 
46570
    }
-
 
46571
 
-
 
46572
    public _Fields fieldForId(int fieldId) {
-
 
46573
      return _Fields.findByThriftId(fieldId);
-
 
46574
    }
-
 
46575
 
-
 
46576
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
46577
      org.apache.thrift.protocol.TField field;
-
 
46578
      iprot.readStructBegin();
-
 
46579
      while (true)
-
 
46580
      {
-
 
46581
        field = iprot.readFieldBegin();
-
 
46582
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
46583
          break;
-
 
46584
        }
-
 
46585
        switch (field.id) {
-
 
46586
          default:
-
 
46587
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
46588
        }
-
 
46589
        iprot.readFieldEnd();
-
 
46590
      }
-
 
46591
      iprot.readStructEnd();
-
 
46592
      validate();
-
 
46593
    }
-
 
46594
 
-
 
46595
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
46596
      oprot.writeStructBegin(STRUCT_DESC);
-
 
46597
 
-
 
46598
      oprot.writeFieldStop();
-
 
46599
      oprot.writeStructEnd();
-
 
46600
    }
-
 
46601
 
-
 
46602
    @Override
-
 
46603
    public String toString() {
-
 
46604
      StringBuilder sb = new StringBuilder("deleteCampaign_result(");
-
 
46605
      boolean first = true;
-
 
46606
 
-
 
46607
      sb.append(")");
-
 
46608
      return sb.toString();
-
 
46609
    }
-
 
46610
 
-
 
46611
    public void validate() throws org.apache.thrift.TException {
-
 
46612
      // check for required fields
-
 
46613
    }
-
 
46614
 
-
 
46615
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
46616
      try {
-
 
46617
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
46618
      } catch (org.apache.thrift.TException te) {
-
 
46619
        throw new java.io.IOException(te);
-
 
46620
      }
-
 
46621
    }
-
 
46622
 
-
 
46623
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
46624
      try {
-
 
46625
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
46626
      } catch (org.apache.thrift.TException te) {
-
 
46627
        throw new java.io.IOException(te);
-
 
46628
      }
-
 
46629
    }
-
 
46630
 
-
 
46631
  }
-
 
46632
 
-
 
46633
  public static class getAllCampaigns_args implements org.apache.thrift.TBase<getAllCampaigns_args, getAllCampaigns_args._Fields>, java.io.Serializable, Cloneable   {
-
 
46634
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllCampaigns_args");
-
 
46635
 
-
 
46636
 
-
 
46637
 
-
 
46638
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
46639
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
46640
;
-
 
46641
 
-
 
46642
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
46643
 
-
 
46644
      static {
-
 
46645
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
46646
          byName.put(field.getFieldName(), field);
-
 
46647
        }
-
 
46648
      }
-
 
46649
 
-
 
46650
      /**
-
 
46651
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
46652
       */
-
 
46653
      public static _Fields findByThriftId(int fieldId) {
-
 
46654
        switch(fieldId) {
-
 
46655
          default:
-
 
46656
            return null;
-
 
46657
        }
-
 
46658
      }
-
 
46659
 
-
 
46660
      /**
-
 
46661
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
46662
       * if it is not found.
-
 
46663
       */
-
 
46664
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
46665
        _Fields fields = findByThriftId(fieldId);
-
 
46666
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
46667
        return fields;
-
 
46668
      }
-
 
46669
 
-
 
46670
      /**
-
 
46671
       * Find the _Fields constant that matches name, or null if its not found.
-
 
46672
       */
-
 
46673
      public static _Fields findByName(String name) {
-
 
46674
        return byName.get(name);
-
 
46675
      }
-
 
46676
 
-
 
46677
      private final short _thriftId;
-
 
46678
      private final String _fieldName;
-
 
46679
 
-
 
46680
      _Fields(short thriftId, String fieldName) {
-
 
46681
        _thriftId = thriftId;
-
 
46682
        _fieldName = fieldName;
-
 
46683
      }
-
 
46684
 
-
 
46685
      public short getThriftFieldId() {
-
 
46686
        return _thriftId;
-
 
46687
      }
-
 
46688
 
-
 
46689
      public String getFieldName() {
-
 
46690
        return _fieldName;
-
 
46691
      }
-
 
46692
    }
-
 
46693
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
46694
    static {
-
 
46695
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
46696
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
46697
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllCampaigns_args.class, metaDataMap);
-
 
46698
    }
-
 
46699
 
-
 
46700
    public getAllCampaigns_args() {
-
 
46701
    }
-
 
46702
 
-
 
46703
    /**
-
 
46704
     * Performs a deep copy on <i>other</i>.
-
 
46705
     */
-
 
46706
    public getAllCampaigns_args(getAllCampaigns_args other) {
-
 
46707
    }
-
 
46708
 
-
 
46709
    public getAllCampaigns_args deepCopy() {
-
 
46710
      return new getAllCampaigns_args(this);
-
 
46711
    }
-
 
46712
 
-
 
46713
    @Override
-
 
46714
    public void clear() {
-
 
46715
    }
-
 
46716
 
-
 
46717
    public void setFieldValue(_Fields field, Object value) {
-
 
46718
      switch (field) {
-
 
46719
      }
-
 
46720
    }
-
 
46721
 
-
 
46722
    public Object getFieldValue(_Fields field) {
-
 
46723
      switch (field) {
-
 
46724
      }
-
 
46725
      throw new IllegalStateException();
-
 
46726
    }
-
 
46727
 
-
 
46728
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
46729
    public boolean isSet(_Fields field) {
-
 
46730
      if (field == null) {
-
 
46731
        throw new IllegalArgumentException();
-
 
46732
      }
-
 
46733
 
-
 
46734
      switch (field) {
-
 
46735
      }
-
 
46736
      throw new IllegalStateException();
-
 
46737
    }
-
 
46738
 
-
 
46739
    @Override
-
 
46740
    public boolean equals(Object that) {
-
 
46741
      if (that == null)
-
 
46742
        return false;
-
 
46743
      if (that instanceof getAllCampaigns_args)
-
 
46744
        return this.equals((getAllCampaigns_args)that);
-
 
46745
      return false;
-
 
46746
    }
-
 
46747
 
-
 
46748
    public boolean equals(getAllCampaigns_args that) {
-
 
46749
      if (that == null)
-
 
46750
        return false;
-
 
46751
 
-
 
46752
      return true;
-
 
46753
    }
-
 
46754
 
-
 
46755
    @Override
-
 
46756
    public int hashCode() {
-
 
46757
      return 0;
-
 
46758
    }
-
 
46759
 
-
 
46760
    public int compareTo(getAllCampaigns_args other) {
-
 
46761
      if (!getClass().equals(other.getClass())) {
-
 
46762
        return getClass().getName().compareTo(other.getClass().getName());
-
 
46763
      }
-
 
46764
 
-
 
46765
      int lastComparison = 0;
-
 
46766
      getAllCampaigns_args typedOther = (getAllCampaigns_args)other;
-
 
46767
 
-
 
46768
      return 0;
-
 
46769
    }
-
 
46770
 
-
 
46771
    public _Fields fieldForId(int fieldId) {
-
 
46772
      return _Fields.findByThriftId(fieldId);
-
 
46773
    }
-
 
46774
 
-
 
46775
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
46776
      org.apache.thrift.protocol.TField field;
-
 
46777
      iprot.readStructBegin();
-
 
46778
      while (true)
-
 
46779
      {
-
 
46780
        field = iprot.readFieldBegin();
-
 
46781
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
46782
          break;
-
 
46783
        }
-
 
46784
        switch (field.id) {
-
 
46785
          default:
-
 
46786
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
46787
        }
-
 
46788
        iprot.readFieldEnd();
-
 
46789
      }
-
 
46790
      iprot.readStructEnd();
-
 
46791
      validate();
-
 
46792
    }
-
 
46793
 
-
 
46794
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
46795
      validate();
-
 
46796
 
-
 
46797
      oprot.writeStructBegin(STRUCT_DESC);
-
 
46798
      oprot.writeFieldStop();
-
 
46799
      oprot.writeStructEnd();
-
 
46800
    }
-
 
46801
 
-
 
46802
    @Override
-
 
46803
    public String toString() {
-
 
46804
      StringBuilder sb = new StringBuilder("getAllCampaigns_args(");
-
 
46805
      boolean first = true;
-
 
46806
 
-
 
46807
      sb.append(")");
-
 
46808
      return sb.toString();
-
 
46809
    }
-
 
46810
 
-
 
46811
    public void validate() throws org.apache.thrift.TException {
-
 
46812
      // check for required fields
-
 
46813
    }
-
 
46814
 
-
 
46815
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
46816
      try {
-
 
46817
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
46818
      } catch (org.apache.thrift.TException te) {
-
 
46819
        throw new java.io.IOException(te);
-
 
46820
      }
-
 
46821
    }
-
 
46822
 
-
 
46823
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
46824
      try {
-
 
46825
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
46826
      } catch (org.apache.thrift.TException te) {
-
 
46827
        throw new java.io.IOException(te);
-
 
46828
      }
-
 
46829
    }
-
 
46830
 
-
 
46831
  }
-
 
46832
 
-
 
46833
  public static class getAllCampaigns_result implements org.apache.thrift.TBase<getAllCampaigns_result, getAllCampaigns_result._Fields>, java.io.Serializable, Cloneable   {
-
 
46834
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllCampaigns_result");
-
 
46835
 
-
 
46836
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
46837
 
-
 
46838
    private List<String> success; // required
-
 
46839
 
-
 
46840
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
46841
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
46842
      SUCCESS((short)0, "success");
-
 
46843
 
-
 
46844
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
46845
 
-
 
46846
      static {
-
 
46847
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
46848
          byName.put(field.getFieldName(), field);
-
 
46849
        }
-
 
46850
      }
-
 
46851
 
-
 
46852
      /**
-
 
46853
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
46854
       */
-
 
46855
      public static _Fields findByThriftId(int fieldId) {
-
 
46856
        switch(fieldId) {
-
 
46857
          case 0: // SUCCESS
-
 
46858
            return SUCCESS;
-
 
46859
          default:
-
 
46860
            return null;
-
 
46861
        }
-
 
46862
      }
-
 
46863
 
-
 
46864
      /**
-
 
46865
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
46866
       * if it is not found.
-
 
46867
       */
-
 
46868
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
46869
        _Fields fields = findByThriftId(fieldId);
-
 
46870
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
46871
        return fields;
-
 
46872
      }
-
 
46873
 
-
 
46874
      /**
-
 
46875
       * Find the _Fields constant that matches name, or null if its not found.
-
 
46876
       */
-
 
46877
      public static _Fields findByName(String name) {
-
 
46878
        return byName.get(name);
-
 
46879
      }
-
 
46880
 
-
 
46881
      private final short _thriftId;
-
 
46882
      private final String _fieldName;
-
 
46883
 
-
 
46884
      _Fields(short thriftId, String fieldName) {
-
 
46885
        _thriftId = thriftId;
-
 
46886
        _fieldName = fieldName;
-
 
46887
      }
-
 
46888
 
-
 
46889
      public short getThriftFieldId() {
-
 
46890
        return _thriftId;
-
 
46891
      }
-
 
46892
 
-
 
46893
      public String getFieldName() {
-
 
46894
        return _fieldName;
-
 
46895
      }
-
 
46896
    }
-
 
46897
 
-
 
46898
    // isset id assignments
-
 
46899
 
-
 
46900
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
46901
    static {
-
 
46902
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
46903
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
46904
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
46905
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
46906
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
46907
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllCampaigns_result.class, metaDataMap);
-
 
46908
    }
-
 
46909
 
-
 
46910
    public getAllCampaigns_result() {
-
 
46911
    }
-
 
46912
 
-
 
46913
    public getAllCampaigns_result(
-
 
46914
      List<String> success)
-
 
46915
    {
-
 
46916
      this();
-
 
46917
      this.success = success;
-
 
46918
    }
-
 
46919
 
-
 
46920
    /**
-
 
46921
     * Performs a deep copy on <i>other</i>.
-
 
46922
     */
-
 
46923
    public getAllCampaigns_result(getAllCampaigns_result other) {
-
 
46924
      if (other.isSetSuccess()) {
-
 
46925
        List<String> __this__success = new ArrayList<String>();
-
 
46926
        for (String other_element : other.success) {
-
 
46927
          __this__success.add(other_element);
-
 
46928
        }
-
 
46929
        this.success = __this__success;
-
 
46930
      }
-
 
46931
    }
-
 
46932
 
-
 
46933
    public getAllCampaigns_result deepCopy() {
-
 
46934
      return new getAllCampaigns_result(this);
-
 
46935
    }
-
 
46936
 
-
 
46937
    @Override
-
 
46938
    public void clear() {
-
 
46939
      this.success = null;
-
 
46940
    }
-
 
46941
 
-
 
46942
    public int getSuccessSize() {
-
 
46943
      return (this.success == null) ? 0 : this.success.size();
-
 
46944
    }
-
 
46945
 
-
 
46946
    public java.util.Iterator<String> getSuccessIterator() {
-
 
46947
      return (this.success == null) ? null : this.success.iterator();
-
 
46948
    }
-
 
46949
 
-
 
46950
    public void addToSuccess(String elem) {
-
 
46951
      if (this.success == null) {
-
 
46952
        this.success = new ArrayList<String>();
-
 
46953
      }
-
 
46954
      this.success.add(elem);
-
 
46955
    }
-
 
46956
 
-
 
46957
    public List<String> getSuccess() {
-
 
46958
      return this.success;
-
 
46959
    }
-
 
46960
 
-
 
46961
    public void setSuccess(List<String> success) {
-
 
46962
      this.success = success;
-
 
46963
    }
-
 
46964
 
-
 
46965
    public void unsetSuccess() {
-
 
46966
      this.success = null;
-
 
46967
    }
-
 
46968
 
-
 
46969
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
46970
    public boolean isSetSuccess() {
-
 
46971
      return this.success != null;
-
 
46972
    }
-
 
46973
 
-
 
46974
    public void setSuccessIsSet(boolean value) {
-
 
46975
      if (!value) {
-
 
46976
        this.success = null;
-
 
46977
      }
-
 
46978
    }
-
 
46979
 
-
 
46980
    public void setFieldValue(_Fields field, Object value) {
-
 
46981
      switch (field) {
-
 
46982
      case SUCCESS:
-
 
46983
        if (value == null) {
-
 
46984
          unsetSuccess();
-
 
46985
        } else {
-
 
46986
          setSuccess((List<String>)value);
-
 
46987
        }
-
 
46988
        break;
-
 
46989
 
-
 
46990
      }
-
 
46991
    }
-
 
46992
 
-
 
46993
    public Object getFieldValue(_Fields field) {
-
 
46994
      switch (field) {
-
 
46995
      case SUCCESS:
-
 
46996
        return getSuccess();
-
 
46997
 
-
 
46998
      }
-
 
46999
      throw new IllegalStateException();
-
 
47000
    }
-
 
47001
 
-
 
47002
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
47003
    public boolean isSet(_Fields field) {
-
 
47004
      if (field == null) {
-
 
47005
        throw new IllegalArgumentException();
-
 
47006
      }
-
 
47007
 
-
 
47008
      switch (field) {
-
 
47009
      case SUCCESS:
-
 
47010
        return isSetSuccess();
-
 
47011
      }
-
 
47012
      throw new IllegalStateException();
-
 
47013
    }
-
 
47014
 
-
 
47015
    @Override
-
 
47016
    public boolean equals(Object that) {
-
 
47017
      if (that == null)
-
 
47018
        return false;
-
 
47019
      if (that instanceof getAllCampaigns_result)
-
 
47020
        return this.equals((getAllCampaigns_result)that);
-
 
47021
      return false;
-
 
47022
    }
-
 
47023
 
-
 
47024
    public boolean equals(getAllCampaigns_result that) {
-
 
47025
      if (that == null)
-
 
47026
        return false;
-
 
47027
 
-
 
47028
      boolean this_present_success = true && this.isSetSuccess();
-
 
47029
      boolean that_present_success = true && that.isSetSuccess();
-
 
47030
      if (this_present_success || that_present_success) {
-
 
47031
        if (!(this_present_success && that_present_success))
-
 
47032
          return false;
-
 
47033
        if (!this.success.equals(that.success))
-
 
47034
          return false;
-
 
47035
      }
-
 
47036
 
-
 
47037
      return true;
-
 
47038
    }
-
 
47039
 
-
 
47040
    @Override
-
 
47041
    public int hashCode() {
-
 
47042
      return 0;
-
 
47043
    }
-
 
47044
 
-
 
47045
    public int compareTo(getAllCampaigns_result other) {
-
 
47046
      if (!getClass().equals(other.getClass())) {
-
 
47047
        return getClass().getName().compareTo(other.getClass().getName());
-
 
47048
      }
-
 
47049
 
-
 
47050
      int lastComparison = 0;
-
 
47051
      getAllCampaigns_result typedOther = (getAllCampaigns_result)other;
-
 
47052
 
-
 
47053
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
47054
      if (lastComparison != 0) {
-
 
47055
        return lastComparison;
-
 
47056
      }
-
 
47057
      if (isSetSuccess()) {
-
 
47058
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
47059
        if (lastComparison != 0) {
-
 
47060
          return lastComparison;
-
 
47061
        }
-
 
47062
      }
-
 
47063
      return 0;
-
 
47064
    }
-
 
47065
 
-
 
47066
    public _Fields fieldForId(int fieldId) {
-
 
47067
      return _Fields.findByThriftId(fieldId);
-
 
47068
    }
-
 
47069
 
-
 
47070
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
47071
      org.apache.thrift.protocol.TField field;
-
 
47072
      iprot.readStructBegin();
-
 
47073
      while (true)
-
 
47074
      {
-
 
47075
        field = iprot.readFieldBegin();
-
 
47076
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
47077
          break;
-
 
47078
        }
-
 
47079
        switch (field.id) {
-
 
47080
          case 0: // SUCCESS
-
 
47081
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
47082
              {
-
 
47083
                org.apache.thrift.protocol.TList _list136 = iprot.readListBegin();
-
 
47084
                this.success = new ArrayList<String>(_list136.size);
-
 
47085
                for (int _i137 = 0; _i137 < _list136.size; ++_i137)
-
 
47086
                {
-
 
47087
                  String _elem138; // required
-
 
47088
                  _elem138 = iprot.readString();
-
 
47089
                  this.success.add(_elem138);
-
 
47090
                }
-
 
47091
                iprot.readListEnd();
-
 
47092
              }
-
 
47093
            } else { 
-
 
47094
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47095
            }
-
 
47096
            break;
-
 
47097
          default:
-
 
47098
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47099
        }
-
 
47100
        iprot.readFieldEnd();
-
 
47101
      }
-
 
47102
      iprot.readStructEnd();
-
 
47103
      validate();
-
 
47104
    }
-
 
47105
 
-
 
47106
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
47107
      oprot.writeStructBegin(STRUCT_DESC);
-
 
47108
 
-
 
47109
      if (this.isSetSuccess()) {
-
 
47110
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
47111
        {
-
 
47112
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
-
 
47113
          for (String _iter139 : this.success)
-
 
47114
          {
-
 
47115
            oprot.writeString(_iter139);
-
 
47116
          }
-
 
47117
          oprot.writeListEnd();
-
 
47118
        }
-
 
47119
        oprot.writeFieldEnd();
-
 
47120
      }
-
 
47121
      oprot.writeFieldStop();
-
 
47122
      oprot.writeStructEnd();
-
 
47123
    }
-
 
47124
 
-
 
47125
    @Override
-
 
47126
    public String toString() {
-
 
47127
      StringBuilder sb = new StringBuilder("getAllCampaigns_result(");
-
 
47128
      boolean first = true;
-
 
47129
 
-
 
47130
      sb.append("success:");
-
 
47131
      if (this.success == null) {
-
 
47132
        sb.append("null");
-
 
47133
      } else {
-
 
47134
        sb.append(this.success);
-
 
47135
      }
-
 
47136
      first = false;
-
 
47137
      sb.append(")");
-
 
47138
      return sb.toString();
-
 
47139
    }
-
 
47140
 
-
 
47141
    public void validate() throws org.apache.thrift.TException {
-
 
47142
      // check for required fields
-
 
47143
    }
-
 
47144
 
-
 
47145
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
47146
      try {
-
 
47147
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
47148
      } catch (org.apache.thrift.TException te) {
-
 
47149
        throw new java.io.IOException(te);
-
 
47150
      }
-
 
47151
    }
-
 
47152
 
-
 
47153
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
47154
      try {
-
 
47155
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
47156
      } catch (org.apache.thrift.TException te) {
-
 
47157
        throw new java.io.IOException(te);
-
 
47158
      }
-
 
47159
    }
-
 
47160
 
-
 
47161
  }
-
 
47162
 
42652
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
47163
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
42653
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
47164
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
42654
 
47165
 
42655
    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);
47166
    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);
42656
    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);
47167
    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 45773... Line 50284...
45773
        }
50284
        }
45774
        switch (field.id) {
50285
        switch (field.id) {
45775
          case 0: // SUCCESS
50286
          case 0: // SUCCESS
45776
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50287
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45777
              {
50288
              {
45778
                org.apache.thrift.protocol.TList _list115 = iprot.readListBegin();
50289
                org.apache.thrift.protocol.TList _list140 = iprot.readListBegin();
45779
                this.success = new ArrayList<Item>(_list115.size);
50290
                this.success = new ArrayList<Item>(_list140.size);
45780
                for (int _i116 = 0; _i116 < _list115.size; ++_i116)
50291
                for (int _i141 = 0; _i141 < _list140.size; ++_i141)
45781
                {
50292
                {
45782
                  Item _elem117; // required
50293
                  Item _elem142; // required
45783
                  _elem117 = new Item();
50294
                  _elem142 = new Item();
45784
                  _elem117.read(iprot);
50295
                  _elem142.read(iprot);
45785
                  this.success.add(_elem117);
50296
                  this.success.add(_elem142);
45786
                }
50297
                }
45787
                iprot.readListEnd();
50298
                iprot.readListEnd();
45788
              }
50299
              }
45789
            } else { 
50300
            } else { 
45790
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50301
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45804... Line 50315...
45804
 
50315
 
45805
      if (this.isSetSuccess()) {
50316
      if (this.isSetSuccess()) {
45806
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50317
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45807
        {
50318
        {
45808
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50319
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45809
          for (Item _iter118 : this.success)
50320
          for (Item _iter143 : this.success)
45810
          {
50321
          {
45811
            _iter118.write(oprot);
50322
            _iter143.write(oprot);
45812
          }
50323
          }
45813
          oprot.writeListEnd();
50324
          oprot.writeListEnd();
45814
        }
50325
        }
45815
        oprot.writeFieldEnd();
50326
        oprot.writeFieldEnd();
45816
      }
50327
      }
Line 46486... Line 50997...
46486
        }
50997
        }
46487
        switch (field.id) {
50998
        switch (field.id) {
46488
          case 0: // SUCCESS
50999
          case 0: // SUCCESS
46489
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51000
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46490
              {
51001
              {
46491
                org.apache.thrift.protocol.TList _list119 = iprot.readListBegin();
51002
                org.apache.thrift.protocol.TList _list144 = iprot.readListBegin();
46492
                this.success = new ArrayList<Item>(_list119.size);
51003
                this.success = new ArrayList<Item>(_list144.size);
46493
                for (int _i120 = 0; _i120 < _list119.size; ++_i120)
51004
                for (int _i145 = 0; _i145 < _list144.size; ++_i145)
46494
                {
51005
                {
46495
                  Item _elem121; // required
51006
                  Item _elem146; // required
46496
                  _elem121 = new Item();
51007
                  _elem146 = new Item();
46497
                  _elem121.read(iprot);
51008
                  _elem146.read(iprot);
46498
                  this.success.add(_elem121);
51009
                  this.success.add(_elem146);
46499
                }
51010
                }
46500
                iprot.readListEnd();
51011
                iprot.readListEnd();
46501
              }
51012
              }
46502
            } else { 
51013
            } else { 
46503
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51014
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46517... Line 51028...
46517
 
51028
 
46518
      if (this.isSetSuccess()) {
51029
      if (this.isSetSuccess()) {
46519
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51030
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46520
        {
51031
        {
46521
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51032
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46522
          for (Item _iter122 : this.success)
51033
          for (Item _iter147 : this.success)
46523
          {
51034
          {
46524
            _iter122.write(oprot);
51035
            _iter147.write(oprot);
46525
          }
51036
          }
46526
          oprot.writeListEnd();
51037
          oprot.writeListEnd();
46527
        }
51038
        }
46528
        oprot.writeFieldEnd();
51039
        oprot.writeFieldEnd();
46529
      }
51040
      }
Line 47275... Line 51786...
47275
        }
51786
        }
47276
        switch (field.id) {
51787
        switch (field.id) {
47277
          case 0: // SUCCESS
51788
          case 0: // SUCCESS
47278
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51789
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47279
              {
51790
              {
47280
                org.apache.thrift.protocol.TList _list123 = iprot.readListBegin();
51791
                org.apache.thrift.protocol.TList _list148 = iprot.readListBegin();
47281
                this.success = new ArrayList<Long>(_list123.size);
51792
                this.success = new ArrayList<Long>(_list148.size);
47282
                for (int _i124 = 0; _i124 < _list123.size; ++_i124)
51793
                for (int _i149 = 0; _i149 < _list148.size; ++_i149)
47283
                {
51794
                {
47284
                  long _elem125; // required
51795
                  long _elem150; // required
47285
                  _elem125 = iprot.readI64();
51796
                  _elem150 = iprot.readI64();
47286
                  this.success.add(_elem125);
51797
                  this.success.add(_elem150);
47287
                }
51798
                }
47288
                iprot.readListEnd();
51799
                iprot.readListEnd();
47289
              }
51800
              }
47290
            } else { 
51801
            } else { 
47291
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51802
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47305... Line 51816...
47305
 
51816
 
47306
      if (this.isSetSuccess()) {
51817
      if (this.isSetSuccess()) {
47307
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51818
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47308
        {
51819
        {
47309
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
51820
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
47310
          for (long _iter126 : this.success)
51821
          for (long _iter151 : this.success)
47311
          {
51822
          {
47312
            oprot.writeI64(_iter126);
51823
            oprot.writeI64(_iter151);
47313
          }
51824
          }
47314
          oprot.writeListEnd();
51825
          oprot.writeListEnd();
47315
        }
51826
        }
47316
        oprot.writeFieldEnd();
51827
        oprot.writeFieldEnd();
47317
      }
51828
      }
Line 49067... Line 53578...
49067
        }
53578
        }
49068
        switch (field.id) {
53579
        switch (field.id) {
49069
          case 0: // SUCCESS
53580
          case 0: // SUCCESS
49070
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53581
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49071
              {
53582
              {
49072
                org.apache.thrift.protocol.TList _list127 = iprot.readListBegin();
53583
                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
49073
                this.success = new ArrayList<String>(_list127.size);
53584
                this.success = new ArrayList<String>(_list152.size);
49074
                for (int _i128 = 0; _i128 < _list127.size; ++_i128)
53585
                for (int _i153 = 0; _i153 < _list152.size; ++_i153)
49075
                {
53586
                {
49076
                  String _elem129; // required
53587
                  String _elem154; // required
49077
                  _elem129 = iprot.readString();
53588
                  _elem154 = iprot.readString();
49078
                  this.success.add(_elem129);
53589
                  this.success.add(_elem154);
49079
                }
53590
                }
49080
                iprot.readListEnd();
53591
                iprot.readListEnd();
49081
              }
53592
              }
49082
            } else { 
53593
            } else { 
49083
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53594
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49097... Line 53608...
49097
 
53608
 
49098
      if (this.isSetSuccess()) {
53609
      if (this.isSetSuccess()) {
49099
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53610
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49100
        {
53611
        {
49101
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
53612
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
49102
          for (String _iter130 : this.success)
53613
          for (String _iter155 : this.success)
49103
          {
53614
          {
49104
            oprot.writeString(_iter130);
53615
            oprot.writeString(_iter155);
49105
          }
53616
          }
49106
          oprot.writeListEnd();
53617
          oprot.writeListEnd();
49107
        }
53618
        }
49108
        oprot.writeFieldEnd();
53619
        oprot.writeFieldEnd();
49109
      }
53620
      }
Line 49597... Line 54108...
49597
        }
54108
        }
49598
        switch (field.id) {
54109
        switch (field.id) {
49599
          case 0: // SUCCESS
54110
          case 0: // SUCCESS
49600
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54111
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49601
              {
54112
              {
49602
                org.apache.thrift.protocol.TList _list131 = iprot.readListBegin();
54113
                org.apache.thrift.protocol.TList _list156 = iprot.readListBegin();
49603
                this.success = new ArrayList<String>(_list131.size);
54114
                this.success = new ArrayList<String>(_list156.size);
49604
                for (int _i132 = 0; _i132 < _list131.size; ++_i132)
54115
                for (int _i157 = 0; _i157 < _list156.size; ++_i157)
49605
                {
54116
                {
49606
                  String _elem133; // required
54117
                  String _elem158; // required
49607
                  _elem133 = iprot.readString();
54118
                  _elem158 = iprot.readString();
49608
                  this.success.add(_elem133);
54119
                  this.success.add(_elem158);
49609
                }
54120
                }
49610
                iprot.readListEnd();
54121
                iprot.readListEnd();
49611
              }
54122
              }
49612
            } else { 
54123
            } else { 
49613
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54124
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49627... Line 54138...
49627
 
54138
 
49628
      if (this.isSetSuccess()) {
54139
      if (this.isSetSuccess()) {
49629
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54140
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49630
        {
54141
        {
49631
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
54142
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
49632
          for (String _iter134 : this.success)
54143
          for (String _iter159 : this.success)
49633
          {
54144
          {
49634
            oprot.writeString(_iter134);
54145
            oprot.writeString(_iter159);
49635
          }
54146
          }
49636
          oprot.writeListEnd();
54147
          oprot.writeListEnd();
49637
        }
54148
        }
49638
        oprot.writeFieldEnd();
54149
        oprot.writeFieldEnd();
49639
      }
54150
      }
Line 50127... Line 54638...
50127
        }
54638
        }
50128
        switch (field.id) {
54639
        switch (field.id) {
50129
          case 0: // SUCCESS
54640
          case 0: // SUCCESS
50130
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54641
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50131
              {
54642
              {
50132
                org.apache.thrift.protocol.TList _list135 = iprot.readListBegin();
54643
                org.apache.thrift.protocol.TList _list160 = iprot.readListBegin();
50133
                this.success = new ArrayList<Source>(_list135.size);
54644
                this.success = new ArrayList<Source>(_list160.size);
50134
                for (int _i136 = 0; _i136 < _list135.size; ++_i136)
54645
                for (int _i161 = 0; _i161 < _list160.size; ++_i161)
50135
                {
54646
                {
50136
                  Source _elem137; // required
54647
                  Source _elem162; // required
50137
                  _elem137 = new Source();
54648
                  _elem162 = new Source();
50138
                  _elem137.read(iprot);
54649
                  _elem162.read(iprot);
50139
                  this.success.add(_elem137);
54650
                  this.success.add(_elem162);
50140
                }
54651
                }
50141
                iprot.readListEnd();
54652
                iprot.readListEnd();
50142
              }
54653
              }
50143
            } else { 
54654
            } else { 
50144
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54655
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50158... Line 54669...
50158
 
54669
 
50159
      if (this.isSetSuccess()) {
54670
      if (this.isSetSuccess()) {
50160
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54671
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50161
        {
54672
        {
50162
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54673
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50163
          for (Source _iter138 : this.success)
54674
          for (Source _iter163 : this.success)
50164
          {
54675
          {
50165
            _iter138.write(oprot);
54676
            _iter163.write(oprot);
50166
          }
54677
          }
50167
          oprot.writeListEnd();
54678
          oprot.writeListEnd();
50168
        }
54679
        }
50169
        oprot.writeFieldEnd();
54680
        oprot.writeFieldEnd();
50170
      }
54681
      }
Line 52164... Line 56675...
52164
        }
56675
        }
52165
        switch (field.id) {
56676
        switch (field.id) {
52166
          case 0: // SUCCESS
56677
          case 0: // SUCCESS
52167
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56678
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52168
              {
56679
              {
52169
                org.apache.thrift.protocol.TList _list139 = iprot.readListBegin();
56680
                org.apache.thrift.protocol.TList _list164 = iprot.readListBegin();
52170
                this.success = new ArrayList<SourceItemPricing>(_list139.size);
56681
                this.success = new ArrayList<SourceItemPricing>(_list164.size);
52171
                for (int _i140 = 0; _i140 < _list139.size; ++_i140)
56682
                for (int _i165 = 0; _i165 < _list164.size; ++_i165)
52172
                {
56683
                {
52173
                  SourceItemPricing _elem141; // required
56684
                  SourceItemPricing _elem166; // required
52174
                  _elem141 = new SourceItemPricing();
56685
                  _elem166 = new SourceItemPricing();
52175
                  _elem141.read(iprot);
56686
                  _elem166.read(iprot);
52176
                  this.success.add(_elem141);
56687
                  this.success.add(_elem166);
52177
                }
56688
                }
52178
                iprot.readListEnd();
56689
                iprot.readListEnd();
52179
              }
56690
              }
52180
            } else { 
56691
            } else { 
52181
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
56692
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52203... Line 56714...
52203
 
56714
 
52204
      if (this.isSetSuccess()) {
56715
      if (this.isSetSuccess()) {
52205
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56716
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52206
        {
56717
        {
52207
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56718
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52208
          for (SourceItemPricing _iter142 : this.success)
56719
          for (SourceItemPricing _iter167 : this.success)
52209
          {
56720
          {
52210
            _iter142.write(oprot);
56721
            _iter167.write(oprot);
52211
          }
56722
          }
52212
          oprot.writeListEnd();
56723
          oprot.writeListEnd();
52213
        }
56724
        }
52214
        oprot.writeFieldEnd();
56725
        oprot.writeFieldEnd();
52215
      } else if (this.isSetCex()) {
56726
      } else if (this.isSetCex()) {
Line 53411... Line 57922...
53411
        }
57922
        }
53412
        switch (field.id) {
57923
        switch (field.id) {
53413
          case 1: // SEARCH_TERMS
57924
          case 1: // SEARCH_TERMS
53414
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57925
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53415
              {
57926
              {
53416
                org.apache.thrift.protocol.TList _list143 = iprot.readListBegin();
57927
                org.apache.thrift.protocol.TList _list168 = iprot.readListBegin();
53417
                this.searchTerms = new ArrayList<String>(_list143.size);
57928
                this.searchTerms = new ArrayList<String>(_list168.size);
53418
                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
57929
                for (int _i169 = 0; _i169 < _list168.size; ++_i169)
53419
                {
57930
                {
53420
                  String _elem145; // required
57931
                  String _elem170; // required
53421
                  _elem145 = iprot.readString();
57932
                  _elem170 = iprot.readString();
53422
                  this.searchTerms.add(_elem145);
57933
                  this.searchTerms.add(_elem170);
53423
                }
57934
                }
53424
                iprot.readListEnd();
57935
                iprot.readListEnd();
53425
              }
57936
              }
53426
            } else { 
57937
            } else { 
53427
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57938
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53458... Line 57969...
53458
      oprot.writeStructBegin(STRUCT_DESC);
57969
      oprot.writeStructBegin(STRUCT_DESC);
53459
      if (this.searchTerms != null) {
57970
      if (this.searchTerms != null) {
53460
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
57971
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
53461
        {
57972
        {
53462
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
57973
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
53463
          for (String _iter146 : this.searchTerms)
57974
          for (String _iter171 : this.searchTerms)
53464
          {
57975
          {
53465
            oprot.writeString(_iter146);
57976
            oprot.writeString(_iter171);
53466
          }
57977
          }
53467
          oprot.writeListEnd();
57978
          oprot.writeListEnd();
53468
        }
57979
        }
53469
        oprot.writeFieldEnd();
57980
        oprot.writeFieldEnd();
53470
      }
57981
      }
Line 53772... Line 58283...
53772
        }
58283
        }
53773
        switch (field.id) {
58284
        switch (field.id) {
53774
          case 0: // SUCCESS
58285
          case 0: // SUCCESS
53775
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58286
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53776
              {
58287
              {
53777
                org.apache.thrift.protocol.TList _list147 = iprot.readListBegin();
58288
                org.apache.thrift.protocol.TList _list172 = iprot.readListBegin();
53778
                this.success = new ArrayList<Item>(_list147.size);
58289
                this.success = new ArrayList<Item>(_list172.size);
53779
                for (int _i148 = 0; _i148 < _list147.size; ++_i148)
58290
                for (int _i173 = 0; _i173 < _list172.size; ++_i173)
53780
                {
58291
                {
53781
                  Item _elem149; // required
58292
                  Item _elem174; // required
53782
                  _elem149 = new Item();
58293
                  _elem174 = new Item();
53783
                  _elem149.read(iprot);
58294
                  _elem174.read(iprot);
53784
                  this.success.add(_elem149);
58295
                  this.success.add(_elem174);
53785
                }
58296
                }
53786
                iprot.readListEnd();
58297
                iprot.readListEnd();
53787
              }
58298
              }
53788
            } else { 
58299
            } else { 
53789
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58300
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53803... Line 58314...
53803
 
58314
 
53804
      if (this.isSetSuccess()) {
58315
      if (this.isSetSuccess()) {
53805
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58316
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53806
        {
58317
        {
53807
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58318
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53808
          for (Item _iter150 : this.success)
58319
          for (Item _iter175 : this.success)
53809
          {
58320
          {
53810
            _iter150.write(oprot);
58321
            _iter175.write(oprot);
53811
          }
58322
          }
53812
          oprot.writeListEnd();
58323
          oprot.writeListEnd();
53813
        }
58324
        }
53814
        oprot.writeFieldEnd();
58325
        oprot.writeFieldEnd();
53815
      }
58326
      }
Line 54103... Line 58614...
54103
        }
58614
        }
54104
        switch (field.id) {
58615
        switch (field.id) {
54105
          case 1: // SEARCH_TERMS
58616
          case 1: // SEARCH_TERMS
54106
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58617
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54107
              {
58618
              {
54108
                org.apache.thrift.protocol.TList _list151 = iprot.readListBegin();
58619
                org.apache.thrift.protocol.TList _list176 = iprot.readListBegin();
54109
                this.searchTerms = new ArrayList<String>(_list151.size);
58620
                this.searchTerms = new ArrayList<String>(_list176.size);
54110
                for (int _i152 = 0; _i152 < _list151.size; ++_i152)
58621
                for (int _i177 = 0; _i177 < _list176.size; ++_i177)
54111
                {
58622
                {
54112
                  String _elem153; // required
58623
                  String _elem178; // required
54113
                  _elem153 = iprot.readString();
58624
                  _elem178 = iprot.readString();
54114
                  this.searchTerms.add(_elem153);
58625
                  this.searchTerms.add(_elem178);
54115
                }
58626
                }
54116
                iprot.readListEnd();
58627
                iprot.readListEnd();
54117
              }
58628
              }
54118
            } else { 
58629
            } else { 
54119
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
58630
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54134... Line 58645...
54134
      oprot.writeStructBegin(STRUCT_DESC);
58645
      oprot.writeStructBegin(STRUCT_DESC);
54135
      if (this.searchTerms != null) {
58646
      if (this.searchTerms != null) {
54136
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
58647
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
54137
        {
58648
        {
54138
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
58649
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
54139
          for (String _iter154 : this.searchTerms)
58650
          for (String _iter179 : this.searchTerms)
54140
          {
58651
          {
54141
            oprot.writeString(_iter154);
58652
            oprot.writeString(_iter179);
54142
          }
58653
          }
54143
          oprot.writeListEnd();
58654
          oprot.writeListEnd();
54144
        }
58655
        }
54145
        oprot.writeFieldEnd();
58656
        oprot.writeFieldEnd();
54146
      }
58657
      }
Line 55021... Line 59532...
55021
        }
59532
        }
55022
        switch (field.id) {
59533
        switch (field.id) {
55023
          case 0: // SUCCESS
59534
          case 0: // SUCCESS
55024
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59535
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55025
              {
59536
              {
55026
                org.apache.thrift.protocol.TList _list155 = iprot.readListBegin();
59537
                org.apache.thrift.protocol.TList _list180 = iprot.readListBegin();
55027
                this.success = new ArrayList<ProductNotificationRequest>(_list155.size);
59538
                this.success = new ArrayList<ProductNotificationRequest>(_list180.size);
55028
                for (int _i156 = 0; _i156 < _list155.size; ++_i156)
59539
                for (int _i181 = 0; _i181 < _list180.size; ++_i181)
55029
                {
59540
                {
55030
                  ProductNotificationRequest _elem157; // required
59541
                  ProductNotificationRequest _elem182; // required
55031
                  _elem157 = new ProductNotificationRequest();
59542
                  _elem182 = new ProductNotificationRequest();
55032
                  _elem157.read(iprot);
59543
                  _elem182.read(iprot);
55033
                  this.success.add(_elem157);
59544
                  this.success.add(_elem182);
55034
                }
59545
                }
55035
                iprot.readListEnd();
59546
                iprot.readListEnd();
55036
              }
59547
              }
55037
            } else { 
59548
            } else { 
55038
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59549
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55052... Line 59563...
55052
 
59563
 
55053
      if (this.isSetSuccess()) {
59564
      if (this.isSetSuccess()) {
55054
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59565
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55055
        {
59566
        {
55056
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59567
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55057
          for (ProductNotificationRequest _iter158 : this.success)
59568
          for (ProductNotificationRequest _iter183 : this.success)
55058
          {
59569
          {
55059
            _iter158.write(oprot);
59570
            _iter183.write(oprot);
55060
          }
59571
          }
55061
          oprot.writeListEnd();
59572
          oprot.writeListEnd();
55062
        }
59573
        }
55063
        oprot.writeFieldEnd();
59574
        oprot.writeFieldEnd();
55064
      }
59575
      }
Line 55729... Line 60240...
55729
        }
60240
        }
55730
        switch (field.id) {
60241
        switch (field.id) {
55731
          case 0: // SUCCESS
60242
          case 0: // SUCCESS
55732
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60243
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
55733
              {
60244
              {
55734
                org.apache.thrift.protocol.TList _list159 = iprot.readListBegin();
60245
                org.apache.thrift.protocol.TList _list184 = iprot.readListBegin();
55735
                this.success = new ArrayList<ProductNotificationRequestCount>(_list159.size);
60246
                this.success = new ArrayList<ProductNotificationRequestCount>(_list184.size);
55736
                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
60247
                for (int _i185 = 0; _i185 < _list184.size; ++_i185)
55737
                {
60248
                {
55738
                  ProductNotificationRequestCount _elem161; // required
60249
                  ProductNotificationRequestCount _elem186; // required
55739
                  _elem161 = new ProductNotificationRequestCount();
60250
                  _elem186 = new ProductNotificationRequestCount();
55740
                  _elem161.read(iprot);
60251
                  _elem186.read(iprot);
55741
                  this.success.add(_elem161);
60252
                  this.success.add(_elem186);
55742
                }
60253
                }
55743
                iprot.readListEnd();
60254
                iprot.readListEnd();
55744
              }
60255
              }
55745
            } else { 
60256
            } else { 
55746
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60257
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 55760... Line 60271...
55760
 
60271
 
55761
      if (this.isSetSuccess()) {
60272
      if (this.isSetSuccess()) {
55762
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60273
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
55763
        {
60274
        {
55764
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60275
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
55765
          for (ProductNotificationRequestCount _iter162 : this.success)
60276
          for (ProductNotificationRequestCount _iter187 : this.success)
55766
          {
60277
          {
55767
            _iter162.write(oprot);
60278
            _iter187.write(oprot);
55768
          }
60279
          }
55769
          oprot.writeListEnd();
60280
          oprot.writeListEnd();
55770
        }
60281
        }
55771
        oprot.writeFieldEnd();
60282
        oprot.writeFieldEnd();
55772
      }
60283
      }
Line 59472... Line 63983...
59472
        }
63983
        }
59473
        switch (field.id) {
63984
        switch (field.id) {
59474
          case 0: // SUCCESS
63985
          case 0: // SUCCESS
59475
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
63986
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59476
              {
63987
              {
59477
                org.apache.thrift.protocol.TList _list163 = iprot.readListBegin();
63988
                org.apache.thrift.protocol.TList _list188 = iprot.readListBegin();
59478
                this.success = new ArrayList<VoucherItemMapping>(_list163.size);
63989
                this.success = new ArrayList<VoucherItemMapping>(_list188.size);
59479
                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
63990
                for (int _i189 = 0; _i189 < _list188.size; ++_i189)
59480
                {
63991
                {
59481
                  VoucherItemMapping _elem165; // required
63992
                  VoucherItemMapping _elem190; // required
59482
                  _elem165 = new VoucherItemMapping();
63993
                  _elem190 = new VoucherItemMapping();
59483
                  _elem165.read(iprot);
63994
                  _elem190.read(iprot);
59484
                  this.success.add(_elem165);
63995
                  this.success.add(_elem190);
59485
                }
63996
                }
59486
                iprot.readListEnd();
63997
                iprot.readListEnd();
59487
              }
63998
              }
59488
            } else { 
63999
            } else { 
59489
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
64000
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 59503... Line 64014...
59503
 
64014
 
59504
      if (this.isSetSuccess()) {
64015
      if (this.isSetSuccess()) {
59505
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64016
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59506
        {
64017
        {
59507
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64018
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59508
          for (VoucherItemMapping _iter166 : this.success)
64019
          for (VoucherItemMapping _iter191 : this.success)
59509
          {
64020
          {
59510
            _iter166.write(oprot);
64021
            _iter191.write(oprot);
59511
          }
64022
          }
59512
          oprot.writeListEnd();
64023
          oprot.writeListEnd();
59513
        }
64024
        }
59514
        oprot.writeFieldEnd();
64025
        oprot.writeFieldEnd();
59515
      }
64026
      }
Line 62278... Line 66789...
62278
        }
66789
        }
62279
        switch (field.id) {
66790
        switch (field.id) {
62280
          case 0: // SUCCESS
66791
          case 0: // SUCCESS
62281
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
66792
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62282
              {
66793
              {
62283
                org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
66794
                org.apache.thrift.protocol.TList _list192 = iprot.readListBegin();
62284
                this.success = new ArrayList<Item>(_list167.size);
66795
                this.success = new ArrayList<Item>(_list192.size);
62285
                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
66796
                for (int _i193 = 0; _i193 < _list192.size; ++_i193)
62286
                {
66797
                {
62287
                  Item _elem169; // required
66798
                  Item _elem194; // required
62288
                  _elem169 = new Item();
66799
                  _elem194 = new Item();
62289
                  _elem169.read(iprot);
66800
                  _elem194.read(iprot);
62290
                  this.success.add(_elem169);
66801
                  this.success.add(_elem194);
62291
                }
66802
                }
62292
                iprot.readListEnd();
66803
                iprot.readListEnd();
62293
              }
66804
              }
62294
            } else { 
66805
            } else { 
62295
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
66806
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62309... Line 66820...
62309
 
66820
 
62310
      if (this.isSetSuccess()) {
66821
      if (this.isSetSuccess()) {
62311
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
66822
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62312
        {
66823
        {
62313
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
66824
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62314
          for (Item _iter170 : this.success)
66825
          for (Item _iter195 : this.success)
62315
          {
66826
          {
62316
            _iter170.write(oprot);
66827
            _iter195.write(oprot);
62317
          }
66828
          }
62318
          oprot.writeListEnd();
66829
          oprot.writeListEnd();
62319
        }
66830
        }
62320
        oprot.writeFieldEnd();
66831
        oprot.writeFieldEnd();
62321
      }
66832
      }
Line 62809... Line 67320...
62809
        }
67320
        }
62810
        switch (field.id) {
67321
        switch (field.id) {
62811
          case 0: // SUCCESS
67322
          case 0: // SUCCESS
62812
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
67323
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62813
              {
67324
              {
62814
                org.apache.thrift.protocol.TList _list171 = iprot.readListBegin();
67325
                org.apache.thrift.protocol.TList _list196 = iprot.readListBegin();
62815
                this.success = new ArrayList<Item>(_list171.size);
67326
                this.success = new ArrayList<Item>(_list196.size);
62816
                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
67327
                for (int _i197 = 0; _i197 < _list196.size; ++_i197)
62817
                {
67328
                {
62818
                  Item _elem173; // required
67329
                  Item _elem198; // required
62819
                  _elem173 = new Item();
67330
                  _elem198 = new Item();
62820
                  _elem173.read(iprot);
67331
                  _elem198.read(iprot);
62821
                  this.success.add(_elem173);
67332
                  this.success.add(_elem198);
62822
                }
67333
                }
62823
                iprot.readListEnd();
67334
                iprot.readListEnd();
62824
              }
67335
              }
62825
            } else { 
67336
            } else { 
62826
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67337
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 62840... Line 67351...
62840
 
67351
 
62841
      if (this.isSetSuccess()) {
67352
      if (this.isSetSuccess()) {
62842
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67353
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62843
        {
67354
        {
62844
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67355
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62845
          for (Item _iter174 : this.success)
67356
          for (Item _iter199 : this.success)
62846
          {
67357
          {
62847
            _iter174.write(oprot);
67358
            _iter199.write(oprot);
62848
          }
67359
          }
62849
          oprot.writeListEnd();
67360
          oprot.writeListEnd();
62850
        }
67361
        }
62851
        oprot.writeFieldEnd();
67362
        oprot.writeFieldEnd();
62852
      }
67363
      }
Line 64762... Line 69273...
64762
        }
69273
        }
64763
        switch (field.id) {
69274
        switch (field.id) {
64764
          case 0: // SUCCESS
69275
          case 0: // SUCCESS
64765
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69276
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
64766
              {
69277
              {
64767
                org.apache.thrift.protocol.TList _list175 = iprot.readListBegin();
69278
                org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
64768
                this.success = new ArrayList<Insurer>(_list175.size);
69279
                this.success = new ArrayList<Insurer>(_list200.size);
64769
                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
69280
                for (int _i201 = 0; _i201 < _list200.size; ++_i201)
64770
                {
69281
                {
64771
                  Insurer _elem177; // required
69282
                  Insurer _elem202; // required
64772
                  _elem177 = new Insurer();
69283
                  _elem202 = new Insurer();
64773
                  _elem177.read(iprot);
69284
                  _elem202.read(iprot);
64774
                  this.success.add(_elem177);
69285
                  this.success.add(_elem202);
64775
                }
69286
                }
64776
                iprot.readListEnd();
69287
                iprot.readListEnd();
64777
              }
69288
              }
64778
            } else { 
69289
            } else { 
64779
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
69290
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 64793... Line 69304...
64793
 
69304
 
64794
      if (this.isSetSuccess()) {
69305
      if (this.isSetSuccess()) {
64795
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69306
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
64796
        {
69307
        {
64797
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
69308
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
64798
          for (Insurer _iter178 : this.success)
69309
          for (Insurer _iter203 : this.success)
64799
          {
69310
          {
64800
            _iter178.write(oprot);
69311
            _iter203.write(oprot);
64801
          }
69312
          }
64802
          oprot.writeListEnd();
69313
          oprot.writeListEnd();
64803
        }
69314
        }
64804
        oprot.writeFieldEnd();
69315
        oprot.writeFieldEnd();
64805
      }
69316
      }
Line 67449... Line 71960...
67449
        }
71960
        }
67450
        switch (field.id) {
71961
        switch (field.id) {
67451
          case 0: // SUCCESS
71962
          case 0: // SUCCESS
67452
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
71963
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
67453
              {
71964
              {
67454
                org.apache.thrift.protocol.TMap _map179 = iprot.readMapBegin();
71965
                org.apache.thrift.protocol.TMap _map204 = iprot.readMapBegin();
67455
                this.success = new HashMap<String,BrandInfo>(2*_map179.size);
71966
                this.success = new HashMap<String,BrandInfo>(2*_map204.size);
67456
                for (int _i180 = 0; _i180 < _map179.size; ++_i180)
71967
                for (int _i205 = 0; _i205 < _map204.size; ++_i205)
67457
                {
71968
                {
67458
                  String _key181; // required
71969
                  String _key206; // required
67459
                  BrandInfo _val182; // required
71970
                  BrandInfo _val207; // required
67460
                  _key181 = iprot.readString();
71971
                  _key206 = iprot.readString();
67461
                  _val182 = new BrandInfo();
71972
                  _val207 = new BrandInfo();
67462
                  _val182.read(iprot);
71973
                  _val207.read(iprot);
67463
                  this.success.put(_key181, _val182);
71974
                  this.success.put(_key206, _val207);
67464
                }
71975
                }
67465
                iprot.readMapEnd();
71976
                iprot.readMapEnd();
67466
              }
71977
              }
67467
            } else { 
71978
            } else { 
67468
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
71979
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 67482... Line 71993...
67482
 
71993
 
67483
      if (this.isSetSuccess()) {
71994
      if (this.isSetSuccess()) {
67484
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71995
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
67485
        {
71996
        {
67486
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71997
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
67487
          for (Map.Entry<String, BrandInfo> _iter183 : this.success.entrySet())
71998
          for (Map.Entry<String, BrandInfo> _iter208 : this.success.entrySet())
67488
          {
71999
          {
67489
            oprot.writeString(_iter183.getKey());
72000
            oprot.writeString(_iter208.getKey());
67490
            _iter183.getValue().write(oprot);
72001
            _iter208.getValue().write(oprot);
67491
          }
72002
          }
67492
          oprot.writeMapEnd();
72003
          oprot.writeMapEnd();
67493
        }
72004
        }
67494
        oprot.writeFieldEnd();
72005
        oprot.writeFieldEnd();
67495
      }
72006
      }
Line 68371... Line 72882...
68371
        }
72882
        }
68372
        switch (field.id) {
72883
        switch (field.id) {
68373
          case 1: // ITEM_IDS
72884
          case 1: // ITEM_IDS
68374
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72885
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68375
              {
72886
              {
68376
                org.apache.thrift.protocol.TList _list184 = iprot.readListBegin();
72887
                org.apache.thrift.protocol.TList _list209 = iprot.readListBegin();
68377
                this.itemIds = new ArrayList<Long>(_list184.size);
72888
                this.itemIds = new ArrayList<Long>(_list209.size);
68378
                for (int _i185 = 0; _i185 < _list184.size; ++_i185)
72889
                for (int _i210 = 0; _i210 < _list209.size; ++_i210)
68379
                {
72890
                {
68380
                  long _elem186; // required
72891
                  long _elem211; // required
68381
                  _elem186 = iprot.readI64();
72892
                  _elem211 = iprot.readI64();
68382
                  this.itemIds.add(_elem186);
72893
                  this.itemIds.add(_elem211);
68383
                }
72894
                }
68384
                iprot.readListEnd();
72895
                iprot.readListEnd();
68385
              }
72896
              }
68386
            } else { 
72897
            } else { 
68387
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
72898
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68402... Line 72913...
68402
      oprot.writeStructBegin(STRUCT_DESC);
72913
      oprot.writeStructBegin(STRUCT_DESC);
68403
      if (this.itemIds != null) {
72914
      if (this.itemIds != null) {
68404
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
72915
        oprot.writeFieldBegin(ITEM_IDS_FIELD_DESC);
68405
        {
72916
        {
68406
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
72917
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.itemIds.size()));
68407
          for (long _iter187 : this.itemIds)
72918
          for (long _iter212 : this.itemIds)
68408
          {
72919
          {
68409
            oprot.writeI64(_iter187);
72920
            oprot.writeI64(_iter212);
68410
          }
72921
          }
68411
          oprot.writeListEnd();
72922
          oprot.writeListEnd();
68412
        }
72923
        }
68413
        oprot.writeFieldEnd();
72924
        oprot.writeFieldEnd();
68414
      }
72925
      }
Line 68702... Line 73213...
68702
        }
73213
        }
68703
        switch (field.id) {
73214
        switch (field.id) {
68704
          case 0: // SUCCESS
73215
          case 0: // SUCCESS
68705
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
73216
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
68706
              {
73217
              {
68707
                org.apache.thrift.protocol.TList _list188 = iprot.readListBegin();
73218
                org.apache.thrift.protocol.TList _list213 = iprot.readListBegin();
68708
                this.success = new ArrayList<StorePricing>(_list188.size);
73219
                this.success = new ArrayList<StorePricing>(_list213.size);
68709
                for (int _i189 = 0; _i189 < _list188.size; ++_i189)
73220
                for (int _i214 = 0; _i214 < _list213.size; ++_i214)
68710
                {
73221
                {
68711
                  StorePricing _elem190; // required
73222
                  StorePricing _elem215; // required
68712
                  _elem190 = new StorePricing();
73223
                  _elem215 = new StorePricing();
68713
                  _elem190.read(iprot);
73224
                  _elem215.read(iprot);
68714
                  this.success.add(_elem190);
73225
                  this.success.add(_elem215);
68715
                }
73226
                }
68716
                iprot.readListEnd();
73227
                iprot.readListEnd();
68717
              }
73228
              }
68718
            } else { 
73229
            } else { 
68719
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
73230
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 68733... Line 73244...
68733
 
73244
 
68734
      if (this.isSetSuccess()) {
73245
      if (this.isSetSuccess()) {
68735
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73246
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
68736
        {
73247
        {
68737
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73248
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
68738
          for (StorePricing _iter191 : this.success)
73249
          for (StorePricing _iter216 : this.success)
68739
          {
73250
          {
68740
            _iter191.write(oprot);
73251
            _iter216.write(oprot);
68741
          }
73252
          }
68742
          oprot.writeListEnd();
73253
          oprot.writeListEnd();
68743
        }
73254
        }
68744
        oprot.writeFieldEnd();
73255
        oprot.writeFieldEnd();
68745
      }
73256
      }
Line 69815... Line 74326...
69815
        }
74326
        }
69816
        switch (field.id) {
74327
        switch (field.id) {
69817
          case 0: // SUCCESS
74328
          case 0: // SUCCESS
69818
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
74329
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
69819
              {
74330
              {
69820
                org.apache.thrift.protocol.TList _list192 = iprot.readListBegin();
74331
                org.apache.thrift.protocol.TList _list217 = iprot.readListBegin();
69821
                this.success = new ArrayList<Amazonlisted>(_list192.size);
74332
                this.success = new ArrayList<Amazonlisted>(_list217.size);
69822
                for (int _i193 = 0; _i193 < _list192.size; ++_i193)
74333
                for (int _i218 = 0; _i218 < _list217.size; ++_i218)
69823
                {
74334
                {
69824
                  Amazonlisted _elem194; // required
74335
                  Amazonlisted _elem219; // required
69825
                  _elem194 = new Amazonlisted();
74336
                  _elem219 = new Amazonlisted();
69826
                  _elem194.read(iprot);
74337
                  _elem219.read(iprot);
69827
                  this.success.add(_elem194);
74338
                  this.success.add(_elem219);
69828
                }
74339
                }
69829
                iprot.readListEnd();
74340
                iprot.readListEnd();
69830
              }
74341
              }
69831
            } else { 
74342
            } else { 
69832
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
74343
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 69846... Line 74357...
69846
 
74357
 
69847
      if (this.isSetSuccess()) {
74358
      if (this.isSetSuccess()) {
69848
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
74359
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
69849
        {
74360
        {
69850
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
74361
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
69851
          for (Amazonlisted _iter195 : this.success)
74362
          for (Amazonlisted _iter220 : this.success)
69852
          {
74363
          {
69853
            _iter195.write(oprot);
74364
            _iter220.write(oprot);
69854
          }
74365
          }
69855
          oprot.writeListEnd();
74366
          oprot.writeListEnd();
69856
        }
74367
        }
69857
        oprot.writeFieldEnd();
74368
        oprot.writeFieldEnd();
69858
      }
74369
      }
Line 71922... Line 76433...
71922
        }
76433
        }
71923
        switch (field.id) {
76434
        switch (field.id) {
71924
          case 0: // SUCCESS
76435
          case 0: // SUCCESS
71925
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76436
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
71926
              {
76437
              {
71927
                org.apache.thrift.protocol.TList _list196 = iprot.readListBegin();
76438
                org.apache.thrift.protocol.TList _list221 = iprot.readListBegin();
71928
                this.success = new ArrayList<Item>(_list196.size);
76439
                this.success = new ArrayList<Item>(_list221.size);
71929
                for (int _i197 = 0; _i197 < _list196.size; ++_i197)
76440
                for (int _i222 = 0; _i222 < _list221.size; ++_i222)
71930
                {
76441
                {
71931
                  Item _elem198; // required
76442
                  Item _elem223; // required
71932
                  _elem198 = new Item();
76443
                  _elem223 = new Item();
71933
                  _elem198.read(iprot);
76444
                  _elem223.read(iprot);
71934
                  this.success.add(_elem198);
76445
                  this.success.add(_elem223);
71935
                }
76446
                }
71936
                iprot.readListEnd();
76447
                iprot.readListEnd();
71937
              }
76448
              }
71938
            } else { 
76449
            } else { 
71939
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
76450
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 71953... Line 76464...
71953
 
76464
 
71954
      if (this.isSetSuccess()) {
76465
      if (this.isSetSuccess()) {
71955
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76466
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
71956
        {
76467
        {
71957
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
76468
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
71958
          for (Item _iter199 : this.success)
76469
          for (Item _iter224 : this.success)
71959
          {
76470
          {
71960
            _iter199.write(oprot);
76471
            _iter224.write(oprot);
71961
          }
76472
          }
71962
          oprot.writeListEnd();
76473
          oprot.writeListEnd();
71963
        }
76474
        }
71964
        oprot.writeFieldEnd();
76475
        oprot.writeFieldEnd();
71965
      }
76476
      }
Line 72453... Line 76964...
72453
        }
76964
        }
72454
        switch (field.id) {
76965
        switch (field.id) {
72455
          case 0: // SUCCESS
76966
          case 0: // SUCCESS
72456
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
76967
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72457
              {
76968
              {
72458
                org.apache.thrift.protocol.TList _list200 = iprot.readListBegin();
76969
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
72459
                this.success = new ArrayList<Amazonlisted>(_list200.size);
76970
                this.success = new ArrayList<Amazonlisted>(_list225.size);
72460
                for (int _i201 = 0; _i201 < _list200.size; ++_i201)
76971
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
72461
                {
76972
                {
72462
                  Amazonlisted _elem202; // required
76973
                  Amazonlisted _elem227; // required
72463
                  _elem202 = new Amazonlisted();
76974
                  _elem227 = new Amazonlisted();
72464
                  _elem202.read(iprot);
76975
                  _elem227.read(iprot);
72465
                  this.success.add(_elem202);
76976
                  this.success.add(_elem227);
72466
                }
76977
                }
72467
                iprot.readListEnd();
76978
                iprot.readListEnd();
72468
              }
76979
              }
72469
            } else { 
76980
            } else { 
72470
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
76981
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 72484... Line 76995...
72484
 
76995
 
72485
      if (this.isSetSuccess()) {
76996
      if (this.isSetSuccess()) {
72486
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
76997
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
72487
        {
76998
        {
72488
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
76999
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
72489
          for (Amazonlisted _iter203 : this.success)
77000
          for (Amazonlisted _iter228 : this.success)
72490
          {
77001
          {
72491
            _iter203.write(oprot);
77002
            _iter228.write(oprot);
72492
          }
77003
          }
72493
          oprot.writeListEnd();
77004
          oprot.writeListEnd();
72494
        }
77005
        }
72495
        oprot.writeFieldEnd();
77006
        oprot.writeFieldEnd();
72496
      }
77007
      }
Line 72984... Line 77495...
72984
        }
77495
        }
72985
        switch (field.id) {
77496
        switch (field.id) {
72986
          case 0: // SUCCESS
77497
          case 0: // SUCCESS
72987
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
77498
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
72988
              {
77499
              {
72989
                org.apache.thrift.protocol.TList _list204 = iprot.readListBegin();
77500
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
72990
                this.success = new ArrayList<Amazonlisted>(_list204.size);
77501
                this.success = new ArrayList<Amazonlisted>(_list229.size);
72991
                for (int _i205 = 0; _i205 < _list204.size; ++_i205)
77502
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
72992
                {
77503
                {
72993
                  Amazonlisted _elem206; // required
77504
                  Amazonlisted _elem231; // required
72994
                  _elem206 = new Amazonlisted();
77505
                  _elem231 = new Amazonlisted();
72995
                  _elem206.read(iprot);
77506
                  _elem231.read(iprot);
72996
                  this.success.add(_elem206);
77507
                  this.success.add(_elem231);
72997
                }
77508
                }
72998
                iprot.readListEnd();
77509
                iprot.readListEnd();
72999
              }
77510
              }
73000
            } else { 
77511
            } else { 
73001
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
77512
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 73015... Line 77526...
73015
 
77526
 
73016
      if (this.isSetSuccess()) {
77527
      if (this.isSetSuccess()) {
73017
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
77528
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
73018
        {
77529
        {
73019
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
77530
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
73020
          for (Amazonlisted _iter207 : this.success)
77531
          for (Amazonlisted _iter232 : this.success)
73021
          {
77532
          {
73022
            _iter207.write(oprot);
77533
            _iter232.write(oprot);
73023
          }
77534
          }
73024
          oprot.writeListEnd();
77535
          oprot.writeListEnd();
73025
        }
77536
        }
73026
        oprot.writeFieldEnd();
77537
        oprot.writeFieldEnd();
73027
      }
77538
      }
Line 74214... Line 78725...
74214
            }
78725
            }
74215
            break;
78726
            break;
74216
          case 2: // SKU
78727
          case 2: // SKU
74217
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78728
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
74218
              {
78729
              {
74219
                org.apache.thrift.protocol.TList _list208 = iprot.readListBegin();
78730
                org.apache.thrift.protocol.TList _list233 = iprot.readListBegin();
74220
                this.sku = new ArrayList<Long>(_list208.size);
78731
                this.sku = new ArrayList<Long>(_list233.size);
74221
                for (int _i209 = 0; _i209 < _list208.size; ++_i209)
78732
                for (int _i234 = 0; _i234 < _list233.size; ++_i234)
74222
                {
78733
                {
74223
                  long _elem210; // required
78734
                  long _elem235; // required
74224
                  _elem210 = iprot.readI64();
78735
                  _elem235 = iprot.readI64();
74225
                  this.sku.add(_elem210);
78736
                  this.sku.add(_elem235);
74226
                }
78737
                }
74227
                iprot.readListEnd();
78738
                iprot.readListEnd();
74228
              }
78739
              }
74229
            } else { 
78740
            } else { 
74230
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
78741
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 74258... Line 78769...
74258
      }
78769
      }
74259
      if (this.sku != null) {
78770
      if (this.sku != null) {
74260
        oprot.writeFieldBegin(SKU_FIELD_DESC);
78771
        oprot.writeFieldBegin(SKU_FIELD_DESC);
74261
        {
78772
        {
74262
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.sku.size()));
78773
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.sku.size()));
74263
          for (long _iter211 : this.sku)
78774
          for (long _iter236 : this.sku)
74264
          {
78775
          {
74265
            oprot.writeI64(_iter211);
78776
            oprot.writeI64(_iter236);
74266
          }
78777
          }
74267
          oprot.writeListEnd();
78778
          oprot.writeListEnd();
74268
        }
78779
        }
74269
        oprot.writeFieldEnd();
78780
        oprot.writeFieldEnd();
74270
      }
78781
      }
Line 75068... Line 79579...
75068
        }
79579
        }
75069
        switch (field.id) {
79580
        switch (field.id) {
75070
          case 0: // SUCCESS
79581
          case 0: // SUCCESS
75071
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79582
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
75072
              {
79583
              {
75073
                org.apache.thrift.protocol.TList _list212 = iprot.readListBegin();
79584
                org.apache.thrift.protocol.TList _list237 = iprot.readListBegin();
75074
                this.success = new ArrayList<Category>(_list212.size);
79585
                this.success = new ArrayList<Category>(_list237.size);
75075
                for (int _i213 = 0; _i213 < _list212.size; ++_i213)
79586
                for (int _i238 = 0; _i238 < _list237.size; ++_i238)
75076
                {
79587
                {
75077
                  Category _elem214; // required
79588
                  Category _elem239; // required
75078
                  _elem214 = new Category();
79589
                  _elem239 = new Category();
75079
                  _elem214.read(iprot);
79590
                  _elem239.read(iprot);
75080
                  this.success.add(_elem214);
79591
                  this.success.add(_elem239);
75081
                }
79592
                }
75082
                iprot.readListEnd();
79593
                iprot.readListEnd();
75083
              }
79594
              }
75084
            } else { 
79595
            } else { 
75085
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
79596
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 75099... Line 79610...
75099
 
79610
 
75100
      if (this.isSetSuccess()) {
79611
      if (this.isSetSuccess()) {
75101
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79612
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
75102
        {
79613
        {
75103
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79614
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
75104
          for (Category _iter215 : this.success)
79615
          for (Category _iter240 : this.success)
75105
          {
79616
          {
75106
            _iter215.write(oprot);
79617
            _iter240.write(oprot);
75107
          }
79618
          }
75108
          oprot.writeListEnd();
79619
          oprot.writeListEnd();
75109
        }
79620
        }
75110
        oprot.writeFieldEnd();
79621
        oprot.writeFieldEnd();
75111
      }
79622
      }
Line 78340... Line 82851...
78340
        }
82851
        }
78341
        switch (field.id) {
82852
        switch (field.id) {
78342
          case 0: // SUCCESS
82853
          case 0: // SUCCESS
78343
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
82854
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
78344
              {
82855
              {
78345
                org.apache.thrift.protocol.TList _list216 = iprot.readListBegin();
82856
                org.apache.thrift.protocol.TList _list241 = iprot.readListBegin();
78346
                this.success = new ArrayList<Amazonlisted>(_list216.size);
82857
                this.success = new ArrayList<Amazonlisted>(_list241.size);
78347
                for (int _i217 = 0; _i217 < _list216.size; ++_i217)
82858
                for (int _i242 = 0; _i242 < _list241.size; ++_i242)
78348
                {
82859
                {
78349
                  Amazonlisted _elem218; // required
82860
                  Amazonlisted _elem243; // required
78350
                  _elem218 = new Amazonlisted();
82861
                  _elem243 = new Amazonlisted();
78351
                  _elem218.read(iprot);
82862
                  _elem243.read(iprot);
78352
                  this.success.add(_elem218);
82863
                  this.success.add(_elem243);
78353
                }
82864
                }
78354
                iprot.readListEnd();
82865
                iprot.readListEnd();
78355
              }
82866
              }
78356
            } else { 
82867
            } else { 
78357
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
82868
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78371... Line 82882...
78371
 
82882
 
78372
      if (this.isSetSuccess()) {
82883
      if (this.isSetSuccess()) {
78373
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
82884
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
78374
        {
82885
        {
78375
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
82886
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
78376
          for (Amazonlisted _iter219 : this.success)
82887
          for (Amazonlisted _iter244 : this.success)
78377
          {
82888
          {
78378
            _iter219.write(oprot);
82889
            _iter244.write(oprot);
78379
          }
82890
          }
78380
          oprot.writeListEnd();
82891
          oprot.writeListEnd();
78381
        }
82892
        }
78382
        oprot.writeFieldEnd();
82893
        oprot.writeFieldEnd();
78383
      }
82894
      }
Line 78676... Line 83187...
78676
        }
83187
        }
78677
        switch (field.id) {
83188
        switch (field.id) {
78678
          case 1: // AMAZONLISTED
83189
          case 1: // AMAZONLISTED
78679
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
83190
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
78680
              {
83191
              {
78681
                org.apache.thrift.protocol.TMap _map220 = iprot.readMapBegin();
83192
                org.apache.thrift.protocol.TMap _map245 = iprot.readMapBegin();
78682
                this.amazonlisted = new HashMap<Long,Amazonlisted>(2*_map220.size);
83193
                this.amazonlisted = new HashMap<Long,Amazonlisted>(2*_map245.size);
78683
                for (int _i221 = 0; _i221 < _map220.size; ++_i221)
83194
                for (int _i246 = 0; _i246 < _map245.size; ++_i246)
78684
                {
83195
                {
78685
                  long _key222; // required
83196
                  long _key247; // required
78686
                  Amazonlisted _val223; // required
83197
                  Amazonlisted _val248; // required
78687
                  _key222 = iprot.readI64();
83198
                  _key247 = iprot.readI64();
78688
                  _val223 = new Amazonlisted();
83199
                  _val248 = new Amazonlisted();
78689
                  _val223.read(iprot);
83200
                  _val248.read(iprot);
78690
                  this.amazonlisted.put(_key222, _val223);
83201
                  this.amazonlisted.put(_key247, _val248);
78691
                }
83202
                }
78692
                iprot.readMapEnd();
83203
                iprot.readMapEnd();
78693
              }
83204
              }
78694
            } else { 
83205
            } else { 
78695
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
83206
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 78710... Line 83221...
78710
      oprot.writeStructBegin(STRUCT_DESC);
83221
      oprot.writeStructBegin(STRUCT_DESC);
78711
      if (this.amazonlisted != null) {
83222
      if (this.amazonlisted != null) {
78712
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
83223
        oprot.writeFieldBegin(AMAZONLISTED_FIELD_DESC);
78713
        {
83224
        {
78714
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.amazonlisted.size()));
83225
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, this.amazonlisted.size()));
78715
          for (Map.Entry<Long, Amazonlisted> _iter224 : this.amazonlisted.entrySet())
83226
          for (Map.Entry<Long, Amazonlisted> _iter249 : this.amazonlisted.entrySet())
78716
          {
83227
          {
78717
            oprot.writeI64(_iter224.getKey());
83228
            oprot.writeI64(_iter249.getKey());
78718
            _iter224.getValue().write(oprot);
83229
            _iter249.getValue().write(oprot);
78719
          }
83230
          }
78720
          oprot.writeMapEnd();
83231
          oprot.writeMapEnd();
78721
        }
83232
        }
78722
        oprot.writeFieldEnd();
83233
        oprot.writeFieldEnd();
78723
      }
83234
      }
Line 79504... Line 84015...
79504
        }
84015
        }
79505
        switch (field.id) {
84016
        switch (field.id) {
79506
          case 0: // SUCCESS
84017
          case 0: // SUCCESS
79507
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84018
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
79508
              {
84019
              {
79509
                org.apache.thrift.protocol.TList _list225 = iprot.readListBegin();
84020
                org.apache.thrift.protocol.TList _list250 = iprot.readListBegin();
79510
                this.success = new ArrayList<Amazonlisted>(_list225.size);
84021
                this.success = new ArrayList<Amazonlisted>(_list250.size);
79511
                for (int _i226 = 0; _i226 < _list225.size; ++_i226)
84022
                for (int _i251 = 0; _i251 < _list250.size; ++_i251)
79512
                {
84023
                {
79513
                  Amazonlisted _elem227; // required
84024
                  Amazonlisted _elem252; // required
79514
                  _elem227 = new Amazonlisted();
84025
                  _elem252 = new Amazonlisted();
79515
                  _elem227.read(iprot);
84026
                  _elem252.read(iprot);
79516
                  this.success.add(_elem227);
84027
                  this.success.add(_elem252);
79517
                }
84028
                }
79518
                iprot.readListEnd();
84029
                iprot.readListEnd();
79519
              }
84030
              }
79520
            } else { 
84031
            } else { 
79521
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84032
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 79535... Line 84046...
79535
 
84046
 
79536
      if (this.isSetSuccess()) {
84047
      if (this.isSetSuccess()) {
79537
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84048
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
79538
        {
84049
        {
79539
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84050
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
79540
          for (Amazonlisted _iter228 : this.success)
84051
          for (Amazonlisted _iter253 : this.success)
79541
          {
84052
          {
79542
            _iter228.write(oprot);
84053
            _iter253.write(oprot);
79543
          }
84054
          }
79544
          oprot.writeListEnd();
84055
          oprot.writeListEnd();
79545
        }
84056
        }
79546
        oprot.writeFieldEnd();
84057
        oprot.writeFieldEnd();
79547
      }
84058
      }
Line 80035... Line 84546...
80035
        }
84546
        }
80036
        switch (field.id) {
84547
        switch (field.id) {
80037
          case 0: // SUCCESS
84548
          case 0: // SUCCESS
80038
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
84549
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
80039
              {
84550
              {
80040
                org.apache.thrift.protocol.TList _list229 = iprot.readListBegin();
84551
                org.apache.thrift.protocol.TList _list254 = iprot.readListBegin();
80041
                this.success = new ArrayList<Amazonlisted>(_list229.size);
84552
                this.success = new ArrayList<Amazonlisted>(_list254.size);
80042
                for (int _i230 = 0; _i230 < _list229.size; ++_i230)
84553
                for (int _i255 = 0; _i255 < _list254.size; ++_i255)
80043
                {
84554
                {
80044
                  Amazonlisted _elem231; // required
84555
                  Amazonlisted _elem256; // required
80045
                  _elem231 = new Amazonlisted();
84556
                  _elem256 = new Amazonlisted();
80046
                  _elem231.read(iprot);
84557
                  _elem256.read(iprot);
80047
                  this.success.add(_elem231);
84558
                  this.success.add(_elem256);
80048
                }
84559
                }
80049
                iprot.readListEnd();
84560
                iprot.readListEnd();
80050
              }
84561
              }
80051
            } else { 
84562
            } else { 
80052
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
84563
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 80066... Line 84577...
80066
 
84577
 
80067
      if (this.isSetSuccess()) {
84578
      if (this.isSetSuccess()) {
80068
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
84579
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
80069
        {
84580
        {
80070
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
84581
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
80071
          for (Amazonlisted _iter232 : this.success)
84582
          for (Amazonlisted _iter257 : this.success)
80072
          {
84583
          {
80073
            _iter232.write(oprot);
84584
            _iter257.write(oprot);
80074
          }
84585
          }
80075
          oprot.writeListEnd();
84586
          oprot.writeListEnd();
80076
        }
84587
        }
80077
        oprot.writeFieldEnd();
84588
        oprot.writeFieldEnd();
80078
      }
84589
      }