Subversion Repositories SmartDukaan

Rev

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

Rev 4693 Rev 4806
Line 142... Line 142...
142
 
142
 
143
    public List<String> getRoleNamesForAgent(String agentEmailId) throws org.apache.thrift.TException;
143
    public List<String> getRoleNamesForAgent(String agentEmailId) throws org.apache.thrift.TException;
144
 
144
 
145
    public List<String> getPermissionsForRoleName(String roleName) throws org.apache.thrift.TException;
145
    public List<String> getPermissionsForRoleName(String roleName) throws org.apache.thrift.TException;
146
 
146
 
-
 
147
    public void saveQuickLink(String url, String text) throws HelperServiceException, org.apache.thrift.TException;
-
 
148
 
-
 
149
    public List<QuickLink> getQuickLinks() throws HelperServiceException, org.apache.thrift.TException;
-
 
150
 
147
  }
151
  }
148
 
152
 
149
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
153
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
150
 
154
 
151
    public void saveUserEmailForSending(String emailTo, String emailFrom, String subject, String body, String source, String emailType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveUserEmailForSending_call> resultHandler) throws org.apache.thrift.TException;
155
    public void saveUserEmailForSending(String emailTo, String emailFrom, String subject, String body, String source, String emailType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveUserEmailForSending_call> resultHandler) throws org.apache.thrift.TException;
Line 194... Line 198...
194
 
198
 
195
    public void getRoleNamesForAgent(String agentEmailId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRoleNamesForAgent_call> resultHandler) throws org.apache.thrift.TException;
199
    public void getRoleNamesForAgent(String agentEmailId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRoleNamesForAgent_call> resultHandler) throws org.apache.thrift.TException;
196
 
200
 
197
    public void getPermissionsForRoleName(String roleName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPermissionsForRoleName_call> resultHandler) throws org.apache.thrift.TException;
201
    public void getPermissionsForRoleName(String roleName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPermissionsForRoleName_call> resultHandler) throws org.apache.thrift.TException;
198
 
202
 
-
 
203
    public void saveQuickLink(String url, String text, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveQuickLink_call> resultHandler) throws org.apache.thrift.TException;
-
 
204
 
-
 
205
    public void getQuickLinks(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getQuickLinks_call> resultHandler) throws org.apache.thrift.TException;
-
 
206
 
199
  }
207
  }
200
 
208
 
201
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
209
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
202
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
210
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
203
      public Factory() {}
211
      public Factory() {}
Line 819... Line 827...
819
        return result.success;
827
        return result.success;
820
      }
828
      }
821
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPermissionsForRoleName failed: unknown result");
829
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPermissionsForRoleName failed: unknown result");
822
    }
830
    }
823
 
831
 
-
 
832
    public void saveQuickLink(String url, String text) throws HelperServiceException, org.apache.thrift.TException
-
 
833
    {
-
 
834
      send_saveQuickLink(url, text);
-
 
835
      recv_saveQuickLink();
-
 
836
    }
-
 
837
 
-
 
838
    public void send_saveQuickLink(String url, String text) throws org.apache.thrift.TException
-
 
839
    {
-
 
840
      saveQuickLink_args args = new saveQuickLink_args();
-
 
841
      args.setUrl(url);
-
 
842
      args.setText(text);
-
 
843
      sendBase("saveQuickLink", args);
-
 
844
    }
-
 
845
 
-
 
846
    public void recv_saveQuickLink() throws HelperServiceException, org.apache.thrift.TException
-
 
847
    {
-
 
848
      saveQuickLink_result result = new saveQuickLink_result();
-
 
849
      receiveBase(result, "saveQuickLink");
-
 
850
      if (result.hse != null) {
-
 
851
        throw result.hse;
-
 
852
      }
-
 
853
      return;
-
 
854
    }
-
 
855
 
-
 
856
    public List<QuickLink> getQuickLinks() throws HelperServiceException, org.apache.thrift.TException
-
 
857
    {
-
 
858
      send_getQuickLinks();
-
 
859
      return recv_getQuickLinks();
-
 
860
    }
-
 
861
 
-
 
862
    public void send_getQuickLinks() throws org.apache.thrift.TException
-
 
863
    {
-
 
864
      getQuickLinks_args args = new getQuickLinks_args();
-
 
865
      sendBase("getQuickLinks", args);
-
 
866
    }
-
 
867
 
-
 
868
    public List<QuickLink> recv_getQuickLinks() throws HelperServiceException, org.apache.thrift.TException
-
 
869
    {
-
 
870
      getQuickLinks_result result = new getQuickLinks_result();
-
 
871
      receiveBase(result, "getQuickLinks");
-
 
872
      if (result.isSetSuccess()) {
-
 
873
        return result.success;
-
 
874
      }
-
 
875
      if (result.hse != null) {
-
 
876
        throw result.hse;
-
 
877
      }
-
 
878
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getQuickLinks failed: unknown result");
-
 
879
    }
-
 
880
 
824
  }
881
  }
825
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
882
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
826
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
883
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
827
      private org.apache.thrift.async.TAsyncClientManager clientManager;
884
      private org.apache.thrift.async.TAsyncClientManager clientManager;
828
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
885
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 1659... Line 1716...
1659
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1716
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
1660
        return (new Client(prot)).recv_getPermissionsForRoleName();
1717
        return (new Client(prot)).recv_getPermissionsForRoleName();
1661
      }
1718
      }
1662
    }
1719
    }
1663
 
1720
 
-
 
1721
    public void saveQuickLink(String url, String text, org.apache.thrift.async.AsyncMethodCallback<saveQuickLink_call> resultHandler) throws org.apache.thrift.TException {
-
 
1722
      checkReady();
-
 
1723
      saveQuickLink_call method_call = new saveQuickLink_call(url, text, resultHandler, this, ___protocolFactory, ___transport);
-
 
1724
      this.___currentMethod = method_call;
-
 
1725
      ___manager.call(method_call);
-
 
1726
    }
-
 
1727
 
-
 
1728
    public static class saveQuickLink_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
1729
      private String url;
-
 
1730
      private String text;
-
 
1731
      public saveQuickLink_call(String url, String text, org.apache.thrift.async.AsyncMethodCallback<saveQuickLink_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 {
-
 
1732
        super(client, protocolFactory, transport, resultHandler, false);
-
 
1733
        this.url = url;
-
 
1734
        this.text = text;
-
 
1735
      }
-
 
1736
 
-
 
1737
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
1738
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("saveQuickLink", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
1739
        saveQuickLink_args args = new saveQuickLink_args();
-
 
1740
        args.setUrl(url);
-
 
1741
        args.setText(text);
-
 
1742
        args.write(prot);
-
 
1743
        prot.writeMessageEnd();
-
 
1744
      }
-
 
1745
 
-
 
1746
      public void getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
1747
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
1748
          throw new IllegalStateException("Method call not finished!");
-
 
1749
        }
-
 
1750
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
1751
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
1752
        (new Client(prot)).recv_saveQuickLink();
-
 
1753
      }
-
 
1754
    }
-
 
1755
 
-
 
1756
    public void getQuickLinks(org.apache.thrift.async.AsyncMethodCallback<getQuickLinks_call> resultHandler) throws org.apache.thrift.TException {
-
 
1757
      checkReady();
-
 
1758
      getQuickLinks_call method_call = new getQuickLinks_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
1759
      this.___currentMethod = method_call;
-
 
1760
      ___manager.call(method_call);
-
 
1761
    }
-
 
1762
 
-
 
1763
    public static class getQuickLinks_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
1764
      public getQuickLinks_call(org.apache.thrift.async.AsyncMethodCallback<getQuickLinks_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 {
-
 
1765
        super(client, protocolFactory, transport, resultHandler, false);
-
 
1766
      }
-
 
1767
 
-
 
1768
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
1769
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getQuickLinks", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
1770
        getQuickLinks_args args = new getQuickLinks_args();
-
 
1771
        args.write(prot);
-
 
1772
        prot.writeMessageEnd();
-
 
1773
      }
-
 
1774
 
-
 
1775
      public List<QuickLink> getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
1776
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
1777
          throw new IllegalStateException("Method call not finished!");
-
 
1778
        }
-
 
1779
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
1780
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
1781
        return (new Client(prot)).recv_getQuickLinks();
-
 
1782
      }
-
 
1783
    }
-
 
1784
 
1664
  }
1785
  }
1665
 
1786
 
1666
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1787
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
1667
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1788
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
1668
    public Processor(I iface) {
1789
    public Processor(I iface) {
Line 1696... Line 1817...
1696
      processMap.put("getAgents", new getAgents());
1817
      processMap.put("getAgents", new getAgents());
1697
      processMap.put("validateLogIn", new validateLogIn());
1818
      processMap.put("validateLogIn", new validateLogIn());
1698
      processMap.put("updatePasswordForAgent", new updatePasswordForAgent());
1819
      processMap.put("updatePasswordForAgent", new updatePasswordForAgent());
1699
      processMap.put("getRoleNamesForAgent", new getRoleNamesForAgent());
1820
      processMap.put("getRoleNamesForAgent", new getRoleNamesForAgent());
1700
      processMap.put("getPermissionsForRoleName", new getPermissionsForRoleName());
1821
      processMap.put("getPermissionsForRoleName", new getPermissionsForRoleName());
-
 
1822
      processMap.put("saveQuickLink", new saveQuickLink());
-
 
1823
      processMap.put("getQuickLinks", new getQuickLinks());
1701
      return processMap;
1824
      return processMap;
1702
    }
1825
    }
1703
 
1826
 
1704
    private static class saveUserEmailForSending<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveUserEmailForSending_args> {
1827
    private static class saveUserEmailForSending<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveUserEmailForSending_args> {
1705
      public saveUserEmailForSending() {
1828
      public saveUserEmailForSending() {
Line 2160... Line 2283...
2160
        result.success = iface.getPermissionsForRoleName(args.roleName);
2283
        result.success = iface.getPermissionsForRoleName(args.roleName);
2161
        return result;
2284
        return result;
2162
      }
2285
      }
2163
    }
2286
    }
2164
 
2287
 
-
 
2288
    private static class saveQuickLink<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveQuickLink_args> {
-
 
2289
      public saveQuickLink() {
-
 
2290
        super("saveQuickLink");
-
 
2291
      }
-
 
2292
 
-
 
2293
      protected saveQuickLink_args getEmptyArgsInstance() {
-
 
2294
        return new saveQuickLink_args();
-
 
2295
      }
-
 
2296
 
-
 
2297
      protected saveQuickLink_result getResult(I iface, saveQuickLink_args args) throws org.apache.thrift.TException {
-
 
2298
        saveQuickLink_result result = new saveQuickLink_result();
-
 
2299
        try {
-
 
2300
          iface.saveQuickLink(args.url, args.text);
-
 
2301
        } catch (HelperServiceException hse) {
-
 
2302
          result.hse = hse;
-
 
2303
        }
-
 
2304
        return result;
-
 
2305
      }
-
 
2306
    }
-
 
2307
 
-
 
2308
    private static class getQuickLinks<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getQuickLinks_args> {
-
 
2309
      public getQuickLinks() {
-
 
2310
        super("getQuickLinks");
-
 
2311
      }
-
 
2312
 
-
 
2313
      protected getQuickLinks_args getEmptyArgsInstance() {
-
 
2314
        return new getQuickLinks_args();
-
 
2315
      }
-
 
2316
 
-
 
2317
      protected getQuickLinks_result getResult(I iface, getQuickLinks_args args) throws org.apache.thrift.TException {
-
 
2318
        getQuickLinks_result result = new getQuickLinks_result();
-
 
2319
        try {
-
 
2320
          result.success = iface.getQuickLinks();
-
 
2321
        } catch (HelperServiceException hse) {
-
 
2322
          result.hse = hse;
-
 
2323
        }
-
 
2324
        return result;
-
 
2325
      }
-
 
2326
    }
-
 
2327
 
2165
  }
2328
  }
2166
 
2329
 
2167
  public static class saveUserEmailForSending_args implements org.apache.thrift.TBase<saveUserEmailForSending_args, saveUserEmailForSending_args._Fields>, java.io.Serializable, Cloneable   {
2330
  public static class saveUserEmailForSending_args implements org.apache.thrift.TBase<saveUserEmailForSending_args, saveUserEmailForSending_args._Fields>, java.io.Serializable, Cloneable   {
2168
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveUserEmailForSending_args");
2331
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveUserEmailForSending_args");
2169
 
2332
 
Line 19045... Line 19208...
19045
      }
19208
      }
19046
      first = false;
19209
      first = false;
19047
      sb.append(")");
19210
      sb.append(")");
19048
      return sb.toString();
19211
      return sb.toString();
19049
    }
19212
    }
-
 
19213
 
-
 
19214
    public void validate() throws org.apache.thrift.TException {
-
 
19215
      // check for required fields
-
 
19216
    }
-
 
19217
 
-
 
19218
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
19219
      try {
-
 
19220
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
19221
      } catch (org.apache.thrift.TException te) {
-
 
19222
        throw new java.io.IOException(te);
-
 
19223
      }
-
 
19224
    }
-
 
19225
 
-
 
19226
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
19227
      try {
-
 
19228
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
19229
      } catch (org.apache.thrift.TException te) {
-
 
19230
        throw new java.io.IOException(te);
-
 
19231
      }
-
 
19232
    }
-
 
19233
 
-
 
19234
  }
-
 
19235
 
-
 
19236
  public static class saveQuickLink_args implements org.apache.thrift.TBase<saveQuickLink_args, saveQuickLink_args._Fields>, java.io.Serializable, Cloneable   {
-
 
19237
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveQuickLink_args");
-
 
19238
 
-
 
19239
    private static final org.apache.thrift.protocol.TField URL_FIELD_DESC = new org.apache.thrift.protocol.TField("url", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
19240
    private static final org.apache.thrift.protocol.TField TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("text", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
19241
 
-
 
19242
    private String url; // required
-
 
19243
    private String text; // required
-
 
19244
 
-
 
19245
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
19246
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
19247
      URL((short)1, "url"),
-
 
19248
      TEXT((short)2, "text");
-
 
19249
 
-
 
19250
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
19251
 
-
 
19252
      static {
-
 
19253
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
19254
          byName.put(field.getFieldName(), field);
-
 
19255
        }
-
 
19256
      }
-
 
19257
 
-
 
19258
      /**
-
 
19259
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
19260
       */
-
 
19261
      public static _Fields findByThriftId(int fieldId) {
-
 
19262
        switch(fieldId) {
-
 
19263
          case 1: // URL
-
 
19264
            return URL;
-
 
19265
          case 2: // TEXT
-
 
19266
            return TEXT;
-
 
19267
          default:
-
 
19268
            return null;
-
 
19269
        }
-
 
19270
      }
-
 
19271
 
-
 
19272
      /**
-
 
19273
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
19274
       * if it is not found.
-
 
19275
       */
-
 
19276
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
19277
        _Fields fields = findByThriftId(fieldId);
-
 
19278
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
19279
        return fields;
-
 
19280
      }
-
 
19281
 
-
 
19282
      /**
-
 
19283
       * Find the _Fields constant that matches name, or null if its not found.
-
 
19284
       */
-
 
19285
      public static _Fields findByName(String name) {
-
 
19286
        return byName.get(name);
-
 
19287
      }
-
 
19288
 
-
 
19289
      private final short _thriftId;
-
 
19290
      private final String _fieldName;
-
 
19291
 
-
 
19292
      _Fields(short thriftId, String fieldName) {
-
 
19293
        _thriftId = thriftId;
-
 
19294
        _fieldName = fieldName;
-
 
19295
      }
-
 
19296
 
-
 
19297
      public short getThriftFieldId() {
-
 
19298
        return _thriftId;
-
 
19299
      }
-
 
19300
 
-
 
19301
      public String getFieldName() {
-
 
19302
        return _fieldName;
-
 
19303
      }
-
 
19304
    }
-
 
19305
 
-
 
19306
    // isset id assignments
-
 
19307
 
-
 
19308
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
19309
    static {
-
 
19310
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
19311
      tmpMap.put(_Fields.URL, new org.apache.thrift.meta_data.FieldMetaData("url", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
19312
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
19313
      tmpMap.put(_Fields.TEXT, new org.apache.thrift.meta_data.FieldMetaData("text", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
19314
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
19315
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
19316
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveQuickLink_args.class, metaDataMap);
-
 
19317
    }
-
 
19318
 
-
 
19319
    public saveQuickLink_args() {
-
 
19320
    }
-
 
19321
 
-
 
19322
    public saveQuickLink_args(
-
 
19323
      String url,
-
 
19324
      String text)
-
 
19325
    {
-
 
19326
      this();
-
 
19327
      this.url = url;
-
 
19328
      this.text = text;
-
 
19329
    }
-
 
19330
 
-
 
19331
    /**
-
 
19332
     * Performs a deep copy on <i>other</i>.
-
 
19333
     */
-
 
19334
    public saveQuickLink_args(saveQuickLink_args other) {
-
 
19335
      if (other.isSetUrl()) {
-
 
19336
        this.url = other.url;
-
 
19337
      }
-
 
19338
      if (other.isSetText()) {
-
 
19339
        this.text = other.text;
-
 
19340
      }
-
 
19341
    }
-
 
19342
 
-
 
19343
    public saveQuickLink_args deepCopy() {
-
 
19344
      return new saveQuickLink_args(this);
-
 
19345
    }
-
 
19346
 
-
 
19347
    @Override
-
 
19348
    public void clear() {
-
 
19349
      this.url = null;
-
 
19350
      this.text = null;
-
 
19351
    }
-
 
19352
 
-
 
19353
    public String getUrl() {
-
 
19354
      return this.url;
-
 
19355
    }
-
 
19356
 
-
 
19357
    public void setUrl(String url) {
-
 
19358
      this.url = url;
-
 
19359
    }
-
 
19360
 
-
 
19361
    public void unsetUrl() {
-
 
19362
      this.url = null;
-
 
19363
    }
-
 
19364
 
-
 
19365
    /** Returns true if field url is set (has been assigned a value) and false otherwise */
-
 
19366
    public boolean isSetUrl() {
-
 
19367
      return this.url != null;
-
 
19368
    }
-
 
19369
 
-
 
19370
    public void setUrlIsSet(boolean value) {
-
 
19371
      if (!value) {
-
 
19372
        this.url = null;
-
 
19373
      }
-
 
19374
    }
-
 
19375
 
-
 
19376
    public String getText() {
-
 
19377
      return this.text;
-
 
19378
    }
-
 
19379
 
-
 
19380
    public void setText(String text) {
-
 
19381
      this.text = text;
-
 
19382
    }
-
 
19383
 
-
 
19384
    public void unsetText() {
-
 
19385
      this.text = null;
-
 
19386
    }
-
 
19387
 
-
 
19388
    /** Returns true if field text is set (has been assigned a value) and false otherwise */
-
 
19389
    public boolean isSetText() {
-
 
19390
      return this.text != null;
-
 
19391
    }
-
 
19392
 
-
 
19393
    public void setTextIsSet(boolean value) {
-
 
19394
      if (!value) {
-
 
19395
        this.text = null;
-
 
19396
      }
-
 
19397
    }
-
 
19398
 
-
 
19399
    public void setFieldValue(_Fields field, Object value) {
-
 
19400
      switch (field) {
-
 
19401
      case URL:
-
 
19402
        if (value == null) {
-
 
19403
          unsetUrl();
-
 
19404
        } else {
-
 
19405
          setUrl((String)value);
-
 
19406
        }
-
 
19407
        break;
-
 
19408
 
-
 
19409
      case TEXT:
-
 
19410
        if (value == null) {
-
 
19411
          unsetText();
-
 
19412
        } else {
-
 
19413
          setText((String)value);
-
 
19414
        }
-
 
19415
        break;
-
 
19416
 
-
 
19417
      }
-
 
19418
    }
-
 
19419
 
-
 
19420
    public Object getFieldValue(_Fields field) {
-
 
19421
      switch (field) {
-
 
19422
      case URL:
-
 
19423
        return getUrl();
-
 
19424
 
-
 
19425
      case TEXT:
-
 
19426
        return getText();
-
 
19427
 
-
 
19428
      }
-
 
19429
      throw new IllegalStateException();
-
 
19430
    }
-
 
19431
 
-
 
19432
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
19433
    public boolean isSet(_Fields field) {
-
 
19434
      if (field == null) {
-
 
19435
        throw new IllegalArgumentException();
-
 
19436
      }
-
 
19437
 
-
 
19438
      switch (field) {
-
 
19439
      case URL:
-
 
19440
        return isSetUrl();
-
 
19441
      case TEXT:
-
 
19442
        return isSetText();
-
 
19443
      }
-
 
19444
      throw new IllegalStateException();
-
 
19445
    }
-
 
19446
 
-
 
19447
    @Override
-
 
19448
    public boolean equals(Object that) {
-
 
19449
      if (that == null)
-
 
19450
        return false;
-
 
19451
      if (that instanceof saveQuickLink_args)
-
 
19452
        return this.equals((saveQuickLink_args)that);
-
 
19453
      return false;
-
 
19454
    }
-
 
19455
 
-
 
19456
    public boolean equals(saveQuickLink_args that) {
-
 
19457
      if (that == null)
-
 
19458
        return false;
-
 
19459
 
-
 
19460
      boolean this_present_url = true && this.isSetUrl();
-
 
19461
      boolean that_present_url = true && that.isSetUrl();
-
 
19462
      if (this_present_url || that_present_url) {
-
 
19463
        if (!(this_present_url && that_present_url))
-
 
19464
          return false;
-
 
19465
        if (!this.url.equals(that.url))
-
 
19466
          return false;
-
 
19467
      }
-
 
19468
 
-
 
19469
      boolean this_present_text = true && this.isSetText();
-
 
19470
      boolean that_present_text = true && that.isSetText();
-
 
19471
      if (this_present_text || that_present_text) {
-
 
19472
        if (!(this_present_text && that_present_text))
-
 
19473
          return false;
-
 
19474
        if (!this.text.equals(that.text))
-
 
19475
          return false;
-
 
19476
      }
-
 
19477
 
-
 
19478
      return true;
-
 
19479
    }
-
 
19480
 
-
 
19481
    @Override
-
 
19482
    public int hashCode() {
-
 
19483
      return 0;
-
 
19484
    }
-
 
19485
 
-
 
19486
    public int compareTo(saveQuickLink_args other) {
-
 
19487
      if (!getClass().equals(other.getClass())) {
-
 
19488
        return getClass().getName().compareTo(other.getClass().getName());
-
 
19489
      }
-
 
19490
 
-
 
19491
      int lastComparison = 0;
-
 
19492
      saveQuickLink_args typedOther = (saveQuickLink_args)other;
-
 
19493
 
-
 
19494
      lastComparison = Boolean.valueOf(isSetUrl()).compareTo(typedOther.isSetUrl());
-
 
19495
      if (lastComparison != 0) {
-
 
19496
        return lastComparison;
-
 
19497
      }
-
 
19498
      if (isSetUrl()) {
-
 
19499
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.url, typedOther.url);
-
 
19500
        if (lastComparison != 0) {
-
 
19501
          return lastComparison;
-
 
19502
        }
-
 
19503
      }
-
 
19504
      lastComparison = Boolean.valueOf(isSetText()).compareTo(typedOther.isSetText());
-
 
19505
      if (lastComparison != 0) {
-
 
19506
        return lastComparison;
-
 
19507
      }
-
 
19508
      if (isSetText()) {
-
 
19509
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.text, typedOther.text);
-
 
19510
        if (lastComparison != 0) {
-
 
19511
          return lastComparison;
-
 
19512
        }
-
 
19513
      }
-
 
19514
      return 0;
-
 
19515
    }
-
 
19516
 
-
 
19517
    public _Fields fieldForId(int fieldId) {
-
 
19518
      return _Fields.findByThriftId(fieldId);
-
 
19519
    }
-
 
19520
 
-
 
19521
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
19522
      org.apache.thrift.protocol.TField field;
-
 
19523
      iprot.readStructBegin();
-
 
19524
      while (true)
-
 
19525
      {
-
 
19526
        field = iprot.readFieldBegin();
-
 
19527
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
19528
          break;
-
 
19529
        }
-
 
19530
        switch (field.id) {
-
 
19531
          case 1: // URL
-
 
19532
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
19533
              this.url = iprot.readString();
-
 
19534
            } else { 
-
 
19535
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
19536
            }
-
 
19537
            break;
-
 
19538
          case 2: // TEXT
-
 
19539
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
19540
              this.text = iprot.readString();
-
 
19541
            } else { 
-
 
19542
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
19543
            }
-
 
19544
            break;
-
 
19545
          default:
-
 
19546
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
19547
        }
-
 
19548
        iprot.readFieldEnd();
-
 
19549
      }
-
 
19550
      iprot.readStructEnd();
-
 
19551
      validate();
-
 
19552
    }
-
 
19553
 
-
 
19554
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
19555
      validate();
-
 
19556
 
-
 
19557
      oprot.writeStructBegin(STRUCT_DESC);
-
 
19558
      if (this.url != null) {
-
 
19559
        oprot.writeFieldBegin(URL_FIELD_DESC);
-
 
19560
        oprot.writeString(this.url);
-
 
19561
        oprot.writeFieldEnd();
-
 
19562
      }
-
 
19563
      if (this.text != null) {
-
 
19564
        oprot.writeFieldBegin(TEXT_FIELD_DESC);
-
 
19565
        oprot.writeString(this.text);
-
 
19566
        oprot.writeFieldEnd();
-
 
19567
      }
-
 
19568
      oprot.writeFieldStop();
-
 
19569
      oprot.writeStructEnd();
-
 
19570
    }
-
 
19571
 
-
 
19572
    @Override
-
 
19573
    public String toString() {
-
 
19574
      StringBuilder sb = new StringBuilder("saveQuickLink_args(");
-
 
19575
      boolean first = true;
-
 
19576
 
-
 
19577
      sb.append("url:");
-
 
19578
      if (this.url == null) {
-
 
19579
        sb.append("null");
-
 
19580
      } else {
-
 
19581
        sb.append(this.url);
-
 
19582
      }
-
 
19583
      first = false;
-
 
19584
      if (!first) sb.append(", ");
-
 
19585
      sb.append("text:");
-
 
19586
      if (this.text == null) {
-
 
19587
        sb.append("null");
-
 
19588
      } else {
-
 
19589
        sb.append(this.text);
-
 
19590
      }
-
 
19591
      first = false;
-
 
19592
      sb.append(")");
-
 
19593
      return sb.toString();
-
 
19594
    }
-
 
19595
 
-
 
19596
    public void validate() throws org.apache.thrift.TException {
-
 
19597
      // check for required fields
-
 
19598
    }
-
 
19599
 
-
 
19600
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
19601
      try {
-
 
19602
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
19603
      } catch (org.apache.thrift.TException te) {
-
 
19604
        throw new java.io.IOException(te);
-
 
19605
      }
-
 
19606
    }
-
 
19607
 
-
 
19608
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
19609
      try {
-
 
19610
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
19611
      } catch (org.apache.thrift.TException te) {
-
 
19612
        throw new java.io.IOException(te);
-
 
19613
      }
-
 
19614
    }
-
 
19615
 
-
 
19616
  }
-
 
19617
 
-
 
19618
  public static class saveQuickLink_result implements org.apache.thrift.TBase<saveQuickLink_result, saveQuickLink_result._Fields>, java.io.Serializable, Cloneable   {
-
 
19619
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveQuickLink_result");
-
 
19620
 
-
 
19621
    private static final org.apache.thrift.protocol.TField HSE_FIELD_DESC = new org.apache.thrift.protocol.TField("hse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
19622
 
-
 
19623
    private HelperServiceException hse; // required
-
 
19624
 
-
 
19625
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
19626
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
19627
      HSE((short)1, "hse");
-
 
19628
 
-
 
19629
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
19630
 
-
 
19631
      static {
-
 
19632
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
19633
          byName.put(field.getFieldName(), field);
-
 
19634
        }
-
 
19635
      }
-
 
19636
 
-
 
19637
      /**
-
 
19638
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
19639
       */
-
 
19640
      public static _Fields findByThriftId(int fieldId) {
-
 
19641
        switch(fieldId) {
-
 
19642
          case 1: // HSE
-
 
19643
            return HSE;
-
 
19644
          default:
-
 
19645
            return null;
-
 
19646
        }
-
 
19647
      }
-
 
19648
 
-
 
19649
      /**
-
 
19650
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
19651
       * if it is not found.
-
 
19652
       */
-
 
19653
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
19654
        _Fields fields = findByThriftId(fieldId);
-
 
19655
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
19656
        return fields;
-
 
19657
      }
-
 
19658
 
-
 
19659
      /**
-
 
19660
       * Find the _Fields constant that matches name, or null if its not found.
-
 
19661
       */
-
 
19662
      public static _Fields findByName(String name) {
-
 
19663
        return byName.get(name);
-
 
19664
      }
-
 
19665
 
-
 
19666
      private final short _thriftId;
-
 
19667
      private final String _fieldName;
-
 
19668
 
-
 
19669
      _Fields(short thriftId, String fieldName) {
-
 
19670
        _thriftId = thriftId;
-
 
19671
        _fieldName = fieldName;
-
 
19672
      }
-
 
19673
 
-
 
19674
      public short getThriftFieldId() {
-
 
19675
        return _thriftId;
-
 
19676
      }
-
 
19677
 
-
 
19678
      public String getFieldName() {
-
 
19679
        return _fieldName;
-
 
19680
      }
-
 
19681
    }
-
 
19682
 
-
 
19683
    // isset id assignments
-
 
19684
 
-
 
19685
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
19686
    static {
-
 
19687
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
19688
      tmpMap.put(_Fields.HSE, new org.apache.thrift.meta_data.FieldMetaData("hse", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
19689
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
19690
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
19691
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveQuickLink_result.class, metaDataMap);
-
 
19692
    }
-
 
19693
 
-
 
19694
    public saveQuickLink_result() {
-
 
19695
    }
-
 
19696
 
-
 
19697
    public saveQuickLink_result(
-
 
19698
      HelperServiceException hse)
-
 
19699
    {
-
 
19700
      this();
-
 
19701
      this.hse = hse;
-
 
19702
    }
-
 
19703
 
-
 
19704
    /**
-
 
19705
     * Performs a deep copy on <i>other</i>.
-
 
19706
     */
-
 
19707
    public saveQuickLink_result(saveQuickLink_result other) {
-
 
19708
      if (other.isSetHse()) {
-
 
19709
        this.hse = new HelperServiceException(other.hse);
-
 
19710
      }
-
 
19711
    }
-
 
19712
 
-
 
19713
    public saveQuickLink_result deepCopy() {
-
 
19714
      return new saveQuickLink_result(this);
-
 
19715
    }
-
 
19716
 
-
 
19717
    @Override
-
 
19718
    public void clear() {
-
 
19719
      this.hse = null;
-
 
19720
    }
-
 
19721
 
-
 
19722
    public HelperServiceException getHse() {
-
 
19723
      return this.hse;
-
 
19724
    }
-
 
19725
 
-
 
19726
    public void setHse(HelperServiceException hse) {
-
 
19727
      this.hse = hse;
-
 
19728
    }
-
 
19729
 
-
 
19730
    public void unsetHse() {
-
 
19731
      this.hse = null;
-
 
19732
    }
-
 
19733
 
-
 
19734
    /** Returns true if field hse is set (has been assigned a value) and false otherwise */
-
 
19735
    public boolean isSetHse() {
-
 
19736
      return this.hse != null;
-
 
19737
    }
-
 
19738
 
-
 
19739
    public void setHseIsSet(boolean value) {
-
 
19740
      if (!value) {
-
 
19741
        this.hse = null;
-
 
19742
      }
-
 
19743
    }
-
 
19744
 
-
 
19745
    public void setFieldValue(_Fields field, Object value) {
-
 
19746
      switch (field) {
-
 
19747
      case HSE:
-
 
19748
        if (value == null) {
-
 
19749
          unsetHse();
-
 
19750
        } else {
-
 
19751
          setHse((HelperServiceException)value);
-
 
19752
        }
-
 
19753
        break;
-
 
19754
 
-
 
19755
      }
-
 
19756
    }
-
 
19757
 
-
 
19758
    public Object getFieldValue(_Fields field) {
-
 
19759
      switch (field) {
-
 
19760
      case HSE:
-
 
19761
        return getHse();
-
 
19762
 
-
 
19763
      }
-
 
19764
      throw new IllegalStateException();
-
 
19765
    }
-
 
19766
 
-
 
19767
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
19768
    public boolean isSet(_Fields field) {
-
 
19769
      if (field == null) {
-
 
19770
        throw new IllegalArgumentException();
-
 
19771
      }
-
 
19772
 
-
 
19773
      switch (field) {
-
 
19774
      case HSE:
-
 
19775
        return isSetHse();
-
 
19776
      }
-
 
19777
      throw new IllegalStateException();
-
 
19778
    }
-
 
19779
 
-
 
19780
    @Override
-
 
19781
    public boolean equals(Object that) {
-
 
19782
      if (that == null)
-
 
19783
        return false;
-
 
19784
      if (that instanceof saveQuickLink_result)
-
 
19785
        return this.equals((saveQuickLink_result)that);
-
 
19786
      return false;
-
 
19787
    }
-
 
19788
 
-
 
19789
    public boolean equals(saveQuickLink_result that) {
-
 
19790
      if (that == null)
-
 
19791
        return false;
-
 
19792
 
-
 
19793
      boolean this_present_hse = true && this.isSetHse();
-
 
19794
      boolean that_present_hse = true && that.isSetHse();
-
 
19795
      if (this_present_hse || that_present_hse) {
-
 
19796
        if (!(this_present_hse && that_present_hse))
-
 
19797
          return false;
-
 
19798
        if (!this.hse.equals(that.hse))
-
 
19799
          return false;
-
 
19800
      }
-
 
19801
 
-
 
19802
      return true;
-
 
19803
    }
-
 
19804
 
-
 
19805
    @Override
-
 
19806
    public int hashCode() {
-
 
19807
      return 0;
-
 
19808
    }
-
 
19809
 
-
 
19810
    public int compareTo(saveQuickLink_result other) {
-
 
19811
      if (!getClass().equals(other.getClass())) {
-
 
19812
        return getClass().getName().compareTo(other.getClass().getName());
-
 
19813
      }
-
 
19814
 
-
 
19815
      int lastComparison = 0;
-
 
19816
      saveQuickLink_result typedOther = (saveQuickLink_result)other;
-
 
19817
 
-
 
19818
      lastComparison = Boolean.valueOf(isSetHse()).compareTo(typedOther.isSetHse());
-
 
19819
      if (lastComparison != 0) {
-
 
19820
        return lastComparison;
-
 
19821
      }
-
 
19822
      if (isSetHse()) {
-
 
19823
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hse, typedOther.hse);
-
 
19824
        if (lastComparison != 0) {
-
 
19825
          return lastComparison;
-
 
19826
        }
-
 
19827
      }
-
 
19828
      return 0;
-
 
19829
    }
-
 
19830
 
-
 
19831
    public _Fields fieldForId(int fieldId) {
-
 
19832
      return _Fields.findByThriftId(fieldId);
-
 
19833
    }
-
 
19834
 
-
 
19835
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
19836
      org.apache.thrift.protocol.TField field;
-
 
19837
      iprot.readStructBegin();
-
 
19838
      while (true)
-
 
19839
      {
-
 
19840
        field = iprot.readFieldBegin();
-
 
19841
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
19842
          break;
-
 
19843
        }
-
 
19844
        switch (field.id) {
-
 
19845
          case 1: // HSE
-
 
19846
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
19847
              this.hse = new HelperServiceException();
-
 
19848
              this.hse.read(iprot);
-
 
19849
            } else { 
-
 
19850
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
19851
            }
-
 
19852
            break;
-
 
19853
          default:
-
 
19854
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
19855
        }
-
 
19856
        iprot.readFieldEnd();
-
 
19857
      }
-
 
19858
      iprot.readStructEnd();
-
 
19859
      validate();
-
 
19860
    }
-
 
19861
 
-
 
19862
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
19863
      oprot.writeStructBegin(STRUCT_DESC);
-
 
19864
 
-
 
19865
      if (this.isSetHse()) {
-
 
19866
        oprot.writeFieldBegin(HSE_FIELD_DESC);
-
 
19867
        this.hse.write(oprot);
-
 
19868
        oprot.writeFieldEnd();
-
 
19869
      }
-
 
19870
      oprot.writeFieldStop();
-
 
19871
      oprot.writeStructEnd();
-
 
19872
    }
-
 
19873
 
-
 
19874
    @Override
-
 
19875
    public String toString() {
-
 
19876
      StringBuilder sb = new StringBuilder("saveQuickLink_result(");
-
 
19877
      boolean first = true;
-
 
19878
 
-
 
19879
      sb.append("hse:");
-
 
19880
      if (this.hse == null) {
-
 
19881
        sb.append("null");
-
 
19882
      } else {
-
 
19883
        sb.append(this.hse);
-
 
19884
      }
-
 
19885
      first = false;
-
 
19886
      sb.append(")");
-
 
19887
      return sb.toString();
-
 
19888
    }
-
 
19889
 
-
 
19890
    public void validate() throws org.apache.thrift.TException {
-
 
19891
      // check for required fields
-
 
19892
    }
-
 
19893
 
-
 
19894
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
19895
      try {
-
 
19896
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
19897
      } catch (org.apache.thrift.TException te) {
-
 
19898
        throw new java.io.IOException(te);
-
 
19899
      }
-
 
19900
    }
-
 
19901
 
-
 
19902
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
19903
      try {
-
 
19904
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
19905
      } catch (org.apache.thrift.TException te) {
-
 
19906
        throw new java.io.IOException(te);
-
 
19907
      }
-
 
19908
    }
-
 
19909
 
-
 
19910
  }
-
 
19911
 
-
 
19912
  public static class getQuickLinks_args implements org.apache.thrift.TBase<getQuickLinks_args, getQuickLinks_args._Fields>, java.io.Serializable, Cloneable   {
-
 
19913
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getQuickLinks_args");
-
 
19914
 
-
 
19915
 
-
 
19916
 
-
 
19917
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
19918
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
19919
;
-
 
19920
 
-
 
19921
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
19922
 
-
 
19923
      static {
-
 
19924
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
19925
          byName.put(field.getFieldName(), field);
-
 
19926
        }
-
 
19927
      }
-
 
19928
 
-
 
19929
      /**
-
 
19930
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
19931
       */
-
 
19932
      public static _Fields findByThriftId(int fieldId) {
-
 
19933
        switch(fieldId) {
-
 
19934
          default:
-
 
19935
            return null;
-
 
19936
        }
-
 
19937
      }
-
 
19938
 
-
 
19939
      /**
-
 
19940
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
19941
       * if it is not found.
-
 
19942
       */
-
 
19943
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
19944
        _Fields fields = findByThriftId(fieldId);
-
 
19945
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
19946
        return fields;
-
 
19947
      }
-
 
19948
 
-
 
19949
      /**
-
 
19950
       * Find the _Fields constant that matches name, or null if its not found.
-
 
19951
       */
-
 
19952
      public static _Fields findByName(String name) {
-
 
19953
        return byName.get(name);
-
 
19954
      }
-
 
19955
 
-
 
19956
      private final short _thriftId;
-
 
19957
      private final String _fieldName;
-
 
19958
 
-
 
19959
      _Fields(short thriftId, String fieldName) {
-
 
19960
        _thriftId = thriftId;
-
 
19961
        _fieldName = fieldName;
-
 
19962
      }
-
 
19963
 
-
 
19964
      public short getThriftFieldId() {
-
 
19965
        return _thriftId;
-
 
19966
      }
-
 
19967
 
-
 
19968
      public String getFieldName() {
-
 
19969
        return _fieldName;
-
 
19970
      }
-
 
19971
    }
-
 
19972
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
19973
    static {
-
 
19974
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
19975
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
19976
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getQuickLinks_args.class, metaDataMap);
-
 
19977
    }
-
 
19978
 
-
 
19979
    public getQuickLinks_args() {
-
 
19980
    }
-
 
19981
 
-
 
19982
    /**
-
 
19983
     * Performs a deep copy on <i>other</i>.
-
 
19984
     */
-
 
19985
    public getQuickLinks_args(getQuickLinks_args other) {
-
 
19986
    }
-
 
19987
 
-
 
19988
    public getQuickLinks_args deepCopy() {
-
 
19989
      return new getQuickLinks_args(this);
-
 
19990
    }
-
 
19991
 
-
 
19992
    @Override
-
 
19993
    public void clear() {
-
 
19994
    }
-
 
19995
 
-
 
19996
    public void setFieldValue(_Fields field, Object value) {
-
 
19997
      switch (field) {
-
 
19998
      }
-
 
19999
    }
-
 
20000
 
-
 
20001
    public Object getFieldValue(_Fields field) {
-
 
20002
      switch (field) {
-
 
20003
      }
-
 
20004
      throw new IllegalStateException();
-
 
20005
    }
-
 
20006
 
-
 
20007
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
20008
    public boolean isSet(_Fields field) {
-
 
20009
      if (field == null) {
-
 
20010
        throw new IllegalArgumentException();
-
 
20011
      }
-
 
20012
 
-
 
20013
      switch (field) {
-
 
20014
      }
-
 
20015
      throw new IllegalStateException();
-
 
20016
    }
-
 
20017
 
-
 
20018
    @Override
-
 
20019
    public boolean equals(Object that) {
-
 
20020
      if (that == null)
-
 
20021
        return false;
-
 
20022
      if (that instanceof getQuickLinks_args)
-
 
20023
        return this.equals((getQuickLinks_args)that);
-
 
20024
      return false;
-
 
20025
    }
-
 
20026
 
-
 
20027
    public boolean equals(getQuickLinks_args that) {
-
 
20028
      if (that == null)
-
 
20029
        return false;
-
 
20030
 
-
 
20031
      return true;
-
 
20032
    }
-
 
20033
 
-
 
20034
    @Override
-
 
20035
    public int hashCode() {
-
 
20036
      return 0;
-
 
20037
    }
-
 
20038
 
-
 
20039
    public int compareTo(getQuickLinks_args other) {
-
 
20040
      if (!getClass().equals(other.getClass())) {
-
 
20041
        return getClass().getName().compareTo(other.getClass().getName());
-
 
20042
      }
-
 
20043
 
-
 
20044
      int lastComparison = 0;
-
 
20045
      getQuickLinks_args typedOther = (getQuickLinks_args)other;
-
 
20046
 
-
 
20047
      return 0;
-
 
20048
    }
-
 
20049
 
-
 
20050
    public _Fields fieldForId(int fieldId) {
-
 
20051
      return _Fields.findByThriftId(fieldId);
-
 
20052
    }
-
 
20053
 
-
 
20054
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
20055
      org.apache.thrift.protocol.TField field;
-
 
20056
      iprot.readStructBegin();
-
 
20057
      while (true)
-
 
20058
      {
-
 
20059
        field = iprot.readFieldBegin();
-
 
20060
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
20061
          break;
-
 
20062
        }
-
 
20063
        switch (field.id) {
-
 
20064
          default:
-
 
20065
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
20066
        }
-
 
20067
        iprot.readFieldEnd();
-
 
20068
      }
-
 
20069
      iprot.readStructEnd();
-
 
20070
      validate();
-
 
20071
    }
-
 
20072
 
-
 
20073
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
20074
      validate();
-
 
20075
 
-
 
20076
      oprot.writeStructBegin(STRUCT_DESC);
-
 
20077
      oprot.writeFieldStop();
-
 
20078
      oprot.writeStructEnd();
-
 
20079
    }
-
 
20080
 
-
 
20081
    @Override
-
 
20082
    public String toString() {
-
 
20083
      StringBuilder sb = new StringBuilder("getQuickLinks_args(");
-
 
20084
      boolean first = true;
-
 
20085
 
-
 
20086
      sb.append(")");
-
 
20087
      return sb.toString();
-
 
20088
    }
-
 
20089
 
-
 
20090
    public void validate() throws org.apache.thrift.TException {
-
 
20091
      // check for required fields
-
 
20092
    }
-
 
20093
 
-
 
20094
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
20095
      try {
-
 
20096
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
20097
      } catch (org.apache.thrift.TException te) {
-
 
20098
        throw new java.io.IOException(te);
-
 
20099
      }
-
 
20100
    }
-
 
20101
 
-
 
20102
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
20103
      try {
-
 
20104
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
20105
      } catch (org.apache.thrift.TException te) {
-
 
20106
        throw new java.io.IOException(te);
-
 
20107
      }
-
 
20108
    }
-
 
20109
 
-
 
20110
  }
-
 
20111
 
-
 
20112
  public static class getQuickLinks_result implements org.apache.thrift.TBase<getQuickLinks_result, getQuickLinks_result._Fields>, java.io.Serializable, Cloneable   {
-
 
20113
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getQuickLinks_result");
-
 
20114
 
-
 
20115
    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);
-
 
20116
    private static final org.apache.thrift.protocol.TField HSE_FIELD_DESC = new org.apache.thrift.protocol.TField("hse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
20117
 
-
 
20118
    private List<QuickLink> success; // required
-
 
20119
    private HelperServiceException hse; // required
-
 
20120
 
-
 
20121
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
20122
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
20123
      SUCCESS((short)0, "success"),
-
 
20124
      HSE((short)1, "hse");
-
 
20125
 
-
 
20126
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
20127
 
-
 
20128
      static {
-
 
20129
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
20130
          byName.put(field.getFieldName(), field);
-
 
20131
        }
-
 
20132
      }
-
 
20133
 
-
 
20134
      /**
-
 
20135
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
20136
       */
-
 
20137
      public static _Fields findByThriftId(int fieldId) {
-
 
20138
        switch(fieldId) {
-
 
20139
          case 0: // SUCCESS
-
 
20140
            return SUCCESS;
-
 
20141
          case 1: // HSE
-
 
20142
            return HSE;
-
 
20143
          default:
-
 
20144
            return null;
-
 
20145
        }
-
 
20146
      }
-
 
20147
 
-
 
20148
      /**
-
 
20149
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
20150
       * if it is not found.
-
 
20151
       */
-
 
20152
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
20153
        _Fields fields = findByThriftId(fieldId);
-
 
20154
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
20155
        return fields;
-
 
20156
      }
-
 
20157
 
-
 
20158
      /**
-
 
20159
       * Find the _Fields constant that matches name, or null if its not found.
-
 
20160
       */
-
 
20161
      public static _Fields findByName(String name) {
-
 
20162
        return byName.get(name);
-
 
20163
      }
-
 
20164
 
-
 
20165
      private final short _thriftId;
-
 
20166
      private final String _fieldName;
-
 
20167
 
-
 
20168
      _Fields(short thriftId, String fieldName) {
-
 
20169
        _thriftId = thriftId;
-
 
20170
        _fieldName = fieldName;
-
 
20171
      }
-
 
20172
 
-
 
20173
      public short getThriftFieldId() {
-
 
20174
        return _thriftId;
-
 
20175
      }
-
 
20176
 
-
 
20177
      public String getFieldName() {
-
 
20178
        return _fieldName;
-
 
20179
      }
-
 
20180
    }
-
 
20181
 
-
 
20182
    // isset id assignments
-
 
20183
 
-
 
20184
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
20185
    static {
-
 
20186
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
20187
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
20188
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
20189
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, QuickLink.class))));
-
 
20190
      tmpMap.put(_Fields.HSE, new org.apache.thrift.meta_data.FieldMetaData("hse", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
20191
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
20192
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
20193
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getQuickLinks_result.class, metaDataMap);
-
 
20194
    }
-
 
20195
 
-
 
20196
    public getQuickLinks_result() {
-
 
20197
    }
-
 
20198
 
-
 
20199
    public getQuickLinks_result(
-
 
20200
      List<QuickLink> success,
-
 
20201
      HelperServiceException hse)
-
 
20202
    {
-
 
20203
      this();
-
 
20204
      this.success = success;
-
 
20205
      this.hse = hse;
-
 
20206
    }
-
 
20207
 
-
 
20208
    /**
-
 
20209
     * Performs a deep copy on <i>other</i>.
-
 
20210
     */
-
 
20211
    public getQuickLinks_result(getQuickLinks_result other) {
-
 
20212
      if (other.isSetSuccess()) {
-
 
20213
        List<QuickLink> __this__success = new ArrayList<QuickLink>();
-
 
20214
        for (QuickLink other_element : other.success) {
-
 
20215
          __this__success.add(new QuickLink(other_element));
-
 
20216
        }
-
 
20217
        this.success = __this__success;
-
 
20218
      }
-
 
20219
      if (other.isSetHse()) {
-
 
20220
        this.hse = new HelperServiceException(other.hse);
-
 
20221
      }
-
 
20222
    }
-
 
20223
 
-
 
20224
    public getQuickLinks_result deepCopy() {
-
 
20225
      return new getQuickLinks_result(this);
-
 
20226
    }
-
 
20227
 
-
 
20228
    @Override
-
 
20229
    public void clear() {
-
 
20230
      this.success = null;
-
 
20231
      this.hse = null;
-
 
20232
    }
-
 
20233
 
-
 
20234
    public int getSuccessSize() {
-
 
20235
      return (this.success == null) ? 0 : this.success.size();
-
 
20236
    }
-
 
20237
 
-
 
20238
    public java.util.Iterator<QuickLink> getSuccessIterator() {
-
 
20239
      return (this.success == null) ? null : this.success.iterator();
-
 
20240
    }
-
 
20241
 
-
 
20242
    public void addToSuccess(QuickLink elem) {
-
 
20243
      if (this.success == null) {
-
 
20244
        this.success = new ArrayList<QuickLink>();
-
 
20245
      }
-
 
20246
      this.success.add(elem);
-
 
20247
    }
-
 
20248
 
-
 
20249
    public List<QuickLink> getSuccess() {
-
 
20250
      return this.success;
-
 
20251
    }
-
 
20252
 
-
 
20253
    public void setSuccess(List<QuickLink> success) {
-
 
20254
      this.success = success;
-
 
20255
    }
-
 
20256
 
-
 
20257
    public void unsetSuccess() {
-
 
20258
      this.success = null;
-
 
20259
    }
-
 
20260
 
-
 
20261
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
20262
    public boolean isSetSuccess() {
-
 
20263
      return this.success != null;
-
 
20264
    }
-
 
20265
 
-
 
20266
    public void setSuccessIsSet(boolean value) {
-
 
20267
      if (!value) {
-
 
20268
        this.success = null;
-
 
20269
      }
-
 
20270
    }
-
 
20271
 
-
 
20272
    public HelperServiceException getHse() {
-
 
20273
      return this.hse;
-
 
20274
    }
-
 
20275
 
-
 
20276
    public void setHse(HelperServiceException hse) {
-
 
20277
      this.hse = hse;
-
 
20278
    }
-
 
20279
 
-
 
20280
    public void unsetHse() {
-
 
20281
      this.hse = null;
-
 
20282
    }
-
 
20283
 
-
 
20284
    /** Returns true if field hse is set (has been assigned a value) and false otherwise */
-
 
20285
    public boolean isSetHse() {
-
 
20286
      return this.hse != null;
-
 
20287
    }
-
 
20288
 
-
 
20289
    public void setHseIsSet(boolean value) {
-
 
20290
      if (!value) {
-
 
20291
        this.hse = null;
-
 
20292
      }
-
 
20293
    }
-
 
20294
 
-
 
20295
    public void setFieldValue(_Fields field, Object value) {
-
 
20296
      switch (field) {
-
 
20297
      case SUCCESS:
-
 
20298
        if (value == null) {
-
 
20299
          unsetSuccess();
-
 
20300
        } else {
-
 
20301
          setSuccess((List<QuickLink>)value);
-
 
20302
        }
-
 
20303
        break;
-
 
20304
 
-
 
20305
      case HSE:
-
 
20306
        if (value == null) {
-
 
20307
          unsetHse();
-
 
20308
        } else {
-
 
20309
          setHse((HelperServiceException)value);
-
 
20310
        }
-
 
20311
        break;
-
 
20312
 
-
 
20313
      }
-
 
20314
    }
-
 
20315
 
-
 
20316
    public Object getFieldValue(_Fields field) {
-
 
20317
      switch (field) {
-
 
20318
      case SUCCESS:
-
 
20319
        return getSuccess();
-
 
20320
 
-
 
20321
      case HSE:
-
 
20322
        return getHse();
-
 
20323
 
-
 
20324
      }
-
 
20325
      throw new IllegalStateException();
-
 
20326
    }
-
 
20327
 
-
 
20328
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
20329
    public boolean isSet(_Fields field) {
-
 
20330
      if (field == null) {
-
 
20331
        throw new IllegalArgumentException();
-
 
20332
      }
-
 
20333
 
-
 
20334
      switch (field) {
-
 
20335
      case SUCCESS:
-
 
20336
        return isSetSuccess();
-
 
20337
      case HSE:
-
 
20338
        return isSetHse();
-
 
20339
      }
-
 
20340
      throw new IllegalStateException();
-
 
20341
    }
-
 
20342
 
-
 
20343
    @Override
-
 
20344
    public boolean equals(Object that) {
-
 
20345
      if (that == null)
-
 
20346
        return false;
-
 
20347
      if (that instanceof getQuickLinks_result)
-
 
20348
        return this.equals((getQuickLinks_result)that);
-
 
20349
      return false;
-
 
20350
    }
-
 
20351
 
-
 
20352
    public boolean equals(getQuickLinks_result that) {
-
 
20353
      if (that == null)
-
 
20354
        return false;
-
 
20355
 
-
 
20356
      boolean this_present_success = true && this.isSetSuccess();
-
 
20357
      boolean that_present_success = true && that.isSetSuccess();
-
 
20358
      if (this_present_success || that_present_success) {
-
 
20359
        if (!(this_present_success && that_present_success))
-
 
20360
          return false;
-
 
20361
        if (!this.success.equals(that.success))
-
 
20362
          return false;
-
 
20363
      }
-
 
20364
 
-
 
20365
      boolean this_present_hse = true && this.isSetHse();
-
 
20366
      boolean that_present_hse = true && that.isSetHse();
-
 
20367
      if (this_present_hse || that_present_hse) {
-
 
20368
        if (!(this_present_hse && that_present_hse))
-
 
20369
          return false;
-
 
20370
        if (!this.hse.equals(that.hse))
-
 
20371
          return false;
-
 
20372
      }
-
 
20373
 
-
 
20374
      return true;
-
 
20375
    }
-
 
20376
 
-
 
20377
    @Override
-
 
20378
    public int hashCode() {
-
 
20379
      return 0;
-
 
20380
    }
-
 
20381
 
-
 
20382
    public int compareTo(getQuickLinks_result other) {
-
 
20383
      if (!getClass().equals(other.getClass())) {
-
 
20384
        return getClass().getName().compareTo(other.getClass().getName());
-
 
20385
      }
-
 
20386
 
-
 
20387
      int lastComparison = 0;
-
 
20388
      getQuickLinks_result typedOther = (getQuickLinks_result)other;
-
 
20389
 
-
 
20390
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
20391
      if (lastComparison != 0) {
-
 
20392
        return lastComparison;
-
 
20393
      }
-
 
20394
      if (isSetSuccess()) {
-
 
20395
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
20396
        if (lastComparison != 0) {
-
 
20397
          return lastComparison;
-
 
20398
        }
-
 
20399
      }
-
 
20400
      lastComparison = Boolean.valueOf(isSetHse()).compareTo(typedOther.isSetHse());
-
 
20401
      if (lastComparison != 0) {
-
 
20402
        return lastComparison;
-
 
20403
      }
-
 
20404
      if (isSetHse()) {
-
 
20405
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hse, typedOther.hse);
-
 
20406
        if (lastComparison != 0) {
-
 
20407
          return lastComparison;
-
 
20408
        }
-
 
20409
      }
-
 
20410
      return 0;
-
 
20411
    }
-
 
20412
 
-
 
20413
    public _Fields fieldForId(int fieldId) {
-
 
20414
      return _Fields.findByThriftId(fieldId);
-
 
20415
    }
-
 
20416
 
-
 
20417
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
20418
      org.apache.thrift.protocol.TField field;
-
 
20419
      iprot.readStructBegin();
-
 
20420
      while (true)
-
 
20421
      {
-
 
20422
        field = iprot.readFieldBegin();
-
 
20423
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
20424
          break;
-
 
20425
        }
-
 
20426
        switch (field.id) {
-
 
20427
          case 0: // SUCCESS
-
 
20428
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
20429
              {
-
 
20430
                org.apache.thrift.protocol.TList _list37 = iprot.readListBegin();
-
 
20431
                this.success = new ArrayList<QuickLink>(_list37.size);
-
 
20432
                for (int _i38 = 0; _i38 < _list37.size; ++_i38)
-
 
20433
                {
-
 
20434
                  QuickLink _elem39; // required
-
 
20435
                  _elem39 = new QuickLink();
-
 
20436
                  _elem39.read(iprot);
-
 
20437
                  this.success.add(_elem39);
-
 
20438
                }
-
 
20439
                iprot.readListEnd();
-
 
20440
              }
-
 
20441
            } else { 
-
 
20442
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
20443
            }
-
 
20444
            break;
-
 
20445
          case 1: // HSE
-
 
20446
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
20447
              this.hse = new HelperServiceException();
-
 
20448
              this.hse.read(iprot);
-
 
20449
            } else { 
-
 
20450
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
20451
            }
-
 
20452
            break;
-
 
20453
          default:
-
 
20454
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
20455
        }
-
 
20456
        iprot.readFieldEnd();
-
 
20457
      }
-
 
20458
      iprot.readStructEnd();
-
 
20459
      validate();
-
 
20460
    }
-
 
20461
 
-
 
20462
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
20463
      oprot.writeStructBegin(STRUCT_DESC);
-
 
20464
 
-
 
20465
      if (this.isSetSuccess()) {
-
 
20466
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
20467
        {
-
 
20468
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
20469
          for (QuickLink _iter40 : this.success)
-
 
20470
          {
-
 
20471
            _iter40.write(oprot);
-
 
20472
          }
-
 
20473
          oprot.writeListEnd();
-
 
20474
        }
-
 
20475
        oprot.writeFieldEnd();
-
 
20476
      } else if (this.isSetHse()) {
-
 
20477
        oprot.writeFieldBegin(HSE_FIELD_DESC);
-
 
20478
        this.hse.write(oprot);
-
 
20479
        oprot.writeFieldEnd();
-
 
20480
      }
-
 
20481
      oprot.writeFieldStop();
-
 
20482
      oprot.writeStructEnd();
-
 
20483
    }
-
 
20484
 
-
 
20485
    @Override
-
 
20486
    public String toString() {
-
 
20487
      StringBuilder sb = new StringBuilder("getQuickLinks_result(");
-
 
20488
      boolean first = true;
-
 
20489
 
-
 
20490
      sb.append("success:");
-
 
20491
      if (this.success == null) {
-
 
20492
        sb.append("null");
-
 
20493
      } else {
-
 
20494
        sb.append(this.success);
-
 
20495
      }
-
 
20496
      first = false;
-
 
20497
      if (!first) sb.append(", ");
-
 
20498
      sb.append("hse:");
-
 
20499
      if (this.hse == null) {
-
 
20500
        sb.append("null");
-
 
20501
      } else {
-
 
20502
        sb.append(this.hse);
-
 
20503
      }
-
 
20504
      first = false;
-
 
20505
      sb.append(")");
-
 
20506
      return sb.toString();
-
 
20507
    }
19050
 
20508
 
19051
    public void validate() throws org.apache.thrift.TException {
20509
    public void validate() throws org.apache.thrift.TException {
19052
      // check for required fields
20510
      // check for required fields
19053
    }
20511
    }
19054
 
20512