Subversion Repositories SmartDukaan

Rev

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

Rev 21044 Rev 21090
Line 1258... Line 1258...
1258
 
1258
 
1259
    public List<Order> getBilledOrdersForManifestGen(long warehouse_id, long logistics_provider_id, boolean cod) throws org.apache.thrift.TException;
1259
    public List<Order> getBilledOrdersForManifestGen(long warehouse_id, long logistics_provider_id, boolean cod) throws org.apache.thrift.TException;
1260
 
1260
 
1261
    public boolean registerRsa(long userId, String activation_code) throws org.apache.thrift.TException;
1261
    public boolean registerRsa(long userId, String activation_code) throws org.apache.thrift.TException;
1262
 
1262
 
-
 
1263
    public String addSalesAssociate(Pmsa pmsa, String referrerEmail, String l1_userEmail) throws org.apache.thrift.TException;
-
 
1264
 
-
 
1265
    public List<Pmsa> searchPmsa(PmsaSearchFilter pmsaSearchFilter, String associateEmail) throws org.apache.thrift.TException;
-
 
1266
 
-
 
1267
    public Pmsa getPmsaUser(long id, String associateEmail) throws org.apache.thrift.TException;
-
 
1268
 
-
 
1269
    public String updatePmsaUser(Pmsa pmsa, String associateEmail) throws org.apache.thrift.TException;
-
 
1270
 
-
 
1271
    public List<Pmsa> getPmsaUsers(String associateEmail) throws org.apache.thrift.TException;
-
 
1272
 
-
 
1273
    public List<Pmsa> getPendingAssociates(String associateEmail) throws org.apache.thrift.TException;
-
 
1274
 
-
 
1275
    public List<Long> getStatsForAssociates(String associateEmail) throws org.apache.thrift.TException;
-
 
1276
 
1263
  }
1277
  }
1264
 
1278
 
1265
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1279
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1266
 
1280
 
1267
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1281
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1884... Line 1898...
1884
 
1898
 
1885
    public void getBilledOrdersForManifestGen(long warehouse_id, long logistics_provider_id, boolean cod, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBilledOrdersForManifestGen_call> resultHandler) throws org.apache.thrift.TException;
1899
    public void getBilledOrdersForManifestGen(long warehouse_id, long logistics_provider_id, boolean cod, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBilledOrdersForManifestGen_call> resultHandler) throws org.apache.thrift.TException;
1886
 
1900
 
1887
    public void registerRsa(long userId, String activation_code, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.registerRsa_call> resultHandler) throws org.apache.thrift.TException;
1901
    public void registerRsa(long userId, String activation_code, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.registerRsa_call> resultHandler) throws org.apache.thrift.TException;
1888
 
1902
 
-
 
1903
    public void addSalesAssociate(Pmsa pmsa, String referrerEmail, String l1_userEmail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addSalesAssociate_call> resultHandler) throws org.apache.thrift.TException;
-
 
1904
 
-
 
1905
    public void searchPmsa(PmsaSearchFilter pmsaSearchFilter, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.searchPmsa_call> resultHandler) throws org.apache.thrift.TException;
-
 
1906
 
-
 
1907
    public void getPmsaUser(long id, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPmsaUser_call> resultHandler) throws org.apache.thrift.TException;
-
 
1908
 
-
 
1909
    public void updatePmsaUser(Pmsa pmsa, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updatePmsaUser_call> resultHandler) throws org.apache.thrift.TException;
-
 
1910
 
-
 
1911
    public void getPmsaUsers(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPmsaUsers_call> resultHandler) throws org.apache.thrift.TException;
-
 
1912
 
-
 
1913
    public void getPendingAssociates(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPendingAssociates_call> resultHandler) throws org.apache.thrift.TException;
-
 
1914
 
-
 
1915
    public void getStatsForAssociates(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStatsForAssociates_call> resultHandler) throws org.apache.thrift.TException;
-
 
1916
 
1889
  }
1917
  }
1890
 
1918
 
1891
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1919
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1892
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1920
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1893
      public Factory() {}
1921
      public Factory() {}
Line 9599... Line 9627...
9599
        return result.success;
9627
        return result.success;
9600
      }
9628
      }
9601
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "registerRsa failed: unknown result");
9629
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "registerRsa failed: unknown result");
9602
    }
9630
    }
9603
 
9631
 
-
 
9632
    public String addSalesAssociate(Pmsa pmsa, String referrerEmail, String l1_userEmail) throws org.apache.thrift.TException
-
 
9633
    {
-
 
9634
      send_addSalesAssociate(pmsa, referrerEmail, l1_userEmail);
-
 
9635
      return recv_addSalesAssociate();
-
 
9636
    }
-
 
9637
 
-
 
9638
    public void send_addSalesAssociate(Pmsa pmsa, String referrerEmail, String l1_userEmail) throws org.apache.thrift.TException
-
 
9639
    {
-
 
9640
      addSalesAssociate_args args = new addSalesAssociate_args();
-
 
9641
      args.setPmsa(pmsa);
-
 
9642
      args.setReferrerEmail(referrerEmail);
-
 
9643
      args.setL1_userEmail(l1_userEmail);
-
 
9644
      sendBase("addSalesAssociate", args);
-
 
9645
    }
-
 
9646
 
-
 
9647
    public String recv_addSalesAssociate() throws org.apache.thrift.TException
-
 
9648
    {
-
 
9649
      addSalesAssociate_result result = new addSalesAssociate_result();
-
 
9650
      receiveBase(result, "addSalesAssociate");
-
 
9651
      if (result.isSetSuccess()) {
-
 
9652
        return result.success;
-
 
9653
      }
-
 
9654
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addSalesAssociate failed: unknown result");
-
 
9655
    }
-
 
9656
 
-
 
9657
    public List<Pmsa> searchPmsa(PmsaSearchFilter pmsaSearchFilter, String associateEmail) throws org.apache.thrift.TException
-
 
9658
    {
-
 
9659
      send_searchPmsa(pmsaSearchFilter, associateEmail);
-
 
9660
      return recv_searchPmsa();
-
 
9661
    }
-
 
9662
 
-
 
9663
    public void send_searchPmsa(PmsaSearchFilter pmsaSearchFilter, String associateEmail) throws org.apache.thrift.TException
-
 
9664
    {
-
 
9665
      searchPmsa_args args = new searchPmsa_args();
-
 
9666
      args.setPmsaSearchFilter(pmsaSearchFilter);
-
 
9667
      args.setAssociateEmail(associateEmail);
-
 
9668
      sendBase("searchPmsa", args);
-
 
9669
    }
-
 
9670
 
-
 
9671
    public List<Pmsa> recv_searchPmsa() throws org.apache.thrift.TException
-
 
9672
    {
-
 
9673
      searchPmsa_result result = new searchPmsa_result();
-
 
9674
      receiveBase(result, "searchPmsa");
-
 
9675
      if (result.isSetSuccess()) {
-
 
9676
        return result.success;
-
 
9677
      }
-
 
9678
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchPmsa failed: unknown result");
-
 
9679
    }
-
 
9680
 
-
 
9681
    public Pmsa getPmsaUser(long id, String associateEmail) throws org.apache.thrift.TException
-
 
9682
    {
-
 
9683
      send_getPmsaUser(id, associateEmail);
-
 
9684
      return recv_getPmsaUser();
-
 
9685
    }
-
 
9686
 
-
 
9687
    public void send_getPmsaUser(long id, String associateEmail) throws org.apache.thrift.TException
-
 
9688
    {
-
 
9689
      getPmsaUser_args args = new getPmsaUser_args();
-
 
9690
      args.setId(id);
-
 
9691
      args.setAssociateEmail(associateEmail);
-
 
9692
      sendBase("getPmsaUser", args);
-
 
9693
    }
-
 
9694
 
-
 
9695
    public Pmsa recv_getPmsaUser() throws org.apache.thrift.TException
-
 
9696
    {
-
 
9697
      getPmsaUser_result result = new getPmsaUser_result();
-
 
9698
      receiveBase(result, "getPmsaUser");
-
 
9699
      if (result.isSetSuccess()) {
-
 
9700
        return result.success;
-
 
9701
      }
-
 
9702
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPmsaUser failed: unknown result");
-
 
9703
    }
-
 
9704
 
-
 
9705
    public String updatePmsaUser(Pmsa pmsa, String associateEmail) throws org.apache.thrift.TException
-
 
9706
    {
-
 
9707
      send_updatePmsaUser(pmsa, associateEmail);
-
 
9708
      return recv_updatePmsaUser();
-
 
9709
    }
-
 
9710
 
-
 
9711
    public void send_updatePmsaUser(Pmsa pmsa, String associateEmail) throws org.apache.thrift.TException
-
 
9712
    {
-
 
9713
      updatePmsaUser_args args = new updatePmsaUser_args();
-
 
9714
      args.setPmsa(pmsa);
-
 
9715
      args.setAssociateEmail(associateEmail);
-
 
9716
      sendBase("updatePmsaUser", args);
-
 
9717
    }
-
 
9718
 
-
 
9719
    public String recv_updatePmsaUser() throws org.apache.thrift.TException
-
 
9720
    {
-
 
9721
      updatePmsaUser_result result = new updatePmsaUser_result();
-
 
9722
      receiveBase(result, "updatePmsaUser");
-
 
9723
      if (result.isSetSuccess()) {
-
 
9724
        return result.success;
-
 
9725
      }
-
 
9726
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updatePmsaUser failed: unknown result");
-
 
9727
    }
-
 
9728
 
-
 
9729
    public List<Pmsa> getPmsaUsers(String associateEmail) throws org.apache.thrift.TException
-
 
9730
    {
-
 
9731
      send_getPmsaUsers(associateEmail);
-
 
9732
      return recv_getPmsaUsers();
-
 
9733
    }
-
 
9734
 
-
 
9735
    public void send_getPmsaUsers(String associateEmail) throws org.apache.thrift.TException
-
 
9736
    {
-
 
9737
      getPmsaUsers_args args = new getPmsaUsers_args();
-
 
9738
      args.setAssociateEmail(associateEmail);
-
 
9739
      sendBase("getPmsaUsers", args);
-
 
9740
    }
-
 
9741
 
-
 
9742
    public List<Pmsa> recv_getPmsaUsers() throws org.apache.thrift.TException
-
 
9743
    {
-
 
9744
      getPmsaUsers_result result = new getPmsaUsers_result();
-
 
9745
      receiveBase(result, "getPmsaUsers");
-
 
9746
      if (result.isSetSuccess()) {
-
 
9747
        return result.success;
-
 
9748
      }
-
 
9749
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPmsaUsers failed: unknown result");
-
 
9750
    }
-
 
9751
 
-
 
9752
    public List<Pmsa> getPendingAssociates(String associateEmail) throws org.apache.thrift.TException
-
 
9753
    {
-
 
9754
      send_getPendingAssociates(associateEmail);
-
 
9755
      return recv_getPendingAssociates();
-
 
9756
    }
-
 
9757
 
-
 
9758
    public void send_getPendingAssociates(String associateEmail) throws org.apache.thrift.TException
-
 
9759
    {
-
 
9760
      getPendingAssociates_args args = new getPendingAssociates_args();
-
 
9761
      args.setAssociateEmail(associateEmail);
-
 
9762
      sendBase("getPendingAssociates", args);
-
 
9763
    }
-
 
9764
 
-
 
9765
    public List<Pmsa> recv_getPendingAssociates() throws org.apache.thrift.TException
-
 
9766
    {
-
 
9767
      getPendingAssociates_result result = new getPendingAssociates_result();
-
 
9768
      receiveBase(result, "getPendingAssociates");
-
 
9769
      if (result.isSetSuccess()) {
-
 
9770
        return result.success;
-
 
9771
      }
-
 
9772
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPendingAssociates failed: unknown result");
-
 
9773
    }
-
 
9774
 
-
 
9775
    public List<Long> getStatsForAssociates(String associateEmail) throws org.apache.thrift.TException
-
 
9776
    {
-
 
9777
      send_getStatsForAssociates(associateEmail);
-
 
9778
      return recv_getStatsForAssociates();
-
 
9779
    }
-
 
9780
 
-
 
9781
    public void send_getStatsForAssociates(String associateEmail) throws org.apache.thrift.TException
-
 
9782
    {
-
 
9783
      getStatsForAssociates_args args = new getStatsForAssociates_args();
-
 
9784
      args.setAssociateEmail(associateEmail);
-
 
9785
      sendBase("getStatsForAssociates", args);
-
 
9786
    }
-
 
9787
 
-
 
9788
    public List<Long> recv_getStatsForAssociates() throws org.apache.thrift.TException
-
 
9789
    {
-
 
9790
      getStatsForAssociates_result result = new getStatsForAssociates_result();
-
 
9791
      receiveBase(result, "getStatsForAssociates");
-
 
9792
      if (result.isSetSuccess()) {
-
 
9793
        return result.success;
-
 
9794
      }
-
 
9795
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStatsForAssociates failed: unknown result");
-
 
9796
    }
-
 
9797
 
9604
  }
9798
  }
9605
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9799
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9606
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9800
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9607
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9801
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9608
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
9802
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 20451... Line 20645...
20451
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
20645
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
20452
        return (new Client(prot)).recv_registerRsa();
20646
        return (new Client(prot)).recv_registerRsa();
20453
      }
20647
      }
20454
    }
20648
    }
20455
 
20649
 
-
 
20650
    public void addSalesAssociate(Pmsa pmsa, String referrerEmail, String l1_userEmail, org.apache.thrift.async.AsyncMethodCallback<addSalesAssociate_call> resultHandler) throws org.apache.thrift.TException {
-
 
20651
      checkReady();
-
 
20652
      addSalesAssociate_call method_call = new addSalesAssociate_call(pmsa, referrerEmail, l1_userEmail, resultHandler, this, ___protocolFactory, ___transport);
-
 
20653
      this.___currentMethod = method_call;
-
 
20654
      ___manager.call(method_call);
-
 
20655
    }
-
 
20656
 
-
 
20657
    public static class addSalesAssociate_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20658
      private Pmsa pmsa;
-
 
20659
      private String referrerEmail;
-
 
20660
      private String l1_userEmail;
-
 
20661
      public addSalesAssociate_call(Pmsa pmsa, String referrerEmail, String l1_userEmail, org.apache.thrift.async.AsyncMethodCallback<addSalesAssociate_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 {
-
 
20662
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20663
        this.pmsa = pmsa;
-
 
20664
        this.referrerEmail = referrerEmail;
-
 
20665
        this.l1_userEmail = l1_userEmail;
-
 
20666
      }
-
 
20667
 
-
 
20668
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
20669
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addSalesAssociate", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
20670
        addSalesAssociate_args args = new addSalesAssociate_args();
-
 
20671
        args.setPmsa(pmsa);
-
 
20672
        args.setReferrerEmail(referrerEmail);
-
 
20673
        args.setL1_userEmail(l1_userEmail);
-
 
20674
        args.write(prot);
-
 
20675
        prot.writeMessageEnd();
-
 
20676
      }
-
 
20677
 
-
 
20678
      public String getResult() throws org.apache.thrift.TException {
-
 
20679
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
20680
          throw new IllegalStateException("Method call not finished!");
-
 
20681
        }
-
 
20682
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
20683
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
20684
        return (new Client(prot)).recv_addSalesAssociate();
-
 
20685
      }
-
 
20686
    }
-
 
20687
 
-
 
20688
    public void searchPmsa(PmsaSearchFilter pmsaSearchFilter, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<searchPmsa_call> resultHandler) throws org.apache.thrift.TException {
-
 
20689
      checkReady();
-
 
20690
      searchPmsa_call method_call = new searchPmsa_call(pmsaSearchFilter, associateEmail, resultHandler, this, ___protocolFactory, ___transport);
-
 
20691
      this.___currentMethod = method_call;
-
 
20692
      ___manager.call(method_call);
-
 
20693
    }
-
 
20694
 
-
 
20695
    public static class searchPmsa_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20696
      private PmsaSearchFilter pmsaSearchFilter;
-
 
20697
      private String associateEmail;
-
 
20698
      public searchPmsa_call(PmsaSearchFilter pmsaSearchFilter, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<searchPmsa_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 {
-
 
20699
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20700
        this.pmsaSearchFilter = pmsaSearchFilter;
-
 
20701
        this.associateEmail = associateEmail;
-
 
20702
      }
-
 
20703
 
-
 
20704
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
20705
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("searchPmsa", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
20706
        searchPmsa_args args = new searchPmsa_args();
-
 
20707
        args.setPmsaSearchFilter(pmsaSearchFilter);
-
 
20708
        args.setAssociateEmail(associateEmail);
-
 
20709
        args.write(prot);
-
 
20710
        prot.writeMessageEnd();
-
 
20711
      }
-
 
20712
 
-
 
20713
      public List<Pmsa> getResult() throws org.apache.thrift.TException {
-
 
20714
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
20715
          throw new IllegalStateException("Method call not finished!");
-
 
20716
        }
-
 
20717
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
20718
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
20719
        return (new Client(prot)).recv_searchPmsa();
-
 
20720
      }
-
 
20721
    }
-
 
20722
 
-
 
20723
    public void getPmsaUser(long id, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getPmsaUser_call> resultHandler) throws org.apache.thrift.TException {
-
 
20724
      checkReady();
-
 
20725
      getPmsaUser_call method_call = new getPmsaUser_call(id, associateEmail, resultHandler, this, ___protocolFactory, ___transport);
-
 
20726
      this.___currentMethod = method_call;
-
 
20727
      ___manager.call(method_call);
-
 
20728
    }
-
 
20729
 
-
 
20730
    public static class getPmsaUser_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20731
      private long id;
-
 
20732
      private String associateEmail;
-
 
20733
      public getPmsaUser_call(long id, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getPmsaUser_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 {
-
 
20734
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20735
        this.id = id;
-
 
20736
        this.associateEmail = associateEmail;
-
 
20737
      }
-
 
20738
 
-
 
20739
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
20740
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPmsaUser", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
20741
        getPmsaUser_args args = new getPmsaUser_args();
-
 
20742
        args.setId(id);
-
 
20743
        args.setAssociateEmail(associateEmail);
-
 
20744
        args.write(prot);
-
 
20745
        prot.writeMessageEnd();
-
 
20746
      }
-
 
20747
 
-
 
20748
      public Pmsa getResult() throws org.apache.thrift.TException {
-
 
20749
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
20750
          throw new IllegalStateException("Method call not finished!");
-
 
20751
        }
-
 
20752
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
20753
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
20754
        return (new Client(prot)).recv_getPmsaUser();
-
 
20755
      }
-
 
20756
    }
-
 
20757
 
-
 
20758
    public void updatePmsaUser(Pmsa pmsa, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<updatePmsaUser_call> resultHandler) throws org.apache.thrift.TException {
-
 
20759
      checkReady();
-
 
20760
      updatePmsaUser_call method_call = new updatePmsaUser_call(pmsa, associateEmail, resultHandler, this, ___protocolFactory, ___transport);
-
 
20761
      this.___currentMethod = method_call;
-
 
20762
      ___manager.call(method_call);
-
 
20763
    }
-
 
20764
 
-
 
20765
    public static class updatePmsaUser_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20766
      private Pmsa pmsa;
-
 
20767
      private String associateEmail;
-
 
20768
      public updatePmsaUser_call(Pmsa pmsa, String associateEmail, org.apache.thrift.async.AsyncMethodCallback<updatePmsaUser_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 {
-
 
20769
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20770
        this.pmsa = pmsa;
-
 
20771
        this.associateEmail = associateEmail;
-
 
20772
      }
-
 
20773
 
-
 
20774
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
20775
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updatePmsaUser", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
20776
        updatePmsaUser_args args = new updatePmsaUser_args();
-
 
20777
        args.setPmsa(pmsa);
-
 
20778
        args.setAssociateEmail(associateEmail);
-
 
20779
        args.write(prot);
-
 
20780
        prot.writeMessageEnd();
-
 
20781
      }
-
 
20782
 
-
 
20783
      public String getResult() throws org.apache.thrift.TException {
-
 
20784
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
20785
          throw new IllegalStateException("Method call not finished!");
-
 
20786
        }
-
 
20787
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
20788
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
20789
        return (new Client(prot)).recv_updatePmsaUser();
-
 
20790
      }
-
 
20791
    }
-
 
20792
 
-
 
20793
    public void getPmsaUsers(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getPmsaUsers_call> resultHandler) throws org.apache.thrift.TException {
-
 
20794
      checkReady();
-
 
20795
      getPmsaUsers_call method_call = new getPmsaUsers_call(associateEmail, resultHandler, this, ___protocolFactory, ___transport);
-
 
20796
      this.___currentMethod = method_call;
-
 
20797
      ___manager.call(method_call);
-
 
20798
    }
-
 
20799
 
-
 
20800
    public static class getPmsaUsers_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20801
      private String associateEmail;
-
 
20802
      public getPmsaUsers_call(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getPmsaUsers_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 {
-
 
20803
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20804
        this.associateEmail = associateEmail;
-
 
20805
      }
-
 
20806
 
-
 
20807
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
20808
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPmsaUsers", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
20809
        getPmsaUsers_args args = new getPmsaUsers_args();
-
 
20810
        args.setAssociateEmail(associateEmail);
-
 
20811
        args.write(prot);
-
 
20812
        prot.writeMessageEnd();
-
 
20813
      }
-
 
20814
 
-
 
20815
      public List<Pmsa> getResult() throws org.apache.thrift.TException {
-
 
20816
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
20817
          throw new IllegalStateException("Method call not finished!");
-
 
20818
        }
-
 
20819
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
20820
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
20821
        return (new Client(prot)).recv_getPmsaUsers();
-
 
20822
      }
-
 
20823
    }
-
 
20824
 
-
 
20825
    public void getPendingAssociates(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getPendingAssociates_call> resultHandler) throws org.apache.thrift.TException {
-
 
20826
      checkReady();
-
 
20827
      getPendingAssociates_call method_call = new getPendingAssociates_call(associateEmail, resultHandler, this, ___protocolFactory, ___transport);
-
 
20828
      this.___currentMethod = method_call;
-
 
20829
      ___manager.call(method_call);
-
 
20830
    }
-
 
20831
 
-
 
20832
    public static class getPendingAssociates_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20833
      private String associateEmail;
-
 
20834
      public getPendingAssociates_call(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getPendingAssociates_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 {
-
 
20835
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20836
        this.associateEmail = associateEmail;
-
 
20837
      }
-
 
20838
 
-
 
20839
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
20840
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPendingAssociates", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
20841
        getPendingAssociates_args args = new getPendingAssociates_args();
-
 
20842
        args.setAssociateEmail(associateEmail);
-
 
20843
        args.write(prot);
-
 
20844
        prot.writeMessageEnd();
-
 
20845
      }
-
 
20846
 
-
 
20847
      public List<Pmsa> getResult() throws org.apache.thrift.TException {
-
 
20848
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
20849
          throw new IllegalStateException("Method call not finished!");
-
 
20850
        }
-
 
20851
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
20852
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
20853
        return (new Client(prot)).recv_getPendingAssociates();
-
 
20854
      }
-
 
20855
    }
-
 
20856
 
-
 
20857
    public void getStatsForAssociates(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getStatsForAssociates_call> resultHandler) throws org.apache.thrift.TException {
-
 
20858
      checkReady();
-
 
20859
      getStatsForAssociates_call method_call = new getStatsForAssociates_call(associateEmail, resultHandler, this, ___protocolFactory, ___transport);
-
 
20860
      this.___currentMethod = method_call;
-
 
20861
      ___manager.call(method_call);
-
 
20862
    }
-
 
20863
 
-
 
20864
    public static class getStatsForAssociates_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
20865
      private String associateEmail;
-
 
20866
      public getStatsForAssociates_call(String associateEmail, org.apache.thrift.async.AsyncMethodCallback<getStatsForAssociates_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 {
-
 
20867
        super(client, protocolFactory, transport, resultHandler, false);
-
 
20868
        this.associateEmail = associateEmail;
-
 
20869
      }
-
 
20870
 
-
 
20871
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
20872
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getStatsForAssociates", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
20873
        getStatsForAssociates_args args = new getStatsForAssociates_args();
-
 
20874
        args.setAssociateEmail(associateEmail);
-
 
20875
        args.write(prot);
-
 
20876
        prot.writeMessageEnd();
-
 
20877
      }
-
 
20878
 
-
 
20879
      public List<Long> getResult() throws org.apache.thrift.TException {
-
 
20880
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
20881
          throw new IllegalStateException("Method call not finished!");
-
 
20882
        }
-
 
20883
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
20884
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
20885
        return (new Client(prot)).recv_getStatsForAssociates();
-
 
20886
      }
-
 
20887
    }
-
 
20888
 
20456
  }
20889
  }
20457
 
20890
 
20458
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
20891
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
20459
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
20892
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
20460
    public Processor(I iface) {
20893
    public Processor(I iface) {
Line 20775... Line 21208...
20775
      processMap.put("addShipmentLogisticDetail", new addShipmentLogisticDetail());
21208
      processMap.put("addShipmentLogisticDetail", new addShipmentLogisticDetail());
20776
      processMap.put("createPayment", new createPayment());
21209
      processMap.put("createPayment", new createPayment());
20777
      processMap.put("calculatePaymentAmount", new calculatePaymentAmount());
21210
      processMap.put("calculatePaymentAmount", new calculatePaymentAmount());
20778
      processMap.put("getBilledOrdersForManifestGen", new getBilledOrdersForManifestGen());
21211
      processMap.put("getBilledOrdersForManifestGen", new getBilledOrdersForManifestGen());
20779
      processMap.put("registerRsa", new registerRsa());
21212
      processMap.put("registerRsa", new registerRsa());
-
 
21213
      processMap.put("addSalesAssociate", new addSalesAssociate());
-
 
21214
      processMap.put("searchPmsa", new searchPmsa());
-
 
21215
      processMap.put("getPmsaUser", new getPmsaUser());
-
 
21216
      processMap.put("updatePmsaUser", new updatePmsaUser());
-
 
21217
      processMap.put("getPmsaUsers", new getPmsaUsers());
-
 
21218
      processMap.put("getPendingAssociates", new getPendingAssociates());
-
 
21219
      processMap.put("getStatsForAssociates", new getStatsForAssociates());
20780
      return processMap;
21220
      return processMap;
20781
    }
21221
    }
20782
 
21222
 
20783
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
21223
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
20784
      public createTransaction() {
21224
      public createTransaction() {
Line 26393... Line 26833...
26393
        result.setSuccessIsSet(true);
26833
        result.setSuccessIsSet(true);
26394
        return result;
26834
        return result;
26395
      }
26835
      }
26396
    }
26836
    }
26397
 
26837
 
-
 
26838
    private static class addSalesAssociate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addSalesAssociate_args> {
-
 
26839
      public addSalesAssociate() {
-
 
26840
        super("addSalesAssociate");
-
 
26841
      }
-
 
26842
 
-
 
26843
      protected addSalesAssociate_args getEmptyArgsInstance() {
-
 
26844
        return new addSalesAssociate_args();
-
 
26845
      }
-
 
26846
 
-
 
26847
      protected addSalesAssociate_result getResult(I iface, addSalesAssociate_args args) throws org.apache.thrift.TException {
-
 
26848
        addSalesAssociate_result result = new addSalesAssociate_result();
-
 
26849
        result.success = iface.addSalesAssociate(args.pmsa, args.referrerEmail, args.l1_userEmail);
-
 
26850
        return result;
-
 
26851
      }
-
 
26852
    }
-
 
26853
 
-
 
26854
    private static class searchPmsa<I extends Iface> extends org.apache.thrift.ProcessFunction<I, searchPmsa_args> {
-
 
26855
      public searchPmsa() {
-
 
26856
        super("searchPmsa");
-
 
26857
      }
-
 
26858
 
-
 
26859
      protected searchPmsa_args getEmptyArgsInstance() {
-
 
26860
        return new searchPmsa_args();
-
 
26861
      }
-
 
26862
 
-
 
26863
      protected searchPmsa_result getResult(I iface, searchPmsa_args args) throws org.apache.thrift.TException {
-
 
26864
        searchPmsa_result result = new searchPmsa_result();
-
 
26865
        result.success = iface.searchPmsa(args.pmsaSearchFilter, args.associateEmail);
-
 
26866
        return result;
-
 
26867
      }
-
 
26868
    }
-
 
26869
 
-
 
26870
    private static class getPmsaUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPmsaUser_args> {
-
 
26871
      public getPmsaUser() {
-
 
26872
        super("getPmsaUser");
-
 
26873
      }
-
 
26874
 
-
 
26875
      protected getPmsaUser_args getEmptyArgsInstance() {
-
 
26876
        return new getPmsaUser_args();
-
 
26877
      }
-
 
26878
 
-
 
26879
      protected getPmsaUser_result getResult(I iface, getPmsaUser_args args) throws org.apache.thrift.TException {
-
 
26880
        getPmsaUser_result result = new getPmsaUser_result();
-
 
26881
        result.success = iface.getPmsaUser(args.id, args.associateEmail);
-
 
26882
        return result;
-
 
26883
      }
-
 
26884
    }
-
 
26885
 
-
 
26886
    private static class updatePmsaUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updatePmsaUser_args> {
-
 
26887
      public updatePmsaUser() {
-
 
26888
        super("updatePmsaUser");
-
 
26889
      }
-
 
26890
 
-
 
26891
      protected updatePmsaUser_args getEmptyArgsInstance() {
-
 
26892
        return new updatePmsaUser_args();
-
 
26893
      }
-
 
26894
 
-
 
26895
      protected updatePmsaUser_result getResult(I iface, updatePmsaUser_args args) throws org.apache.thrift.TException {
-
 
26896
        updatePmsaUser_result result = new updatePmsaUser_result();
-
 
26897
        result.success = iface.updatePmsaUser(args.pmsa, args.associateEmail);
-
 
26898
        return result;
-
 
26899
      }
-
 
26900
    }
-
 
26901
 
-
 
26902
    private static class getPmsaUsers<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPmsaUsers_args> {
-
 
26903
      public getPmsaUsers() {
-
 
26904
        super("getPmsaUsers");
-
 
26905
      }
-
 
26906
 
-
 
26907
      protected getPmsaUsers_args getEmptyArgsInstance() {
-
 
26908
        return new getPmsaUsers_args();
-
 
26909
      }
-
 
26910
 
-
 
26911
      protected getPmsaUsers_result getResult(I iface, getPmsaUsers_args args) throws org.apache.thrift.TException {
-
 
26912
        getPmsaUsers_result result = new getPmsaUsers_result();
-
 
26913
        result.success = iface.getPmsaUsers(args.associateEmail);
-
 
26914
        return result;
-
 
26915
      }
-
 
26916
    }
-
 
26917
 
-
 
26918
    private static class getPendingAssociates<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPendingAssociates_args> {
-
 
26919
      public getPendingAssociates() {
-
 
26920
        super("getPendingAssociates");
-
 
26921
      }
-
 
26922
 
-
 
26923
      protected getPendingAssociates_args getEmptyArgsInstance() {
-
 
26924
        return new getPendingAssociates_args();
-
 
26925
      }
-
 
26926
 
-
 
26927
      protected getPendingAssociates_result getResult(I iface, getPendingAssociates_args args) throws org.apache.thrift.TException {
-
 
26928
        getPendingAssociates_result result = new getPendingAssociates_result();
-
 
26929
        result.success = iface.getPendingAssociates(args.associateEmail);
-
 
26930
        return result;
-
 
26931
      }
-
 
26932
    }
-
 
26933
 
-
 
26934
    private static class getStatsForAssociates<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getStatsForAssociates_args> {
-
 
26935
      public getStatsForAssociates() {
-
 
26936
        super("getStatsForAssociates");
-
 
26937
      }
-
 
26938
 
-
 
26939
      protected getStatsForAssociates_args getEmptyArgsInstance() {
-
 
26940
        return new getStatsForAssociates_args();
-
 
26941
      }
-
 
26942
 
-
 
26943
      protected getStatsForAssociates_result getResult(I iface, getStatsForAssociates_args args) throws org.apache.thrift.TException {
-
 
26944
        getStatsForAssociates_result result = new getStatsForAssociates_result();
-
 
26945
        result.success = iface.getStatsForAssociates(args.associateEmail);
-
 
26946
        return result;
-
 
26947
      }
-
 
26948
    }
-
 
26949
 
26398
  }
26950
  }
26399
 
26951
 
26400
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
26952
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
26401
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
26953
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
26402
 
26954
 
Line 54500... Line 55052...
54500
      }
55052
      }
54501
    }
55053
    }
54502
 
55054
 
54503
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
55055
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
54504
      try {
55056
      try {
54505
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
54506
        __isset_bit_vector = new BitSet(1);
-
 
54507
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
55057
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
54508
      } catch (org.apache.thrift.TException te) {
55058
      } catch (org.apache.thrift.TException te) {
54509
        throw new java.io.IOException(te);
55059
        throw new java.io.IOException(te);
54510
      }
55060
      }
54511
    }
55061
    }
Line 77931... Line 78481...
77931
      }
78481
      }
77932
    }
78482
    }
77933
 
78483
 
77934
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
78484
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
77935
      try {
78485
      try {
77936
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
77937
        __isset_bit_vector = new BitSet(1);
-
 
77938
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
78486
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
77939
      } catch (org.apache.thrift.TException te) {
78487
      } catch (org.apache.thrift.TException te) {
77940
        throw new java.io.IOException(te);
78488
        throw new java.io.IOException(te);
77941
      }
78489
      }
77942
    }
78490
    }
Line 78606... Line 79154...
78606
      }
79154
      }
78607
    }
79155
    }
78608
 
79156
 
78609
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
79157
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
78610
      try {
79158
      try {
78611
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
78612
        __isset_bit_vector = new BitSet(1);
-
 
78613
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
79159
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
78614
      } catch (org.apache.thrift.TException te) {
79160
      } catch (org.apache.thrift.TException te) {
78615
        throw new java.io.IOException(te);
79161
        throw new java.io.IOException(te);
78616
      }
79162
      }
78617
    }
79163
    }
Line 120965... Line 121511...
120965
      }
121511
      }
120966
    }
121512
    }
120967
 
121513
 
120968
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
121514
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
120969
      try {
121515
      try {
120970
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
120971
        __isset_bit_vector = new BitSet(1);
-
 
120972
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
121516
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
120973
      } catch (org.apache.thrift.TException te) {
121517
      } catch (org.apache.thrift.TException te) {
120974
        throw new java.io.IOException(te);
121518
        throw new java.io.IOException(te);
120975
      }
121519
      }
120976
    }
121520
    }
Line 182575... Line 183119...
182575
      }
183119
      }
182576
    }
183120
    }
182577
 
183121
 
182578
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
183122
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
182579
      try {
183123
      try {
182580
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
182581
        __isset_bit_vector = new BitSet(1);
-
 
182582
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
183124
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
182583
      } catch (org.apache.thrift.TException te) {
183125
      } catch (org.apache.thrift.TException te) {
182584
        throw new java.io.IOException(te);
183126
        throw new java.io.IOException(te);
182585
      }
183127
      }
182586
    }
183128
    }
Line 187670... Line 188212...
187670
      }
188212
      }
187671
    }
188213
    }
187672
 
188214
 
187673
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
188215
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
187674
      try {
188216
      try {
187675
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
187676
        __isset_bit_vector = new BitSet(1);
-
 
187677
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
188217
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
187678
      } catch (org.apache.thrift.TException te) {
188218
      } catch (org.apache.thrift.TException te) {
187679
        throw new java.io.IOException(te);
188219
        throw new java.io.IOException(te);
187680
      }
188220
      }
187681
    }
188221
    }
Line 202934... Line 203474...
202934
      }
203474
      }
202935
    }
203475
    }
202936
 
203476
 
202937
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
203477
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
202938
      try {
203478
      try {
202939
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
202940
        __isset_bit_vector = new BitSet(1);
-
 
202941
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
203479
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
202942
      } catch (org.apache.thrift.TException te) {
203480
      } catch (org.apache.thrift.TException te) {
202943
        throw new java.io.IOException(te);
203481
        throw new java.io.IOException(te);
202944
      }
203482
      }
202945
    }
203483
    }
Line 248298... Line 248836...
248298
      first = false;
248836
      first = false;
248299
      sb.append(")");
248837
      sb.append(")");
248300
      return sb.toString();
248838
      return sb.toString();
248301
    }
248839
    }
248302
 
248840
 
-
 
248841
    public void validate() throws org.apache.thrift.TException {
-
 
248842
      // check for required fields
-
 
248843
    }
-
 
248844
 
-
 
248845
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
248846
      try {
-
 
248847
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
248848
      } catch (org.apache.thrift.TException te) {
-
 
248849
        throw new java.io.IOException(te);
-
 
248850
      }
-
 
248851
    }
-
 
248852
 
-
 
248853
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
248854
      try {
-
 
248855
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
248856
      } catch (org.apache.thrift.TException te) {
-
 
248857
        throw new java.io.IOException(te);
-
 
248858
      }
-
 
248859
    }
-
 
248860
 
-
 
248861
  }
-
 
248862
 
-
 
248863
  public static class addSalesAssociate_args implements org.apache.thrift.TBase<addSalesAssociate_args, addSalesAssociate_args._Fields>, java.io.Serializable, Cloneable   {
-
 
248864
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addSalesAssociate_args");
-
 
248865
 
-
 
248866
    private static final org.apache.thrift.protocol.TField PMSA_FIELD_DESC = new org.apache.thrift.protocol.TField("pmsa", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
248867
    private static final org.apache.thrift.protocol.TField REFERRER_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("referrerEmail", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
248868
    private static final org.apache.thrift.protocol.TField L1_USER_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("l1_userEmail", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
248869
 
-
 
248870
    private Pmsa pmsa; // required
-
 
248871
    private String referrerEmail; // required
-
 
248872
    private String l1_userEmail; // required
-
 
248873
 
-
 
248874
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
248875
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
248876
      PMSA((short)1, "pmsa"),
-
 
248877
      REFERRER_EMAIL((short)2, "referrerEmail"),
-
 
248878
      L1_USER_EMAIL((short)3, "l1_userEmail");
-
 
248879
 
-
 
248880
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
248881
 
-
 
248882
      static {
-
 
248883
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
248884
          byName.put(field.getFieldName(), field);
-
 
248885
        }
-
 
248886
      }
-
 
248887
 
-
 
248888
      /**
-
 
248889
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
248890
       */
-
 
248891
      public static _Fields findByThriftId(int fieldId) {
-
 
248892
        switch(fieldId) {
-
 
248893
          case 1: // PMSA
-
 
248894
            return PMSA;
-
 
248895
          case 2: // REFERRER_EMAIL
-
 
248896
            return REFERRER_EMAIL;
-
 
248897
          case 3: // L1_USER_EMAIL
-
 
248898
            return L1_USER_EMAIL;
-
 
248899
          default:
-
 
248900
            return null;
-
 
248901
        }
-
 
248902
      }
-
 
248903
 
-
 
248904
      /**
-
 
248905
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
248906
       * if it is not found.
-
 
248907
       */
-
 
248908
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
248909
        _Fields fields = findByThriftId(fieldId);
-
 
248910
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
248911
        return fields;
-
 
248912
      }
-
 
248913
 
-
 
248914
      /**
-
 
248915
       * Find the _Fields constant that matches name, or null if its not found.
-
 
248916
       */
-
 
248917
      public static _Fields findByName(String name) {
-
 
248918
        return byName.get(name);
-
 
248919
      }
-
 
248920
 
-
 
248921
      private final short _thriftId;
-
 
248922
      private final String _fieldName;
-
 
248923
 
-
 
248924
      _Fields(short thriftId, String fieldName) {
-
 
248925
        _thriftId = thriftId;
-
 
248926
        _fieldName = fieldName;
-
 
248927
      }
-
 
248928
 
-
 
248929
      public short getThriftFieldId() {
-
 
248930
        return _thriftId;
-
 
248931
      }
-
 
248932
 
-
 
248933
      public String getFieldName() {
-
 
248934
        return _fieldName;
-
 
248935
      }
-
 
248936
    }
-
 
248937
 
-
 
248938
    // isset id assignments
-
 
248939
 
-
 
248940
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
248941
    static {
-
 
248942
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
248943
      tmpMap.put(_Fields.PMSA, new org.apache.thrift.meta_data.FieldMetaData("pmsa", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
248944
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Pmsa.class)));
-
 
248945
      tmpMap.put(_Fields.REFERRER_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("referrerEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
248946
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
248947
      tmpMap.put(_Fields.L1_USER_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("l1_userEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
248948
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
248949
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
248950
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addSalesAssociate_args.class, metaDataMap);
-
 
248951
    }
-
 
248952
 
-
 
248953
    public addSalesAssociate_args() {
-
 
248954
    }
-
 
248955
 
-
 
248956
    public addSalesAssociate_args(
-
 
248957
      Pmsa pmsa,
-
 
248958
      String referrerEmail,
-
 
248959
      String l1_userEmail)
-
 
248960
    {
-
 
248961
      this();
-
 
248962
      this.pmsa = pmsa;
-
 
248963
      this.referrerEmail = referrerEmail;
-
 
248964
      this.l1_userEmail = l1_userEmail;
-
 
248965
    }
-
 
248966
 
-
 
248967
    /**
-
 
248968
     * Performs a deep copy on <i>other</i>.
-
 
248969
     */
-
 
248970
    public addSalesAssociate_args(addSalesAssociate_args other) {
-
 
248971
      if (other.isSetPmsa()) {
-
 
248972
        this.pmsa = new Pmsa(other.pmsa);
-
 
248973
      }
-
 
248974
      if (other.isSetReferrerEmail()) {
-
 
248975
        this.referrerEmail = other.referrerEmail;
-
 
248976
      }
-
 
248977
      if (other.isSetL1_userEmail()) {
-
 
248978
        this.l1_userEmail = other.l1_userEmail;
-
 
248979
      }
-
 
248980
    }
-
 
248981
 
-
 
248982
    public addSalesAssociate_args deepCopy() {
-
 
248983
      return new addSalesAssociate_args(this);
-
 
248984
    }
-
 
248985
 
-
 
248986
    @Override
-
 
248987
    public void clear() {
-
 
248988
      this.pmsa = null;
-
 
248989
      this.referrerEmail = null;
-
 
248990
      this.l1_userEmail = null;
-
 
248991
    }
-
 
248992
 
-
 
248993
    public Pmsa getPmsa() {
-
 
248994
      return this.pmsa;
-
 
248995
    }
-
 
248996
 
-
 
248997
    public void setPmsa(Pmsa pmsa) {
-
 
248998
      this.pmsa = pmsa;
-
 
248999
    }
-
 
249000
 
-
 
249001
    public void unsetPmsa() {
-
 
249002
      this.pmsa = null;
-
 
249003
    }
-
 
249004
 
-
 
249005
    /** Returns true if field pmsa is set (has been assigned a value) and false otherwise */
-
 
249006
    public boolean isSetPmsa() {
-
 
249007
      return this.pmsa != null;
-
 
249008
    }
-
 
249009
 
-
 
249010
    public void setPmsaIsSet(boolean value) {
-
 
249011
      if (!value) {
-
 
249012
        this.pmsa = null;
-
 
249013
      }
-
 
249014
    }
-
 
249015
 
-
 
249016
    public String getReferrerEmail() {
-
 
249017
      return this.referrerEmail;
-
 
249018
    }
-
 
249019
 
-
 
249020
    public void setReferrerEmail(String referrerEmail) {
-
 
249021
      this.referrerEmail = referrerEmail;
-
 
249022
    }
-
 
249023
 
-
 
249024
    public void unsetReferrerEmail() {
-
 
249025
      this.referrerEmail = null;
-
 
249026
    }
-
 
249027
 
-
 
249028
    /** Returns true if field referrerEmail is set (has been assigned a value) and false otherwise */
-
 
249029
    public boolean isSetReferrerEmail() {
-
 
249030
      return this.referrerEmail != null;
-
 
249031
    }
-
 
249032
 
-
 
249033
    public void setReferrerEmailIsSet(boolean value) {
-
 
249034
      if (!value) {
-
 
249035
        this.referrerEmail = null;
-
 
249036
      }
-
 
249037
    }
-
 
249038
 
-
 
249039
    public String getL1_userEmail() {
-
 
249040
      return this.l1_userEmail;
-
 
249041
    }
-
 
249042
 
-
 
249043
    public void setL1_userEmail(String l1_userEmail) {
-
 
249044
      this.l1_userEmail = l1_userEmail;
-
 
249045
    }
-
 
249046
 
-
 
249047
    public void unsetL1_userEmail() {
-
 
249048
      this.l1_userEmail = null;
-
 
249049
    }
-
 
249050
 
-
 
249051
    /** Returns true if field l1_userEmail is set (has been assigned a value) and false otherwise */
-
 
249052
    public boolean isSetL1_userEmail() {
-
 
249053
      return this.l1_userEmail != null;
-
 
249054
    }
-
 
249055
 
-
 
249056
    public void setL1_userEmailIsSet(boolean value) {
-
 
249057
      if (!value) {
-
 
249058
        this.l1_userEmail = null;
-
 
249059
      }
-
 
249060
    }
-
 
249061
 
-
 
249062
    public void setFieldValue(_Fields field, Object value) {
-
 
249063
      switch (field) {
-
 
249064
      case PMSA:
-
 
249065
        if (value == null) {
-
 
249066
          unsetPmsa();
-
 
249067
        } else {
-
 
249068
          setPmsa((Pmsa)value);
-
 
249069
        }
-
 
249070
        break;
-
 
249071
 
-
 
249072
      case REFERRER_EMAIL:
-
 
249073
        if (value == null) {
-
 
249074
          unsetReferrerEmail();
-
 
249075
        } else {
-
 
249076
          setReferrerEmail((String)value);
-
 
249077
        }
-
 
249078
        break;
-
 
249079
 
-
 
249080
      case L1_USER_EMAIL:
-
 
249081
        if (value == null) {
-
 
249082
          unsetL1_userEmail();
-
 
249083
        } else {
-
 
249084
          setL1_userEmail((String)value);
-
 
249085
        }
-
 
249086
        break;
-
 
249087
 
-
 
249088
      }
-
 
249089
    }
-
 
249090
 
-
 
249091
    public Object getFieldValue(_Fields field) {
-
 
249092
      switch (field) {
-
 
249093
      case PMSA:
-
 
249094
        return getPmsa();
-
 
249095
 
-
 
249096
      case REFERRER_EMAIL:
-
 
249097
        return getReferrerEmail();
-
 
249098
 
-
 
249099
      case L1_USER_EMAIL:
-
 
249100
        return getL1_userEmail();
-
 
249101
 
-
 
249102
      }
-
 
249103
      throw new IllegalStateException();
-
 
249104
    }
-
 
249105
 
-
 
249106
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
249107
    public boolean isSet(_Fields field) {
-
 
249108
      if (field == null) {
-
 
249109
        throw new IllegalArgumentException();
-
 
249110
      }
-
 
249111
 
-
 
249112
      switch (field) {
-
 
249113
      case PMSA:
-
 
249114
        return isSetPmsa();
-
 
249115
      case REFERRER_EMAIL:
-
 
249116
        return isSetReferrerEmail();
-
 
249117
      case L1_USER_EMAIL:
-
 
249118
        return isSetL1_userEmail();
-
 
249119
      }
-
 
249120
      throw new IllegalStateException();
-
 
249121
    }
-
 
249122
 
-
 
249123
    @Override
-
 
249124
    public boolean equals(Object that) {
-
 
249125
      if (that == null)
-
 
249126
        return false;
-
 
249127
      if (that instanceof addSalesAssociate_args)
-
 
249128
        return this.equals((addSalesAssociate_args)that);
-
 
249129
      return false;
-
 
249130
    }
-
 
249131
 
-
 
249132
    public boolean equals(addSalesAssociate_args that) {
-
 
249133
      if (that == null)
-
 
249134
        return false;
-
 
249135
 
-
 
249136
      boolean this_present_pmsa = true && this.isSetPmsa();
-
 
249137
      boolean that_present_pmsa = true && that.isSetPmsa();
-
 
249138
      if (this_present_pmsa || that_present_pmsa) {
-
 
249139
        if (!(this_present_pmsa && that_present_pmsa))
-
 
249140
          return false;
-
 
249141
        if (!this.pmsa.equals(that.pmsa))
-
 
249142
          return false;
-
 
249143
      }
-
 
249144
 
-
 
249145
      boolean this_present_referrerEmail = true && this.isSetReferrerEmail();
-
 
249146
      boolean that_present_referrerEmail = true && that.isSetReferrerEmail();
-
 
249147
      if (this_present_referrerEmail || that_present_referrerEmail) {
-
 
249148
        if (!(this_present_referrerEmail && that_present_referrerEmail))
-
 
249149
          return false;
-
 
249150
        if (!this.referrerEmail.equals(that.referrerEmail))
-
 
249151
          return false;
-
 
249152
      }
-
 
249153
 
-
 
249154
      boolean this_present_l1_userEmail = true && this.isSetL1_userEmail();
-
 
249155
      boolean that_present_l1_userEmail = true && that.isSetL1_userEmail();
-
 
249156
      if (this_present_l1_userEmail || that_present_l1_userEmail) {
-
 
249157
        if (!(this_present_l1_userEmail && that_present_l1_userEmail))
-
 
249158
          return false;
-
 
249159
        if (!this.l1_userEmail.equals(that.l1_userEmail))
-
 
249160
          return false;
-
 
249161
      }
-
 
249162
 
-
 
249163
      return true;
-
 
249164
    }
-
 
249165
 
-
 
249166
    @Override
-
 
249167
    public int hashCode() {
-
 
249168
      return 0;
-
 
249169
    }
-
 
249170
 
-
 
249171
    public int compareTo(addSalesAssociate_args other) {
-
 
249172
      if (!getClass().equals(other.getClass())) {
-
 
249173
        return getClass().getName().compareTo(other.getClass().getName());
-
 
249174
      }
-
 
249175
 
-
 
249176
      int lastComparison = 0;
-
 
249177
      addSalesAssociate_args typedOther = (addSalesAssociate_args)other;
-
 
249178
 
-
 
249179
      lastComparison = Boolean.valueOf(isSetPmsa()).compareTo(typedOther.isSetPmsa());
-
 
249180
      if (lastComparison != 0) {
-
 
249181
        return lastComparison;
-
 
249182
      }
-
 
249183
      if (isSetPmsa()) {
-
 
249184
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pmsa, typedOther.pmsa);
-
 
249185
        if (lastComparison != 0) {
-
 
249186
          return lastComparison;
-
 
249187
        }
-
 
249188
      }
-
 
249189
      lastComparison = Boolean.valueOf(isSetReferrerEmail()).compareTo(typedOther.isSetReferrerEmail());
-
 
249190
      if (lastComparison != 0) {
-
 
249191
        return lastComparison;
-
 
249192
      }
-
 
249193
      if (isSetReferrerEmail()) {
-
 
249194
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.referrerEmail, typedOther.referrerEmail);
-
 
249195
        if (lastComparison != 0) {
-
 
249196
          return lastComparison;
-
 
249197
        }
-
 
249198
      }
-
 
249199
      lastComparison = Boolean.valueOf(isSetL1_userEmail()).compareTo(typedOther.isSetL1_userEmail());
-
 
249200
      if (lastComparison != 0) {
-
 
249201
        return lastComparison;
-
 
249202
      }
-
 
249203
      if (isSetL1_userEmail()) {
-
 
249204
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.l1_userEmail, typedOther.l1_userEmail);
-
 
249205
        if (lastComparison != 0) {
-
 
249206
          return lastComparison;
-
 
249207
        }
-
 
249208
      }
-
 
249209
      return 0;
-
 
249210
    }
-
 
249211
 
-
 
249212
    public _Fields fieldForId(int fieldId) {
-
 
249213
      return _Fields.findByThriftId(fieldId);
-
 
249214
    }
-
 
249215
 
-
 
249216
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
249217
      org.apache.thrift.protocol.TField field;
-
 
249218
      iprot.readStructBegin();
-
 
249219
      while (true)
-
 
249220
      {
-
 
249221
        field = iprot.readFieldBegin();
-
 
249222
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
249223
          break;
-
 
249224
        }
-
 
249225
        switch (field.id) {
-
 
249226
          case 1: // PMSA
-
 
249227
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
249228
              this.pmsa = new Pmsa();
-
 
249229
              this.pmsa.read(iprot);
-
 
249230
            } else { 
-
 
249231
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249232
            }
-
 
249233
            break;
-
 
249234
          case 2: // REFERRER_EMAIL
-
 
249235
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
249236
              this.referrerEmail = iprot.readString();
-
 
249237
            } else { 
-
 
249238
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249239
            }
-
 
249240
            break;
-
 
249241
          case 3: // L1_USER_EMAIL
-
 
249242
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
249243
              this.l1_userEmail = iprot.readString();
-
 
249244
            } else { 
-
 
249245
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249246
            }
-
 
249247
            break;
-
 
249248
          default:
-
 
249249
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249250
        }
-
 
249251
        iprot.readFieldEnd();
-
 
249252
      }
-
 
249253
      iprot.readStructEnd();
-
 
249254
      validate();
-
 
249255
    }
-
 
249256
 
-
 
249257
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
249258
      validate();
-
 
249259
 
-
 
249260
      oprot.writeStructBegin(STRUCT_DESC);
-
 
249261
      if (this.pmsa != null) {
-
 
249262
        oprot.writeFieldBegin(PMSA_FIELD_DESC);
-
 
249263
        this.pmsa.write(oprot);
-
 
249264
        oprot.writeFieldEnd();
-
 
249265
      }
-
 
249266
      if (this.referrerEmail != null) {
-
 
249267
        oprot.writeFieldBegin(REFERRER_EMAIL_FIELD_DESC);
-
 
249268
        oprot.writeString(this.referrerEmail);
-
 
249269
        oprot.writeFieldEnd();
-
 
249270
      }
-
 
249271
      if (this.l1_userEmail != null) {
-
 
249272
        oprot.writeFieldBegin(L1_USER_EMAIL_FIELD_DESC);
-
 
249273
        oprot.writeString(this.l1_userEmail);
-
 
249274
        oprot.writeFieldEnd();
-
 
249275
      }
-
 
249276
      oprot.writeFieldStop();
-
 
249277
      oprot.writeStructEnd();
-
 
249278
    }
-
 
249279
 
-
 
249280
    @Override
-
 
249281
    public String toString() {
-
 
249282
      StringBuilder sb = new StringBuilder("addSalesAssociate_args(");
-
 
249283
      boolean first = true;
-
 
249284
 
-
 
249285
      sb.append("pmsa:");
-
 
249286
      if (this.pmsa == null) {
-
 
249287
        sb.append("null");
-
 
249288
      } else {
-
 
249289
        sb.append(this.pmsa);
-
 
249290
      }
-
 
249291
      first = false;
-
 
249292
      if (!first) sb.append(", ");
-
 
249293
      sb.append("referrerEmail:");
-
 
249294
      if (this.referrerEmail == null) {
-
 
249295
        sb.append("null");
-
 
249296
      } else {
-
 
249297
        sb.append(this.referrerEmail);
-
 
249298
      }
-
 
249299
      first = false;
-
 
249300
      if (!first) sb.append(", ");
-
 
249301
      sb.append("l1_userEmail:");
-
 
249302
      if (this.l1_userEmail == null) {
-
 
249303
        sb.append("null");
-
 
249304
      } else {
-
 
249305
        sb.append(this.l1_userEmail);
-
 
249306
      }
-
 
249307
      first = false;
-
 
249308
      sb.append(")");
-
 
249309
      return sb.toString();
-
 
249310
    }
-
 
249311
 
-
 
249312
    public void validate() throws org.apache.thrift.TException {
-
 
249313
      // check for required fields
-
 
249314
    }
-
 
249315
 
-
 
249316
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
249317
      try {
-
 
249318
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
249319
      } catch (org.apache.thrift.TException te) {
-
 
249320
        throw new java.io.IOException(te);
-
 
249321
      }
-
 
249322
    }
-
 
249323
 
-
 
249324
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
249325
      try {
-
 
249326
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
249327
      } catch (org.apache.thrift.TException te) {
-
 
249328
        throw new java.io.IOException(te);
-
 
249329
      }
-
 
249330
    }
-
 
249331
 
-
 
249332
  }
-
 
249333
 
-
 
249334
  public static class addSalesAssociate_result implements org.apache.thrift.TBase<addSalesAssociate_result, addSalesAssociate_result._Fields>, java.io.Serializable, Cloneable   {
-
 
249335
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addSalesAssociate_result");
-
 
249336
 
-
 
249337
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
-
 
249338
 
-
 
249339
    private String success; // required
-
 
249340
 
-
 
249341
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
249342
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
249343
      SUCCESS((short)0, "success");
-
 
249344
 
-
 
249345
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
249346
 
-
 
249347
      static {
-
 
249348
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
249349
          byName.put(field.getFieldName(), field);
-
 
249350
        }
-
 
249351
      }
-
 
249352
 
-
 
249353
      /**
-
 
249354
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
249355
       */
-
 
249356
      public static _Fields findByThriftId(int fieldId) {
-
 
249357
        switch(fieldId) {
-
 
249358
          case 0: // SUCCESS
-
 
249359
            return SUCCESS;
-
 
249360
          default:
-
 
249361
            return null;
-
 
249362
        }
-
 
249363
      }
-
 
249364
 
-
 
249365
      /**
-
 
249366
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
249367
       * if it is not found.
-
 
249368
       */
-
 
249369
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
249370
        _Fields fields = findByThriftId(fieldId);
-
 
249371
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
249372
        return fields;
-
 
249373
      }
-
 
249374
 
-
 
249375
      /**
-
 
249376
       * Find the _Fields constant that matches name, or null if its not found.
-
 
249377
       */
-
 
249378
      public static _Fields findByName(String name) {
-
 
249379
        return byName.get(name);
-
 
249380
      }
-
 
249381
 
-
 
249382
      private final short _thriftId;
-
 
249383
      private final String _fieldName;
-
 
249384
 
-
 
249385
      _Fields(short thriftId, String fieldName) {
-
 
249386
        _thriftId = thriftId;
-
 
249387
        _fieldName = fieldName;
-
 
249388
      }
-
 
249389
 
-
 
249390
      public short getThriftFieldId() {
-
 
249391
        return _thriftId;
-
 
249392
      }
-
 
249393
 
-
 
249394
      public String getFieldName() {
-
 
249395
        return _fieldName;
-
 
249396
      }
-
 
249397
    }
-
 
249398
 
-
 
249399
    // isset id assignments
-
 
249400
 
-
 
249401
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
249402
    static {
-
 
249403
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
249404
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
249405
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
249406
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
249407
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addSalesAssociate_result.class, metaDataMap);
-
 
249408
    }
-
 
249409
 
-
 
249410
    public addSalesAssociate_result() {
-
 
249411
    }
-
 
249412
 
-
 
249413
    public addSalesAssociate_result(
-
 
249414
      String success)
-
 
249415
    {
-
 
249416
      this();
-
 
249417
      this.success = success;
-
 
249418
    }
-
 
249419
 
-
 
249420
    /**
-
 
249421
     * Performs a deep copy on <i>other</i>.
-
 
249422
     */
-
 
249423
    public addSalesAssociate_result(addSalesAssociate_result other) {
-
 
249424
      if (other.isSetSuccess()) {
-
 
249425
        this.success = other.success;
-
 
249426
      }
-
 
249427
    }
-
 
249428
 
-
 
249429
    public addSalesAssociate_result deepCopy() {
-
 
249430
      return new addSalesAssociate_result(this);
-
 
249431
    }
-
 
249432
 
-
 
249433
    @Override
-
 
249434
    public void clear() {
-
 
249435
      this.success = null;
-
 
249436
    }
-
 
249437
 
-
 
249438
    public String getSuccess() {
-
 
249439
      return this.success;
-
 
249440
    }
-
 
249441
 
-
 
249442
    public void setSuccess(String success) {
-
 
249443
      this.success = success;
-
 
249444
    }
-
 
249445
 
-
 
249446
    public void unsetSuccess() {
-
 
249447
      this.success = null;
-
 
249448
    }
-
 
249449
 
-
 
249450
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
249451
    public boolean isSetSuccess() {
-
 
249452
      return this.success != null;
-
 
249453
    }
-
 
249454
 
-
 
249455
    public void setSuccessIsSet(boolean value) {
-
 
249456
      if (!value) {
-
 
249457
        this.success = null;
-
 
249458
      }
-
 
249459
    }
-
 
249460
 
-
 
249461
    public void setFieldValue(_Fields field, Object value) {
-
 
249462
      switch (field) {
-
 
249463
      case SUCCESS:
-
 
249464
        if (value == null) {
-
 
249465
          unsetSuccess();
-
 
249466
        } else {
-
 
249467
          setSuccess((String)value);
-
 
249468
        }
-
 
249469
        break;
-
 
249470
 
-
 
249471
      }
-
 
249472
    }
-
 
249473
 
-
 
249474
    public Object getFieldValue(_Fields field) {
-
 
249475
      switch (field) {
-
 
249476
      case SUCCESS:
-
 
249477
        return getSuccess();
-
 
249478
 
-
 
249479
      }
-
 
249480
      throw new IllegalStateException();
-
 
249481
    }
-
 
249482
 
-
 
249483
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
249484
    public boolean isSet(_Fields field) {
-
 
249485
      if (field == null) {
-
 
249486
        throw new IllegalArgumentException();
-
 
249487
      }
-
 
249488
 
-
 
249489
      switch (field) {
-
 
249490
      case SUCCESS:
-
 
249491
        return isSetSuccess();
-
 
249492
      }
-
 
249493
      throw new IllegalStateException();
-
 
249494
    }
-
 
249495
 
-
 
249496
    @Override
-
 
249497
    public boolean equals(Object that) {
-
 
249498
      if (that == null)
-
 
249499
        return false;
-
 
249500
      if (that instanceof addSalesAssociate_result)
-
 
249501
        return this.equals((addSalesAssociate_result)that);
-
 
249502
      return false;
-
 
249503
    }
-
 
249504
 
-
 
249505
    public boolean equals(addSalesAssociate_result that) {
-
 
249506
      if (that == null)
-
 
249507
        return false;
-
 
249508
 
-
 
249509
      boolean this_present_success = true && this.isSetSuccess();
-
 
249510
      boolean that_present_success = true && that.isSetSuccess();
-
 
249511
      if (this_present_success || that_present_success) {
-
 
249512
        if (!(this_present_success && that_present_success))
-
 
249513
          return false;
-
 
249514
        if (!this.success.equals(that.success))
-
 
249515
          return false;
-
 
249516
      }
-
 
249517
 
-
 
249518
      return true;
-
 
249519
    }
-
 
249520
 
-
 
249521
    @Override
-
 
249522
    public int hashCode() {
-
 
249523
      return 0;
-
 
249524
    }
-
 
249525
 
-
 
249526
    public int compareTo(addSalesAssociate_result other) {
-
 
249527
      if (!getClass().equals(other.getClass())) {
-
 
249528
        return getClass().getName().compareTo(other.getClass().getName());
-
 
249529
      }
-
 
249530
 
-
 
249531
      int lastComparison = 0;
-
 
249532
      addSalesAssociate_result typedOther = (addSalesAssociate_result)other;
-
 
249533
 
-
 
249534
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
249535
      if (lastComparison != 0) {
-
 
249536
        return lastComparison;
-
 
249537
      }
-
 
249538
      if (isSetSuccess()) {
-
 
249539
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
249540
        if (lastComparison != 0) {
-
 
249541
          return lastComparison;
-
 
249542
        }
-
 
249543
      }
-
 
249544
      return 0;
-
 
249545
    }
-
 
249546
 
-
 
249547
    public _Fields fieldForId(int fieldId) {
-
 
249548
      return _Fields.findByThriftId(fieldId);
-
 
249549
    }
-
 
249550
 
-
 
249551
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
249552
      org.apache.thrift.protocol.TField field;
-
 
249553
      iprot.readStructBegin();
-
 
249554
      while (true)
-
 
249555
      {
-
 
249556
        field = iprot.readFieldBegin();
-
 
249557
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
249558
          break;
-
 
249559
        }
-
 
249560
        switch (field.id) {
-
 
249561
          case 0: // SUCCESS
-
 
249562
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
249563
              this.success = iprot.readString();
-
 
249564
            } else { 
-
 
249565
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249566
            }
-
 
249567
            break;
-
 
249568
          default:
-
 
249569
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249570
        }
-
 
249571
        iprot.readFieldEnd();
-
 
249572
      }
-
 
249573
      iprot.readStructEnd();
-
 
249574
      validate();
-
 
249575
    }
-
 
249576
 
-
 
249577
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
249578
      oprot.writeStructBegin(STRUCT_DESC);
-
 
249579
 
-
 
249580
      if (this.isSetSuccess()) {
-
 
249581
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
249582
        oprot.writeString(this.success);
-
 
249583
        oprot.writeFieldEnd();
-
 
249584
      }
-
 
249585
      oprot.writeFieldStop();
-
 
249586
      oprot.writeStructEnd();
-
 
249587
    }
-
 
249588
 
-
 
249589
    @Override
-
 
249590
    public String toString() {
-
 
249591
      StringBuilder sb = new StringBuilder("addSalesAssociate_result(");
-
 
249592
      boolean first = true;
-
 
249593
 
-
 
249594
      sb.append("success:");
-
 
249595
      if (this.success == null) {
-
 
249596
        sb.append("null");
-
 
249597
      } else {
-
 
249598
        sb.append(this.success);
-
 
249599
      }
-
 
249600
      first = false;
-
 
249601
      sb.append(")");
-
 
249602
      return sb.toString();
-
 
249603
    }
-
 
249604
 
-
 
249605
    public void validate() throws org.apache.thrift.TException {
-
 
249606
      // check for required fields
-
 
249607
    }
-
 
249608
 
-
 
249609
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
249610
      try {
-
 
249611
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
249612
      } catch (org.apache.thrift.TException te) {
-
 
249613
        throw new java.io.IOException(te);
-
 
249614
      }
-
 
249615
    }
-
 
249616
 
-
 
249617
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
249618
      try {
-
 
249619
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
249620
      } catch (org.apache.thrift.TException te) {
-
 
249621
        throw new java.io.IOException(te);
-
 
249622
      }
-
 
249623
    }
-
 
249624
 
-
 
249625
  }
-
 
249626
 
-
 
249627
  public static class searchPmsa_args implements org.apache.thrift.TBase<searchPmsa_args, searchPmsa_args._Fields>, java.io.Serializable, Cloneable   {
-
 
249628
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("searchPmsa_args");
-
 
249629
 
-
 
249630
    private static final org.apache.thrift.protocol.TField PMSA_SEARCH_FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("pmsaSearchFilter", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
249631
    private static final org.apache.thrift.protocol.TField ASSOCIATE_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("associateEmail", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
249632
 
-
 
249633
    private PmsaSearchFilter pmsaSearchFilter; // required
-
 
249634
    private String associateEmail; // required
-
 
249635
 
-
 
249636
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
249637
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
249638
      PMSA_SEARCH_FILTER((short)1, "pmsaSearchFilter"),
-
 
249639
      ASSOCIATE_EMAIL((short)2, "associateEmail");
-
 
249640
 
-
 
249641
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
249642
 
-
 
249643
      static {
-
 
249644
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
249645
          byName.put(field.getFieldName(), field);
-
 
249646
        }
-
 
249647
      }
-
 
249648
 
-
 
249649
      /**
-
 
249650
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
249651
       */
-
 
249652
      public static _Fields findByThriftId(int fieldId) {
-
 
249653
        switch(fieldId) {
-
 
249654
          case 1: // PMSA_SEARCH_FILTER
-
 
249655
            return PMSA_SEARCH_FILTER;
-
 
249656
          case 2: // ASSOCIATE_EMAIL
-
 
249657
            return ASSOCIATE_EMAIL;
-
 
249658
          default:
-
 
249659
            return null;
-
 
249660
        }
-
 
249661
      }
-
 
249662
 
-
 
249663
      /**
-
 
249664
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
249665
       * if it is not found.
-
 
249666
       */
-
 
249667
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
249668
        _Fields fields = findByThriftId(fieldId);
-
 
249669
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
249670
        return fields;
-
 
249671
      }
-
 
249672
 
-
 
249673
      /**
-
 
249674
       * Find the _Fields constant that matches name, or null if its not found.
-
 
249675
       */
-
 
249676
      public static _Fields findByName(String name) {
-
 
249677
        return byName.get(name);
-
 
249678
      }
-
 
249679
 
-
 
249680
      private final short _thriftId;
-
 
249681
      private final String _fieldName;
-
 
249682
 
-
 
249683
      _Fields(short thriftId, String fieldName) {
-
 
249684
        _thriftId = thriftId;
-
 
249685
        _fieldName = fieldName;
-
 
249686
      }
-
 
249687
 
-
 
249688
      public short getThriftFieldId() {
-
 
249689
        return _thriftId;
-
 
249690
      }
-
 
249691
 
-
 
249692
      public String getFieldName() {
-
 
249693
        return _fieldName;
-
 
249694
      }
-
 
249695
    }
-
 
249696
 
-
 
249697
    // isset id assignments
-
 
249698
 
-
 
249699
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
249700
    static {
-
 
249701
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
249702
      tmpMap.put(_Fields.PMSA_SEARCH_FILTER, new org.apache.thrift.meta_data.FieldMetaData("pmsaSearchFilter", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
249703
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PmsaSearchFilter.class)));
-
 
249704
      tmpMap.put(_Fields.ASSOCIATE_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("associateEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
249705
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
249706
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
249707
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(searchPmsa_args.class, metaDataMap);
-
 
249708
    }
-
 
249709
 
-
 
249710
    public searchPmsa_args() {
-
 
249711
    }
-
 
249712
 
-
 
249713
    public searchPmsa_args(
-
 
249714
      PmsaSearchFilter pmsaSearchFilter,
-
 
249715
      String associateEmail)
-
 
249716
    {
-
 
249717
      this();
-
 
249718
      this.pmsaSearchFilter = pmsaSearchFilter;
-
 
249719
      this.associateEmail = associateEmail;
-
 
249720
    }
-
 
249721
 
-
 
249722
    /**
-
 
249723
     * Performs a deep copy on <i>other</i>.
-
 
249724
     */
-
 
249725
    public searchPmsa_args(searchPmsa_args other) {
-
 
249726
      if (other.isSetPmsaSearchFilter()) {
-
 
249727
        this.pmsaSearchFilter = new PmsaSearchFilter(other.pmsaSearchFilter);
-
 
249728
      }
-
 
249729
      if (other.isSetAssociateEmail()) {
-
 
249730
        this.associateEmail = other.associateEmail;
-
 
249731
      }
-
 
249732
    }
-
 
249733
 
-
 
249734
    public searchPmsa_args deepCopy() {
-
 
249735
      return new searchPmsa_args(this);
-
 
249736
    }
-
 
249737
 
-
 
249738
    @Override
-
 
249739
    public void clear() {
-
 
249740
      this.pmsaSearchFilter = null;
-
 
249741
      this.associateEmail = null;
-
 
249742
    }
-
 
249743
 
-
 
249744
    public PmsaSearchFilter getPmsaSearchFilter() {
-
 
249745
      return this.pmsaSearchFilter;
-
 
249746
    }
-
 
249747
 
-
 
249748
    public void setPmsaSearchFilter(PmsaSearchFilter pmsaSearchFilter) {
-
 
249749
      this.pmsaSearchFilter = pmsaSearchFilter;
-
 
249750
    }
-
 
249751
 
-
 
249752
    public void unsetPmsaSearchFilter() {
-
 
249753
      this.pmsaSearchFilter = null;
-
 
249754
    }
-
 
249755
 
-
 
249756
    /** Returns true if field pmsaSearchFilter is set (has been assigned a value) and false otherwise */
-
 
249757
    public boolean isSetPmsaSearchFilter() {
-
 
249758
      return this.pmsaSearchFilter != null;
-
 
249759
    }
-
 
249760
 
-
 
249761
    public void setPmsaSearchFilterIsSet(boolean value) {
-
 
249762
      if (!value) {
-
 
249763
        this.pmsaSearchFilter = null;
-
 
249764
      }
-
 
249765
    }
-
 
249766
 
-
 
249767
    public String getAssociateEmail() {
-
 
249768
      return this.associateEmail;
-
 
249769
    }
-
 
249770
 
-
 
249771
    public void setAssociateEmail(String associateEmail) {
-
 
249772
      this.associateEmail = associateEmail;
-
 
249773
    }
-
 
249774
 
-
 
249775
    public void unsetAssociateEmail() {
-
 
249776
      this.associateEmail = null;
-
 
249777
    }
-
 
249778
 
-
 
249779
    /** Returns true if field associateEmail is set (has been assigned a value) and false otherwise */
-
 
249780
    public boolean isSetAssociateEmail() {
-
 
249781
      return this.associateEmail != null;
-
 
249782
    }
-
 
249783
 
-
 
249784
    public void setAssociateEmailIsSet(boolean value) {
-
 
249785
      if (!value) {
-
 
249786
        this.associateEmail = null;
-
 
249787
      }
-
 
249788
    }
-
 
249789
 
-
 
249790
    public void setFieldValue(_Fields field, Object value) {
-
 
249791
      switch (field) {
-
 
249792
      case PMSA_SEARCH_FILTER:
-
 
249793
        if (value == null) {
-
 
249794
          unsetPmsaSearchFilter();
-
 
249795
        } else {
-
 
249796
          setPmsaSearchFilter((PmsaSearchFilter)value);
-
 
249797
        }
-
 
249798
        break;
-
 
249799
 
-
 
249800
      case ASSOCIATE_EMAIL:
-
 
249801
        if (value == null) {
-
 
249802
          unsetAssociateEmail();
-
 
249803
        } else {
-
 
249804
          setAssociateEmail((String)value);
-
 
249805
        }
-
 
249806
        break;
-
 
249807
 
-
 
249808
      }
-
 
249809
    }
-
 
249810
 
-
 
249811
    public Object getFieldValue(_Fields field) {
-
 
249812
      switch (field) {
-
 
249813
      case PMSA_SEARCH_FILTER:
-
 
249814
        return getPmsaSearchFilter();
-
 
249815
 
-
 
249816
      case ASSOCIATE_EMAIL:
-
 
249817
        return getAssociateEmail();
-
 
249818
 
-
 
249819
      }
-
 
249820
      throw new IllegalStateException();
-
 
249821
    }
-
 
249822
 
-
 
249823
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
249824
    public boolean isSet(_Fields field) {
-
 
249825
      if (field == null) {
-
 
249826
        throw new IllegalArgumentException();
-
 
249827
      }
-
 
249828
 
-
 
249829
      switch (field) {
-
 
249830
      case PMSA_SEARCH_FILTER:
-
 
249831
        return isSetPmsaSearchFilter();
-
 
249832
      case ASSOCIATE_EMAIL:
-
 
249833
        return isSetAssociateEmail();
-
 
249834
      }
-
 
249835
      throw new IllegalStateException();
-
 
249836
    }
-
 
249837
 
-
 
249838
    @Override
-
 
249839
    public boolean equals(Object that) {
-
 
249840
      if (that == null)
-
 
249841
        return false;
-
 
249842
      if (that instanceof searchPmsa_args)
-
 
249843
        return this.equals((searchPmsa_args)that);
-
 
249844
      return false;
-
 
249845
    }
-
 
249846
 
-
 
249847
    public boolean equals(searchPmsa_args that) {
-
 
249848
      if (that == null)
-
 
249849
        return false;
-
 
249850
 
-
 
249851
      boolean this_present_pmsaSearchFilter = true && this.isSetPmsaSearchFilter();
-
 
249852
      boolean that_present_pmsaSearchFilter = true && that.isSetPmsaSearchFilter();
-
 
249853
      if (this_present_pmsaSearchFilter || that_present_pmsaSearchFilter) {
-
 
249854
        if (!(this_present_pmsaSearchFilter && that_present_pmsaSearchFilter))
-
 
249855
          return false;
-
 
249856
        if (!this.pmsaSearchFilter.equals(that.pmsaSearchFilter))
-
 
249857
          return false;
-
 
249858
      }
-
 
249859
 
-
 
249860
      boolean this_present_associateEmail = true && this.isSetAssociateEmail();
-
 
249861
      boolean that_present_associateEmail = true && that.isSetAssociateEmail();
-
 
249862
      if (this_present_associateEmail || that_present_associateEmail) {
-
 
249863
        if (!(this_present_associateEmail && that_present_associateEmail))
-
 
249864
          return false;
-
 
249865
        if (!this.associateEmail.equals(that.associateEmail))
-
 
249866
          return false;
-
 
249867
      }
-
 
249868
 
-
 
249869
      return true;
-
 
249870
    }
-
 
249871
 
-
 
249872
    @Override
-
 
249873
    public int hashCode() {
-
 
249874
      return 0;
-
 
249875
    }
-
 
249876
 
-
 
249877
    public int compareTo(searchPmsa_args other) {
-
 
249878
      if (!getClass().equals(other.getClass())) {
-
 
249879
        return getClass().getName().compareTo(other.getClass().getName());
-
 
249880
      }
-
 
249881
 
-
 
249882
      int lastComparison = 0;
-
 
249883
      searchPmsa_args typedOther = (searchPmsa_args)other;
-
 
249884
 
-
 
249885
      lastComparison = Boolean.valueOf(isSetPmsaSearchFilter()).compareTo(typedOther.isSetPmsaSearchFilter());
-
 
249886
      if (lastComparison != 0) {
-
 
249887
        return lastComparison;
-
 
249888
      }
-
 
249889
      if (isSetPmsaSearchFilter()) {
-
 
249890
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pmsaSearchFilter, typedOther.pmsaSearchFilter);
-
 
249891
        if (lastComparison != 0) {
-
 
249892
          return lastComparison;
-
 
249893
        }
-
 
249894
      }
-
 
249895
      lastComparison = Boolean.valueOf(isSetAssociateEmail()).compareTo(typedOther.isSetAssociateEmail());
-
 
249896
      if (lastComparison != 0) {
-
 
249897
        return lastComparison;
-
 
249898
      }
-
 
249899
      if (isSetAssociateEmail()) {
-
 
249900
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.associateEmail, typedOther.associateEmail);
-
 
249901
        if (lastComparison != 0) {
-
 
249902
          return lastComparison;
-
 
249903
        }
-
 
249904
      }
-
 
249905
      return 0;
-
 
249906
    }
-
 
249907
 
-
 
249908
    public _Fields fieldForId(int fieldId) {
-
 
249909
      return _Fields.findByThriftId(fieldId);
-
 
249910
    }
-
 
249911
 
-
 
249912
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
249913
      org.apache.thrift.protocol.TField field;
-
 
249914
      iprot.readStructBegin();
-
 
249915
      while (true)
-
 
249916
      {
-
 
249917
        field = iprot.readFieldBegin();
-
 
249918
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
249919
          break;
-
 
249920
        }
-
 
249921
        switch (field.id) {
-
 
249922
          case 1: // PMSA_SEARCH_FILTER
-
 
249923
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
249924
              this.pmsaSearchFilter = new PmsaSearchFilter();
-
 
249925
              this.pmsaSearchFilter.read(iprot);
-
 
249926
            } else { 
-
 
249927
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249928
            }
-
 
249929
            break;
-
 
249930
          case 2: // ASSOCIATE_EMAIL
-
 
249931
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
249932
              this.associateEmail = iprot.readString();
-
 
249933
            } else { 
-
 
249934
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249935
            }
-
 
249936
            break;
-
 
249937
          default:
-
 
249938
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
249939
        }
-
 
249940
        iprot.readFieldEnd();
-
 
249941
      }
-
 
249942
      iprot.readStructEnd();
-
 
249943
      validate();
-
 
249944
    }
-
 
249945
 
-
 
249946
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
249947
      validate();
-
 
249948
 
-
 
249949
      oprot.writeStructBegin(STRUCT_DESC);
-
 
249950
      if (this.pmsaSearchFilter != null) {
-
 
249951
        oprot.writeFieldBegin(PMSA_SEARCH_FILTER_FIELD_DESC);
-
 
249952
        this.pmsaSearchFilter.write(oprot);
-
 
249953
        oprot.writeFieldEnd();
-
 
249954
      }
-
 
249955
      if (this.associateEmail != null) {
-
 
249956
        oprot.writeFieldBegin(ASSOCIATE_EMAIL_FIELD_DESC);
-
 
249957
        oprot.writeString(this.associateEmail);
-
 
249958
        oprot.writeFieldEnd();
-
 
249959
      }
-
 
249960
      oprot.writeFieldStop();
-
 
249961
      oprot.writeStructEnd();
-
 
249962
    }
-
 
249963
 
-
 
249964
    @Override
-
 
249965
    public String toString() {
-
 
249966
      StringBuilder sb = new StringBuilder("searchPmsa_args(");
-
 
249967
      boolean first = true;
-
 
249968
 
-
 
249969
      sb.append("pmsaSearchFilter:");
-
 
249970
      if (this.pmsaSearchFilter == null) {
-
 
249971
        sb.append("null");
-
 
249972
      } else {
-
 
249973
        sb.append(this.pmsaSearchFilter);
-
 
249974
      }
-
 
249975
      first = false;
-
 
249976
      if (!first) sb.append(", ");
-
 
249977
      sb.append("associateEmail:");
-
 
249978
      if (this.associateEmail == null) {
-
 
249979
        sb.append("null");
-
 
249980
      } else {
-
 
249981
        sb.append(this.associateEmail);
-
 
249982
      }
-
 
249983
      first = false;
-
 
249984
      sb.append(")");
-
 
249985
      return sb.toString();
-
 
249986
    }
-
 
249987
 
-
 
249988
    public void validate() throws org.apache.thrift.TException {
-
 
249989
      // check for required fields
-
 
249990
    }
-
 
249991
 
-
 
249992
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
249993
      try {
-
 
249994
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
249995
      } catch (org.apache.thrift.TException te) {
-
 
249996
        throw new java.io.IOException(te);
-
 
249997
      }
-
 
249998
    }
-
 
249999
 
-
 
250000
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
250001
      try {
-
 
250002
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
250003
      } catch (org.apache.thrift.TException te) {
-
 
250004
        throw new java.io.IOException(te);
-
 
250005
      }
-
 
250006
    }
-
 
250007
 
-
 
250008
  }
-
 
250009
 
-
 
250010
  public static class searchPmsa_result implements org.apache.thrift.TBase<searchPmsa_result, searchPmsa_result._Fields>, java.io.Serializable, Cloneable   {
-
 
250011
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("searchPmsa_result");
-
 
250012
 
-
 
250013
    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);
-
 
250014
 
-
 
250015
    private List<Pmsa> success; // required
-
 
250016
 
-
 
250017
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
250018
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
250019
      SUCCESS((short)0, "success");
-
 
250020
 
-
 
250021
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
250022
 
-
 
250023
      static {
-
 
250024
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
250025
          byName.put(field.getFieldName(), field);
-
 
250026
        }
-
 
250027
      }
-
 
250028
 
-
 
250029
      /**
-
 
250030
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
250031
       */
-
 
250032
      public static _Fields findByThriftId(int fieldId) {
-
 
250033
        switch(fieldId) {
-
 
250034
          case 0: // SUCCESS
-
 
250035
            return SUCCESS;
-
 
250036
          default:
-
 
250037
            return null;
-
 
250038
        }
-
 
250039
      }
-
 
250040
 
-
 
250041
      /**
-
 
250042
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
250043
       * if it is not found.
-
 
250044
       */
-
 
250045
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
250046
        _Fields fields = findByThriftId(fieldId);
-
 
250047
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
250048
        return fields;
-
 
250049
      }
-
 
250050
 
-
 
250051
      /**
-
 
250052
       * Find the _Fields constant that matches name, or null if its not found.
-
 
250053
       */
-
 
250054
      public static _Fields findByName(String name) {
-
 
250055
        return byName.get(name);
-
 
250056
      }
-
 
250057
 
-
 
250058
      private final short _thriftId;
-
 
250059
      private final String _fieldName;
-
 
250060
 
-
 
250061
      _Fields(short thriftId, String fieldName) {
-
 
250062
        _thriftId = thriftId;
-
 
250063
        _fieldName = fieldName;
-
 
250064
      }
-
 
250065
 
-
 
250066
      public short getThriftFieldId() {
-
 
250067
        return _thriftId;
-
 
250068
      }
-
 
250069
 
-
 
250070
      public String getFieldName() {
-
 
250071
        return _fieldName;
-
 
250072
      }
-
 
250073
    }
-
 
250074
 
-
 
250075
    // isset id assignments
-
 
250076
 
-
 
250077
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
250078
    static {
-
 
250079
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
250080
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
250081
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
250082
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Pmsa.class))));
-
 
250083
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
250084
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(searchPmsa_result.class, metaDataMap);
-
 
250085
    }
-
 
250086
 
-
 
250087
    public searchPmsa_result() {
-
 
250088
    }
-
 
250089
 
-
 
250090
    public searchPmsa_result(
-
 
250091
      List<Pmsa> success)
-
 
250092
    {
-
 
250093
      this();
-
 
250094
      this.success = success;
-
 
250095
    }
-
 
250096
 
-
 
250097
    /**
-
 
250098
     * Performs a deep copy on <i>other</i>.
-
 
250099
     */
-
 
250100
    public searchPmsa_result(searchPmsa_result other) {
-
 
250101
      if (other.isSetSuccess()) {
-
 
250102
        List<Pmsa> __this__success = new ArrayList<Pmsa>();
-
 
250103
        for (Pmsa other_element : other.success) {
-
 
250104
          __this__success.add(new Pmsa(other_element));
-
 
250105
        }
-
 
250106
        this.success = __this__success;
-
 
250107
      }
-
 
250108
    }
-
 
250109
 
-
 
250110
    public searchPmsa_result deepCopy() {
-
 
250111
      return new searchPmsa_result(this);
-
 
250112
    }
-
 
250113
 
-
 
250114
    @Override
-
 
250115
    public void clear() {
-
 
250116
      this.success = null;
-
 
250117
    }
-
 
250118
 
-
 
250119
    public int getSuccessSize() {
-
 
250120
      return (this.success == null) ? 0 : this.success.size();
-
 
250121
    }
-
 
250122
 
-
 
250123
    public java.util.Iterator<Pmsa> getSuccessIterator() {
-
 
250124
      return (this.success == null) ? null : this.success.iterator();
-
 
250125
    }
-
 
250126
 
-
 
250127
    public void addToSuccess(Pmsa elem) {
-
 
250128
      if (this.success == null) {
-
 
250129
        this.success = new ArrayList<Pmsa>();
-
 
250130
      }
-
 
250131
      this.success.add(elem);
-
 
250132
    }
-
 
250133
 
-
 
250134
    public List<Pmsa> getSuccess() {
-
 
250135
      return this.success;
-
 
250136
    }
-
 
250137
 
-
 
250138
    public void setSuccess(List<Pmsa> success) {
-
 
250139
      this.success = success;
-
 
250140
    }
-
 
250141
 
-
 
250142
    public void unsetSuccess() {
-
 
250143
      this.success = null;
-
 
250144
    }
-
 
250145
 
-
 
250146
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
250147
    public boolean isSetSuccess() {
-
 
250148
      return this.success != null;
-
 
250149
    }
-
 
250150
 
-
 
250151
    public void setSuccessIsSet(boolean value) {
-
 
250152
      if (!value) {
-
 
250153
        this.success = null;
-
 
250154
      }
-
 
250155
    }
-
 
250156
 
-
 
250157
    public void setFieldValue(_Fields field, Object value) {
-
 
250158
      switch (field) {
-
 
250159
      case SUCCESS:
-
 
250160
        if (value == null) {
-
 
250161
          unsetSuccess();
-
 
250162
        } else {
-
 
250163
          setSuccess((List<Pmsa>)value);
-
 
250164
        }
-
 
250165
        break;
-
 
250166
 
-
 
250167
      }
-
 
250168
    }
-
 
250169
 
-
 
250170
    public Object getFieldValue(_Fields field) {
-
 
250171
      switch (field) {
-
 
250172
      case SUCCESS:
-
 
250173
        return getSuccess();
-
 
250174
 
-
 
250175
      }
-
 
250176
      throw new IllegalStateException();
-
 
250177
    }
-
 
250178
 
-
 
250179
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
250180
    public boolean isSet(_Fields field) {
-
 
250181
      if (field == null) {
-
 
250182
        throw new IllegalArgumentException();
-
 
250183
      }
-
 
250184
 
-
 
250185
      switch (field) {
-
 
250186
      case SUCCESS:
-
 
250187
        return isSetSuccess();
-
 
250188
      }
-
 
250189
      throw new IllegalStateException();
-
 
250190
    }
-
 
250191
 
-
 
250192
    @Override
-
 
250193
    public boolean equals(Object that) {
-
 
250194
      if (that == null)
-
 
250195
        return false;
-
 
250196
      if (that instanceof searchPmsa_result)
-
 
250197
        return this.equals((searchPmsa_result)that);
-
 
250198
      return false;
-
 
250199
    }
-
 
250200
 
-
 
250201
    public boolean equals(searchPmsa_result that) {
-
 
250202
      if (that == null)
-
 
250203
        return false;
-
 
250204
 
-
 
250205
      boolean this_present_success = true && this.isSetSuccess();
-
 
250206
      boolean that_present_success = true && that.isSetSuccess();
-
 
250207
      if (this_present_success || that_present_success) {
-
 
250208
        if (!(this_present_success && that_present_success))
-
 
250209
          return false;
-
 
250210
        if (!this.success.equals(that.success))
-
 
250211
          return false;
-
 
250212
      }
-
 
250213
 
-
 
250214
      return true;
-
 
250215
    }
-
 
250216
 
-
 
250217
    @Override
-
 
250218
    public int hashCode() {
-
 
250219
      return 0;
-
 
250220
    }
-
 
250221
 
-
 
250222
    public int compareTo(searchPmsa_result other) {
-
 
250223
      if (!getClass().equals(other.getClass())) {
-
 
250224
        return getClass().getName().compareTo(other.getClass().getName());
-
 
250225
      }
-
 
250226
 
-
 
250227
      int lastComparison = 0;
-
 
250228
      searchPmsa_result typedOther = (searchPmsa_result)other;
-
 
250229
 
-
 
250230
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
250231
      if (lastComparison != 0) {
-
 
250232
        return lastComparison;
-
 
250233
      }
-
 
250234
      if (isSetSuccess()) {
-
 
250235
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
250236
        if (lastComparison != 0) {
-
 
250237
          return lastComparison;
-
 
250238
        }
-
 
250239
      }
-
 
250240
      return 0;
-
 
250241
    }
-
 
250242
 
-
 
250243
    public _Fields fieldForId(int fieldId) {
-
 
250244
      return _Fields.findByThriftId(fieldId);
-
 
250245
    }
-
 
250246
 
-
 
250247
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
250248
      org.apache.thrift.protocol.TField field;
-
 
250249
      iprot.readStructBegin();
-
 
250250
      while (true)
-
 
250251
      {
-
 
250252
        field = iprot.readFieldBegin();
-
 
250253
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
250254
          break;
-
 
250255
        }
-
 
250256
        switch (field.id) {
-
 
250257
          case 0: // SUCCESS
-
 
250258
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
250259
              {
-
 
250260
                org.apache.thrift.protocol.TList _list857 = iprot.readListBegin();
-
 
250261
                this.success = new ArrayList<Pmsa>(_list857.size);
-
 
250262
                for (int _i858 = 0; _i858 < _list857.size; ++_i858)
-
 
250263
                {
-
 
250264
                  Pmsa _elem859; // required
-
 
250265
                  _elem859 = new Pmsa();
-
 
250266
                  _elem859.read(iprot);
-
 
250267
                  this.success.add(_elem859);
-
 
250268
                }
-
 
250269
                iprot.readListEnd();
-
 
250270
              }
-
 
250271
            } else { 
-
 
250272
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
250273
            }
-
 
250274
            break;
-
 
250275
          default:
-
 
250276
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
250277
        }
-
 
250278
        iprot.readFieldEnd();
-
 
250279
      }
-
 
250280
      iprot.readStructEnd();
-
 
250281
      validate();
-
 
250282
    }
-
 
250283
 
-
 
250284
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
250285
      oprot.writeStructBegin(STRUCT_DESC);
-
 
250286
 
-
 
250287
      if (this.isSetSuccess()) {
-
 
250288
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
250289
        {
-
 
250290
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
250291
          for (Pmsa _iter860 : this.success)
-
 
250292
          {
-
 
250293
            _iter860.write(oprot);
-
 
250294
          }
-
 
250295
          oprot.writeListEnd();
-
 
250296
        }
-
 
250297
        oprot.writeFieldEnd();
-
 
250298
      }
-
 
250299
      oprot.writeFieldStop();
-
 
250300
      oprot.writeStructEnd();
-
 
250301
    }
-
 
250302
 
-
 
250303
    @Override
-
 
250304
    public String toString() {
-
 
250305
      StringBuilder sb = new StringBuilder("searchPmsa_result(");
-
 
250306
      boolean first = true;
-
 
250307
 
-
 
250308
      sb.append("success:");
-
 
250309
      if (this.success == null) {
-
 
250310
        sb.append("null");
-
 
250311
      } else {
-
 
250312
        sb.append(this.success);
-
 
250313
      }
-
 
250314
      first = false;
-
 
250315
      sb.append(")");
-
 
250316
      return sb.toString();
-
 
250317
    }
-
 
250318
 
-
 
250319
    public void validate() throws org.apache.thrift.TException {
-
 
250320
      // check for required fields
-
 
250321
    }
-
 
250322
 
-
 
250323
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
250324
      try {
-
 
250325
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
250326
      } catch (org.apache.thrift.TException te) {
-
 
250327
        throw new java.io.IOException(te);
-
 
250328
      }
-
 
250329
    }
-
 
250330
 
-
 
250331
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
250332
      try {
-
 
250333
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
250334
      } catch (org.apache.thrift.TException te) {
-
 
250335
        throw new java.io.IOException(te);
-
 
250336
      }
-
 
250337
    }
-
 
250338
 
-
 
250339
  }
-
 
250340
 
-
 
250341
  public static class getPmsaUser_args implements org.apache.thrift.TBase<getPmsaUser_args, getPmsaUser_args._Fields>, java.io.Serializable, Cloneable   {
-
 
250342
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPmsaUser_args");
-
 
250343
 
-
 
250344
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
250345
    private static final org.apache.thrift.protocol.TField ASSOCIATE_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("associateEmail", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
250346
 
-
 
250347
    private long id; // required
-
 
250348
    private String associateEmail; // required
-
 
250349
 
-
 
250350
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
250351
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
250352
      ID((short)1, "id"),
-
 
250353
      ASSOCIATE_EMAIL((short)2, "associateEmail");
-
 
250354
 
-
 
250355
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
250356
 
-
 
250357
      static {
-
 
250358
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
250359
          byName.put(field.getFieldName(), field);
-
 
250360
        }
-
 
250361
      }
-
 
250362
 
-
 
250363
      /**
-
 
250364
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
250365
       */
-
 
250366
      public static _Fields findByThriftId(int fieldId) {
-
 
250367
        switch(fieldId) {
-
 
250368
          case 1: // ID
-
 
250369
            return ID;
-
 
250370
          case 2: // ASSOCIATE_EMAIL
-
 
250371
            return ASSOCIATE_EMAIL;
-
 
250372
          default:
-
 
250373
            return null;
-
 
250374
        }
-
 
250375
      }
-
 
250376
 
-
 
250377
      /**
-
 
250378
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
250379
       * if it is not found.
-
 
250380
       */
-
 
250381
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
250382
        _Fields fields = findByThriftId(fieldId);
-
 
250383
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
250384
        return fields;
-
 
250385
      }
-
 
250386
 
-
 
250387
      /**
-
 
250388
       * Find the _Fields constant that matches name, or null if its not found.
-
 
250389
       */
-
 
250390
      public static _Fields findByName(String name) {
-
 
250391
        return byName.get(name);
-
 
250392
      }
-
 
250393
 
-
 
250394
      private final short _thriftId;
-
 
250395
      private final String _fieldName;
-
 
250396
 
-
 
250397
      _Fields(short thriftId, String fieldName) {
-
 
250398
        _thriftId = thriftId;
-
 
250399
        _fieldName = fieldName;
-
 
250400
      }
-
 
250401
 
-
 
250402
      public short getThriftFieldId() {
-
 
250403
        return _thriftId;
-
 
250404
      }
-
 
250405
 
-
 
250406
      public String getFieldName() {
-
 
250407
        return _fieldName;
-
 
250408
      }
-
 
250409
    }
-
 
250410
 
-
 
250411
    // isset id assignments
-
 
250412
    private static final int __ID_ISSET_ID = 0;
-
 
250413
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
250414
 
-
 
250415
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
250416
    static {
-
 
250417
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
250418
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
250419
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
250420
      tmpMap.put(_Fields.ASSOCIATE_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("associateEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
250421
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
250422
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
250423
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPmsaUser_args.class, metaDataMap);
-
 
250424
    }
-
 
250425
 
-
 
250426
    public getPmsaUser_args() {
-
 
250427
    }
-
 
250428
 
-
 
250429
    public getPmsaUser_args(
-
 
250430
      long id,
-
 
250431
      String associateEmail)
-
 
250432
    {
-
 
250433
      this();
-
 
250434
      this.id = id;
-
 
250435
      setIdIsSet(true);
-
 
250436
      this.associateEmail = associateEmail;
-
 
250437
    }
-
 
250438
 
-
 
250439
    /**
-
 
250440
     * Performs a deep copy on <i>other</i>.
-
 
250441
     */
-
 
250442
    public getPmsaUser_args(getPmsaUser_args other) {
-
 
250443
      __isset_bit_vector.clear();
-
 
250444
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
250445
      this.id = other.id;
-
 
250446
      if (other.isSetAssociateEmail()) {
-
 
250447
        this.associateEmail = other.associateEmail;
-
 
250448
      }
-
 
250449
    }
-
 
250450
 
-
 
250451
    public getPmsaUser_args deepCopy() {
-
 
250452
      return new getPmsaUser_args(this);
-
 
250453
    }
-
 
250454
 
-
 
250455
    @Override
-
 
250456
    public void clear() {
-
 
250457
      setIdIsSet(false);
-
 
250458
      this.id = 0;
-
 
250459
      this.associateEmail = null;
-
 
250460
    }
-
 
250461
 
-
 
250462
    public long getId() {
-
 
250463
      return this.id;
-
 
250464
    }
-
 
250465
 
-
 
250466
    public void setId(long id) {
-
 
250467
      this.id = id;
-
 
250468
      setIdIsSet(true);
-
 
250469
    }
-
 
250470
 
-
 
250471
    public void unsetId() {
-
 
250472
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
250473
    }
-
 
250474
 
-
 
250475
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
250476
    public boolean isSetId() {
-
 
250477
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
250478
    }
-
 
250479
 
-
 
250480
    public void setIdIsSet(boolean value) {
-
 
250481
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
250482
    }
-
 
250483
 
-
 
250484
    public String getAssociateEmail() {
-
 
250485
      return this.associateEmail;
-
 
250486
    }
-
 
250487
 
-
 
250488
    public void setAssociateEmail(String associateEmail) {
-
 
250489
      this.associateEmail = associateEmail;
-
 
250490
    }
-
 
250491
 
-
 
250492
    public void unsetAssociateEmail() {
-
 
250493
      this.associateEmail = null;
-
 
250494
    }
-
 
250495
 
-
 
250496
    /** Returns true if field associateEmail is set (has been assigned a value) and false otherwise */
-
 
250497
    public boolean isSetAssociateEmail() {
-
 
250498
      return this.associateEmail != null;
-
 
250499
    }
-
 
250500
 
-
 
250501
    public void setAssociateEmailIsSet(boolean value) {
-
 
250502
      if (!value) {
-
 
250503
        this.associateEmail = null;
-
 
250504
      }
-
 
250505
    }
-
 
250506
 
-
 
250507
    public void setFieldValue(_Fields field, Object value) {
-
 
250508
      switch (field) {
-
 
250509
      case ID:
-
 
250510
        if (value == null) {
-
 
250511
          unsetId();
-
 
250512
        } else {
-
 
250513
          setId((Long)value);
-
 
250514
        }
-
 
250515
        break;
-
 
250516
 
-
 
250517
      case ASSOCIATE_EMAIL:
-
 
250518
        if (value == null) {
-
 
250519
          unsetAssociateEmail();
-
 
250520
        } else {
-
 
250521
          setAssociateEmail((String)value);
-
 
250522
        }
-
 
250523
        break;
-
 
250524
 
-
 
250525
      }
-
 
250526
    }
-
 
250527
 
-
 
250528
    public Object getFieldValue(_Fields field) {
-
 
250529
      switch (field) {
-
 
250530
      case ID:
-
 
250531
        return Long.valueOf(getId());
-
 
250532
 
-
 
250533
      case ASSOCIATE_EMAIL:
-
 
250534
        return getAssociateEmail();
-
 
250535
 
-
 
250536
      }
-
 
250537
      throw new IllegalStateException();
-
 
250538
    }
-
 
250539
 
-
 
250540
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
250541
    public boolean isSet(_Fields field) {
-
 
250542
      if (field == null) {
-
 
250543
        throw new IllegalArgumentException();
-
 
250544
      }
-
 
250545
 
-
 
250546
      switch (field) {
-
 
250547
      case ID:
-
 
250548
        return isSetId();
-
 
250549
      case ASSOCIATE_EMAIL:
-
 
250550
        return isSetAssociateEmail();
-
 
250551
      }
-
 
250552
      throw new IllegalStateException();
-
 
250553
    }
-
 
250554
 
-
 
250555
    @Override
-
 
250556
    public boolean equals(Object that) {
-
 
250557
      if (that == null)
-
 
250558
        return false;
-
 
250559
      if (that instanceof getPmsaUser_args)
-
 
250560
        return this.equals((getPmsaUser_args)that);
-
 
250561
      return false;
-
 
250562
    }
-
 
250563
 
-
 
250564
    public boolean equals(getPmsaUser_args that) {
-
 
250565
      if (that == null)
-
 
250566
        return false;
-
 
250567
 
-
 
250568
      boolean this_present_id = true;
-
 
250569
      boolean that_present_id = true;
-
 
250570
      if (this_present_id || that_present_id) {
-
 
250571
        if (!(this_present_id && that_present_id))
-
 
250572
          return false;
-
 
250573
        if (this.id != that.id)
-
 
250574
          return false;
-
 
250575
      }
-
 
250576
 
-
 
250577
      boolean this_present_associateEmail = true && this.isSetAssociateEmail();
-
 
250578
      boolean that_present_associateEmail = true && that.isSetAssociateEmail();
-
 
250579
      if (this_present_associateEmail || that_present_associateEmail) {
-
 
250580
        if (!(this_present_associateEmail && that_present_associateEmail))
-
 
250581
          return false;
-
 
250582
        if (!this.associateEmail.equals(that.associateEmail))
-
 
250583
          return false;
-
 
250584
      }
-
 
250585
 
-
 
250586
      return true;
-
 
250587
    }
-
 
250588
 
-
 
250589
    @Override
-
 
250590
    public int hashCode() {
-
 
250591
      return 0;
-
 
250592
    }
-
 
250593
 
-
 
250594
    public int compareTo(getPmsaUser_args other) {
-
 
250595
      if (!getClass().equals(other.getClass())) {
-
 
250596
        return getClass().getName().compareTo(other.getClass().getName());
-
 
250597
      }
-
 
250598
 
-
 
250599
      int lastComparison = 0;
-
 
250600
      getPmsaUser_args typedOther = (getPmsaUser_args)other;
-
 
250601
 
-
 
250602
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
250603
      if (lastComparison != 0) {
-
 
250604
        return lastComparison;
-
 
250605
      }
-
 
250606
      if (isSetId()) {
-
 
250607
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
250608
        if (lastComparison != 0) {
-
 
250609
          return lastComparison;
-
 
250610
        }
-
 
250611
      }
-
 
250612
      lastComparison = Boolean.valueOf(isSetAssociateEmail()).compareTo(typedOther.isSetAssociateEmail());
-
 
250613
      if (lastComparison != 0) {
-
 
250614
        return lastComparison;
-
 
250615
      }
-
 
250616
      if (isSetAssociateEmail()) {
-
 
250617
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.associateEmail, typedOther.associateEmail);
-
 
250618
        if (lastComparison != 0) {
-
 
250619
          return lastComparison;
-
 
250620
        }
-
 
250621
      }
-
 
250622
      return 0;
-
 
250623
    }
-
 
250624
 
-
 
250625
    public _Fields fieldForId(int fieldId) {
-
 
250626
      return _Fields.findByThriftId(fieldId);
-
 
250627
    }
-
 
250628
 
-
 
250629
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
250630
      org.apache.thrift.protocol.TField field;
-
 
250631
      iprot.readStructBegin();
-
 
250632
      while (true)
-
 
250633
      {
-
 
250634
        field = iprot.readFieldBegin();
-
 
250635
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
250636
          break;
-
 
250637
        }
-
 
250638
        switch (field.id) {
-
 
250639
          case 1: // ID
-
 
250640
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
250641
              this.id = iprot.readI64();
-
 
250642
              setIdIsSet(true);
-
 
250643
            } else { 
-
 
250644
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
250645
            }
-
 
250646
            break;
-
 
250647
          case 2: // ASSOCIATE_EMAIL
-
 
250648
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
250649
              this.associateEmail = iprot.readString();
-
 
250650
            } else { 
-
 
250651
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
250652
            }
-
 
250653
            break;
-
 
250654
          default:
-
 
250655
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
250656
        }
-
 
250657
        iprot.readFieldEnd();
-
 
250658
      }
-
 
250659
      iprot.readStructEnd();
-
 
250660
      validate();
-
 
250661
    }
-
 
250662
 
-
 
250663
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
250664
      validate();
-
 
250665
 
-
 
250666
      oprot.writeStructBegin(STRUCT_DESC);
-
 
250667
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
250668
      oprot.writeI64(this.id);
-
 
250669
      oprot.writeFieldEnd();
-
 
250670
      if (this.associateEmail != null) {
-
 
250671
        oprot.writeFieldBegin(ASSOCIATE_EMAIL_FIELD_DESC);
-
 
250672
        oprot.writeString(this.associateEmail);
-
 
250673
        oprot.writeFieldEnd();
-
 
250674
      }
-
 
250675
      oprot.writeFieldStop();
-
 
250676
      oprot.writeStructEnd();
-
 
250677
    }
-
 
250678
 
-
 
250679
    @Override
-
 
250680
    public String toString() {
-
 
250681
      StringBuilder sb = new StringBuilder("getPmsaUser_args(");
-
 
250682
      boolean first = true;
-
 
250683
 
-
 
250684
      sb.append("id:");
-
 
250685
      sb.append(this.id);
-
 
250686
      first = false;
-
 
250687
      if (!first) sb.append(", ");
-
 
250688
      sb.append("associateEmail:");
-
 
250689
      if (this.associateEmail == null) {
-
 
250690
        sb.append("null");
-
 
250691
      } else {
-
 
250692
        sb.append(this.associateEmail);
-
 
250693
      }
-
 
250694
      first = false;
-
 
250695
      sb.append(")");
-
 
250696
      return sb.toString();
-
 
250697
    }
-
 
250698
 
-
 
250699
    public void validate() throws org.apache.thrift.TException {
-
 
250700
      // check for required fields
-
 
250701
    }
-
 
250702
 
-
 
250703
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
250704
      try {
-
 
250705
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
250706
      } catch (org.apache.thrift.TException te) {
-
 
250707
        throw new java.io.IOException(te);
-
 
250708
      }
-
 
250709
    }
-
 
250710
 
-
 
250711
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
250712
      try {
-
 
250713
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
250714
        __isset_bit_vector = new BitSet(1);
-
 
250715
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
250716
      } catch (org.apache.thrift.TException te) {
-
 
250717
        throw new java.io.IOException(te);
-
 
250718
      }
-
 
250719
    }
-
 
250720
 
-
 
250721
  }
-
 
250722
 
-
 
250723
  public static class getPmsaUser_result implements org.apache.thrift.TBase<getPmsaUser_result, getPmsaUser_result._Fields>, java.io.Serializable, Cloneable   {
-
 
250724
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPmsaUser_result");
-
 
250725
 
-
 
250726
    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);
-
 
250727
 
-
 
250728
    private Pmsa success; // required
-
 
250729
 
-
 
250730
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
250731
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
250732
      SUCCESS((short)0, "success");
-
 
250733
 
-
 
250734
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
250735
 
-
 
250736
      static {
-
 
250737
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
250738
          byName.put(field.getFieldName(), field);
-
 
250739
        }
-
 
250740
      }
-
 
250741
 
-
 
250742
      /**
-
 
250743
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
250744
       */
-
 
250745
      public static _Fields findByThriftId(int fieldId) {
-
 
250746
        switch(fieldId) {
-
 
250747
          case 0: // SUCCESS
-
 
250748
            return SUCCESS;
-
 
250749
          default:
-
 
250750
            return null;
-
 
250751
        }
-
 
250752
      }
-
 
250753
 
-
 
250754
      /**
-
 
250755
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
250756
       * if it is not found.
-
 
250757
       */
-
 
250758
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
250759
        _Fields fields = findByThriftId(fieldId);
-
 
250760
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
250761
        return fields;
-
 
250762
      }
-
 
250763
 
-
 
250764
      /**
-
 
250765
       * Find the _Fields constant that matches name, or null if its not found.
-
 
250766
       */
-
 
250767
      public static _Fields findByName(String name) {
-
 
250768
        return byName.get(name);
-
 
250769
      }
-
 
250770
 
-
 
250771
      private final short _thriftId;
-
 
250772
      private final String _fieldName;
-
 
250773
 
-
 
250774
      _Fields(short thriftId, String fieldName) {
-
 
250775
        _thriftId = thriftId;
-
 
250776
        _fieldName = fieldName;
-
 
250777
      }
-
 
250778
 
-
 
250779
      public short getThriftFieldId() {
-
 
250780
        return _thriftId;
-
 
250781
      }
-
 
250782
 
-
 
250783
      public String getFieldName() {
-
 
250784
        return _fieldName;
-
 
250785
      }
-
 
250786
    }
-
 
250787
 
-
 
250788
    // isset id assignments
-
 
250789
 
-
 
250790
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
250791
    static {
-
 
250792
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
250793
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
250794
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Pmsa.class)));
-
 
250795
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
250796
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPmsaUser_result.class, metaDataMap);
-
 
250797
    }
-
 
250798
 
-
 
250799
    public getPmsaUser_result() {
-
 
250800
    }
-
 
250801
 
-
 
250802
    public getPmsaUser_result(
-
 
250803
      Pmsa success)
-
 
250804
    {
-
 
250805
      this();
-
 
250806
      this.success = success;
-
 
250807
    }
-
 
250808
 
-
 
250809
    /**
-
 
250810
     * Performs a deep copy on <i>other</i>.
-
 
250811
     */
-
 
250812
    public getPmsaUser_result(getPmsaUser_result other) {
-
 
250813
      if (other.isSetSuccess()) {
-
 
250814
        this.success = new Pmsa(other.success);
-
 
250815
      }
-
 
250816
    }
-
 
250817
 
-
 
250818
    public getPmsaUser_result deepCopy() {
-
 
250819
      return new getPmsaUser_result(this);
-
 
250820
    }
-
 
250821
 
-
 
250822
    @Override
-
 
250823
    public void clear() {
-
 
250824
      this.success = null;
-
 
250825
    }
-
 
250826
 
-
 
250827
    public Pmsa getSuccess() {
-
 
250828
      return this.success;
-
 
250829
    }
-
 
250830
 
-
 
250831
    public void setSuccess(Pmsa success) {
-
 
250832
      this.success = success;
-
 
250833
    }
-
 
250834
 
-
 
250835
    public void unsetSuccess() {
-
 
250836
      this.success = null;
-
 
250837
    }
-
 
250838
 
-
 
250839
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
250840
    public boolean isSetSuccess() {
-
 
250841
      return this.success != null;
-
 
250842
    }
-
 
250843
 
-
 
250844
    public void setSuccessIsSet(boolean value) {
-
 
250845
      if (!value) {
-
 
250846
        this.success = null;
-
 
250847
      }
-
 
250848
    }
-
 
250849
 
-
 
250850
    public void setFieldValue(_Fields field, Object value) {
-
 
250851
      switch (field) {
-
 
250852
      case SUCCESS:
-
 
250853
        if (value == null) {
-
 
250854
          unsetSuccess();
-
 
250855
        } else {
-
 
250856
          setSuccess((Pmsa)value);
-
 
250857
        }
-
 
250858
        break;
-
 
250859
 
-
 
250860
      }
-
 
250861
    }
-
 
250862
 
-
 
250863
    public Object getFieldValue(_Fields field) {
-
 
250864
      switch (field) {
-
 
250865
      case SUCCESS:
-
 
250866
        return getSuccess();
-
 
250867
 
-
 
250868
      }
-
 
250869
      throw new IllegalStateException();
-
 
250870
    }
-
 
250871
 
-
 
250872
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
250873
    public boolean isSet(_Fields field) {
-
 
250874
      if (field == null) {
-
 
250875
        throw new IllegalArgumentException();
-
 
250876
      }
-
 
250877
 
-
 
250878
      switch (field) {
-
 
250879
      case SUCCESS:
-
 
250880
        return isSetSuccess();
-
 
250881
      }
-
 
250882
      throw new IllegalStateException();
-
 
250883
    }
-
 
250884
 
-
 
250885
    @Override
-
 
250886
    public boolean equals(Object that) {
-
 
250887
      if (that == null)
-
 
250888
        return false;
-
 
250889
      if (that instanceof getPmsaUser_result)
-
 
250890
        return this.equals((getPmsaUser_result)that);
-
 
250891
      return false;
-
 
250892
    }
-
 
250893
 
-
 
250894
    public boolean equals(getPmsaUser_result that) {
-
 
250895
      if (that == null)
-
 
250896
        return false;
-
 
250897
 
-
 
250898
      boolean this_present_success = true && this.isSetSuccess();
-
 
250899
      boolean that_present_success = true && that.isSetSuccess();
-
 
250900
      if (this_present_success || that_present_success) {
-
 
250901
        if (!(this_present_success && that_present_success))
-
 
250902
          return false;
-
 
250903
        if (!this.success.equals(that.success))
-
 
250904
          return false;
-
 
250905
      }
-
 
250906
 
-
 
250907
      return true;
-
 
250908
    }
-
 
250909
 
-
 
250910
    @Override
-
 
250911
    public int hashCode() {
-
 
250912
      return 0;
-
 
250913
    }
-
 
250914
 
-
 
250915
    public int compareTo(getPmsaUser_result other) {
-
 
250916
      if (!getClass().equals(other.getClass())) {
-
 
250917
        return getClass().getName().compareTo(other.getClass().getName());
-
 
250918
      }
-
 
250919
 
-
 
250920
      int lastComparison = 0;
-
 
250921
      getPmsaUser_result typedOther = (getPmsaUser_result)other;
-
 
250922
 
-
 
250923
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
250924
      if (lastComparison != 0) {
-
 
250925
        return lastComparison;
-
 
250926
      }
-
 
250927
      if (isSetSuccess()) {
-
 
250928
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
250929
        if (lastComparison != 0) {
-
 
250930
          return lastComparison;
-
 
250931
        }
-
 
250932
      }
-
 
250933
      return 0;
-
 
250934
    }
-
 
250935
 
-
 
250936
    public _Fields fieldForId(int fieldId) {
-
 
250937
      return _Fields.findByThriftId(fieldId);
-
 
250938
    }
-
 
250939
 
-
 
250940
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
250941
      org.apache.thrift.protocol.TField field;
-
 
250942
      iprot.readStructBegin();
-
 
250943
      while (true)
-
 
250944
      {
-
 
250945
        field = iprot.readFieldBegin();
-
 
250946
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
250947
          break;
-
 
250948
        }
-
 
250949
        switch (field.id) {
-
 
250950
          case 0: // SUCCESS
-
 
250951
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
250952
              this.success = new Pmsa();
-
 
250953
              this.success.read(iprot);
-
 
250954
            } else { 
-
 
250955
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
250956
            }
-
 
250957
            break;
-
 
250958
          default:
-
 
250959
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
250960
        }
-
 
250961
        iprot.readFieldEnd();
-
 
250962
      }
-
 
250963
      iprot.readStructEnd();
-
 
250964
      validate();
-
 
250965
    }
-
 
250966
 
-
 
250967
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
250968
      oprot.writeStructBegin(STRUCT_DESC);
-
 
250969
 
-
 
250970
      if (this.isSetSuccess()) {
-
 
250971
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
250972
        this.success.write(oprot);
-
 
250973
        oprot.writeFieldEnd();
-
 
250974
      }
-
 
250975
      oprot.writeFieldStop();
-
 
250976
      oprot.writeStructEnd();
-
 
250977
    }
-
 
250978
 
-
 
250979
    @Override
-
 
250980
    public String toString() {
-
 
250981
      StringBuilder sb = new StringBuilder("getPmsaUser_result(");
-
 
250982
      boolean first = true;
-
 
250983
 
-
 
250984
      sb.append("success:");
-
 
250985
      if (this.success == null) {
-
 
250986
        sb.append("null");
-
 
250987
      } else {
-
 
250988
        sb.append(this.success);
-
 
250989
      }
-
 
250990
      first = false;
-
 
250991
      sb.append(")");
-
 
250992
      return sb.toString();
-
 
250993
    }
-
 
250994
 
-
 
250995
    public void validate() throws org.apache.thrift.TException {
-
 
250996
      // check for required fields
-
 
250997
    }
-
 
250998
 
-
 
250999
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
251000
      try {
-
 
251001
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
251002
      } catch (org.apache.thrift.TException te) {
-
 
251003
        throw new java.io.IOException(te);
-
 
251004
      }
-
 
251005
    }
-
 
251006
 
-
 
251007
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
251008
      try {
-
 
251009
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
251010
      } catch (org.apache.thrift.TException te) {
-
 
251011
        throw new java.io.IOException(te);
-
 
251012
      }
-
 
251013
    }
-
 
251014
 
-
 
251015
  }
-
 
251016
 
-
 
251017
  public static class updatePmsaUser_args implements org.apache.thrift.TBase<updatePmsaUser_args, updatePmsaUser_args._Fields>, java.io.Serializable, Cloneable   {
-
 
251018
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updatePmsaUser_args");
-
 
251019
 
-
 
251020
    private static final org.apache.thrift.protocol.TField PMSA_FIELD_DESC = new org.apache.thrift.protocol.TField("pmsa", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
251021
    private static final org.apache.thrift.protocol.TField ASSOCIATE_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("associateEmail", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
251022
 
-
 
251023
    private Pmsa pmsa; // required
-
 
251024
    private String associateEmail; // required
-
 
251025
 
-
 
251026
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
251027
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
251028
      PMSA((short)1, "pmsa"),
-
 
251029
      ASSOCIATE_EMAIL((short)2, "associateEmail");
-
 
251030
 
-
 
251031
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
251032
 
-
 
251033
      static {
-
 
251034
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
251035
          byName.put(field.getFieldName(), field);
-
 
251036
        }
-
 
251037
      }
-
 
251038
 
-
 
251039
      /**
-
 
251040
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
251041
       */
-
 
251042
      public static _Fields findByThriftId(int fieldId) {
-
 
251043
        switch(fieldId) {
-
 
251044
          case 1: // PMSA
-
 
251045
            return PMSA;
-
 
251046
          case 2: // ASSOCIATE_EMAIL
-
 
251047
            return ASSOCIATE_EMAIL;
-
 
251048
          default:
-
 
251049
            return null;
-
 
251050
        }
-
 
251051
      }
-
 
251052
 
-
 
251053
      /**
-
 
251054
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
251055
       * if it is not found.
-
 
251056
       */
-
 
251057
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
251058
        _Fields fields = findByThriftId(fieldId);
-
 
251059
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
251060
        return fields;
-
 
251061
      }
-
 
251062
 
-
 
251063
      /**
-
 
251064
       * Find the _Fields constant that matches name, or null if its not found.
-
 
251065
       */
-
 
251066
      public static _Fields findByName(String name) {
-
 
251067
        return byName.get(name);
-
 
251068
      }
-
 
251069
 
-
 
251070
      private final short _thriftId;
-
 
251071
      private final String _fieldName;
-
 
251072
 
-
 
251073
      _Fields(short thriftId, String fieldName) {
-
 
251074
        _thriftId = thriftId;
-
 
251075
        _fieldName = fieldName;
-
 
251076
      }
-
 
251077
 
-
 
251078
      public short getThriftFieldId() {
-
 
251079
        return _thriftId;
-
 
251080
      }
-
 
251081
 
-
 
251082
      public String getFieldName() {
-
 
251083
        return _fieldName;
-
 
251084
      }
-
 
251085
    }
-
 
251086
 
-
 
251087
    // isset id assignments
-
 
251088
 
-
 
251089
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
251090
    static {
-
 
251091
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
251092
      tmpMap.put(_Fields.PMSA, new org.apache.thrift.meta_data.FieldMetaData("pmsa", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
251093
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Pmsa.class)));
-
 
251094
      tmpMap.put(_Fields.ASSOCIATE_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("associateEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
251095
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
251096
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
251097
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updatePmsaUser_args.class, metaDataMap);
-
 
251098
    }
-
 
251099
 
-
 
251100
    public updatePmsaUser_args() {
-
 
251101
    }
-
 
251102
 
-
 
251103
    public updatePmsaUser_args(
-
 
251104
      Pmsa pmsa,
-
 
251105
      String associateEmail)
-
 
251106
    {
-
 
251107
      this();
-
 
251108
      this.pmsa = pmsa;
-
 
251109
      this.associateEmail = associateEmail;
-
 
251110
    }
-
 
251111
 
-
 
251112
    /**
-
 
251113
     * Performs a deep copy on <i>other</i>.
-
 
251114
     */
-
 
251115
    public updatePmsaUser_args(updatePmsaUser_args other) {
-
 
251116
      if (other.isSetPmsa()) {
-
 
251117
        this.pmsa = new Pmsa(other.pmsa);
-
 
251118
      }
-
 
251119
      if (other.isSetAssociateEmail()) {
-
 
251120
        this.associateEmail = other.associateEmail;
-
 
251121
      }
-
 
251122
    }
-
 
251123
 
-
 
251124
    public updatePmsaUser_args deepCopy() {
-
 
251125
      return new updatePmsaUser_args(this);
-
 
251126
    }
-
 
251127
 
-
 
251128
    @Override
-
 
251129
    public void clear() {
-
 
251130
      this.pmsa = null;
-
 
251131
      this.associateEmail = null;
-
 
251132
    }
-
 
251133
 
-
 
251134
    public Pmsa getPmsa() {
-
 
251135
      return this.pmsa;
-
 
251136
    }
-
 
251137
 
-
 
251138
    public void setPmsa(Pmsa pmsa) {
-
 
251139
      this.pmsa = pmsa;
-
 
251140
    }
-
 
251141
 
-
 
251142
    public void unsetPmsa() {
-
 
251143
      this.pmsa = null;
-
 
251144
    }
-
 
251145
 
-
 
251146
    /** Returns true if field pmsa is set (has been assigned a value) and false otherwise */
-
 
251147
    public boolean isSetPmsa() {
-
 
251148
      return this.pmsa != null;
-
 
251149
    }
-
 
251150
 
-
 
251151
    public void setPmsaIsSet(boolean value) {
-
 
251152
      if (!value) {
-
 
251153
        this.pmsa = null;
-
 
251154
      }
-
 
251155
    }
-
 
251156
 
-
 
251157
    public String getAssociateEmail() {
-
 
251158
      return this.associateEmail;
-
 
251159
    }
-
 
251160
 
-
 
251161
    public void setAssociateEmail(String associateEmail) {
-
 
251162
      this.associateEmail = associateEmail;
-
 
251163
    }
-
 
251164
 
-
 
251165
    public void unsetAssociateEmail() {
-
 
251166
      this.associateEmail = null;
-
 
251167
    }
-
 
251168
 
-
 
251169
    /** Returns true if field associateEmail is set (has been assigned a value) and false otherwise */
-
 
251170
    public boolean isSetAssociateEmail() {
-
 
251171
      return this.associateEmail != null;
-
 
251172
    }
-
 
251173
 
-
 
251174
    public void setAssociateEmailIsSet(boolean value) {
-
 
251175
      if (!value) {
-
 
251176
        this.associateEmail = null;
-
 
251177
      }
-
 
251178
    }
-
 
251179
 
-
 
251180
    public void setFieldValue(_Fields field, Object value) {
-
 
251181
      switch (field) {
-
 
251182
      case PMSA:
-
 
251183
        if (value == null) {
-
 
251184
          unsetPmsa();
-
 
251185
        } else {
-
 
251186
          setPmsa((Pmsa)value);
-
 
251187
        }
-
 
251188
        break;
-
 
251189
 
-
 
251190
      case ASSOCIATE_EMAIL:
-
 
251191
        if (value == null) {
-
 
251192
          unsetAssociateEmail();
-
 
251193
        } else {
-
 
251194
          setAssociateEmail((String)value);
-
 
251195
        }
-
 
251196
        break;
-
 
251197
 
-
 
251198
      }
-
 
251199
    }
-
 
251200
 
-
 
251201
    public Object getFieldValue(_Fields field) {
-
 
251202
      switch (field) {
-
 
251203
      case PMSA:
-
 
251204
        return getPmsa();
-
 
251205
 
-
 
251206
      case ASSOCIATE_EMAIL:
-
 
251207
        return getAssociateEmail();
-
 
251208
 
-
 
251209
      }
-
 
251210
      throw new IllegalStateException();
-
 
251211
    }
-
 
251212
 
-
 
251213
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
251214
    public boolean isSet(_Fields field) {
-
 
251215
      if (field == null) {
-
 
251216
        throw new IllegalArgumentException();
-
 
251217
      }
-
 
251218
 
-
 
251219
      switch (field) {
-
 
251220
      case PMSA:
-
 
251221
        return isSetPmsa();
-
 
251222
      case ASSOCIATE_EMAIL:
-
 
251223
        return isSetAssociateEmail();
-
 
251224
      }
-
 
251225
      throw new IllegalStateException();
-
 
251226
    }
-
 
251227
 
-
 
251228
    @Override
-
 
251229
    public boolean equals(Object that) {
-
 
251230
      if (that == null)
-
 
251231
        return false;
-
 
251232
      if (that instanceof updatePmsaUser_args)
-
 
251233
        return this.equals((updatePmsaUser_args)that);
-
 
251234
      return false;
-
 
251235
    }
-
 
251236
 
-
 
251237
    public boolean equals(updatePmsaUser_args that) {
-
 
251238
      if (that == null)
-
 
251239
        return false;
-
 
251240
 
-
 
251241
      boolean this_present_pmsa = true && this.isSetPmsa();
-
 
251242
      boolean that_present_pmsa = true && that.isSetPmsa();
-
 
251243
      if (this_present_pmsa || that_present_pmsa) {
-
 
251244
        if (!(this_present_pmsa && that_present_pmsa))
-
 
251245
          return false;
-
 
251246
        if (!this.pmsa.equals(that.pmsa))
-
 
251247
          return false;
-
 
251248
      }
-
 
251249
 
-
 
251250
      boolean this_present_associateEmail = true && this.isSetAssociateEmail();
-
 
251251
      boolean that_present_associateEmail = true && that.isSetAssociateEmail();
-
 
251252
      if (this_present_associateEmail || that_present_associateEmail) {
-
 
251253
        if (!(this_present_associateEmail && that_present_associateEmail))
-
 
251254
          return false;
-
 
251255
        if (!this.associateEmail.equals(that.associateEmail))
-
 
251256
          return false;
-
 
251257
      }
-
 
251258
 
-
 
251259
      return true;
-
 
251260
    }
-
 
251261
 
-
 
251262
    @Override
-
 
251263
    public int hashCode() {
-
 
251264
      return 0;
-
 
251265
    }
-
 
251266
 
-
 
251267
    public int compareTo(updatePmsaUser_args other) {
-
 
251268
      if (!getClass().equals(other.getClass())) {
-
 
251269
        return getClass().getName().compareTo(other.getClass().getName());
-
 
251270
      }
-
 
251271
 
-
 
251272
      int lastComparison = 0;
-
 
251273
      updatePmsaUser_args typedOther = (updatePmsaUser_args)other;
-
 
251274
 
-
 
251275
      lastComparison = Boolean.valueOf(isSetPmsa()).compareTo(typedOther.isSetPmsa());
-
 
251276
      if (lastComparison != 0) {
-
 
251277
        return lastComparison;
-
 
251278
      }
-
 
251279
      if (isSetPmsa()) {
-
 
251280
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pmsa, typedOther.pmsa);
-
 
251281
        if (lastComparison != 0) {
-
 
251282
          return lastComparison;
-
 
251283
        }
-
 
251284
      }
-
 
251285
      lastComparison = Boolean.valueOf(isSetAssociateEmail()).compareTo(typedOther.isSetAssociateEmail());
-
 
251286
      if (lastComparison != 0) {
-
 
251287
        return lastComparison;
-
 
251288
      }
-
 
251289
      if (isSetAssociateEmail()) {
-
 
251290
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.associateEmail, typedOther.associateEmail);
-
 
251291
        if (lastComparison != 0) {
-
 
251292
          return lastComparison;
-
 
251293
        }
-
 
251294
      }
-
 
251295
      return 0;
-
 
251296
    }
-
 
251297
 
-
 
251298
    public _Fields fieldForId(int fieldId) {
-
 
251299
      return _Fields.findByThriftId(fieldId);
-
 
251300
    }
-
 
251301
 
-
 
251302
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
251303
      org.apache.thrift.protocol.TField field;
-
 
251304
      iprot.readStructBegin();
-
 
251305
      while (true)
-
 
251306
      {
-
 
251307
        field = iprot.readFieldBegin();
-
 
251308
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
251309
          break;
-
 
251310
        }
-
 
251311
        switch (field.id) {
-
 
251312
          case 1: // PMSA
-
 
251313
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
251314
              this.pmsa = new Pmsa();
-
 
251315
              this.pmsa.read(iprot);
-
 
251316
            } else { 
-
 
251317
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
251318
            }
-
 
251319
            break;
-
 
251320
          case 2: // ASSOCIATE_EMAIL
-
 
251321
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
251322
              this.associateEmail = iprot.readString();
-
 
251323
            } else { 
-
 
251324
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
251325
            }
-
 
251326
            break;
-
 
251327
          default:
-
 
251328
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
251329
        }
-
 
251330
        iprot.readFieldEnd();
-
 
251331
      }
-
 
251332
      iprot.readStructEnd();
-
 
251333
      validate();
-
 
251334
    }
-
 
251335
 
-
 
251336
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
251337
      validate();
-
 
251338
 
-
 
251339
      oprot.writeStructBegin(STRUCT_DESC);
-
 
251340
      if (this.pmsa != null) {
-
 
251341
        oprot.writeFieldBegin(PMSA_FIELD_DESC);
-
 
251342
        this.pmsa.write(oprot);
-
 
251343
        oprot.writeFieldEnd();
-
 
251344
      }
-
 
251345
      if (this.associateEmail != null) {
-
 
251346
        oprot.writeFieldBegin(ASSOCIATE_EMAIL_FIELD_DESC);
-
 
251347
        oprot.writeString(this.associateEmail);
-
 
251348
        oprot.writeFieldEnd();
-
 
251349
      }
-
 
251350
      oprot.writeFieldStop();
-
 
251351
      oprot.writeStructEnd();
-
 
251352
    }
-
 
251353
 
-
 
251354
    @Override
-
 
251355
    public String toString() {
-
 
251356
      StringBuilder sb = new StringBuilder("updatePmsaUser_args(");
-
 
251357
      boolean first = true;
-
 
251358
 
-
 
251359
      sb.append("pmsa:");
-
 
251360
      if (this.pmsa == null) {
-
 
251361
        sb.append("null");
-
 
251362
      } else {
-
 
251363
        sb.append(this.pmsa);
-
 
251364
      }
-
 
251365
      first = false;
-
 
251366
      if (!first) sb.append(", ");
-
 
251367
      sb.append("associateEmail:");
-
 
251368
      if (this.associateEmail == null) {
-
 
251369
        sb.append("null");
-
 
251370
      } else {
-
 
251371
        sb.append(this.associateEmail);
-
 
251372
      }
-
 
251373
      first = false;
-
 
251374
      sb.append(")");
-
 
251375
      return sb.toString();
-
 
251376
    }
-
 
251377
 
-
 
251378
    public void validate() throws org.apache.thrift.TException {
-
 
251379
      // check for required fields
-
 
251380
    }
-
 
251381
 
-
 
251382
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
251383
      try {
-
 
251384
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
251385
      } catch (org.apache.thrift.TException te) {
-
 
251386
        throw new java.io.IOException(te);
-
 
251387
      }
-
 
251388
    }
-
 
251389
 
-
 
251390
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
251391
      try {
-
 
251392
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
251393
      } catch (org.apache.thrift.TException te) {
-
 
251394
        throw new java.io.IOException(te);
-
 
251395
      }
-
 
251396
    }
-
 
251397
 
-
 
251398
  }
-
 
251399
 
-
 
251400
  public static class updatePmsaUser_result implements org.apache.thrift.TBase<updatePmsaUser_result, updatePmsaUser_result._Fields>, java.io.Serializable, Cloneable   {
-
 
251401
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updatePmsaUser_result");
-
 
251402
 
-
 
251403
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
-
 
251404
 
-
 
251405
    private String success; // required
-
 
251406
 
-
 
251407
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
251408
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
251409
      SUCCESS((short)0, "success");
-
 
251410
 
-
 
251411
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
251412
 
-
 
251413
      static {
-
 
251414
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
251415
          byName.put(field.getFieldName(), field);
-
 
251416
        }
-
 
251417
      }
-
 
251418
 
-
 
251419
      /**
-
 
251420
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
251421
       */
-
 
251422
      public static _Fields findByThriftId(int fieldId) {
-
 
251423
        switch(fieldId) {
-
 
251424
          case 0: // SUCCESS
-
 
251425
            return SUCCESS;
-
 
251426
          default:
-
 
251427
            return null;
-
 
251428
        }
-
 
251429
      }
-
 
251430
 
-
 
251431
      /**
-
 
251432
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
251433
       * if it is not found.
-
 
251434
       */
-
 
251435
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
251436
        _Fields fields = findByThriftId(fieldId);
-
 
251437
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
251438
        return fields;
-
 
251439
      }
-
 
251440
 
-
 
251441
      /**
-
 
251442
       * Find the _Fields constant that matches name, or null if its not found.
-
 
251443
       */
-
 
251444
      public static _Fields findByName(String name) {
-
 
251445
        return byName.get(name);
-
 
251446
      }
-
 
251447
 
-
 
251448
      private final short _thriftId;
-
 
251449
      private final String _fieldName;
-
 
251450
 
-
 
251451
      _Fields(short thriftId, String fieldName) {
-
 
251452
        _thriftId = thriftId;
-
 
251453
        _fieldName = fieldName;
-
 
251454
      }
-
 
251455
 
-
 
251456
      public short getThriftFieldId() {
-
 
251457
        return _thriftId;
-
 
251458
      }
-
 
251459
 
-
 
251460
      public String getFieldName() {
-
 
251461
        return _fieldName;
-
 
251462
      }
-
 
251463
    }
-
 
251464
 
-
 
251465
    // isset id assignments
-
 
251466
 
-
 
251467
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
251468
    static {
-
 
251469
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
251470
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
251471
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
251472
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
251473
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updatePmsaUser_result.class, metaDataMap);
-
 
251474
    }
-
 
251475
 
-
 
251476
    public updatePmsaUser_result() {
-
 
251477
    }
-
 
251478
 
-
 
251479
    public updatePmsaUser_result(
-
 
251480
      String success)
-
 
251481
    {
-
 
251482
      this();
-
 
251483
      this.success = success;
-
 
251484
    }
-
 
251485
 
-
 
251486
    /**
-
 
251487
     * Performs a deep copy on <i>other</i>.
-
 
251488
     */
-
 
251489
    public updatePmsaUser_result(updatePmsaUser_result other) {
-
 
251490
      if (other.isSetSuccess()) {
-
 
251491
        this.success = other.success;
-
 
251492
      }
-
 
251493
    }
-
 
251494
 
-
 
251495
    public updatePmsaUser_result deepCopy() {
-
 
251496
      return new updatePmsaUser_result(this);
-
 
251497
    }
-
 
251498
 
-
 
251499
    @Override
-
 
251500
    public void clear() {
-
 
251501
      this.success = null;
-
 
251502
    }
-
 
251503
 
-
 
251504
    public String getSuccess() {
-
 
251505
      return this.success;
-
 
251506
    }
-
 
251507
 
-
 
251508
    public void setSuccess(String success) {
-
 
251509
      this.success = success;
-
 
251510
    }
-
 
251511
 
-
 
251512
    public void unsetSuccess() {
-
 
251513
      this.success = null;
-
 
251514
    }
-
 
251515
 
-
 
251516
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
251517
    public boolean isSetSuccess() {
-
 
251518
      return this.success != null;
-
 
251519
    }
-
 
251520
 
-
 
251521
    public void setSuccessIsSet(boolean value) {
-
 
251522
      if (!value) {
-
 
251523
        this.success = null;
-
 
251524
      }
-
 
251525
    }
-
 
251526
 
-
 
251527
    public void setFieldValue(_Fields field, Object value) {
-
 
251528
      switch (field) {
-
 
251529
      case SUCCESS:
-
 
251530
        if (value == null) {
-
 
251531
          unsetSuccess();
-
 
251532
        } else {
-
 
251533
          setSuccess((String)value);
-
 
251534
        }
-
 
251535
        break;
-
 
251536
 
-
 
251537
      }
-
 
251538
    }
-
 
251539
 
-
 
251540
    public Object getFieldValue(_Fields field) {
-
 
251541
      switch (field) {
-
 
251542
      case SUCCESS:
-
 
251543
        return getSuccess();
-
 
251544
 
-
 
251545
      }
-
 
251546
      throw new IllegalStateException();
-
 
251547
    }
-
 
251548
 
-
 
251549
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
251550
    public boolean isSet(_Fields field) {
-
 
251551
      if (field == null) {
-
 
251552
        throw new IllegalArgumentException();
-
 
251553
      }
-
 
251554
 
-
 
251555
      switch (field) {
-
 
251556
      case SUCCESS:
-
 
251557
        return isSetSuccess();
-
 
251558
      }
-
 
251559
      throw new IllegalStateException();
-
 
251560
    }
-
 
251561
 
-
 
251562
    @Override
-
 
251563
    public boolean equals(Object that) {
-
 
251564
      if (that == null)
-
 
251565
        return false;
-
 
251566
      if (that instanceof updatePmsaUser_result)
-
 
251567
        return this.equals((updatePmsaUser_result)that);
-
 
251568
      return false;
-
 
251569
    }
-
 
251570
 
-
 
251571
    public boolean equals(updatePmsaUser_result that) {
-
 
251572
      if (that == null)
-
 
251573
        return false;
-
 
251574
 
-
 
251575
      boolean this_present_success = true && this.isSetSuccess();
-
 
251576
      boolean that_present_success = true && that.isSetSuccess();
-
 
251577
      if (this_present_success || that_present_success) {
-
 
251578
        if (!(this_present_success && that_present_success))
-
 
251579
          return false;
-
 
251580
        if (!this.success.equals(that.success))
-
 
251581
          return false;
-
 
251582
      }
-
 
251583
 
-
 
251584
      return true;
-
 
251585
    }
-
 
251586
 
-
 
251587
    @Override
-
 
251588
    public int hashCode() {
-
 
251589
      return 0;
-
 
251590
    }
-
 
251591
 
-
 
251592
    public int compareTo(updatePmsaUser_result other) {
-
 
251593
      if (!getClass().equals(other.getClass())) {
-
 
251594
        return getClass().getName().compareTo(other.getClass().getName());
-
 
251595
      }
-
 
251596
 
-
 
251597
      int lastComparison = 0;
-
 
251598
      updatePmsaUser_result typedOther = (updatePmsaUser_result)other;
-
 
251599
 
-
 
251600
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
251601
      if (lastComparison != 0) {
-
 
251602
        return lastComparison;
-
 
251603
      }
-
 
251604
      if (isSetSuccess()) {
-
 
251605
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
251606
        if (lastComparison != 0) {
-
 
251607
          return lastComparison;
-
 
251608
        }
-
 
251609
      }
-
 
251610
      return 0;
-
 
251611
    }
-
 
251612
 
-
 
251613
    public _Fields fieldForId(int fieldId) {
-
 
251614
      return _Fields.findByThriftId(fieldId);
-
 
251615
    }
-
 
251616
 
-
 
251617
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
251618
      org.apache.thrift.protocol.TField field;
-
 
251619
      iprot.readStructBegin();
-
 
251620
      while (true)
-
 
251621
      {
-
 
251622
        field = iprot.readFieldBegin();
-
 
251623
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
251624
          break;
-
 
251625
        }
-
 
251626
        switch (field.id) {
-
 
251627
          case 0: // SUCCESS
-
 
251628
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
251629
              this.success = iprot.readString();
-
 
251630
            } else { 
-
 
251631
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
251632
            }
-
 
251633
            break;
-
 
251634
          default:
-
 
251635
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
251636
        }
-
 
251637
        iprot.readFieldEnd();
-
 
251638
      }
-
 
251639
      iprot.readStructEnd();
-
 
251640
      validate();
-
 
251641
    }
-
 
251642
 
-
 
251643
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
251644
      oprot.writeStructBegin(STRUCT_DESC);
-
 
251645
 
-
 
251646
      if (this.isSetSuccess()) {
-
 
251647
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
251648
        oprot.writeString(this.success);
-
 
251649
        oprot.writeFieldEnd();
-
 
251650
      }
-
 
251651
      oprot.writeFieldStop();
-
 
251652
      oprot.writeStructEnd();
-
 
251653
    }
-
 
251654
 
-
 
251655
    @Override
-
 
251656
    public String toString() {
-
 
251657
      StringBuilder sb = new StringBuilder("updatePmsaUser_result(");
-
 
251658
      boolean first = true;
-
 
251659
 
-
 
251660
      sb.append("success:");
-
 
251661
      if (this.success == null) {
-
 
251662
        sb.append("null");
-
 
251663
      } else {
-
 
251664
        sb.append(this.success);
-
 
251665
      }
-
 
251666
      first = false;
-
 
251667
      sb.append(")");
-
 
251668
      return sb.toString();
-
 
251669
    }
-
 
251670
 
-
 
251671
    public void validate() throws org.apache.thrift.TException {
-
 
251672
      // check for required fields
-
 
251673
    }
-
 
251674
 
-
 
251675
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
251676
      try {
-
 
251677
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
251678
      } catch (org.apache.thrift.TException te) {
-
 
251679
        throw new java.io.IOException(te);
-
 
251680
      }
-
 
251681
    }
-
 
251682
 
-
 
251683
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
251684
      try {
-
 
251685
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
251686
      } catch (org.apache.thrift.TException te) {
-
 
251687
        throw new java.io.IOException(te);
-
 
251688
      }
-
 
251689
    }
-
 
251690
 
-
 
251691
  }
-
 
251692
 
-
 
251693
  public static class getPmsaUsers_args implements org.apache.thrift.TBase<getPmsaUsers_args, getPmsaUsers_args._Fields>, java.io.Serializable, Cloneable   {
-
 
251694
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPmsaUsers_args");
-
 
251695
 
-
 
251696
    private static final org.apache.thrift.protocol.TField ASSOCIATE_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("associateEmail", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
251697
 
-
 
251698
    private String associateEmail; // required
-
 
251699
 
-
 
251700
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
251701
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
251702
      ASSOCIATE_EMAIL((short)1, "associateEmail");
-
 
251703
 
-
 
251704
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
251705
 
-
 
251706
      static {
-
 
251707
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
251708
          byName.put(field.getFieldName(), field);
-
 
251709
        }
-
 
251710
      }
-
 
251711
 
-
 
251712
      /**
-
 
251713
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
251714
       */
-
 
251715
      public static _Fields findByThriftId(int fieldId) {
-
 
251716
        switch(fieldId) {
-
 
251717
          case 1: // ASSOCIATE_EMAIL
-
 
251718
            return ASSOCIATE_EMAIL;
-
 
251719
          default:
-
 
251720
            return null;
-
 
251721
        }
-
 
251722
      }
-
 
251723
 
-
 
251724
      /**
-
 
251725
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
251726
       * if it is not found.
-
 
251727
       */
-
 
251728
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
251729
        _Fields fields = findByThriftId(fieldId);
-
 
251730
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
251731
        return fields;
-
 
251732
      }
-
 
251733
 
-
 
251734
      /**
-
 
251735
       * Find the _Fields constant that matches name, or null if its not found.
-
 
251736
       */
-
 
251737
      public static _Fields findByName(String name) {
-
 
251738
        return byName.get(name);
-
 
251739
      }
-
 
251740
 
-
 
251741
      private final short _thriftId;
-
 
251742
      private final String _fieldName;
-
 
251743
 
-
 
251744
      _Fields(short thriftId, String fieldName) {
-
 
251745
        _thriftId = thriftId;
-
 
251746
        _fieldName = fieldName;
-
 
251747
      }
-
 
251748
 
-
 
251749
      public short getThriftFieldId() {
-
 
251750
        return _thriftId;
-
 
251751
      }
-
 
251752
 
-
 
251753
      public String getFieldName() {
-
 
251754
        return _fieldName;
-
 
251755
      }
-
 
251756
    }
-
 
251757
 
-
 
251758
    // isset id assignments
-
 
251759
 
-
 
251760
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
251761
    static {
-
 
251762
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
251763
      tmpMap.put(_Fields.ASSOCIATE_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("associateEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
251764
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
251765
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
251766
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPmsaUsers_args.class, metaDataMap);
-
 
251767
    }
-
 
251768
 
-
 
251769
    public getPmsaUsers_args() {
-
 
251770
    }
-
 
251771
 
-
 
251772
    public getPmsaUsers_args(
-
 
251773
      String associateEmail)
-
 
251774
    {
-
 
251775
      this();
-
 
251776
      this.associateEmail = associateEmail;
-
 
251777
    }
-
 
251778
 
-
 
251779
    /**
-
 
251780
     * Performs a deep copy on <i>other</i>.
-
 
251781
     */
-
 
251782
    public getPmsaUsers_args(getPmsaUsers_args other) {
-
 
251783
      if (other.isSetAssociateEmail()) {
-
 
251784
        this.associateEmail = other.associateEmail;
-
 
251785
      }
-
 
251786
    }
-
 
251787
 
-
 
251788
    public getPmsaUsers_args deepCopy() {
-
 
251789
      return new getPmsaUsers_args(this);
-
 
251790
    }
-
 
251791
 
-
 
251792
    @Override
-
 
251793
    public void clear() {
-
 
251794
      this.associateEmail = null;
-
 
251795
    }
-
 
251796
 
-
 
251797
    public String getAssociateEmail() {
-
 
251798
      return this.associateEmail;
-
 
251799
    }
-
 
251800
 
-
 
251801
    public void setAssociateEmail(String associateEmail) {
-
 
251802
      this.associateEmail = associateEmail;
-
 
251803
    }
-
 
251804
 
-
 
251805
    public void unsetAssociateEmail() {
-
 
251806
      this.associateEmail = null;
-
 
251807
    }
-
 
251808
 
-
 
251809
    /** Returns true if field associateEmail is set (has been assigned a value) and false otherwise */
-
 
251810
    public boolean isSetAssociateEmail() {
-
 
251811
      return this.associateEmail != null;
-
 
251812
    }
-
 
251813
 
-
 
251814
    public void setAssociateEmailIsSet(boolean value) {
-
 
251815
      if (!value) {
-
 
251816
        this.associateEmail = null;
-
 
251817
      }
-
 
251818
    }
-
 
251819
 
-
 
251820
    public void setFieldValue(_Fields field, Object value) {
-
 
251821
      switch (field) {
-
 
251822
      case ASSOCIATE_EMAIL:
-
 
251823
        if (value == null) {
-
 
251824
          unsetAssociateEmail();
-
 
251825
        } else {
-
 
251826
          setAssociateEmail((String)value);
-
 
251827
        }
-
 
251828
        break;
-
 
251829
 
-
 
251830
      }
-
 
251831
    }
-
 
251832
 
-
 
251833
    public Object getFieldValue(_Fields field) {
-
 
251834
      switch (field) {
-
 
251835
      case ASSOCIATE_EMAIL:
-
 
251836
        return getAssociateEmail();
-
 
251837
 
-
 
251838
      }
-
 
251839
      throw new IllegalStateException();
-
 
251840
    }
-
 
251841
 
-
 
251842
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
251843
    public boolean isSet(_Fields field) {
-
 
251844
      if (field == null) {
-
 
251845
        throw new IllegalArgumentException();
-
 
251846
      }
-
 
251847
 
-
 
251848
      switch (field) {
-
 
251849
      case ASSOCIATE_EMAIL:
-
 
251850
        return isSetAssociateEmail();
-
 
251851
      }
-
 
251852
      throw new IllegalStateException();
-
 
251853
    }
-
 
251854
 
-
 
251855
    @Override
-
 
251856
    public boolean equals(Object that) {
-
 
251857
      if (that == null)
-
 
251858
        return false;
-
 
251859
      if (that instanceof getPmsaUsers_args)
-
 
251860
        return this.equals((getPmsaUsers_args)that);
-
 
251861
      return false;
-
 
251862
    }
-
 
251863
 
-
 
251864
    public boolean equals(getPmsaUsers_args that) {
-
 
251865
      if (that == null)
-
 
251866
        return false;
-
 
251867
 
-
 
251868
      boolean this_present_associateEmail = true && this.isSetAssociateEmail();
-
 
251869
      boolean that_present_associateEmail = true && that.isSetAssociateEmail();
-
 
251870
      if (this_present_associateEmail || that_present_associateEmail) {
-
 
251871
        if (!(this_present_associateEmail && that_present_associateEmail))
-
 
251872
          return false;
-
 
251873
        if (!this.associateEmail.equals(that.associateEmail))
-
 
251874
          return false;
-
 
251875
      }
-
 
251876
 
-
 
251877
      return true;
-
 
251878
    }
-
 
251879
 
-
 
251880
    @Override
-
 
251881
    public int hashCode() {
-
 
251882
      return 0;
-
 
251883
    }
-
 
251884
 
-
 
251885
    public int compareTo(getPmsaUsers_args other) {
-
 
251886
      if (!getClass().equals(other.getClass())) {
-
 
251887
        return getClass().getName().compareTo(other.getClass().getName());
-
 
251888
      }
-
 
251889
 
-
 
251890
      int lastComparison = 0;
-
 
251891
      getPmsaUsers_args typedOther = (getPmsaUsers_args)other;
-
 
251892
 
-
 
251893
      lastComparison = Boolean.valueOf(isSetAssociateEmail()).compareTo(typedOther.isSetAssociateEmail());
-
 
251894
      if (lastComparison != 0) {
-
 
251895
        return lastComparison;
-
 
251896
      }
-
 
251897
      if (isSetAssociateEmail()) {
-
 
251898
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.associateEmail, typedOther.associateEmail);
-
 
251899
        if (lastComparison != 0) {
-
 
251900
          return lastComparison;
-
 
251901
        }
-
 
251902
      }
-
 
251903
      return 0;
-
 
251904
    }
-
 
251905
 
-
 
251906
    public _Fields fieldForId(int fieldId) {
-
 
251907
      return _Fields.findByThriftId(fieldId);
-
 
251908
    }
-
 
251909
 
-
 
251910
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
251911
      org.apache.thrift.protocol.TField field;
-
 
251912
      iprot.readStructBegin();
-
 
251913
      while (true)
-
 
251914
      {
-
 
251915
        field = iprot.readFieldBegin();
-
 
251916
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
251917
          break;
-
 
251918
        }
-
 
251919
        switch (field.id) {
-
 
251920
          case 1: // ASSOCIATE_EMAIL
-
 
251921
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
251922
              this.associateEmail = iprot.readString();
-
 
251923
            } else { 
-
 
251924
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
251925
            }
-
 
251926
            break;
-
 
251927
          default:
-
 
251928
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
251929
        }
-
 
251930
        iprot.readFieldEnd();
-
 
251931
      }
-
 
251932
      iprot.readStructEnd();
-
 
251933
      validate();
-
 
251934
    }
-
 
251935
 
-
 
251936
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
251937
      validate();
-
 
251938
 
-
 
251939
      oprot.writeStructBegin(STRUCT_DESC);
-
 
251940
      if (this.associateEmail != null) {
-
 
251941
        oprot.writeFieldBegin(ASSOCIATE_EMAIL_FIELD_DESC);
-
 
251942
        oprot.writeString(this.associateEmail);
-
 
251943
        oprot.writeFieldEnd();
-
 
251944
      }
-
 
251945
      oprot.writeFieldStop();
-
 
251946
      oprot.writeStructEnd();
-
 
251947
    }
-
 
251948
 
-
 
251949
    @Override
-
 
251950
    public String toString() {
-
 
251951
      StringBuilder sb = new StringBuilder("getPmsaUsers_args(");
-
 
251952
      boolean first = true;
-
 
251953
 
-
 
251954
      sb.append("associateEmail:");
-
 
251955
      if (this.associateEmail == null) {
-
 
251956
        sb.append("null");
-
 
251957
      } else {
-
 
251958
        sb.append(this.associateEmail);
-
 
251959
      }
-
 
251960
      first = false;
-
 
251961
      sb.append(")");
-
 
251962
      return sb.toString();
-
 
251963
    }
-
 
251964
 
-
 
251965
    public void validate() throws org.apache.thrift.TException {
-
 
251966
      // check for required fields
-
 
251967
    }
-
 
251968
 
-
 
251969
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
251970
      try {
-
 
251971
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
251972
      } catch (org.apache.thrift.TException te) {
-
 
251973
        throw new java.io.IOException(te);
-
 
251974
      }
-
 
251975
    }
-
 
251976
 
-
 
251977
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
251978
      try {
-
 
251979
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
251980
      } catch (org.apache.thrift.TException te) {
-
 
251981
        throw new java.io.IOException(te);
-
 
251982
      }
-
 
251983
    }
-
 
251984
 
-
 
251985
  }
-
 
251986
 
-
 
251987
  public static class getPmsaUsers_result implements org.apache.thrift.TBase<getPmsaUsers_result, getPmsaUsers_result._Fields>, java.io.Serializable, Cloneable   {
-
 
251988
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPmsaUsers_result");
-
 
251989
 
-
 
251990
    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);
-
 
251991
 
-
 
251992
    private List<Pmsa> success; // required
-
 
251993
 
-
 
251994
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
251995
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
251996
      SUCCESS((short)0, "success");
-
 
251997
 
-
 
251998
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
251999
 
-
 
252000
      static {
-
 
252001
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
252002
          byName.put(field.getFieldName(), field);
-
 
252003
        }
-
 
252004
      }
-
 
252005
 
-
 
252006
      /**
-
 
252007
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
252008
       */
-
 
252009
      public static _Fields findByThriftId(int fieldId) {
-
 
252010
        switch(fieldId) {
-
 
252011
          case 0: // SUCCESS
-
 
252012
            return SUCCESS;
-
 
252013
          default:
-
 
252014
            return null;
-
 
252015
        }
-
 
252016
      }
-
 
252017
 
-
 
252018
      /**
-
 
252019
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
252020
       * if it is not found.
-
 
252021
       */
-
 
252022
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
252023
        _Fields fields = findByThriftId(fieldId);
-
 
252024
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
252025
        return fields;
-
 
252026
      }
-
 
252027
 
-
 
252028
      /**
-
 
252029
       * Find the _Fields constant that matches name, or null if its not found.
-
 
252030
       */
-
 
252031
      public static _Fields findByName(String name) {
-
 
252032
        return byName.get(name);
-
 
252033
      }
-
 
252034
 
-
 
252035
      private final short _thriftId;
-
 
252036
      private final String _fieldName;
-
 
252037
 
-
 
252038
      _Fields(short thriftId, String fieldName) {
-
 
252039
        _thriftId = thriftId;
-
 
252040
        _fieldName = fieldName;
-
 
252041
      }
-
 
252042
 
-
 
252043
      public short getThriftFieldId() {
-
 
252044
        return _thriftId;
-
 
252045
      }
-
 
252046
 
-
 
252047
      public String getFieldName() {
-
 
252048
        return _fieldName;
-
 
252049
      }
-
 
252050
    }
-
 
252051
 
-
 
252052
    // isset id assignments
-
 
252053
 
-
 
252054
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
252055
    static {
-
 
252056
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
252057
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
252058
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
252059
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Pmsa.class))));
-
 
252060
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
252061
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPmsaUsers_result.class, metaDataMap);
-
 
252062
    }
-
 
252063
 
-
 
252064
    public getPmsaUsers_result() {
-
 
252065
    }
-
 
252066
 
-
 
252067
    public getPmsaUsers_result(
-
 
252068
      List<Pmsa> success)
-
 
252069
    {
-
 
252070
      this();
-
 
252071
      this.success = success;
-
 
252072
    }
-
 
252073
 
-
 
252074
    /**
-
 
252075
     * Performs a deep copy on <i>other</i>.
-
 
252076
     */
-
 
252077
    public getPmsaUsers_result(getPmsaUsers_result other) {
-
 
252078
      if (other.isSetSuccess()) {
-
 
252079
        List<Pmsa> __this__success = new ArrayList<Pmsa>();
-
 
252080
        for (Pmsa other_element : other.success) {
-
 
252081
          __this__success.add(new Pmsa(other_element));
-
 
252082
        }
-
 
252083
        this.success = __this__success;
-
 
252084
      }
-
 
252085
    }
-
 
252086
 
-
 
252087
    public getPmsaUsers_result deepCopy() {
-
 
252088
      return new getPmsaUsers_result(this);
-
 
252089
    }
-
 
252090
 
-
 
252091
    @Override
-
 
252092
    public void clear() {
-
 
252093
      this.success = null;
-
 
252094
    }
-
 
252095
 
-
 
252096
    public int getSuccessSize() {
-
 
252097
      return (this.success == null) ? 0 : this.success.size();
-
 
252098
    }
-
 
252099
 
-
 
252100
    public java.util.Iterator<Pmsa> getSuccessIterator() {
-
 
252101
      return (this.success == null) ? null : this.success.iterator();
-
 
252102
    }
-
 
252103
 
-
 
252104
    public void addToSuccess(Pmsa elem) {
-
 
252105
      if (this.success == null) {
-
 
252106
        this.success = new ArrayList<Pmsa>();
-
 
252107
      }
-
 
252108
      this.success.add(elem);
-
 
252109
    }
-
 
252110
 
-
 
252111
    public List<Pmsa> getSuccess() {
-
 
252112
      return this.success;
-
 
252113
    }
-
 
252114
 
-
 
252115
    public void setSuccess(List<Pmsa> success) {
-
 
252116
      this.success = success;
-
 
252117
    }
-
 
252118
 
-
 
252119
    public void unsetSuccess() {
-
 
252120
      this.success = null;
-
 
252121
    }
-
 
252122
 
-
 
252123
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
252124
    public boolean isSetSuccess() {
-
 
252125
      return this.success != null;
-
 
252126
    }
-
 
252127
 
-
 
252128
    public void setSuccessIsSet(boolean value) {
-
 
252129
      if (!value) {
-
 
252130
        this.success = null;
-
 
252131
      }
-
 
252132
    }
-
 
252133
 
-
 
252134
    public void setFieldValue(_Fields field, Object value) {
-
 
252135
      switch (field) {
-
 
252136
      case SUCCESS:
-
 
252137
        if (value == null) {
-
 
252138
          unsetSuccess();
-
 
252139
        } else {
-
 
252140
          setSuccess((List<Pmsa>)value);
-
 
252141
        }
-
 
252142
        break;
-
 
252143
 
-
 
252144
      }
-
 
252145
    }
-
 
252146
 
-
 
252147
    public Object getFieldValue(_Fields field) {
-
 
252148
      switch (field) {
-
 
252149
      case SUCCESS:
-
 
252150
        return getSuccess();
-
 
252151
 
-
 
252152
      }
-
 
252153
      throw new IllegalStateException();
-
 
252154
    }
-
 
252155
 
-
 
252156
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
252157
    public boolean isSet(_Fields field) {
-
 
252158
      if (field == null) {
-
 
252159
        throw new IllegalArgumentException();
-
 
252160
      }
-
 
252161
 
-
 
252162
      switch (field) {
-
 
252163
      case SUCCESS:
-
 
252164
        return isSetSuccess();
-
 
252165
      }
-
 
252166
      throw new IllegalStateException();
-
 
252167
    }
-
 
252168
 
-
 
252169
    @Override
-
 
252170
    public boolean equals(Object that) {
-
 
252171
      if (that == null)
-
 
252172
        return false;
-
 
252173
      if (that instanceof getPmsaUsers_result)
-
 
252174
        return this.equals((getPmsaUsers_result)that);
-
 
252175
      return false;
-
 
252176
    }
-
 
252177
 
-
 
252178
    public boolean equals(getPmsaUsers_result that) {
-
 
252179
      if (that == null)
-
 
252180
        return false;
-
 
252181
 
-
 
252182
      boolean this_present_success = true && this.isSetSuccess();
-
 
252183
      boolean that_present_success = true && that.isSetSuccess();
-
 
252184
      if (this_present_success || that_present_success) {
-
 
252185
        if (!(this_present_success && that_present_success))
-
 
252186
          return false;
-
 
252187
        if (!this.success.equals(that.success))
-
 
252188
          return false;
-
 
252189
      }
-
 
252190
 
-
 
252191
      return true;
-
 
252192
    }
-
 
252193
 
-
 
252194
    @Override
-
 
252195
    public int hashCode() {
-
 
252196
      return 0;
-
 
252197
    }
-
 
252198
 
-
 
252199
    public int compareTo(getPmsaUsers_result other) {
-
 
252200
      if (!getClass().equals(other.getClass())) {
-
 
252201
        return getClass().getName().compareTo(other.getClass().getName());
-
 
252202
      }
-
 
252203
 
-
 
252204
      int lastComparison = 0;
-
 
252205
      getPmsaUsers_result typedOther = (getPmsaUsers_result)other;
-
 
252206
 
-
 
252207
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
252208
      if (lastComparison != 0) {
-
 
252209
        return lastComparison;
-
 
252210
      }
-
 
252211
      if (isSetSuccess()) {
-
 
252212
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
252213
        if (lastComparison != 0) {
-
 
252214
          return lastComparison;
-
 
252215
        }
-
 
252216
      }
-
 
252217
      return 0;
-
 
252218
    }
-
 
252219
 
-
 
252220
    public _Fields fieldForId(int fieldId) {
-
 
252221
      return _Fields.findByThriftId(fieldId);
-
 
252222
    }
-
 
252223
 
-
 
252224
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
252225
      org.apache.thrift.protocol.TField field;
-
 
252226
      iprot.readStructBegin();
-
 
252227
      while (true)
-
 
252228
      {
-
 
252229
        field = iprot.readFieldBegin();
-
 
252230
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
252231
          break;
-
 
252232
        }
-
 
252233
        switch (field.id) {
-
 
252234
          case 0: // SUCCESS
-
 
252235
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
252236
              {
-
 
252237
                org.apache.thrift.protocol.TList _list861 = iprot.readListBegin();
-
 
252238
                this.success = new ArrayList<Pmsa>(_list861.size);
-
 
252239
                for (int _i862 = 0; _i862 < _list861.size; ++_i862)
-
 
252240
                {
-
 
252241
                  Pmsa _elem863; // required
-
 
252242
                  _elem863 = new Pmsa();
-
 
252243
                  _elem863.read(iprot);
-
 
252244
                  this.success.add(_elem863);
-
 
252245
                }
-
 
252246
                iprot.readListEnd();
-
 
252247
              }
-
 
252248
            } else { 
-
 
252249
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
252250
            }
-
 
252251
            break;
-
 
252252
          default:
-
 
252253
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
252254
        }
-
 
252255
        iprot.readFieldEnd();
-
 
252256
      }
-
 
252257
      iprot.readStructEnd();
-
 
252258
      validate();
-
 
252259
    }
-
 
252260
 
-
 
252261
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
252262
      oprot.writeStructBegin(STRUCT_DESC);
-
 
252263
 
-
 
252264
      if (this.isSetSuccess()) {
-
 
252265
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
252266
        {
-
 
252267
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
252268
          for (Pmsa _iter864 : this.success)
-
 
252269
          {
-
 
252270
            _iter864.write(oprot);
-
 
252271
          }
-
 
252272
          oprot.writeListEnd();
-
 
252273
        }
-
 
252274
        oprot.writeFieldEnd();
-
 
252275
      }
-
 
252276
      oprot.writeFieldStop();
-
 
252277
      oprot.writeStructEnd();
-
 
252278
    }
-
 
252279
 
-
 
252280
    @Override
-
 
252281
    public String toString() {
-
 
252282
      StringBuilder sb = new StringBuilder("getPmsaUsers_result(");
-
 
252283
      boolean first = true;
-
 
252284
 
-
 
252285
      sb.append("success:");
-
 
252286
      if (this.success == null) {
-
 
252287
        sb.append("null");
-
 
252288
      } else {
-
 
252289
        sb.append(this.success);
-
 
252290
      }
-
 
252291
      first = false;
-
 
252292
      sb.append(")");
-
 
252293
      return sb.toString();
-
 
252294
    }
-
 
252295
 
-
 
252296
    public void validate() throws org.apache.thrift.TException {
-
 
252297
      // check for required fields
-
 
252298
    }
-
 
252299
 
-
 
252300
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
252301
      try {
-
 
252302
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
252303
      } catch (org.apache.thrift.TException te) {
-
 
252304
        throw new java.io.IOException(te);
-
 
252305
      }
-
 
252306
    }
-
 
252307
 
-
 
252308
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
252309
      try {
-
 
252310
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
252311
      } catch (org.apache.thrift.TException te) {
-
 
252312
        throw new java.io.IOException(te);
-
 
252313
      }
-
 
252314
    }
-
 
252315
 
-
 
252316
  }
-
 
252317
 
-
 
252318
  public static class getPendingAssociates_args implements org.apache.thrift.TBase<getPendingAssociates_args, getPendingAssociates_args._Fields>, java.io.Serializable, Cloneable   {
-
 
252319
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPendingAssociates_args");
-
 
252320
 
-
 
252321
    private static final org.apache.thrift.protocol.TField ASSOCIATE_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("associateEmail", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
252322
 
-
 
252323
    private String associateEmail; // required
-
 
252324
 
-
 
252325
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
252326
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
252327
      ASSOCIATE_EMAIL((short)1, "associateEmail");
-
 
252328
 
-
 
252329
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
252330
 
-
 
252331
      static {
-
 
252332
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
252333
          byName.put(field.getFieldName(), field);
-
 
252334
        }
-
 
252335
      }
-
 
252336
 
-
 
252337
      /**
-
 
252338
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
252339
       */
-
 
252340
      public static _Fields findByThriftId(int fieldId) {
-
 
252341
        switch(fieldId) {
-
 
252342
          case 1: // ASSOCIATE_EMAIL
-
 
252343
            return ASSOCIATE_EMAIL;
-
 
252344
          default:
-
 
252345
            return null;
-
 
252346
        }
-
 
252347
      }
-
 
252348
 
-
 
252349
      /**
-
 
252350
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
252351
       * if it is not found.
-
 
252352
       */
-
 
252353
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
252354
        _Fields fields = findByThriftId(fieldId);
-
 
252355
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
252356
        return fields;
-
 
252357
      }
-
 
252358
 
-
 
252359
      /**
-
 
252360
       * Find the _Fields constant that matches name, or null if its not found.
-
 
252361
       */
-
 
252362
      public static _Fields findByName(String name) {
-
 
252363
        return byName.get(name);
-
 
252364
      }
-
 
252365
 
-
 
252366
      private final short _thriftId;
-
 
252367
      private final String _fieldName;
-
 
252368
 
-
 
252369
      _Fields(short thriftId, String fieldName) {
-
 
252370
        _thriftId = thriftId;
-
 
252371
        _fieldName = fieldName;
-
 
252372
      }
-
 
252373
 
-
 
252374
      public short getThriftFieldId() {
-
 
252375
        return _thriftId;
-
 
252376
      }
-
 
252377
 
-
 
252378
      public String getFieldName() {
-
 
252379
        return _fieldName;
-
 
252380
      }
-
 
252381
    }
-
 
252382
 
-
 
252383
    // isset id assignments
-
 
252384
 
-
 
252385
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
252386
    static {
-
 
252387
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
252388
      tmpMap.put(_Fields.ASSOCIATE_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("associateEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
252389
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
252390
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
252391
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPendingAssociates_args.class, metaDataMap);
-
 
252392
    }
-
 
252393
 
-
 
252394
    public getPendingAssociates_args() {
-
 
252395
    }
-
 
252396
 
-
 
252397
    public getPendingAssociates_args(
-
 
252398
      String associateEmail)
-
 
252399
    {
-
 
252400
      this();
-
 
252401
      this.associateEmail = associateEmail;
-
 
252402
    }
-
 
252403
 
-
 
252404
    /**
-
 
252405
     * Performs a deep copy on <i>other</i>.
-
 
252406
     */
-
 
252407
    public getPendingAssociates_args(getPendingAssociates_args other) {
-
 
252408
      if (other.isSetAssociateEmail()) {
-
 
252409
        this.associateEmail = other.associateEmail;
-
 
252410
      }
-
 
252411
    }
-
 
252412
 
-
 
252413
    public getPendingAssociates_args deepCopy() {
-
 
252414
      return new getPendingAssociates_args(this);
-
 
252415
    }
-
 
252416
 
-
 
252417
    @Override
-
 
252418
    public void clear() {
-
 
252419
      this.associateEmail = null;
-
 
252420
    }
-
 
252421
 
-
 
252422
    public String getAssociateEmail() {
-
 
252423
      return this.associateEmail;
-
 
252424
    }
-
 
252425
 
-
 
252426
    public void setAssociateEmail(String associateEmail) {
-
 
252427
      this.associateEmail = associateEmail;
-
 
252428
    }
-
 
252429
 
-
 
252430
    public void unsetAssociateEmail() {
-
 
252431
      this.associateEmail = null;
-
 
252432
    }
-
 
252433
 
-
 
252434
    /** Returns true if field associateEmail is set (has been assigned a value) and false otherwise */
-
 
252435
    public boolean isSetAssociateEmail() {
-
 
252436
      return this.associateEmail != null;
-
 
252437
    }
-
 
252438
 
-
 
252439
    public void setAssociateEmailIsSet(boolean value) {
-
 
252440
      if (!value) {
-
 
252441
        this.associateEmail = null;
-
 
252442
      }
-
 
252443
    }
-
 
252444
 
-
 
252445
    public void setFieldValue(_Fields field, Object value) {
-
 
252446
      switch (field) {
-
 
252447
      case ASSOCIATE_EMAIL:
-
 
252448
        if (value == null) {
-
 
252449
          unsetAssociateEmail();
-
 
252450
        } else {
-
 
252451
          setAssociateEmail((String)value);
-
 
252452
        }
-
 
252453
        break;
-
 
252454
 
-
 
252455
      }
-
 
252456
    }
-
 
252457
 
-
 
252458
    public Object getFieldValue(_Fields field) {
-
 
252459
      switch (field) {
-
 
252460
      case ASSOCIATE_EMAIL:
-
 
252461
        return getAssociateEmail();
-
 
252462
 
-
 
252463
      }
-
 
252464
      throw new IllegalStateException();
-
 
252465
    }
-
 
252466
 
-
 
252467
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
252468
    public boolean isSet(_Fields field) {
-
 
252469
      if (field == null) {
-
 
252470
        throw new IllegalArgumentException();
-
 
252471
      }
-
 
252472
 
-
 
252473
      switch (field) {
-
 
252474
      case ASSOCIATE_EMAIL:
-
 
252475
        return isSetAssociateEmail();
-
 
252476
      }
-
 
252477
      throw new IllegalStateException();
-
 
252478
    }
-
 
252479
 
-
 
252480
    @Override
-
 
252481
    public boolean equals(Object that) {
-
 
252482
      if (that == null)
-
 
252483
        return false;
-
 
252484
      if (that instanceof getPendingAssociates_args)
-
 
252485
        return this.equals((getPendingAssociates_args)that);
-
 
252486
      return false;
-
 
252487
    }
-
 
252488
 
-
 
252489
    public boolean equals(getPendingAssociates_args that) {
-
 
252490
      if (that == null)
-
 
252491
        return false;
-
 
252492
 
-
 
252493
      boolean this_present_associateEmail = true && this.isSetAssociateEmail();
-
 
252494
      boolean that_present_associateEmail = true && that.isSetAssociateEmail();
-
 
252495
      if (this_present_associateEmail || that_present_associateEmail) {
-
 
252496
        if (!(this_present_associateEmail && that_present_associateEmail))
-
 
252497
          return false;
-
 
252498
        if (!this.associateEmail.equals(that.associateEmail))
-
 
252499
          return false;
-
 
252500
      }
-
 
252501
 
-
 
252502
      return true;
-
 
252503
    }
-
 
252504
 
-
 
252505
    @Override
-
 
252506
    public int hashCode() {
-
 
252507
      return 0;
-
 
252508
    }
-
 
252509
 
-
 
252510
    public int compareTo(getPendingAssociates_args other) {
-
 
252511
      if (!getClass().equals(other.getClass())) {
-
 
252512
        return getClass().getName().compareTo(other.getClass().getName());
-
 
252513
      }
-
 
252514
 
-
 
252515
      int lastComparison = 0;
-
 
252516
      getPendingAssociates_args typedOther = (getPendingAssociates_args)other;
-
 
252517
 
-
 
252518
      lastComparison = Boolean.valueOf(isSetAssociateEmail()).compareTo(typedOther.isSetAssociateEmail());
-
 
252519
      if (lastComparison != 0) {
-
 
252520
        return lastComparison;
-
 
252521
      }
-
 
252522
      if (isSetAssociateEmail()) {
-
 
252523
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.associateEmail, typedOther.associateEmail);
-
 
252524
        if (lastComparison != 0) {
-
 
252525
          return lastComparison;
-
 
252526
        }
-
 
252527
      }
-
 
252528
      return 0;
-
 
252529
    }
-
 
252530
 
-
 
252531
    public _Fields fieldForId(int fieldId) {
-
 
252532
      return _Fields.findByThriftId(fieldId);
-
 
252533
    }
-
 
252534
 
-
 
252535
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
252536
      org.apache.thrift.protocol.TField field;
-
 
252537
      iprot.readStructBegin();
-
 
252538
      while (true)
-
 
252539
      {
-
 
252540
        field = iprot.readFieldBegin();
-
 
252541
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
252542
          break;
-
 
252543
        }
-
 
252544
        switch (field.id) {
-
 
252545
          case 1: // ASSOCIATE_EMAIL
-
 
252546
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
252547
              this.associateEmail = iprot.readString();
-
 
252548
            } else { 
-
 
252549
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
252550
            }
-
 
252551
            break;
-
 
252552
          default:
-
 
252553
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
252554
        }
-
 
252555
        iprot.readFieldEnd();
-
 
252556
      }
-
 
252557
      iprot.readStructEnd();
-
 
252558
      validate();
-
 
252559
    }
-
 
252560
 
-
 
252561
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
252562
      validate();
-
 
252563
 
-
 
252564
      oprot.writeStructBegin(STRUCT_DESC);
-
 
252565
      if (this.associateEmail != null) {
-
 
252566
        oprot.writeFieldBegin(ASSOCIATE_EMAIL_FIELD_DESC);
-
 
252567
        oprot.writeString(this.associateEmail);
-
 
252568
        oprot.writeFieldEnd();
-
 
252569
      }
-
 
252570
      oprot.writeFieldStop();
-
 
252571
      oprot.writeStructEnd();
-
 
252572
    }
-
 
252573
 
-
 
252574
    @Override
-
 
252575
    public String toString() {
-
 
252576
      StringBuilder sb = new StringBuilder("getPendingAssociates_args(");
-
 
252577
      boolean first = true;
-
 
252578
 
-
 
252579
      sb.append("associateEmail:");
-
 
252580
      if (this.associateEmail == null) {
-
 
252581
        sb.append("null");
-
 
252582
      } else {
-
 
252583
        sb.append(this.associateEmail);
-
 
252584
      }
-
 
252585
      first = false;
-
 
252586
      sb.append(")");
-
 
252587
      return sb.toString();
-
 
252588
    }
-
 
252589
 
-
 
252590
    public void validate() throws org.apache.thrift.TException {
-
 
252591
      // check for required fields
-
 
252592
    }
-
 
252593
 
-
 
252594
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
252595
      try {
-
 
252596
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
252597
      } catch (org.apache.thrift.TException te) {
-
 
252598
        throw new java.io.IOException(te);
-
 
252599
      }
-
 
252600
    }
-
 
252601
 
-
 
252602
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
252603
      try {
-
 
252604
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
252605
      } catch (org.apache.thrift.TException te) {
-
 
252606
        throw new java.io.IOException(te);
-
 
252607
      }
-
 
252608
    }
-
 
252609
 
-
 
252610
  }
-
 
252611
 
-
 
252612
  public static class getPendingAssociates_result implements org.apache.thrift.TBase<getPendingAssociates_result, getPendingAssociates_result._Fields>, java.io.Serializable, Cloneable   {
-
 
252613
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPendingAssociates_result");
-
 
252614
 
-
 
252615
    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);
-
 
252616
 
-
 
252617
    private List<Pmsa> success; // required
-
 
252618
 
-
 
252619
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
252620
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
252621
      SUCCESS((short)0, "success");
-
 
252622
 
-
 
252623
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
252624
 
-
 
252625
      static {
-
 
252626
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
252627
          byName.put(field.getFieldName(), field);
-
 
252628
        }
-
 
252629
      }
-
 
252630
 
-
 
252631
      /**
-
 
252632
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
252633
       */
-
 
252634
      public static _Fields findByThriftId(int fieldId) {
-
 
252635
        switch(fieldId) {
-
 
252636
          case 0: // SUCCESS
-
 
252637
            return SUCCESS;
-
 
252638
          default:
-
 
252639
            return null;
-
 
252640
        }
-
 
252641
      }
-
 
252642
 
-
 
252643
      /**
-
 
252644
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
252645
       * if it is not found.
-
 
252646
       */
-
 
252647
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
252648
        _Fields fields = findByThriftId(fieldId);
-
 
252649
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
252650
        return fields;
-
 
252651
      }
-
 
252652
 
-
 
252653
      /**
-
 
252654
       * Find the _Fields constant that matches name, or null if its not found.
-
 
252655
       */
-
 
252656
      public static _Fields findByName(String name) {
-
 
252657
        return byName.get(name);
-
 
252658
      }
-
 
252659
 
-
 
252660
      private final short _thriftId;
-
 
252661
      private final String _fieldName;
-
 
252662
 
-
 
252663
      _Fields(short thriftId, String fieldName) {
-
 
252664
        _thriftId = thriftId;
-
 
252665
        _fieldName = fieldName;
-
 
252666
      }
-
 
252667
 
-
 
252668
      public short getThriftFieldId() {
-
 
252669
        return _thriftId;
-
 
252670
      }
-
 
252671
 
-
 
252672
      public String getFieldName() {
-
 
252673
        return _fieldName;
-
 
252674
      }
-
 
252675
    }
-
 
252676
 
-
 
252677
    // isset id assignments
-
 
252678
 
-
 
252679
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
252680
    static {
-
 
252681
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
252682
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
252683
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
252684
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Pmsa.class))));
-
 
252685
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
252686
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPendingAssociates_result.class, metaDataMap);
-
 
252687
    }
-
 
252688
 
-
 
252689
    public getPendingAssociates_result() {
-
 
252690
    }
-
 
252691
 
-
 
252692
    public getPendingAssociates_result(
-
 
252693
      List<Pmsa> success)
-
 
252694
    {
-
 
252695
      this();
-
 
252696
      this.success = success;
-
 
252697
    }
-
 
252698
 
-
 
252699
    /**
-
 
252700
     * Performs a deep copy on <i>other</i>.
-
 
252701
     */
-
 
252702
    public getPendingAssociates_result(getPendingAssociates_result other) {
-
 
252703
      if (other.isSetSuccess()) {
-
 
252704
        List<Pmsa> __this__success = new ArrayList<Pmsa>();
-
 
252705
        for (Pmsa other_element : other.success) {
-
 
252706
          __this__success.add(new Pmsa(other_element));
-
 
252707
        }
-
 
252708
        this.success = __this__success;
-
 
252709
      }
-
 
252710
    }
-
 
252711
 
-
 
252712
    public getPendingAssociates_result deepCopy() {
-
 
252713
      return new getPendingAssociates_result(this);
-
 
252714
    }
-
 
252715
 
-
 
252716
    @Override
-
 
252717
    public void clear() {
-
 
252718
      this.success = null;
-
 
252719
    }
-
 
252720
 
-
 
252721
    public int getSuccessSize() {
-
 
252722
      return (this.success == null) ? 0 : this.success.size();
-
 
252723
    }
-
 
252724
 
-
 
252725
    public java.util.Iterator<Pmsa> getSuccessIterator() {
-
 
252726
      return (this.success == null) ? null : this.success.iterator();
-
 
252727
    }
-
 
252728
 
-
 
252729
    public void addToSuccess(Pmsa elem) {
-
 
252730
      if (this.success == null) {
-
 
252731
        this.success = new ArrayList<Pmsa>();
-
 
252732
      }
-
 
252733
      this.success.add(elem);
-
 
252734
    }
-
 
252735
 
-
 
252736
    public List<Pmsa> getSuccess() {
-
 
252737
      return this.success;
-
 
252738
    }
-
 
252739
 
-
 
252740
    public void setSuccess(List<Pmsa> success) {
-
 
252741
      this.success = success;
-
 
252742
    }
-
 
252743
 
-
 
252744
    public void unsetSuccess() {
-
 
252745
      this.success = null;
-
 
252746
    }
-
 
252747
 
-
 
252748
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
252749
    public boolean isSetSuccess() {
-
 
252750
      return this.success != null;
-
 
252751
    }
-
 
252752
 
-
 
252753
    public void setSuccessIsSet(boolean value) {
-
 
252754
      if (!value) {
-
 
252755
        this.success = null;
-
 
252756
      }
-
 
252757
    }
-
 
252758
 
-
 
252759
    public void setFieldValue(_Fields field, Object value) {
-
 
252760
      switch (field) {
-
 
252761
      case SUCCESS:
-
 
252762
        if (value == null) {
-
 
252763
          unsetSuccess();
-
 
252764
        } else {
-
 
252765
          setSuccess((List<Pmsa>)value);
-
 
252766
        }
-
 
252767
        break;
-
 
252768
 
-
 
252769
      }
-
 
252770
    }
-
 
252771
 
-
 
252772
    public Object getFieldValue(_Fields field) {
-
 
252773
      switch (field) {
-
 
252774
      case SUCCESS:
-
 
252775
        return getSuccess();
-
 
252776
 
-
 
252777
      }
-
 
252778
      throw new IllegalStateException();
-
 
252779
    }
-
 
252780
 
-
 
252781
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
252782
    public boolean isSet(_Fields field) {
-
 
252783
      if (field == null) {
-
 
252784
        throw new IllegalArgumentException();
-
 
252785
      }
-
 
252786
 
-
 
252787
      switch (field) {
-
 
252788
      case SUCCESS:
-
 
252789
        return isSetSuccess();
-
 
252790
      }
-
 
252791
      throw new IllegalStateException();
-
 
252792
    }
-
 
252793
 
-
 
252794
    @Override
-
 
252795
    public boolean equals(Object that) {
-
 
252796
      if (that == null)
-
 
252797
        return false;
-
 
252798
      if (that instanceof getPendingAssociates_result)
-
 
252799
        return this.equals((getPendingAssociates_result)that);
-
 
252800
      return false;
-
 
252801
    }
-
 
252802
 
-
 
252803
    public boolean equals(getPendingAssociates_result that) {
-
 
252804
      if (that == null)
-
 
252805
        return false;
-
 
252806
 
-
 
252807
      boolean this_present_success = true && this.isSetSuccess();
-
 
252808
      boolean that_present_success = true && that.isSetSuccess();
-
 
252809
      if (this_present_success || that_present_success) {
-
 
252810
        if (!(this_present_success && that_present_success))
-
 
252811
          return false;
-
 
252812
        if (!this.success.equals(that.success))
-
 
252813
          return false;
-
 
252814
      }
-
 
252815
 
-
 
252816
      return true;
-
 
252817
    }
-
 
252818
 
-
 
252819
    @Override
-
 
252820
    public int hashCode() {
-
 
252821
      return 0;
-
 
252822
    }
-
 
252823
 
-
 
252824
    public int compareTo(getPendingAssociates_result other) {
-
 
252825
      if (!getClass().equals(other.getClass())) {
-
 
252826
        return getClass().getName().compareTo(other.getClass().getName());
-
 
252827
      }
-
 
252828
 
-
 
252829
      int lastComparison = 0;
-
 
252830
      getPendingAssociates_result typedOther = (getPendingAssociates_result)other;
-
 
252831
 
-
 
252832
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
252833
      if (lastComparison != 0) {
-
 
252834
        return lastComparison;
-
 
252835
      }
-
 
252836
      if (isSetSuccess()) {
-
 
252837
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
252838
        if (lastComparison != 0) {
-
 
252839
          return lastComparison;
-
 
252840
        }
-
 
252841
      }
-
 
252842
      return 0;
-
 
252843
    }
-
 
252844
 
-
 
252845
    public _Fields fieldForId(int fieldId) {
-
 
252846
      return _Fields.findByThriftId(fieldId);
-
 
252847
    }
-
 
252848
 
-
 
252849
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
252850
      org.apache.thrift.protocol.TField field;
-
 
252851
      iprot.readStructBegin();
-
 
252852
      while (true)
-
 
252853
      {
-
 
252854
        field = iprot.readFieldBegin();
-
 
252855
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
252856
          break;
-
 
252857
        }
-
 
252858
        switch (field.id) {
-
 
252859
          case 0: // SUCCESS
-
 
252860
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
252861
              {
-
 
252862
                org.apache.thrift.protocol.TList _list865 = iprot.readListBegin();
-
 
252863
                this.success = new ArrayList<Pmsa>(_list865.size);
-
 
252864
                for (int _i866 = 0; _i866 < _list865.size; ++_i866)
-
 
252865
                {
-
 
252866
                  Pmsa _elem867; // required
-
 
252867
                  _elem867 = new Pmsa();
-
 
252868
                  _elem867.read(iprot);
-
 
252869
                  this.success.add(_elem867);
-
 
252870
                }
-
 
252871
                iprot.readListEnd();
-
 
252872
              }
-
 
252873
            } else { 
-
 
252874
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
252875
            }
-
 
252876
            break;
-
 
252877
          default:
-
 
252878
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
252879
        }
-
 
252880
        iprot.readFieldEnd();
-
 
252881
      }
-
 
252882
      iprot.readStructEnd();
-
 
252883
      validate();
-
 
252884
    }
-
 
252885
 
-
 
252886
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
252887
      oprot.writeStructBegin(STRUCT_DESC);
-
 
252888
 
-
 
252889
      if (this.isSetSuccess()) {
-
 
252890
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
252891
        {
-
 
252892
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
252893
          for (Pmsa _iter868 : this.success)
-
 
252894
          {
-
 
252895
            _iter868.write(oprot);
-
 
252896
          }
-
 
252897
          oprot.writeListEnd();
-
 
252898
        }
-
 
252899
        oprot.writeFieldEnd();
-
 
252900
      }
-
 
252901
      oprot.writeFieldStop();
-
 
252902
      oprot.writeStructEnd();
-
 
252903
    }
-
 
252904
 
-
 
252905
    @Override
-
 
252906
    public String toString() {
-
 
252907
      StringBuilder sb = new StringBuilder("getPendingAssociates_result(");
-
 
252908
      boolean first = true;
-
 
252909
 
-
 
252910
      sb.append("success:");
-
 
252911
      if (this.success == null) {
-
 
252912
        sb.append("null");
-
 
252913
      } else {
-
 
252914
        sb.append(this.success);
-
 
252915
      }
-
 
252916
      first = false;
-
 
252917
      sb.append(")");
-
 
252918
      return sb.toString();
-
 
252919
    }
-
 
252920
 
-
 
252921
    public void validate() throws org.apache.thrift.TException {
-
 
252922
      // check for required fields
-
 
252923
    }
-
 
252924
 
-
 
252925
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
252926
      try {
-
 
252927
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
252928
      } catch (org.apache.thrift.TException te) {
-
 
252929
        throw new java.io.IOException(te);
-
 
252930
      }
-
 
252931
    }
-
 
252932
 
-
 
252933
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
252934
      try {
-
 
252935
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
252936
      } catch (org.apache.thrift.TException te) {
-
 
252937
        throw new java.io.IOException(te);
-
 
252938
      }
-
 
252939
    }
-
 
252940
 
-
 
252941
  }
-
 
252942
 
-
 
252943
  public static class getStatsForAssociates_args implements org.apache.thrift.TBase<getStatsForAssociates_args, getStatsForAssociates_args._Fields>, java.io.Serializable, Cloneable   {
-
 
252944
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStatsForAssociates_args");
-
 
252945
 
-
 
252946
    private static final org.apache.thrift.protocol.TField ASSOCIATE_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("associateEmail", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
252947
 
-
 
252948
    private String associateEmail; // required
-
 
252949
 
-
 
252950
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
252951
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
252952
      ASSOCIATE_EMAIL((short)1, "associateEmail");
-
 
252953
 
-
 
252954
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
252955
 
-
 
252956
      static {
-
 
252957
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
252958
          byName.put(field.getFieldName(), field);
-
 
252959
        }
-
 
252960
      }
-
 
252961
 
-
 
252962
      /**
-
 
252963
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
252964
       */
-
 
252965
      public static _Fields findByThriftId(int fieldId) {
-
 
252966
        switch(fieldId) {
-
 
252967
          case 1: // ASSOCIATE_EMAIL
-
 
252968
            return ASSOCIATE_EMAIL;
-
 
252969
          default:
-
 
252970
            return null;
-
 
252971
        }
-
 
252972
      }
-
 
252973
 
-
 
252974
      /**
-
 
252975
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
252976
       * if it is not found.
-
 
252977
       */
-
 
252978
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
252979
        _Fields fields = findByThriftId(fieldId);
-
 
252980
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
252981
        return fields;
-
 
252982
      }
-
 
252983
 
-
 
252984
      /**
-
 
252985
       * Find the _Fields constant that matches name, or null if its not found.
-
 
252986
       */
-
 
252987
      public static _Fields findByName(String name) {
-
 
252988
        return byName.get(name);
-
 
252989
      }
-
 
252990
 
-
 
252991
      private final short _thriftId;
-
 
252992
      private final String _fieldName;
-
 
252993
 
-
 
252994
      _Fields(short thriftId, String fieldName) {
-
 
252995
        _thriftId = thriftId;
-
 
252996
        _fieldName = fieldName;
-
 
252997
      }
-
 
252998
 
-
 
252999
      public short getThriftFieldId() {
-
 
253000
        return _thriftId;
-
 
253001
      }
-
 
253002
 
-
 
253003
      public String getFieldName() {
-
 
253004
        return _fieldName;
-
 
253005
      }
-
 
253006
    }
-
 
253007
 
-
 
253008
    // isset id assignments
-
 
253009
 
-
 
253010
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
253011
    static {
-
 
253012
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
253013
      tmpMap.put(_Fields.ASSOCIATE_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("associateEmail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
253014
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
253015
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
253016
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStatsForAssociates_args.class, metaDataMap);
-
 
253017
    }
-
 
253018
 
-
 
253019
    public getStatsForAssociates_args() {
-
 
253020
    }
-
 
253021
 
-
 
253022
    public getStatsForAssociates_args(
-
 
253023
      String associateEmail)
-
 
253024
    {
-
 
253025
      this();
-
 
253026
      this.associateEmail = associateEmail;
-
 
253027
    }
-
 
253028
 
-
 
253029
    /**
-
 
253030
     * Performs a deep copy on <i>other</i>.
-
 
253031
     */
-
 
253032
    public getStatsForAssociates_args(getStatsForAssociates_args other) {
-
 
253033
      if (other.isSetAssociateEmail()) {
-
 
253034
        this.associateEmail = other.associateEmail;
-
 
253035
      }
-
 
253036
    }
-
 
253037
 
-
 
253038
    public getStatsForAssociates_args deepCopy() {
-
 
253039
      return new getStatsForAssociates_args(this);
-
 
253040
    }
-
 
253041
 
-
 
253042
    @Override
-
 
253043
    public void clear() {
-
 
253044
      this.associateEmail = null;
-
 
253045
    }
-
 
253046
 
-
 
253047
    public String getAssociateEmail() {
-
 
253048
      return this.associateEmail;
-
 
253049
    }
-
 
253050
 
-
 
253051
    public void setAssociateEmail(String associateEmail) {
-
 
253052
      this.associateEmail = associateEmail;
-
 
253053
    }
-
 
253054
 
-
 
253055
    public void unsetAssociateEmail() {
-
 
253056
      this.associateEmail = null;
-
 
253057
    }
-
 
253058
 
-
 
253059
    /** Returns true if field associateEmail is set (has been assigned a value) and false otherwise */
-
 
253060
    public boolean isSetAssociateEmail() {
-
 
253061
      return this.associateEmail != null;
-
 
253062
    }
-
 
253063
 
-
 
253064
    public void setAssociateEmailIsSet(boolean value) {
-
 
253065
      if (!value) {
-
 
253066
        this.associateEmail = null;
-
 
253067
      }
-
 
253068
    }
-
 
253069
 
-
 
253070
    public void setFieldValue(_Fields field, Object value) {
-
 
253071
      switch (field) {
-
 
253072
      case ASSOCIATE_EMAIL:
-
 
253073
        if (value == null) {
-
 
253074
          unsetAssociateEmail();
-
 
253075
        } else {
-
 
253076
          setAssociateEmail((String)value);
-
 
253077
        }
-
 
253078
        break;
-
 
253079
 
-
 
253080
      }
-
 
253081
    }
-
 
253082
 
-
 
253083
    public Object getFieldValue(_Fields field) {
-
 
253084
      switch (field) {
-
 
253085
      case ASSOCIATE_EMAIL:
-
 
253086
        return getAssociateEmail();
-
 
253087
 
-
 
253088
      }
-
 
253089
      throw new IllegalStateException();
-
 
253090
    }
-
 
253091
 
-
 
253092
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
253093
    public boolean isSet(_Fields field) {
-
 
253094
      if (field == null) {
-
 
253095
        throw new IllegalArgumentException();
-
 
253096
      }
-
 
253097
 
-
 
253098
      switch (field) {
-
 
253099
      case ASSOCIATE_EMAIL:
-
 
253100
        return isSetAssociateEmail();
-
 
253101
      }
-
 
253102
      throw new IllegalStateException();
-
 
253103
    }
-
 
253104
 
-
 
253105
    @Override
-
 
253106
    public boolean equals(Object that) {
-
 
253107
      if (that == null)
-
 
253108
        return false;
-
 
253109
      if (that instanceof getStatsForAssociates_args)
-
 
253110
        return this.equals((getStatsForAssociates_args)that);
-
 
253111
      return false;
-
 
253112
    }
-
 
253113
 
-
 
253114
    public boolean equals(getStatsForAssociates_args that) {
-
 
253115
      if (that == null)
-
 
253116
        return false;
-
 
253117
 
-
 
253118
      boolean this_present_associateEmail = true && this.isSetAssociateEmail();
-
 
253119
      boolean that_present_associateEmail = true && that.isSetAssociateEmail();
-
 
253120
      if (this_present_associateEmail || that_present_associateEmail) {
-
 
253121
        if (!(this_present_associateEmail && that_present_associateEmail))
-
 
253122
          return false;
-
 
253123
        if (!this.associateEmail.equals(that.associateEmail))
-
 
253124
          return false;
-
 
253125
      }
-
 
253126
 
-
 
253127
      return true;
-
 
253128
    }
-
 
253129
 
-
 
253130
    @Override
-
 
253131
    public int hashCode() {
-
 
253132
      return 0;
-
 
253133
    }
-
 
253134
 
-
 
253135
    public int compareTo(getStatsForAssociates_args other) {
-
 
253136
      if (!getClass().equals(other.getClass())) {
-
 
253137
        return getClass().getName().compareTo(other.getClass().getName());
-
 
253138
      }
-
 
253139
 
-
 
253140
      int lastComparison = 0;
-
 
253141
      getStatsForAssociates_args typedOther = (getStatsForAssociates_args)other;
-
 
253142
 
-
 
253143
      lastComparison = Boolean.valueOf(isSetAssociateEmail()).compareTo(typedOther.isSetAssociateEmail());
-
 
253144
      if (lastComparison != 0) {
-
 
253145
        return lastComparison;
-
 
253146
      }
-
 
253147
      if (isSetAssociateEmail()) {
-
 
253148
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.associateEmail, typedOther.associateEmail);
-
 
253149
        if (lastComparison != 0) {
-
 
253150
          return lastComparison;
-
 
253151
        }
-
 
253152
      }
-
 
253153
      return 0;
-
 
253154
    }
-
 
253155
 
-
 
253156
    public _Fields fieldForId(int fieldId) {
-
 
253157
      return _Fields.findByThriftId(fieldId);
-
 
253158
    }
-
 
253159
 
-
 
253160
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
253161
      org.apache.thrift.protocol.TField field;
-
 
253162
      iprot.readStructBegin();
-
 
253163
      while (true)
-
 
253164
      {
-
 
253165
        field = iprot.readFieldBegin();
-
 
253166
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
253167
          break;
-
 
253168
        }
-
 
253169
        switch (field.id) {
-
 
253170
          case 1: // ASSOCIATE_EMAIL
-
 
253171
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
253172
              this.associateEmail = iprot.readString();
-
 
253173
            } else { 
-
 
253174
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
253175
            }
-
 
253176
            break;
-
 
253177
          default:
-
 
253178
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
253179
        }
-
 
253180
        iprot.readFieldEnd();
-
 
253181
      }
-
 
253182
      iprot.readStructEnd();
-
 
253183
      validate();
-
 
253184
    }
-
 
253185
 
-
 
253186
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
253187
      validate();
-
 
253188
 
-
 
253189
      oprot.writeStructBegin(STRUCT_DESC);
-
 
253190
      if (this.associateEmail != null) {
-
 
253191
        oprot.writeFieldBegin(ASSOCIATE_EMAIL_FIELD_DESC);
-
 
253192
        oprot.writeString(this.associateEmail);
-
 
253193
        oprot.writeFieldEnd();
-
 
253194
      }
-
 
253195
      oprot.writeFieldStop();
-
 
253196
      oprot.writeStructEnd();
-
 
253197
    }
-
 
253198
 
-
 
253199
    @Override
-
 
253200
    public String toString() {
-
 
253201
      StringBuilder sb = new StringBuilder("getStatsForAssociates_args(");
-
 
253202
      boolean first = true;
-
 
253203
 
-
 
253204
      sb.append("associateEmail:");
-
 
253205
      if (this.associateEmail == null) {
-
 
253206
        sb.append("null");
-
 
253207
      } else {
-
 
253208
        sb.append(this.associateEmail);
-
 
253209
      }
-
 
253210
      first = false;
-
 
253211
      sb.append(")");
-
 
253212
      return sb.toString();
-
 
253213
    }
-
 
253214
 
-
 
253215
    public void validate() throws org.apache.thrift.TException {
-
 
253216
      // check for required fields
-
 
253217
    }
-
 
253218
 
-
 
253219
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
253220
      try {
-
 
253221
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
253222
      } catch (org.apache.thrift.TException te) {
-
 
253223
        throw new java.io.IOException(te);
-
 
253224
      }
-
 
253225
    }
-
 
253226
 
-
 
253227
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
253228
      try {
-
 
253229
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
253230
      } catch (org.apache.thrift.TException te) {
-
 
253231
        throw new java.io.IOException(te);
-
 
253232
      }
-
 
253233
    }
-
 
253234
 
-
 
253235
  }
-
 
253236
 
-
 
253237
  public static class getStatsForAssociates_result implements org.apache.thrift.TBase<getStatsForAssociates_result, getStatsForAssociates_result._Fields>, java.io.Serializable, Cloneable   {
-
 
253238
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStatsForAssociates_result");
-
 
253239
 
-
 
253240
    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);
-
 
253241
 
-
 
253242
    private List<Long> success; // required
-
 
253243
 
-
 
253244
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
253245
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
253246
      SUCCESS((short)0, "success");
-
 
253247
 
-
 
253248
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
253249
 
-
 
253250
      static {
-
 
253251
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
253252
          byName.put(field.getFieldName(), field);
-
 
253253
        }
-
 
253254
      }
-
 
253255
 
-
 
253256
      /**
-
 
253257
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
253258
       */
-
 
253259
      public static _Fields findByThriftId(int fieldId) {
-
 
253260
        switch(fieldId) {
-
 
253261
          case 0: // SUCCESS
-
 
253262
            return SUCCESS;
-
 
253263
          default:
-
 
253264
            return null;
-
 
253265
        }
-
 
253266
      }
-
 
253267
 
-
 
253268
      /**
-
 
253269
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
253270
       * if it is not found.
-
 
253271
       */
-
 
253272
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
253273
        _Fields fields = findByThriftId(fieldId);
-
 
253274
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
253275
        return fields;
-
 
253276
      }
-
 
253277
 
-
 
253278
      /**
-
 
253279
       * Find the _Fields constant that matches name, or null if its not found.
-
 
253280
       */
-
 
253281
      public static _Fields findByName(String name) {
-
 
253282
        return byName.get(name);
-
 
253283
      }
-
 
253284
 
-
 
253285
      private final short _thriftId;
-
 
253286
      private final String _fieldName;
-
 
253287
 
-
 
253288
      _Fields(short thriftId, String fieldName) {
-
 
253289
        _thriftId = thriftId;
-
 
253290
        _fieldName = fieldName;
-
 
253291
      }
-
 
253292
 
-
 
253293
      public short getThriftFieldId() {
-
 
253294
        return _thriftId;
-
 
253295
      }
-
 
253296
 
-
 
253297
      public String getFieldName() {
-
 
253298
        return _fieldName;
-
 
253299
      }
-
 
253300
    }
-
 
253301
 
-
 
253302
    // isset id assignments
-
 
253303
 
-
 
253304
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
253305
    static {
-
 
253306
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
253307
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
253308
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
253309
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
253310
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
253311
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStatsForAssociates_result.class, metaDataMap);
-
 
253312
    }
-
 
253313
 
-
 
253314
    public getStatsForAssociates_result() {
-
 
253315
    }
-
 
253316
 
-
 
253317
    public getStatsForAssociates_result(
-
 
253318
      List<Long> success)
-
 
253319
    {
-
 
253320
      this();
-
 
253321
      this.success = success;
-
 
253322
    }
-
 
253323
 
-
 
253324
    /**
-
 
253325
     * Performs a deep copy on <i>other</i>.
-
 
253326
     */
-
 
253327
    public getStatsForAssociates_result(getStatsForAssociates_result other) {
-
 
253328
      if (other.isSetSuccess()) {
-
 
253329
        List<Long> __this__success = new ArrayList<Long>();
-
 
253330
        for (Long other_element : other.success) {
-
 
253331
          __this__success.add(other_element);
-
 
253332
        }
-
 
253333
        this.success = __this__success;
-
 
253334
      }
-
 
253335
    }
-
 
253336
 
-
 
253337
    public getStatsForAssociates_result deepCopy() {
-
 
253338
      return new getStatsForAssociates_result(this);
-
 
253339
    }
-
 
253340
 
-
 
253341
    @Override
-
 
253342
    public void clear() {
-
 
253343
      this.success = null;
-
 
253344
    }
-
 
253345
 
-
 
253346
    public int getSuccessSize() {
-
 
253347
      return (this.success == null) ? 0 : this.success.size();
-
 
253348
    }
-
 
253349
 
-
 
253350
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
253351
      return (this.success == null) ? null : this.success.iterator();
-
 
253352
    }
-
 
253353
 
-
 
253354
    public void addToSuccess(long elem) {
-
 
253355
      if (this.success == null) {
-
 
253356
        this.success = new ArrayList<Long>();
-
 
253357
      }
-
 
253358
      this.success.add(elem);
-
 
253359
    }
-
 
253360
 
-
 
253361
    public List<Long> getSuccess() {
-
 
253362
      return this.success;
-
 
253363
    }
-
 
253364
 
-
 
253365
    public void setSuccess(List<Long> success) {
-
 
253366
      this.success = success;
-
 
253367
    }
-
 
253368
 
-
 
253369
    public void unsetSuccess() {
-
 
253370
      this.success = null;
-
 
253371
    }
-
 
253372
 
-
 
253373
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
253374
    public boolean isSetSuccess() {
-
 
253375
      return this.success != null;
-
 
253376
    }
-
 
253377
 
-
 
253378
    public void setSuccessIsSet(boolean value) {
-
 
253379
      if (!value) {
-
 
253380
        this.success = null;
-
 
253381
      }
-
 
253382
    }
-
 
253383
 
-
 
253384
    public void setFieldValue(_Fields field, Object value) {
-
 
253385
      switch (field) {
-
 
253386
      case SUCCESS:
-
 
253387
        if (value == null) {
-
 
253388
          unsetSuccess();
-
 
253389
        } else {
-
 
253390
          setSuccess((List<Long>)value);
-
 
253391
        }
-
 
253392
        break;
-
 
253393
 
-
 
253394
      }
-
 
253395
    }
-
 
253396
 
-
 
253397
    public Object getFieldValue(_Fields field) {
-
 
253398
      switch (field) {
-
 
253399
      case SUCCESS:
-
 
253400
        return getSuccess();
-
 
253401
 
-
 
253402
      }
-
 
253403
      throw new IllegalStateException();
-
 
253404
    }
-
 
253405
 
-
 
253406
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
253407
    public boolean isSet(_Fields field) {
-
 
253408
      if (field == null) {
-
 
253409
        throw new IllegalArgumentException();
-
 
253410
      }
-
 
253411
 
-
 
253412
      switch (field) {
-
 
253413
      case SUCCESS:
-
 
253414
        return isSetSuccess();
-
 
253415
      }
-
 
253416
      throw new IllegalStateException();
-
 
253417
    }
-
 
253418
 
-
 
253419
    @Override
-
 
253420
    public boolean equals(Object that) {
-
 
253421
      if (that == null)
-
 
253422
        return false;
-
 
253423
      if (that instanceof getStatsForAssociates_result)
-
 
253424
        return this.equals((getStatsForAssociates_result)that);
-
 
253425
      return false;
-
 
253426
    }
-
 
253427
 
-
 
253428
    public boolean equals(getStatsForAssociates_result that) {
-
 
253429
      if (that == null)
-
 
253430
        return false;
-
 
253431
 
-
 
253432
      boolean this_present_success = true && this.isSetSuccess();
-
 
253433
      boolean that_present_success = true && that.isSetSuccess();
-
 
253434
      if (this_present_success || that_present_success) {
-
 
253435
        if (!(this_present_success && that_present_success))
-
 
253436
          return false;
-
 
253437
        if (!this.success.equals(that.success))
-
 
253438
          return false;
-
 
253439
      }
-
 
253440
 
-
 
253441
      return true;
-
 
253442
    }
-
 
253443
 
-
 
253444
    @Override
-
 
253445
    public int hashCode() {
-
 
253446
      return 0;
-
 
253447
    }
-
 
253448
 
-
 
253449
    public int compareTo(getStatsForAssociates_result other) {
-
 
253450
      if (!getClass().equals(other.getClass())) {
-
 
253451
        return getClass().getName().compareTo(other.getClass().getName());
-
 
253452
      }
-
 
253453
 
-
 
253454
      int lastComparison = 0;
-
 
253455
      getStatsForAssociates_result typedOther = (getStatsForAssociates_result)other;
-
 
253456
 
-
 
253457
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
253458
      if (lastComparison != 0) {
-
 
253459
        return lastComparison;
-
 
253460
      }
-
 
253461
      if (isSetSuccess()) {
-
 
253462
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
253463
        if (lastComparison != 0) {
-
 
253464
          return lastComparison;
-
 
253465
        }
-
 
253466
      }
-
 
253467
      return 0;
-
 
253468
    }
-
 
253469
 
-
 
253470
    public _Fields fieldForId(int fieldId) {
-
 
253471
      return _Fields.findByThriftId(fieldId);
-
 
253472
    }
-
 
253473
 
-
 
253474
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
253475
      org.apache.thrift.protocol.TField field;
-
 
253476
      iprot.readStructBegin();
-
 
253477
      while (true)
-
 
253478
      {
-
 
253479
        field = iprot.readFieldBegin();
-
 
253480
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
253481
          break;
-
 
253482
        }
-
 
253483
        switch (field.id) {
-
 
253484
          case 0: // SUCCESS
-
 
253485
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
253486
              {
-
 
253487
                org.apache.thrift.protocol.TList _list869 = iprot.readListBegin();
-
 
253488
                this.success = new ArrayList<Long>(_list869.size);
-
 
253489
                for (int _i870 = 0; _i870 < _list869.size; ++_i870)
-
 
253490
                {
-
 
253491
                  long _elem871; // required
-
 
253492
                  _elem871 = iprot.readI64();
-
 
253493
                  this.success.add(_elem871);
-
 
253494
                }
-
 
253495
                iprot.readListEnd();
-
 
253496
              }
-
 
253497
            } else { 
-
 
253498
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
253499
            }
-
 
253500
            break;
-
 
253501
          default:
-
 
253502
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
253503
        }
-
 
253504
        iprot.readFieldEnd();
-
 
253505
      }
-
 
253506
      iprot.readStructEnd();
-
 
253507
      validate();
-
 
253508
    }
-
 
253509
 
-
 
253510
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
253511
      oprot.writeStructBegin(STRUCT_DESC);
-
 
253512
 
-
 
253513
      if (this.isSetSuccess()) {
-
 
253514
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
253515
        {
-
 
253516
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
253517
          for (long _iter872 : this.success)
-
 
253518
          {
-
 
253519
            oprot.writeI64(_iter872);
-
 
253520
          }
-
 
253521
          oprot.writeListEnd();
-
 
253522
        }
-
 
253523
        oprot.writeFieldEnd();
-
 
253524
      }
-
 
253525
      oprot.writeFieldStop();
-
 
253526
      oprot.writeStructEnd();
-
 
253527
    }
-
 
253528
 
-
 
253529
    @Override
-
 
253530
    public String toString() {
-
 
253531
      StringBuilder sb = new StringBuilder("getStatsForAssociates_result(");
-
 
253532
      boolean first = true;
-
 
253533
 
-
 
253534
      sb.append("success:");
-
 
253535
      if (this.success == null) {
-
 
253536
        sb.append("null");
-
 
253537
      } else {
-
 
253538
        sb.append(this.success);
-
 
253539
      }
-
 
253540
      first = false;
-
 
253541
      sb.append(")");
-
 
253542
      return sb.toString();
-
 
253543
    }
-
 
253544
 
248303
    public void validate() throws org.apache.thrift.TException {
253545
    public void validate() throws org.apache.thrift.TException {
248304
      // check for required fields
253546
      // check for required fields
248305
    }
253547
    }
248306
 
253548
 
248307
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
253549
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {