Subversion Repositories SmartDukaan

Rev

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

Rev 17782 Rev 18530
Line 369... Line 369...
369
 
369
 
370
    public boolean addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode) throws org.apache.thrift.TException;
370
    public boolean addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode) throws org.apache.thrift.TException;
371
 
371
 
372
    public String validateCartNew(long cartId, String pinCode, long sourceId) throws org.apache.thrift.TException;
372
    public String validateCartNew(long cartId, String pinCode, long sourceId) throws org.apache.thrift.TException;
373
 
373
 
-
 
374
    public boolean isTaxInvoiceCounter(long userId) throws org.apache.thrift.TException;
-
 
375
 
-
 
376
    public Address getBillingAddressForUser(long userId) throws org.apache.thrift.TException;
-
 
377
 
374
  }
378
  }
375
 
379
 
376
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
380
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
377
 
381
 
378
    public void createAnonymousUser(String jsessionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createAnonymousUser_call> resultHandler) throws org.apache.thrift.TException;
382
    public void createAnonymousUser(String jsessionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createAnonymousUser_call> resultHandler) throws org.apache.thrift.TException;
Line 543... Line 547...
543
 
547
 
544
    public void addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItemsToCart_call> resultHandler) throws org.apache.thrift.TException;
548
    public void addItemsToCart(long cartId, List<ItemQuantity> itemQty, String couponCode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItemsToCart_call> resultHandler) throws org.apache.thrift.TException;
545
 
549
 
546
    public void validateCartNew(long cartId, String pinCode, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateCartNew_call> resultHandler) throws org.apache.thrift.TException;
550
    public void validateCartNew(long cartId, String pinCode, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateCartNew_call> resultHandler) throws org.apache.thrift.TException;
547
 
551
 
-
 
552
    public void isTaxInvoiceCounter(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isTaxInvoiceCounter_call> resultHandler) throws org.apache.thrift.TException;
-
 
553
 
-
 
554
    public void getBillingAddressForUser(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBillingAddressForUser_call> resultHandler) throws org.apache.thrift.TException;
-
 
555
 
548
  }
556
  }
549
 
557
 
550
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
558
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
551
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
559
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
552
      public Factory() {}
560
      public Factory() {}
Line 2730... Line 2738...
2730
        return result.success;
2738
        return result.success;
2731
      }
2739
      }
2732
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateCartNew failed: unknown result");
2740
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateCartNew failed: unknown result");
2733
    }
2741
    }
2734
 
2742
 
-
 
2743
    public boolean isTaxInvoiceCounter(long userId) throws org.apache.thrift.TException
-
 
2744
    {
-
 
2745
      send_isTaxInvoiceCounter(userId);
-
 
2746
      return recv_isTaxInvoiceCounter();
-
 
2747
    }
-
 
2748
 
-
 
2749
    public void send_isTaxInvoiceCounter(long userId) throws org.apache.thrift.TException
-
 
2750
    {
-
 
2751
      isTaxInvoiceCounter_args args = new isTaxInvoiceCounter_args();
-
 
2752
      args.setUserId(userId);
-
 
2753
      sendBase("isTaxInvoiceCounter", args);
-
 
2754
    }
-
 
2755
 
-
 
2756
    public boolean recv_isTaxInvoiceCounter() throws org.apache.thrift.TException
-
 
2757
    {
-
 
2758
      isTaxInvoiceCounter_result result = new isTaxInvoiceCounter_result();
-
 
2759
      receiveBase(result, "isTaxInvoiceCounter");
-
 
2760
      if (result.isSetSuccess()) {
-
 
2761
        return result.success;
-
 
2762
      }
-
 
2763
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isTaxInvoiceCounter failed: unknown result");
-
 
2764
    }
-
 
2765
 
-
 
2766
    public Address getBillingAddressForUser(long userId) throws org.apache.thrift.TException
-
 
2767
    {
-
 
2768
      send_getBillingAddressForUser(userId);
-
 
2769
      return recv_getBillingAddressForUser();
-
 
2770
    }
-
 
2771
 
-
 
2772
    public void send_getBillingAddressForUser(long userId) throws org.apache.thrift.TException
-
 
2773
    {
-
 
2774
      getBillingAddressForUser_args args = new getBillingAddressForUser_args();
-
 
2775
      args.setUserId(userId);
-
 
2776
      sendBase("getBillingAddressForUser", args);
-
 
2777
    }
-
 
2778
 
-
 
2779
    public Address recv_getBillingAddressForUser() throws org.apache.thrift.TException
-
 
2780
    {
-
 
2781
      getBillingAddressForUser_result result = new getBillingAddressForUser_result();
-
 
2782
      receiveBase(result, "getBillingAddressForUser");
-
 
2783
      if (result.isSetSuccess()) {
-
 
2784
        return result.success;
-
 
2785
      }
-
 
2786
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBillingAddressForUser failed: unknown result");
-
 
2787
    }
-
 
2788
 
2735
  }
2789
  }
2736
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2790
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2737
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2791
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2738
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2792
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2739
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
2793
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 5689... Line 5743...
5689
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5743
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5690
        return (new Client(prot)).recv_validateCartNew();
5744
        return (new Client(prot)).recv_validateCartNew();
5691
      }
5745
      }
5692
    }
5746
    }
5693
 
5747
 
-
 
5748
    public void isTaxInvoiceCounter(long userId, org.apache.thrift.async.AsyncMethodCallback<isTaxInvoiceCounter_call> resultHandler) throws org.apache.thrift.TException {
-
 
5749
      checkReady();
-
 
5750
      isTaxInvoiceCounter_call method_call = new isTaxInvoiceCounter_call(userId, resultHandler, this, ___protocolFactory, ___transport);
-
 
5751
      this.___currentMethod = method_call;
-
 
5752
      ___manager.call(method_call);
-
 
5753
    }
-
 
5754
 
-
 
5755
    public static class isTaxInvoiceCounter_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5756
      private long userId;
-
 
5757
      public isTaxInvoiceCounter_call(long userId, org.apache.thrift.async.AsyncMethodCallback<isTaxInvoiceCounter_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 {
-
 
5758
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5759
        this.userId = userId;
-
 
5760
      }
-
 
5761
 
-
 
5762
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5763
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isTaxInvoiceCounter", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5764
        isTaxInvoiceCounter_args args = new isTaxInvoiceCounter_args();
-
 
5765
        args.setUserId(userId);
-
 
5766
        args.write(prot);
-
 
5767
        prot.writeMessageEnd();
-
 
5768
      }
-
 
5769
 
-
 
5770
      public boolean getResult() throws org.apache.thrift.TException {
-
 
5771
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5772
          throw new IllegalStateException("Method call not finished!");
-
 
5773
        }
-
 
5774
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5775
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5776
        return (new Client(prot)).recv_isTaxInvoiceCounter();
-
 
5777
      }
-
 
5778
    }
-
 
5779
 
-
 
5780
    public void getBillingAddressForUser(long userId, org.apache.thrift.async.AsyncMethodCallback<getBillingAddressForUser_call> resultHandler) throws org.apache.thrift.TException {
-
 
5781
      checkReady();
-
 
5782
      getBillingAddressForUser_call method_call = new getBillingAddressForUser_call(userId, resultHandler, this, ___protocolFactory, ___transport);
-
 
5783
      this.___currentMethod = method_call;
-
 
5784
      ___manager.call(method_call);
-
 
5785
    }
-
 
5786
 
-
 
5787
    public static class getBillingAddressForUser_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5788
      private long userId;
-
 
5789
      public getBillingAddressForUser_call(long userId, org.apache.thrift.async.AsyncMethodCallback<getBillingAddressForUser_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 {
-
 
5790
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5791
        this.userId = userId;
-
 
5792
      }
-
 
5793
 
-
 
5794
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
5795
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBillingAddressForUser", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
5796
        getBillingAddressForUser_args args = new getBillingAddressForUser_args();
-
 
5797
        args.setUserId(userId);
-
 
5798
        args.write(prot);
-
 
5799
        prot.writeMessageEnd();
-
 
5800
      }
-
 
5801
 
-
 
5802
      public Address getResult() throws org.apache.thrift.TException {
-
 
5803
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
5804
          throw new IllegalStateException("Method call not finished!");
-
 
5805
        }
-
 
5806
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
5807
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
5808
        return (new Client(prot)).recv_getBillingAddressForUser();
-
 
5809
      }
-
 
5810
    }
-
 
5811
 
5694
  }
5812
  }
5695
 
5813
 
5696
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
5814
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
5697
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
5815
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
5698
    public Processor(I iface) {
5816
    public Processor(I iface) {
Line 5787... Line 5905...
5787
      processMap.put("getAllUsersByCounter", new getAllUsersByCounter());
5905
      processMap.put("getAllUsersByCounter", new getAllUsersByCounter());
5788
      processMap.put("getActiveAccessTokenForUser", new getActiveAccessTokenForUser());
5906
      processMap.put("getActiveAccessTokenForUser", new getActiveAccessTokenForUser());
5789
      processMap.put("validateAccessToken", new validateAccessToken());
5907
      processMap.put("validateAccessToken", new validateAccessToken());
5790
      processMap.put("addItemsToCart", new addItemsToCart());
5908
      processMap.put("addItemsToCart", new addItemsToCart());
5791
      processMap.put("validateCartNew", new validateCartNew());
5909
      processMap.put("validateCartNew", new validateCartNew());
-
 
5910
      processMap.put("isTaxInvoiceCounter", new isTaxInvoiceCounter());
-
 
5911
      processMap.put("getBillingAddressForUser", new getBillingAddressForUser());
5792
      return processMap;
5912
      return processMap;
5793
    }
5913
    }
5794
 
5914
 
5795
    private static class createAnonymousUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createAnonymousUser_args> {
5915
    private static class createAnonymousUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createAnonymousUser_args> {
5796
      public createAnonymousUser() {
5916
      public createAnonymousUser() {
Line 7417... Line 7537...
7417
        result.success = iface.validateCartNew(args.cartId, args.pinCode, args.sourceId);
7537
        result.success = iface.validateCartNew(args.cartId, args.pinCode, args.sourceId);
7418
        return result;
7538
        return result;
7419
      }
7539
      }
7420
    }
7540
    }
7421
 
7541
 
-
 
7542
    private static class isTaxInvoiceCounter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isTaxInvoiceCounter_args> {
-
 
7543
      public isTaxInvoiceCounter() {
-
 
7544
        super("isTaxInvoiceCounter");
-
 
7545
      }
-
 
7546
 
-
 
7547
      protected isTaxInvoiceCounter_args getEmptyArgsInstance() {
-
 
7548
        return new isTaxInvoiceCounter_args();
-
 
7549
      }
-
 
7550
 
-
 
7551
      protected isTaxInvoiceCounter_result getResult(I iface, isTaxInvoiceCounter_args args) throws org.apache.thrift.TException {
-
 
7552
        isTaxInvoiceCounter_result result = new isTaxInvoiceCounter_result();
-
 
7553
        result.success = iface.isTaxInvoiceCounter(args.userId);
-
 
7554
        result.setSuccessIsSet(true);
-
 
7555
        return result;
-
 
7556
      }
-
 
7557
    }
-
 
7558
 
-
 
7559
    private static class getBillingAddressForUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getBillingAddressForUser_args> {
-
 
7560
      public getBillingAddressForUser() {
-
 
7561
        super("getBillingAddressForUser");
-
 
7562
      }
-
 
7563
 
-
 
7564
      protected getBillingAddressForUser_args getEmptyArgsInstance() {
-
 
7565
        return new getBillingAddressForUser_args();
-
 
7566
      }
-
 
7567
 
-
 
7568
      protected getBillingAddressForUser_result getResult(I iface, getBillingAddressForUser_args args) throws org.apache.thrift.TException {
-
 
7569
        getBillingAddressForUser_result result = new getBillingAddressForUser_result();
-
 
7570
        result.success = iface.getBillingAddressForUser(args.userId);
-
 
7571
        return result;
-
 
7572
      }
-
 
7573
    }
-
 
7574
 
7422
  }
7575
  }
7423
 
7576
 
7424
  public static class createAnonymousUser_args implements org.apache.thrift.TBase<createAnonymousUser_args, createAnonymousUser_args._Fields>, java.io.Serializable, Cloneable   {
7577
  public static class createAnonymousUser_args implements org.apache.thrift.TBase<createAnonymousUser_args, createAnonymousUser_args._Fields>, java.io.Serializable, Cloneable   {
7425
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createAnonymousUser_args");
7578
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createAnonymousUser_args");
7426
 
7579
 
Line 66953... Line 67106...
66953
      }
67106
      }
66954
    }
67107
    }
66955
 
67108
 
66956
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67109
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
66957
      try {
67110
      try {
66958
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
66959
        __isset_bit_vector = new BitSet(1);
-
 
66960
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67111
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
66961
      } catch (org.apache.thrift.TException te) {
67112
      } catch (org.apache.thrift.TException te) {
66962
        throw new java.io.IOException(te);
67113
        throw new java.io.IOException(te);
66963
      }
67114
      }
66964
    }
67115
    }
Line 68492... Line 68643...
68492
      boolean first = true;
68643
      boolean first = true;
68493
 
68644
 
68494
      sb.append("success:");
68645
      sb.append("success:");
68495
      if (this.success == null) {
68646
      if (this.success == null) {
68496
        sb.append("null");
68647
        sb.append("null");
-
 
68648
      } else {
-
 
68649
        sb.append(this.success);
-
 
68650
      }
-
 
68651
      first = false;
-
 
68652
      sb.append(")");
-
 
68653
      return sb.toString();
-
 
68654
    }
-
 
68655
 
-
 
68656
    public void validate() throws org.apache.thrift.TException {
-
 
68657
      // check for required fields
-
 
68658
    }
-
 
68659
 
-
 
68660
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68661
      try {
-
 
68662
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68663
      } catch (org.apache.thrift.TException te) {
-
 
68664
        throw new java.io.IOException(te);
-
 
68665
      }
-
 
68666
    }
-
 
68667
 
-
 
68668
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68669
      try {
-
 
68670
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68671
      } catch (org.apache.thrift.TException te) {
-
 
68672
        throw new java.io.IOException(te);
-
 
68673
      }
-
 
68674
    }
-
 
68675
 
-
 
68676
  }
-
 
68677
 
-
 
68678
  public static class isTaxInvoiceCounter_args implements org.apache.thrift.TBase<isTaxInvoiceCounter_args, isTaxInvoiceCounter_args._Fields>, java.io.Serializable, Cloneable   {
-
 
68679
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isTaxInvoiceCounter_args");
-
 
68680
 
-
 
68681
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
68682
 
-
 
68683
    private long userId; // required
-
 
68684
 
-
 
68685
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68686
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68687
      USER_ID((short)1, "userId");
-
 
68688
 
-
 
68689
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68690
 
-
 
68691
      static {
-
 
68692
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68693
          byName.put(field.getFieldName(), field);
-
 
68694
        }
-
 
68695
      }
-
 
68696
 
-
 
68697
      /**
-
 
68698
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68699
       */
-
 
68700
      public static _Fields findByThriftId(int fieldId) {
-
 
68701
        switch(fieldId) {
-
 
68702
          case 1: // USER_ID
-
 
68703
            return USER_ID;
-
 
68704
          default:
-
 
68705
            return null;
-
 
68706
        }
-
 
68707
      }
-
 
68708
 
-
 
68709
      /**
-
 
68710
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
68711
       * if it is not found.
-
 
68712
       */
-
 
68713
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
68714
        _Fields fields = findByThriftId(fieldId);
-
 
68715
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
68716
        return fields;
-
 
68717
      }
-
 
68718
 
-
 
68719
      /**
-
 
68720
       * Find the _Fields constant that matches name, or null if its not found.
-
 
68721
       */
-
 
68722
      public static _Fields findByName(String name) {
-
 
68723
        return byName.get(name);
-
 
68724
      }
-
 
68725
 
-
 
68726
      private final short _thriftId;
-
 
68727
      private final String _fieldName;
-
 
68728
 
-
 
68729
      _Fields(short thriftId, String fieldName) {
-
 
68730
        _thriftId = thriftId;
-
 
68731
        _fieldName = fieldName;
-
 
68732
      }
-
 
68733
 
-
 
68734
      public short getThriftFieldId() {
-
 
68735
        return _thriftId;
-
 
68736
      }
-
 
68737
 
-
 
68738
      public String getFieldName() {
-
 
68739
        return _fieldName;
-
 
68740
      }
-
 
68741
    }
-
 
68742
 
-
 
68743
    // isset id assignments
-
 
68744
    private static final int __USERID_ISSET_ID = 0;
-
 
68745
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
68746
 
-
 
68747
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
68748
    static {
-
 
68749
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
68750
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
68751
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
68752
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
68753
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTaxInvoiceCounter_args.class, metaDataMap);
-
 
68754
    }
-
 
68755
 
-
 
68756
    public isTaxInvoiceCounter_args() {
-
 
68757
    }
-
 
68758
 
-
 
68759
    public isTaxInvoiceCounter_args(
-
 
68760
      long userId)
-
 
68761
    {
-
 
68762
      this();
-
 
68763
      this.userId = userId;
-
 
68764
      setUserIdIsSet(true);
-
 
68765
    }
-
 
68766
 
-
 
68767
    /**
-
 
68768
     * Performs a deep copy on <i>other</i>.
-
 
68769
     */
-
 
68770
    public isTaxInvoiceCounter_args(isTaxInvoiceCounter_args other) {
-
 
68771
      __isset_bit_vector.clear();
-
 
68772
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
68773
      this.userId = other.userId;
-
 
68774
    }
-
 
68775
 
-
 
68776
    public isTaxInvoiceCounter_args deepCopy() {
-
 
68777
      return new isTaxInvoiceCounter_args(this);
-
 
68778
    }
-
 
68779
 
-
 
68780
    @Override
-
 
68781
    public void clear() {
-
 
68782
      setUserIdIsSet(false);
-
 
68783
      this.userId = 0;
-
 
68784
    }
-
 
68785
 
-
 
68786
    public long getUserId() {
-
 
68787
      return this.userId;
-
 
68788
    }
-
 
68789
 
-
 
68790
    public void setUserId(long userId) {
-
 
68791
      this.userId = userId;
-
 
68792
      setUserIdIsSet(true);
-
 
68793
    }
-
 
68794
 
-
 
68795
    public void unsetUserId() {
-
 
68796
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
68797
    }
-
 
68798
 
-
 
68799
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
68800
    public boolean isSetUserId() {
-
 
68801
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
68802
    }
-
 
68803
 
-
 
68804
    public void setUserIdIsSet(boolean value) {
-
 
68805
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
68806
    }
-
 
68807
 
-
 
68808
    public void setFieldValue(_Fields field, Object value) {
-
 
68809
      switch (field) {
-
 
68810
      case USER_ID:
-
 
68811
        if (value == null) {
-
 
68812
          unsetUserId();
-
 
68813
        } else {
-
 
68814
          setUserId((Long)value);
-
 
68815
        }
-
 
68816
        break;
-
 
68817
 
-
 
68818
      }
-
 
68819
    }
-
 
68820
 
-
 
68821
    public Object getFieldValue(_Fields field) {
-
 
68822
      switch (field) {
-
 
68823
      case USER_ID:
-
 
68824
        return Long.valueOf(getUserId());
-
 
68825
 
-
 
68826
      }
-
 
68827
      throw new IllegalStateException();
-
 
68828
    }
-
 
68829
 
-
 
68830
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
68831
    public boolean isSet(_Fields field) {
-
 
68832
      if (field == null) {
-
 
68833
        throw new IllegalArgumentException();
-
 
68834
      }
-
 
68835
 
-
 
68836
      switch (field) {
-
 
68837
      case USER_ID:
-
 
68838
        return isSetUserId();
-
 
68839
      }
-
 
68840
      throw new IllegalStateException();
-
 
68841
    }
-
 
68842
 
-
 
68843
    @Override
-
 
68844
    public boolean equals(Object that) {
-
 
68845
      if (that == null)
-
 
68846
        return false;
-
 
68847
      if (that instanceof isTaxInvoiceCounter_args)
-
 
68848
        return this.equals((isTaxInvoiceCounter_args)that);
-
 
68849
      return false;
-
 
68850
    }
-
 
68851
 
-
 
68852
    public boolean equals(isTaxInvoiceCounter_args that) {
-
 
68853
      if (that == null)
-
 
68854
        return false;
-
 
68855
 
-
 
68856
      boolean this_present_userId = true;
-
 
68857
      boolean that_present_userId = true;
-
 
68858
      if (this_present_userId || that_present_userId) {
-
 
68859
        if (!(this_present_userId && that_present_userId))
-
 
68860
          return false;
-
 
68861
        if (this.userId != that.userId)
-
 
68862
          return false;
-
 
68863
      }
-
 
68864
 
-
 
68865
      return true;
-
 
68866
    }
-
 
68867
 
-
 
68868
    @Override
-
 
68869
    public int hashCode() {
-
 
68870
      return 0;
-
 
68871
    }
-
 
68872
 
-
 
68873
    public int compareTo(isTaxInvoiceCounter_args other) {
-
 
68874
      if (!getClass().equals(other.getClass())) {
-
 
68875
        return getClass().getName().compareTo(other.getClass().getName());
-
 
68876
      }
-
 
68877
 
-
 
68878
      int lastComparison = 0;
-
 
68879
      isTaxInvoiceCounter_args typedOther = (isTaxInvoiceCounter_args)other;
-
 
68880
 
-
 
68881
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
68882
      if (lastComparison != 0) {
-
 
68883
        return lastComparison;
-
 
68884
      }
-
 
68885
      if (isSetUserId()) {
-
 
68886
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
68887
        if (lastComparison != 0) {
-
 
68888
          return lastComparison;
-
 
68889
        }
-
 
68890
      }
-
 
68891
      return 0;
-
 
68892
    }
-
 
68893
 
-
 
68894
    public _Fields fieldForId(int fieldId) {
-
 
68895
      return _Fields.findByThriftId(fieldId);
-
 
68896
    }
-
 
68897
 
-
 
68898
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
68899
      org.apache.thrift.protocol.TField field;
-
 
68900
      iprot.readStructBegin();
-
 
68901
      while (true)
-
 
68902
      {
-
 
68903
        field = iprot.readFieldBegin();
-
 
68904
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
68905
          break;
-
 
68906
        }
-
 
68907
        switch (field.id) {
-
 
68908
          case 1: // USER_ID
-
 
68909
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
68910
              this.userId = iprot.readI64();
-
 
68911
              setUserIdIsSet(true);
-
 
68912
            } else { 
-
 
68913
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68914
            }
-
 
68915
            break;
-
 
68916
          default:
-
 
68917
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68918
        }
-
 
68919
        iprot.readFieldEnd();
-
 
68920
      }
-
 
68921
      iprot.readStructEnd();
-
 
68922
      validate();
-
 
68923
    }
-
 
68924
 
-
 
68925
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
68926
      validate();
-
 
68927
 
-
 
68928
      oprot.writeStructBegin(STRUCT_DESC);
-
 
68929
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
68930
      oprot.writeI64(this.userId);
-
 
68931
      oprot.writeFieldEnd();
-
 
68932
      oprot.writeFieldStop();
-
 
68933
      oprot.writeStructEnd();
-
 
68934
    }
-
 
68935
 
-
 
68936
    @Override
-
 
68937
    public String toString() {
-
 
68938
      StringBuilder sb = new StringBuilder("isTaxInvoiceCounter_args(");
-
 
68939
      boolean first = true;
-
 
68940
 
-
 
68941
      sb.append("userId:");
-
 
68942
      sb.append(this.userId);
-
 
68943
      first = false;
-
 
68944
      sb.append(")");
-
 
68945
      return sb.toString();
-
 
68946
    }
-
 
68947
 
-
 
68948
    public void validate() throws org.apache.thrift.TException {
-
 
68949
      // check for required fields
-
 
68950
    }
-
 
68951
 
-
 
68952
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68953
      try {
-
 
68954
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68955
      } catch (org.apache.thrift.TException te) {
-
 
68956
        throw new java.io.IOException(te);
-
 
68957
      }
-
 
68958
    }
-
 
68959
 
-
 
68960
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68961
      try {
-
 
68962
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68963
        __isset_bit_vector = new BitSet(1);
-
 
68964
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68965
      } catch (org.apache.thrift.TException te) {
-
 
68966
        throw new java.io.IOException(te);
-
 
68967
      }
-
 
68968
    }
-
 
68969
 
-
 
68970
  }
-
 
68971
 
-
 
68972
  public static class isTaxInvoiceCounter_result implements org.apache.thrift.TBase<isTaxInvoiceCounter_result, isTaxInvoiceCounter_result._Fields>, java.io.Serializable, Cloneable   {
-
 
68973
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isTaxInvoiceCounter_result");
-
 
68974
 
-
 
68975
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
68976
 
-
 
68977
    private boolean success; // required
-
 
68978
 
-
 
68979
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68980
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68981
      SUCCESS((short)0, "success");
-
 
68982
 
-
 
68983
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68984
 
-
 
68985
      static {
-
 
68986
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68987
          byName.put(field.getFieldName(), field);
-
 
68988
        }
-
 
68989
      }
-
 
68990
 
-
 
68991
      /**
-
 
68992
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68993
       */
-
 
68994
      public static _Fields findByThriftId(int fieldId) {
-
 
68995
        switch(fieldId) {
-
 
68996
          case 0: // SUCCESS
-
 
68997
            return SUCCESS;
-
 
68998
          default:
-
 
68999
            return null;
-
 
69000
        }
-
 
69001
      }
-
 
69002
 
-
 
69003
      /**
-
 
69004
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69005
       * if it is not found.
-
 
69006
       */
-
 
69007
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69008
        _Fields fields = findByThriftId(fieldId);
-
 
69009
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69010
        return fields;
-
 
69011
      }
-
 
69012
 
-
 
69013
      /**
-
 
69014
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69015
       */
-
 
69016
      public static _Fields findByName(String name) {
-
 
69017
        return byName.get(name);
-
 
69018
      }
-
 
69019
 
-
 
69020
      private final short _thriftId;
-
 
69021
      private final String _fieldName;
-
 
69022
 
-
 
69023
      _Fields(short thriftId, String fieldName) {
-
 
69024
        _thriftId = thriftId;
-
 
69025
        _fieldName = fieldName;
-
 
69026
      }
-
 
69027
 
-
 
69028
      public short getThriftFieldId() {
-
 
69029
        return _thriftId;
-
 
69030
      }
-
 
69031
 
-
 
69032
      public String getFieldName() {
-
 
69033
        return _fieldName;
-
 
69034
      }
-
 
69035
    }
-
 
69036
 
-
 
69037
    // isset id assignments
-
 
69038
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
69039
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
69040
 
-
 
69041
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69042
    static {
-
 
69043
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69044
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69045
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
69046
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69047
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isTaxInvoiceCounter_result.class, metaDataMap);
-
 
69048
    }
-
 
69049
 
-
 
69050
    public isTaxInvoiceCounter_result() {
-
 
69051
    }
-
 
69052
 
-
 
69053
    public isTaxInvoiceCounter_result(
-
 
69054
      boolean success)
-
 
69055
    {
-
 
69056
      this();
-
 
69057
      this.success = success;
-
 
69058
      setSuccessIsSet(true);
-
 
69059
    }
-
 
69060
 
-
 
69061
    /**
-
 
69062
     * Performs a deep copy on <i>other</i>.
-
 
69063
     */
-
 
69064
    public isTaxInvoiceCounter_result(isTaxInvoiceCounter_result other) {
-
 
69065
      __isset_bit_vector.clear();
-
 
69066
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
69067
      this.success = other.success;
-
 
69068
    }
-
 
69069
 
-
 
69070
    public isTaxInvoiceCounter_result deepCopy() {
-
 
69071
      return new isTaxInvoiceCounter_result(this);
-
 
69072
    }
-
 
69073
 
-
 
69074
    @Override
-
 
69075
    public void clear() {
-
 
69076
      setSuccessIsSet(false);
-
 
69077
      this.success = false;
-
 
69078
    }
-
 
69079
 
-
 
69080
    public boolean isSuccess() {
-
 
69081
      return this.success;
-
 
69082
    }
-
 
69083
 
-
 
69084
    public void setSuccess(boolean success) {
-
 
69085
      this.success = success;
-
 
69086
      setSuccessIsSet(true);
-
 
69087
    }
-
 
69088
 
-
 
69089
    public void unsetSuccess() {
-
 
69090
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
69091
    }
-
 
69092
 
-
 
69093
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
69094
    public boolean isSetSuccess() {
-
 
69095
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
69096
    }
-
 
69097
 
-
 
69098
    public void setSuccessIsSet(boolean value) {
-
 
69099
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
69100
    }
-
 
69101
 
-
 
69102
    public void setFieldValue(_Fields field, Object value) {
-
 
69103
      switch (field) {
-
 
69104
      case SUCCESS:
-
 
69105
        if (value == null) {
-
 
69106
          unsetSuccess();
-
 
69107
        } else {
-
 
69108
          setSuccess((Boolean)value);
-
 
69109
        }
-
 
69110
        break;
-
 
69111
 
-
 
69112
      }
-
 
69113
    }
-
 
69114
 
-
 
69115
    public Object getFieldValue(_Fields field) {
-
 
69116
      switch (field) {
-
 
69117
      case SUCCESS:
-
 
69118
        return Boolean.valueOf(isSuccess());
-
 
69119
 
-
 
69120
      }
-
 
69121
      throw new IllegalStateException();
-
 
69122
    }
-
 
69123
 
-
 
69124
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69125
    public boolean isSet(_Fields field) {
-
 
69126
      if (field == null) {
-
 
69127
        throw new IllegalArgumentException();
-
 
69128
      }
-
 
69129
 
-
 
69130
      switch (field) {
-
 
69131
      case SUCCESS:
-
 
69132
        return isSetSuccess();
-
 
69133
      }
-
 
69134
      throw new IllegalStateException();
-
 
69135
    }
-
 
69136
 
-
 
69137
    @Override
-
 
69138
    public boolean equals(Object that) {
-
 
69139
      if (that == null)
-
 
69140
        return false;
-
 
69141
      if (that instanceof isTaxInvoiceCounter_result)
-
 
69142
        return this.equals((isTaxInvoiceCounter_result)that);
-
 
69143
      return false;
-
 
69144
    }
-
 
69145
 
-
 
69146
    public boolean equals(isTaxInvoiceCounter_result that) {
-
 
69147
      if (that == null)
-
 
69148
        return false;
-
 
69149
 
-
 
69150
      boolean this_present_success = true;
-
 
69151
      boolean that_present_success = true;
-
 
69152
      if (this_present_success || that_present_success) {
-
 
69153
        if (!(this_present_success && that_present_success))
-
 
69154
          return false;
-
 
69155
        if (this.success != that.success)
-
 
69156
          return false;
-
 
69157
      }
-
 
69158
 
-
 
69159
      return true;
-
 
69160
    }
-
 
69161
 
-
 
69162
    @Override
-
 
69163
    public int hashCode() {
-
 
69164
      return 0;
-
 
69165
    }
-
 
69166
 
-
 
69167
    public int compareTo(isTaxInvoiceCounter_result other) {
-
 
69168
      if (!getClass().equals(other.getClass())) {
-
 
69169
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69170
      }
-
 
69171
 
-
 
69172
      int lastComparison = 0;
-
 
69173
      isTaxInvoiceCounter_result typedOther = (isTaxInvoiceCounter_result)other;
-
 
69174
 
-
 
69175
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
69176
      if (lastComparison != 0) {
-
 
69177
        return lastComparison;
-
 
69178
      }
-
 
69179
      if (isSetSuccess()) {
-
 
69180
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
69181
        if (lastComparison != 0) {
-
 
69182
          return lastComparison;
-
 
69183
        }
-
 
69184
      }
-
 
69185
      return 0;
-
 
69186
    }
-
 
69187
 
-
 
69188
    public _Fields fieldForId(int fieldId) {
-
 
69189
      return _Fields.findByThriftId(fieldId);
-
 
69190
    }
-
 
69191
 
-
 
69192
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69193
      org.apache.thrift.protocol.TField field;
-
 
69194
      iprot.readStructBegin();
-
 
69195
      while (true)
-
 
69196
      {
-
 
69197
        field = iprot.readFieldBegin();
-
 
69198
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69199
          break;
-
 
69200
        }
-
 
69201
        switch (field.id) {
-
 
69202
          case 0: // SUCCESS
-
 
69203
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
69204
              this.success = iprot.readBool();
-
 
69205
              setSuccessIsSet(true);
-
 
69206
            } else { 
-
 
69207
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69208
            }
-
 
69209
            break;
-
 
69210
          default:
-
 
69211
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69212
        }
-
 
69213
        iprot.readFieldEnd();
-
 
69214
      }
-
 
69215
      iprot.readStructEnd();
-
 
69216
      validate();
-
 
69217
    }
-
 
69218
 
-
 
69219
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69220
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69221
 
-
 
69222
      if (this.isSetSuccess()) {
-
 
69223
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
69224
        oprot.writeBool(this.success);
-
 
69225
        oprot.writeFieldEnd();
-
 
69226
      }
-
 
69227
      oprot.writeFieldStop();
-
 
69228
      oprot.writeStructEnd();
-
 
69229
    }
-
 
69230
 
-
 
69231
    @Override
-
 
69232
    public String toString() {
-
 
69233
      StringBuilder sb = new StringBuilder("isTaxInvoiceCounter_result(");
-
 
69234
      boolean first = true;
-
 
69235
 
-
 
69236
      sb.append("success:");
-
 
69237
      sb.append(this.success);
-
 
69238
      first = false;
-
 
69239
      sb.append(")");
-
 
69240
      return sb.toString();
-
 
69241
    }
-
 
69242
 
-
 
69243
    public void validate() throws org.apache.thrift.TException {
-
 
69244
      // check for required fields
-
 
69245
    }
-
 
69246
 
-
 
69247
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69248
      try {
-
 
69249
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69250
      } catch (org.apache.thrift.TException te) {
-
 
69251
        throw new java.io.IOException(te);
-
 
69252
      }
-
 
69253
    }
-
 
69254
 
-
 
69255
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69256
      try {
-
 
69257
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69258
      } catch (org.apache.thrift.TException te) {
-
 
69259
        throw new java.io.IOException(te);
-
 
69260
      }
-
 
69261
    }
-
 
69262
 
-
 
69263
  }
-
 
69264
 
-
 
69265
  public static class getBillingAddressForUser_args implements org.apache.thrift.TBase<getBillingAddressForUser_args, getBillingAddressForUser_args._Fields>, java.io.Serializable, Cloneable   {
-
 
69266
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBillingAddressForUser_args");
-
 
69267
 
-
 
69268
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
69269
 
-
 
69270
    private long userId; // required
-
 
69271
 
-
 
69272
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69273
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69274
      USER_ID((short)1, "userId");
-
 
69275
 
-
 
69276
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69277
 
-
 
69278
      static {
-
 
69279
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69280
          byName.put(field.getFieldName(), field);
-
 
69281
        }
-
 
69282
      }
-
 
69283
 
-
 
69284
      /**
-
 
69285
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69286
       */
-
 
69287
      public static _Fields findByThriftId(int fieldId) {
-
 
69288
        switch(fieldId) {
-
 
69289
          case 1: // USER_ID
-
 
69290
            return USER_ID;
-
 
69291
          default:
-
 
69292
            return null;
-
 
69293
        }
-
 
69294
      }
-
 
69295
 
-
 
69296
      /**
-
 
69297
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69298
       * if it is not found.
-
 
69299
       */
-
 
69300
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69301
        _Fields fields = findByThriftId(fieldId);
-
 
69302
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69303
        return fields;
-
 
69304
      }
-
 
69305
 
-
 
69306
      /**
-
 
69307
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69308
       */
-
 
69309
      public static _Fields findByName(String name) {
-
 
69310
        return byName.get(name);
-
 
69311
      }
-
 
69312
 
-
 
69313
      private final short _thriftId;
-
 
69314
      private final String _fieldName;
-
 
69315
 
-
 
69316
      _Fields(short thriftId, String fieldName) {
-
 
69317
        _thriftId = thriftId;
-
 
69318
        _fieldName = fieldName;
-
 
69319
      }
-
 
69320
 
-
 
69321
      public short getThriftFieldId() {
-
 
69322
        return _thriftId;
-
 
69323
      }
-
 
69324
 
-
 
69325
      public String getFieldName() {
-
 
69326
        return _fieldName;
-
 
69327
      }
-
 
69328
    }
-
 
69329
 
-
 
69330
    // isset id assignments
-
 
69331
    private static final int __USERID_ISSET_ID = 0;
-
 
69332
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
69333
 
-
 
69334
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69335
    static {
-
 
69336
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69337
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69338
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
69339
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69340
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBillingAddressForUser_args.class, metaDataMap);
-
 
69341
    }
-
 
69342
 
-
 
69343
    public getBillingAddressForUser_args() {
-
 
69344
    }
-
 
69345
 
-
 
69346
    public getBillingAddressForUser_args(
-
 
69347
      long userId)
-
 
69348
    {
-
 
69349
      this();
-
 
69350
      this.userId = userId;
-
 
69351
      setUserIdIsSet(true);
-
 
69352
    }
-
 
69353
 
-
 
69354
    /**
-
 
69355
     * Performs a deep copy on <i>other</i>.
-
 
69356
     */
-
 
69357
    public getBillingAddressForUser_args(getBillingAddressForUser_args other) {
-
 
69358
      __isset_bit_vector.clear();
-
 
69359
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
69360
      this.userId = other.userId;
-
 
69361
    }
-
 
69362
 
-
 
69363
    public getBillingAddressForUser_args deepCopy() {
-
 
69364
      return new getBillingAddressForUser_args(this);
-
 
69365
    }
-
 
69366
 
-
 
69367
    @Override
-
 
69368
    public void clear() {
-
 
69369
      setUserIdIsSet(false);
-
 
69370
      this.userId = 0;
-
 
69371
    }
-
 
69372
 
-
 
69373
    public long getUserId() {
-
 
69374
      return this.userId;
-
 
69375
    }
-
 
69376
 
-
 
69377
    public void setUserId(long userId) {
-
 
69378
      this.userId = userId;
-
 
69379
      setUserIdIsSet(true);
-
 
69380
    }
-
 
69381
 
-
 
69382
    public void unsetUserId() {
-
 
69383
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
69384
    }
-
 
69385
 
-
 
69386
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
69387
    public boolean isSetUserId() {
-
 
69388
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
69389
    }
-
 
69390
 
-
 
69391
    public void setUserIdIsSet(boolean value) {
-
 
69392
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
69393
    }
-
 
69394
 
-
 
69395
    public void setFieldValue(_Fields field, Object value) {
-
 
69396
      switch (field) {
-
 
69397
      case USER_ID:
-
 
69398
        if (value == null) {
-
 
69399
          unsetUserId();
-
 
69400
        } else {
-
 
69401
          setUserId((Long)value);
-
 
69402
        }
-
 
69403
        break;
-
 
69404
 
-
 
69405
      }
-
 
69406
    }
-
 
69407
 
-
 
69408
    public Object getFieldValue(_Fields field) {
-
 
69409
      switch (field) {
-
 
69410
      case USER_ID:
-
 
69411
        return Long.valueOf(getUserId());
-
 
69412
 
-
 
69413
      }
-
 
69414
      throw new IllegalStateException();
-
 
69415
    }
-
 
69416
 
-
 
69417
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69418
    public boolean isSet(_Fields field) {
-
 
69419
      if (field == null) {
-
 
69420
        throw new IllegalArgumentException();
-
 
69421
      }
-
 
69422
 
-
 
69423
      switch (field) {
-
 
69424
      case USER_ID:
-
 
69425
        return isSetUserId();
-
 
69426
      }
-
 
69427
      throw new IllegalStateException();
-
 
69428
    }
-
 
69429
 
-
 
69430
    @Override
-
 
69431
    public boolean equals(Object that) {
-
 
69432
      if (that == null)
-
 
69433
        return false;
-
 
69434
      if (that instanceof getBillingAddressForUser_args)
-
 
69435
        return this.equals((getBillingAddressForUser_args)that);
-
 
69436
      return false;
-
 
69437
    }
-
 
69438
 
-
 
69439
    public boolean equals(getBillingAddressForUser_args that) {
-
 
69440
      if (that == null)
-
 
69441
        return false;
-
 
69442
 
-
 
69443
      boolean this_present_userId = true;
-
 
69444
      boolean that_present_userId = true;
-
 
69445
      if (this_present_userId || that_present_userId) {
-
 
69446
        if (!(this_present_userId && that_present_userId))
-
 
69447
          return false;
-
 
69448
        if (this.userId != that.userId)
-
 
69449
          return false;
-
 
69450
      }
-
 
69451
 
-
 
69452
      return true;
-
 
69453
    }
-
 
69454
 
-
 
69455
    @Override
-
 
69456
    public int hashCode() {
-
 
69457
      return 0;
-
 
69458
    }
-
 
69459
 
-
 
69460
    public int compareTo(getBillingAddressForUser_args other) {
-
 
69461
      if (!getClass().equals(other.getClass())) {
-
 
69462
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69463
      }
-
 
69464
 
-
 
69465
      int lastComparison = 0;
-
 
69466
      getBillingAddressForUser_args typedOther = (getBillingAddressForUser_args)other;
-
 
69467
 
-
 
69468
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
69469
      if (lastComparison != 0) {
-
 
69470
        return lastComparison;
-
 
69471
      }
-
 
69472
      if (isSetUserId()) {
-
 
69473
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
69474
        if (lastComparison != 0) {
-
 
69475
          return lastComparison;
-
 
69476
        }
-
 
69477
      }
-
 
69478
      return 0;
-
 
69479
    }
-
 
69480
 
-
 
69481
    public _Fields fieldForId(int fieldId) {
-
 
69482
      return _Fields.findByThriftId(fieldId);
-
 
69483
    }
-
 
69484
 
-
 
69485
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69486
      org.apache.thrift.protocol.TField field;
-
 
69487
      iprot.readStructBegin();
-
 
69488
      while (true)
-
 
69489
      {
-
 
69490
        field = iprot.readFieldBegin();
-
 
69491
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69492
          break;
-
 
69493
        }
-
 
69494
        switch (field.id) {
-
 
69495
          case 1: // USER_ID
-
 
69496
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
69497
              this.userId = iprot.readI64();
-
 
69498
              setUserIdIsSet(true);
-
 
69499
            } else { 
-
 
69500
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69501
            }
-
 
69502
            break;
-
 
69503
          default:
-
 
69504
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69505
        }
-
 
69506
        iprot.readFieldEnd();
-
 
69507
      }
-
 
69508
      iprot.readStructEnd();
-
 
69509
      validate();
-
 
69510
    }
-
 
69511
 
-
 
69512
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69513
      validate();
-
 
69514
 
-
 
69515
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69516
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
69517
      oprot.writeI64(this.userId);
-
 
69518
      oprot.writeFieldEnd();
-
 
69519
      oprot.writeFieldStop();
-
 
69520
      oprot.writeStructEnd();
-
 
69521
    }
-
 
69522
 
-
 
69523
    @Override
-
 
69524
    public String toString() {
-
 
69525
      StringBuilder sb = new StringBuilder("getBillingAddressForUser_args(");
-
 
69526
      boolean first = true;
-
 
69527
 
-
 
69528
      sb.append("userId:");
-
 
69529
      sb.append(this.userId);
-
 
69530
      first = false;
-
 
69531
      sb.append(")");
-
 
69532
      return sb.toString();
-
 
69533
    }
-
 
69534
 
-
 
69535
    public void validate() throws org.apache.thrift.TException {
-
 
69536
      // check for required fields
-
 
69537
    }
-
 
69538
 
-
 
69539
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69540
      try {
-
 
69541
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69542
      } catch (org.apache.thrift.TException te) {
-
 
69543
        throw new java.io.IOException(te);
-
 
69544
      }
-
 
69545
    }
-
 
69546
 
-
 
69547
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69548
      try {
-
 
69549
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
69550
        __isset_bit_vector = new BitSet(1);
-
 
69551
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69552
      } catch (org.apache.thrift.TException te) {
-
 
69553
        throw new java.io.IOException(te);
-
 
69554
      }
-
 
69555
    }
-
 
69556
 
-
 
69557
  }
-
 
69558
 
-
 
69559
  public static class getBillingAddressForUser_result implements org.apache.thrift.TBase<getBillingAddressForUser_result, getBillingAddressForUser_result._Fields>, java.io.Serializable, Cloneable   {
-
 
69560
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBillingAddressForUser_result");
-
 
69561
 
-
 
69562
    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);
-
 
69563
 
-
 
69564
    private Address success; // required
-
 
69565
 
-
 
69566
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69567
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69568
      SUCCESS((short)0, "success");
-
 
69569
 
-
 
69570
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69571
 
-
 
69572
      static {
-
 
69573
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69574
          byName.put(field.getFieldName(), field);
-
 
69575
        }
-
 
69576
      }
-
 
69577
 
-
 
69578
      /**
-
 
69579
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69580
       */
-
 
69581
      public static _Fields findByThriftId(int fieldId) {
-
 
69582
        switch(fieldId) {
-
 
69583
          case 0: // SUCCESS
-
 
69584
            return SUCCESS;
-
 
69585
          default:
-
 
69586
            return null;
-
 
69587
        }
-
 
69588
      }
-
 
69589
 
-
 
69590
      /**
-
 
69591
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69592
       * if it is not found.
-
 
69593
       */
-
 
69594
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69595
        _Fields fields = findByThriftId(fieldId);
-
 
69596
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69597
        return fields;
-
 
69598
      }
-
 
69599
 
-
 
69600
      /**
-
 
69601
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69602
       */
-
 
69603
      public static _Fields findByName(String name) {
-
 
69604
        return byName.get(name);
-
 
69605
      }
-
 
69606
 
-
 
69607
      private final short _thriftId;
-
 
69608
      private final String _fieldName;
-
 
69609
 
-
 
69610
      _Fields(short thriftId, String fieldName) {
-
 
69611
        _thriftId = thriftId;
-
 
69612
        _fieldName = fieldName;
-
 
69613
      }
-
 
69614
 
-
 
69615
      public short getThriftFieldId() {
-
 
69616
        return _thriftId;
-
 
69617
      }
-
 
69618
 
-
 
69619
      public String getFieldName() {
-
 
69620
        return _fieldName;
-
 
69621
      }
-
 
69622
    }
-
 
69623
 
-
 
69624
    // isset id assignments
-
 
69625
 
-
 
69626
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69627
    static {
-
 
69628
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69629
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69630
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Address.class)));
-
 
69631
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69632
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBillingAddressForUser_result.class, metaDataMap);
-
 
69633
    }
-
 
69634
 
-
 
69635
    public getBillingAddressForUser_result() {
-
 
69636
    }
-
 
69637
 
-
 
69638
    public getBillingAddressForUser_result(
-
 
69639
      Address success)
-
 
69640
    {
-
 
69641
      this();
-
 
69642
      this.success = success;
-
 
69643
    }
-
 
69644
 
-
 
69645
    /**
-
 
69646
     * Performs a deep copy on <i>other</i>.
-
 
69647
     */
-
 
69648
    public getBillingAddressForUser_result(getBillingAddressForUser_result other) {
-
 
69649
      if (other.isSetSuccess()) {
-
 
69650
        this.success = new Address(other.success);
-
 
69651
      }
-
 
69652
    }
-
 
69653
 
-
 
69654
    public getBillingAddressForUser_result deepCopy() {
-
 
69655
      return new getBillingAddressForUser_result(this);
-
 
69656
    }
-
 
69657
 
-
 
69658
    @Override
-
 
69659
    public void clear() {
-
 
69660
      this.success = null;
-
 
69661
    }
-
 
69662
 
-
 
69663
    public Address getSuccess() {
-
 
69664
      return this.success;
-
 
69665
    }
-
 
69666
 
-
 
69667
    public void setSuccess(Address success) {
-
 
69668
      this.success = success;
-
 
69669
    }
-
 
69670
 
-
 
69671
    public void unsetSuccess() {
-
 
69672
      this.success = null;
-
 
69673
    }
-
 
69674
 
-
 
69675
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
69676
    public boolean isSetSuccess() {
-
 
69677
      return this.success != null;
-
 
69678
    }
-
 
69679
 
-
 
69680
    public void setSuccessIsSet(boolean value) {
-
 
69681
      if (!value) {
-
 
69682
        this.success = null;
-
 
69683
      }
-
 
69684
    }
-
 
69685
 
-
 
69686
    public void setFieldValue(_Fields field, Object value) {
-
 
69687
      switch (field) {
-
 
69688
      case SUCCESS:
-
 
69689
        if (value == null) {
-
 
69690
          unsetSuccess();
-
 
69691
        } else {
-
 
69692
          setSuccess((Address)value);
-
 
69693
        }
-
 
69694
        break;
-
 
69695
 
-
 
69696
      }
-
 
69697
    }
-
 
69698
 
-
 
69699
    public Object getFieldValue(_Fields field) {
-
 
69700
      switch (field) {
-
 
69701
      case SUCCESS:
-
 
69702
        return getSuccess();
-
 
69703
 
-
 
69704
      }
-
 
69705
      throw new IllegalStateException();
-
 
69706
    }
-
 
69707
 
-
 
69708
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69709
    public boolean isSet(_Fields field) {
-
 
69710
      if (field == null) {
-
 
69711
        throw new IllegalArgumentException();
-
 
69712
      }
-
 
69713
 
-
 
69714
      switch (field) {
-
 
69715
      case SUCCESS:
-
 
69716
        return isSetSuccess();
-
 
69717
      }
-
 
69718
      throw new IllegalStateException();
-
 
69719
    }
-
 
69720
 
-
 
69721
    @Override
-
 
69722
    public boolean equals(Object that) {
-
 
69723
      if (that == null)
-
 
69724
        return false;
-
 
69725
      if (that instanceof getBillingAddressForUser_result)
-
 
69726
        return this.equals((getBillingAddressForUser_result)that);
-
 
69727
      return false;
-
 
69728
    }
-
 
69729
 
-
 
69730
    public boolean equals(getBillingAddressForUser_result that) {
-
 
69731
      if (that == null)
-
 
69732
        return false;
-
 
69733
 
-
 
69734
      boolean this_present_success = true && this.isSetSuccess();
-
 
69735
      boolean that_present_success = true && that.isSetSuccess();
-
 
69736
      if (this_present_success || that_present_success) {
-
 
69737
        if (!(this_present_success && that_present_success))
-
 
69738
          return false;
-
 
69739
        if (!this.success.equals(that.success))
-
 
69740
          return false;
-
 
69741
      }
-
 
69742
 
-
 
69743
      return true;
-
 
69744
    }
-
 
69745
 
-
 
69746
    @Override
-
 
69747
    public int hashCode() {
-
 
69748
      return 0;
-
 
69749
    }
-
 
69750
 
-
 
69751
    public int compareTo(getBillingAddressForUser_result other) {
-
 
69752
      if (!getClass().equals(other.getClass())) {
-
 
69753
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69754
      }
-
 
69755
 
-
 
69756
      int lastComparison = 0;
-
 
69757
      getBillingAddressForUser_result typedOther = (getBillingAddressForUser_result)other;
-
 
69758
 
-
 
69759
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
69760
      if (lastComparison != 0) {
-
 
69761
        return lastComparison;
-
 
69762
      }
-
 
69763
      if (isSetSuccess()) {
-
 
69764
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
69765
        if (lastComparison != 0) {
-
 
69766
          return lastComparison;
-
 
69767
        }
-
 
69768
      }
-
 
69769
      return 0;
-
 
69770
    }
-
 
69771
 
-
 
69772
    public _Fields fieldForId(int fieldId) {
-
 
69773
      return _Fields.findByThriftId(fieldId);
-
 
69774
    }
-
 
69775
 
-
 
69776
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69777
      org.apache.thrift.protocol.TField field;
-
 
69778
      iprot.readStructBegin();
-
 
69779
      while (true)
-
 
69780
      {
-
 
69781
        field = iprot.readFieldBegin();
-
 
69782
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69783
          break;
-
 
69784
        }
-
 
69785
        switch (field.id) {
-
 
69786
          case 0: // SUCCESS
-
 
69787
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
69788
              this.success = new Address();
-
 
69789
              this.success.read(iprot);
-
 
69790
            } else { 
-
 
69791
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69792
            }
-
 
69793
            break;
-
 
69794
          default:
-
 
69795
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69796
        }
-
 
69797
        iprot.readFieldEnd();
-
 
69798
      }
-
 
69799
      iprot.readStructEnd();
-
 
69800
      validate();
-
 
69801
    }
-
 
69802
 
-
 
69803
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69804
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69805
 
-
 
69806
      if (this.isSetSuccess()) {
-
 
69807
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
69808
        this.success.write(oprot);
-
 
69809
        oprot.writeFieldEnd();
-
 
69810
      }
-
 
69811
      oprot.writeFieldStop();
-
 
69812
      oprot.writeStructEnd();
-
 
69813
    }
-
 
69814
 
-
 
69815
    @Override
-
 
69816
    public String toString() {
-
 
69817
      StringBuilder sb = new StringBuilder("getBillingAddressForUser_result(");
-
 
69818
      boolean first = true;
-
 
69819
 
-
 
69820
      sb.append("success:");
-
 
69821
      if (this.success == null) {
-
 
69822
        sb.append("null");
68497
      } else {
69823
      } else {
68498
        sb.append(this.success);
69824
        sb.append(this.success);
68499
      }
69825
      }
68500
      first = false;
69826
      first = false;
68501
      sb.append(")");
69827
      sb.append(")");