Subversion Repositories SmartDukaan

Rev

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

Rev 6849 Rev 6850
Line 171... Line 171...
171
 
171
 
172
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
172
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
173
 
173
 
174
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException;
174
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException;
175
 
175
 
-
 
176
    public boolean addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap) throws org.apache.thrift.TException;
-
 
177
 
-
 
178
    public List<String> getAllBanners() throws org.apache.thrift.TException;
-
 
179
 
-
 
180
    public boolean deleteBanner(String bannerName) throws org.apache.thrift.TException;
-
 
181
 
-
 
182
    public Banner getBannerDetails(String bannerName) throws org.apache.thrift.TException;
-
 
183
 
-
 
184
    public List<Banner> getActiveBanners() throws org.apache.thrift.TException;
-
 
185
 
176
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException;
186
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException;
177
 
187
 
178
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException;
188
    public boolean deleteBannerMap(String bannerName) throws org.apache.thrift.TException;
179
 
189
 
180
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException;
190
    public List<BannerMap> getBannerMapDetails(String bannerName) throws org.apache.thrift.TException;
Line 451... Line 461...
451
 
461
 
452
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
462
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
453
 
463
 
454
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException;
464
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException;
455
 
465
 
-
 
466
    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;
-
 
467
 
-
 
468
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllBanners_call> resultHandler) throws org.apache.thrift.TException;
-
 
469
 
-
 
470
    public void deleteBanner(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBanner_call> resultHandler) throws org.apache.thrift.TException;
-
 
471
 
-
 
472
    public void getBannerDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerDetails_call> resultHandler) throws org.apache.thrift.TException;
-
 
473
 
-
 
474
    public void getActiveBanners(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getActiveBanners_call> resultHandler) throws org.apache.thrift.TException;
-
 
475
 
456
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerMap_call> resultHandler) throws org.apache.thrift.TException;
476
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addBannerMap_call> resultHandler) throws org.apache.thrift.TException;
457
 
477
 
458
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException;
478
    public void deleteBannerMap(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteBannerMap_call> resultHandler) throws org.apache.thrift.TException;
459
 
479
 
460
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException;
480
    public void getBannerMapDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBannerMapDetails_call> resultHandler) throws org.apache.thrift.TException;
Line 1557... Line 1577...
1557
        return result.success;
1577
        return result.success;
1558
      }
1578
      }
1559
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
1579
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
1560
    }
1580
    }
1561
 
1581
 
-
 
1582
    public boolean addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap) throws org.apache.thrift.TException
-
 
1583
    {
-
 
1584
      send_addBanner(bannerName, imageName, link, priority, isActive, hasMap);
-
 
1585
      return recv_addBanner();
-
 
1586
    }
-
 
1587
 
-
 
1588
    public void send_addBanner(String bannerName, String imageName, String link, long priority, boolean isActive, boolean hasMap) throws org.apache.thrift.TException
-
 
1589
    {
-
 
1590
      addBanner_args args = new addBanner_args();
-
 
1591
      args.setBannerName(bannerName);
-
 
1592
      args.setImageName(imageName);
-
 
1593
      args.setLink(link);
-
 
1594
      args.setPriority(priority);
-
 
1595
      args.setIsActive(isActive);
-
 
1596
      args.setHasMap(hasMap);
-
 
1597
      sendBase("addBanner", args);
-
 
1598
    }
-
 
1599
 
-
 
1600
    public boolean recv_addBanner() throws org.apache.thrift.TException
-
 
1601
    {
-
 
1602
      addBanner_result result = new addBanner_result();
-
 
1603
      receiveBase(result, "addBanner");
-
 
1604
      if (result.isSetSuccess()) {
-
 
1605
        return result.success;
-
 
1606
      }
-
 
1607
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
-
 
1608
    }
-
 
1609
 
-
 
1610
    public List<String> getAllBanners() throws org.apache.thrift.TException
-
 
1611
    {
-
 
1612
      send_getAllBanners();
-
 
1613
      return recv_getAllBanners();
-
 
1614
    }
-
 
1615
 
-
 
1616
    public void send_getAllBanners() throws org.apache.thrift.TException
-
 
1617
    {
-
 
1618
      getAllBanners_args args = new getAllBanners_args();
-
 
1619
      sendBase("getAllBanners", args);
-
 
1620
    }
-
 
1621
 
-
 
1622
    public List<String> recv_getAllBanners() throws org.apache.thrift.TException
-
 
1623
    {
-
 
1624
      getAllBanners_result result = new getAllBanners_result();
-
 
1625
      receiveBase(result, "getAllBanners");
-
 
1626
      if (result.isSetSuccess()) {
-
 
1627
        return result.success;
-
 
1628
      }
-
 
1629
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
-
 
1630
    }
-
 
1631
 
-
 
1632
    public boolean deleteBanner(String bannerName) throws org.apache.thrift.TException
-
 
1633
    {
-
 
1634
      send_deleteBanner(bannerName);
-
 
1635
      return recv_deleteBanner();
-
 
1636
    }
-
 
1637
 
-
 
1638
    public void send_deleteBanner(String bannerName) throws org.apache.thrift.TException
-
 
1639
    {
-
 
1640
      deleteBanner_args args = new deleteBanner_args();
-
 
1641
      args.setBannerName(bannerName);
-
 
1642
      sendBase("deleteBanner", args);
-
 
1643
    }
-
 
1644
 
-
 
1645
    public boolean recv_deleteBanner() throws org.apache.thrift.TException
-
 
1646
    {
-
 
1647
      deleteBanner_result result = new deleteBanner_result();
-
 
1648
      receiveBase(result, "deleteBanner");
-
 
1649
      if (result.isSetSuccess()) {
-
 
1650
        return result.success;
-
 
1651
      }
-
 
1652
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
-
 
1653
    }
-
 
1654
 
-
 
1655
    public Banner getBannerDetails(String bannerName) throws org.apache.thrift.TException
-
 
1656
    {
-
 
1657
      send_getBannerDetails(bannerName);
-
 
1658
      return recv_getBannerDetails();
-
 
1659
    }
-
 
1660
 
-
 
1661
    public void send_getBannerDetails(String bannerName) throws org.apache.thrift.TException
-
 
1662
    {
-
 
1663
      getBannerDetails_args args = new getBannerDetails_args();
-
 
1664
      args.setBannerName(bannerName);
-
 
1665
      sendBase("getBannerDetails", args);
-
 
1666
    }
-
 
1667
 
-
 
1668
    public Banner recv_getBannerDetails() throws org.apache.thrift.TException
-
 
1669
    {
-
 
1670
      getBannerDetails_result result = new getBannerDetails_result();
-
 
1671
      receiveBase(result, "getBannerDetails");
-
 
1672
      if (result.isSetSuccess()) {
-
 
1673
        return result.success;
-
 
1674
      }
-
 
1675
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
-
 
1676
    }
-
 
1677
 
-
 
1678
    public List<Banner> getActiveBanners() throws org.apache.thrift.TException
-
 
1679
    {
-
 
1680
      send_getActiveBanners();
-
 
1681
      return recv_getActiveBanners();
-
 
1682
    }
-
 
1683
 
-
 
1684
    public void send_getActiveBanners() throws org.apache.thrift.TException
-
 
1685
    {
-
 
1686
      getActiveBanners_args args = new getActiveBanners_args();
-
 
1687
      sendBase("getActiveBanners", args);
-
 
1688
    }
-
 
1689
 
-
 
1690
    public List<Banner> recv_getActiveBanners() throws org.apache.thrift.TException
-
 
1691
    {
-
 
1692
      getActiveBanners_result result = new getActiveBanners_result();
-
 
1693
      receiveBase(result, "getActiveBanners");
-
 
1694
      if (result.isSetSuccess()) {
-
 
1695
        return result.success;
-
 
1696
      }
-
 
1697
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
-
 
1698
    }
-
 
1699
 
1562
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException
1700
    public boolean addBannerMap(String bannerName, String mapLink, String coordinates) throws org.apache.thrift.TException
1563
    {
1701
    {
1564
      send_addBannerMap(bannerName, mapLink, coordinates);
1702
      send_addBannerMap(bannerName, mapLink, coordinates);
1565
      return recv_addBannerMap();
1703
      return recv_addBannerMap();
1566
    }
1704
    }
Line 3788... Line 3926...
3788
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3926
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3789
        return (new Client(prot)).recv_getAllEntityTags();
3927
        return (new Client(prot)).recv_getAllEntityTags();
3790
      }
3928
      }
3791
    }
3929
    }
3792
 
3930
 
-
 
3931
    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 {
-
 
3932
      checkReady();
-
 
3933
      addBanner_call method_call = new addBanner_call(bannerName, imageName, link, priority, isActive, hasMap, resultHandler, this, ___protocolFactory, ___transport);
-
 
3934
      this.___currentMethod = method_call;
-
 
3935
      ___manager.call(method_call);
-
 
3936
    }
-
 
3937
 
-
 
3938
    public static class addBanner_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3939
      private String bannerName;
-
 
3940
      private String imageName;
-
 
3941
      private String link;
-
 
3942
      private long priority;
-
 
3943
      private boolean isActive;
-
 
3944
      private boolean hasMap;
-
 
3945
      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 {
-
 
3946
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3947
        this.bannerName = bannerName;
-
 
3948
        this.imageName = imageName;
-
 
3949
        this.link = link;
-
 
3950
        this.priority = priority;
-
 
3951
        this.isActive = isActive;
-
 
3952
        this.hasMap = hasMap;
-
 
3953
      }
-
 
3954
 
-
 
3955
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3956
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addBanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3957
        addBanner_args args = new addBanner_args();
-
 
3958
        args.setBannerName(bannerName);
-
 
3959
        args.setImageName(imageName);
-
 
3960
        args.setLink(link);
-
 
3961
        args.setPriority(priority);
-
 
3962
        args.setIsActive(isActive);
-
 
3963
        args.setHasMap(hasMap);
-
 
3964
        args.write(prot);
-
 
3965
        prot.writeMessageEnd();
-
 
3966
      }
-
 
3967
 
-
 
3968
      public boolean getResult() throws org.apache.thrift.TException {
-
 
3969
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3970
          throw new IllegalStateException("Method call not finished!");
-
 
3971
        }
-
 
3972
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3973
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3974
        return (new Client(prot)).recv_addBanner();
-
 
3975
      }
-
 
3976
    }
-
 
3977
 
-
 
3978
    public void getAllBanners(org.apache.thrift.async.AsyncMethodCallback<getAllBanners_call> resultHandler) throws org.apache.thrift.TException {
-
 
3979
      checkReady();
-
 
3980
      getAllBanners_call method_call = new getAllBanners_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
3981
      this.___currentMethod = method_call;
-
 
3982
      ___manager.call(method_call);
-
 
3983
    }
-
 
3984
 
-
 
3985
    public static class getAllBanners_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3986
      public getAllBanners_call(org.apache.thrift.async.AsyncMethodCallback<getAllBanners_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 {
-
 
3987
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3988
      }
-
 
3989
 
-
 
3990
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3991
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllBanners", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3992
        getAllBanners_args args = new getAllBanners_args();
-
 
3993
        args.write(prot);
-
 
3994
        prot.writeMessageEnd();
-
 
3995
      }
-
 
3996
 
-
 
3997
      public List<String> getResult() throws org.apache.thrift.TException {
-
 
3998
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3999
          throw new IllegalStateException("Method call not finished!");
-
 
4000
        }
-
 
4001
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4002
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4003
        return (new Client(prot)).recv_getAllBanners();
-
 
4004
      }
-
 
4005
    }
-
 
4006
 
-
 
4007
    public void deleteBanner(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBanner_call> resultHandler) throws org.apache.thrift.TException {
-
 
4008
      checkReady();
-
 
4009
      deleteBanner_call method_call = new deleteBanner_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
-
 
4010
      this.___currentMethod = method_call;
-
 
4011
      ___manager.call(method_call);
-
 
4012
    }
-
 
4013
 
-
 
4014
    public static class deleteBanner_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4015
      private String bannerName;
-
 
4016
      public deleteBanner_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<deleteBanner_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
4017
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4018
        this.bannerName = bannerName;
-
 
4019
      }
-
 
4020
 
-
 
4021
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4022
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteBanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4023
        deleteBanner_args args = new deleteBanner_args();
-
 
4024
        args.setBannerName(bannerName);
-
 
4025
        args.write(prot);
-
 
4026
        prot.writeMessageEnd();
-
 
4027
      }
-
 
4028
 
-
 
4029
      public boolean getResult() throws org.apache.thrift.TException {
-
 
4030
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4031
          throw new IllegalStateException("Method call not finished!");
-
 
4032
        }
-
 
4033
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4034
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4035
        return (new Client(prot)).recv_deleteBanner();
-
 
4036
      }
-
 
4037
    }
-
 
4038
 
-
 
4039
    public void getBannerDetails(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerDetails_call> resultHandler) throws org.apache.thrift.TException {
-
 
4040
      checkReady();
-
 
4041
      getBannerDetails_call method_call = new getBannerDetails_call(bannerName, resultHandler, this, ___protocolFactory, ___transport);
-
 
4042
      this.___currentMethod = method_call;
-
 
4043
      ___manager.call(method_call);
-
 
4044
    }
-
 
4045
 
-
 
4046
    public static class getBannerDetails_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4047
      private String bannerName;
-
 
4048
      public getBannerDetails_call(String bannerName, org.apache.thrift.async.AsyncMethodCallback<getBannerDetails_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
4049
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4050
        this.bannerName = bannerName;
-
 
4051
      }
-
 
4052
 
-
 
4053
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4054
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBannerDetails", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4055
        getBannerDetails_args args = new getBannerDetails_args();
-
 
4056
        args.setBannerName(bannerName);
-
 
4057
        args.write(prot);
-
 
4058
        prot.writeMessageEnd();
-
 
4059
      }
-
 
4060
 
-
 
4061
      public Banner getResult() throws org.apache.thrift.TException {
-
 
4062
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4063
          throw new IllegalStateException("Method call not finished!");
-
 
4064
        }
-
 
4065
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4066
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4067
        return (new Client(prot)).recv_getBannerDetails();
-
 
4068
      }
-
 
4069
    }
-
 
4070
 
-
 
4071
    public void getActiveBanners(org.apache.thrift.async.AsyncMethodCallback<getActiveBanners_call> resultHandler) throws org.apache.thrift.TException {
-
 
4072
      checkReady();
-
 
4073
      getActiveBanners_call method_call = new getActiveBanners_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
4074
      this.___currentMethod = method_call;
-
 
4075
      ___manager.call(method_call);
-
 
4076
    }
-
 
4077
 
-
 
4078
    public static class getActiveBanners_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4079
      public getActiveBanners_call(org.apache.thrift.async.AsyncMethodCallback<getActiveBanners_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 {
-
 
4080
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4081
      }
-
 
4082
 
-
 
4083
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4084
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getActiveBanners", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4085
        getActiveBanners_args args = new getActiveBanners_args();
-
 
4086
        args.write(prot);
-
 
4087
        prot.writeMessageEnd();
-
 
4088
      }
-
 
4089
 
-
 
4090
      public List<Banner> getResult() throws org.apache.thrift.TException {
-
 
4091
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4092
          throw new IllegalStateException("Method call not finished!");
-
 
4093
        }
-
 
4094
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4095
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4096
        return (new Client(prot)).recv_getActiveBanners();
-
 
4097
      }
-
 
4098
    }
-
 
4099
 
3793
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_call> resultHandler) throws org.apache.thrift.TException {
4100
    public void addBannerMap(String bannerName, String mapLink, String coordinates, org.apache.thrift.async.AsyncMethodCallback<addBannerMap_call> resultHandler) throws org.apache.thrift.TException {
3794
      checkReady();
4101
      checkReady();
3795
      addBannerMap_call method_call = new addBannerMap_call(bannerName, mapLink, coordinates, resultHandler, this, ___protocolFactory, ___transport);
4102
      addBannerMap_call method_call = new addBannerMap_call(bannerName, mapLink, coordinates, resultHandler, this, ___protocolFactory, ___transport);
3796
      this.___currentMethod = method_call;
4103
      this.___currentMethod = method_call;
3797
      ___manager.call(method_call);
4104
      ___manager.call(method_call);
Line 5082... Line 5389...
5082
      processMap.put("deleteEntityTag", new deleteEntityTag());
5389
      processMap.put("deleteEntityTag", new deleteEntityTag());
5083
      processMap.put("deleteTag", new deleteTag());
5390
      processMap.put("deleteTag", new deleteTag());
5084
      processMap.put("getAllTags", new getAllTags());
5391
      processMap.put("getAllTags", new getAllTags());
5085
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
5392
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
5086
      processMap.put("getAllEntityTags", new getAllEntityTags());
5393
      processMap.put("getAllEntityTags", new getAllEntityTags());
-
 
5394
      processMap.put("addBanner", new addBanner());
-
 
5395
      processMap.put("getAllBanners", new getAllBanners());
-
 
5396
      processMap.put("deleteBanner", new deleteBanner());
-
 
5397
      processMap.put("getBannerDetails", new getBannerDetails());
-
 
5398
      processMap.put("getActiveBanners", new getActiveBanners());
5087
      processMap.put("addBannerMap", new addBannerMap());
5399
      processMap.put("addBannerMap", new addBannerMap());
5088
      processMap.put("deleteBannerMap", new deleteBannerMap());
5400
      processMap.put("deleteBannerMap", new deleteBannerMap());
5089
      processMap.put("getBannerMapDetails", new getBannerMapDetails());
5401
      processMap.put("getBannerMapDetails", new getBannerMapDetails());
5090
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
5402
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
5091
      processMap.put("checkSimilarItem", new checkSimilarItem());
5403
      processMap.put("checkSimilarItem", new checkSimilarItem());
Line 5887... Line 6199...
5887
        result.success = iface.getAllEntityTags();
6199
        result.success = iface.getAllEntityTags();
5888
        return result;
6200
        return result;
5889
      }
6201
      }
5890
    }
6202
    }
5891
 
6203
 
-
 
6204
    private static class addBanner<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBanner_args> {
-
 
6205
      public addBanner() {
-
 
6206
        super("addBanner");
-
 
6207
      }
-
 
6208
 
-
 
6209
      protected addBanner_args getEmptyArgsInstance() {
-
 
6210
        return new addBanner_args();
-
 
6211
      }
-
 
6212
 
-
 
6213
      protected addBanner_result getResult(I iface, addBanner_args args) throws org.apache.thrift.TException {
-
 
6214
        addBanner_result result = new addBanner_result();
-
 
6215
        result.success = iface.addBanner(args.bannerName, args.imageName, args.link, args.priority, args.isActive, args.hasMap);
-
 
6216
        result.setSuccessIsSet(true);
-
 
6217
        return result;
-
 
6218
      }
-
 
6219
    }
-
 
6220
 
-
 
6221
    private static class getAllBanners<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllBanners_args> {
-
 
6222
      public getAllBanners() {
-
 
6223
        super("getAllBanners");
-
 
6224
      }
-
 
6225
 
-
 
6226
      protected getAllBanners_args getEmptyArgsInstance() {
-
 
6227
        return new getAllBanners_args();
-
 
6228
      }
-
 
6229
 
-
 
6230
      protected getAllBanners_result getResult(I iface, getAllBanners_args args) throws org.apache.thrift.TException {
-
 
6231
        getAllBanners_result result = new getAllBanners_result();
-
 
6232
        result.success = iface.getAllBanners();
-
 
6233
        return result;
-
 
6234
      }
-
 
6235
    }
-
 
6236
 
-
 
6237
    private static class deleteBanner<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteBanner_args> {
-
 
6238
      public deleteBanner() {
-
 
6239
        super("deleteBanner");
-
 
6240
      }
-
 
6241
 
-
 
6242
      protected deleteBanner_args getEmptyArgsInstance() {
-
 
6243
        return new deleteBanner_args();
-
 
6244
      }
-
 
6245
 
-
 
6246
      protected deleteBanner_result getResult(I iface, deleteBanner_args args) throws org.apache.thrift.TException {
-
 
6247
        deleteBanner_result result = new deleteBanner_result();
-
 
6248
        result.success = iface.deleteBanner(args.bannerName);
-
 
6249
        result.setSuccessIsSet(true);
-
 
6250
        return result;
-
 
6251
      }
-
 
6252
    }
-
 
6253
 
-
 
6254
    private static class getBannerDetails<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getBannerDetails_args> {
-
 
6255
      public getBannerDetails() {
-
 
6256
        super("getBannerDetails");
-
 
6257
      }
-
 
6258
 
-
 
6259
      protected getBannerDetails_args getEmptyArgsInstance() {
-
 
6260
        return new getBannerDetails_args();
-
 
6261
      }
-
 
6262
 
-
 
6263
      protected getBannerDetails_result getResult(I iface, getBannerDetails_args args) throws org.apache.thrift.TException {
-
 
6264
        getBannerDetails_result result = new getBannerDetails_result();
-
 
6265
        result.success = iface.getBannerDetails(args.bannerName);
-
 
6266
        return result;
-
 
6267
      }
-
 
6268
    }
-
 
6269
 
-
 
6270
    private static class getActiveBanners<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getActiveBanners_args> {
-
 
6271
      public getActiveBanners() {
-
 
6272
        super("getActiveBanners");
-
 
6273
      }
-
 
6274
 
-
 
6275
      protected getActiveBanners_args getEmptyArgsInstance() {
-
 
6276
        return new getActiveBanners_args();
-
 
6277
      }
-
 
6278
 
-
 
6279
      protected getActiveBanners_result getResult(I iface, getActiveBanners_args args) throws org.apache.thrift.TException {
-
 
6280
        getActiveBanners_result result = new getActiveBanners_result();
-
 
6281
        result.success = iface.getActiveBanners();
-
 
6282
        return result;
-
 
6283
      }
-
 
6284
    }
-
 
6285
 
5892
    private static class addBannerMap<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBannerMap_args> {
6286
    private static class addBannerMap<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addBannerMap_args> {
5893
      public addBannerMap() {
6287
      public addBannerMap() {
5894
        super("addBannerMap");
6288
        super("addBannerMap");
5895
      }
6289
      }
5896
 
6290
 
Line 34221... Line 34615...
34221
      }
34615
      }
34222
    }
34616
    }
34223
 
34617
 
34224
  }
34618
  }
34225
 
34619
 
-
 
34620
  public static class addBanner_args implements org.apache.thrift.TBase<addBanner_args, addBanner_args._Fields>, java.io.Serializable, Cloneable   {
-
 
34621
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBanner_args");
-
 
34622
 
-
 
34623
    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);
-
 
34624
    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);
-
 
34625
    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);
-
 
34626
    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);
-
 
34627
    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);
-
 
34628
    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);
-
 
34629
 
-
 
34630
    private String bannerName; // required
-
 
34631
    private String imageName; // required
-
 
34632
    private String link; // required
-
 
34633
    private long priority; // required
-
 
34634
    private boolean isActive; // required
-
 
34635
    private boolean hasMap; // required
-
 
34636
 
-
 
34637
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
34638
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
34639
      BANNER_NAME((short)1, "bannerName"),
-
 
34640
      IMAGE_NAME((short)2, "imageName"),
-
 
34641
      LINK((short)3, "link"),
-
 
34642
      PRIORITY((short)4, "priority"),
-
 
34643
      IS_ACTIVE((short)5, "isActive"),
-
 
34644
      HAS_MAP((short)6, "hasMap");
-
 
34645
 
-
 
34646
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
34647
 
-
 
34648
      static {
-
 
34649
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
34650
          byName.put(field.getFieldName(), field);
-
 
34651
        }
-
 
34652
      }
-
 
34653
 
-
 
34654
      /**
-
 
34655
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
34656
       */
-
 
34657
      public static _Fields findByThriftId(int fieldId) {
-
 
34658
        switch(fieldId) {
-
 
34659
          case 1: // BANNER_NAME
-
 
34660
            return BANNER_NAME;
-
 
34661
          case 2: // IMAGE_NAME
-
 
34662
            return IMAGE_NAME;
-
 
34663
          case 3: // LINK
-
 
34664
            return LINK;
-
 
34665
          case 4: // PRIORITY
-
 
34666
            return PRIORITY;
-
 
34667
          case 5: // IS_ACTIVE
-
 
34668
            return IS_ACTIVE;
-
 
34669
          case 6: // HAS_MAP
-
 
34670
            return HAS_MAP;
-
 
34671
          default:
-
 
34672
            return null;
-
 
34673
        }
-
 
34674
      }
-
 
34675
 
-
 
34676
      /**
-
 
34677
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
34678
       * if it is not found.
-
 
34679
       */
-
 
34680
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
34681
        _Fields fields = findByThriftId(fieldId);
-
 
34682
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
34683
        return fields;
-
 
34684
      }
-
 
34685
 
-
 
34686
      /**
-
 
34687
       * Find the _Fields constant that matches name, or null if its not found.
-
 
34688
       */
-
 
34689
      public static _Fields findByName(String name) {
-
 
34690
        return byName.get(name);
-
 
34691
      }
-
 
34692
 
-
 
34693
      private final short _thriftId;
-
 
34694
      private final String _fieldName;
-
 
34695
 
-
 
34696
      _Fields(short thriftId, String fieldName) {
-
 
34697
        _thriftId = thriftId;
-
 
34698
        _fieldName = fieldName;
-
 
34699
      }
-
 
34700
 
-
 
34701
      public short getThriftFieldId() {
-
 
34702
        return _thriftId;
-
 
34703
      }
-
 
34704
 
-
 
34705
      public String getFieldName() {
-
 
34706
        return _fieldName;
-
 
34707
      }
-
 
34708
    }
-
 
34709
 
-
 
34710
    // isset id assignments
-
 
34711
    private static final int __PRIORITY_ISSET_ID = 0;
-
 
34712
    private static final int __ISACTIVE_ISSET_ID = 1;
-
 
34713
    private static final int __HASMAP_ISSET_ID = 2;
-
 
34714
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
34715
 
-
 
34716
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
34717
    static {
-
 
34718
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
34719
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34720
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
34721
      tmpMap.put(_Fields.IMAGE_NAME, new org.apache.thrift.meta_data.FieldMetaData("imageName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34722
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
34723
      tmpMap.put(_Fields.LINK, new org.apache.thrift.meta_data.FieldMetaData("link", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34724
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
34725
      tmpMap.put(_Fields.PRIORITY, new org.apache.thrift.meta_data.FieldMetaData("priority", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34726
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
34727
      tmpMap.put(_Fields.IS_ACTIVE, new org.apache.thrift.meta_data.FieldMetaData("isActive", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34728
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
34729
      tmpMap.put(_Fields.HAS_MAP, new org.apache.thrift.meta_data.FieldMetaData("hasMap", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
34730
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
34731
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
34732
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBanner_args.class, metaDataMap);
-
 
34733
    }
-
 
34734
 
-
 
34735
    public addBanner_args() {
-
 
34736
    }
-
 
34737
 
-
 
34738
    public addBanner_args(
-
 
34739
      String bannerName,
-
 
34740
      String imageName,
-
 
34741
      String link,
-
 
34742
      long priority,
-
 
34743
      boolean isActive,
-
 
34744
      boolean hasMap)
-
 
34745
    {
-
 
34746
      this();
-
 
34747
      this.bannerName = bannerName;
-
 
34748
      this.imageName = imageName;
-
 
34749
      this.link = link;
-
 
34750
      this.priority = priority;
-
 
34751
      setPriorityIsSet(true);
-
 
34752
      this.isActive = isActive;
-
 
34753
      setIsActiveIsSet(true);
-
 
34754
      this.hasMap = hasMap;
-
 
34755
      setHasMapIsSet(true);
-
 
34756
    }
-
 
34757
 
-
 
34758
    /**
-
 
34759
     * Performs a deep copy on <i>other</i>.
-
 
34760
     */
-
 
34761
    public addBanner_args(addBanner_args other) {
-
 
34762
      __isset_bit_vector.clear();
-
 
34763
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
34764
      if (other.isSetBannerName()) {
-
 
34765
        this.bannerName = other.bannerName;
-
 
34766
      }
-
 
34767
      if (other.isSetImageName()) {
-
 
34768
        this.imageName = other.imageName;
-
 
34769
      }
-
 
34770
      if (other.isSetLink()) {
-
 
34771
        this.link = other.link;
-
 
34772
      }
-
 
34773
      this.priority = other.priority;
-
 
34774
      this.isActive = other.isActive;
-
 
34775
      this.hasMap = other.hasMap;
-
 
34776
    }
-
 
34777
 
-
 
34778
    public addBanner_args deepCopy() {
-
 
34779
      return new addBanner_args(this);
-
 
34780
    }
-
 
34781
 
-
 
34782
    @Override
-
 
34783
    public void clear() {
-
 
34784
      this.bannerName = null;
-
 
34785
      this.imageName = null;
-
 
34786
      this.link = null;
-
 
34787
      setPriorityIsSet(false);
-
 
34788
      this.priority = 0;
-
 
34789
      setIsActiveIsSet(false);
-
 
34790
      this.isActive = false;
-
 
34791
      setHasMapIsSet(false);
-
 
34792
      this.hasMap = false;
-
 
34793
    }
-
 
34794
 
-
 
34795
    public String getBannerName() {
-
 
34796
      return this.bannerName;
-
 
34797
    }
-
 
34798
 
-
 
34799
    public void setBannerName(String bannerName) {
-
 
34800
      this.bannerName = bannerName;
-
 
34801
    }
-
 
34802
 
-
 
34803
    public void unsetBannerName() {
-
 
34804
      this.bannerName = null;
-
 
34805
    }
-
 
34806
 
-
 
34807
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
34808
    public boolean isSetBannerName() {
-
 
34809
      return this.bannerName != null;
-
 
34810
    }
-
 
34811
 
-
 
34812
    public void setBannerNameIsSet(boolean value) {
-
 
34813
      if (!value) {
-
 
34814
        this.bannerName = null;
-
 
34815
      }
-
 
34816
    }
-
 
34817
 
-
 
34818
    public String getImageName() {
-
 
34819
      return this.imageName;
-
 
34820
    }
-
 
34821
 
-
 
34822
    public void setImageName(String imageName) {
-
 
34823
      this.imageName = imageName;
-
 
34824
    }
-
 
34825
 
-
 
34826
    public void unsetImageName() {
-
 
34827
      this.imageName = null;
-
 
34828
    }
-
 
34829
 
-
 
34830
    /** Returns true if field imageName is set (has been assigned a value) and false otherwise */
-
 
34831
    public boolean isSetImageName() {
-
 
34832
      return this.imageName != null;
-
 
34833
    }
-
 
34834
 
-
 
34835
    public void setImageNameIsSet(boolean value) {
-
 
34836
      if (!value) {
-
 
34837
        this.imageName = null;
-
 
34838
      }
-
 
34839
    }
-
 
34840
 
-
 
34841
    public String getLink() {
-
 
34842
      return this.link;
-
 
34843
    }
-
 
34844
 
-
 
34845
    public void setLink(String link) {
-
 
34846
      this.link = link;
-
 
34847
    }
-
 
34848
 
-
 
34849
    public void unsetLink() {
-
 
34850
      this.link = null;
-
 
34851
    }
-
 
34852
 
-
 
34853
    /** Returns true if field link is set (has been assigned a value) and false otherwise */
-
 
34854
    public boolean isSetLink() {
-
 
34855
      return this.link != null;
-
 
34856
    }
-
 
34857
 
-
 
34858
    public void setLinkIsSet(boolean value) {
-
 
34859
      if (!value) {
-
 
34860
        this.link = null;
-
 
34861
      }
-
 
34862
    }
-
 
34863
 
-
 
34864
    public long getPriority() {
-
 
34865
      return this.priority;
-
 
34866
    }
-
 
34867
 
-
 
34868
    public void setPriority(long priority) {
-
 
34869
      this.priority = priority;
-
 
34870
      setPriorityIsSet(true);
-
 
34871
    }
-
 
34872
 
-
 
34873
    public void unsetPriority() {
-
 
34874
      __isset_bit_vector.clear(__PRIORITY_ISSET_ID);
-
 
34875
    }
-
 
34876
 
-
 
34877
    /** Returns true if field priority is set (has been assigned a value) and false otherwise */
-
 
34878
    public boolean isSetPriority() {
-
 
34879
      return __isset_bit_vector.get(__PRIORITY_ISSET_ID);
-
 
34880
    }
-
 
34881
 
-
 
34882
    public void setPriorityIsSet(boolean value) {
-
 
34883
      __isset_bit_vector.set(__PRIORITY_ISSET_ID, value);
-
 
34884
    }
-
 
34885
 
-
 
34886
    public boolean isIsActive() {
-
 
34887
      return this.isActive;
-
 
34888
    }
-
 
34889
 
-
 
34890
    public void setIsActive(boolean isActive) {
-
 
34891
      this.isActive = isActive;
-
 
34892
      setIsActiveIsSet(true);
-
 
34893
    }
-
 
34894
 
-
 
34895
    public void unsetIsActive() {
-
 
34896
      __isset_bit_vector.clear(__ISACTIVE_ISSET_ID);
-
 
34897
    }
-
 
34898
 
-
 
34899
    /** Returns true if field isActive is set (has been assigned a value) and false otherwise */
-
 
34900
    public boolean isSetIsActive() {
-
 
34901
      return __isset_bit_vector.get(__ISACTIVE_ISSET_ID);
-
 
34902
    }
-
 
34903
 
-
 
34904
    public void setIsActiveIsSet(boolean value) {
-
 
34905
      __isset_bit_vector.set(__ISACTIVE_ISSET_ID, value);
-
 
34906
    }
-
 
34907
 
-
 
34908
    public boolean isHasMap() {
-
 
34909
      return this.hasMap;
-
 
34910
    }
-
 
34911
 
-
 
34912
    public void setHasMap(boolean hasMap) {
-
 
34913
      this.hasMap = hasMap;
-
 
34914
      setHasMapIsSet(true);
-
 
34915
    }
-
 
34916
 
-
 
34917
    public void unsetHasMap() {
-
 
34918
      __isset_bit_vector.clear(__HASMAP_ISSET_ID);
-
 
34919
    }
-
 
34920
 
-
 
34921
    /** Returns true if field hasMap is set (has been assigned a value) and false otherwise */
-
 
34922
    public boolean isSetHasMap() {
-
 
34923
      return __isset_bit_vector.get(__HASMAP_ISSET_ID);
-
 
34924
    }
-
 
34925
 
-
 
34926
    public void setHasMapIsSet(boolean value) {
-
 
34927
      __isset_bit_vector.set(__HASMAP_ISSET_ID, value);
-
 
34928
    }
-
 
34929
 
-
 
34930
    public void setFieldValue(_Fields field, Object value) {
-
 
34931
      switch (field) {
-
 
34932
      case BANNER_NAME:
-
 
34933
        if (value == null) {
-
 
34934
          unsetBannerName();
-
 
34935
        } else {
-
 
34936
          setBannerName((String)value);
-
 
34937
        }
-
 
34938
        break;
-
 
34939
 
-
 
34940
      case IMAGE_NAME:
-
 
34941
        if (value == null) {
-
 
34942
          unsetImageName();
-
 
34943
        } else {
-
 
34944
          setImageName((String)value);
-
 
34945
        }
-
 
34946
        break;
-
 
34947
 
-
 
34948
      case LINK:
-
 
34949
        if (value == null) {
-
 
34950
          unsetLink();
-
 
34951
        } else {
-
 
34952
          setLink((String)value);
-
 
34953
        }
-
 
34954
        break;
-
 
34955
 
-
 
34956
      case PRIORITY:
-
 
34957
        if (value == null) {
-
 
34958
          unsetPriority();
-
 
34959
        } else {
-
 
34960
          setPriority((Long)value);
-
 
34961
        }
-
 
34962
        break;
-
 
34963
 
-
 
34964
      case IS_ACTIVE:
-
 
34965
        if (value == null) {
-
 
34966
          unsetIsActive();
-
 
34967
        } else {
-
 
34968
          setIsActive((Boolean)value);
-
 
34969
        }
-
 
34970
        break;
-
 
34971
 
-
 
34972
      case HAS_MAP:
-
 
34973
        if (value == null) {
-
 
34974
          unsetHasMap();
-
 
34975
        } else {
-
 
34976
          setHasMap((Boolean)value);
-
 
34977
        }
-
 
34978
        break;
-
 
34979
 
-
 
34980
      }
-
 
34981
    }
-
 
34982
 
-
 
34983
    public Object getFieldValue(_Fields field) {
-
 
34984
      switch (field) {
-
 
34985
      case BANNER_NAME:
-
 
34986
        return getBannerName();
-
 
34987
 
-
 
34988
      case IMAGE_NAME:
-
 
34989
        return getImageName();
-
 
34990
 
-
 
34991
      case LINK:
-
 
34992
        return getLink();
-
 
34993
 
-
 
34994
      case PRIORITY:
-
 
34995
        return Long.valueOf(getPriority());
-
 
34996
 
-
 
34997
      case IS_ACTIVE:
-
 
34998
        return Boolean.valueOf(isIsActive());
-
 
34999
 
-
 
35000
      case HAS_MAP:
-
 
35001
        return Boolean.valueOf(isHasMap());
-
 
35002
 
-
 
35003
      }
-
 
35004
      throw new IllegalStateException();
-
 
35005
    }
-
 
35006
 
-
 
35007
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35008
    public boolean isSet(_Fields field) {
-
 
35009
      if (field == null) {
-
 
35010
        throw new IllegalArgumentException();
-
 
35011
      }
-
 
35012
 
-
 
35013
      switch (field) {
-
 
35014
      case BANNER_NAME:
-
 
35015
        return isSetBannerName();
-
 
35016
      case IMAGE_NAME:
-
 
35017
        return isSetImageName();
-
 
35018
      case LINK:
-
 
35019
        return isSetLink();
-
 
35020
      case PRIORITY:
-
 
35021
        return isSetPriority();
-
 
35022
      case IS_ACTIVE:
-
 
35023
        return isSetIsActive();
-
 
35024
      case HAS_MAP:
-
 
35025
        return isSetHasMap();
-
 
35026
      }
-
 
35027
      throw new IllegalStateException();
-
 
35028
    }
-
 
35029
 
-
 
35030
    @Override
-
 
35031
    public boolean equals(Object that) {
-
 
35032
      if (that == null)
-
 
35033
        return false;
-
 
35034
      if (that instanceof addBanner_args)
-
 
35035
        return this.equals((addBanner_args)that);
-
 
35036
      return false;
-
 
35037
    }
-
 
35038
 
-
 
35039
    public boolean equals(addBanner_args that) {
-
 
35040
      if (that == null)
-
 
35041
        return false;
-
 
35042
 
-
 
35043
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
35044
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
35045
      if (this_present_bannerName || that_present_bannerName) {
-
 
35046
        if (!(this_present_bannerName && that_present_bannerName))
-
 
35047
          return false;
-
 
35048
        if (!this.bannerName.equals(that.bannerName))
-
 
35049
          return false;
-
 
35050
      }
-
 
35051
 
-
 
35052
      boolean this_present_imageName = true && this.isSetImageName();
-
 
35053
      boolean that_present_imageName = true && that.isSetImageName();
-
 
35054
      if (this_present_imageName || that_present_imageName) {
-
 
35055
        if (!(this_present_imageName && that_present_imageName))
-
 
35056
          return false;
-
 
35057
        if (!this.imageName.equals(that.imageName))
-
 
35058
          return false;
-
 
35059
      }
-
 
35060
 
-
 
35061
      boolean this_present_link = true && this.isSetLink();
-
 
35062
      boolean that_present_link = true && that.isSetLink();
-
 
35063
      if (this_present_link || that_present_link) {
-
 
35064
        if (!(this_present_link && that_present_link))
-
 
35065
          return false;
-
 
35066
        if (!this.link.equals(that.link))
-
 
35067
          return false;
-
 
35068
      }
-
 
35069
 
-
 
35070
      boolean this_present_priority = true;
-
 
35071
      boolean that_present_priority = true;
-
 
35072
      if (this_present_priority || that_present_priority) {
-
 
35073
        if (!(this_present_priority && that_present_priority))
-
 
35074
          return false;
-
 
35075
        if (this.priority != that.priority)
-
 
35076
          return false;
-
 
35077
      }
-
 
35078
 
-
 
35079
      boolean this_present_isActive = true;
-
 
35080
      boolean that_present_isActive = true;
-
 
35081
      if (this_present_isActive || that_present_isActive) {
-
 
35082
        if (!(this_present_isActive && that_present_isActive))
-
 
35083
          return false;
-
 
35084
        if (this.isActive != that.isActive)
-
 
35085
          return false;
-
 
35086
      }
-
 
35087
 
-
 
35088
      boolean this_present_hasMap = true;
-
 
35089
      boolean that_present_hasMap = true;
-
 
35090
      if (this_present_hasMap || that_present_hasMap) {
-
 
35091
        if (!(this_present_hasMap && that_present_hasMap))
-
 
35092
          return false;
-
 
35093
        if (this.hasMap != that.hasMap)
-
 
35094
          return false;
-
 
35095
      }
-
 
35096
 
-
 
35097
      return true;
-
 
35098
    }
-
 
35099
 
-
 
35100
    @Override
-
 
35101
    public int hashCode() {
-
 
35102
      return 0;
-
 
35103
    }
-
 
35104
 
-
 
35105
    public int compareTo(addBanner_args other) {
-
 
35106
      if (!getClass().equals(other.getClass())) {
-
 
35107
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35108
      }
-
 
35109
 
-
 
35110
      int lastComparison = 0;
-
 
35111
      addBanner_args typedOther = (addBanner_args)other;
-
 
35112
 
-
 
35113
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
-
 
35114
      if (lastComparison != 0) {
-
 
35115
        return lastComparison;
-
 
35116
      }
-
 
35117
      if (isSetBannerName()) {
-
 
35118
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
-
 
35119
        if (lastComparison != 0) {
-
 
35120
          return lastComparison;
-
 
35121
        }
-
 
35122
      }
-
 
35123
      lastComparison = Boolean.valueOf(isSetImageName()).compareTo(typedOther.isSetImageName());
-
 
35124
      if (lastComparison != 0) {
-
 
35125
        return lastComparison;
-
 
35126
      }
-
 
35127
      if (isSetImageName()) {
-
 
35128
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageName, typedOther.imageName);
-
 
35129
        if (lastComparison != 0) {
-
 
35130
          return lastComparison;
-
 
35131
        }
-
 
35132
      }
-
 
35133
      lastComparison = Boolean.valueOf(isSetLink()).compareTo(typedOther.isSetLink());
-
 
35134
      if (lastComparison != 0) {
-
 
35135
        return lastComparison;
-
 
35136
      }
-
 
35137
      if (isSetLink()) {
-
 
35138
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.link, typedOther.link);
-
 
35139
        if (lastComparison != 0) {
-
 
35140
          return lastComparison;
-
 
35141
        }
-
 
35142
      }
-
 
35143
      lastComparison = Boolean.valueOf(isSetPriority()).compareTo(typedOther.isSetPriority());
-
 
35144
      if (lastComparison != 0) {
-
 
35145
        return lastComparison;
-
 
35146
      }
-
 
35147
      if (isSetPriority()) {
-
 
35148
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.priority, typedOther.priority);
-
 
35149
        if (lastComparison != 0) {
-
 
35150
          return lastComparison;
-
 
35151
        }
-
 
35152
      }
-
 
35153
      lastComparison = Boolean.valueOf(isSetIsActive()).compareTo(typedOther.isSetIsActive());
-
 
35154
      if (lastComparison != 0) {
-
 
35155
        return lastComparison;
-
 
35156
      }
-
 
35157
      if (isSetIsActive()) {
-
 
35158
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isActive, typedOther.isActive);
-
 
35159
        if (lastComparison != 0) {
-
 
35160
          return lastComparison;
-
 
35161
        }
-
 
35162
      }
-
 
35163
      lastComparison = Boolean.valueOf(isSetHasMap()).compareTo(typedOther.isSetHasMap());
-
 
35164
      if (lastComparison != 0) {
-
 
35165
        return lastComparison;
-
 
35166
      }
-
 
35167
      if (isSetHasMap()) {
-
 
35168
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasMap, typedOther.hasMap);
-
 
35169
        if (lastComparison != 0) {
-
 
35170
          return lastComparison;
-
 
35171
        }
-
 
35172
      }
-
 
35173
      return 0;
-
 
35174
    }
-
 
35175
 
-
 
35176
    public _Fields fieldForId(int fieldId) {
-
 
35177
      return _Fields.findByThriftId(fieldId);
-
 
35178
    }
-
 
35179
 
-
 
35180
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35181
      org.apache.thrift.protocol.TField field;
-
 
35182
      iprot.readStructBegin();
-
 
35183
      while (true)
-
 
35184
      {
-
 
35185
        field = iprot.readFieldBegin();
-
 
35186
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35187
          break;
-
 
35188
        }
-
 
35189
        switch (field.id) {
-
 
35190
          case 1: // BANNER_NAME
-
 
35191
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
35192
              this.bannerName = iprot.readString();
-
 
35193
            } else { 
-
 
35194
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35195
            }
-
 
35196
            break;
-
 
35197
          case 2: // IMAGE_NAME
-
 
35198
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
35199
              this.imageName = iprot.readString();
-
 
35200
            } else { 
-
 
35201
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35202
            }
-
 
35203
            break;
-
 
35204
          case 3: // LINK
-
 
35205
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
35206
              this.link = iprot.readString();
-
 
35207
            } else { 
-
 
35208
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35209
            }
-
 
35210
            break;
-
 
35211
          case 4: // PRIORITY
-
 
35212
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
35213
              this.priority = iprot.readI64();
-
 
35214
              setPriorityIsSet(true);
-
 
35215
            } else { 
-
 
35216
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35217
            }
-
 
35218
            break;
-
 
35219
          case 5: // IS_ACTIVE
-
 
35220
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
35221
              this.isActive = iprot.readBool();
-
 
35222
              setIsActiveIsSet(true);
-
 
35223
            } else { 
-
 
35224
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35225
            }
-
 
35226
            break;
-
 
35227
          case 6: // HAS_MAP
-
 
35228
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
35229
              this.hasMap = iprot.readBool();
-
 
35230
              setHasMapIsSet(true);
-
 
35231
            } else { 
-
 
35232
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35233
            }
-
 
35234
            break;
-
 
35235
          default:
-
 
35236
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35237
        }
-
 
35238
        iprot.readFieldEnd();
-
 
35239
      }
-
 
35240
      iprot.readStructEnd();
-
 
35241
      validate();
-
 
35242
    }
-
 
35243
 
-
 
35244
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35245
      validate();
-
 
35246
 
-
 
35247
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35248
      if (this.bannerName != null) {
-
 
35249
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
-
 
35250
        oprot.writeString(this.bannerName);
-
 
35251
        oprot.writeFieldEnd();
-
 
35252
      }
-
 
35253
      if (this.imageName != null) {
-
 
35254
        oprot.writeFieldBegin(IMAGE_NAME_FIELD_DESC);
-
 
35255
        oprot.writeString(this.imageName);
-
 
35256
        oprot.writeFieldEnd();
-
 
35257
      }
-
 
35258
      if (this.link != null) {
-
 
35259
        oprot.writeFieldBegin(LINK_FIELD_DESC);
-
 
35260
        oprot.writeString(this.link);
-
 
35261
        oprot.writeFieldEnd();
-
 
35262
      }
-
 
35263
      oprot.writeFieldBegin(PRIORITY_FIELD_DESC);
-
 
35264
      oprot.writeI64(this.priority);
-
 
35265
      oprot.writeFieldEnd();
-
 
35266
      oprot.writeFieldBegin(IS_ACTIVE_FIELD_DESC);
-
 
35267
      oprot.writeBool(this.isActive);
-
 
35268
      oprot.writeFieldEnd();
-
 
35269
      oprot.writeFieldBegin(HAS_MAP_FIELD_DESC);
-
 
35270
      oprot.writeBool(this.hasMap);
-
 
35271
      oprot.writeFieldEnd();
-
 
35272
      oprot.writeFieldStop();
-
 
35273
      oprot.writeStructEnd();
-
 
35274
    }
-
 
35275
 
-
 
35276
    @Override
-
 
35277
    public String toString() {
-
 
35278
      StringBuilder sb = new StringBuilder("addBanner_args(");
-
 
35279
      boolean first = true;
-
 
35280
 
-
 
35281
      sb.append("bannerName:");
-
 
35282
      if (this.bannerName == null) {
-
 
35283
        sb.append("null");
-
 
35284
      } else {
-
 
35285
        sb.append(this.bannerName);
-
 
35286
      }
-
 
35287
      first = false;
-
 
35288
      if (!first) sb.append(", ");
-
 
35289
      sb.append("imageName:");
-
 
35290
      if (this.imageName == null) {
-
 
35291
        sb.append("null");
-
 
35292
      } else {
-
 
35293
        sb.append(this.imageName);
-
 
35294
      }
-
 
35295
      first = false;
-
 
35296
      if (!first) sb.append(", ");
-
 
35297
      sb.append("link:");
-
 
35298
      if (this.link == null) {
-
 
35299
        sb.append("null");
-
 
35300
      } else {
-
 
35301
        sb.append(this.link);
-
 
35302
      }
-
 
35303
      first = false;
-
 
35304
      if (!first) sb.append(", ");
-
 
35305
      sb.append("priority:");
-
 
35306
      sb.append(this.priority);
-
 
35307
      first = false;
-
 
35308
      if (!first) sb.append(", ");
-
 
35309
      sb.append("isActive:");
-
 
35310
      sb.append(this.isActive);
-
 
35311
      first = false;
-
 
35312
      if (!first) sb.append(", ");
-
 
35313
      sb.append("hasMap:");
-
 
35314
      sb.append(this.hasMap);
-
 
35315
      first = false;
-
 
35316
      sb.append(")");
-
 
35317
      return sb.toString();
-
 
35318
    }
-
 
35319
 
-
 
35320
    public void validate() throws org.apache.thrift.TException {
-
 
35321
      // check for required fields
-
 
35322
    }
-
 
35323
 
-
 
35324
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35325
      try {
-
 
35326
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35327
      } catch (org.apache.thrift.TException te) {
-
 
35328
        throw new java.io.IOException(te);
-
 
35329
      }
-
 
35330
    }
-
 
35331
 
-
 
35332
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35333
      try {
-
 
35334
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
35335
        __isset_bit_vector = new BitSet(1);
-
 
35336
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35337
      } catch (org.apache.thrift.TException te) {
-
 
35338
        throw new java.io.IOException(te);
-
 
35339
      }
-
 
35340
    }
-
 
35341
 
-
 
35342
  }
-
 
35343
 
-
 
35344
  public static class addBanner_result implements org.apache.thrift.TBase<addBanner_result, addBanner_result._Fields>, java.io.Serializable, Cloneable   {
-
 
35345
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBanner_result");
-
 
35346
 
-
 
35347
    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);
-
 
35348
 
-
 
35349
    private boolean success; // required
-
 
35350
 
-
 
35351
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35352
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35353
      SUCCESS((short)0, "success");
-
 
35354
 
-
 
35355
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35356
 
-
 
35357
      static {
-
 
35358
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35359
          byName.put(field.getFieldName(), field);
-
 
35360
        }
-
 
35361
      }
-
 
35362
 
-
 
35363
      /**
-
 
35364
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35365
       */
-
 
35366
      public static _Fields findByThriftId(int fieldId) {
-
 
35367
        switch(fieldId) {
-
 
35368
          case 0: // SUCCESS
-
 
35369
            return SUCCESS;
-
 
35370
          default:
-
 
35371
            return null;
-
 
35372
        }
-
 
35373
      }
-
 
35374
 
-
 
35375
      /**
-
 
35376
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35377
       * if it is not found.
-
 
35378
       */
-
 
35379
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35380
        _Fields fields = findByThriftId(fieldId);
-
 
35381
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35382
        return fields;
-
 
35383
      }
-
 
35384
 
-
 
35385
      /**
-
 
35386
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35387
       */
-
 
35388
      public static _Fields findByName(String name) {
-
 
35389
        return byName.get(name);
-
 
35390
      }
-
 
35391
 
-
 
35392
      private final short _thriftId;
-
 
35393
      private final String _fieldName;
-
 
35394
 
-
 
35395
      _Fields(short thriftId, String fieldName) {
-
 
35396
        _thriftId = thriftId;
-
 
35397
        _fieldName = fieldName;
-
 
35398
      }
-
 
35399
 
-
 
35400
      public short getThriftFieldId() {
-
 
35401
        return _thriftId;
-
 
35402
      }
-
 
35403
 
-
 
35404
      public String getFieldName() {
-
 
35405
        return _fieldName;
-
 
35406
      }
-
 
35407
    }
-
 
35408
 
-
 
35409
    // isset id assignments
-
 
35410
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
35411
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
35412
 
-
 
35413
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35414
    static {
-
 
35415
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35416
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35417
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
35418
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35419
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addBanner_result.class, metaDataMap);
-
 
35420
    }
-
 
35421
 
-
 
35422
    public addBanner_result() {
-
 
35423
    }
-
 
35424
 
-
 
35425
    public addBanner_result(
-
 
35426
      boolean success)
-
 
35427
    {
-
 
35428
      this();
-
 
35429
      this.success = success;
-
 
35430
      setSuccessIsSet(true);
-
 
35431
    }
-
 
35432
 
-
 
35433
    /**
-
 
35434
     * Performs a deep copy on <i>other</i>.
-
 
35435
     */
-
 
35436
    public addBanner_result(addBanner_result other) {
-
 
35437
      __isset_bit_vector.clear();
-
 
35438
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
35439
      this.success = other.success;
-
 
35440
    }
-
 
35441
 
-
 
35442
    public addBanner_result deepCopy() {
-
 
35443
      return new addBanner_result(this);
-
 
35444
    }
-
 
35445
 
-
 
35446
    @Override
-
 
35447
    public void clear() {
-
 
35448
      setSuccessIsSet(false);
-
 
35449
      this.success = false;
-
 
35450
    }
-
 
35451
 
-
 
35452
    public boolean isSuccess() {
-
 
35453
      return this.success;
-
 
35454
    }
-
 
35455
 
-
 
35456
    public void setSuccess(boolean success) {
-
 
35457
      this.success = success;
-
 
35458
      setSuccessIsSet(true);
-
 
35459
    }
-
 
35460
 
-
 
35461
    public void unsetSuccess() {
-
 
35462
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
35463
    }
-
 
35464
 
-
 
35465
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
35466
    public boolean isSetSuccess() {
-
 
35467
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
35468
    }
-
 
35469
 
-
 
35470
    public void setSuccessIsSet(boolean value) {
-
 
35471
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
35472
    }
-
 
35473
 
-
 
35474
    public void setFieldValue(_Fields field, Object value) {
-
 
35475
      switch (field) {
-
 
35476
      case SUCCESS:
-
 
35477
        if (value == null) {
-
 
35478
          unsetSuccess();
-
 
35479
        } else {
-
 
35480
          setSuccess((Boolean)value);
-
 
35481
        }
-
 
35482
        break;
-
 
35483
 
-
 
35484
      }
-
 
35485
    }
-
 
35486
 
-
 
35487
    public Object getFieldValue(_Fields field) {
-
 
35488
      switch (field) {
-
 
35489
      case SUCCESS:
-
 
35490
        return Boolean.valueOf(isSuccess());
-
 
35491
 
-
 
35492
      }
-
 
35493
      throw new IllegalStateException();
-
 
35494
    }
-
 
35495
 
-
 
35496
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35497
    public boolean isSet(_Fields field) {
-
 
35498
      if (field == null) {
-
 
35499
        throw new IllegalArgumentException();
-
 
35500
      }
-
 
35501
 
-
 
35502
      switch (field) {
-
 
35503
      case SUCCESS:
-
 
35504
        return isSetSuccess();
-
 
35505
      }
-
 
35506
      throw new IllegalStateException();
-
 
35507
    }
-
 
35508
 
-
 
35509
    @Override
-
 
35510
    public boolean equals(Object that) {
-
 
35511
      if (that == null)
-
 
35512
        return false;
-
 
35513
      if (that instanceof addBanner_result)
-
 
35514
        return this.equals((addBanner_result)that);
-
 
35515
      return false;
-
 
35516
    }
-
 
35517
 
-
 
35518
    public boolean equals(addBanner_result that) {
-
 
35519
      if (that == null)
-
 
35520
        return false;
-
 
35521
 
-
 
35522
      boolean this_present_success = true;
-
 
35523
      boolean that_present_success = true;
-
 
35524
      if (this_present_success || that_present_success) {
-
 
35525
        if (!(this_present_success && that_present_success))
-
 
35526
          return false;
-
 
35527
        if (this.success != that.success)
-
 
35528
          return false;
-
 
35529
      }
-
 
35530
 
-
 
35531
      return true;
-
 
35532
    }
-
 
35533
 
-
 
35534
    @Override
-
 
35535
    public int hashCode() {
-
 
35536
      return 0;
-
 
35537
    }
-
 
35538
 
-
 
35539
    public int compareTo(addBanner_result other) {
-
 
35540
      if (!getClass().equals(other.getClass())) {
-
 
35541
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35542
      }
-
 
35543
 
-
 
35544
      int lastComparison = 0;
-
 
35545
      addBanner_result typedOther = (addBanner_result)other;
-
 
35546
 
-
 
35547
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
35548
      if (lastComparison != 0) {
-
 
35549
        return lastComparison;
-
 
35550
      }
-
 
35551
      if (isSetSuccess()) {
-
 
35552
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
35553
        if (lastComparison != 0) {
-
 
35554
          return lastComparison;
-
 
35555
        }
-
 
35556
      }
-
 
35557
      return 0;
-
 
35558
    }
-
 
35559
 
-
 
35560
    public _Fields fieldForId(int fieldId) {
-
 
35561
      return _Fields.findByThriftId(fieldId);
-
 
35562
    }
-
 
35563
 
-
 
35564
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35565
      org.apache.thrift.protocol.TField field;
-
 
35566
      iprot.readStructBegin();
-
 
35567
      while (true)
-
 
35568
      {
-
 
35569
        field = iprot.readFieldBegin();
-
 
35570
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35571
          break;
-
 
35572
        }
-
 
35573
        switch (field.id) {
-
 
35574
          case 0: // SUCCESS
-
 
35575
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
35576
              this.success = iprot.readBool();
-
 
35577
              setSuccessIsSet(true);
-
 
35578
            } else { 
-
 
35579
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35580
            }
-
 
35581
            break;
-
 
35582
          default:
-
 
35583
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35584
        }
-
 
35585
        iprot.readFieldEnd();
-
 
35586
      }
-
 
35587
      iprot.readStructEnd();
-
 
35588
      validate();
-
 
35589
    }
-
 
35590
 
-
 
35591
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35592
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35593
 
-
 
35594
      if (this.isSetSuccess()) {
-
 
35595
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
35596
        oprot.writeBool(this.success);
-
 
35597
        oprot.writeFieldEnd();
-
 
35598
      }
-
 
35599
      oprot.writeFieldStop();
-
 
35600
      oprot.writeStructEnd();
-
 
35601
    }
-
 
35602
 
-
 
35603
    @Override
-
 
35604
    public String toString() {
-
 
35605
      StringBuilder sb = new StringBuilder("addBanner_result(");
-
 
35606
      boolean first = true;
-
 
35607
 
-
 
35608
      sb.append("success:");
-
 
35609
      sb.append(this.success);
-
 
35610
      first = false;
-
 
35611
      sb.append(")");
-
 
35612
      return sb.toString();
-
 
35613
    }
-
 
35614
 
-
 
35615
    public void validate() throws org.apache.thrift.TException {
-
 
35616
      // check for required fields
-
 
35617
    }
-
 
35618
 
-
 
35619
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35620
      try {
-
 
35621
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35622
      } catch (org.apache.thrift.TException te) {
-
 
35623
        throw new java.io.IOException(te);
-
 
35624
      }
-
 
35625
    }
-
 
35626
 
-
 
35627
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35628
      try {
-
 
35629
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35630
      } catch (org.apache.thrift.TException te) {
-
 
35631
        throw new java.io.IOException(te);
-
 
35632
      }
-
 
35633
    }
-
 
35634
 
-
 
35635
  }
-
 
35636
 
-
 
35637
  public static class getAllBanners_args implements org.apache.thrift.TBase<getAllBanners_args, getAllBanners_args._Fields>, java.io.Serializable, Cloneable   {
-
 
35638
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllBanners_args");
-
 
35639
 
-
 
35640
 
-
 
35641
 
-
 
35642
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35643
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35644
;
-
 
35645
 
-
 
35646
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35647
 
-
 
35648
      static {
-
 
35649
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35650
          byName.put(field.getFieldName(), field);
-
 
35651
        }
-
 
35652
      }
-
 
35653
 
-
 
35654
      /**
-
 
35655
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35656
       */
-
 
35657
      public static _Fields findByThriftId(int fieldId) {
-
 
35658
        switch(fieldId) {
-
 
35659
          default:
-
 
35660
            return null;
-
 
35661
        }
-
 
35662
      }
-
 
35663
 
-
 
35664
      /**
-
 
35665
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35666
       * if it is not found.
-
 
35667
       */
-
 
35668
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35669
        _Fields fields = findByThriftId(fieldId);
-
 
35670
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35671
        return fields;
-
 
35672
      }
-
 
35673
 
-
 
35674
      /**
-
 
35675
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35676
       */
-
 
35677
      public static _Fields findByName(String name) {
-
 
35678
        return byName.get(name);
-
 
35679
      }
-
 
35680
 
-
 
35681
      private final short _thriftId;
-
 
35682
      private final String _fieldName;
-
 
35683
 
-
 
35684
      _Fields(short thriftId, String fieldName) {
-
 
35685
        _thriftId = thriftId;
-
 
35686
        _fieldName = fieldName;
-
 
35687
      }
-
 
35688
 
-
 
35689
      public short getThriftFieldId() {
-
 
35690
        return _thriftId;
-
 
35691
      }
-
 
35692
 
-
 
35693
      public String getFieldName() {
-
 
35694
        return _fieldName;
-
 
35695
      }
-
 
35696
    }
-
 
35697
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35698
    static {
-
 
35699
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35700
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35701
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllBanners_args.class, metaDataMap);
-
 
35702
    }
-
 
35703
 
-
 
35704
    public getAllBanners_args() {
-
 
35705
    }
-
 
35706
 
-
 
35707
    /**
-
 
35708
     * Performs a deep copy on <i>other</i>.
-
 
35709
     */
-
 
35710
    public getAllBanners_args(getAllBanners_args other) {
-
 
35711
    }
-
 
35712
 
-
 
35713
    public getAllBanners_args deepCopy() {
-
 
35714
      return new getAllBanners_args(this);
-
 
35715
    }
-
 
35716
 
-
 
35717
    @Override
-
 
35718
    public void clear() {
-
 
35719
    }
-
 
35720
 
-
 
35721
    public void setFieldValue(_Fields field, Object value) {
-
 
35722
      switch (field) {
-
 
35723
      }
-
 
35724
    }
-
 
35725
 
-
 
35726
    public Object getFieldValue(_Fields field) {
-
 
35727
      switch (field) {
-
 
35728
      }
-
 
35729
      throw new IllegalStateException();
-
 
35730
    }
-
 
35731
 
-
 
35732
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
35733
    public boolean isSet(_Fields field) {
-
 
35734
      if (field == null) {
-
 
35735
        throw new IllegalArgumentException();
-
 
35736
      }
-
 
35737
 
-
 
35738
      switch (field) {
-
 
35739
      }
-
 
35740
      throw new IllegalStateException();
-
 
35741
    }
-
 
35742
 
-
 
35743
    @Override
-
 
35744
    public boolean equals(Object that) {
-
 
35745
      if (that == null)
-
 
35746
        return false;
-
 
35747
      if (that instanceof getAllBanners_args)
-
 
35748
        return this.equals((getAllBanners_args)that);
-
 
35749
      return false;
-
 
35750
    }
-
 
35751
 
-
 
35752
    public boolean equals(getAllBanners_args that) {
-
 
35753
      if (that == null)
-
 
35754
        return false;
-
 
35755
 
-
 
35756
      return true;
-
 
35757
    }
-
 
35758
 
-
 
35759
    @Override
-
 
35760
    public int hashCode() {
-
 
35761
      return 0;
-
 
35762
    }
-
 
35763
 
-
 
35764
    public int compareTo(getAllBanners_args other) {
-
 
35765
      if (!getClass().equals(other.getClass())) {
-
 
35766
        return getClass().getName().compareTo(other.getClass().getName());
-
 
35767
      }
-
 
35768
 
-
 
35769
      int lastComparison = 0;
-
 
35770
      getAllBanners_args typedOther = (getAllBanners_args)other;
-
 
35771
 
-
 
35772
      return 0;
-
 
35773
    }
-
 
35774
 
-
 
35775
    public _Fields fieldForId(int fieldId) {
-
 
35776
      return _Fields.findByThriftId(fieldId);
-
 
35777
    }
-
 
35778
 
-
 
35779
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
35780
      org.apache.thrift.protocol.TField field;
-
 
35781
      iprot.readStructBegin();
-
 
35782
      while (true)
-
 
35783
      {
-
 
35784
        field = iprot.readFieldBegin();
-
 
35785
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
35786
          break;
-
 
35787
        }
-
 
35788
        switch (field.id) {
-
 
35789
          default:
-
 
35790
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
35791
        }
-
 
35792
        iprot.readFieldEnd();
-
 
35793
      }
-
 
35794
      iprot.readStructEnd();
-
 
35795
      validate();
-
 
35796
    }
-
 
35797
 
-
 
35798
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
35799
      validate();
-
 
35800
 
-
 
35801
      oprot.writeStructBegin(STRUCT_DESC);
-
 
35802
      oprot.writeFieldStop();
-
 
35803
      oprot.writeStructEnd();
-
 
35804
    }
-
 
35805
 
-
 
35806
    @Override
-
 
35807
    public String toString() {
-
 
35808
      StringBuilder sb = new StringBuilder("getAllBanners_args(");
-
 
35809
      boolean first = true;
-
 
35810
 
-
 
35811
      sb.append(")");
-
 
35812
      return sb.toString();
-
 
35813
    }
-
 
35814
 
-
 
35815
    public void validate() throws org.apache.thrift.TException {
-
 
35816
      // check for required fields
-
 
35817
    }
-
 
35818
 
-
 
35819
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
35820
      try {
-
 
35821
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
35822
      } catch (org.apache.thrift.TException te) {
-
 
35823
        throw new java.io.IOException(te);
-
 
35824
      }
-
 
35825
    }
-
 
35826
 
-
 
35827
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
35828
      try {
-
 
35829
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
35830
      } catch (org.apache.thrift.TException te) {
-
 
35831
        throw new java.io.IOException(te);
-
 
35832
      }
-
 
35833
    }
-
 
35834
 
-
 
35835
  }
-
 
35836
 
-
 
35837
  public static class getAllBanners_result implements org.apache.thrift.TBase<getAllBanners_result, getAllBanners_result._Fields>, java.io.Serializable, Cloneable   {
-
 
35838
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllBanners_result");
-
 
35839
 
-
 
35840
    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);
-
 
35841
 
-
 
35842
    private List<String> success; // required
-
 
35843
 
-
 
35844
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
35845
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
35846
      SUCCESS((short)0, "success");
-
 
35847
 
-
 
35848
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
35849
 
-
 
35850
      static {
-
 
35851
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
35852
          byName.put(field.getFieldName(), field);
-
 
35853
        }
-
 
35854
      }
-
 
35855
 
-
 
35856
      /**
-
 
35857
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
35858
       */
-
 
35859
      public static _Fields findByThriftId(int fieldId) {
-
 
35860
        switch(fieldId) {
-
 
35861
          case 0: // SUCCESS
-
 
35862
            return SUCCESS;
-
 
35863
          default:
-
 
35864
            return null;
-
 
35865
        }
-
 
35866
      }
-
 
35867
 
-
 
35868
      /**
-
 
35869
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
35870
       * if it is not found.
-
 
35871
       */
-
 
35872
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
35873
        _Fields fields = findByThriftId(fieldId);
-
 
35874
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
35875
        return fields;
-
 
35876
      }
-
 
35877
 
-
 
35878
      /**
-
 
35879
       * Find the _Fields constant that matches name, or null if its not found.
-
 
35880
       */
-
 
35881
      public static _Fields findByName(String name) {
-
 
35882
        return byName.get(name);
-
 
35883
      }
-
 
35884
 
-
 
35885
      private final short _thriftId;
-
 
35886
      private final String _fieldName;
-
 
35887
 
-
 
35888
      _Fields(short thriftId, String fieldName) {
-
 
35889
        _thriftId = thriftId;
-
 
35890
        _fieldName = fieldName;
-
 
35891
      }
-
 
35892
 
-
 
35893
      public short getThriftFieldId() {
-
 
35894
        return _thriftId;
-
 
35895
      }
-
 
35896
 
-
 
35897
      public String getFieldName() {
-
 
35898
        return _fieldName;
-
 
35899
      }
-
 
35900
    }
-
 
35901
 
-
 
35902
    // isset id assignments
-
 
35903
 
-
 
35904
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
35905
    static {
-
 
35906
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
35907
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
35908
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
35909
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
35910
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
35911
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllBanners_result.class, metaDataMap);
-
 
35912
    }
-
 
35913
 
-
 
35914
    public getAllBanners_result() {
-
 
35915
    }
-
 
35916
 
-
 
35917
    public getAllBanners_result(
-
 
35918
      List<String> success)
-
 
35919
    {
-
 
35920
      this();
-
 
35921
      this.success = success;
-
 
35922
    }
-
 
35923
 
-
 
35924
    /**
-
 
35925
     * Performs a deep copy on <i>other</i>.
-
 
35926
     */
-
 
35927
    public getAllBanners_result(getAllBanners_result other) {
-
 
35928
      if (other.isSetSuccess()) {
-
 
35929
        List<String> __this__success = new ArrayList<String>();
-
 
35930
        for (String other_element : other.success) {
-
 
35931
          __this__success.add(other_element);
-
 
35932
        }
-
 
35933
        this.success = __this__success;
-
 
35934
      }
-
 
35935
    }
-
 
35936
 
-
 
35937
    public getAllBanners_result deepCopy() {
-
 
35938
      return new getAllBanners_result(this);
-
 
35939
    }
-
 
35940
 
-
 
35941
    @Override
-
 
35942
    public void clear() {
-
 
35943
      this.success = null;
-
 
35944
    }
-
 
35945
 
-
 
35946
    public int getSuccessSize() {
-
 
35947
      return (this.success == null) ? 0 : this.success.size();
-
 
35948
    }
-
 
35949
 
-
 
35950
    public java.util.Iterator<String> getSuccessIterator() {
-
 
35951
      return (this.success == null) ? null : this.success.iterator();
-
 
35952
    }
-
 
35953
 
-
 
35954
    public void addToSuccess(String elem) {
-
 
35955
      if (this.success == null) {
-
 
35956
        this.success = new ArrayList<String>();
-
 
35957
      }
-
 
35958
      this.success.add(elem);
-
 
35959
    }
-
 
35960
 
-
 
35961
    public List<String> getSuccess() {
-
 
35962
      return this.success;
-
 
35963
    }
-
 
35964
 
-
 
35965
    public void setSuccess(List<String> success) {
-
 
35966
      this.success = success;
-
 
35967
    }
-
 
35968
 
-
 
35969
    public void unsetSuccess() {
-
 
35970
      this.success = null;
-
 
35971
    }
-
 
35972
 
-
 
35973
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
35974
    public boolean isSetSuccess() {
-
 
35975
      return this.success != null;
-
 
35976
    }
-
 
35977
 
-
 
35978
    public void setSuccessIsSet(boolean value) {
-
 
35979
      if (!value) {
-
 
35980
        this.success = null;
-
 
35981
      }
-
 
35982
    }
-
 
35983
 
-
 
35984
    public void setFieldValue(_Fields field, Object value) {
-
 
35985
      switch (field) {
-
 
35986
      case SUCCESS:
-
 
35987
        if (value == null) {
-
 
35988
          unsetSuccess();
-
 
35989
        } else {
-
 
35990
          setSuccess((List<String>)value);
-
 
35991
        }
-
 
35992
        break;
-
 
35993
 
-
 
35994
      }
-
 
35995
    }
-
 
35996
 
-
 
35997
    public Object getFieldValue(_Fields field) {
-
 
35998
      switch (field) {
-
 
35999
      case SUCCESS:
-
 
36000
        return getSuccess();
-
 
36001
 
-
 
36002
      }
-
 
36003
      throw new IllegalStateException();
-
 
36004
    }
-
 
36005
 
-
 
36006
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
36007
    public boolean isSet(_Fields field) {
-
 
36008
      if (field == null) {
-
 
36009
        throw new IllegalArgumentException();
-
 
36010
      }
-
 
36011
 
-
 
36012
      switch (field) {
-
 
36013
      case SUCCESS:
-
 
36014
        return isSetSuccess();
-
 
36015
      }
-
 
36016
      throw new IllegalStateException();
-
 
36017
    }
-
 
36018
 
-
 
36019
    @Override
-
 
36020
    public boolean equals(Object that) {
-
 
36021
      if (that == null)
-
 
36022
        return false;
-
 
36023
      if (that instanceof getAllBanners_result)
-
 
36024
        return this.equals((getAllBanners_result)that);
-
 
36025
      return false;
-
 
36026
    }
-
 
36027
 
-
 
36028
    public boolean equals(getAllBanners_result that) {
-
 
36029
      if (that == null)
-
 
36030
        return false;
-
 
36031
 
-
 
36032
      boolean this_present_success = true && this.isSetSuccess();
-
 
36033
      boolean that_present_success = true && that.isSetSuccess();
-
 
36034
      if (this_present_success || that_present_success) {
-
 
36035
        if (!(this_present_success && that_present_success))
-
 
36036
          return false;
-
 
36037
        if (!this.success.equals(that.success))
-
 
36038
          return false;
-
 
36039
      }
-
 
36040
 
-
 
36041
      return true;
-
 
36042
    }
-
 
36043
 
-
 
36044
    @Override
-
 
36045
    public int hashCode() {
-
 
36046
      return 0;
-
 
36047
    }
-
 
36048
 
-
 
36049
    public int compareTo(getAllBanners_result other) {
-
 
36050
      if (!getClass().equals(other.getClass())) {
-
 
36051
        return getClass().getName().compareTo(other.getClass().getName());
-
 
36052
      }
-
 
36053
 
-
 
36054
      int lastComparison = 0;
-
 
36055
      getAllBanners_result typedOther = (getAllBanners_result)other;
-
 
36056
 
-
 
36057
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
36058
      if (lastComparison != 0) {
-
 
36059
        return lastComparison;
-
 
36060
      }
-
 
36061
      if (isSetSuccess()) {
-
 
36062
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
36063
        if (lastComparison != 0) {
-
 
36064
          return lastComparison;
-
 
36065
        }
-
 
36066
      }
-
 
36067
      return 0;
-
 
36068
    }
-
 
36069
 
-
 
36070
    public _Fields fieldForId(int fieldId) {
-
 
36071
      return _Fields.findByThriftId(fieldId);
-
 
36072
    }
-
 
36073
 
-
 
36074
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
36075
      org.apache.thrift.protocol.TField field;
-
 
36076
      iprot.readStructBegin();
-
 
36077
      while (true)
-
 
36078
      {
-
 
36079
        field = iprot.readFieldBegin();
-
 
36080
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
36081
          break;
-
 
36082
        }
-
 
36083
        switch (field.id) {
-
 
36084
          case 0: // SUCCESS
-
 
36085
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
36086
              {
-
 
36087
                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
-
 
36088
                this.success = new ArrayList<String>(_list94.size);
-
 
36089
                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
-
 
36090
                {
-
 
36091
                  String _elem96; // required
-
 
36092
                  _elem96 = iprot.readString();
-
 
36093
                  this.success.add(_elem96);
-
 
36094
                }
-
 
36095
                iprot.readListEnd();
-
 
36096
              }
-
 
36097
            } else { 
-
 
36098
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36099
            }
-
 
36100
            break;
-
 
36101
          default:
-
 
36102
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36103
        }
-
 
36104
        iprot.readFieldEnd();
-
 
36105
      }
-
 
36106
      iprot.readStructEnd();
-
 
36107
      validate();
-
 
36108
    }
-
 
36109
 
-
 
36110
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
36111
      oprot.writeStructBegin(STRUCT_DESC);
-
 
36112
 
-
 
36113
      if (this.isSetSuccess()) {
-
 
36114
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
36115
        {
-
 
36116
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
-
 
36117
          for (String _iter97 : this.success)
-
 
36118
          {
-
 
36119
            oprot.writeString(_iter97);
-
 
36120
          }
-
 
36121
          oprot.writeListEnd();
-
 
36122
        }
-
 
36123
        oprot.writeFieldEnd();
-
 
36124
      }
-
 
36125
      oprot.writeFieldStop();
-
 
36126
      oprot.writeStructEnd();
-
 
36127
    }
-
 
36128
 
-
 
36129
    @Override
-
 
36130
    public String toString() {
-
 
36131
      StringBuilder sb = new StringBuilder("getAllBanners_result(");
-
 
36132
      boolean first = true;
-
 
36133
 
-
 
36134
      sb.append("success:");
-
 
36135
      if (this.success == null) {
-
 
36136
        sb.append("null");
-
 
36137
      } else {
-
 
36138
        sb.append(this.success);
-
 
36139
      }
-
 
36140
      first = false;
-
 
36141
      sb.append(")");
-
 
36142
      return sb.toString();
-
 
36143
    }
-
 
36144
 
-
 
36145
    public void validate() throws org.apache.thrift.TException {
-
 
36146
      // check for required fields
-
 
36147
    }
-
 
36148
 
-
 
36149
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
36150
      try {
-
 
36151
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
36152
      } catch (org.apache.thrift.TException te) {
-
 
36153
        throw new java.io.IOException(te);
-
 
36154
      }
-
 
36155
    }
-
 
36156
 
-
 
36157
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
36158
      try {
-
 
36159
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
36160
      } catch (org.apache.thrift.TException te) {
-
 
36161
        throw new java.io.IOException(te);
-
 
36162
      }
-
 
36163
    }
-
 
36164
 
-
 
36165
  }
-
 
36166
 
-
 
36167
  public static class deleteBanner_args implements org.apache.thrift.TBase<deleteBanner_args, deleteBanner_args._Fields>, java.io.Serializable, Cloneable   {
-
 
36168
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteBanner_args");
-
 
36169
 
-
 
36170
    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);
-
 
36171
 
-
 
36172
    private String bannerName; // required
-
 
36173
 
-
 
36174
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
36175
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
36176
      BANNER_NAME((short)1, "bannerName");
-
 
36177
 
-
 
36178
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
36179
 
-
 
36180
      static {
-
 
36181
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
36182
          byName.put(field.getFieldName(), field);
-
 
36183
        }
-
 
36184
      }
-
 
36185
 
-
 
36186
      /**
-
 
36187
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
36188
       */
-
 
36189
      public static _Fields findByThriftId(int fieldId) {
-
 
36190
        switch(fieldId) {
-
 
36191
          case 1: // BANNER_NAME
-
 
36192
            return BANNER_NAME;
-
 
36193
          default:
-
 
36194
            return null;
-
 
36195
        }
-
 
36196
      }
-
 
36197
 
-
 
36198
      /**
-
 
36199
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
36200
       * if it is not found.
-
 
36201
       */
-
 
36202
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
36203
        _Fields fields = findByThriftId(fieldId);
-
 
36204
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
36205
        return fields;
-
 
36206
      }
-
 
36207
 
-
 
36208
      /**
-
 
36209
       * Find the _Fields constant that matches name, or null if its not found.
-
 
36210
       */
-
 
36211
      public static _Fields findByName(String name) {
-
 
36212
        return byName.get(name);
-
 
36213
      }
-
 
36214
 
-
 
36215
      private final short _thriftId;
-
 
36216
      private final String _fieldName;
-
 
36217
 
-
 
36218
      _Fields(short thriftId, String fieldName) {
-
 
36219
        _thriftId = thriftId;
-
 
36220
        _fieldName = fieldName;
-
 
36221
      }
-
 
36222
 
-
 
36223
      public short getThriftFieldId() {
-
 
36224
        return _thriftId;
-
 
36225
      }
-
 
36226
 
-
 
36227
      public String getFieldName() {
-
 
36228
        return _fieldName;
-
 
36229
      }
-
 
36230
    }
-
 
36231
 
-
 
36232
    // isset id assignments
-
 
36233
 
-
 
36234
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
36235
    static {
-
 
36236
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
36237
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
36238
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
36239
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
36240
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteBanner_args.class, metaDataMap);
-
 
36241
    }
-
 
36242
 
-
 
36243
    public deleteBanner_args() {
-
 
36244
    }
-
 
36245
 
-
 
36246
    public deleteBanner_args(
-
 
36247
      String bannerName)
-
 
36248
    {
-
 
36249
      this();
-
 
36250
      this.bannerName = bannerName;
-
 
36251
    }
-
 
36252
 
-
 
36253
    /**
-
 
36254
     * Performs a deep copy on <i>other</i>.
-
 
36255
     */
-
 
36256
    public deleteBanner_args(deleteBanner_args other) {
-
 
36257
      if (other.isSetBannerName()) {
-
 
36258
        this.bannerName = other.bannerName;
-
 
36259
      }
-
 
36260
    }
-
 
36261
 
-
 
36262
    public deleteBanner_args deepCopy() {
-
 
36263
      return new deleteBanner_args(this);
-
 
36264
    }
-
 
36265
 
-
 
36266
    @Override
-
 
36267
    public void clear() {
-
 
36268
      this.bannerName = null;
-
 
36269
    }
-
 
36270
 
-
 
36271
    public String getBannerName() {
-
 
36272
      return this.bannerName;
-
 
36273
    }
-
 
36274
 
-
 
36275
    public void setBannerName(String bannerName) {
-
 
36276
      this.bannerName = bannerName;
-
 
36277
    }
-
 
36278
 
-
 
36279
    public void unsetBannerName() {
-
 
36280
      this.bannerName = null;
-
 
36281
    }
-
 
36282
 
-
 
36283
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
36284
    public boolean isSetBannerName() {
-
 
36285
      return this.bannerName != null;
-
 
36286
    }
-
 
36287
 
-
 
36288
    public void setBannerNameIsSet(boolean value) {
-
 
36289
      if (!value) {
-
 
36290
        this.bannerName = null;
-
 
36291
      }
-
 
36292
    }
-
 
36293
 
-
 
36294
    public void setFieldValue(_Fields field, Object value) {
-
 
36295
      switch (field) {
-
 
36296
      case BANNER_NAME:
-
 
36297
        if (value == null) {
-
 
36298
          unsetBannerName();
-
 
36299
        } else {
-
 
36300
          setBannerName((String)value);
-
 
36301
        }
-
 
36302
        break;
-
 
36303
 
-
 
36304
      }
-
 
36305
    }
-
 
36306
 
-
 
36307
    public Object getFieldValue(_Fields field) {
-
 
36308
      switch (field) {
-
 
36309
      case BANNER_NAME:
-
 
36310
        return getBannerName();
-
 
36311
 
-
 
36312
      }
-
 
36313
      throw new IllegalStateException();
-
 
36314
    }
-
 
36315
 
-
 
36316
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
36317
    public boolean isSet(_Fields field) {
-
 
36318
      if (field == null) {
-
 
36319
        throw new IllegalArgumentException();
-
 
36320
      }
-
 
36321
 
-
 
36322
      switch (field) {
-
 
36323
      case BANNER_NAME:
-
 
36324
        return isSetBannerName();
-
 
36325
      }
-
 
36326
      throw new IllegalStateException();
-
 
36327
    }
-
 
36328
 
-
 
36329
    @Override
-
 
36330
    public boolean equals(Object that) {
-
 
36331
      if (that == null)
-
 
36332
        return false;
-
 
36333
      if (that instanceof deleteBanner_args)
-
 
36334
        return this.equals((deleteBanner_args)that);
-
 
36335
      return false;
-
 
36336
    }
-
 
36337
 
-
 
36338
    public boolean equals(deleteBanner_args that) {
-
 
36339
      if (that == null)
-
 
36340
        return false;
-
 
36341
 
-
 
36342
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
36343
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
36344
      if (this_present_bannerName || that_present_bannerName) {
-
 
36345
        if (!(this_present_bannerName && that_present_bannerName))
-
 
36346
          return false;
-
 
36347
        if (!this.bannerName.equals(that.bannerName))
-
 
36348
          return false;
-
 
36349
      }
-
 
36350
 
-
 
36351
      return true;
-
 
36352
    }
-
 
36353
 
-
 
36354
    @Override
-
 
36355
    public int hashCode() {
-
 
36356
      return 0;
-
 
36357
    }
-
 
36358
 
-
 
36359
    public int compareTo(deleteBanner_args other) {
-
 
36360
      if (!getClass().equals(other.getClass())) {
-
 
36361
        return getClass().getName().compareTo(other.getClass().getName());
-
 
36362
      }
-
 
36363
 
-
 
36364
      int lastComparison = 0;
-
 
36365
      deleteBanner_args typedOther = (deleteBanner_args)other;
-
 
36366
 
-
 
36367
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
-
 
36368
      if (lastComparison != 0) {
-
 
36369
        return lastComparison;
-
 
36370
      }
-
 
36371
      if (isSetBannerName()) {
-
 
36372
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
-
 
36373
        if (lastComparison != 0) {
-
 
36374
          return lastComparison;
-
 
36375
        }
-
 
36376
      }
-
 
36377
      return 0;
-
 
36378
    }
-
 
36379
 
-
 
36380
    public _Fields fieldForId(int fieldId) {
-
 
36381
      return _Fields.findByThriftId(fieldId);
-
 
36382
    }
-
 
36383
 
-
 
36384
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
36385
      org.apache.thrift.protocol.TField field;
-
 
36386
      iprot.readStructBegin();
-
 
36387
      while (true)
-
 
36388
      {
-
 
36389
        field = iprot.readFieldBegin();
-
 
36390
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
36391
          break;
-
 
36392
        }
-
 
36393
        switch (field.id) {
-
 
36394
          case 1: // BANNER_NAME
-
 
36395
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
36396
              this.bannerName = iprot.readString();
-
 
36397
            } else { 
-
 
36398
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36399
            }
-
 
36400
            break;
-
 
36401
          default:
-
 
36402
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36403
        }
-
 
36404
        iprot.readFieldEnd();
-
 
36405
      }
-
 
36406
      iprot.readStructEnd();
-
 
36407
      validate();
-
 
36408
    }
-
 
36409
 
-
 
36410
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
36411
      validate();
-
 
36412
 
-
 
36413
      oprot.writeStructBegin(STRUCT_DESC);
-
 
36414
      if (this.bannerName != null) {
-
 
36415
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
-
 
36416
        oprot.writeString(this.bannerName);
-
 
36417
        oprot.writeFieldEnd();
-
 
36418
      }
-
 
36419
      oprot.writeFieldStop();
-
 
36420
      oprot.writeStructEnd();
-
 
36421
    }
-
 
36422
 
-
 
36423
    @Override
-
 
36424
    public String toString() {
-
 
36425
      StringBuilder sb = new StringBuilder("deleteBanner_args(");
-
 
36426
      boolean first = true;
-
 
36427
 
-
 
36428
      sb.append("bannerName:");
-
 
36429
      if (this.bannerName == null) {
-
 
36430
        sb.append("null");
-
 
36431
      } else {
-
 
36432
        sb.append(this.bannerName);
-
 
36433
      }
-
 
36434
      first = false;
-
 
36435
      sb.append(")");
-
 
36436
      return sb.toString();
-
 
36437
    }
-
 
36438
 
-
 
36439
    public void validate() throws org.apache.thrift.TException {
-
 
36440
      // check for required fields
-
 
36441
    }
-
 
36442
 
-
 
36443
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
36444
      try {
-
 
36445
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
36446
      } catch (org.apache.thrift.TException te) {
-
 
36447
        throw new java.io.IOException(te);
-
 
36448
      }
-
 
36449
    }
-
 
36450
 
-
 
36451
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
36452
      try {
-
 
36453
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
36454
      } catch (org.apache.thrift.TException te) {
-
 
36455
        throw new java.io.IOException(te);
-
 
36456
      }
-
 
36457
    }
-
 
36458
 
-
 
36459
  }
-
 
36460
 
-
 
36461
  public static class deleteBanner_result implements org.apache.thrift.TBase<deleteBanner_result, deleteBanner_result._Fields>, java.io.Serializable, Cloneable   {
-
 
36462
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteBanner_result");
-
 
36463
 
-
 
36464
    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);
-
 
36465
 
-
 
36466
    private boolean success; // required
-
 
36467
 
-
 
36468
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
36469
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
36470
      SUCCESS((short)0, "success");
-
 
36471
 
-
 
36472
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
36473
 
-
 
36474
      static {
-
 
36475
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
36476
          byName.put(field.getFieldName(), field);
-
 
36477
        }
-
 
36478
      }
-
 
36479
 
-
 
36480
      /**
-
 
36481
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
36482
       */
-
 
36483
      public static _Fields findByThriftId(int fieldId) {
-
 
36484
        switch(fieldId) {
-
 
36485
          case 0: // SUCCESS
-
 
36486
            return SUCCESS;
-
 
36487
          default:
-
 
36488
            return null;
-
 
36489
        }
-
 
36490
      }
-
 
36491
 
-
 
36492
      /**
-
 
36493
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
36494
       * if it is not found.
-
 
36495
       */
-
 
36496
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
36497
        _Fields fields = findByThriftId(fieldId);
-
 
36498
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
36499
        return fields;
-
 
36500
      }
-
 
36501
 
-
 
36502
      /**
-
 
36503
       * Find the _Fields constant that matches name, or null if its not found.
-
 
36504
       */
-
 
36505
      public static _Fields findByName(String name) {
-
 
36506
        return byName.get(name);
-
 
36507
      }
-
 
36508
 
-
 
36509
      private final short _thriftId;
-
 
36510
      private final String _fieldName;
-
 
36511
 
-
 
36512
      _Fields(short thriftId, String fieldName) {
-
 
36513
        _thriftId = thriftId;
-
 
36514
        _fieldName = fieldName;
-
 
36515
      }
-
 
36516
 
-
 
36517
      public short getThriftFieldId() {
-
 
36518
        return _thriftId;
-
 
36519
      }
-
 
36520
 
-
 
36521
      public String getFieldName() {
-
 
36522
        return _fieldName;
-
 
36523
      }
-
 
36524
    }
-
 
36525
 
-
 
36526
    // isset id assignments
-
 
36527
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
36528
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
36529
 
-
 
36530
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
36531
    static {
-
 
36532
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
36533
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
36534
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
36535
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
36536
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteBanner_result.class, metaDataMap);
-
 
36537
    }
-
 
36538
 
-
 
36539
    public deleteBanner_result() {
-
 
36540
    }
-
 
36541
 
-
 
36542
    public deleteBanner_result(
-
 
36543
      boolean success)
-
 
36544
    {
-
 
36545
      this();
-
 
36546
      this.success = success;
-
 
36547
      setSuccessIsSet(true);
-
 
36548
    }
-
 
36549
 
-
 
36550
    /**
-
 
36551
     * Performs a deep copy on <i>other</i>.
-
 
36552
     */
-
 
36553
    public deleteBanner_result(deleteBanner_result other) {
-
 
36554
      __isset_bit_vector.clear();
-
 
36555
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
36556
      this.success = other.success;
-
 
36557
    }
-
 
36558
 
-
 
36559
    public deleteBanner_result deepCopy() {
-
 
36560
      return new deleteBanner_result(this);
-
 
36561
    }
-
 
36562
 
-
 
36563
    @Override
-
 
36564
    public void clear() {
-
 
36565
      setSuccessIsSet(false);
-
 
36566
      this.success = false;
-
 
36567
    }
-
 
36568
 
-
 
36569
    public boolean isSuccess() {
-
 
36570
      return this.success;
-
 
36571
    }
-
 
36572
 
-
 
36573
    public void setSuccess(boolean success) {
-
 
36574
      this.success = success;
-
 
36575
      setSuccessIsSet(true);
-
 
36576
    }
-
 
36577
 
-
 
36578
    public void unsetSuccess() {
-
 
36579
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
36580
    }
-
 
36581
 
-
 
36582
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
36583
    public boolean isSetSuccess() {
-
 
36584
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
36585
    }
-
 
36586
 
-
 
36587
    public void setSuccessIsSet(boolean value) {
-
 
36588
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
36589
    }
-
 
36590
 
-
 
36591
    public void setFieldValue(_Fields field, Object value) {
-
 
36592
      switch (field) {
-
 
36593
      case SUCCESS:
-
 
36594
        if (value == null) {
-
 
36595
          unsetSuccess();
-
 
36596
        } else {
-
 
36597
          setSuccess((Boolean)value);
-
 
36598
        }
-
 
36599
        break;
-
 
36600
 
-
 
36601
      }
-
 
36602
    }
-
 
36603
 
-
 
36604
    public Object getFieldValue(_Fields field) {
-
 
36605
      switch (field) {
-
 
36606
      case SUCCESS:
-
 
36607
        return Boolean.valueOf(isSuccess());
-
 
36608
 
-
 
36609
      }
-
 
36610
      throw new IllegalStateException();
-
 
36611
    }
-
 
36612
 
-
 
36613
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
36614
    public boolean isSet(_Fields field) {
-
 
36615
      if (field == null) {
-
 
36616
        throw new IllegalArgumentException();
-
 
36617
      }
-
 
36618
 
-
 
36619
      switch (field) {
-
 
36620
      case SUCCESS:
-
 
36621
        return isSetSuccess();
-
 
36622
      }
-
 
36623
      throw new IllegalStateException();
-
 
36624
    }
-
 
36625
 
-
 
36626
    @Override
-
 
36627
    public boolean equals(Object that) {
-
 
36628
      if (that == null)
-
 
36629
        return false;
-
 
36630
      if (that instanceof deleteBanner_result)
-
 
36631
        return this.equals((deleteBanner_result)that);
-
 
36632
      return false;
-
 
36633
    }
-
 
36634
 
-
 
36635
    public boolean equals(deleteBanner_result that) {
-
 
36636
      if (that == null)
-
 
36637
        return false;
-
 
36638
 
-
 
36639
      boolean this_present_success = true;
-
 
36640
      boolean that_present_success = true;
-
 
36641
      if (this_present_success || that_present_success) {
-
 
36642
        if (!(this_present_success && that_present_success))
-
 
36643
          return false;
-
 
36644
        if (this.success != that.success)
-
 
36645
          return false;
-
 
36646
      }
-
 
36647
 
-
 
36648
      return true;
-
 
36649
    }
-
 
36650
 
-
 
36651
    @Override
-
 
36652
    public int hashCode() {
-
 
36653
      return 0;
-
 
36654
    }
-
 
36655
 
-
 
36656
    public int compareTo(deleteBanner_result other) {
-
 
36657
      if (!getClass().equals(other.getClass())) {
-
 
36658
        return getClass().getName().compareTo(other.getClass().getName());
-
 
36659
      }
-
 
36660
 
-
 
36661
      int lastComparison = 0;
-
 
36662
      deleteBanner_result typedOther = (deleteBanner_result)other;
-
 
36663
 
-
 
36664
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
36665
      if (lastComparison != 0) {
-
 
36666
        return lastComparison;
-
 
36667
      }
-
 
36668
      if (isSetSuccess()) {
-
 
36669
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
36670
        if (lastComparison != 0) {
-
 
36671
          return lastComparison;
-
 
36672
        }
-
 
36673
      }
-
 
36674
      return 0;
-
 
36675
    }
-
 
36676
 
-
 
36677
    public _Fields fieldForId(int fieldId) {
-
 
36678
      return _Fields.findByThriftId(fieldId);
-
 
36679
    }
-
 
36680
 
-
 
36681
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
36682
      org.apache.thrift.protocol.TField field;
-
 
36683
      iprot.readStructBegin();
-
 
36684
      while (true)
-
 
36685
      {
-
 
36686
        field = iprot.readFieldBegin();
-
 
36687
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
36688
          break;
-
 
36689
        }
-
 
36690
        switch (field.id) {
-
 
36691
          case 0: // SUCCESS
-
 
36692
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
36693
              this.success = iprot.readBool();
-
 
36694
              setSuccessIsSet(true);
-
 
36695
            } else { 
-
 
36696
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36697
            }
-
 
36698
            break;
-
 
36699
          default:
-
 
36700
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36701
        }
-
 
36702
        iprot.readFieldEnd();
-
 
36703
      }
-
 
36704
      iprot.readStructEnd();
-
 
36705
      validate();
-
 
36706
    }
-
 
36707
 
-
 
36708
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
36709
      oprot.writeStructBegin(STRUCT_DESC);
-
 
36710
 
-
 
36711
      if (this.isSetSuccess()) {
-
 
36712
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
36713
        oprot.writeBool(this.success);
-
 
36714
        oprot.writeFieldEnd();
-
 
36715
      }
-
 
36716
      oprot.writeFieldStop();
-
 
36717
      oprot.writeStructEnd();
-
 
36718
    }
-
 
36719
 
-
 
36720
    @Override
-
 
36721
    public String toString() {
-
 
36722
      StringBuilder sb = new StringBuilder("deleteBanner_result(");
-
 
36723
      boolean first = true;
-
 
36724
 
-
 
36725
      sb.append("success:");
-
 
36726
      sb.append(this.success);
-
 
36727
      first = false;
-
 
36728
      sb.append(")");
-
 
36729
      return sb.toString();
-
 
36730
    }
-
 
36731
 
-
 
36732
    public void validate() throws org.apache.thrift.TException {
-
 
36733
      // check for required fields
-
 
36734
    }
-
 
36735
 
-
 
36736
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
36737
      try {
-
 
36738
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
36739
      } catch (org.apache.thrift.TException te) {
-
 
36740
        throw new java.io.IOException(te);
-
 
36741
      }
-
 
36742
    }
-
 
36743
 
-
 
36744
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
36745
      try {
-
 
36746
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
36747
      } catch (org.apache.thrift.TException te) {
-
 
36748
        throw new java.io.IOException(te);
-
 
36749
      }
-
 
36750
    }
-
 
36751
 
-
 
36752
  }
-
 
36753
 
-
 
36754
  public static class getBannerDetails_args implements org.apache.thrift.TBase<getBannerDetails_args, getBannerDetails_args._Fields>, java.io.Serializable, Cloneable   {
-
 
36755
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerDetails_args");
-
 
36756
 
-
 
36757
    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);
-
 
36758
 
-
 
36759
    private String bannerName; // required
-
 
36760
 
-
 
36761
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
36762
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
36763
      BANNER_NAME((short)1, "bannerName");
-
 
36764
 
-
 
36765
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
36766
 
-
 
36767
      static {
-
 
36768
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
36769
          byName.put(field.getFieldName(), field);
-
 
36770
        }
-
 
36771
      }
-
 
36772
 
-
 
36773
      /**
-
 
36774
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
36775
       */
-
 
36776
      public static _Fields findByThriftId(int fieldId) {
-
 
36777
        switch(fieldId) {
-
 
36778
          case 1: // BANNER_NAME
-
 
36779
            return BANNER_NAME;
-
 
36780
          default:
-
 
36781
            return null;
-
 
36782
        }
-
 
36783
      }
-
 
36784
 
-
 
36785
      /**
-
 
36786
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
36787
       * if it is not found.
-
 
36788
       */
-
 
36789
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
36790
        _Fields fields = findByThriftId(fieldId);
-
 
36791
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
36792
        return fields;
-
 
36793
      }
-
 
36794
 
-
 
36795
      /**
-
 
36796
       * Find the _Fields constant that matches name, or null if its not found.
-
 
36797
       */
-
 
36798
      public static _Fields findByName(String name) {
-
 
36799
        return byName.get(name);
-
 
36800
      }
-
 
36801
 
-
 
36802
      private final short _thriftId;
-
 
36803
      private final String _fieldName;
-
 
36804
 
-
 
36805
      _Fields(short thriftId, String fieldName) {
-
 
36806
        _thriftId = thriftId;
-
 
36807
        _fieldName = fieldName;
-
 
36808
      }
-
 
36809
 
-
 
36810
      public short getThriftFieldId() {
-
 
36811
        return _thriftId;
-
 
36812
      }
-
 
36813
 
-
 
36814
      public String getFieldName() {
-
 
36815
        return _fieldName;
-
 
36816
      }
-
 
36817
    }
-
 
36818
 
-
 
36819
    // isset id assignments
-
 
36820
 
-
 
36821
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
36822
    static {
-
 
36823
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
36824
      tmpMap.put(_Fields.BANNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("bannerName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
36825
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
36826
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
36827
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerDetails_args.class, metaDataMap);
-
 
36828
    }
-
 
36829
 
-
 
36830
    public getBannerDetails_args() {
-
 
36831
    }
-
 
36832
 
-
 
36833
    public getBannerDetails_args(
-
 
36834
      String bannerName)
-
 
36835
    {
-
 
36836
      this();
-
 
36837
      this.bannerName = bannerName;
-
 
36838
    }
-
 
36839
 
-
 
36840
    /**
-
 
36841
     * Performs a deep copy on <i>other</i>.
-
 
36842
     */
-
 
36843
    public getBannerDetails_args(getBannerDetails_args other) {
-
 
36844
      if (other.isSetBannerName()) {
-
 
36845
        this.bannerName = other.bannerName;
-
 
36846
      }
-
 
36847
    }
-
 
36848
 
-
 
36849
    public getBannerDetails_args deepCopy() {
-
 
36850
      return new getBannerDetails_args(this);
-
 
36851
    }
-
 
36852
 
-
 
36853
    @Override
-
 
36854
    public void clear() {
-
 
36855
      this.bannerName = null;
-
 
36856
    }
-
 
36857
 
-
 
36858
    public String getBannerName() {
-
 
36859
      return this.bannerName;
-
 
36860
    }
-
 
36861
 
-
 
36862
    public void setBannerName(String bannerName) {
-
 
36863
      this.bannerName = bannerName;
-
 
36864
    }
-
 
36865
 
-
 
36866
    public void unsetBannerName() {
-
 
36867
      this.bannerName = null;
-
 
36868
    }
-
 
36869
 
-
 
36870
    /** Returns true if field bannerName is set (has been assigned a value) and false otherwise */
-
 
36871
    public boolean isSetBannerName() {
-
 
36872
      return this.bannerName != null;
-
 
36873
    }
-
 
36874
 
-
 
36875
    public void setBannerNameIsSet(boolean value) {
-
 
36876
      if (!value) {
-
 
36877
        this.bannerName = null;
-
 
36878
      }
-
 
36879
    }
-
 
36880
 
-
 
36881
    public void setFieldValue(_Fields field, Object value) {
-
 
36882
      switch (field) {
-
 
36883
      case BANNER_NAME:
-
 
36884
        if (value == null) {
-
 
36885
          unsetBannerName();
-
 
36886
        } else {
-
 
36887
          setBannerName((String)value);
-
 
36888
        }
-
 
36889
        break;
-
 
36890
 
-
 
36891
      }
-
 
36892
    }
-
 
36893
 
-
 
36894
    public Object getFieldValue(_Fields field) {
-
 
36895
      switch (field) {
-
 
36896
      case BANNER_NAME:
-
 
36897
        return getBannerName();
-
 
36898
 
-
 
36899
      }
-
 
36900
      throw new IllegalStateException();
-
 
36901
    }
-
 
36902
 
-
 
36903
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
36904
    public boolean isSet(_Fields field) {
-
 
36905
      if (field == null) {
-
 
36906
        throw new IllegalArgumentException();
-
 
36907
      }
-
 
36908
 
-
 
36909
      switch (field) {
-
 
36910
      case BANNER_NAME:
-
 
36911
        return isSetBannerName();
-
 
36912
      }
-
 
36913
      throw new IllegalStateException();
-
 
36914
    }
-
 
36915
 
-
 
36916
    @Override
-
 
36917
    public boolean equals(Object that) {
-
 
36918
      if (that == null)
-
 
36919
        return false;
-
 
36920
      if (that instanceof getBannerDetails_args)
-
 
36921
        return this.equals((getBannerDetails_args)that);
-
 
36922
      return false;
-
 
36923
    }
-
 
36924
 
-
 
36925
    public boolean equals(getBannerDetails_args that) {
-
 
36926
      if (that == null)
-
 
36927
        return false;
-
 
36928
 
-
 
36929
      boolean this_present_bannerName = true && this.isSetBannerName();
-
 
36930
      boolean that_present_bannerName = true && that.isSetBannerName();
-
 
36931
      if (this_present_bannerName || that_present_bannerName) {
-
 
36932
        if (!(this_present_bannerName && that_present_bannerName))
-
 
36933
          return false;
-
 
36934
        if (!this.bannerName.equals(that.bannerName))
-
 
36935
          return false;
-
 
36936
      }
-
 
36937
 
-
 
36938
      return true;
-
 
36939
    }
-
 
36940
 
-
 
36941
    @Override
-
 
36942
    public int hashCode() {
-
 
36943
      return 0;
-
 
36944
    }
-
 
36945
 
-
 
36946
    public int compareTo(getBannerDetails_args other) {
-
 
36947
      if (!getClass().equals(other.getClass())) {
-
 
36948
        return getClass().getName().compareTo(other.getClass().getName());
-
 
36949
      }
-
 
36950
 
-
 
36951
      int lastComparison = 0;
-
 
36952
      getBannerDetails_args typedOther = (getBannerDetails_args)other;
-
 
36953
 
-
 
36954
      lastComparison = Boolean.valueOf(isSetBannerName()).compareTo(typedOther.isSetBannerName());
-
 
36955
      if (lastComparison != 0) {
-
 
36956
        return lastComparison;
-
 
36957
      }
-
 
36958
      if (isSetBannerName()) {
-
 
36959
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bannerName, typedOther.bannerName);
-
 
36960
        if (lastComparison != 0) {
-
 
36961
          return lastComparison;
-
 
36962
        }
-
 
36963
      }
-
 
36964
      return 0;
-
 
36965
    }
-
 
36966
 
-
 
36967
    public _Fields fieldForId(int fieldId) {
-
 
36968
      return _Fields.findByThriftId(fieldId);
-
 
36969
    }
-
 
36970
 
-
 
36971
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
36972
      org.apache.thrift.protocol.TField field;
-
 
36973
      iprot.readStructBegin();
-
 
36974
      while (true)
-
 
36975
      {
-
 
36976
        field = iprot.readFieldBegin();
-
 
36977
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
36978
          break;
-
 
36979
        }
-
 
36980
        switch (field.id) {
-
 
36981
          case 1: // BANNER_NAME
-
 
36982
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
36983
              this.bannerName = iprot.readString();
-
 
36984
            } else { 
-
 
36985
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36986
            }
-
 
36987
            break;
-
 
36988
          default:
-
 
36989
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
36990
        }
-
 
36991
        iprot.readFieldEnd();
-
 
36992
      }
-
 
36993
      iprot.readStructEnd();
-
 
36994
      validate();
-
 
36995
    }
-
 
36996
 
-
 
36997
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
36998
      validate();
-
 
36999
 
-
 
37000
      oprot.writeStructBegin(STRUCT_DESC);
-
 
37001
      if (this.bannerName != null) {
-
 
37002
        oprot.writeFieldBegin(BANNER_NAME_FIELD_DESC);
-
 
37003
        oprot.writeString(this.bannerName);
-
 
37004
        oprot.writeFieldEnd();
-
 
37005
      }
-
 
37006
      oprot.writeFieldStop();
-
 
37007
      oprot.writeStructEnd();
-
 
37008
    }
-
 
37009
 
-
 
37010
    @Override
-
 
37011
    public String toString() {
-
 
37012
      StringBuilder sb = new StringBuilder("getBannerDetails_args(");
-
 
37013
      boolean first = true;
-
 
37014
 
-
 
37015
      sb.append("bannerName:");
-
 
37016
      if (this.bannerName == null) {
-
 
37017
        sb.append("null");
-
 
37018
      } else {
-
 
37019
        sb.append(this.bannerName);
-
 
37020
      }
-
 
37021
      first = false;
-
 
37022
      sb.append(")");
-
 
37023
      return sb.toString();
-
 
37024
    }
-
 
37025
 
-
 
37026
    public void validate() throws org.apache.thrift.TException {
-
 
37027
      // check for required fields
-
 
37028
    }
-
 
37029
 
-
 
37030
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
37031
      try {
-
 
37032
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
37033
      } catch (org.apache.thrift.TException te) {
-
 
37034
        throw new java.io.IOException(te);
-
 
37035
      }
-
 
37036
    }
-
 
37037
 
-
 
37038
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
37039
      try {
-
 
37040
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
37041
      } catch (org.apache.thrift.TException te) {
-
 
37042
        throw new java.io.IOException(te);
-
 
37043
      }
-
 
37044
    }
-
 
37045
 
-
 
37046
  }
-
 
37047
 
-
 
37048
  public static class getBannerDetails_result implements org.apache.thrift.TBase<getBannerDetails_result, getBannerDetails_result._Fields>, java.io.Serializable, Cloneable   {
-
 
37049
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBannerDetails_result");
-
 
37050
 
-
 
37051
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
37052
 
-
 
37053
    private Banner success; // required
-
 
37054
 
-
 
37055
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
37056
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
37057
      SUCCESS((short)0, "success");
-
 
37058
 
-
 
37059
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
37060
 
-
 
37061
      static {
-
 
37062
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
37063
          byName.put(field.getFieldName(), field);
-
 
37064
        }
-
 
37065
      }
-
 
37066
 
-
 
37067
      /**
-
 
37068
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
37069
       */
-
 
37070
      public static _Fields findByThriftId(int fieldId) {
-
 
37071
        switch(fieldId) {
-
 
37072
          case 0: // SUCCESS
-
 
37073
            return SUCCESS;
-
 
37074
          default:
-
 
37075
            return null;
-
 
37076
        }
-
 
37077
      }
-
 
37078
 
-
 
37079
      /**
-
 
37080
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
37081
       * if it is not found.
-
 
37082
       */
-
 
37083
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
37084
        _Fields fields = findByThriftId(fieldId);
-
 
37085
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
37086
        return fields;
-
 
37087
      }
-
 
37088
 
-
 
37089
      /**
-
 
37090
       * Find the _Fields constant that matches name, or null if its not found.
-
 
37091
       */
-
 
37092
      public static _Fields findByName(String name) {
-
 
37093
        return byName.get(name);
-
 
37094
      }
-
 
37095
 
-
 
37096
      private final short _thriftId;
-
 
37097
      private final String _fieldName;
-
 
37098
 
-
 
37099
      _Fields(short thriftId, String fieldName) {
-
 
37100
        _thriftId = thriftId;
-
 
37101
        _fieldName = fieldName;
-
 
37102
      }
-
 
37103
 
-
 
37104
      public short getThriftFieldId() {
-
 
37105
        return _thriftId;
-
 
37106
      }
-
 
37107
 
-
 
37108
      public String getFieldName() {
-
 
37109
        return _fieldName;
-
 
37110
      }
-
 
37111
    }
-
 
37112
 
-
 
37113
    // isset id assignments
-
 
37114
 
-
 
37115
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
37116
    static {
-
 
37117
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
37118
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
37119
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class)));
-
 
37120
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
37121
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBannerDetails_result.class, metaDataMap);
-
 
37122
    }
-
 
37123
 
-
 
37124
    public getBannerDetails_result() {
-
 
37125
    }
-
 
37126
 
-
 
37127
    public getBannerDetails_result(
-
 
37128
      Banner success)
-
 
37129
    {
-
 
37130
      this();
-
 
37131
      this.success = success;
-
 
37132
    }
-
 
37133
 
-
 
37134
    /**
-
 
37135
     * Performs a deep copy on <i>other</i>.
-
 
37136
     */
-
 
37137
    public getBannerDetails_result(getBannerDetails_result other) {
-
 
37138
      if (other.isSetSuccess()) {
-
 
37139
        this.success = new Banner(other.success);
-
 
37140
      }
-
 
37141
    }
-
 
37142
 
-
 
37143
    public getBannerDetails_result deepCopy() {
-
 
37144
      return new getBannerDetails_result(this);
-
 
37145
    }
-
 
37146
 
-
 
37147
    @Override
-
 
37148
    public void clear() {
-
 
37149
      this.success = null;
-
 
37150
    }
-
 
37151
 
-
 
37152
    public Banner getSuccess() {
-
 
37153
      return this.success;
-
 
37154
    }
-
 
37155
 
-
 
37156
    public void setSuccess(Banner success) {
-
 
37157
      this.success = success;
-
 
37158
    }
-
 
37159
 
-
 
37160
    public void unsetSuccess() {
-
 
37161
      this.success = null;
-
 
37162
    }
-
 
37163
 
-
 
37164
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
37165
    public boolean isSetSuccess() {
-
 
37166
      return this.success != null;
-
 
37167
    }
-
 
37168
 
-
 
37169
    public void setSuccessIsSet(boolean value) {
-
 
37170
      if (!value) {
-
 
37171
        this.success = null;
-
 
37172
      }
-
 
37173
    }
-
 
37174
 
-
 
37175
    public void setFieldValue(_Fields field, Object value) {
-
 
37176
      switch (field) {
-
 
37177
      case SUCCESS:
-
 
37178
        if (value == null) {
-
 
37179
          unsetSuccess();
-
 
37180
        } else {
-
 
37181
          setSuccess((Banner)value);
-
 
37182
        }
-
 
37183
        break;
-
 
37184
 
-
 
37185
      }
-
 
37186
    }
-
 
37187
 
-
 
37188
    public Object getFieldValue(_Fields field) {
-
 
37189
      switch (field) {
-
 
37190
      case SUCCESS:
-
 
37191
        return getSuccess();
-
 
37192
 
-
 
37193
      }
-
 
37194
      throw new IllegalStateException();
-
 
37195
    }
-
 
37196
 
-
 
37197
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
37198
    public boolean isSet(_Fields field) {
-
 
37199
      if (field == null) {
-
 
37200
        throw new IllegalArgumentException();
-
 
37201
      }
-
 
37202
 
-
 
37203
      switch (field) {
-
 
37204
      case SUCCESS:
-
 
37205
        return isSetSuccess();
-
 
37206
      }
-
 
37207
      throw new IllegalStateException();
-
 
37208
    }
-
 
37209
 
-
 
37210
    @Override
-
 
37211
    public boolean equals(Object that) {
-
 
37212
      if (that == null)
-
 
37213
        return false;
-
 
37214
      if (that instanceof getBannerDetails_result)
-
 
37215
        return this.equals((getBannerDetails_result)that);
-
 
37216
      return false;
-
 
37217
    }
-
 
37218
 
-
 
37219
    public boolean equals(getBannerDetails_result that) {
-
 
37220
      if (that == null)
-
 
37221
        return false;
-
 
37222
 
-
 
37223
      boolean this_present_success = true && this.isSetSuccess();
-
 
37224
      boolean that_present_success = true && that.isSetSuccess();
-
 
37225
      if (this_present_success || that_present_success) {
-
 
37226
        if (!(this_present_success && that_present_success))
-
 
37227
          return false;
-
 
37228
        if (!this.success.equals(that.success))
-
 
37229
          return false;
-
 
37230
      }
-
 
37231
 
-
 
37232
      return true;
-
 
37233
    }
-
 
37234
 
-
 
37235
    @Override
-
 
37236
    public int hashCode() {
-
 
37237
      return 0;
-
 
37238
    }
-
 
37239
 
-
 
37240
    public int compareTo(getBannerDetails_result other) {
-
 
37241
      if (!getClass().equals(other.getClass())) {
-
 
37242
        return getClass().getName().compareTo(other.getClass().getName());
-
 
37243
      }
-
 
37244
 
-
 
37245
      int lastComparison = 0;
-
 
37246
      getBannerDetails_result typedOther = (getBannerDetails_result)other;
-
 
37247
 
-
 
37248
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
37249
      if (lastComparison != 0) {
-
 
37250
        return lastComparison;
-
 
37251
      }
-
 
37252
      if (isSetSuccess()) {
-
 
37253
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
37254
        if (lastComparison != 0) {
-
 
37255
          return lastComparison;
-
 
37256
        }
-
 
37257
      }
-
 
37258
      return 0;
-
 
37259
    }
-
 
37260
 
-
 
37261
    public _Fields fieldForId(int fieldId) {
-
 
37262
      return _Fields.findByThriftId(fieldId);
-
 
37263
    }
-
 
37264
 
-
 
37265
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
37266
      org.apache.thrift.protocol.TField field;
-
 
37267
      iprot.readStructBegin();
-
 
37268
      while (true)
-
 
37269
      {
-
 
37270
        field = iprot.readFieldBegin();
-
 
37271
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
37272
          break;
-
 
37273
        }
-
 
37274
        switch (field.id) {
-
 
37275
          case 0: // SUCCESS
-
 
37276
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
37277
              this.success = new Banner();
-
 
37278
              this.success.read(iprot);
-
 
37279
            } else { 
-
 
37280
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
37281
            }
-
 
37282
            break;
-
 
37283
          default:
-
 
37284
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
37285
        }
-
 
37286
        iprot.readFieldEnd();
-
 
37287
      }
-
 
37288
      iprot.readStructEnd();
-
 
37289
      validate();
-
 
37290
    }
-
 
37291
 
-
 
37292
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
37293
      oprot.writeStructBegin(STRUCT_DESC);
-
 
37294
 
-
 
37295
      if (this.isSetSuccess()) {
-
 
37296
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
37297
        this.success.write(oprot);
-
 
37298
        oprot.writeFieldEnd();
-
 
37299
      }
-
 
37300
      oprot.writeFieldStop();
-
 
37301
      oprot.writeStructEnd();
-
 
37302
    }
-
 
37303
 
-
 
37304
    @Override
-
 
37305
    public String toString() {
-
 
37306
      StringBuilder sb = new StringBuilder("getBannerDetails_result(");
-
 
37307
      boolean first = true;
-
 
37308
 
-
 
37309
      sb.append("success:");
-
 
37310
      if (this.success == null) {
-
 
37311
        sb.append("null");
-
 
37312
      } else {
-
 
37313
        sb.append(this.success);
-
 
37314
      }
-
 
37315
      first = false;
-
 
37316
      sb.append(")");
-
 
37317
      return sb.toString();
-
 
37318
    }
-
 
37319
 
-
 
37320
    public void validate() throws org.apache.thrift.TException {
-
 
37321
      // check for required fields
-
 
37322
    }
-
 
37323
 
-
 
37324
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
37325
      try {
-
 
37326
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
37327
      } catch (org.apache.thrift.TException te) {
-
 
37328
        throw new java.io.IOException(te);
-
 
37329
      }
-
 
37330
    }
-
 
37331
 
-
 
37332
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
37333
      try {
-
 
37334
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
37335
      } catch (org.apache.thrift.TException te) {
-
 
37336
        throw new java.io.IOException(te);
-
 
37337
      }
-
 
37338
    }
-
 
37339
 
-
 
37340
  }
-
 
37341
 
-
 
37342
  public static class getActiveBanners_args implements org.apache.thrift.TBase<getActiveBanners_args, getActiveBanners_args._Fields>, java.io.Serializable, Cloneable   {
-
 
37343
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveBanners_args");
-
 
37344
 
-
 
37345
 
-
 
37346
 
-
 
37347
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
37348
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
37349
;
-
 
37350
 
-
 
37351
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
37352
 
-
 
37353
      static {
-
 
37354
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
37355
          byName.put(field.getFieldName(), field);
-
 
37356
        }
-
 
37357
      }
-
 
37358
 
-
 
37359
      /**
-
 
37360
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
37361
       */
-
 
37362
      public static _Fields findByThriftId(int fieldId) {
-
 
37363
        switch(fieldId) {
-
 
37364
          default:
-
 
37365
            return null;
-
 
37366
        }
-
 
37367
      }
-
 
37368
 
-
 
37369
      /**
-
 
37370
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
37371
       * if it is not found.
-
 
37372
       */
-
 
37373
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
37374
        _Fields fields = findByThriftId(fieldId);
-
 
37375
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
37376
        return fields;
-
 
37377
      }
-
 
37378
 
-
 
37379
      /**
-
 
37380
       * Find the _Fields constant that matches name, or null if its not found.
-
 
37381
       */
-
 
37382
      public static _Fields findByName(String name) {
-
 
37383
        return byName.get(name);
-
 
37384
      }
-
 
37385
 
-
 
37386
      private final short _thriftId;
-
 
37387
      private final String _fieldName;
-
 
37388
 
-
 
37389
      _Fields(short thriftId, String fieldName) {
-
 
37390
        _thriftId = thriftId;
-
 
37391
        _fieldName = fieldName;
-
 
37392
      }
-
 
37393
 
-
 
37394
      public short getThriftFieldId() {
-
 
37395
        return _thriftId;
-
 
37396
      }
-
 
37397
 
-
 
37398
      public String getFieldName() {
-
 
37399
        return _fieldName;
-
 
37400
      }
-
 
37401
    }
-
 
37402
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
37403
    static {
-
 
37404
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
37405
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
37406
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveBanners_args.class, metaDataMap);
-
 
37407
    }
-
 
37408
 
-
 
37409
    public getActiveBanners_args() {
-
 
37410
    }
-
 
37411
 
-
 
37412
    /**
-
 
37413
     * Performs a deep copy on <i>other</i>.
-
 
37414
     */
-
 
37415
    public getActiveBanners_args(getActiveBanners_args other) {
-
 
37416
    }
-
 
37417
 
-
 
37418
    public getActiveBanners_args deepCopy() {
-
 
37419
      return new getActiveBanners_args(this);
-
 
37420
    }
-
 
37421
 
-
 
37422
    @Override
-
 
37423
    public void clear() {
-
 
37424
    }
-
 
37425
 
-
 
37426
    public void setFieldValue(_Fields field, Object value) {
-
 
37427
      switch (field) {
-
 
37428
      }
-
 
37429
    }
-
 
37430
 
-
 
37431
    public Object getFieldValue(_Fields field) {
-
 
37432
      switch (field) {
-
 
37433
      }
-
 
37434
      throw new IllegalStateException();
-
 
37435
    }
-
 
37436
 
-
 
37437
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
37438
    public boolean isSet(_Fields field) {
-
 
37439
      if (field == null) {
-
 
37440
        throw new IllegalArgumentException();
-
 
37441
      }
-
 
37442
 
-
 
37443
      switch (field) {
-
 
37444
      }
-
 
37445
      throw new IllegalStateException();
-
 
37446
    }
-
 
37447
 
-
 
37448
    @Override
-
 
37449
    public boolean equals(Object that) {
-
 
37450
      if (that == null)
-
 
37451
        return false;
-
 
37452
      if (that instanceof getActiveBanners_args)
-
 
37453
        return this.equals((getActiveBanners_args)that);
-
 
37454
      return false;
-
 
37455
    }
-
 
37456
 
-
 
37457
    public boolean equals(getActiveBanners_args that) {
-
 
37458
      if (that == null)
-
 
37459
        return false;
-
 
37460
 
-
 
37461
      return true;
-
 
37462
    }
-
 
37463
 
-
 
37464
    @Override
-
 
37465
    public int hashCode() {
-
 
37466
      return 0;
-
 
37467
    }
-
 
37468
 
-
 
37469
    public int compareTo(getActiveBanners_args other) {
-
 
37470
      if (!getClass().equals(other.getClass())) {
-
 
37471
        return getClass().getName().compareTo(other.getClass().getName());
-
 
37472
      }
-
 
37473
 
-
 
37474
      int lastComparison = 0;
-
 
37475
      getActiveBanners_args typedOther = (getActiveBanners_args)other;
-
 
37476
 
-
 
37477
      return 0;
-
 
37478
    }
-
 
37479
 
-
 
37480
    public _Fields fieldForId(int fieldId) {
-
 
37481
      return _Fields.findByThriftId(fieldId);
-
 
37482
    }
-
 
37483
 
-
 
37484
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
37485
      org.apache.thrift.protocol.TField field;
-
 
37486
      iprot.readStructBegin();
-
 
37487
      while (true)
-
 
37488
      {
-
 
37489
        field = iprot.readFieldBegin();
-
 
37490
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
37491
          break;
-
 
37492
        }
-
 
37493
        switch (field.id) {
-
 
37494
          default:
-
 
37495
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
37496
        }
-
 
37497
        iprot.readFieldEnd();
-
 
37498
      }
-
 
37499
      iprot.readStructEnd();
-
 
37500
      validate();
-
 
37501
    }
-
 
37502
 
-
 
37503
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
37504
      validate();
-
 
37505
 
-
 
37506
      oprot.writeStructBegin(STRUCT_DESC);
-
 
37507
      oprot.writeFieldStop();
-
 
37508
      oprot.writeStructEnd();
-
 
37509
    }
-
 
37510
 
-
 
37511
    @Override
-
 
37512
    public String toString() {
-
 
37513
      StringBuilder sb = new StringBuilder("getActiveBanners_args(");
-
 
37514
      boolean first = true;
-
 
37515
 
-
 
37516
      sb.append(")");
-
 
37517
      return sb.toString();
-
 
37518
    }
-
 
37519
 
-
 
37520
    public void validate() throws org.apache.thrift.TException {
-
 
37521
      // check for required fields
-
 
37522
    }
-
 
37523
 
-
 
37524
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
37525
      try {
-
 
37526
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
37527
      } catch (org.apache.thrift.TException te) {
-
 
37528
        throw new java.io.IOException(te);
-
 
37529
      }
-
 
37530
    }
-
 
37531
 
-
 
37532
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
37533
      try {
-
 
37534
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
37535
      } catch (org.apache.thrift.TException te) {
-
 
37536
        throw new java.io.IOException(te);
-
 
37537
      }
-
 
37538
    }
-
 
37539
 
-
 
37540
  }
-
 
37541
 
-
 
37542
  public static class getActiveBanners_result implements org.apache.thrift.TBase<getActiveBanners_result, getActiveBanners_result._Fields>, java.io.Serializable, Cloneable   {
-
 
37543
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getActiveBanners_result");
-
 
37544
 
-
 
37545
    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);
-
 
37546
 
-
 
37547
    private List<Banner> success; // required
-
 
37548
 
-
 
37549
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
37550
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
37551
      SUCCESS((short)0, "success");
-
 
37552
 
-
 
37553
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
37554
 
-
 
37555
      static {
-
 
37556
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
37557
          byName.put(field.getFieldName(), field);
-
 
37558
        }
-
 
37559
      }
-
 
37560
 
-
 
37561
      /**
-
 
37562
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
37563
       */
-
 
37564
      public static _Fields findByThriftId(int fieldId) {
-
 
37565
        switch(fieldId) {
-
 
37566
          case 0: // SUCCESS
-
 
37567
            return SUCCESS;
-
 
37568
          default:
-
 
37569
            return null;
-
 
37570
        }
-
 
37571
      }
-
 
37572
 
-
 
37573
      /**
-
 
37574
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
37575
       * if it is not found.
-
 
37576
       */
-
 
37577
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
37578
        _Fields fields = findByThriftId(fieldId);
-
 
37579
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
37580
        return fields;
-
 
37581
      }
-
 
37582
 
-
 
37583
      /**
-
 
37584
       * Find the _Fields constant that matches name, or null if its not found.
-
 
37585
       */
-
 
37586
      public static _Fields findByName(String name) {
-
 
37587
        return byName.get(name);
-
 
37588
      }
-
 
37589
 
-
 
37590
      private final short _thriftId;
-
 
37591
      private final String _fieldName;
-
 
37592
 
-
 
37593
      _Fields(short thriftId, String fieldName) {
-
 
37594
        _thriftId = thriftId;
-
 
37595
        _fieldName = fieldName;
-
 
37596
      }
-
 
37597
 
-
 
37598
      public short getThriftFieldId() {
-
 
37599
        return _thriftId;
-
 
37600
      }
-
 
37601
 
-
 
37602
      public String getFieldName() {
-
 
37603
        return _fieldName;
-
 
37604
      }
-
 
37605
    }
-
 
37606
 
-
 
37607
    // isset id assignments
-
 
37608
 
-
 
37609
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
37610
    static {
-
 
37611
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
37612
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
37613
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
37614
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Banner.class))));
-
 
37615
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
37616
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getActiveBanners_result.class, metaDataMap);
-
 
37617
    }
-
 
37618
 
-
 
37619
    public getActiveBanners_result() {
-
 
37620
    }
-
 
37621
 
-
 
37622
    public getActiveBanners_result(
-
 
37623
      List<Banner> success)
-
 
37624
    {
-
 
37625
      this();
-
 
37626
      this.success = success;
-
 
37627
    }
-
 
37628
 
-
 
37629
    /**
-
 
37630
     * Performs a deep copy on <i>other</i>.
-
 
37631
     */
-
 
37632
    public getActiveBanners_result(getActiveBanners_result other) {
-
 
37633
      if (other.isSetSuccess()) {
-
 
37634
        List<Banner> __this__success = new ArrayList<Banner>();
-
 
37635
        for (Banner other_element : other.success) {
-
 
37636
          __this__success.add(new Banner(other_element));
-
 
37637
        }
-
 
37638
        this.success = __this__success;
-
 
37639
      }
-
 
37640
    }
-
 
37641
 
-
 
37642
    public getActiveBanners_result deepCopy() {
-
 
37643
      return new getActiveBanners_result(this);
-
 
37644
    }
-
 
37645
 
-
 
37646
    @Override
-
 
37647
    public void clear() {
-
 
37648
      this.success = null;
-
 
37649
    }
-
 
37650
 
-
 
37651
    public int getSuccessSize() {
-
 
37652
      return (this.success == null) ? 0 : this.success.size();
-
 
37653
    }
-
 
37654
 
-
 
37655
    public java.util.Iterator<Banner> getSuccessIterator() {
-
 
37656
      return (this.success == null) ? null : this.success.iterator();
-
 
37657
    }
-
 
37658
 
-
 
37659
    public void addToSuccess(Banner elem) {
-
 
37660
      if (this.success == null) {
-
 
37661
        this.success = new ArrayList<Banner>();
-
 
37662
      }
-
 
37663
      this.success.add(elem);
-
 
37664
    }
-
 
37665
 
-
 
37666
    public List<Banner> getSuccess() {
-
 
37667
      return this.success;
-
 
37668
    }
-
 
37669
 
-
 
37670
    public void setSuccess(List<Banner> success) {
-
 
37671
      this.success = success;
-
 
37672
    }
-
 
37673
 
-
 
37674
    public void unsetSuccess() {
-
 
37675
      this.success = null;
-
 
37676
    }
-
 
37677
 
-
 
37678
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
37679
    public boolean isSetSuccess() {
-
 
37680
      return this.success != null;
-
 
37681
    }
-
 
37682
 
-
 
37683
    public void setSuccessIsSet(boolean value) {
-
 
37684
      if (!value) {
-
 
37685
        this.success = null;
-
 
37686
      }
-
 
37687
    }
-
 
37688
 
-
 
37689
    public void setFieldValue(_Fields field, Object value) {
-
 
37690
      switch (field) {
-
 
37691
      case SUCCESS:
-
 
37692
        if (value == null) {
-
 
37693
          unsetSuccess();
-
 
37694
        } else {
-
 
37695
          setSuccess((List<Banner>)value);
-
 
37696
        }
-
 
37697
        break;
-
 
37698
 
-
 
37699
      }
-
 
37700
    }
-
 
37701
 
-
 
37702
    public Object getFieldValue(_Fields field) {
-
 
37703
      switch (field) {
-
 
37704
      case SUCCESS:
-
 
37705
        return getSuccess();
-
 
37706
 
-
 
37707
      }
-
 
37708
      throw new IllegalStateException();
-
 
37709
    }
-
 
37710
 
-
 
37711
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
37712
    public boolean isSet(_Fields field) {
-
 
37713
      if (field == null) {
-
 
37714
        throw new IllegalArgumentException();
-
 
37715
      }
-
 
37716
 
-
 
37717
      switch (field) {
-
 
37718
      case SUCCESS:
-
 
37719
        return isSetSuccess();
-
 
37720
      }
-
 
37721
      throw new IllegalStateException();
-
 
37722
    }
-
 
37723
 
-
 
37724
    @Override
-
 
37725
    public boolean equals(Object that) {
-
 
37726
      if (that == null)
-
 
37727
        return false;
-
 
37728
      if (that instanceof getActiveBanners_result)
-
 
37729
        return this.equals((getActiveBanners_result)that);
-
 
37730
      return false;
-
 
37731
    }
-
 
37732
 
-
 
37733
    public boolean equals(getActiveBanners_result that) {
-
 
37734
      if (that == null)
-
 
37735
        return false;
-
 
37736
 
-
 
37737
      boolean this_present_success = true && this.isSetSuccess();
-
 
37738
      boolean that_present_success = true && that.isSetSuccess();
-
 
37739
      if (this_present_success || that_present_success) {
-
 
37740
        if (!(this_present_success && that_present_success))
-
 
37741
          return false;
-
 
37742
        if (!this.success.equals(that.success))
-
 
37743
          return false;
-
 
37744
      }
-
 
37745
 
-
 
37746
      return true;
-
 
37747
    }
-
 
37748
 
-
 
37749
    @Override
-
 
37750
    public int hashCode() {
-
 
37751
      return 0;
-
 
37752
    }
-
 
37753
 
-
 
37754
    public int compareTo(getActiveBanners_result other) {
-
 
37755
      if (!getClass().equals(other.getClass())) {
-
 
37756
        return getClass().getName().compareTo(other.getClass().getName());
-
 
37757
      }
-
 
37758
 
-
 
37759
      int lastComparison = 0;
-
 
37760
      getActiveBanners_result typedOther = (getActiveBanners_result)other;
-
 
37761
 
-
 
37762
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
37763
      if (lastComparison != 0) {
-
 
37764
        return lastComparison;
-
 
37765
      }
-
 
37766
      if (isSetSuccess()) {
-
 
37767
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
37768
        if (lastComparison != 0) {
-
 
37769
          return lastComparison;
-
 
37770
        }
-
 
37771
      }
-
 
37772
      return 0;
-
 
37773
    }
-
 
37774
 
-
 
37775
    public _Fields fieldForId(int fieldId) {
-
 
37776
      return _Fields.findByThriftId(fieldId);
-
 
37777
    }
-
 
37778
 
-
 
37779
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
37780
      org.apache.thrift.protocol.TField field;
-
 
37781
      iprot.readStructBegin();
-
 
37782
      while (true)
-
 
37783
      {
-
 
37784
        field = iprot.readFieldBegin();
-
 
37785
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
37786
          break;
-
 
37787
        }
-
 
37788
        switch (field.id) {
-
 
37789
          case 0: // SUCCESS
-
 
37790
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
37791
              {
-
 
37792
                org.apache.thrift.protocol.TList _list98 = iprot.readListBegin();
-
 
37793
                this.success = new ArrayList<Banner>(_list98.size);
-
 
37794
                for (int _i99 = 0; _i99 < _list98.size; ++_i99)
-
 
37795
                {
-
 
37796
                  Banner _elem100; // required
-
 
37797
                  _elem100 = new Banner();
-
 
37798
                  _elem100.read(iprot);
-
 
37799
                  this.success.add(_elem100);
-
 
37800
                }
-
 
37801
                iprot.readListEnd();
-
 
37802
              }
-
 
37803
            } else { 
-
 
37804
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
37805
            }
-
 
37806
            break;
-
 
37807
          default:
-
 
37808
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
37809
        }
-
 
37810
        iprot.readFieldEnd();
-
 
37811
      }
-
 
37812
      iprot.readStructEnd();
-
 
37813
      validate();
-
 
37814
    }
-
 
37815
 
-
 
37816
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
37817
      oprot.writeStructBegin(STRUCT_DESC);
-
 
37818
 
-
 
37819
      if (this.isSetSuccess()) {
-
 
37820
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
37821
        {
-
 
37822
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
37823
          for (Banner _iter101 : this.success)
-
 
37824
          {
-
 
37825
            _iter101.write(oprot);
-
 
37826
          }
-
 
37827
          oprot.writeListEnd();
-
 
37828
        }
-
 
37829
        oprot.writeFieldEnd();
-
 
37830
      }
-
 
37831
      oprot.writeFieldStop();
-
 
37832
      oprot.writeStructEnd();
-
 
37833
    }
-
 
37834
 
-
 
37835
    @Override
-
 
37836
    public String toString() {
-
 
37837
      StringBuilder sb = new StringBuilder("getActiveBanners_result(");
-
 
37838
      boolean first = true;
-
 
37839
 
-
 
37840
      sb.append("success:");
-
 
37841
      if (this.success == null) {
-
 
37842
        sb.append("null");
-
 
37843
      } else {
-
 
37844
        sb.append(this.success);
-
 
37845
      }
-
 
37846
      first = false;
-
 
37847
      sb.append(")");
-
 
37848
      return sb.toString();
-
 
37849
    }
-
 
37850
 
-
 
37851
    public void validate() throws org.apache.thrift.TException {
-
 
37852
      // check for required fields
-
 
37853
    }
-
 
37854
 
-
 
37855
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
37856
      try {
-
 
37857
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
37858
      } catch (org.apache.thrift.TException te) {
-
 
37859
        throw new java.io.IOException(te);
-
 
37860
      }
-
 
37861
    }
-
 
37862
 
-
 
37863
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
37864
      try {
-
 
37865
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
37866
      } catch (org.apache.thrift.TException te) {
-
 
37867
        throw new java.io.IOException(te);
-
 
37868
      }
-
 
37869
    }
-
 
37870
 
-
 
37871
  }
-
 
37872
 
34226
  public static class addBannerMap_args implements org.apache.thrift.TBase<addBannerMap_args, addBannerMap_args._Fields>, java.io.Serializable, Cloneable   {
37873
  public static class addBannerMap_args implements org.apache.thrift.TBase<addBannerMap_args, addBannerMap_args._Fields>, java.io.Serializable, Cloneable   {
34227
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_args");
37874
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addBannerMap_args");
34228
 
37875
 
34229
    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);
37876
    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);
34230
    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);
37877
    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);
Line 36115... Line 39762...
36115
        }
39762
        }
36116
        switch (field.id) {
39763
        switch (field.id) {
36117
          case 0: // SUCCESS
39764
          case 0: // SUCCESS
36118
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39765
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36119
              {
39766
              {
36120
                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
39767
                org.apache.thrift.protocol.TList _list102 = iprot.readListBegin();
36121
                this.success = new ArrayList<BannerMap>(_list94.size);
39768
                this.success = new ArrayList<BannerMap>(_list102.size);
36122
                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
39769
                for (int _i103 = 0; _i103 < _list102.size; ++_i103)
36123
                {
39770
                {
36124
                  BannerMap _elem96; // required
39771
                  BannerMap _elem104; // required
36125
                  _elem96 = new BannerMap();
39772
                  _elem104 = new BannerMap();
36126
                  _elem96.read(iprot);
39773
                  _elem104.read(iprot);
36127
                  this.success.add(_elem96);
39774
                  this.success.add(_elem104);
36128
                }
39775
                }
36129
                iprot.readListEnd();
39776
                iprot.readListEnd();
36130
              }
39777
              }
36131
            } else { 
39778
            } else { 
36132
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39779
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36146... Line 39793...
36146
 
39793
 
36147
      if (this.isSetSuccess()) {
39794
      if (this.isSetSuccess()) {
36148
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39795
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36149
        {
39796
        {
36150
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39797
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
36151
          for (BannerMap _iter97 : this.success)
39798
          for (BannerMap _iter105 : this.success)
36152
          {
39799
          {
36153
            _iter97.write(oprot);
39800
            _iter105.write(oprot);
36154
          }
39801
          }
36155
          oprot.writeListEnd();
39802
          oprot.writeListEnd();
36156
        }
39803
        }
36157
        oprot.writeFieldEnd();
39804
        oprot.writeFieldEnd();
36158
      }
39805
      }
Line 39322... Line 42969...
39322
        }
42969
        }
39323
        switch (field.id) {
42970
        switch (field.id) {
39324
          case 0: // SUCCESS
42971
          case 0: // SUCCESS
39325
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42972
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39326
              {
42973
              {
39327
                org.apache.thrift.protocol.TList _list98 = iprot.readListBegin();
42974
                org.apache.thrift.protocol.TList _list106 = iprot.readListBegin();
39328
                this.success = new ArrayList<Item>(_list98.size);
42975
                this.success = new ArrayList<Item>(_list106.size);
39329
                for (int _i99 = 0; _i99 < _list98.size; ++_i99)
42976
                for (int _i107 = 0; _i107 < _list106.size; ++_i107)
39330
                {
42977
                {
39331
                  Item _elem100; // required
42978
                  Item _elem108; // required
39332
                  _elem100 = new Item();
42979
                  _elem108 = new Item();
39333
                  _elem100.read(iprot);
42980
                  _elem108.read(iprot);
39334
                  this.success.add(_elem100);
42981
                  this.success.add(_elem108);
39335
                }
42982
                }
39336
                iprot.readListEnd();
42983
                iprot.readListEnd();
39337
              }
42984
              }
39338
            } else { 
42985
            } else { 
39339
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42986
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39353... Line 43000...
39353
 
43000
 
39354
      if (this.isSetSuccess()) {
43001
      if (this.isSetSuccess()) {
39355
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43002
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39356
        {
43003
        {
39357
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43004
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39358
          for (Item _iter101 : this.success)
43005
          for (Item _iter109 : this.success)
39359
          {
43006
          {
39360
            _iter101.write(oprot);
43007
            _iter109.write(oprot);
39361
          }
43008
          }
39362
          oprot.writeListEnd();
43009
          oprot.writeListEnd();
39363
        }
43010
        }
39364
        oprot.writeFieldEnd();
43011
        oprot.writeFieldEnd();
39365
      }
43012
      }
Line 40035... Line 43682...
40035
        }
43682
        }
40036
        switch (field.id) {
43683
        switch (field.id) {
40037
          case 0: // SUCCESS
43684
          case 0: // SUCCESS
40038
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43685
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40039
              {
43686
              {
40040
                org.apache.thrift.protocol.TList _list102 = iprot.readListBegin();
43687
                org.apache.thrift.protocol.TList _list110 = iprot.readListBegin();
40041
                this.success = new ArrayList<Item>(_list102.size);
43688
                this.success = new ArrayList<Item>(_list110.size);
40042
                for (int _i103 = 0; _i103 < _list102.size; ++_i103)
43689
                for (int _i111 = 0; _i111 < _list110.size; ++_i111)
40043
                {
43690
                {
40044
                  Item _elem104; // required
43691
                  Item _elem112; // required
40045
                  _elem104 = new Item();
43692
                  _elem112 = new Item();
40046
                  _elem104.read(iprot);
43693
                  _elem112.read(iprot);
40047
                  this.success.add(_elem104);
43694
                  this.success.add(_elem112);
40048
                }
43695
                }
40049
                iprot.readListEnd();
43696
                iprot.readListEnd();
40050
              }
43697
              }
40051
            } else { 
43698
            } else { 
40052
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43699
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40066... Line 43713...
40066
 
43713
 
40067
      if (this.isSetSuccess()) {
43714
      if (this.isSetSuccess()) {
40068
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43715
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40069
        {
43716
        {
40070
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43717
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40071
          for (Item _iter105 : this.success)
43718
          for (Item _iter113 : this.success)
40072
          {
43719
          {
40073
            _iter105.write(oprot);
43720
            _iter113.write(oprot);
40074
          }
43721
          }
40075
          oprot.writeListEnd();
43722
          oprot.writeListEnd();
40076
        }
43723
        }
40077
        oprot.writeFieldEnd();
43724
        oprot.writeFieldEnd();
40078
      }
43725
      }
Line 40824... Line 44471...
40824
        }
44471
        }
40825
        switch (field.id) {
44472
        switch (field.id) {
40826
          case 0: // SUCCESS
44473
          case 0: // SUCCESS
40827
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44474
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40828
              {
44475
              {
40829
                org.apache.thrift.protocol.TList _list106 = iprot.readListBegin();
44476
                org.apache.thrift.protocol.TList _list114 = iprot.readListBegin();
40830
                this.success = new ArrayList<Long>(_list106.size);
44477
                this.success = new ArrayList<Long>(_list114.size);
40831
                for (int _i107 = 0; _i107 < _list106.size; ++_i107)
44478
                for (int _i115 = 0; _i115 < _list114.size; ++_i115)
40832
                {
44479
                {
40833
                  long _elem108; // required
44480
                  long _elem116; // required
40834
                  _elem108 = iprot.readI64();
44481
                  _elem116 = iprot.readI64();
40835
                  this.success.add(_elem108);
44482
                  this.success.add(_elem116);
40836
                }
44483
                }
40837
                iprot.readListEnd();
44484
                iprot.readListEnd();
40838
              }
44485
              }
40839
            } else { 
44486
            } else { 
40840
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44487
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40854... Line 44501...
40854
 
44501
 
40855
      if (this.isSetSuccess()) {
44502
      if (this.isSetSuccess()) {
40856
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44503
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40857
        {
44504
        {
40858
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
44505
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
40859
          for (long _iter109 : this.success)
44506
          for (long _iter117 : this.success)
40860
          {
44507
          {
40861
            oprot.writeI64(_iter109);
44508
            oprot.writeI64(_iter117);
40862
          }
44509
          }
40863
          oprot.writeListEnd();
44510
          oprot.writeListEnd();
40864
        }
44511
        }
40865
        oprot.writeFieldEnd();
44512
        oprot.writeFieldEnd();
40866
      }
44513
      }
Line 42616... Line 46263...
42616
        }
46263
        }
42617
        switch (field.id) {
46264
        switch (field.id) {
42618
          case 0: // SUCCESS
46265
          case 0: // SUCCESS
42619
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46266
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42620
              {
46267
              {
42621
                org.apache.thrift.protocol.TList _list110 = iprot.readListBegin();
46268
                org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
42622
                this.success = new ArrayList<String>(_list110.size);
46269
                this.success = new ArrayList<String>(_list118.size);
42623
                for (int _i111 = 0; _i111 < _list110.size; ++_i111)
46270
                for (int _i119 = 0; _i119 < _list118.size; ++_i119)
42624
                {
46271
                {
42625
                  String _elem112; // required
46272
                  String _elem120; // required
42626
                  _elem112 = iprot.readString();
46273
                  _elem120 = iprot.readString();
42627
                  this.success.add(_elem112);
46274
                  this.success.add(_elem120);
42628
                }
46275
                }
42629
                iprot.readListEnd();
46276
                iprot.readListEnd();
42630
              }
46277
              }
42631
            } else { 
46278
            } else { 
42632
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46279
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42646... Line 46293...
42646
 
46293
 
42647
      if (this.isSetSuccess()) {
46294
      if (this.isSetSuccess()) {
42648
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46295
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42649
        {
46296
        {
42650
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
46297
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
42651
          for (String _iter113 : this.success)
46298
          for (String _iter121 : this.success)
42652
          {
46299
          {
42653
            oprot.writeString(_iter113);
46300
            oprot.writeString(_iter121);
42654
          }
46301
          }
42655
          oprot.writeListEnd();
46302
          oprot.writeListEnd();
42656
        }
46303
        }
42657
        oprot.writeFieldEnd();
46304
        oprot.writeFieldEnd();
42658
      }
46305
      }
Line 43146... Line 46793...
43146
        }
46793
        }
43147
        switch (field.id) {
46794
        switch (field.id) {
43148
          case 0: // SUCCESS
46795
          case 0: // SUCCESS
43149
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46796
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43150
              {
46797
              {
43151
                org.apache.thrift.protocol.TList _list114 = iprot.readListBegin();
46798
                org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
43152
                this.success = new ArrayList<String>(_list114.size);
46799
                this.success = new ArrayList<String>(_list122.size);
43153
                for (int _i115 = 0; _i115 < _list114.size; ++_i115)
46800
                for (int _i123 = 0; _i123 < _list122.size; ++_i123)
43154
                {
46801
                {
43155
                  String _elem116; // required
46802
                  String _elem124; // required
43156
                  _elem116 = iprot.readString();
46803
                  _elem124 = iprot.readString();
43157
                  this.success.add(_elem116);
46804
                  this.success.add(_elem124);
43158
                }
46805
                }
43159
                iprot.readListEnd();
46806
                iprot.readListEnd();
43160
              }
46807
              }
43161
            } else { 
46808
            } else { 
43162
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46809
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43176... Line 46823...
43176
 
46823
 
43177
      if (this.isSetSuccess()) {
46824
      if (this.isSetSuccess()) {
43178
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46825
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43179
        {
46826
        {
43180
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
46827
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
43181
          for (String _iter117 : this.success)
46828
          for (String _iter125 : this.success)
43182
          {
46829
          {
43183
            oprot.writeString(_iter117);
46830
            oprot.writeString(_iter125);
43184
          }
46831
          }
43185
          oprot.writeListEnd();
46832
          oprot.writeListEnd();
43186
        }
46833
        }
43187
        oprot.writeFieldEnd();
46834
        oprot.writeFieldEnd();
43188
      }
46835
      }
Line 43676... Line 47323...
43676
        }
47323
        }
43677
        switch (field.id) {
47324
        switch (field.id) {
43678
          case 0: // SUCCESS
47325
          case 0: // SUCCESS
43679
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47326
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43680
              {
47327
              {
43681
                org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
47328
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
43682
                this.success = new ArrayList<Source>(_list118.size);
47329
                this.success = new ArrayList<Source>(_list126.size);
43683
                for (int _i119 = 0; _i119 < _list118.size; ++_i119)
47330
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
43684
                {
47331
                {
43685
                  Source _elem120; // required
47332
                  Source _elem128; // required
43686
                  _elem120 = new Source();
47333
                  _elem128 = new Source();
43687
                  _elem120.read(iprot);
47334
                  _elem128.read(iprot);
43688
                  this.success.add(_elem120);
47335
                  this.success.add(_elem128);
43689
                }
47336
                }
43690
                iprot.readListEnd();
47337
                iprot.readListEnd();
43691
              }
47338
              }
43692
            } else { 
47339
            } else { 
43693
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
47340
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 43707... Line 47354...
43707
 
47354
 
43708
      if (this.isSetSuccess()) {
47355
      if (this.isSetSuccess()) {
43709
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47356
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43710
        {
47357
        {
43711
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47358
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43712
          for (Source _iter121 : this.success)
47359
          for (Source _iter129 : this.success)
43713
          {
47360
          {
43714
            _iter121.write(oprot);
47361
            _iter129.write(oprot);
43715
          }
47362
          }
43716
          oprot.writeListEnd();
47363
          oprot.writeListEnd();
43717
        }
47364
        }
43718
        oprot.writeFieldEnd();
47365
        oprot.writeFieldEnd();
43719
      }
47366
      }
Line 45713... Line 49360...
45713
        }
49360
        }
45714
        switch (field.id) {
49361
        switch (field.id) {
45715
          case 0: // SUCCESS
49362
          case 0: // SUCCESS
45716
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49363
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45717
              {
49364
              {
45718
                org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
49365
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
45719
                this.success = new ArrayList<SourceItemPricing>(_list122.size);
49366
                this.success = new ArrayList<SourceItemPricing>(_list130.size);
45720
                for (int _i123 = 0; _i123 < _list122.size; ++_i123)
49367
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
45721
                {
49368
                {
45722
                  SourceItemPricing _elem124; // required
49369
                  SourceItemPricing _elem132; // required
45723
                  _elem124 = new SourceItemPricing();
49370
                  _elem132 = new SourceItemPricing();
45724
                  _elem124.read(iprot);
49371
                  _elem132.read(iprot);
45725
                  this.success.add(_elem124);
49372
                  this.success.add(_elem132);
45726
                }
49373
                }
45727
                iprot.readListEnd();
49374
                iprot.readListEnd();
45728
              }
49375
              }
45729
            } else { 
49376
            } else { 
45730
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
49377
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45752... Line 49399...
45752
 
49399
 
45753
      if (this.isSetSuccess()) {
49400
      if (this.isSetSuccess()) {
45754
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49401
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45755
        {
49402
        {
45756
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49403
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45757
          for (SourceItemPricing _iter125 : this.success)
49404
          for (SourceItemPricing _iter133 : this.success)
45758
          {
49405
          {
45759
            _iter125.write(oprot);
49406
            _iter133.write(oprot);
45760
          }
49407
          }
45761
          oprot.writeListEnd();
49408
          oprot.writeListEnd();
45762
        }
49409
        }
45763
        oprot.writeFieldEnd();
49410
        oprot.writeFieldEnd();
45764
      } else if (this.isSetCex()) {
49411
      } else if (this.isSetCex()) {
Line 46960... Line 50607...
46960
        }
50607
        }
46961
        switch (field.id) {
50608
        switch (field.id) {
46962
          case 1: // SEARCH_TERMS
50609
          case 1: // SEARCH_TERMS
46963
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50610
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46964
              {
50611
              {
46965
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
50612
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
46966
                this.searchTerms = new ArrayList<String>(_list126.size);
50613
                this.searchTerms = new ArrayList<String>(_list134.size);
46967
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
50614
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
46968
                {
50615
                {
46969
                  String _elem128; // required
50616
                  String _elem136; // required
46970
                  _elem128 = iprot.readString();
50617
                  _elem136 = iprot.readString();
46971
                  this.searchTerms.add(_elem128);
50618
                  this.searchTerms.add(_elem136);
46972
                }
50619
                }
46973
                iprot.readListEnd();
50620
                iprot.readListEnd();
46974
              }
50621
              }
46975
            } else { 
50622
            } else { 
46976
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50623
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47007... Line 50654...
47007
      oprot.writeStructBegin(STRUCT_DESC);
50654
      oprot.writeStructBegin(STRUCT_DESC);
47008
      if (this.searchTerms != null) {
50655
      if (this.searchTerms != null) {
47009
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
50656
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
47010
        {
50657
        {
47011
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
50658
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
47012
          for (String _iter129 : this.searchTerms)
50659
          for (String _iter137 : this.searchTerms)
47013
          {
50660
          {
47014
            oprot.writeString(_iter129);
50661
            oprot.writeString(_iter137);
47015
          }
50662
          }
47016
          oprot.writeListEnd();
50663
          oprot.writeListEnd();
47017
        }
50664
        }
47018
        oprot.writeFieldEnd();
50665
        oprot.writeFieldEnd();
47019
      }
50666
      }
Line 47321... Line 50968...
47321
        }
50968
        }
47322
        switch (field.id) {
50969
        switch (field.id) {
47323
          case 0: // SUCCESS
50970
          case 0: // SUCCESS
47324
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50971
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47325
              {
50972
              {
47326
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
50973
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
47327
                this.success = new ArrayList<Item>(_list130.size);
50974
                this.success = new ArrayList<Item>(_list138.size);
47328
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
50975
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
47329
                {
50976
                {
47330
                  Item _elem132; // required
50977
                  Item _elem140; // required
47331
                  _elem132 = new Item();
50978
                  _elem140 = new Item();
47332
                  _elem132.read(iprot);
50979
                  _elem140.read(iprot);
47333
                  this.success.add(_elem132);
50980
                  this.success.add(_elem140);
47334
                }
50981
                }
47335
                iprot.readListEnd();
50982
                iprot.readListEnd();
47336
              }
50983
              }
47337
            } else { 
50984
            } else { 
47338
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50985
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47352... Line 50999...
47352
 
50999
 
47353
      if (this.isSetSuccess()) {
51000
      if (this.isSetSuccess()) {
47354
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51001
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47355
        {
51002
        {
47356
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51003
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47357
          for (Item _iter133 : this.success)
51004
          for (Item _iter141 : this.success)
47358
          {
51005
          {
47359
            _iter133.write(oprot);
51006
            _iter141.write(oprot);
47360
          }
51007
          }
47361
          oprot.writeListEnd();
51008
          oprot.writeListEnd();
47362
        }
51009
        }
47363
        oprot.writeFieldEnd();
51010
        oprot.writeFieldEnd();
47364
      }
51011
      }
Line 47652... Line 51299...
47652
        }
51299
        }
47653
        switch (field.id) {
51300
        switch (field.id) {
47654
          case 1: // SEARCH_TERMS
51301
          case 1: // SEARCH_TERMS
47655
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51302
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47656
              {
51303
              {
47657
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
51304
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
47658
                this.searchTerms = new ArrayList<String>(_list134.size);
51305
                this.searchTerms = new ArrayList<String>(_list142.size);
47659
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
51306
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
47660
                {
51307
                {
47661
                  String _elem136; // required
51308
                  String _elem144; // required
47662
                  _elem136 = iprot.readString();
51309
                  _elem144 = iprot.readString();
47663
                  this.searchTerms.add(_elem136);
51310
                  this.searchTerms.add(_elem144);
47664
                }
51311
                }
47665
                iprot.readListEnd();
51312
                iprot.readListEnd();
47666
              }
51313
              }
47667
            } else { 
51314
            } else { 
47668
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51315
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47683... Line 51330...
47683
      oprot.writeStructBegin(STRUCT_DESC);
51330
      oprot.writeStructBegin(STRUCT_DESC);
47684
      if (this.searchTerms != null) {
51331
      if (this.searchTerms != null) {
47685
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
51332
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
47686
        {
51333
        {
47687
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
51334
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
47688
          for (String _iter137 : this.searchTerms)
51335
          for (String _iter145 : this.searchTerms)
47689
          {
51336
          {
47690
            oprot.writeString(_iter137);
51337
            oprot.writeString(_iter145);
47691
          }
51338
          }
47692
          oprot.writeListEnd();
51339
          oprot.writeListEnd();
47693
        }
51340
        }
47694
        oprot.writeFieldEnd();
51341
        oprot.writeFieldEnd();
47695
      }
51342
      }
Line 48570... Line 52217...
48570
        }
52217
        }
48571
        switch (field.id) {
52218
        switch (field.id) {
48572
          case 0: // SUCCESS
52219
          case 0: // SUCCESS
48573
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52220
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48574
              {
52221
              {
48575
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
52222
                org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
48576
                this.success = new ArrayList<ProductNotificationRequest>(_list138.size);
52223
                this.success = new ArrayList<ProductNotificationRequest>(_list146.size);
48577
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
52224
                for (int _i147 = 0; _i147 < _list146.size; ++_i147)
48578
                {
52225
                {
48579
                  ProductNotificationRequest _elem140; // required
52226
                  ProductNotificationRequest _elem148; // required
48580
                  _elem140 = new ProductNotificationRequest();
52227
                  _elem148 = new ProductNotificationRequest();
48581
                  _elem140.read(iprot);
52228
                  _elem148.read(iprot);
48582
                  this.success.add(_elem140);
52229
                  this.success.add(_elem148);
48583
                }
52230
                }
48584
                iprot.readListEnd();
52231
                iprot.readListEnd();
48585
              }
52232
              }
48586
            } else { 
52233
            } else { 
48587
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52234
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48601... Line 52248...
48601
 
52248
 
48602
      if (this.isSetSuccess()) {
52249
      if (this.isSetSuccess()) {
48603
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52250
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48604
        {
52251
        {
48605
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52252
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48606
          for (ProductNotificationRequest _iter141 : this.success)
52253
          for (ProductNotificationRequest _iter149 : this.success)
48607
          {
52254
          {
48608
            _iter141.write(oprot);
52255
            _iter149.write(oprot);
48609
          }
52256
          }
48610
          oprot.writeListEnd();
52257
          oprot.writeListEnd();
48611
        }
52258
        }
48612
        oprot.writeFieldEnd();
52259
        oprot.writeFieldEnd();
48613
      }
52260
      }
Line 49195... Line 52842...
49195
        }
52842
        }
49196
        switch (field.id) {
52843
        switch (field.id) {
49197
          case 0: // SUCCESS
52844
          case 0: // SUCCESS
49198
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52845
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
49199
              {
52846
              {
49200
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
52847
                org.apache.thrift.protocol.TList _list150 = iprot.readListBegin();
49201
                this.success = new ArrayList<ProductNotificationRequestCount>(_list142.size);
52848
                this.success = new ArrayList<ProductNotificationRequestCount>(_list150.size);
49202
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
52849
                for (int _i151 = 0; _i151 < _list150.size; ++_i151)
49203
                {
52850
                {
49204
                  ProductNotificationRequestCount _elem144; // required
52851
                  ProductNotificationRequestCount _elem152; // required
49205
                  _elem144 = new ProductNotificationRequestCount();
52852
                  _elem152 = new ProductNotificationRequestCount();
49206
                  _elem144.read(iprot);
52853
                  _elem152.read(iprot);
49207
                  this.success.add(_elem144);
52854
                  this.success.add(_elem152);
49208
                }
52855
                }
49209
                iprot.readListEnd();
52856
                iprot.readListEnd();
49210
              }
52857
              }
49211
            } else { 
52858
            } else { 
49212
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
52859
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 49226... Line 52873...
49226
 
52873
 
49227
      if (this.isSetSuccess()) {
52874
      if (this.isSetSuccess()) {
49228
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52875
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49229
        {
52876
        {
49230
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
52877
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
49231
          for (ProductNotificationRequestCount _iter145 : this.success)
52878
          for (ProductNotificationRequestCount _iter153 : this.success)
49232
          {
52879
          {
49233
            _iter145.write(oprot);
52880
            _iter153.write(oprot);
49234
          }
52881
          }
49235
          oprot.writeListEnd();
52882
          oprot.writeListEnd();
49236
        }
52883
        }
49237
        oprot.writeFieldEnd();
52884
        oprot.writeFieldEnd();
49238
      }
52885
      }
Line 50645... Line 54292...
50645
        }
54292
        }
50646
        switch (field.id) {
54293
        switch (field.id) {
50647
          case 0: // SUCCESS
54294
          case 0: // SUCCESS
50648
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54295
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50649
              {
54296
              {
50650
                org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
54297
                org.apache.thrift.protocol.TList _list154 = iprot.readListBegin();
50651
                this.success = new ArrayList<Long>(_list146.size);
54298
                this.success = new ArrayList<Long>(_list154.size);
50652
                for (int _i147 = 0; _i147 < _list146.size; ++_i147)
54299
                for (int _i155 = 0; _i155 < _list154.size; ++_i155)
50653
                {
54300
                {
50654
                  long _elem148; // required
54301
                  long _elem156; // required
50655
                  _elem148 = iprot.readI64();
54302
                  _elem156 = iprot.readI64();
50656
                  this.success.add(_elem148);
54303
                  this.success.add(_elem156);
50657
                }
54304
                }
50658
                iprot.readListEnd();
54305
                iprot.readListEnd();
50659
              }
54306
              }
50660
            } else { 
54307
            } else { 
50661
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54308
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50683... Line 54330...
50683
 
54330
 
50684
      if (this.isSetSuccess()) {
54331
      if (this.isSetSuccess()) {
50685
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54332
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50686
        {
54333
        {
50687
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
54334
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50688
          for (long _iter149 : this.success)
54335
          for (long _iter157 : this.success)
50689
          {
54336
          {
50690
            oprot.writeI64(_iter149);
54337
            oprot.writeI64(_iter157);
50691
          }
54338
          }
50692
          oprot.writeListEnd();
54339
          oprot.writeListEnd();
50693
        }
54340
        }
50694
        oprot.writeFieldEnd();
54341
        oprot.writeFieldEnd();
50695
      } else if (this.isSetCex()) {
54342
      } else if (this.isSetCex()) {
Line 51195... Line 54842...
51195
      }
54842
      }
51196
    }
54843
    }
51197
 
54844
 
51198
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
54845
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
51199
      try {
54846
      try {
-
 
54847
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
54848
        __isset_bit_vector = new BitSet(1);
51200
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
54849
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
51201
      } catch (org.apache.thrift.TException te) {
54850
      } catch (org.apache.thrift.TException te) {
51202
        throw new java.io.IOException(te);
54851
        throw new java.io.IOException(te);
51203
      }
54852
      }
51204
    }
54853
    }
Line 53556... Line 57205...
53556
        }
57205
        }
53557
        switch (field.id) {
57206
        switch (field.id) {
53558
          case 0: // SUCCESS
57207
          case 0: // SUCCESS
53559
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
57208
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53560
              {
57209
              {
53561
                org.apache.thrift.protocol.TList _list150 = iprot.readListBegin();
57210
                org.apache.thrift.protocol.TList _list158 = iprot.readListBegin();
53562
                this.success = new ArrayList<VoucherItemMapping>(_list150.size);
57211
                this.success = new ArrayList<VoucherItemMapping>(_list158.size);
53563
                for (int _i151 = 0; _i151 < _list150.size; ++_i151)
57212
                for (int _i159 = 0; _i159 < _list158.size; ++_i159)
53564
                {
57213
                {
53565
                  VoucherItemMapping _elem152; // required
57214
                  VoucherItemMapping _elem160; // required
53566
                  _elem152 = new VoucherItemMapping();
57215
                  _elem160 = new VoucherItemMapping();
53567
                  _elem152.read(iprot);
57216
                  _elem160.read(iprot);
53568
                  this.success.add(_elem152);
57217
                  this.success.add(_elem160);
53569
                }
57218
                }
53570
                iprot.readListEnd();
57219
                iprot.readListEnd();
53571
              }
57220
              }
53572
            } else { 
57221
            } else { 
53573
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
57222
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53587... Line 57236...
53587
 
57236
 
53588
      if (this.isSetSuccess()) {
57237
      if (this.isSetSuccess()) {
53589
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
57238
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53590
        {
57239
        {
53591
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
57240
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53592
          for (VoucherItemMapping _iter153 : this.success)
57241
          for (VoucherItemMapping _iter161 : this.success)
53593
          {
57242
          {
53594
            _iter153.write(oprot);
57243
            _iter161.write(oprot);
53595
          }
57244
          }
53596
          oprot.writeListEnd();
57245
          oprot.writeListEnd();
53597
        }
57246
        }
53598
        oprot.writeFieldEnd();
57247
        oprot.writeFieldEnd();
53599
      }
57248
      }
Line 56191... Line 59840...
56191
        }
59840
        }
56192
        switch (field.id) {
59841
        switch (field.id) {
56193
          case 0: // SUCCESS
59842
          case 0: // SUCCESS
56194
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
59843
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56195
              {
59844
              {
56196
                org.apache.thrift.protocol.TList _list154 = iprot.readListBegin();
59845
                org.apache.thrift.protocol.TList _list162 = iprot.readListBegin();
56197
                this.success = new ArrayList<Item>(_list154.size);
59846
                this.success = new ArrayList<Item>(_list162.size);
56198
                for (int _i155 = 0; _i155 < _list154.size; ++_i155)
59847
                for (int _i163 = 0; _i163 < _list162.size; ++_i163)
56199
                {
59848
                {
56200
                  Item _elem156; // required
59849
                  Item _elem164; // required
56201
                  _elem156 = new Item();
59850
                  _elem164 = new Item();
56202
                  _elem156.read(iprot);
59851
                  _elem164.read(iprot);
56203
                  this.success.add(_elem156);
59852
                  this.success.add(_elem164);
56204
                }
59853
                }
56205
                iprot.readListEnd();
59854
                iprot.readListEnd();
56206
              }
59855
              }
56207
            } else { 
59856
            } else { 
56208
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
59857
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56222... Line 59871...
56222
 
59871
 
56223
      if (this.isSetSuccess()) {
59872
      if (this.isSetSuccess()) {
56224
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
59873
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56225
        {
59874
        {
56226
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
59875
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56227
          for (Item _iter157 : this.success)
59876
          for (Item _iter165 : this.success)
56228
          {
59877
          {
56229
            _iter157.write(oprot);
59878
            _iter165.write(oprot);
56230
          }
59879
          }
56231
          oprot.writeListEnd();
59880
          oprot.writeListEnd();
56232
        }
59881
        }
56233
        oprot.writeFieldEnd();
59882
        oprot.writeFieldEnd();
56234
      }
59883
      }
Line 56722... Line 60371...
56722
        }
60371
        }
56723
        switch (field.id) {
60372
        switch (field.id) {
56724
          case 0: // SUCCESS
60373
          case 0: // SUCCESS
56725
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
60374
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56726
              {
60375
              {
56727
                org.apache.thrift.protocol.TList _list158 = iprot.readListBegin();
60376
                org.apache.thrift.protocol.TList _list166 = iprot.readListBegin();
56728
                this.success = new ArrayList<Item>(_list158.size);
60377
                this.success = new ArrayList<Item>(_list166.size);
56729
                for (int _i159 = 0; _i159 < _list158.size; ++_i159)
60378
                for (int _i167 = 0; _i167 < _list166.size; ++_i167)
56730
                {
60379
                {
56731
                  Item _elem160; // required
60380
                  Item _elem168; // required
56732
                  _elem160 = new Item();
60381
                  _elem168 = new Item();
56733
                  _elem160.read(iprot);
60382
                  _elem168.read(iprot);
56734
                  this.success.add(_elem160);
60383
                  this.success.add(_elem168);
56735
                }
60384
                }
56736
                iprot.readListEnd();
60385
                iprot.readListEnd();
56737
              }
60386
              }
56738
            } else { 
60387
            } else { 
56739
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
60388
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56753... Line 60402...
56753
 
60402
 
56754
      if (this.isSetSuccess()) {
60403
      if (this.isSetSuccess()) {
56755
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
60404
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56756
        {
60405
        {
56757
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
60406
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
56758
          for (Item _iter161 : this.success)
60407
          for (Item _iter169 : this.success)
56759
          {
60408
          {
56760
            _iter161.write(oprot);
60409
            _iter169.write(oprot);
56761
          }
60410
          }
56762
          oprot.writeListEnd();
60411
          oprot.writeListEnd();
56763
        }
60412
        }
56764
        oprot.writeFieldEnd();
60413
        oprot.writeFieldEnd();
56765
      }
60414
      }
Line 58592... Line 62241...
58592
        }
62241
        }
58593
        switch (field.id) {
62242
        switch (field.id) {
58594
          case 0: // SUCCESS
62243
          case 0: // SUCCESS
58595
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
62244
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
58596
              {
62245
              {
58597
                org.apache.thrift.protocol.TList _list162 = iprot.readListBegin();
62246
                org.apache.thrift.protocol.TList _list170 = iprot.readListBegin();
58598
                this.success = new ArrayList<Insurer>(_list162.size);
62247
                this.success = new ArrayList<Insurer>(_list170.size);
58599
                for (int _i163 = 0; _i163 < _list162.size; ++_i163)
62248
                for (int _i171 = 0; _i171 < _list170.size; ++_i171)
58600
                {
62249
                {
58601
                  Insurer _elem164; // required
62250
                  Insurer _elem172; // required
58602
                  _elem164 = new Insurer();
62251
                  _elem172 = new Insurer();
58603
                  _elem164.read(iprot);
62252
                  _elem172.read(iprot);
58604
                  this.success.add(_elem164);
62253
                  this.success.add(_elem172);
58605
                }
62254
                }
58606
                iprot.readListEnd();
62255
                iprot.readListEnd();
58607
              }
62256
              }
58608
            } else { 
62257
            } else { 
58609
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
62258
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 58623... Line 62272...
58623
 
62272
 
58624
      if (this.isSetSuccess()) {
62273
      if (this.isSetSuccess()) {
58625
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
62274
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
58626
        {
62275
        {
58627
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
62276
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
58628
          for (Insurer _iter165 : this.success)
62277
          for (Insurer _iter173 : this.success)
58629
          {
62278
          {
58630
            _iter165.write(oprot);
62279
            _iter173.write(oprot);
58631
          }
62280
          }
58632
          oprot.writeListEnd();
62281
          oprot.writeListEnd();
58633
        }
62282
        }
58634
        oprot.writeFieldEnd();
62283
        oprot.writeFieldEnd();
58635
      }
62284
      }