Subversion Repositories SmartDukaan

Rev

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

Rev 12256 Rev 12691
Line 164... Line 164...
164
 
164
 
165
    public String getOrderDeliveryMail(long orderId) throws org.apache.thrift.TException;
165
    public String getOrderDeliveryMail(long orderId) throws org.apache.thrift.TException;
166
 
166
 
167
    public List<Long> getWarehouseIdsForAgent(String agentEmailId) throws org.apache.thrift.TException;
167
    public List<Long> getWarehouseIdsForAgent(String agentEmailId) throws org.apache.thrift.TException;
168
 
168
 
-
 
169
    public long saveUserSmsForSending(long userId, String mobileNo, String text, SmsType type) throws HelperServiceException, org.apache.thrift.TException;
-
 
170
 
-
 
171
    public List<UserSms> getSmsToBeSent() throws HelperServiceException, org.apache.thrift.TException;
-
 
172
 
-
 
173
    public void addUserSmsInfo(UserSmsInfo userSmsInfo) throws HelperServiceException, org.apache.thrift.TException;
-
 
174
 
-
 
175
    public boolean updateUserSmsInfo(UserSmsInfo userSmsInfo) throws HelperServiceException, org.apache.thrift.TException;
-
 
176
 
-
 
177
    public UserSmsInfo getUserSmsInfo(long userId) throws HelperServiceException, org.apache.thrift.TException;
-
 
178
 
-
 
179
    public List<UserSmsInfo> getAllUsersSmsInfo(boolean dndStatus, boolean smsSubscribed) throws HelperServiceException, org.apache.thrift.TException;
-
 
180
 
-
 
181
    public List<UserSms> listSmsToGetDeliveryInfo() throws HelperServiceException, org.apache.thrift.TException;
-
 
182
 
-
 
183
    public boolean markMessagesAsSentToOperator(List<UserSms> userSmsList) throws org.apache.thrift.TException;
-
 
184
 
-
 
185
    public boolean markMessagesAsSubmittedToSmsc(List<UserSms> userSmsList) throws org.apache.thrift.TException;
-
 
186
 
-
 
187
    public boolean markMessagesAsSent(List<UserSms> userSmsList) throws org.apache.thrift.TException;
-
 
188
 
-
 
189
    public boolean markMessagesAsRetry(List<UserSms> userSmsList) throws org.apache.thrift.TException;
-
 
190
 
169
  }
191
  }
170
 
192
 
171
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
193
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
172
 
194
 
173
    public void saveUserEmailForSending(List<String> emailTo, String emailFrom, String subject, String body, String source, String emailType, List<String> cc, List<String> bcc, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveUserEmailForSending_call> resultHandler) throws org.apache.thrift.TException;
195
    public void saveUserEmailForSending(List<String> emailTo, String emailFrom, String subject, String body, String source, String emailType, List<String> cc, List<String> bcc, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveUserEmailForSending_call> resultHandler) throws org.apache.thrift.TException;
Line 230... Line 252...
230
 
252
 
231
    public void getOrderDeliveryMail(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderDeliveryMail_call> resultHandler) throws org.apache.thrift.TException;
253
    public void getOrderDeliveryMail(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderDeliveryMail_call> resultHandler) throws org.apache.thrift.TException;
232
 
254
 
233
    public void getWarehouseIdsForAgent(String agentEmailId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarehouseIdsForAgent_call> resultHandler) throws org.apache.thrift.TException;
255
    public void getWarehouseIdsForAgent(String agentEmailId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getWarehouseIdsForAgent_call> resultHandler) throws org.apache.thrift.TException;
234
 
256
 
-
 
257
    public void saveUserSmsForSending(long userId, String mobileNo, String text, SmsType type, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveUserSmsForSending_call> resultHandler) throws org.apache.thrift.TException;
-
 
258
 
-
 
259
    public void getSmsToBeSent(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSmsToBeSent_call> resultHandler) throws org.apache.thrift.TException;
-
 
260
 
-
 
261
    public void addUserSmsInfo(UserSmsInfo userSmsInfo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addUserSmsInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
262
 
-
 
263
    public void updateUserSmsInfo(UserSmsInfo userSmsInfo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateUserSmsInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
264
 
-
 
265
    public void getUserSmsInfo(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserSmsInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
266
 
-
 
267
    public void getAllUsersSmsInfo(boolean dndStatus, boolean smsSubscribed, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllUsersSmsInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
268
 
-
 
269
    public void listSmsToGetDeliveryInfo(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.listSmsToGetDeliveryInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
270
 
-
 
271
    public void markMessagesAsSentToOperator(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markMessagesAsSentToOperator_call> resultHandler) throws org.apache.thrift.TException;
-
 
272
 
-
 
273
    public void markMessagesAsSubmittedToSmsc(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markMessagesAsSubmittedToSmsc_call> resultHandler) throws org.apache.thrift.TException;
-
 
274
 
-
 
275
    public void markMessagesAsSent(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markMessagesAsSent_call> resultHandler) throws org.apache.thrift.TException;
-
 
276
 
-
 
277
    public void markMessagesAsRetry(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markMessagesAsRetry_call> resultHandler) throws org.apache.thrift.TException;
-
 
278
 
235
  }
279
  }
236
 
280
 
237
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
281
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
238
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
282
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
239
      public Factory() {}
283
      public Factory() {}
Line 1027... Line 1071...
1027
        return result.success;
1071
        return result.success;
1028
      }
1072
      }
1029
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getWarehouseIdsForAgent failed: unknown result");
1073
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getWarehouseIdsForAgent failed: unknown result");
1030
    }
1074
    }
1031
 
1075
 
-
 
1076
    public long saveUserSmsForSending(long userId, String mobileNo, String text, SmsType type) throws HelperServiceException, org.apache.thrift.TException
-
 
1077
    {
-
 
1078
      send_saveUserSmsForSending(userId, mobileNo, text, type);
-
 
1079
      return recv_saveUserSmsForSending();
-
 
1080
    }
-
 
1081
 
-
 
1082
    public void send_saveUserSmsForSending(long userId, String mobileNo, String text, SmsType type) throws org.apache.thrift.TException
-
 
1083
    {
-
 
1084
      saveUserSmsForSending_args args = new saveUserSmsForSending_args();
-
 
1085
      args.setUserId(userId);
-
 
1086
      args.setMobileNo(mobileNo);
-
 
1087
      args.setText(text);
-
 
1088
      args.setType(type);
-
 
1089
      sendBase("saveUserSmsForSending", args);
-
 
1090
    }
-
 
1091
 
-
 
1092
    public long recv_saveUserSmsForSending() throws HelperServiceException, org.apache.thrift.TException
-
 
1093
    {
-
 
1094
      saveUserSmsForSending_result result = new saveUserSmsForSending_result();
-
 
1095
      receiveBase(result, "saveUserSmsForSending");
-
 
1096
      if (result.isSetSuccess()) {
-
 
1097
        return result.success;
-
 
1098
      }
-
 
1099
      if (result.se != null) {
-
 
1100
        throw result.se;
-
 
1101
      }
-
 
1102
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "saveUserSmsForSending failed: unknown result");
-
 
1103
    }
-
 
1104
 
-
 
1105
    public List<UserSms> getSmsToBeSent() throws HelperServiceException, org.apache.thrift.TException
-
 
1106
    {
-
 
1107
      send_getSmsToBeSent();
-
 
1108
      return recv_getSmsToBeSent();
-
 
1109
    }
-
 
1110
 
-
 
1111
    public void send_getSmsToBeSent() throws org.apache.thrift.TException
-
 
1112
    {
-
 
1113
      getSmsToBeSent_args args = new getSmsToBeSent_args();
-
 
1114
      sendBase("getSmsToBeSent", args);
-
 
1115
    }
-
 
1116
 
-
 
1117
    public List<UserSms> recv_getSmsToBeSent() throws HelperServiceException, org.apache.thrift.TException
-
 
1118
    {
-
 
1119
      getSmsToBeSent_result result = new getSmsToBeSent_result();
-
 
1120
      receiveBase(result, "getSmsToBeSent");
-
 
1121
      if (result.isSetSuccess()) {
-
 
1122
        return result.success;
-
 
1123
      }
-
 
1124
      if (result.se != null) {
-
 
1125
        throw result.se;
-
 
1126
      }
-
 
1127
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSmsToBeSent failed: unknown result");
-
 
1128
    }
-
 
1129
 
-
 
1130
    public void addUserSmsInfo(UserSmsInfo userSmsInfo) throws HelperServiceException, org.apache.thrift.TException
-
 
1131
    {
-
 
1132
      send_addUserSmsInfo(userSmsInfo);
-
 
1133
      recv_addUserSmsInfo();
-
 
1134
    }
-
 
1135
 
-
 
1136
    public void send_addUserSmsInfo(UserSmsInfo userSmsInfo) throws org.apache.thrift.TException
-
 
1137
    {
-
 
1138
      addUserSmsInfo_args args = new addUserSmsInfo_args();
-
 
1139
      args.setUserSmsInfo(userSmsInfo);
-
 
1140
      sendBase("addUserSmsInfo", args);
-
 
1141
    }
-
 
1142
 
-
 
1143
    public void recv_addUserSmsInfo() throws HelperServiceException, org.apache.thrift.TException
-
 
1144
    {
-
 
1145
      addUserSmsInfo_result result = new addUserSmsInfo_result();
-
 
1146
      receiveBase(result, "addUserSmsInfo");
-
 
1147
      if (result.se != null) {
-
 
1148
        throw result.se;
-
 
1149
      }
-
 
1150
      return;
-
 
1151
    }
-
 
1152
 
-
 
1153
    public boolean updateUserSmsInfo(UserSmsInfo userSmsInfo) throws HelperServiceException, org.apache.thrift.TException
-
 
1154
    {
-
 
1155
      send_updateUserSmsInfo(userSmsInfo);
-
 
1156
      return recv_updateUserSmsInfo();
-
 
1157
    }
-
 
1158
 
-
 
1159
    public void send_updateUserSmsInfo(UserSmsInfo userSmsInfo) throws org.apache.thrift.TException
-
 
1160
    {
-
 
1161
      updateUserSmsInfo_args args = new updateUserSmsInfo_args();
-
 
1162
      args.setUserSmsInfo(userSmsInfo);
-
 
1163
      sendBase("updateUserSmsInfo", args);
-
 
1164
    }
-
 
1165
 
-
 
1166
    public boolean recv_updateUserSmsInfo() throws HelperServiceException, org.apache.thrift.TException
-
 
1167
    {
-
 
1168
      updateUserSmsInfo_result result = new updateUserSmsInfo_result();
-
 
1169
      receiveBase(result, "updateUserSmsInfo");
-
 
1170
      if (result.isSetSuccess()) {
-
 
1171
        return result.success;
-
 
1172
      }
-
 
1173
      if (result.se != null) {
-
 
1174
        throw result.se;
-
 
1175
      }
-
 
1176
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateUserSmsInfo failed: unknown result");
-
 
1177
    }
-
 
1178
 
-
 
1179
    public UserSmsInfo getUserSmsInfo(long userId) throws HelperServiceException, org.apache.thrift.TException
-
 
1180
    {
-
 
1181
      send_getUserSmsInfo(userId);
-
 
1182
      return recv_getUserSmsInfo();
-
 
1183
    }
-
 
1184
 
-
 
1185
    public void send_getUserSmsInfo(long userId) throws org.apache.thrift.TException
-
 
1186
    {
-
 
1187
      getUserSmsInfo_args args = new getUserSmsInfo_args();
-
 
1188
      args.setUserId(userId);
-
 
1189
      sendBase("getUserSmsInfo", args);
-
 
1190
    }
-
 
1191
 
-
 
1192
    public UserSmsInfo recv_getUserSmsInfo() throws HelperServiceException, org.apache.thrift.TException
-
 
1193
    {
-
 
1194
      getUserSmsInfo_result result = new getUserSmsInfo_result();
-
 
1195
      receiveBase(result, "getUserSmsInfo");
-
 
1196
      if (result.isSetSuccess()) {
-
 
1197
        return result.success;
-
 
1198
      }
-
 
1199
      if (result.se != null) {
-
 
1200
        throw result.se;
-
 
1201
      }
-
 
1202
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserSmsInfo failed: unknown result");
-
 
1203
    }
-
 
1204
 
-
 
1205
    public List<UserSmsInfo> getAllUsersSmsInfo(boolean dndStatus, boolean smsSubscribed) throws HelperServiceException, org.apache.thrift.TException
-
 
1206
    {
-
 
1207
      send_getAllUsersSmsInfo(dndStatus, smsSubscribed);
-
 
1208
      return recv_getAllUsersSmsInfo();
-
 
1209
    }
-
 
1210
 
-
 
1211
    public void send_getAllUsersSmsInfo(boolean dndStatus, boolean smsSubscribed) throws org.apache.thrift.TException
-
 
1212
    {
-
 
1213
      getAllUsersSmsInfo_args args = new getAllUsersSmsInfo_args();
-
 
1214
      args.setDndStatus(dndStatus);
-
 
1215
      args.setSmsSubscribed(smsSubscribed);
-
 
1216
      sendBase("getAllUsersSmsInfo", args);
-
 
1217
    }
-
 
1218
 
-
 
1219
    public List<UserSmsInfo> recv_getAllUsersSmsInfo() throws HelperServiceException, org.apache.thrift.TException
-
 
1220
    {
-
 
1221
      getAllUsersSmsInfo_result result = new getAllUsersSmsInfo_result();
-
 
1222
      receiveBase(result, "getAllUsersSmsInfo");
-
 
1223
      if (result.isSetSuccess()) {
-
 
1224
        return result.success;
-
 
1225
      }
-
 
1226
      if (result.se != null) {
-
 
1227
        throw result.se;
-
 
1228
      }
-
 
1229
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllUsersSmsInfo failed: unknown result");
-
 
1230
    }
-
 
1231
 
-
 
1232
    public List<UserSms> listSmsToGetDeliveryInfo() throws HelperServiceException, org.apache.thrift.TException
-
 
1233
    {
-
 
1234
      send_listSmsToGetDeliveryInfo();
-
 
1235
      return recv_listSmsToGetDeliveryInfo();
-
 
1236
    }
-
 
1237
 
-
 
1238
    public void send_listSmsToGetDeliveryInfo() throws org.apache.thrift.TException
-
 
1239
    {
-
 
1240
      listSmsToGetDeliveryInfo_args args = new listSmsToGetDeliveryInfo_args();
-
 
1241
      sendBase("listSmsToGetDeliveryInfo", args);
-
 
1242
    }
-
 
1243
 
-
 
1244
    public List<UserSms> recv_listSmsToGetDeliveryInfo() throws HelperServiceException, org.apache.thrift.TException
-
 
1245
    {
-
 
1246
      listSmsToGetDeliveryInfo_result result = new listSmsToGetDeliveryInfo_result();
-
 
1247
      receiveBase(result, "listSmsToGetDeliveryInfo");
-
 
1248
      if (result.isSetSuccess()) {
-
 
1249
        return result.success;
-
 
1250
      }
-
 
1251
      if (result.se != null) {
-
 
1252
        throw result.se;
-
 
1253
      }
-
 
1254
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listSmsToGetDeliveryInfo failed: unknown result");
-
 
1255
    }
-
 
1256
 
-
 
1257
    public boolean markMessagesAsSentToOperator(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1258
    {
-
 
1259
      send_markMessagesAsSentToOperator(userSmsList);
-
 
1260
      return recv_markMessagesAsSentToOperator();
-
 
1261
    }
-
 
1262
 
-
 
1263
    public void send_markMessagesAsSentToOperator(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1264
    {
-
 
1265
      markMessagesAsSentToOperator_args args = new markMessagesAsSentToOperator_args();
-
 
1266
      args.setUserSmsList(userSmsList);
-
 
1267
      sendBase("markMessagesAsSentToOperator", args);
-
 
1268
    }
-
 
1269
 
-
 
1270
    public boolean recv_markMessagesAsSentToOperator() throws org.apache.thrift.TException
-
 
1271
    {
-
 
1272
      markMessagesAsSentToOperator_result result = new markMessagesAsSentToOperator_result();
-
 
1273
      receiveBase(result, "markMessagesAsSentToOperator");
-
 
1274
      if (result.isSetSuccess()) {
-
 
1275
        return result.success;
-
 
1276
      }
-
 
1277
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markMessagesAsSentToOperator failed: unknown result");
-
 
1278
    }
-
 
1279
 
-
 
1280
    public boolean markMessagesAsSubmittedToSmsc(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1281
    {
-
 
1282
      send_markMessagesAsSubmittedToSmsc(userSmsList);
-
 
1283
      return recv_markMessagesAsSubmittedToSmsc();
-
 
1284
    }
-
 
1285
 
-
 
1286
    public void send_markMessagesAsSubmittedToSmsc(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1287
    {
-
 
1288
      markMessagesAsSubmittedToSmsc_args args = new markMessagesAsSubmittedToSmsc_args();
-
 
1289
      args.setUserSmsList(userSmsList);
-
 
1290
      sendBase("markMessagesAsSubmittedToSmsc", args);
-
 
1291
    }
-
 
1292
 
-
 
1293
    public boolean recv_markMessagesAsSubmittedToSmsc() throws org.apache.thrift.TException
-
 
1294
    {
-
 
1295
      markMessagesAsSubmittedToSmsc_result result = new markMessagesAsSubmittedToSmsc_result();
-
 
1296
      receiveBase(result, "markMessagesAsSubmittedToSmsc");
-
 
1297
      if (result.isSetSuccess()) {
-
 
1298
        return result.success;
-
 
1299
      }
-
 
1300
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markMessagesAsSubmittedToSmsc failed: unknown result");
-
 
1301
    }
-
 
1302
 
-
 
1303
    public boolean markMessagesAsSent(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1304
    {
-
 
1305
      send_markMessagesAsSent(userSmsList);
-
 
1306
      return recv_markMessagesAsSent();
-
 
1307
    }
-
 
1308
 
-
 
1309
    public void send_markMessagesAsSent(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1310
    {
-
 
1311
      markMessagesAsSent_args args = new markMessagesAsSent_args();
-
 
1312
      args.setUserSmsList(userSmsList);
-
 
1313
      sendBase("markMessagesAsSent", args);
-
 
1314
    }
-
 
1315
 
-
 
1316
    public boolean recv_markMessagesAsSent() throws org.apache.thrift.TException
-
 
1317
    {
-
 
1318
      markMessagesAsSent_result result = new markMessagesAsSent_result();
-
 
1319
      receiveBase(result, "markMessagesAsSent");
-
 
1320
      if (result.isSetSuccess()) {
-
 
1321
        return result.success;
-
 
1322
      }
-
 
1323
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markMessagesAsSent failed: unknown result");
-
 
1324
    }
-
 
1325
 
-
 
1326
    public boolean markMessagesAsRetry(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1327
    {
-
 
1328
      send_markMessagesAsRetry(userSmsList);
-
 
1329
      return recv_markMessagesAsRetry();
-
 
1330
    }
-
 
1331
 
-
 
1332
    public void send_markMessagesAsRetry(List<UserSms> userSmsList) throws org.apache.thrift.TException
-
 
1333
    {
-
 
1334
      markMessagesAsRetry_args args = new markMessagesAsRetry_args();
-
 
1335
      args.setUserSmsList(userSmsList);
-
 
1336
      sendBase("markMessagesAsRetry", args);
-
 
1337
    }
-
 
1338
 
-
 
1339
    public boolean recv_markMessagesAsRetry() throws org.apache.thrift.TException
-
 
1340
    {
-
 
1341
      markMessagesAsRetry_result result = new markMessagesAsRetry_result();
-
 
1342
      receiveBase(result, "markMessagesAsRetry");
-
 
1343
      if (result.isSetSuccess()) {
-
 
1344
        return result.success;
-
 
1345
      }
-
 
1346
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markMessagesAsRetry failed: unknown result");
-
 
1347
    }
-
 
1348
 
1032
  }
1349
  }
1033
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
1350
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
1034
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
1351
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
1035
      private org.apache.thrift.async.TAsyncClientManager clientManager;
1352
      private org.apache.thrift.async.TAsyncClientManager clientManager;
1036
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
1353
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 2106... Line 2423...
2106
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2423
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2107
        return (new Client(prot)).recv_getWarehouseIdsForAgent();
2424
        return (new Client(prot)).recv_getWarehouseIdsForAgent();
2108
      }
2425
      }
2109
    }
2426
    }
2110
 
2427
 
-
 
2428
    public void saveUserSmsForSending(long userId, String mobileNo, String text, SmsType type, org.apache.thrift.async.AsyncMethodCallback<saveUserSmsForSending_call> resultHandler) throws org.apache.thrift.TException {
-
 
2429
      checkReady();
-
 
2430
      saveUserSmsForSending_call method_call = new saveUserSmsForSending_call(userId, mobileNo, text, type, resultHandler, this, ___protocolFactory, ___transport);
-
 
2431
      this.___currentMethod = method_call;
-
 
2432
      ___manager.call(method_call);
-
 
2433
    }
-
 
2434
 
-
 
2435
    public static class saveUserSmsForSending_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2436
      private long userId;
-
 
2437
      private String mobileNo;
-
 
2438
      private String text;
-
 
2439
      private SmsType type;
-
 
2440
      public saveUserSmsForSending_call(long userId, String mobileNo, String text, SmsType type, org.apache.thrift.async.AsyncMethodCallback<saveUserSmsForSending_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 {
-
 
2441
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2442
        this.userId = userId;
-
 
2443
        this.mobileNo = mobileNo;
-
 
2444
        this.text = text;
-
 
2445
        this.type = type;
-
 
2446
      }
-
 
2447
 
-
 
2448
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2449
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("saveUserSmsForSending", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2450
        saveUserSmsForSending_args args = new saveUserSmsForSending_args();
-
 
2451
        args.setUserId(userId);
-
 
2452
        args.setMobileNo(mobileNo);
-
 
2453
        args.setText(text);
-
 
2454
        args.setType(type);
-
 
2455
        args.write(prot);
-
 
2456
        prot.writeMessageEnd();
-
 
2457
      }
-
 
2458
 
-
 
2459
      public long getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
2460
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2461
          throw new IllegalStateException("Method call not finished!");
-
 
2462
        }
-
 
2463
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2464
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2465
        return (new Client(prot)).recv_saveUserSmsForSending();
-
 
2466
      }
-
 
2467
    }
-
 
2468
 
-
 
2469
    public void getSmsToBeSent(org.apache.thrift.async.AsyncMethodCallback<getSmsToBeSent_call> resultHandler) throws org.apache.thrift.TException {
-
 
2470
      checkReady();
-
 
2471
      getSmsToBeSent_call method_call = new getSmsToBeSent_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
2472
      this.___currentMethod = method_call;
-
 
2473
      ___manager.call(method_call);
-
 
2474
    }
-
 
2475
 
-
 
2476
    public static class getSmsToBeSent_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2477
      public getSmsToBeSent_call(org.apache.thrift.async.AsyncMethodCallback<getSmsToBeSent_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 {
-
 
2478
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2479
      }
-
 
2480
 
-
 
2481
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2482
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSmsToBeSent", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2483
        getSmsToBeSent_args args = new getSmsToBeSent_args();
-
 
2484
        args.write(prot);
-
 
2485
        prot.writeMessageEnd();
-
 
2486
      }
-
 
2487
 
-
 
2488
      public List<UserSms> getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
2489
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2490
          throw new IllegalStateException("Method call not finished!");
-
 
2491
        }
-
 
2492
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2493
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2494
        return (new Client(prot)).recv_getSmsToBeSent();
-
 
2495
      }
-
 
2496
    }
-
 
2497
 
-
 
2498
    public void addUserSmsInfo(UserSmsInfo userSmsInfo, org.apache.thrift.async.AsyncMethodCallback<addUserSmsInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
2499
      checkReady();
-
 
2500
      addUserSmsInfo_call method_call = new addUserSmsInfo_call(userSmsInfo, resultHandler, this, ___protocolFactory, ___transport);
-
 
2501
      this.___currentMethod = method_call;
-
 
2502
      ___manager.call(method_call);
-
 
2503
    }
-
 
2504
 
-
 
2505
    public static class addUserSmsInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2506
      private UserSmsInfo userSmsInfo;
-
 
2507
      public addUserSmsInfo_call(UserSmsInfo userSmsInfo, org.apache.thrift.async.AsyncMethodCallback<addUserSmsInfo_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 {
-
 
2508
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2509
        this.userSmsInfo = userSmsInfo;
-
 
2510
      }
-
 
2511
 
-
 
2512
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2513
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addUserSmsInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2514
        addUserSmsInfo_args args = new addUserSmsInfo_args();
-
 
2515
        args.setUserSmsInfo(userSmsInfo);
-
 
2516
        args.write(prot);
-
 
2517
        prot.writeMessageEnd();
-
 
2518
      }
-
 
2519
 
-
 
2520
      public void getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
2521
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2522
          throw new IllegalStateException("Method call not finished!");
-
 
2523
        }
-
 
2524
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2525
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2526
        (new Client(prot)).recv_addUserSmsInfo();
-
 
2527
      }
-
 
2528
    }
-
 
2529
 
-
 
2530
    public void updateUserSmsInfo(UserSmsInfo userSmsInfo, org.apache.thrift.async.AsyncMethodCallback<updateUserSmsInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
2531
      checkReady();
-
 
2532
      updateUserSmsInfo_call method_call = new updateUserSmsInfo_call(userSmsInfo, resultHandler, this, ___protocolFactory, ___transport);
-
 
2533
      this.___currentMethod = method_call;
-
 
2534
      ___manager.call(method_call);
-
 
2535
    }
-
 
2536
 
-
 
2537
    public static class updateUserSmsInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2538
      private UserSmsInfo userSmsInfo;
-
 
2539
      public updateUserSmsInfo_call(UserSmsInfo userSmsInfo, org.apache.thrift.async.AsyncMethodCallback<updateUserSmsInfo_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 {
-
 
2540
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2541
        this.userSmsInfo = userSmsInfo;
-
 
2542
      }
-
 
2543
 
-
 
2544
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2545
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateUserSmsInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2546
        updateUserSmsInfo_args args = new updateUserSmsInfo_args();
-
 
2547
        args.setUserSmsInfo(userSmsInfo);
-
 
2548
        args.write(prot);
-
 
2549
        prot.writeMessageEnd();
-
 
2550
      }
-
 
2551
 
-
 
2552
      public boolean getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
2553
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2554
          throw new IllegalStateException("Method call not finished!");
-
 
2555
        }
-
 
2556
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2557
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2558
        return (new Client(prot)).recv_updateUserSmsInfo();
-
 
2559
      }
-
 
2560
    }
-
 
2561
 
-
 
2562
    public void getUserSmsInfo(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserSmsInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
2563
      checkReady();
-
 
2564
      getUserSmsInfo_call method_call = new getUserSmsInfo_call(userId, resultHandler, this, ___protocolFactory, ___transport);
-
 
2565
      this.___currentMethod = method_call;
-
 
2566
      ___manager.call(method_call);
-
 
2567
    }
-
 
2568
 
-
 
2569
    public static class getUserSmsInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2570
      private long userId;
-
 
2571
      public getUserSmsInfo_call(long userId, org.apache.thrift.async.AsyncMethodCallback<getUserSmsInfo_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 {
-
 
2572
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2573
        this.userId = userId;
-
 
2574
      }
-
 
2575
 
-
 
2576
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2577
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserSmsInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2578
        getUserSmsInfo_args args = new getUserSmsInfo_args();
-
 
2579
        args.setUserId(userId);
-
 
2580
        args.write(prot);
-
 
2581
        prot.writeMessageEnd();
-
 
2582
      }
-
 
2583
 
-
 
2584
      public UserSmsInfo getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
2585
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2586
          throw new IllegalStateException("Method call not finished!");
-
 
2587
        }
-
 
2588
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2589
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2590
        return (new Client(prot)).recv_getUserSmsInfo();
-
 
2591
      }
-
 
2592
    }
-
 
2593
 
-
 
2594
    public void getAllUsersSmsInfo(boolean dndStatus, boolean smsSubscribed, org.apache.thrift.async.AsyncMethodCallback<getAllUsersSmsInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
2595
      checkReady();
-
 
2596
      getAllUsersSmsInfo_call method_call = new getAllUsersSmsInfo_call(dndStatus, smsSubscribed, resultHandler, this, ___protocolFactory, ___transport);
-
 
2597
      this.___currentMethod = method_call;
-
 
2598
      ___manager.call(method_call);
-
 
2599
    }
-
 
2600
 
-
 
2601
    public static class getAllUsersSmsInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2602
      private boolean dndStatus;
-
 
2603
      private boolean smsSubscribed;
-
 
2604
      public getAllUsersSmsInfo_call(boolean dndStatus, boolean smsSubscribed, org.apache.thrift.async.AsyncMethodCallback<getAllUsersSmsInfo_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 {
-
 
2605
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2606
        this.dndStatus = dndStatus;
-
 
2607
        this.smsSubscribed = smsSubscribed;
-
 
2608
      }
-
 
2609
 
-
 
2610
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2611
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllUsersSmsInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2612
        getAllUsersSmsInfo_args args = new getAllUsersSmsInfo_args();
-
 
2613
        args.setDndStatus(dndStatus);
-
 
2614
        args.setSmsSubscribed(smsSubscribed);
-
 
2615
        args.write(prot);
-
 
2616
        prot.writeMessageEnd();
-
 
2617
      }
-
 
2618
 
-
 
2619
      public List<UserSmsInfo> getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
2620
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2621
          throw new IllegalStateException("Method call not finished!");
-
 
2622
        }
-
 
2623
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2624
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2625
        return (new Client(prot)).recv_getAllUsersSmsInfo();
-
 
2626
      }
-
 
2627
    }
-
 
2628
 
-
 
2629
    public void listSmsToGetDeliveryInfo(org.apache.thrift.async.AsyncMethodCallback<listSmsToGetDeliveryInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
2630
      checkReady();
-
 
2631
      listSmsToGetDeliveryInfo_call method_call = new listSmsToGetDeliveryInfo_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
2632
      this.___currentMethod = method_call;
-
 
2633
      ___manager.call(method_call);
-
 
2634
    }
-
 
2635
 
-
 
2636
    public static class listSmsToGetDeliveryInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2637
      public listSmsToGetDeliveryInfo_call(org.apache.thrift.async.AsyncMethodCallback<listSmsToGetDeliveryInfo_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 {
-
 
2638
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2639
      }
-
 
2640
 
-
 
2641
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2642
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listSmsToGetDeliveryInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2643
        listSmsToGetDeliveryInfo_args args = new listSmsToGetDeliveryInfo_args();
-
 
2644
        args.write(prot);
-
 
2645
        prot.writeMessageEnd();
-
 
2646
      }
-
 
2647
 
-
 
2648
      public List<UserSms> getResult() throws HelperServiceException, org.apache.thrift.TException {
-
 
2649
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2650
          throw new IllegalStateException("Method call not finished!");
-
 
2651
        }
-
 
2652
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2653
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2654
        return (new Client(prot)).recv_listSmsToGetDeliveryInfo();
-
 
2655
      }
-
 
2656
    }
-
 
2657
 
-
 
2658
    public void markMessagesAsSentToOperator(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsSentToOperator_call> resultHandler) throws org.apache.thrift.TException {
-
 
2659
      checkReady();
-
 
2660
      markMessagesAsSentToOperator_call method_call = new markMessagesAsSentToOperator_call(userSmsList, resultHandler, this, ___protocolFactory, ___transport);
-
 
2661
      this.___currentMethod = method_call;
-
 
2662
      ___manager.call(method_call);
-
 
2663
    }
-
 
2664
 
-
 
2665
    public static class markMessagesAsSentToOperator_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2666
      private List<UserSms> userSmsList;
-
 
2667
      public markMessagesAsSentToOperator_call(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsSentToOperator_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 {
-
 
2668
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2669
        this.userSmsList = userSmsList;
-
 
2670
      }
-
 
2671
 
-
 
2672
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2673
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markMessagesAsSentToOperator", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2674
        markMessagesAsSentToOperator_args args = new markMessagesAsSentToOperator_args();
-
 
2675
        args.setUserSmsList(userSmsList);
-
 
2676
        args.write(prot);
-
 
2677
        prot.writeMessageEnd();
-
 
2678
      }
-
 
2679
 
-
 
2680
      public boolean getResult() throws org.apache.thrift.TException {
-
 
2681
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2682
          throw new IllegalStateException("Method call not finished!");
-
 
2683
        }
-
 
2684
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2685
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2686
        return (new Client(prot)).recv_markMessagesAsSentToOperator();
-
 
2687
      }
-
 
2688
    }
-
 
2689
 
-
 
2690
    public void markMessagesAsSubmittedToSmsc(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsSubmittedToSmsc_call> resultHandler) throws org.apache.thrift.TException {
-
 
2691
      checkReady();
-
 
2692
      markMessagesAsSubmittedToSmsc_call method_call = new markMessagesAsSubmittedToSmsc_call(userSmsList, resultHandler, this, ___protocolFactory, ___transport);
-
 
2693
      this.___currentMethod = method_call;
-
 
2694
      ___manager.call(method_call);
-
 
2695
    }
-
 
2696
 
-
 
2697
    public static class markMessagesAsSubmittedToSmsc_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2698
      private List<UserSms> userSmsList;
-
 
2699
      public markMessagesAsSubmittedToSmsc_call(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsSubmittedToSmsc_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 {
-
 
2700
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2701
        this.userSmsList = userSmsList;
-
 
2702
      }
-
 
2703
 
-
 
2704
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2705
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markMessagesAsSubmittedToSmsc", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2706
        markMessagesAsSubmittedToSmsc_args args = new markMessagesAsSubmittedToSmsc_args();
-
 
2707
        args.setUserSmsList(userSmsList);
-
 
2708
        args.write(prot);
-
 
2709
        prot.writeMessageEnd();
-
 
2710
      }
-
 
2711
 
-
 
2712
      public boolean getResult() throws org.apache.thrift.TException {
-
 
2713
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2714
          throw new IllegalStateException("Method call not finished!");
-
 
2715
        }
-
 
2716
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2717
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2718
        return (new Client(prot)).recv_markMessagesAsSubmittedToSmsc();
-
 
2719
      }
-
 
2720
    }
-
 
2721
 
-
 
2722
    public void markMessagesAsSent(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsSent_call> resultHandler) throws org.apache.thrift.TException {
-
 
2723
      checkReady();
-
 
2724
      markMessagesAsSent_call method_call = new markMessagesAsSent_call(userSmsList, resultHandler, this, ___protocolFactory, ___transport);
-
 
2725
      this.___currentMethod = method_call;
-
 
2726
      ___manager.call(method_call);
-
 
2727
    }
-
 
2728
 
-
 
2729
    public static class markMessagesAsSent_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2730
      private List<UserSms> userSmsList;
-
 
2731
      public markMessagesAsSent_call(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsSent_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 {
-
 
2732
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2733
        this.userSmsList = userSmsList;
-
 
2734
      }
-
 
2735
 
-
 
2736
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2737
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markMessagesAsSent", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2738
        markMessagesAsSent_args args = new markMessagesAsSent_args();
-
 
2739
        args.setUserSmsList(userSmsList);
-
 
2740
        args.write(prot);
-
 
2741
        prot.writeMessageEnd();
-
 
2742
      }
-
 
2743
 
-
 
2744
      public boolean getResult() throws org.apache.thrift.TException {
-
 
2745
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2746
          throw new IllegalStateException("Method call not finished!");
-
 
2747
        }
-
 
2748
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2749
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2750
        return (new Client(prot)).recv_markMessagesAsSent();
-
 
2751
      }
-
 
2752
    }
-
 
2753
 
-
 
2754
    public void markMessagesAsRetry(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsRetry_call> resultHandler) throws org.apache.thrift.TException {
-
 
2755
      checkReady();
-
 
2756
      markMessagesAsRetry_call method_call = new markMessagesAsRetry_call(userSmsList, resultHandler, this, ___protocolFactory, ___transport);
-
 
2757
      this.___currentMethod = method_call;
-
 
2758
      ___manager.call(method_call);
-
 
2759
    }
-
 
2760
 
-
 
2761
    public static class markMessagesAsRetry_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2762
      private List<UserSms> userSmsList;
-
 
2763
      public markMessagesAsRetry_call(List<UserSms> userSmsList, org.apache.thrift.async.AsyncMethodCallback<markMessagesAsRetry_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 {
-
 
2764
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2765
        this.userSmsList = userSmsList;
-
 
2766
      }
-
 
2767
 
-
 
2768
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2769
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markMessagesAsRetry", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2770
        markMessagesAsRetry_args args = new markMessagesAsRetry_args();
-
 
2771
        args.setUserSmsList(userSmsList);
-
 
2772
        args.write(prot);
-
 
2773
        prot.writeMessageEnd();
-
 
2774
      }
-
 
2775
 
-
 
2776
      public boolean getResult() throws org.apache.thrift.TException {
-
 
2777
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2778
          throw new IllegalStateException("Method call not finished!");
-
 
2779
        }
-
 
2780
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2781
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2782
        return (new Client(prot)).recv_markMessagesAsRetry();
-
 
2783
      }
-
 
2784
    }
-
 
2785
 
2111
  }
2786
  }
2112
 
2787
 
2113
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
2788
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
2114
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
2789
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
2115
    public Processor(I iface) {
2790
    public Processor(I iface) {
Line 2150... Line 2825...
2150
      processMap.put("updateQuickLink", new updateQuickLink());
2825
      processMap.put("updateQuickLink", new updateQuickLink());
2151
      processMap.put("getEmailsForNotificationsSent", new getEmailsForNotificationsSent());
2826
      processMap.put("getEmailsForNotificationsSent", new getEmailsForNotificationsSent());
2152
      processMap.put("getOrderConfirmationMail", new getOrderConfirmationMail());
2827
      processMap.put("getOrderConfirmationMail", new getOrderConfirmationMail());
2153
      processMap.put("getOrderDeliveryMail", new getOrderDeliveryMail());
2828
      processMap.put("getOrderDeliveryMail", new getOrderDeliveryMail());
2154
      processMap.put("getWarehouseIdsForAgent", new getWarehouseIdsForAgent());
2829
      processMap.put("getWarehouseIdsForAgent", new getWarehouseIdsForAgent());
-
 
2830
      processMap.put("saveUserSmsForSending", new saveUserSmsForSending());
-
 
2831
      processMap.put("getSmsToBeSent", new getSmsToBeSent());
-
 
2832
      processMap.put("addUserSmsInfo", new addUserSmsInfo());
-
 
2833
      processMap.put("updateUserSmsInfo", new updateUserSmsInfo());
-
 
2834
      processMap.put("getUserSmsInfo", new getUserSmsInfo());
-
 
2835
      processMap.put("getAllUsersSmsInfo", new getAllUsersSmsInfo());
-
 
2836
      processMap.put("listSmsToGetDeliveryInfo", new listSmsToGetDeliveryInfo());
-
 
2837
      processMap.put("markMessagesAsSentToOperator", new markMessagesAsSentToOperator());
-
 
2838
      processMap.put("markMessagesAsSubmittedToSmsc", new markMessagesAsSubmittedToSmsc());
-
 
2839
      processMap.put("markMessagesAsSent", new markMessagesAsSent());
-
 
2840
      processMap.put("markMessagesAsRetry", new markMessagesAsRetry());
2155
      return processMap;
2841
      return processMap;
2156
    }
2842
    }
2157
 
2843
 
2158
    private static class saveUserEmailForSending<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveUserEmailForSending_args> {
2844
    private static class saveUserEmailForSending<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveUserEmailForSending_args> {
2159
      public saveUserEmailForSending() {
2845
      public saveUserEmailForSending() {
Line 2742... Line 3428...
2742
        result.success = iface.getWarehouseIdsForAgent(args.agentEmailId);
3428
        result.success = iface.getWarehouseIdsForAgent(args.agentEmailId);
2743
        return result;
3429
        return result;
2744
      }
3430
      }
2745
    }
3431
    }
2746
 
3432
 
-
 
3433
    private static class saveUserSmsForSending<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveUserSmsForSending_args> {
-
 
3434
      public saveUserSmsForSending() {
-
 
3435
        super("saveUserSmsForSending");
-
 
3436
      }
-
 
3437
 
-
 
3438
      protected saveUserSmsForSending_args getEmptyArgsInstance() {
-
 
3439
        return new saveUserSmsForSending_args();
-
 
3440
      }
-
 
3441
 
-
 
3442
      protected saveUserSmsForSending_result getResult(I iface, saveUserSmsForSending_args args) throws org.apache.thrift.TException {
-
 
3443
        saveUserSmsForSending_result result = new saveUserSmsForSending_result();
-
 
3444
        try {
-
 
3445
          result.success = iface.saveUserSmsForSending(args.userId, args.mobileNo, args.text, args.type);
-
 
3446
          result.setSuccessIsSet(true);
-
 
3447
        } catch (HelperServiceException se) {
-
 
3448
          result.se = se;
-
 
3449
        }
-
 
3450
        return result;
-
 
3451
      }
-
 
3452
    }
-
 
3453
 
-
 
3454
    private static class getSmsToBeSent<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSmsToBeSent_args> {
-
 
3455
      public getSmsToBeSent() {
-
 
3456
        super("getSmsToBeSent");
-
 
3457
      }
-
 
3458
 
-
 
3459
      protected getSmsToBeSent_args getEmptyArgsInstance() {
-
 
3460
        return new getSmsToBeSent_args();
-
 
3461
      }
-
 
3462
 
-
 
3463
      protected getSmsToBeSent_result getResult(I iface, getSmsToBeSent_args args) throws org.apache.thrift.TException {
-
 
3464
        getSmsToBeSent_result result = new getSmsToBeSent_result();
-
 
3465
        try {
-
 
3466
          result.success = iface.getSmsToBeSent();
-
 
3467
        } catch (HelperServiceException se) {
-
 
3468
          result.se = se;
-
 
3469
        }
-
 
3470
        return result;
-
 
3471
      }
-
 
3472
    }
-
 
3473
 
-
 
3474
    private static class addUserSmsInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addUserSmsInfo_args> {
-
 
3475
      public addUserSmsInfo() {
-
 
3476
        super("addUserSmsInfo");
-
 
3477
      }
-
 
3478
 
-
 
3479
      protected addUserSmsInfo_args getEmptyArgsInstance() {
-
 
3480
        return new addUserSmsInfo_args();
-
 
3481
      }
-
 
3482
 
-
 
3483
      protected addUserSmsInfo_result getResult(I iface, addUserSmsInfo_args args) throws org.apache.thrift.TException {
-
 
3484
        addUserSmsInfo_result result = new addUserSmsInfo_result();
-
 
3485
        try {
-
 
3486
          iface.addUserSmsInfo(args.userSmsInfo);
-
 
3487
        } catch (HelperServiceException se) {
-
 
3488
          result.se = se;
-
 
3489
        }
-
 
3490
        return result;
-
 
3491
      }
-
 
3492
    }
-
 
3493
 
-
 
3494
    private static class updateUserSmsInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateUserSmsInfo_args> {
-
 
3495
      public updateUserSmsInfo() {
-
 
3496
        super("updateUserSmsInfo");
-
 
3497
      }
-
 
3498
 
-
 
3499
      protected updateUserSmsInfo_args getEmptyArgsInstance() {
-
 
3500
        return new updateUserSmsInfo_args();
-
 
3501
      }
-
 
3502
 
-
 
3503
      protected updateUserSmsInfo_result getResult(I iface, updateUserSmsInfo_args args) throws org.apache.thrift.TException {
-
 
3504
        updateUserSmsInfo_result result = new updateUserSmsInfo_result();
-
 
3505
        try {
-
 
3506
          result.success = iface.updateUserSmsInfo(args.userSmsInfo);
-
 
3507
          result.setSuccessIsSet(true);
-
 
3508
        } catch (HelperServiceException se) {
-
 
3509
          result.se = se;
-
 
3510
        }
-
 
3511
        return result;
-
 
3512
      }
-
 
3513
    }
-
 
3514
 
-
 
3515
    private static class getUserSmsInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUserSmsInfo_args> {
-
 
3516
      public getUserSmsInfo() {
-
 
3517
        super("getUserSmsInfo");
-
 
3518
      }
-
 
3519
 
-
 
3520
      protected getUserSmsInfo_args getEmptyArgsInstance() {
-
 
3521
        return new getUserSmsInfo_args();
-
 
3522
      }
-
 
3523
 
-
 
3524
      protected getUserSmsInfo_result getResult(I iface, getUserSmsInfo_args args) throws org.apache.thrift.TException {
-
 
3525
        getUserSmsInfo_result result = new getUserSmsInfo_result();
-
 
3526
        try {
-
 
3527
          result.success = iface.getUserSmsInfo(args.userId);
-
 
3528
        } catch (HelperServiceException se) {
-
 
3529
          result.se = se;
-
 
3530
        }
-
 
3531
        return result;
-
 
3532
      }
-
 
3533
    }
-
 
3534
 
-
 
3535
    private static class getAllUsersSmsInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllUsersSmsInfo_args> {
-
 
3536
      public getAllUsersSmsInfo() {
-
 
3537
        super("getAllUsersSmsInfo");
-
 
3538
      }
-
 
3539
 
-
 
3540
      protected getAllUsersSmsInfo_args getEmptyArgsInstance() {
-
 
3541
        return new getAllUsersSmsInfo_args();
-
 
3542
      }
-
 
3543
 
-
 
3544
      protected getAllUsersSmsInfo_result getResult(I iface, getAllUsersSmsInfo_args args) throws org.apache.thrift.TException {
-
 
3545
        getAllUsersSmsInfo_result result = new getAllUsersSmsInfo_result();
-
 
3546
        try {
-
 
3547
          result.success = iface.getAllUsersSmsInfo(args.dndStatus, args.smsSubscribed);
-
 
3548
        } catch (HelperServiceException se) {
-
 
3549
          result.se = se;
-
 
3550
        }
-
 
3551
        return result;
-
 
3552
      }
-
 
3553
    }
-
 
3554
 
-
 
3555
    private static class listSmsToGetDeliveryInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, listSmsToGetDeliveryInfo_args> {
-
 
3556
      public listSmsToGetDeliveryInfo() {
-
 
3557
        super("listSmsToGetDeliveryInfo");
-
 
3558
      }
-
 
3559
 
-
 
3560
      protected listSmsToGetDeliveryInfo_args getEmptyArgsInstance() {
-
 
3561
        return new listSmsToGetDeliveryInfo_args();
-
 
3562
      }
-
 
3563
 
-
 
3564
      protected listSmsToGetDeliveryInfo_result getResult(I iface, listSmsToGetDeliveryInfo_args args) throws org.apache.thrift.TException {
-
 
3565
        listSmsToGetDeliveryInfo_result result = new listSmsToGetDeliveryInfo_result();
-
 
3566
        try {
-
 
3567
          result.success = iface.listSmsToGetDeliveryInfo();
-
 
3568
        } catch (HelperServiceException se) {
-
 
3569
          result.se = se;
-
 
3570
        }
-
 
3571
        return result;
-
 
3572
      }
-
 
3573
    }
-
 
3574
 
-
 
3575
    private static class markMessagesAsSentToOperator<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markMessagesAsSentToOperator_args> {
-
 
3576
      public markMessagesAsSentToOperator() {
-
 
3577
        super("markMessagesAsSentToOperator");
-
 
3578
      }
-
 
3579
 
-
 
3580
      protected markMessagesAsSentToOperator_args getEmptyArgsInstance() {
-
 
3581
        return new markMessagesAsSentToOperator_args();
-
 
3582
      }
-
 
3583
 
-
 
3584
      protected markMessagesAsSentToOperator_result getResult(I iface, markMessagesAsSentToOperator_args args) throws org.apache.thrift.TException {
-
 
3585
        markMessagesAsSentToOperator_result result = new markMessagesAsSentToOperator_result();
-
 
3586
        result.success = iface.markMessagesAsSentToOperator(args.userSmsList);
-
 
3587
        result.setSuccessIsSet(true);
-
 
3588
        return result;
-
 
3589
      }
-
 
3590
    }
-
 
3591
 
-
 
3592
    private static class markMessagesAsSubmittedToSmsc<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markMessagesAsSubmittedToSmsc_args> {
-
 
3593
      public markMessagesAsSubmittedToSmsc() {
-
 
3594
        super("markMessagesAsSubmittedToSmsc");
-
 
3595
      }
-
 
3596
 
-
 
3597
      protected markMessagesAsSubmittedToSmsc_args getEmptyArgsInstance() {
-
 
3598
        return new markMessagesAsSubmittedToSmsc_args();
-
 
3599
      }
-
 
3600
 
-
 
3601
      protected markMessagesAsSubmittedToSmsc_result getResult(I iface, markMessagesAsSubmittedToSmsc_args args) throws org.apache.thrift.TException {
-
 
3602
        markMessagesAsSubmittedToSmsc_result result = new markMessagesAsSubmittedToSmsc_result();
-
 
3603
        result.success = iface.markMessagesAsSubmittedToSmsc(args.userSmsList);
-
 
3604
        result.setSuccessIsSet(true);
-
 
3605
        return result;
-
 
3606
      }
-
 
3607
    }
-
 
3608
 
-
 
3609
    private static class markMessagesAsSent<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markMessagesAsSent_args> {
-
 
3610
      public markMessagesAsSent() {
-
 
3611
        super("markMessagesAsSent");
-
 
3612
      }
-
 
3613
 
-
 
3614
      protected markMessagesAsSent_args getEmptyArgsInstance() {
-
 
3615
        return new markMessagesAsSent_args();
-
 
3616
      }
-
 
3617
 
-
 
3618
      protected markMessagesAsSent_result getResult(I iface, markMessagesAsSent_args args) throws org.apache.thrift.TException {
-
 
3619
        markMessagesAsSent_result result = new markMessagesAsSent_result();
-
 
3620
        result.success = iface.markMessagesAsSent(args.userSmsList);
-
 
3621
        result.setSuccessIsSet(true);
-
 
3622
        return result;
-
 
3623
      }
-
 
3624
    }
-
 
3625
 
-
 
3626
    private static class markMessagesAsRetry<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markMessagesAsRetry_args> {
-
 
3627
      public markMessagesAsRetry() {
-
 
3628
        super("markMessagesAsRetry");
-
 
3629
      }
-
 
3630
 
-
 
3631
      protected markMessagesAsRetry_args getEmptyArgsInstance() {
-
 
3632
        return new markMessagesAsRetry_args();
-
 
3633
      }
-
 
3634
 
-
 
3635
      protected markMessagesAsRetry_result getResult(I iface, markMessagesAsRetry_args args) throws org.apache.thrift.TException {
-
 
3636
        markMessagesAsRetry_result result = new markMessagesAsRetry_result();
-
 
3637
        result.success = iface.markMessagesAsRetry(args.userSmsList);
-
 
3638
        result.setSuccessIsSet(true);
-
 
3639
        return result;
-
 
3640
      }
-
 
3641
    }
-
 
3642
 
2747
  }
3643
  }
2748
 
3644
 
2749
  public static class saveUserEmailForSending_args implements org.apache.thrift.TBase<saveUserEmailForSending_args, saveUserEmailForSending_args._Fields>, java.io.Serializable, Cloneable   {
3645
  public static class saveUserEmailForSending_args implements org.apache.thrift.TBase<saveUserEmailForSending_args, saveUserEmailForSending_args._Fields>, java.io.Serializable, Cloneable   {
2750
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveUserEmailForSending_args");
3646
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveUserEmailForSending_args");
2751
 
3647
 
Line 3843... Line 4739...
3843
      }
4739
      }
3844
    }
4740
    }
3845
 
4741
 
3846
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
4742
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
3847
      try {
4743
      try {
-
 
4744
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
4745
        __isset_bit_vector = new BitSet(1);
3848
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
4746
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
3849
      } catch (org.apache.thrift.TException te) {
4747
      } catch (org.apache.thrift.TException te) {
3850
        throw new java.io.IOException(te);
4748
        throw new java.io.IOException(te);
3851
      }
4749
      }
3852
    }
4750
    }
Line 5135... Line 6033...
5135
      }
6033
      }
5136
    }
6034
    }
5137
 
6035
 
5138
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6036
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5139
      try {
6037
      try {
5140
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
5141
        __isset_bit_vector = new BitSet(1);
-
 
5142
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6038
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5143
      } catch (org.apache.thrift.TException te) {
6039
      } catch (org.apache.thrift.TException te) {
5144
        throw new java.io.IOException(te);
6040
        throw new java.io.IOException(te);
5145
      }
6041
      }
5146
    }
6042
    }
Line 24565... Line 25461...
24565
      first = false;
25461
      first = false;
24566
      sb.append(")");
25462
      sb.append(")");
24567
      return sb.toString();
25463
      return sb.toString();
24568
    }
25464
    }
24569
 
25465
 
-
 
25466
    public void validate() throws org.apache.thrift.TException {
-
 
25467
      // check for required fields
-
 
25468
    }
-
 
25469
 
-
 
25470
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
25471
      try {
-
 
25472
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
25473
      } catch (org.apache.thrift.TException te) {
-
 
25474
        throw new java.io.IOException(te);
-
 
25475
      }
-
 
25476
    }
-
 
25477
 
-
 
25478
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
25479
      try {
-
 
25480
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
25481
      } catch (org.apache.thrift.TException te) {
-
 
25482
        throw new java.io.IOException(te);
-
 
25483
      }
-
 
25484
    }
-
 
25485
 
-
 
25486
  }
-
 
25487
 
-
 
25488
  public static class saveUserSmsForSending_args implements org.apache.thrift.TBase<saveUserSmsForSending_args, saveUserSmsForSending_args._Fields>, java.io.Serializable, Cloneable   {
-
 
25489
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveUserSmsForSending_args");
-
 
25490
 
-
 
25491
    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);
-
 
25492
    private static final org.apache.thrift.protocol.TField MOBILE_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("mobileNo", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
25493
    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)3);
-
 
25494
    private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)4);
-
 
25495
 
-
 
25496
    private long userId; // required
-
 
25497
    private String mobileNo; // required
-
 
25498
    private String text; // required
-
 
25499
    private SmsType type; // required
-
 
25500
 
-
 
25501
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
25502
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
25503
      USER_ID((short)1, "userId"),
-
 
25504
      MOBILE_NO((short)2, "mobileNo"),
-
 
25505
      TEXT((short)3, "text"),
-
 
25506
      /**
-
 
25507
       * 
-
 
25508
       * @see SmsType
-
 
25509
       */
-
 
25510
      TYPE((short)4, "type");
-
 
25511
 
-
 
25512
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
25513
 
-
 
25514
      static {
-
 
25515
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
25516
          byName.put(field.getFieldName(), field);
-
 
25517
        }
-
 
25518
      }
-
 
25519
 
-
 
25520
      /**
-
 
25521
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
25522
       */
-
 
25523
      public static _Fields findByThriftId(int fieldId) {
-
 
25524
        switch(fieldId) {
-
 
25525
          case 1: // USER_ID
-
 
25526
            return USER_ID;
-
 
25527
          case 2: // MOBILE_NO
-
 
25528
            return MOBILE_NO;
-
 
25529
          case 3: // TEXT
-
 
25530
            return TEXT;
-
 
25531
          case 4: // TYPE
-
 
25532
            return TYPE;
-
 
25533
          default:
-
 
25534
            return null;
-
 
25535
        }
-
 
25536
      }
-
 
25537
 
-
 
25538
      /**
-
 
25539
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
25540
       * if it is not found.
-
 
25541
       */
-
 
25542
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
25543
        _Fields fields = findByThriftId(fieldId);
-
 
25544
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
25545
        return fields;
-
 
25546
      }
-
 
25547
 
-
 
25548
      /**
-
 
25549
       * Find the _Fields constant that matches name, or null if its not found.
-
 
25550
       */
-
 
25551
      public static _Fields findByName(String name) {
-
 
25552
        return byName.get(name);
-
 
25553
      }
-
 
25554
 
-
 
25555
      private final short _thriftId;
-
 
25556
      private final String _fieldName;
-
 
25557
 
-
 
25558
      _Fields(short thriftId, String fieldName) {
-
 
25559
        _thriftId = thriftId;
-
 
25560
        _fieldName = fieldName;
-
 
25561
      }
-
 
25562
 
-
 
25563
      public short getThriftFieldId() {
-
 
25564
        return _thriftId;
-
 
25565
      }
-
 
25566
 
-
 
25567
      public String getFieldName() {
-
 
25568
        return _fieldName;
-
 
25569
      }
-
 
25570
    }
-
 
25571
 
-
 
25572
    // isset id assignments
-
 
25573
    private static final int __USERID_ISSET_ID = 0;
-
 
25574
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
25575
 
-
 
25576
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
25577
    static {
-
 
25578
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
25579
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
25580
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
25581
      tmpMap.put(_Fields.MOBILE_NO, new org.apache.thrift.meta_data.FieldMetaData("mobileNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
25582
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
25583
      tmpMap.put(_Fields.TEXT, new org.apache.thrift.meta_data.FieldMetaData("text", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
25584
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
25585
      tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
25586
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, SmsType.class)));
-
 
25587
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
25588
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveUserSmsForSending_args.class, metaDataMap);
-
 
25589
    }
-
 
25590
 
-
 
25591
    public saveUserSmsForSending_args() {
-
 
25592
    }
-
 
25593
 
-
 
25594
    public saveUserSmsForSending_args(
-
 
25595
      long userId,
-
 
25596
      String mobileNo,
-
 
25597
      String text,
-
 
25598
      SmsType type)
-
 
25599
    {
-
 
25600
      this();
-
 
25601
      this.userId = userId;
-
 
25602
      setUserIdIsSet(true);
-
 
25603
      this.mobileNo = mobileNo;
-
 
25604
      this.text = text;
-
 
25605
      this.type = type;
-
 
25606
    }
-
 
25607
 
-
 
25608
    /**
-
 
25609
     * Performs a deep copy on <i>other</i>.
-
 
25610
     */
-
 
25611
    public saveUserSmsForSending_args(saveUserSmsForSending_args other) {
-
 
25612
      __isset_bit_vector.clear();
-
 
25613
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
25614
      this.userId = other.userId;
-
 
25615
      if (other.isSetMobileNo()) {
-
 
25616
        this.mobileNo = other.mobileNo;
-
 
25617
      }
-
 
25618
      if (other.isSetText()) {
-
 
25619
        this.text = other.text;
-
 
25620
      }
-
 
25621
      if (other.isSetType()) {
-
 
25622
        this.type = other.type;
-
 
25623
      }
-
 
25624
    }
-
 
25625
 
-
 
25626
    public saveUserSmsForSending_args deepCopy() {
-
 
25627
      return new saveUserSmsForSending_args(this);
-
 
25628
    }
-
 
25629
 
-
 
25630
    @Override
-
 
25631
    public void clear() {
-
 
25632
      setUserIdIsSet(false);
-
 
25633
      this.userId = 0;
-
 
25634
      this.mobileNo = null;
-
 
25635
      this.text = null;
-
 
25636
      this.type = null;
-
 
25637
    }
-
 
25638
 
-
 
25639
    public long getUserId() {
-
 
25640
      return this.userId;
-
 
25641
    }
-
 
25642
 
-
 
25643
    public void setUserId(long userId) {
-
 
25644
      this.userId = userId;
-
 
25645
      setUserIdIsSet(true);
-
 
25646
    }
-
 
25647
 
-
 
25648
    public void unsetUserId() {
-
 
25649
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
25650
    }
-
 
25651
 
-
 
25652
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
25653
    public boolean isSetUserId() {
-
 
25654
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
25655
    }
-
 
25656
 
-
 
25657
    public void setUserIdIsSet(boolean value) {
-
 
25658
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
25659
    }
-
 
25660
 
-
 
25661
    public String getMobileNo() {
-
 
25662
      return this.mobileNo;
-
 
25663
    }
-
 
25664
 
-
 
25665
    public void setMobileNo(String mobileNo) {
-
 
25666
      this.mobileNo = mobileNo;
-
 
25667
    }
-
 
25668
 
-
 
25669
    public void unsetMobileNo() {
-
 
25670
      this.mobileNo = null;
-
 
25671
    }
-
 
25672
 
-
 
25673
    /** Returns true if field mobileNo is set (has been assigned a value) and false otherwise */
-
 
25674
    public boolean isSetMobileNo() {
-
 
25675
      return this.mobileNo != null;
-
 
25676
    }
-
 
25677
 
-
 
25678
    public void setMobileNoIsSet(boolean value) {
-
 
25679
      if (!value) {
-
 
25680
        this.mobileNo = null;
-
 
25681
      }
-
 
25682
    }
-
 
25683
 
-
 
25684
    public String getText() {
-
 
25685
      return this.text;
-
 
25686
    }
-
 
25687
 
-
 
25688
    public void setText(String text) {
-
 
25689
      this.text = text;
-
 
25690
    }
-
 
25691
 
-
 
25692
    public void unsetText() {
-
 
25693
      this.text = null;
-
 
25694
    }
-
 
25695
 
-
 
25696
    /** Returns true if field text is set (has been assigned a value) and false otherwise */
-
 
25697
    public boolean isSetText() {
-
 
25698
      return this.text != null;
-
 
25699
    }
-
 
25700
 
-
 
25701
    public void setTextIsSet(boolean value) {
-
 
25702
      if (!value) {
-
 
25703
        this.text = null;
-
 
25704
      }
-
 
25705
    }
-
 
25706
 
-
 
25707
    /**
-
 
25708
     * 
-
 
25709
     * @see SmsType
-
 
25710
     */
-
 
25711
    public SmsType getType() {
-
 
25712
      return this.type;
-
 
25713
    }
-
 
25714
 
-
 
25715
    /**
-
 
25716
     * 
-
 
25717
     * @see SmsType
-
 
25718
     */
-
 
25719
    public void setType(SmsType type) {
-
 
25720
      this.type = type;
-
 
25721
    }
-
 
25722
 
-
 
25723
    public void unsetType() {
-
 
25724
      this.type = null;
-
 
25725
    }
-
 
25726
 
-
 
25727
    /** Returns true if field type is set (has been assigned a value) and false otherwise */
-
 
25728
    public boolean isSetType() {
-
 
25729
      return this.type != null;
-
 
25730
    }
-
 
25731
 
-
 
25732
    public void setTypeIsSet(boolean value) {
-
 
25733
      if (!value) {
-
 
25734
        this.type = null;
-
 
25735
      }
-
 
25736
    }
-
 
25737
 
-
 
25738
    public void setFieldValue(_Fields field, Object value) {
-
 
25739
      switch (field) {
-
 
25740
      case USER_ID:
-
 
25741
        if (value == null) {
-
 
25742
          unsetUserId();
-
 
25743
        } else {
-
 
25744
          setUserId((Long)value);
-
 
25745
        }
-
 
25746
        break;
-
 
25747
 
-
 
25748
      case MOBILE_NO:
-
 
25749
        if (value == null) {
-
 
25750
          unsetMobileNo();
-
 
25751
        } else {
-
 
25752
          setMobileNo((String)value);
-
 
25753
        }
-
 
25754
        break;
-
 
25755
 
-
 
25756
      case TEXT:
-
 
25757
        if (value == null) {
-
 
25758
          unsetText();
-
 
25759
        } else {
-
 
25760
          setText((String)value);
-
 
25761
        }
-
 
25762
        break;
-
 
25763
 
-
 
25764
      case TYPE:
-
 
25765
        if (value == null) {
-
 
25766
          unsetType();
-
 
25767
        } else {
-
 
25768
          setType((SmsType)value);
-
 
25769
        }
-
 
25770
        break;
-
 
25771
 
-
 
25772
      }
-
 
25773
    }
-
 
25774
 
-
 
25775
    public Object getFieldValue(_Fields field) {
-
 
25776
      switch (field) {
-
 
25777
      case USER_ID:
-
 
25778
        return Long.valueOf(getUserId());
-
 
25779
 
-
 
25780
      case MOBILE_NO:
-
 
25781
        return getMobileNo();
-
 
25782
 
-
 
25783
      case TEXT:
-
 
25784
        return getText();
-
 
25785
 
-
 
25786
      case TYPE:
-
 
25787
        return getType();
-
 
25788
 
-
 
25789
      }
-
 
25790
      throw new IllegalStateException();
-
 
25791
    }
-
 
25792
 
-
 
25793
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
25794
    public boolean isSet(_Fields field) {
-
 
25795
      if (field == null) {
-
 
25796
        throw new IllegalArgumentException();
-
 
25797
      }
-
 
25798
 
-
 
25799
      switch (field) {
-
 
25800
      case USER_ID:
-
 
25801
        return isSetUserId();
-
 
25802
      case MOBILE_NO:
-
 
25803
        return isSetMobileNo();
-
 
25804
      case TEXT:
-
 
25805
        return isSetText();
-
 
25806
      case TYPE:
-
 
25807
        return isSetType();
-
 
25808
      }
-
 
25809
      throw new IllegalStateException();
-
 
25810
    }
-
 
25811
 
-
 
25812
    @Override
-
 
25813
    public boolean equals(Object that) {
-
 
25814
      if (that == null)
-
 
25815
        return false;
-
 
25816
      if (that instanceof saveUserSmsForSending_args)
-
 
25817
        return this.equals((saveUserSmsForSending_args)that);
-
 
25818
      return false;
-
 
25819
    }
-
 
25820
 
-
 
25821
    public boolean equals(saveUserSmsForSending_args that) {
-
 
25822
      if (that == null)
-
 
25823
        return false;
-
 
25824
 
-
 
25825
      boolean this_present_userId = true;
-
 
25826
      boolean that_present_userId = true;
-
 
25827
      if (this_present_userId || that_present_userId) {
-
 
25828
        if (!(this_present_userId && that_present_userId))
-
 
25829
          return false;
-
 
25830
        if (this.userId != that.userId)
-
 
25831
          return false;
-
 
25832
      }
-
 
25833
 
-
 
25834
      boolean this_present_mobileNo = true && this.isSetMobileNo();
-
 
25835
      boolean that_present_mobileNo = true && that.isSetMobileNo();
-
 
25836
      if (this_present_mobileNo || that_present_mobileNo) {
-
 
25837
        if (!(this_present_mobileNo && that_present_mobileNo))
-
 
25838
          return false;
-
 
25839
        if (!this.mobileNo.equals(that.mobileNo))
-
 
25840
          return false;
-
 
25841
      }
-
 
25842
 
-
 
25843
      boolean this_present_text = true && this.isSetText();
-
 
25844
      boolean that_present_text = true && that.isSetText();
-
 
25845
      if (this_present_text || that_present_text) {
-
 
25846
        if (!(this_present_text && that_present_text))
-
 
25847
          return false;
-
 
25848
        if (!this.text.equals(that.text))
-
 
25849
          return false;
-
 
25850
      }
-
 
25851
 
-
 
25852
      boolean this_present_type = true && this.isSetType();
-
 
25853
      boolean that_present_type = true && that.isSetType();
-
 
25854
      if (this_present_type || that_present_type) {
-
 
25855
        if (!(this_present_type && that_present_type))
-
 
25856
          return false;
-
 
25857
        if (!this.type.equals(that.type))
-
 
25858
          return false;
-
 
25859
      }
-
 
25860
 
-
 
25861
      return true;
-
 
25862
    }
-
 
25863
 
-
 
25864
    @Override
-
 
25865
    public int hashCode() {
-
 
25866
      return 0;
-
 
25867
    }
-
 
25868
 
-
 
25869
    public int compareTo(saveUserSmsForSending_args other) {
-
 
25870
      if (!getClass().equals(other.getClass())) {
-
 
25871
        return getClass().getName().compareTo(other.getClass().getName());
-
 
25872
      }
-
 
25873
 
-
 
25874
      int lastComparison = 0;
-
 
25875
      saveUserSmsForSending_args typedOther = (saveUserSmsForSending_args)other;
-
 
25876
 
-
 
25877
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
25878
      if (lastComparison != 0) {
-
 
25879
        return lastComparison;
-
 
25880
      }
-
 
25881
      if (isSetUserId()) {
-
 
25882
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
25883
        if (lastComparison != 0) {
-
 
25884
          return lastComparison;
-
 
25885
        }
-
 
25886
      }
-
 
25887
      lastComparison = Boolean.valueOf(isSetMobileNo()).compareTo(typedOther.isSetMobileNo());
-
 
25888
      if (lastComparison != 0) {
-
 
25889
        return lastComparison;
-
 
25890
      }
-
 
25891
      if (isSetMobileNo()) {
-
 
25892
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mobileNo, typedOther.mobileNo);
-
 
25893
        if (lastComparison != 0) {
-
 
25894
          return lastComparison;
-
 
25895
        }
-
 
25896
      }
-
 
25897
      lastComparison = Boolean.valueOf(isSetText()).compareTo(typedOther.isSetText());
-
 
25898
      if (lastComparison != 0) {
-
 
25899
        return lastComparison;
-
 
25900
      }
-
 
25901
      if (isSetText()) {
-
 
25902
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.text, typedOther.text);
-
 
25903
        if (lastComparison != 0) {
-
 
25904
          return lastComparison;
-
 
25905
        }
-
 
25906
      }
-
 
25907
      lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
-
 
25908
      if (lastComparison != 0) {
-
 
25909
        return lastComparison;
-
 
25910
      }
-
 
25911
      if (isSetType()) {
-
 
25912
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
-
 
25913
        if (lastComparison != 0) {
-
 
25914
          return lastComparison;
-
 
25915
        }
-
 
25916
      }
-
 
25917
      return 0;
-
 
25918
    }
-
 
25919
 
-
 
25920
    public _Fields fieldForId(int fieldId) {
-
 
25921
      return _Fields.findByThriftId(fieldId);
-
 
25922
    }
-
 
25923
 
-
 
25924
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
25925
      org.apache.thrift.protocol.TField field;
-
 
25926
      iprot.readStructBegin();
-
 
25927
      while (true)
-
 
25928
      {
-
 
25929
        field = iprot.readFieldBegin();
-
 
25930
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
25931
          break;
-
 
25932
        }
-
 
25933
        switch (field.id) {
-
 
25934
          case 1: // USER_ID
-
 
25935
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
25936
              this.userId = iprot.readI64();
-
 
25937
              setUserIdIsSet(true);
-
 
25938
            } else { 
-
 
25939
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25940
            }
-
 
25941
            break;
-
 
25942
          case 2: // MOBILE_NO
-
 
25943
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
25944
              this.mobileNo = iprot.readString();
-
 
25945
            } else { 
-
 
25946
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25947
            }
-
 
25948
            break;
-
 
25949
          case 3: // TEXT
-
 
25950
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
25951
              this.text = iprot.readString();
-
 
25952
            } else { 
-
 
25953
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25954
            }
-
 
25955
            break;
-
 
25956
          case 4: // TYPE
-
 
25957
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
25958
              this.type = SmsType.findByValue(iprot.readI32());
-
 
25959
            } else { 
-
 
25960
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25961
            }
-
 
25962
            break;
-
 
25963
          default:
-
 
25964
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
25965
        }
-
 
25966
        iprot.readFieldEnd();
-
 
25967
      }
-
 
25968
      iprot.readStructEnd();
-
 
25969
      validate();
-
 
25970
    }
-
 
25971
 
-
 
25972
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
25973
      validate();
-
 
25974
 
-
 
25975
      oprot.writeStructBegin(STRUCT_DESC);
-
 
25976
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
25977
      oprot.writeI64(this.userId);
-
 
25978
      oprot.writeFieldEnd();
-
 
25979
      if (this.mobileNo != null) {
-
 
25980
        oprot.writeFieldBegin(MOBILE_NO_FIELD_DESC);
-
 
25981
        oprot.writeString(this.mobileNo);
-
 
25982
        oprot.writeFieldEnd();
-
 
25983
      }
-
 
25984
      if (this.text != null) {
-
 
25985
        oprot.writeFieldBegin(TEXT_FIELD_DESC);
-
 
25986
        oprot.writeString(this.text);
-
 
25987
        oprot.writeFieldEnd();
-
 
25988
      }
-
 
25989
      if (this.type != null) {
-
 
25990
        oprot.writeFieldBegin(TYPE_FIELD_DESC);
-
 
25991
        oprot.writeI32(this.type.getValue());
-
 
25992
        oprot.writeFieldEnd();
-
 
25993
      }
-
 
25994
      oprot.writeFieldStop();
-
 
25995
      oprot.writeStructEnd();
-
 
25996
    }
-
 
25997
 
-
 
25998
    @Override
-
 
25999
    public String toString() {
-
 
26000
      StringBuilder sb = new StringBuilder("saveUserSmsForSending_args(");
-
 
26001
      boolean first = true;
-
 
26002
 
-
 
26003
      sb.append("userId:");
-
 
26004
      sb.append(this.userId);
-
 
26005
      first = false;
-
 
26006
      if (!first) sb.append(", ");
-
 
26007
      sb.append("mobileNo:");
-
 
26008
      if (this.mobileNo == null) {
-
 
26009
        sb.append("null");
-
 
26010
      } else {
-
 
26011
        sb.append(this.mobileNo);
-
 
26012
      }
-
 
26013
      first = false;
-
 
26014
      if (!first) sb.append(", ");
-
 
26015
      sb.append("text:");
-
 
26016
      if (this.text == null) {
-
 
26017
        sb.append("null");
-
 
26018
      } else {
-
 
26019
        sb.append(this.text);
-
 
26020
      }
-
 
26021
      first = false;
-
 
26022
      if (!first) sb.append(", ");
-
 
26023
      sb.append("type:");
-
 
26024
      if (this.type == null) {
-
 
26025
        sb.append("null");
-
 
26026
      } else {
-
 
26027
        sb.append(this.type);
-
 
26028
      }
-
 
26029
      first = false;
-
 
26030
      sb.append(")");
-
 
26031
      return sb.toString();
-
 
26032
    }
-
 
26033
 
-
 
26034
    public void validate() throws org.apache.thrift.TException {
-
 
26035
      // check for required fields
-
 
26036
    }
-
 
26037
 
-
 
26038
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
26039
      try {
-
 
26040
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
26041
      } catch (org.apache.thrift.TException te) {
-
 
26042
        throw new java.io.IOException(te);
-
 
26043
      }
-
 
26044
    }
-
 
26045
 
-
 
26046
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
26047
      try {
-
 
26048
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
26049
        __isset_bit_vector = new BitSet(1);
-
 
26050
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
26051
      } catch (org.apache.thrift.TException te) {
-
 
26052
        throw new java.io.IOException(te);
-
 
26053
      }
-
 
26054
    }
-
 
26055
 
-
 
26056
  }
-
 
26057
 
-
 
26058
  public static class saveUserSmsForSending_result implements org.apache.thrift.TBase<saveUserSmsForSending_result, saveUserSmsForSending_result._Fields>, java.io.Serializable, Cloneable   {
-
 
26059
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveUserSmsForSending_result");
-
 
26060
 
-
 
26061
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
-
 
26062
    private static final org.apache.thrift.protocol.TField SE_FIELD_DESC = new org.apache.thrift.protocol.TField("se", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
26063
 
-
 
26064
    private long success; // required
-
 
26065
    private HelperServiceException se; // required
-
 
26066
 
-
 
26067
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
26068
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
26069
      SUCCESS((short)0, "success"),
-
 
26070
      SE((short)1, "se");
-
 
26071
 
-
 
26072
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
26073
 
-
 
26074
      static {
-
 
26075
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
26076
          byName.put(field.getFieldName(), field);
-
 
26077
        }
-
 
26078
      }
-
 
26079
 
-
 
26080
      /**
-
 
26081
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
26082
       */
-
 
26083
      public static _Fields findByThriftId(int fieldId) {
-
 
26084
        switch(fieldId) {
-
 
26085
          case 0: // SUCCESS
-
 
26086
            return SUCCESS;
-
 
26087
          case 1: // SE
-
 
26088
            return SE;
-
 
26089
          default:
-
 
26090
            return null;
-
 
26091
        }
-
 
26092
      }
-
 
26093
 
-
 
26094
      /**
-
 
26095
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
26096
       * if it is not found.
-
 
26097
       */
-
 
26098
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
26099
        _Fields fields = findByThriftId(fieldId);
-
 
26100
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
26101
        return fields;
-
 
26102
      }
-
 
26103
 
-
 
26104
      /**
-
 
26105
       * Find the _Fields constant that matches name, or null if its not found.
-
 
26106
       */
-
 
26107
      public static _Fields findByName(String name) {
-
 
26108
        return byName.get(name);
-
 
26109
      }
-
 
26110
 
-
 
26111
      private final short _thriftId;
-
 
26112
      private final String _fieldName;
-
 
26113
 
-
 
26114
      _Fields(short thriftId, String fieldName) {
-
 
26115
        _thriftId = thriftId;
-
 
26116
        _fieldName = fieldName;
-
 
26117
      }
-
 
26118
 
-
 
26119
      public short getThriftFieldId() {
-
 
26120
        return _thriftId;
-
 
26121
      }
-
 
26122
 
-
 
26123
      public String getFieldName() {
-
 
26124
        return _fieldName;
-
 
26125
      }
-
 
26126
    }
-
 
26127
 
-
 
26128
    // isset id assignments
-
 
26129
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
26130
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
26131
 
-
 
26132
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
26133
    static {
-
 
26134
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
26135
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
26136
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
26137
      tmpMap.put(_Fields.SE, new org.apache.thrift.meta_data.FieldMetaData("se", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
26138
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
26139
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
26140
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveUserSmsForSending_result.class, metaDataMap);
-
 
26141
    }
-
 
26142
 
-
 
26143
    public saveUserSmsForSending_result() {
-
 
26144
    }
-
 
26145
 
-
 
26146
    public saveUserSmsForSending_result(
-
 
26147
      long success,
-
 
26148
      HelperServiceException se)
-
 
26149
    {
-
 
26150
      this();
-
 
26151
      this.success = success;
-
 
26152
      setSuccessIsSet(true);
-
 
26153
      this.se = se;
-
 
26154
    }
-
 
26155
 
-
 
26156
    /**
-
 
26157
     * Performs a deep copy on <i>other</i>.
-
 
26158
     */
-
 
26159
    public saveUserSmsForSending_result(saveUserSmsForSending_result other) {
-
 
26160
      __isset_bit_vector.clear();
-
 
26161
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
26162
      this.success = other.success;
-
 
26163
      if (other.isSetSe()) {
-
 
26164
        this.se = new HelperServiceException(other.se);
-
 
26165
      }
-
 
26166
    }
-
 
26167
 
-
 
26168
    public saveUserSmsForSending_result deepCopy() {
-
 
26169
      return new saveUserSmsForSending_result(this);
-
 
26170
    }
-
 
26171
 
-
 
26172
    @Override
-
 
26173
    public void clear() {
-
 
26174
      setSuccessIsSet(false);
-
 
26175
      this.success = 0;
-
 
26176
      this.se = null;
-
 
26177
    }
-
 
26178
 
-
 
26179
    public long getSuccess() {
-
 
26180
      return this.success;
-
 
26181
    }
-
 
26182
 
-
 
26183
    public void setSuccess(long success) {
-
 
26184
      this.success = success;
-
 
26185
      setSuccessIsSet(true);
-
 
26186
    }
-
 
26187
 
-
 
26188
    public void unsetSuccess() {
-
 
26189
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
26190
    }
-
 
26191
 
-
 
26192
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
26193
    public boolean isSetSuccess() {
-
 
26194
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
26195
    }
-
 
26196
 
-
 
26197
    public void setSuccessIsSet(boolean value) {
-
 
26198
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
26199
    }
-
 
26200
 
-
 
26201
    public HelperServiceException getSe() {
-
 
26202
      return this.se;
-
 
26203
    }
-
 
26204
 
-
 
26205
    public void setSe(HelperServiceException se) {
-
 
26206
      this.se = se;
-
 
26207
    }
-
 
26208
 
-
 
26209
    public void unsetSe() {
-
 
26210
      this.se = null;
-
 
26211
    }
-
 
26212
 
-
 
26213
    /** Returns true if field se is set (has been assigned a value) and false otherwise */
-
 
26214
    public boolean isSetSe() {
-
 
26215
      return this.se != null;
-
 
26216
    }
-
 
26217
 
-
 
26218
    public void setSeIsSet(boolean value) {
-
 
26219
      if (!value) {
-
 
26220
        this.se = null;
-
 
26221
      }
-
 
26222
    }
-
 
26223
 
-
 
26224
    public void setFieldValue(_Fields field, Object value) {
-
 
26225
      switch (field) {
-
 
26226
      case SUCCESS:
-
 
26227
        if (value == null) {
-
 
26228
          unsetSuccess();
-
 
26229
        } else {
-
 
26230
          setSuccess((Long)value);
-
 
26231
        }
-
 
26232
        break;
-
 
26233
 
-
 
26234
      case SE:
-
 
26235
        if (value == null) {
-
 
26236
          unsetSe();
-
 
26237
        } else {
-
 
26238
          setSe((HelperServiceException)value);
-
 
26239
        }
-
 
26240
        break;
-
 
26241
 
-
 
26242
      }
-
 
26243
    }
-
 
26244
 
-
 
26245
    public Object getFieldValue(_Fields field) {
-
 
26246
      switch (field) {
-
 
26247
      case SUCCESS:
-
 
26248
        return Long.valueOf(getSuccess());
-
 
26249
 
-
 
26250
      case SE:
-
 
26251
        return getSe();
-
 
26252
 
-
 
26253
      }
-
 
26254
      throw new IllegalStateException();
-
 
26255
    }
-
 
26256
 
-
 
26257
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
26258
    public boolean isSet(_Fields field) {
-
 
26259
      if (field == null) {
-
 
26260
        throw new IllegalArgumentException();
-
 
26261
      }
-
 
26262
 
-
 
26263
      switch (field) {
-
 
26264
      case SUCCESS:
-
 
26265
        return isSetSuccess();
-
 
26266
      case SE:
-
 
26267
        return isSetSe();
-
 
26268
      }
-
 
26269
      throw new IllegalStateException();
-
 
26270
    }
-
 
26271
 
-
 
26272
    @Override
-
 
26273
    public boolean equals(Object that) {
-
 
26274
      if (that == null)
-
 
26275
        return false;
-
 
26276
      if (that instanceof saveUserSmsForSending_result)
-
 
26277
        return this.equals((saveUserSmsForSending_result)that);
-
 
26278
      return false;
-
 
26279
    }
-
 
26280
 
-
 
26281
    public boolean equals(saveUserSmsForSending_result that) {
-
 
26282
      if (that == null)
-
 
26283
        return false;
-
 
26284
 
-
 
26285
      boolean this_present_success = true;
-
 
26286
      boolean that_present_success = true;
-
 
26287
      if (this_present_success || that_present_success) {
-
 
26288
        if (!(this_present_success && that_present_success))
-
 
26289
          return false;
-
 
26290
        if (this.success != that.success)
-
 
26291
          return false;
-
 
26292
      }
-
 
26293
 
-
 
26294
      boolean this_present_se = true && this.isSetSe();
-
 
26295
      boolean that_present_se = true && that.isSetSe();
-
 
26296
      if (this_present_se || that_present_se) {
-
 
26297
        if (!(this_present_se && that_present_se))
-
 
26298
          return false;
-
 
26299
        if (!this.se.equals(that.se))
-
 
26300
          return false;
-
 
26301
      }
-
 
26302
 
-
 
26303
      return true;
-
 
26304
    }
-
 
26305
 
-
 
26306
    @Override
-
 
26307
    public int hashCode() {
-
 
26308
      return 0;
-
 
26309
    }
-
 
26310
 
-
 
26311
    public int compareTo(saveUserSmsForSending_result other) {
-
 
26312
      if (!getClass().equals(other.getClass())) {
-
 
26313
        return getClass().getName().compareTo(other.getClass().getName());
-
 
26314
      }
-
 
26315
 
-
 
26316
      int lastComparison = 0;
-
 
26317
      saveUserSmsForSending_result typedOther = (saveUserSmsForSending_result)other;
-
 
26318
 
-
 
26319
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
26320
      if (lastComparison != 0) {
-
 
26321
        return lastComparison;
-
 
26322
      }
-
 
26323
      if (isSetSuccess()) {
-
 
26324
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
26325
        if (lastComparison != 0) {
-
 
26326
          return lastComparison;
-
 
26327
        }
-
 
26328
      }
-
 
26329
      lastComparison = Boolean.valueOf(isSetSe()).compareTo(typedOther.isSetSe());
-
 
26330
      if (lastComparison != 0) {
-
 
26331
        return lastComparison;
-
 
26332
      }
-
 
26333
      if (isSetSe()) {
-
 
26334
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.se, typedOther.se);
-
 
26335
        if (lastComparison != 0) {
-
 
26336
          return lastComparison;
-
 
26337
        }
-
 
26338
      }
-
 
26339
      return 0;
-
 
26340
    }
-
 
26341
 
-
 
26342
    public _Fields fieldForId(int fieldId) {
-
 
26343
      return _Fields.findByThriftId(fieldId);
-
 
26344
    }
-
 
26345
 
-
 
26346
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
26347
      org.apache.thrift.protocol.TField field;
-
 
26348
      iprot.readStructBegin();
-
 
26349
      while (true)
-
 
26350
      {
-
 
26351
        field = iprot.readFieldBegin();
-
 
26352
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
26353
          break;
-
 
26354
        }
-
 
26355
        switch (field.id) {
-
 
26356
          case 0: // SUCCESS
-
 
26357
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
26358
              this.success = iprot.readI64();
-
 
26359
              setSuccessIsSet(true);
-
 
26360
            } else { 
-
 
26361
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26362
            }
-
 
26363
            break;
-
 
26364
          case 1: // SE
-
 
26365
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
26366
              this.se = new HelperServiceException();
-
 
26367
              this.se.read(iprot);
-
 
26368
            } else { 
-
 
26369
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26370
            }
-
 
26371
            break;
-
 
26372
          default:
-
 
26373
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26374
        }
-
 
26375
        iprot.readFieldEnd();
-
 
26376
      }
-
 
26377
      iprot.readStructEnd();
-
 
26378
      validate();
-
 
26379
    }
-
 
26380
 
-
 
26381
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
26382
      oprot.writeStructBegin(STRUCT_DESC);
-
 
26383
 
-
 
26384
      if (this.isSetSuccess()) {
-
 
26385
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
26386
        oprot.writeI64(this.success);
-
 
26387
        oprot.writeFieldEnd();
-
 
26388
      } else if (this.isSetSe()) {
-
 
26389
        oprot.writeFieldBegin(SE_FIELD_DESC);
-
 
26390
        this.se.write(oprot);
-
 
26391
        oprot.writeFieldEnd();
-
 
26392
      }
-
 
26393
      oprot.writeFieldStop();
-
 
26394
      oprot.writeStructEnd();
-
 
26395
    }
-
 
26396
 
-
 
26397
    @Override
-
 
26398
    public String toString() {
-
 
26399
      StringBuilder sb = new StringBuilder("saveUserSmsForSending_result(");
-
 
26400
      boolean first = true;
-
 
26401
 
-
 
26402
      sb.append("success:");
-
 
26403
      sb.append(this.success);
-
 
26404
      first = false;
-
 
26405
      if (!first) sb.append(", ");
-
 
26406
      sb.append("se:");
-
 
26407
      if (this.se == null) {
-
 
26408
        sb.append("null");
-
 
26409
      } else {
-
 
26410
        sb.append(this.se);
-
 
26411
      }
-
 
26412
      first = false;
-
 
26413
      sb.append(")");
-
 
26414
      return sb.toString();
-
 
26415
    }
-
 
26416
 
-
 
26417
    public void validate() throws org.apache.thrift.TException {
-
 
26418
      // check for required fields
-
 
26419
    }
-
 
26420
 
-
 
26421
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
26422
      try {
-
 
26423
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
26424
      } catch (org.apache.thrift.TException te) {
-
 
26425
        throw new java.io.IOException(te);
-
 
26426
      }
-
 
26427
    }
-
 
26428
 
-
 
26429
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
26430
      try {
-
 
26431
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
26432
      } catch (org.apache.thrift.TException te) {
-
 
26433
        throw new java.io.IOException(te);
-
 
26434
      }
-
 
26435
    }
-
 
26436
 
-
 
26437
  }
-
 
26438
 
-
 
26439
  public static class getSmsToBeSent_args implements org.apache.thrift.TBase<getSmsToBeSent_args, getSmsToBeSent_args._Fields>, java.io.Serializable, Cloneable   {
-
 
26440
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSmsToBeSent_args");
-
 
26441
 
-
 
26442
 
-
 
26443
 
-
 
26444
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
26445
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
26446
;
-
 
26447
 
-
 
26448
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
26449
 
-
 
26450
      static {
-
 
26451
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
26452
          byName.put(field.getFieldName(), field);
-
 
26453
        }
-
 
26454
      }
-
 
26455
 
-
 
26456
      /**
-
 
26457
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
26458
       */
-
 
26459
      public static _Fields findByThriftId(int fieldId) {
-
 
26460
        switch(fieldId) {
-
 
26461
          default:
-
 
26462
            return null;
-
 
26463
        }
-
 
26464
      }
-
 
26465
 
-
 
26466
      /**
-
 
26467
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
26468
       * if it is not found.
-
 
26469
       */
-
 
26470
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
26471
        _Fields fields = findByThriftId(fieldId);
-
 
26472
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
26473
        return fields;
-
 
26474
      }
-
 
26475
 
-
 
26476
      /**
-
 
26477
       * Find the _Fields constant that matches name, or null if its not found.
-
 
26478
       */
-
 
26479
      public static _Fields findByName(String name) {
-
 
26480
        return byName.get(name);
-
 
26481
      }
-
 
26482
 
-
 
26483
      private final short _thriftId;
-
 
26484
      private final String _fieldName;
-
 
26485
 
-
 
26486
      _Fields(short thriftId, String fieldName) {
-
 
26487
        _thriftId = thriftId;
-
 
26488
        _fieldName = fieldName;
-
 
26489
      }
-
 
26490
 
-
 
26491
      public short getThriftFieldId() {
-
 
26492
        return _thriftId;
-
 
26493
      }
-
 
26494
 
-
 
26495
      public String getFieldName() {
-
 
26496
        return _fieldName;
-
 
26497
      }
-
 
26498
    }
-
 
26499
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
26500
    static {
-
 
26501
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
26502
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
26503
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSmsToBeSent_args.class, metaDataMap);
-
 
26504
    }
-
 
26505
 
-
 
26506
    public getSmsToBeSent_args() {
-
 
26507
    }
-
 
26508
 
-
 
26509
    /**
-
 
26510
     * Performs a deep copy on <i>other</i>.
-
 
26511
     */
-
 
26512
    public getSmsToBeSent_args(getSmsToBeSent_args other) {
-
 
26513
    }
-
 
26514
 
-
 
26515
    public getSmsToBeSent_args deepCopy() {
-
 
26516
      return new getSmsToBeSent_args(this);
-
 
26517
    }
-
 
26518
 
-
 
26519
    @Override
-
 
26520
    public void clear() {
-
 
26521
    }
-
 
26522
 
-
 
26523
    public void setFieldValue(_Fields field, Object value) {
-
 
26524
      switch (field) {
-
 
26525
      }
-
 
26526
    }
-
 
26527
 
-
 
26528
    public Object getFieldValue(_Fields field) {
-
 
26529
      switch (field) {
-
 
26530
      }
-
 
26531
      throw new IllegalStateException();
-
 
26532
    }
-
 
26533
 
-
 
26534
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
26535
    public boolean isSet(_Fields field) {
-
 
26536
      if (field == null) {
-
 
26537
        throw new IllegalArgumentException();
-
 
26538
      }
-
 
26539
 
-
 
26540
      switch (field) {
-
 
26541
      }
-
 
26542
      throw new IllegalStateException();
-
 
26543
    }
-
 
26544
 
-
 
26545
    @Override
-
 
26546
    public boolean equals(Object that) {
-
 
26547
      if (that == null)
-
 
26548
        return false;
-
 
26549
      if (that instanceof getSmsToBeSent_args)
-
 
26550
        return this.equals((getSmsToBeSent_args)that);
-
 
26551
      return false;
-
 
26552
    }
-
 
26553
 
-
 
26554
    public boolean equals(getSmsToBeSent_args that) {
-
 
26555
      if (that == null)
-
 
26556
        return false;
-
 
26557
 
-
 
26558
      return true;
-
 
26559
    }
-
 
26560
 
-
 
26561
    @Override
-
 
26562
    public int hashCode() {
-
 
26563
      return 0;
-
 
26564
    }
-
 
26565
 
-
 
26566
    public int compareTo(getSmsToBeSent_args other) {
-
 
26567
      if (!getClass().equals(other.getClass())) {
-
 
26568
        return getClass().getName().compareTo(other.getClass().getName());
-
 
26569
      }
-
 
26570
 
-
 
26571
      int lastComparison = 0;
-
 
26572
      getSmsToBeSent_args typedOther = (getSmsToBeSent_args)other;
-
 
26573
 
-
 
26574
      return 0;
-
 
26575
    }
-
 
26576
 
-
 
26577
    public _Fields fieldForId(int fieldId) {
-
 
26578
      return _Fields.findByThriftId(fieldId);
-
 
26579
    }
-
 
26580
 
-
 
26581
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
26582
      org.apache.thrift.protocol.TField field;
-
 
26583
      iprot.readStructBegin();
-
 
26584
      while (true)
-
 
26585
      {
-
 
26586
        field = iprot.readFieldBegin();
-
 
26587
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
26588
          break;
-
 
26589
        }
-
 
26590
        switch (field.id) {
-
 
26591
          default:
-
 
26592
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26593
        }
-
 
26594
        iprot.readFieldEnd();
-
 
26595
      }
-
 
26596
      iprot.readStructEnd();
-
 
26597
      validate();
-
 
26598
    }
-
 
26599
 
-
 
26600
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
26601
      validate();
-
 
26602
 
-
 
26603
      oprot.writeStructBegin(STRUCT_DESC);
-
 
26604
      oprot.writeFieldStop();
-
 
26605
      oprot.writeStructEnd();
-
 
26606
    }
-
 
26607
 
-
 
26608
    @Override
-
 
26609
    public String toString() {
-
 
26610
      StringBuilder sb = new StringBuilder("getSmsToBeSent_args(");
-
 
26611
      boolean first = true;
-
 
26612
 
-
 
26613
      sb.append(")");
-
 
26614
      return sb.toString();
-
 
26615
    }
-
 
26616
 
-
 
26617
    public void validate() throws org.apache.thrift.TException {
-
 
26618
      // check for required fields
-
 
26619
    }
-
 
26620
 
-
 
26621
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
26622
      try {
-
 
26623
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
26624
      } catch (org.apache.thrift.TException te) {
-
 
26625
        throw new java.io.IOException(te);
-
 
26626
      }
-
 
26627
    }
-
 
26628
 
-
 
26629
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
26630
      try {
-
 
26631
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
26632
      } catch (org.apache.thrift.TException te) {
-
 
26633
        throw new java.io.IOException(te);
-
 
26634
      }
-
 
26635
    }
-
 
26636
 
-
 
26637
  }
-
 
26638
 
-
 
26639
  public static class getSmsToBeSent_result implements org.apache.thrift.TBase<getSmsToBeSent_result, getSmsToBeSent_result._Fields>, java.io.Serializable, Cloneable   {
-
 
26640
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSmsToBeSent_result");
-
 
26641
 
-
 
26642
    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);
-
 
26643
    private static final org.apache.thrift.protocol.TField SE_FIELD_DESC = new org.apache.thrift.protocol.TField("se", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
26644
 
-
 
26645
    private List<UserSms> success; // required
-
 
26646
    private HelperServiceException se; // required
-
 
26647
 
-
 
26648
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
26649
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
26650
      SUCCESS((short)0, "success"),
-
 
26651
      SE((short)1, "se");
-
 
26652
 
-
 
26653
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
26654
 
-
 
26655
      static {
-
 
26656
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
26657
          byName.put(field.getFieldName(), field);
-
 
26658
        }
-
 
26659
      }
-
 
26660
 
-
 
26661
      /**
-
 
26662
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
26663
       */
-
 
26664
      public static _Fields findByThriftId(int fieldId) {
-
 
26665
        switch(fieldId) {
-
 
26666
          case 0: // SUCCESS
-
 
26667
            return SUCCESS;
-
 
26668
          case 1: // SE
-
 
26669
            return SE;
-
 
26670
          default:
-
 
26671
            return null;
-
 
26672
        }
-
 
26673
      }
-
 
26674
 
-
 
26675
      /**
-
 
26676
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
26677
       * if it is not found.
-
 
26678
       */
-
 
26679
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
26680
        _Fields fields = findByThriftId(fieldId);
-
 
26681
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
26682
        return fields;
-
 
26683
      }
-
 
26684
 
-
 
26685
      /**
-
 
26686
       * Find the _Fields constant that matches name, or null if its not found.
-
 
26687
       */
-
 
26688
      public static _Fields findByName(String name) {
-
 
26689
        return byName.get(name);
-
 
26690
      }
-
 
26691
 
-
 
26692
      private final short _thriftId;
-
 
26693
      private final String _fieldName;
-
 
26694
 
-
 
26695
      _Fields(short thriftId, String fieldName) {
-
 
26696
        _thriftId = thriftId;
-
 
26697
        _fieldName = fieldName;
-
 
26698
      }
-
 
26699
 
-
 
26700
      public short getThriftFieldId() {
-
 
26701
        return _thriftId;
-
 
26702
      }
-
 
26703
 
-
 
26704
      public String getFieldName() {
-
 
26705
        return _fieldName;
-
 
26706
      }
-
 
26707
    }
-
 
26708
 
-
 
26709
    // isset id assignments
-
 
26710
 
-
 
26711
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
26712
    static {
-
 
26713
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
26714
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
26715
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
26716
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSms.class))));
-
 
26717
      tmpMap.put(_Fields.SE, new org.apache.thrift.meta_data.FieldMetaData("se", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
26718
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
26719
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
26720
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSmsToBeSent_result.class, metaDataMap);
-
 
26721
    }
-
 
26722
 
-
 
26723
    public getSmsToBeSent_result() {
-
 
26724
    }
-
 
26725
 
-
 
26726
    public getSmsToBeSent_result(
-
 
26727
      List<UserSms> success,
-
 
26728
      HelperServiceException se)
-
 
26729
    {
-
 
26730
      this();
-
 
26731
      this.success = success;
-
 
26732
      this.se = se;
-
 
26733
    }
-
 
26734
 
-
 
26735
    /**
-
 
26736
     * Performs a deep copy on <i>other</i>.
-
 
26737
     */
-
 
26738
    public getSmsToBeSent_result(getSmsToBeSent_result other) {
-
 
26739
      if (other.isSetSuccess()) {
-
 
26740
        List<UserSms> __this__success = new ArrayList<UserSms>();
-
 
26741
        for (UserSms other_element : other.success) {
-
 
26742
          __this__success.add(new UserSms(other_element));
-
 
26743
        }
-
 
26744
        this.success = __this__success;
-
 
26745
      }
-
 
26746
      if (other.isSetSe()) {
-
 
26747
        this.se = new HelperServiceException(other.se);
-
 
26748
      }
-
 
26749
    }
-
 
26750
 
-
 
26751
    public getSmsToBeSent_result deepCopy() {
-
 
26752
      return new getSmsToBeSent_result(this);
-
 
26753
    }
-
 
26754
 
-
 
26755
    @Override
-
 
26756
    public void clear() {
-
 
26757
      this.success = null;
-
 
26758
      this.se = null;
-
 
26759
    }
-
 
26760
 
-
 
26761
    public int getSuccessSize() {
-
 
26762
      return (this.success == null) ? 0 : this.success.size();
-
 
26763
    }
-
 
26764
 
-
 
26765
    public java.util.Iterator<UserSms> getSuccessIterator() {
-
 
26766
      return (this.success == null) ? null : this.success.iterator();
-
 
26767
    }
-
 
26768
 
-
 
26769
    public void addToSuccess(UserSms elem) {
-
 
26770
      if (this.success == null) {
-
 
26771
        this.success = new ArrayList<UserSms>();
-
 
26772
      }
-
 
26773
      this.success.add(elem);
-
 
26774
    }
-
 
26775
 
-
 
26776
    public List<UserSms> getSuccess() {
-
 
26777
      return this.success;
-
 
26778
    }
-
 
26779
 
-
 
26780
    public void setSuccess(List<UserSms> success) {
-
 
26781
      this.success = success;
-
 
26782
    }
-
 
26783
 
-
 
26784
    public void unsetSuccess() {
-
 
26785
      this.success = null;
-
 
26786
    }
-
 
26787
 
-
 
26788
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
26789
    public boolean isSetSuccess() {
-
 
26790
      return this.success != null;
-
 
26791
    }
-
 
26792
 
-
 
26793
    public void setSuccessIsSet(boolean value) {
-
 
26794
      if (!value) {
-
 
26795
        this.success = null;
-
 
26796
      }
-
 
26797
    }
-
 
26798
 
-
 
26799
    public HelperServiceException getSe() {
-
 
26800
      return this.se;
-
 
26801
    }
-
 
26802
 
-
 
26803
    public void setSe(HelperServiceException se) {
-
 
26804
      this.se = se;
-
 
26805
    }
-
 
26806
 
-
 
26807
    public void unsetSe() {
-
 
26808
      this.se = null;
-
 
26809
    }
-
 
26810
 
-
 
26811
    /** Returns true if field se is set (has been assigned a value) and false otherwise */
-
 
26812
    public boolean isSetSe() {
-
 
26813
      return this.se != null;
-
 
26814
    }
-
 
26815
 
-
 
26816
    public void setSeIsSet(boolean value) {
-
 
26817
      if (!value) {
-
 
26818
        this.se = null;
-
 
26819
      }
-
 
26820
    }
-
 
26821
 
-
 
26822
    public void setFieldValue(_Fields field, Object value) {
-
 
26823
      switch (field) {
-
 
26824
      case SUCCESS:
-
 
26825
        if (value == null) {
-
 
26826
          unsetSuccess();
-
 
26827
        } else {
-
 
26828
          setSuccess((List<UserSms>)value);
-
 
26829
        }
-
 
26830
        break;
-
 
26831
 
-
 
26832
      case SE:
-
 
26833
        if (value == null) {
-
 
26834
          unsetSe();
-
 
26835
        } else {
-
 
26836
          setSe((HelperServiceException)value);
-
 
26837
        }
-
 
26838
        break;
-
 
26839
 
-
 
26840
      }
-
 
26841
    }
-
 
26842
 
-
 
26843
    public Object getFieldValue(_Fields field) {
-
 
26844
      switch (field) {
-
 
26845
      case SUCCESS:
-
 
26846
        return getSuccess();
-
 
26847
 
-
 
26848
      case SE:
-
 
26849
        return getSe();
-
 
26850
 
-
 
26851
      }
-
 
26852
      throw new IllegalStateException();
-
 
26853
    }
-
 
26854
 
-
 
26855
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
26856
    public boolean isSet(_Fields field) {
-
 
26857
      if (field == null) {
-
 
26858
        throw new IllegalArgumentException();
-
 
26859
      }
-
 
26860
 
-
 
26861
      switch (field) {
-
 
26862
      case SUCCESS:
-
 
26863
        return isSetSuccess();
-
 
26864
      case SE:
-
 
26865
        return isSetSe();
-
 
26866
      }
-
 
26867
      throw new IllegalStateException();
-
 
26868
    }
-
 
26869
 
-
 
26870
    @Override
-
 
26871
    public boolean equals(Object that) {
-
 
26872
      if (that == null)
-
 
26873
        return false;
-
 
26874
      if (that instanceof getSmsToBeSent_result)
-
 
26875
        return this.equals((getSmsToBeSent_result)that);
-
 
26876
      return false;
-
 
26877
    }
-
 
26878
 
-
 
26879
    public boolean equals(getSmsToBeSent_result that) {
-
 
26880
      if (that == null)
-
 
26881
        return false;
-
 
26882
 
-
 
26883
      boolean this_present_success = true && this.isSetSuccess();
-
 
26884
      boolean that_present_success = true && that.isSetSuccess();
-
 
26885
      if (this_present_success || that_present_success) {
-
 
26886
        if (!(this_present_success && that_present_success))
-
 
26887
          return false;
-
 
26888
        if (!this.success.equals(that.success))
-
 
26889
          return false;
-
 
26890
      }
-
 
26891
 
-
 
26892
      boolean this_present_se = true && this.isSetSe();
-
 
26893
      boolean that_present_se = true && that.isSetSe();
-
 
26894
      if (this_present_se || that_present_se) {
-
 
26895
        if (!(this_present_se && that_present_se))
-
 
26896
          return false;
-
 
26897
        if (!this.se.equals(that.se))
-
 
26898
          return false;
-
 
26899
      }
-
 
26900
 
-
 
26901
      return true;
-
 
26902
    }
-
 
26903
 
-
 
26904
    @Override
-
 
26905
    public int hashCode() {
-
 
26906
      return 0;
-
 
26907
    }
-
 
26908
 
-
 
26909
    public int compareTo(getSmsToBeSent_result other) {
-
 
26910
      if (!getClass().equals(other.getClass())) {
-
 
26911
        return getClass().getName().compareTo(other.getClass().getName());
-
 
26912
      }
-
 
26913
 
-
 
26914
      int lastComparison = 0;
-
 
26915
      getSmsToBeSent_result typedOther = (getSmsToBeSent_result)other;
-
 
26916
 
-
 
26917
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
26918
      if (lastComparison != 0) {
-
 
26919
        return lastComparison;
-
 
26920
      }
-
 
26921
      if (isSetSuccess()) {
-
 
26922
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
26923
        if (lastComparison != 0) {
-
 
26924
          return lastComparison;
-
 
26925
        }
-
 
26926
      }
-
 
26927
      lastComparison = Boolean.valueOf(isSetSe()).compareTo(typedOther.isSetSe());
-
 
26928
      if (lastComparison != 0) {
-
 
26929
        return lastComparison;
-
 
26930
      }
-
 
26931
      if (isSetSe()) {
-
 
26932
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.se, typedOther.se);
-
 
26933
        if (lastComparison != 0) {
-
 
26934
          return lastComparison;
-
 
26935
        }
-
 
26936
      }
-
 
26937
      return 0;
-
 
26938
    }
-
 
26939
 
-
 
26940
    public _Fields fieldForId(int fieldId) {
-
 
26941
      return _Fields.findByThriftId(fieldId);
-
 
26942
    }
-
 
26943
 
-
 
26944
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
26945
      org.apache.thrift.protocol.TField field;
-
 
26946
      iprot.readStructBegin();
-
 
26947
      while (true)
-
 
26948
      {
-
 
26949
        field = iprot.readFieldBegin();
-
 
26950
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
26951
          break;
-
 
26952
        }
-
 
26953
        switch (field.id) {
-
 
26954
          case 0: // SUCCESS
-
 
26955
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
26956
              {
-
 
26957
                org.apache.thrift.protocol.TList _list73 = iprot.readListBegin();
-
 
26958
                this.success = new ArrayList<UserSms>(_list73.size);
-
 
26959
                for (int _i74 = 0; _i74 < _list73.size; ++_i74)
-
 
26960
                {
-
 
26961
                  UserSms _elem75; // required
-
 
26962
                  _elem75 = new UserSms();
-
 
26963
                  _elem75.read(iprot);
-
 
26964
                  this.success.add(_elem75);
-
 
26965
                }
-
 
26966
                iprot.readListEnd();
-
 
26967
              }
-
 
26968
            } else { 
-
 
26969
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26970
            }
-
 
26971
            break;
-
 
26972
          case 1: // SE
-
 
26973
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
26974
              this.se = new HelperServiceException();
-
 
26975
              this.se.read(iprot);
-
 
26976
            } else { 
-
 
26977
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26978
            }
-
 
26979
            break;
-
 
26980
          default:
-
 
26981
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
26982
        }
-
 
26983
        iprot.readFieldEnd();
-
 
26984
      }
-
 
26985
      iprot.readStructEnd();
-
 
26986
      validate();
-
 
26987
    }
-
 
26988
 
-
 
26989
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
26990
      oprot.writeStructBegin(STRUCT_DESC);
-
 
26991
 
-
 
26992
      if (this.isSetSuccess()) {
-
 
26993
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
26994
        {
-
 
26995
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
26996
          for (UserSms _iter76 : this.success)
-
 
26997
          {
-
 
26998
            _iter76.write(oprot);
-
 
26999
          }
-
 
27000
          oprot.writeListEnd();
-
 
27001
        }
-
 
27002
        oprot.writeFieldEnd();
-
 
27003
      } else if (this.isSetSe()) {
-
 
27004
        oprot.writeFieldBegin(SE_FIELD_DESC);
-
 
27005
        this.se.write(oprot);
-
 
27006
        oprot.writeFieldEnd();
-
 
27007
      }
-
 
27008
      oprot.writeFieldStop();
-
 
27009
      oprot.writeStructEnd();
-
 
27010
    }
-
 
27011
 
-
 
27012
    @Override
-
 
27013
    public String toString() {
-
 
27014
      StringBuilder sb = new StringBuilder("getSmsToBeSent_result(");
-
 
27015
      boolean first = true;
-
 
27016
 
-
 
27017
      sb.append("success:");
-
 
27018
      if (this.success == null) {
-
 
27019
        sb.append("null");
-
 
27020
      } else {
-
 
27021
        sb.append(this.success);
-
 
27022
      }
-
 
27023
      first = false;
-
 
27024
      if (!first) sb.append(", ");
-
 
27025
      sb.append("se:");
-
 
27026
      if (this.se == null) {
-
 
27027
        sb.append("null");
-
 
27028
      } else {
-
 
27029
        sb.append(this.se);
-
 
27030
      }
-
 
27031
      first = false;
-
 
27032
      sb.append(")");
-
 
27033
      return sb.toString();
-
 
27034
    }
-
 
27035
 
-
 
27036
    public void validate() throws org.apache.thrift.TException {
-
 
27037
      // check for required fields
-
 
27038
    }
-
 
27039
 
-
 
27040
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
27041
      try {
-
 
27042
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
27043
      } catch (org.apache.thrift.TException te) {
-
 
27044
        throw new java.io.IOException(te);
-
 
27045
      }
-
 
27046
    }
-
 
27047
 
-
 
27048
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
27049
      try {
-
 
27050
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
27051
      } catch (org.apache.thrift.TException te) {
-
 
27052
        throw new java.io.IOException(te);
-
 
27053
      }
-
 
27054
    }
-
 
27055
 
-
 
27056
  }
-
 
27057
 
-
 
27058
  public static class addUserSmsInfo_args implements org.apache.thrift.TBase<addUserSmsInfo_args, addUserSmsInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
27059
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addUserSmsInfo_args");
-
 
27060
 
-
 
27061
    private static final org.apache.thrift.protocol.TField USER_SMS_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("userSmsInfo", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
27062
 
-
 
27063
    private UserSmsInfo userSmsInfo; // required
-
 
27064
 
-
 
27065
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27066
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
27067
      USER_SMS_INFO((short)1, "userSmsInfo");
-
 
27068
 
-
 
27069
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27070
 
-
 
27071
      static {
-
 
27072
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27073
          byName.put(field.getFieldName(), field);
-
 
27074
        }
-
 
27075
      }
-
 
27076
 
-
 
27077
      /**
-
 
27078
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27079
       */
-
 
27080
      public static _Fields findByThriftId(int fieldId) {
-
 
27081
        switch(fieldId) {
-
 
27082
          case 1: // USER_SMS_INFO
-
 
27083
            return USER_SMS_INFO;
-
 
27084
          default:
-
 
27085
            return null;
-
 
27086
        }
-
 
27087
      }
-
 
27088
 
-
 
27089
      /**
-
 
27090
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27091
       * if it is not found.
-
 
27092
       */
-
 
27093
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27094
        _Fields fields = findByThriftId(fieldId);
-
 
27095
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27096
        return fields;
-
 
27097
      }
-
 
27098
 
-
 
27099
      /**
-
 
27100
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27101
       */
-
 
27102
      public static _Fields findByName(String name) {
-
 
27103
        return byName.get(name);
-
 
27104
      }
-
 
27105
 
-
 
27106
      private final short _thriftId;
-
 
27107
      private final String _fieldName;
-
 
27108
 
-
 
27109
      _Fields(short thriftId, String fieldName) {
-
 
27110
        _thriftId = thriftId;
-
 
27111
        _fieldName = fieldName;
-
 
27112
      }
-
 
27113
 
-
 
27114
      public short getThriftFieldId() {
-
 
27115
        return _thriftId;
-
 
27116
      }
-
 
27117
 
-
 
27118
      public String getFieldName() {
-
 
27119
        return _fieldName;
-
 
27120
      }
-
 
27121
    }
-
 
27122
 
-
 
27123
    // isset id assignments
-
 
27124
 
-
 
27125
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
27126
    static {
-
 
27127
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
27128
      tmpMap.put(_Fields.USER_SMS_INFO, new org.apache.thrift.meta_data.FieldMetaData("userSmsInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
27129
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSmsInfo.class)));
-
 
27130
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
27131
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addUserSmsInfo_args.class, metaDataMap);
-
 
27132
    }
-
 
27133
 
-
 
27134
    public addUserSmsInfo_args() {
-
 
27135
    }
-
 
27136
 
-
 
27137
    public addUserSmsInfo_args(
-
 
27138
      UserSmsInfo userSmsInfo)
-
 
27139
    {
-
 
27140
      this();
-
 
27141
      this.userSmsInfo = userSmsInfo;
-
 
27142
    }
-
 
27143
 
-
 
27144
    /**
-
 
27145
     * Performs a deep copy on <i>other</i>.
-
 
27146
     */
-
 
27147
    public addUserSmsInfo_args(addUserSmsInfo_args other) {
-
 
27148
      if (other.isSetUserSmsInfo()) {
-
 
27149
        this.userSmsInfo = new UserSmsInfo(other.userSmsInfo);
-
 
27150
      }
-
 
27151
    }
-
 
27152
 
-
 
27153
    public addUserSmsInfo_args deepCopy() {
-
 
27154
      return new addUserSmsInfo_args(this);
-
 
27155
    }
-
 
27156
 
-
 
27157
    @Override
-
 
27158
    public void clear() {
-
 
27159
      this.userSmsInfo = null;
-
 
27160
    }
-
 
27161
 
-
 
27162
    public UserSmsInfo getUserSmsInfo() {
-
 
27163
      return this.userSmsInfo;
-
 
27164
    }
-
 
27165
 
-
 
27166
    public void setUserSmsInfo(UserSmsInfo userSmsInfo) {
-
 
27167
      this.userSmsInfo = userSmsInfo;
-
 
27168
    }
-
 
27169
 
-
 
27170
    public void unsetUserSmsInfo() {
-
 
27171
      this.userSmsInfo = null;
-
 
27172
    }
-
 
27173
 
-
 
27174
    /** Returns true if field userSmsInfo is set (has been assigned a value) and false otherwise */
-
 
27175
    public boolean isSetUserSmsInfo() {
-
 
27176
      return this.userSmsInfo != null;
-
 
27177
    }
-
 
27178
 
-
 
27179
    public void setUserSmsInfoIsSet(boolean value) {
-
 
27180
      if (!value) {
-
 
27181
        this.userSmsInfo = null;
-
 
27182
      }
-
 
27183
    }
-
 
27184
 
-
 
27185
    public void setFieldValue(_Fields field, Object value) {
-
 
27186
      switch (field) {
-
 
27187
      case USER_SMS_INFO:
-
 
27188
        if (value == null) {
-
 
27189
          unsetUserSmsInfo();
-
 
27190
        } else {
-
 
27191
          setUserSmsInfo((UserSmsInfo)value);
-
 
27192
        }
-
 
27193
        break;
-
 
27194
 
-
 
27195
      }
-
 
27196
    }
-
 
27197
 
-
 
27198
    public Object getFieldValue(_Fields field) {
-
 
27199
      switch (field) {
-
 
27200
      case USER_SMS_INFO:
-
 
27201
        return getUserSmsInfo();
-
 
27202
 
-
 
27203
      }
-
 
27204
      throw new IllegalStateException();
-
 
27205
    }
-
 
27206
 
-
 
27207
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
27208
    public boolean isSet(_Fields field) {
-
 
27209
      if (field == null) {
-
 
27210
        throw new IllegalArgumentException();
-
 
27211
      }
-
 
27212
 
-
 
27213
      switch (field) {
-
 
27214
      case USER_SMS_INFO:
-
 
27215
        return isSetUserSmsInfo();
-
 
27216
      }
-
 
27217
      throw new IllegalStateException();
-
 
27218
    }
-
 
27219
 
-
 
27220
    @Override
-
 
27221
    public boolean equals(Object that) {
-
 
27222
      if (that == null)
-
 
27223
        return false;
-
 
27224
      if (that instanceof addUserSmsInfo_args)
-
 
27225
        return this.equals((addUserSmsInfo_args)that);
-
 
27226
      return false;
-
 
27227
    }
-
 
27228
 
-
 
27229
    public boolean equals(addUserSmsInfo_args that) {
-
 
27230
      if (that == null)
-
 
27231
        return false;
-
 
27232
 
-
 
27233
      boolean this_present_userSmsInfo = true && this.isSetUserSmsInfo();
-
 
27234
      boolean that_present_userSmsInfo = true && that.isSetUserSmsInfo();
-
 
27235
      if (this_present_userSmsInfo || that_present_userSmsInfo) {
-
 
27236
        if (!(this_present_userSmsInfo && that_present_userSmsInfo))
-
 
27237
          return false;
-
 
27238
        if (!this.userSmsInfo.equals(that.userSmsInfo))
-
 
27239
          return false;
-
 
27240
      }
-
 
27241
 
-
 
27242
      return true;
-
 
27243
    }
-
 
27244
 
-
 
27245
    @Override
-
 
27246
    public int hashCode() {
-
 
27247
      return 0;
-
 
27248
    }
-
 
27249
 
-
 
27250
    public int compareTo(addUserSmsInfo_args other) {
-
 
27251
      if (!getClass().equals(other.getClass())) {
-
 
27252
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27253
      }
-
 
27254
 
-
 
27255
      int lastComparison = 0;
-
 
27256
      addUserSmsInfo_args typedOther = (addUserSmsInfo_args)other;
-
 
27257
 
-
 
27258
      lastComparison = Boolean.valueOf(isSetUserSmsInfo()).compareTo(typedOther.isSetUserSmsInfo());
-
 
27259
      if (lastComparison != 0) {
-
 
27260
        return lastComparison;
-
 
27261
      }
-
 
27262
      if (isSetUserSmsInfo()) {
-
 
27263
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSmsInfo, typedOther.userSmsInfo);
-
 
27264
        if (lastComparison != 0) {
-
 
27265
          return lastComparison;
-
 
27266
        }
-
 
27267
      }
-
 
27268
      return 0;
-
 
27269
    }
-
 
27270
 
-
 
27271
    public _Fields fieldForId(int fieldId) {
-
 
27272
      return _Fields.findByThriftId(fieldId);
-
 
27273
    }
-
 
27274
 
-
 
27275
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
27276
      org.apache.thrift.protocol.TField field;
-
 
27277
      iprot.readStructBegin();
-
 
27278
      while (true)
-
 
27279
      {
-
 
27280
        field = iprot.readFieldBegin();
-
 
27281
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
27282
          break;
-
 
27283
        }
-
 
27284
        switch (field.id) {
-
 
27285
          case 1: // USER_SMS_INFO
-
 
27286
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
27287
              this.userSmsInfo = new UserSmsInfo();
-
 
27288
              this.userSmsInfo.read(iprot);
-
 
27289
            } else { 
-
 
27290
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27291
            }
-
 
27292
            break;
-
 
27293
          default:
-
 
27294
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27295
        }
-
 
27296
        iprot.readFieldEnd();
-
 
27297
      }
-
 
27298
      iprot.readStructEnd();
-
 
27299
      validate();
-
 
27300
    }
-
 
27301
 
-
 
27302
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
27303
      validate();
-
 
27304
 
-
 
27305
      oprot.writeStructBegin(STRUCT_DESC);
-
 
27306
      if (this.userSmsInfo != null) {
-
 
27307
        oprot.writeFieldBegin(USER_SMS_INFO_FIELD_DESC);
-
 
27308
        this.userSmsInfo.write(oprot);
-
 
27309
        oprot.writeFieldEnd();
-
 
27310
      }
-
 
27311
      oprot.writeFieldStop();
-
 
27312
      oprot.writeStructEnd();
-
 
27313
    }
-
 
27314
 
-
 
27315
    @Override
-
 
27316
    public String toString() {
-
 
27317
      StringBuilder sb = new StringBuilder("addUserSmsInfo_args(");
-
 
27318
      boolean first = true;
-
 
27319
 
-
 
27320
      sb.append("userSmsInfo:");
-
 
27321
      if (this.userSmsInfo == null) {
-
 
27322
        sb.append("null");
-
 
27323
      } else {
-
 
27324
        sb.append(this.userSmsInfo);
-
 
27325
      }
-
 
27326
      first = false;
-
 
27327
      sb.append(")");
-
 
27328
      return sb.toString();
-
 
27329
    }
-
 
27330
 
-
 
27331
    public void validate() throws org.apache.thrift.TException {
-
 
27332
      // check for required fields
-
 
27333
    }
-
 
27334
 
-
 
27335
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
27336
      try {
-
 
27337
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
27338
      } catch (org.apache.thrift.TException te) {
-
 
27339
        throw new java.io.IOException(te);
-
 
27340
      }
-
 
27341
    }
-
 
27342
 
-
 
27343
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
27344
      try {
-
 
27345
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
27346
      } catch (org.apache.thrift.TException te) {
-
 
27347
        throw new java.io.IOException(te);
-
 
27348
      }
-
 
27349
    }
-
 
27350
 
-
 
27351
  }
-
 
27352
 
-
 
27353
  public static class addUserSmsInfo_result implements org.apache.thrift.TBase<addUserSmsInfo_result, addUserSmsInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
27354
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addUserSmsInfo_result");
-
 
27355
 
-
 
27356
    private static final org.apache.thrift.protocol.TField SE_FIELD_DESC = new org.apache.thrift.protocol.TField("se", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
27357
 
-
 
27358
    private HelperServiceException se; // required
-
 
27359
 
-
 
27360
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27361
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
27362
      SE((short)1, "se");
-
 
27363
 
-
 
27364
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27365
 
-
 
27366
      static {
-
 
27367
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27368
          byName.put(field.getFieldName(), field);
-
 
27369
        }
-
 
27370
      }
-
 
27371
 
-
 
27372
      /**
-
 
27373
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27374
       */
-
 
27375
      public static _Fields findByThriftId(int fieldId) {
-
 
27376
        switch(fieldId) {
-
 
27377
          case 1: // SE
-
 
27378
            return SE;
-
 
27379
          default:
-
 
27380
            return null;
-
 
27381
        }
-
 
27382
      }
-
 
27383
 
-
 
27384
      /**
-
 
27385
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27386
       * if it is not found.
-
 
27387
       */
-
 
27388
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27389
        _Fields fields = findByThriftId(fieldId);
-
 
27390
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27391
        return fields;
-
 
27392
      }
-
 
27393
 
-
 
27394
      /**
-
 
27395
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27396
       */
-
 
27397
      public static _Fields findByName(String name) {
-
 
27398
        return byName.get(name);
-
 
27399
      }
-
 
27400
 
-
 
27401
      private final short _thriftId;
-
 
27402
      private final String _fieldName;
-
 
27403
 
-
 
27404
      _Fields(short thriftId, String fieldName) {
-
 
27405
        _thriftId = thriftId;
-
 
27406
        _fieldName = fieldName;
-
 
27407
      }
-
 
27408
 
-
 
27409
      public short getThriftFieldId() {
-
 
27410
        return _thriftId;
-
 
27411
      }
-
 
27412
 
-
 
27413
      public String getFieldName() {
-
 
27414
        return _fieldName;
-
 
27415
      }
-
 
27416
    }
-
 
27417
 
-
 
27418
    // isset id assignments
-
 
27419
 
-
 
27420
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
27421
    static {
-
 
27422
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
27423
      tmpMap.put(_Fields.SE, new org.apache.thrift.meta_data.FieldMetaData("se", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
27424
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
27425
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
27426
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addUserSmsInfo_result.class, metaDataMap);
-
 
27427
    }
-
 
27428
 
-
 
27429
    public addUserSmsInfo_result() {
-
 
27430
    }
-
 
27431
 
-
 
27432
    public addUserSmsInfo_result(
-
 
27433
      HelperServiceException se)
-
 
27434
    {
-
 
27435
      this();
-
 
27436
      this.se = se;
-
 
27437
    }
-
 
27438
 
-
 
27439
    /**
-
 
27440
     * Performs a deep copy on <i>other</i>.
-
 
27441
     */
-
 
27442
    public addUserSmsInfo_result(addUserSmsInfo_result other) {
-
 
27443
      if (other.isSetSe()) {
-
 
27444
        this.se = new HelperServiceException(other.se);
-
 
27445
      }
-
 
27446
    }
-
 
27447
 
-
 
27448
    public addUserSmsInfo_result deepCopy() {
-
 
27449
      return new addUserSmsInfo_result(this);
-
 
27450
    }
-
 
27451
 
-
 
27452
    @Override
-
 
27453
    public void clear() {
-
 
27454
      this.se = null;
-
 
27455
    }
-
 
27456
 
-
 
27457
    public HelperServiceException getSe() {
-
 
27458
      return this.se;
-
 
27459
    }
-
 
27460
 
-
 
27461
    public void setSe(HelperServiceException se) {
-
 
27462
      this.se = se;
-
 
27463
    }
-
 
27464
 
-
 
27465
    public void unsetSe() {
-
 
27466
      this.se = null;
-
 
27467
    }
-
 
27468
 
-
 
27469
    /** Returns true if field se is set (has been assigned a value) and false otherwise */
-
 
27470
    public boolean isSetSe() {
-
 
27471
      return this.se != null;
-
 
27472
    }
-
 
27473
 
-
 
27474
    public void setSeIsSet(boolean value) {
-
 
27475
      if (!value) {
-
 
27476
        this.se = null;
-
 
27477
      }
-
 
27478
    }
-
 
27479
 
-
 
27480
    public void setFieldValue(_Fields field, Object value) {
-
 
27481
      switch (field) {
-
 
27482
      case SE:
-
 
27483
        if (value == null) {
-
 
27484
          unsetSe();
-
 
27485
        } else {
-
 
27486
          setSe((HelperServiceException)value);
-
 
27487
        }
-
 
27488
        break;
-
 
27489
 
-
 
27490
      }
-
 
27491
    }
-
 
27492
 
-
 
27493
    public Object getFieldValue(_Fields field) {
-
 
27494
      switch (field) {
-
 
27495
      case SE:
-
 
27496
        return getSe();
-
 
27497
 
-
 
27498
      }
-
 
27499
      throw new IllegalStateException();
-
 
27500
    }
-
 
27501
 
-
 
27502
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
27503
    public boolean isSet(_Fields field) {
-
 
27504
      if (field == null) {
-
 
27505
        throw new IllegalArgumentException();
-
 
27506
      }
-
 
27507
 
-
 
27508
      switch (field) {
-
 
27509
      case SE:
-
 
27510
        return isSetSe();
-
 
27511
      }
-
 
27512
      throw new IllegalStateException();
-
 
27513
    }
-
 
27514
 
-
 
27515
    @Override
-
 
27516
    public boolean equals(Object that) {
-
 
27517
      if (that == null)
-
 
27518
        return false;
-
 
27519
      if (that instanceof addUserSmsInfo_result)
-
 
27520
        return this.equals((addUserSmsInfo_result)that);
-
 
27521
      return false;
-
 
27522
    }
-
 
27523
 
-
 
27524
    public boolean equals(addUserSmsInfo_result that) {
-
 
27525
      if (that == null)
-
 
27526
        return false;
-
 
27527
 
-
 
27528
      boolean this_present_se = true && this.isSetSe();
-
 
27529
      boolean that_present_se = true && that.isSetSe();
-
 
27530
      if (this_present_se || that_present_se) {
-
 
27531
        if (!(this_present_se && that_present_se))
-
 
27532
          return false;
-
 
27533
        if (!this.se.equals(that.se))
-
 
27534
          return false;
-
 
27535
      }
-
 
27536
 
-
 
27537
      return true;
-
 
27538
    }
-
 
27539
 
-
 
27540
    @Override
-
 
27541
    public int hashCode() {
-
 
27542
      return 0;
-
 
27543
    }
-
 
27544
 
-
 
27545
    public int compareTo(addUserSmsInfo_result other) {
-
 
27546
      if (!getClass().equals(other.getClass())) {
-
 
27547
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27548
      }
-
 
27549
 
-
 
27550
      int lastComparison = 0;
-
 
27551
      addUserSmsInfo_result typedOther = (addUserSmsInfo_result)other;
-
 
27552
 
-
 
27553
      lastComparison = Boolean.valueOf(isSetSe()).compareTo(typedOther.isSetSe());
-
 
27554
      if (lastComparison != 0) {
-
 
27555
        return lastComparison;
-
 
27556
      }
-
 
27557
      if (isSetSe()) {
-
 
27558
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.se, typedOther.se);
-
 
27559
        if (lastComparison != 0) {
-
 
27560
          return lastComparison;
-
 
27561
        }
-
 
27562
      }
-
 
27563
      return 0;
-
 
27564
    }
-
 
27565
 
-
 
27566
    public _Fields fieldForId(int fieldId) {
-
 
27567
      return _Fields.findByThriftId(fieldId);
-
 
27568
    }
-
 
27569
 
-
 
27570
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
27571
      org.apache.thrift.protocol.TField field;
-
 
27572
      iprot.readStructBegin();
-
 
27573
      while (true)
-
 
27574
      {
-
 
27575
        field = iprot.readFieldBegin();
-
 
27576
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
27577
          break;
-
 
27578
        }
-
 
27579
        switch (field.id) {
-
 
27580
          case 1: // SE
-
 
27581
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
27582
              this.se = new HelperServiceException();
-
 
27583
              this.se.read(iprot);
-
 
27584
            } else { 
-
 
27585
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27586
            }
-
 
27587
            break;
-
 
27588
          default:
-
 
27589
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27590
        }
-
 
27591
        iprot.readFieldEnd();
-
 
27592
      }
-
 
27593
      iprot.readStructEnd();
-
 
27594
      validate();
-
 
27595
    }
-
 
27596
 
-
 
27597
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
27598
      oprot.writeStructBegin(STRUCT_DESC);
-
 
27599
 
-
 
27600
      if (this.isSetSe()) {
-
 
27601
        oprot.writeFieldBegin(SE_FIELD_DESC);
-
 
27602
        this.se.write(oprot);
-
 
27603
        oprot.writeFieldEnd();
-
 
27604
      }
-
 
27605
      oprot.writeFieldStop();
-
 
27606
      oprot.writeStructEnd();
-
 
27607
    }
-
 
27608
 
-
 
27609
    @Override
-
 
27610
    public String toString() {
-
 
27611
      StringBuilder sb = new StringBuilder("addUserSmsInfo_result(");
-
 
27612
      boolean first = true;
-
 
27613
 
-
 
27614
      sb.append("se:");
-
 
27615
      if (this.se == null) {
-
 
27616
        sb.append("null");
-
 
27617
      } else {
-
 
27618
        sb.append(this.se);
-
 
27619
      }
-
 
27620
      first = false;
-
 
27621
      sb.append(")");
-
 
27622
      return sb.toString();
-
 
27623
    }
-
 
27624
 
-
 
27625
    public void validate() throws org.apache.thrift.TException {
-
 
27626
      // check for required fields
-
 
27627
    }
-
 
27628
 
-
 
27629
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
27630
      try {
-
 
27631
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
27632
      } catch (org.apache.thrift.TException te) {
-
 
27633
        throw new java.io.IOException(te);
-
 
27634
      }
-
 
27635
    }
-
 
27636
 
-
 
27637
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
27638
      try {
-
 
27639
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
27640
      } catch (org.apache.thrift.TException te) {
-
 
27641
        throw new java.io.IOException(te);
-
 
27642
      }
-
 
27643
    }
-
 
27644
 
-
 
27645
  }
-
 
27646
 
-
 
27647
  public static class updateUserSmsInfo_args implements org.apache.thrift.TBase<updateUserSmsInfo_args, updateUserSmsInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
27648
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateUserSmsInfo_args");
-
 
27649
 
-
 
27650
    private static final org.apache.thrift.protocol.TField USER_SMS_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("userSmsInfo", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
27651
 
-
 
27652
    private UserSmsInfo userSmsInfo; // required
-
 
27653
 
-
 
27654
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27655
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
27656
      USER_SMS_INFO((short)1, "userSmsInfo");
-
 
27657
 
-
 
27658
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27659
 
-
 
27660
      static {
-
 
27661
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27662
          byName.put(field.getFieldName(), field);
-
 
27663
        }
-
 
27664
      }
-
 
27665
 
-
 
27666
      /**
-
 
27667
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27668
       */
-
 
27669
      public static _Fields findByThriftId(int fieldId) {
-
 
27670
        switch(fieldId) {
-
 
27671
          case 1: // USER_SMS_INFO
-
 
27672
            return USER_SMS_INFO;
-
 
27673
          default:
-
 
27674
            return null;
-
 
27675
        }
-
 
27676
      }
-
 
27677
 
-
 
27678
      /**
-
 
27679
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27680
       * if it is not found.
-
 
27681
       */
-
 
27682
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27683
        _Fields fields = findByThriftId(fieldId);
-
 
27684
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27685
        return fields;
-
 
27686
      }
-
 
27687
 
-
 
27688
      /**
-
 
27689
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27690
       */
-
 
27691
      public static _Fields findByName(String name) {
-
 
27692
        return byName.get(name);
-
 
27693
      }
-
 
27694
 
-
 
27695
      private final short _thriftId;
-
 
27696
      private final String _fieldName;
-
 
27697
 
-
 
27698
      _Fields(short thriftId, String fieldName) {
-
 
27699
        _thriftId = thriftId;
-
 
27700
        _fieldName = fieldName;
-
 
27701
      }
-
 
27702
 
-
 
27703
      public short getThriftFieldId() {
-
 
27704
        return _thriftId;
-
 
27705
      }
-
 
27706
 
-
 
27707
      public String getFieldName() {
-
 
27708
        return _fieldName;
-
 
27709
      }
-
 
27710
    }
-
 
27711
 
-
 
27712
    // isset id assignments
-
 
27713
 
-
 
27714
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
27715
    static {
-
 
27716
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
27717
      tmpMap.put(_Fields.USER_SMS_INFO, new org.apache.thrift.meta_data.FieldMetaData("userSmsInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
27718
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSmsInfo.class)));
-
 
27719
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
27720
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateUserSmsInfo_args.class, metaDataMap);
-
 
27721
    }
-
 
27722
 
-
 
27723
    public updateUserSmsInfo_args() {
-
 
27724
    }
-
 
27725
 
-
 
27726
    public updateUserSmsInfo_args(
-
 
27727
      UserSmsInfo userSmsInfo)
-
 
27728
    {
-
 
27729
      this();
-
 
27730
      this.userSmsInfo = userSmsInfo;
-
 
27731
    }
-
 
27732
 
-
 
27733
    /**
-
 
27734
     * Performs a deep copy on <i>other</i>.
-
 
27735
     */
-
 
27736
    public updateUserSmsInfo_args(updateUserSmsInfo_args other) {
-
 
27737
      if (other.isSetUserSmsInfo()) {
-
 
27738
        this.userSmsInfo = new UserSmsInfo(other.userSmsInfo);
-
 
27739
      }
-
 
27740
    }
-
 
27741
 
-
 
27742
    public updateUserSmsInfo_args deepCopy() {
-
 
27743
      return new updateUserSmsInfo_args(this);
-
 
27744
    }
-
 
27745
 
-
 
27746
    @Override
-
 
27747
    public void clear() {
-
 
27748
      this.userSmsInfo = null;
-
 
27749
    }
-
 
27750
 
-
 
27751
    public UserSmsInfo getUserSmsInfo() {
-
 
27752
      return this.userSmsInfo;
-
 
27753
    }
-
 
27754
 
-
 
27755
    public void setUserSmsInfo(UserSmsInfo userSmsInfo) {
-
 
27756
      this.userSmsInfo = userSmsInfo;
-
 
27757
    }
-
 
27758
 
-
 
27759
    public void unsetUserSmsInfo() {
-
 
27760
      this.userSmsInfo = null;
-
 
27761
    }
-
 
27762
 
-
 
27763
    /** Returns true if field userSmsInfo is set (has been assigned a value) and false otherwise */
-
 
27764
    public boolean isSetUserSmsInfo() {
-
 
27765
      return this.userSmsInfo != null;
-
 
27766
    }
-
 
27767
 
-
 
27768
    public void setUserSmsInfoIsSet(boolean value) {
-
 
27769
      if (!value) {
-
 
27770
        this.userSmsInfo = null;
-
 
27771
      }
-
 
27772
    }
-
 
27773
 
-
 
27774
    public void setFieldValue(_Fields field, Object value) {
-
 
27775
      switch (field) {
-
 
27776
      case USER_SMS_INFO:
-
 
27777
        if (value == null) {
-
 
27778
          unsetUserSmsInfo();
-
 
27779
        } else {
-
 
27780
          setUserSmsInfo((UserSmsInfo)value);
-
 
27781
        }
-
 
27782
        break;
-
 
27783
 
-
 
27784
      }
-
 
27785
    }
-
 
27786
 
-
 
27787
    public Object getFieldValue(_Fields field) {
-
 
27788
      switch (field) {
-
 
27789
      case USER_SMS_INFO:
-
 
27790
        return getUserSmsInfo();
-
 
27791
 
-
 
27792
      }
-
 
27793
      throw new IllegalStateException();
-
 
27794
    }
-
 
27795
 
-
 
27796
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
27797
    public boolean isSet(_Fields field) {
-
 
27798
      if (field == null) {
-
 
27799
        throw new IllegalArgumentException();
-
 
27800
      }
-
 
27801
 
-
 
27802
      switch (field) {
-
 
27803
      case USER_SMS_INFO:
-
 
27804
        return isSetUserSmsInfo();
-
 
27805
      }
-
 
27806
      throw new IllegalStateException();
-
 
27807
    }
-
 
27808
 
-
 
27809
    @Override
-
 
27810
    public boolean equals(Object that) {
-
 
27811
      if (that == null)
-
 
27812
        return false;
-
 
27813
      if (that instanceof updateUserSmsInfo_args)
-
 
27814
        return this.equals((updateUserSmsInfo_args)that);
-
 
27815
      return false;
-
 
27816
    }
-
 
27817
 
-
 
27818
    public boolean equals(updateUserSmsInfo_args that) {
-
 
27819
      if (that == null)
-
 
27820
        return false;
-
 
27821
 
-
 
27822
      boolean this_present_userSmsInfo = true && this.isSetUserSmsInfo();
-
 
27823
      boolean that_present_userSmsInfo = true && that.isSetUserSmsInfo();
-
 
27824
      if (this_present_userSmsInfo || that_present_userSmsInfo) {
-
 
27825
        if (!(this_present_userSmsInfo && that_present_userSmsInfo))
-
 
27826
          return false;
-
 
27827
        if (!this.userSmsInfo.equals(that.userSmsInfo))
-
 
27828
          return false;
-
 
27829
      }
-
 
27830
 
-
 
27831
      return true;
-
 
27832
    }
-
 
27833
 
-
 
27834
    @Override
-
 
27835
    public int hashCode() {
-
 
27836
      return 0;
-
 
27837
    }
-
 
27838
 
-
 
27839
    public int compareTo(updateUserSmsInfo_args other) {
-
 
27840
      if (!getClass().equals(other.getClass())) {
-
 
27841
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27842
      }
-
 
27843
 
-
 
27844
      int lastComparison = 0;
-
 
27845
      updateUserSmsInfo_args typedOther = (updateUserSmsInfo_args)other;
-
 
27846
 
-
 
27847
      lastComparison = Boolean.valueOf(isSetUserSmsInfo()).compareTo(typedOther.isSetUserSmsInfo());
-
 
27848
      if (lastComparison != 0) {
-
 
27849
        return lastComparison;
-
 
27850
      }
-
 
27851
      if (isSetUserSmsInfo()) {
-
 
27852
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSmsInfo, typedOther.userSmsInfo);
-
 
27853
        if (lastComparison != 0) {
-
 
27854
          return lastComparison;
-
 
27855
        }
-
 
27856
      }
-
 
27857
      return 0;
-
 
27858
    }
-
 
27859
 
-
 
27860
    public _Fields fieldForId(int fieldId) {
-
 
27861
      return _Fields.findByThriftId(fieldId);
-
 
27862
    }
-
 
27863
 
-
 
27864
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
27865
      org.apache.thrift.protocol.TField field;
-
 
27866
      iprot.readStructBegin();
-
 
27867
      while (true)
-
 
27868
      {
-
 
27869
        field = iprot.readFieldBegin();
-
 
27870
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
27871
          break;
-
 
27872
        }
-
 
27873
        switch (field.id) {
-
 
27874
          case 1: // USER_SMS_INFO
-
 
27875
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
27876
              this.userSmsInfo = new UserSmsInfo();
-
 
27877
              this.userSmsInfo.read(iprot);
-
 
27878
            } else { 
-
 
27879
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27880
            }
-
 
27881
            break;
-
 
27882
          default:
-
 
27883
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
27884
        }
-
 
27885
        iprot.readFieldEnd();
-
 
27886
      }
-
 
27887
      iprot.readStructEnd();
-
 
27888
      validate();
-
 
27889
    }
-
 
27890
 
-
 
27891
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
27892
      validate();
-
 
27893
 
-
 
27894
      oprot.writeStructBegin(STRUCT_DESC);
-
 
27895
      if (this.userSmsInfo != null) {
-
 
27896
        oprot.writeFieldBegin(USER_SMS_INFO_FIELD_DESC);
-
 
27897
        this.userSmsInfo.write(oprot);
-
 
27898
        oprot.writeFieldEnd();
-
 
27899
      }
-
 
27900
      oprot.writeFieldStop();
-
 
27901
      oprot.writeStructEnd();
-
 
27902
    }
-
 
27903
 
-
 
27904
    @Override
-
 
27905
    public String toString() {
-
 
27906
      StringBuilder sb = new StringBuilder("updateUserSmsInfo_args(");
-
 
27907
      boolean first = true;
-
 
27908
 
-
 
27909
      sb.append("userSmsInfo:");
-
 
27910
      if (this.userSmsInfo == null) {
-
 
27911
        sb.append("null");
-
 
27912
      } else {
-
 
27913
        sb.append(this.userSmsInfo);
-
 
27914
      }
-
 
27915
      first = false;
-
 
27916
      sb.append(")");
-
 
27917
      return sb.toString();
-
 
27918
    }
-
 
27919
 
-
 
27920
    public void validate() throws org.apache.thrift.TException {
-
 
27921
      // check for required fields
-
 
27922
    }
-
 
27923
 
-
 
27924
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
27925
      try {
-
 
27926
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
27927
      } catch (org.apache.thrift.TException te) {
-
 
27928
        throw new java.io.IOException(te);
-
 
27929
      }
-
 
27930
    }
-
 
27931
 
-
 
27932
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
27933
      try {
-
 
27934
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
27935
      } catch (org.apache.thrift.TException te) {
-
 
27936
        throw new java.io.IOException(te);
-
 
27937
      }
-
 
27938
    }
-
 
27939
 
-
 
27940
  }
-
 
27941
 
-
 
27942
  public static class updateUserSmsInfo_result implements org.apache.thrift.TBase<updateUserSmsInfo_result, updateUserSmsInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
27943
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateUserSmsInfo_result");
-
 
27944
 
-
 
27945
    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);
-
 
27946
    private static final org.apache.thrift.protocol.TField SE_FIELD_DESC = new org.apache.thrift.protocol.TField("se", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
27947
 
-
 
27948
    private boolean success; // required
-
 
27949
    private HelperServiceException se; // required
-
 
27950
 
-
 
27951
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27952
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
27953
      SUCCESS((short)0, "success"),
-
 
27954
      SE((short)1, "se");
-
 
27955
 
-
 
27956
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27957
 
-
 
27958
      static {
-
 
27959
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27960
          byName.put(field.getFieldName(), field);
-
 
27961
        }
-
 
27962
      }
-
 
27963
 
-
 
27964
      /**
-
 
27965
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27966
       */
-
 
27967
      public static _Fields findByThriftId(int fieldId) {
-
 
27968
        switch(fieldId) {
-
 
27969
          case 0: // SUCCESS
-
 
27970
            return SUCCESS;
-
 
27971
          case 1: // SE
-
 
27972
            return SE;
-
 
27973
          default:
-
 
27974
            return null;
-
 
27975
        }
-
 
27976
      }
-
 
27977
 
-
 
27978
      /**
-
 
27979
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27980
       * if it is not found.
-
 
27981
       */
-
 
27982
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27983
        _Fields fields = findByThriftId(fieldId);
-
 
27984
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27985
        return fields;
-
 
27986
      }
-
 
27987
 
-
 
27988
      /**
-
 
27989
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27990
       */
-
 
27991
      public static _Fields findByName(String name) {
-
 
27992
        return byName.get(name);
-
 
27993
      }
-
 
27994
 
-
 
27995
      private final short _thriftId;
-
 
27996
      private final String _fieldName;
-
 
27997
 
-
 
27998
      _Fields(short thriftId, String fieldName) {
-
 
27999
        _thriftId = thriftId;
-
 
28000
        _fieldName = fieldName;
-
 
28001
      }
-
 
28002
 
-
 
28003
      public short getThriftFieldId() {
-
 
28004
        return _thriftId;
-
 
28005
      }
-
 
28006
 
-
 
28007
      public String getFieldName() {
-
 
28008
        return _fieldName;
-
 
28009
      }
-
 
28010
    }
-
 
28011
 
-
 
28012
    // isset id assignments
-
 
28013
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
28014
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
28015
 
-
 
28016
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
28017
    static {
-
 
28018
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
28019
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
28020
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
28021
      tmpMap.put(_Fields.SE, new org.apache.thrift.meta_data.FieldMetaData("se", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
28022
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
28023
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
28024
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateUserSmsInfo_result.class, metaDataMap);
-
 
28025
    }
-
 
28026
 
-
 
28027
    public updateUserSmsInfo_result() {
-
 
28028
    }
-
 
28029
 
-
 
28030
    public updateUserSmsInfo_result(
-
 
28031
      boolean success,
-
 
28032
      HelperServiceException se)
-
 
28033
    {
-
 
28034
      this();
-
 
28035
      this.success = success;
-
 
28036
      setSuccessIsSet(true);
-
 
28037
      this.se = se;
-
 
28038
    }
-
 
28039
 
-
 
28040
    /**
-
 
28041
     * Performs a deep copy on <i>other</i>.
-
 
28042
     */
-
 
28043
    public updateUserSmsInfo_result(updateUserSmsInfo_result other) {
-
 
28044
      __isset_bit_vector.clear();
-
 
28045
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
28046
      this.success = other.success;
-
 
28047
      if (other.isSetSe()) {
-
 
28048
        this.se = new HelperServiceException(other.se);
-
 
28049
      }
-
 
28050
    }
-
 
28051
 
-
 
28052
    public updateUserSmsInfo_result deepCopy() {
-
 
28053
      return new updateUserSmsInfo_result(this);
-
 
28054
    }
-
 
28055
 
-
 
28056
    @Override
-
 
28057
    public void clear() {
-
 
28058
      setSuccessIsSet(false);
-
 
28059
      this.success = false;
-
 
28060
      this.se = null;
-
 
28061
    }
-
 
28062
 
-
 
28063
    public boolean isSuccess() {
-
 
28064
      return this.success;
-
 
28065
    }
-
 
28066
 
-
 
28067
    public void setSuccess(boolean success) {
-
 
28068
      this.success = success;
-
 
28069
      setSuccessIsSet(true);
-
 
28070
    }
-
 
28071
 
-
 
28072
    public void unsetSuccess() {
-
 
28073
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
28074
    }
-
 
28075
 
-
 
28076
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
28077
    public boolean isSetSuccess() {
-
 
28078
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
28079
    }
-
 
28080
 
-
 
28081
    public void setSuccessIsSet(boolean value) {
-
 
28082
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
28083
    }
-
 
28084
 
-
 
28085
    public HelperServiceException getSe() {
-
 
28086
      return this.se;
-
 
28087
    }
-
 
28088
 
-
 
28089
    public void setSe(HelperServiceException se) {
-
 
28090
      this.se = se;
-
 
28091
    }
-
 
28092
 
-
 
28093
    public void unsetSe() {
-
 
28094
      this.se = null;
-
 
28095
    }
-
 
28096
 
-
 
28097
    /** Returns true if field se is set (has been assigned a value) and false otherwise */
-
 
28098
    public boolean isSetSe() {
-
 
28099
      return this.se != null;
-
 
28100
    }
-
 
28101
 
-
 
28102
    public void setSeIsSet(boolean value) {
-
 
28103
      if (!value) {
-
 
28104
        this.se = null;
-
 
28105
      }
-
 
28106
    }
-
 
28107
 
-
 
28108
    public void setFieldValue(_Fields field, Object value) {
-
 
28109
      switch (field) {
-
 
28110
      case SUCCESS:
-
 
28111
        if (value == null) {
-
 
28112
          unsetSuccess();
-
 
28113
        } else {
-
 
28114
          setSuccess((Boolean)value);
-
 
28115
        }
-
 
28116
        break;
-
 
28117
 
-
 
28118
      case SE:
-
 
28119
        if (value == null) {
-
 
28120
          unsetSe();
-
 
28121
        } else {
-
 
28122
          setSe((HelperServiceException)value);
-
 
28123
        }
-
 
28124
        break;
-
 
28125
 
-
 
28126
      }
-
 
28127
    }
-
 
28128
 
-
 
28129
    public Object getFieldValue(_Fields field) {
-
 
28130
      switch (field) {
-
 
28131
      case SUCCESS:
-
 
28132
        return Boolean.valueOf(isSuccess());
-
 
28133
 
-
 
28134
      case SE:
-
 
28135
        return getSe();
-
 
28136
 
-
 
28137
      }
-
 
28138
      throw new IllegalStateException();
-
 
28139
    }
-
 
28140
 
-
 
28141
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
28142
    public boolean isSet(_Fields field) {
-
 
28143
      if (field == null) {
-
 
28144
        throw new IllegalArgumentException();
-
 
28145
      }
-
 
28146
 
-
 
28147
      switch (field) {
-
 
28148
      case SUCCESS:
-
 
28149
        return isSetSuccess();
-
 
28150
      case SE:
-
 
28151
        return isSetSe();
-
 
28152
      }
-
 
28153
      throw new IllegalStateException();
-
 
28154
    }
-
 
28155
 
-
 
28156
    @Override
-
 
28157
    public boolean equals(Object that) {
-
 
28158
      if (that == null)
-
 
28159
        return false;
-
 
28160
      if (that instanceof updateUserSmsInfo_result)
-
 
28161
        return this.equals((updateUserSmsInfo_result)that);
-
 
28162
      return false;
-
 
28163
    }
-
 
28164
 
-
 
28165
    public boolean equals(updateUserSmsInfo_result that) {
-
 
28166
      if (that == null)
-
 
28167
        return false;
-
 
28168
 
-
 
28169
      boolean this_present_success = true;
-
 
28170
      boolean that_present_success = true;
-
 
28171
      if (this_present_success || that_present_success) {
-
 
28172
        if (!(this_present_success && that_present_success))
-
 
28173
          return false;
-
 
28174
        if (this.success != that.success)
-
 
28175
          return false;
-
 
28176
      }
-
 
28177
 
-
 
28178
      boolean this_present_se = true && this.isSetSe();
-
 
28179
      boolean that_present_se = true && that.isSetSe();
-
 
28180
      if (this_present_se || that_present_se) {
-
 
28181
        if (!(this_present_se && that_present_se))
-
 
28182
          return false;
-
 
28183
        if (!this.se.equals(that.se))
-
 
28184
          return false;
-
 
28185
      }
-
 
28186
 
-
 
28187
      return true;
-
 
28188
    }
-
 
28189
 
-
 
28190
    @Override
-
 
28191
    public int hashCode() {
-
 
28192
      return 0;
-
 
28193
    }
-
 
28194
 
-
 
28195
    public int compareTo(updateUserSmsInfo_result other) {
-
 
28196
      if (!getClass().equals(other.getClass())) {
-
 
28197
        return getClass().getName().compareTo(other.getClass().getName());
-
 
28198
      }
-
 
28199
 
-
 
28200
      int lastComparison = 0;
-
 
28201
      updateUserSmsInfo_result typedOther = (updateUserSmsInfo_result)other;
-
 
28202
 
-
 
28203
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
28204
      if (lastComparison != 0) {
-
 
28205
        return lastComparison;
-
 
28206
      }
-
 
28207
      if (isSetSuccess()) {
-
 
28208
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
28209
        if (lastComparison != 0) {
-
 
28210
          return lastComparison;
-
 
28211
        }
-
 
28212
      }
-
 
28213
      lastComparison = Boolean.valueOf(isSetSe()).compareTo(typedOther.isSetSe());
-
 
28214
      if (lastComparison != 0) {
-
 
28215
        return lastComparison;
-
 
28216
      }
-
 
28217
      if (isSetSe()) {
-
 
28218
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.se, typedOther.se);
-
 
28219
        if (lastComparison != 0) {
-
 
28220
          return lastComparison;
-
 
28221
        }
-
 
28222
      }
-
 
28223
      return 0;
-
 
28224
    }
-
 
28225
 
-
 
28226
    public _Fields fieldForId(int fieldId) {
-
 
28227
      return _Fields.findByThriftId(fieldId);
-
 
28228
    }
-
 
28229
 
-
 
28230
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
28231
      org.apache.thrift.protocol.TField field;
-
 
28232
      iprot.readStructBegin();
-
 
28233
      while (true)
-
 
28234
      {
-
 
28235
        field = iprot.readFieldBegin();
-
 
28236
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
28237
          break;
-
 
28238
        }
-
 
28239
        switch (field.id) {
-
 
28240
          case 0: // SUCCESS
-
 
28241
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
28242
              this.success = iprot.readBool();
-
 
28243
              setSuccessIsSet(true);
-
 
28244
            } else { 
-
 
28245
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28246
            }
-
 
28247
            break;
-
 
28248
          case 1: // SE
-
 
28249
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
28250
              this.se = new HelperServiceException();
-
 
28251
              this.se.read(iprot);
-
 
28252
            } else { 
-
 
28253
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28254
            }
-
 
28255
            break;
-
 
28256
          default:
-
 
28257
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28258
        }
-
 
28259
        iprot.readFieldEnd();
-
 
28260
      }
-
 
28261
      iprot.readStructEnd();
-
 
28262
      validate();
-
 
28263
    }
-
 
28264
 
-
 
28265
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
28266
      oprot.writeStructBegin(STRUCT_DESC);
-
 
28267
 
-
 
28268
      if (this.isSetSuccess()) {
-
 
28269
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
28270
        oprot.writeBool(this.success);
-
 
28271
        oprot.writeFieldEnd();
-
 
28272
      } else if (this.isSetSe()) {
-
 
28273
        oprot.writeFieldBegin(SE_FIELD_DESC);
-
 
28274
        this.se.write(oprot);
-
 
28275
        oprot.writeFieldEnd();
-
 
28276
      }
-
 
28277
      oprot.writeFieldStop();
-
 
28278
      oprot.writeStructEnd();
-
 
28279
    }
-
 
28280
 
-
 
28281
    @Override
-
 
28282
    public String toString() {
-
 
28283
      StringBuilder sb = new StringBuilder("updateUserSmsInfo_result(");
-
 
28284
      boolean first = true;
-
 
28285
 
-
 
28286
      sb.append("success:");
-
 
28287
      sb.append(this.success);
-
 
28288
      first = false;
-
 
28289
      if (!first) sb.append(", ");
-
 
28290
      sb.append("se:");
-
 
28291
      if (this.se == null) {
-
 
28292
        sb.append("null");
-
 
28293
      } else {
-
 
28294
        sb.append(this.se);
-
 
28295
      }
-
 
28296
      first = false;
-
 
28297
      sb.append(")");
-
 
28298
      return sb.toString();
-
 
28299
    }
-
 
28300
 
-
 
28301
    public void validate() throws org.apache.thrift.TException {
-
 
28302
      // check for required fields
-
 
28303
    }
-
 
28304
 
-
 
28305
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
28306
      try {
-
 
28307
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
28308
      } catch (org.apache.thrift.TException te) {
-
 
28309
        throw new java.io.IOException(te);
-
 
28310
      }
-
 
28311
    }
-
 
28312
 
-
 
28313
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
28314
      try {
-
 
28315
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
28316
      } catch (org.apache.thrift.TException te) {
-
 
28317
        throw new java.io.IOException(te);
-
 
28318
      }
-
 
28319
    }
-
 
28320
 
-
 
28321
  }
-
 
28322
 
-
 
28323
  public static class getUserSmsInfo_args implements org.apache.thrift.TBase<getUserSmsInfo_args, getUserSmsInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
28324
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserSmsInfo_args");
-
 
28325
 
-
 
28326
    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);
-
 
28327
 
-
 
28328
    private long userId; // required
-
 
28329
 
-
 
28330
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
28331
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
28332
      USER_ID((short)1, "userId");
-
 
28333
 
-
 
28334
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
28335
 
-
 
28336
      static {
-
 
28337
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
28338
          byName.put(field.getFieldName(), field);
-
 
28339
        }
-
 
28340
      }
-
 
28341
 
-
 
28342
      /**
-
 
28343
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
28344
       */
-
 
28345
      public static _Fields findByThriftId(int fieldId) {
-
 
28346
        switch(fieldId) {
-
 
28347
          case 1: // USER_ID
-
 
28348
            return USER_ID;
-
 
28349
          default:
-
 
28350
            return null;
-
 
28351
        }
-
 
28352
      }
-
 
28353
 
-
 
28354
      /**
-
 
28355
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
28356
       * if it is not found.
-
 
28357
       */
-
 
28358
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
28359
        _Fields fields = findByThriftId(fieldId);
-
 
28360
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
28361
        return fields;
-
 
28362
      }
-
 
28363
 
-
 
28364
      /**
-
 
28365
       * Find the _Fields constant that matches name, or null if its not found.
-
 
28366
       */
-
 
28367
      public static _Fields findByName(String name) {
-
 
28368
        return byName.get(name);
-
 
28369
      }
-
 
28370
 
-
 
28371
      private final short _thriftId;
-
 
28372
      private final String _fieldName;
-
 
28373
 
-
 
28374
      _Fields(short thriftId, String fieldName) {
-
 
28375
        _thriftId = thriftId;
-
 
28376
        _fieldName = fieldName;
-
 
28377
      }
-
 
28378
 
-
 
28379
      public short getThriftFieldId() {
-
 
28380
        return _thriftId;
-
 
28381
      }
-
 
28382
 
-
 
28383
      public String getFieldName() {
-
 
28384
        return _fieldName;
-
 
28385
      }
-
 
28386
    }
-
 
28387
 
-
 
28388
    // isset id assignments
-
 
28389
    private static final int __USERID_ISSET_ID = 0;
-
 
28390
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
28391
 
-
 
28392
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
28393
    static {
-
 
28394
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
28395
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
28396
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
28397
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
28398
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSmsInfo_args.class, metaDataMap);
-
 
28399
    }
-
 
28400
 
-
 
28401
    public getUserSmsInfo_args() {
-
 
28402
    }
-
 
28403
 
-
 
28404
    public getUserSmsInfo_args(
-
 
28405
      long userId)
-
 
28406
    {
-
 
28407
      this();
-
 
28408
      this.userId = userId;
-
 
28409
      setUserIdIsSet(true);
-
 
28410
    }
-
 
28411
 
-
 
28412
    /**
-
 
28413
     * Performs a deep copy on <i>other</i>.
-
 
28414
     */
-
 
28415
    public getUserSmsInfo_args(getUserSmsInfo_args other) {
-
 
28416
      __isset_bit_vector.clear();
-
 
28417
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
28418
      this.userId = other.userId;
-
 
28419
    }
-
 
28420
 
-
 
28421
    public getUserSmsInfo_args deepCopy() {
-
 
28422
      return new getUserSmsInfo_args(this);
-
 
28423
    }
-
 
28424
 
-
 
28425
    @Override
-
 
28426
    public void clear() {
-
 
28427
      setUserIdIsSet(false);
-
 
28428
      this.userId = 0;
-
 
28429
    }
-
 
28430
 
-
 
28431
    public long getUserId() {
-
 
28432
      return this.userId;
-
 
28433
    }
-
 
28434
 
-
 
28435
    public void setUserId(long userId) {
-
 
28436
      this.userId = userId;
-
 
28437
      setUserIdIsSet(true);
-
 
28438
    }
-
 
28439
 
-
 
28440
    public void unsetUserId() {
-
 
28441
      __isset_bit_vector.clear(__USERID_ISSET_ID);
-
 
28442
    }
-
 
28443
 
-
 
28444
    /** Returns true if field userId is set (has been assigned a value) and false otherwise */
-
 
28445
    public boolean isSetUserId() {
-
 
28446
      return __isset_bit_vector.get(__USERID_ISSET_ID);
-
 
28447
    }
-
 
28448
 
-
 
28449
    public void setUserIdIsSet(boolean value) {
-
 
28450
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
-
 
28451
    }
-
 
28452
 
-
 
28453
    public void setFieldValue(_Fields field, Object value) {
-
 
28454
      switch (field) {
-
 
28455
      case USER_ID:
-
 
28456
        if (value == null) {
-
 
28457
          unsetUserId();
-
 
28458
        } else {
-
 
28459
          setUserId((Long)value);
-
 
28460
        }
-
 
28461
        break;
-
 
28462
 
-
 
28463
      }
-
 
28464
    }
-
 
28465
 
-
 
28466
    public Object getFieldValue(_Fields field) {
-
 
28467
      switch (field) {
-
 
28468
      case USER_ID:
-
 
28469
        return Long.valueOf(getUserId());
-
 
28470
 
-
 
28471
      }
-
 
28472
      throw new IllegalStateException();
-
 
28473
    }
-
 
28474
 
-
 
28475
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
28476
    public boolean isSet(_Fields field) {
-
 
28477
      if (field == null) {
-
 
28478
        throw new IllegalArgumentException();
-
 
28479
      }
-
 
28480
 
-
 
28481
      switch (field) {
-
 
28482
      case USER_ID:
-
 
28483
        return isSetUserId();
-
 
28484
      }
-
 
28485
      throw new IllegalStateException();
-
 
28486
    }
-
 
28487
 
-
 
28488
    @Override
-
 
28489
    public boolean equals(Object that) {
-
 
28490
      if (that == null)
-
 
28491
        return false;
-
 
28492
      if (that instanceof getUserSmsInfo_args)
-
 
28493
        return this.equals((getUserSmsInfo_args)that);
-
 
28494
      return false;
-
 
28495
    }
-
 
28496
 
-
 
28497
    public boolean equals(getUserSmsInfo_args that) {
-
 
28498
      if (that == null)
-
 
28499
        return false;
-
 
28500
 
-
 
28501
      boolean this_present_userId = true;
-
 
28502
      boolean that_present_userId = true;
-
 
28503
      if (this_present_userId || that_present_userId) {
-
 
28504
        if (!(this_present_userId && that_present_userId))
-
 
28505
          return false;
-
 
28506
        if (this.userId != that.userId)
-
 
28507
          return false;
-
 
28508
      }
-
 
28509
 
-
 
28510
      return true;
-
 
28511
    }
-
 
28512
 
-
 
28513
    @Override
-
 
28514
    public int hashCode() {
-
 
28515
      return 0;
-
 
28516
    }
-
 
28517
 
-
 
28518
    public int compareTo(getUserSmsInfo_args other) {
-
 
28519
      if (!getClass().equals(other.getClass())) {
-
 
28520
        return getClass().getName().compareTo(other.getClass().getName());
-
 
28521
      }
-
 
28522
 
-
 
28523
      int lastComparison = 0;
-
 
28524
      getUserSmsInfo_args typedOther = (getUserSmsInfo_args)other;
-
 
28525
 
-
 
28526
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
-
 
28527
      if (lastComparison != 0) {
-
 
28528
        return lastComparison;
-
 
28529
      }
-
 
28530
      if (isSetUserId()) {
-
 
28531
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
-
 
28532
        if (lastComparison != 0) {
-
 
28533
          return lastComparison;
-
 
28534
        }
-
 
28535
      }
-
 
28536
      return 0;
-
 
28537
    }
-
 
28538
 
-
 
28539
    public _Fields fieldForId(int fieldId) {
-
 
28540
      return _Fields.findByThriftId(fieldId);
-
 
28541
    }
-
 
28542
 
-
 
28543
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
28544
      org.apache.thrift.protocol.TField field;
-
 
28545
      iprot.readStructBegin();
-
 
28546
      while (true)
-
 
28547
      {
-
 
28548
        field = iprot.readFieldBegin();
-
 
28549
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
28550
          break;
-
 
28551
        }
-
 
28552
        switch (field.id) {
-
 
28553
          case 1: // USER_ID
-
 
28554
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
28555
              this.userId = iprot.readI64();
-
 
28556
              setUserIdIsSet(true);
-
 
28557
            } else { 
-
 
28558
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28559
            }
-
 
28560
            break;
-
 
28561
          default:
-
 
28562
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28563
        }
-
 
28564
        iprot.readFieldEnd();
-
 
28565
      }
-
 
28566
      iprot.readStructEnd();
-
 
28567
      validate();
-
 
28568
    }
-
 
28569
 
-
 
28570
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
28571
      validate();
-
 
28572
 
-
 
28573
      oprot.writeStructBegin(STRUCT_DESC);
-
 
28574
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
28575
      oprot.writeI64(this.userId);
-
 
28576
      oprot.writeFieldEnd();
-
 
28577
      oprot.writeFieldStop();
-
 
28578
      oprot.writeStructEnd();
-
 
28579
    }
-
 
28580
 
-
 
28581
    @Override
-
 
28582
    public String toString() {
-
 
28583
      StringBuilder sb = new StringBuilder("getUserSmsInfo_args(");
-
 
28584
      boolean first = true;
-
 
28585
 
-
 
28586
      sb.append("userId:");
-
 
28587
      sb.append(this.userId);
-
 
28588
      first = false;
-
 
28589
      sb.append(")");
-
 
28590
      return sb.toString();
-
 
28591
    }
-
 
28592
 
-
 
28593
    public void validate() throws org.apache.thrift.TException {
-
 
28594
      // check for required fields
-
 
28595
    }
-
 
28596
 
-
 
28597
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
28598
      try {
-
 
28599
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
28600
      } catch (org.apache.thrift.TException te) {
-
 
28601
        throw new java.io.IOException(te);
-
 
28602
      }
-
 
28603
    }
-
 
28604
 
-
 
28605
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
28606
      try {
-
 
28607
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
28608
        __isset_bit_vector = new BitSet(1);
-
 
28609
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
28610
      } catch (org.apache.thrift.TException te) {
-
 
28611
        throw new java.io.IOException(te);
-
 
28612
      }
-
 
28613
    }
-
 
28614
 
-
 
28615
  }
-
 
28616
 
-
 
28617
  public static class getUserSmsInfo_result implements org.apache.thrift.TBase<getUserSmsInfo_result, getUserSmsInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
28618
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserSmsInfo_result");
-
 
28619
 
-
 
28620
    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);
-
 
28621
    private static final org.apache.thrift.protocol.TField SE_FIELD_DESC = new org.apache.thrift.protocol.TField("se", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
28622
 
-
 
28623
    private UserSmsInfo success; // required
-
 
28624
    private HelperServiceException se; // required
-
 
28625
 
-
 
28626
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
28627
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
28628
      SUCCESS((short)0, "success"),
-
 
28629
      SE((short)1, "se");
-
 
28630
 
-
 
28631
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
28632
 
-
 
28633
      static {
-
 
28634
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
28635
          byName.put(field.getFieldName(), field);
-
 
28636
        }
-
 
28637
      }
-
 
28638
 
-
 
28639
      /**
-
 
28640
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
28641
       */
-
 
28642
      public static _Fields findByThriftId(int fieldId) {
-
 
28643
        switch(fieldId) {
-
 
28644
          case 0: // SUCCESS
-
 
28645
            return SUCCESS;
-
 
28646
          case 1: // SE
-
 
28647
            return SE;
-
 
28648
          default:
-
 
28649
            return null;
-
 
28650
        }
-
 
28651
      }
-
 
28652
 
-
 
28653
      /**
-
 
28654
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
28655
       * if it is not found.
-
 
28656
       */
-
 
28657
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
28658
        _Fields fields = findByThriftId(fieldId);
-
 
28659
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
28660
        return fields;
-
 
28661
      }
-
 
28662
 
-
 
28663
      /**
-
 
28664
       * Find the _Fields constant that matches name, or null if its not found.
-
 
28665
       */
-
 
28666
      public static _Fields findByName(String name) {
-
 
28667
        return byName.get(name);
-
 
28668
      }
-
 
28669
 
-
 
28670
      private final short _thriftId;
-
 
28671
      private final String _fieldName;
-
 
28672
 
-
 
28673
      _Fields(short thriftId, String fieldName) {
-
 
28674
        _thriftId = thriftId;
-
 
28675
        _fieldName = fieldName;
-
 
28676
      }
-
 
28677
 
-
 
28678
      public short getThriftFieldId() {
-
 
28679
        return _thriftId;
-
 
28680
      }
-
 
28681
 
-
 
28682
      public String getFieldName() {
-
 
28683
        return _fieldName;
-
 
28684
      }
-
 
28685
    }
-
 
28686
 
-
 
28687
    // isset id assignments
-
 
28688
 
-
 
28689
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
28690
    static {
-
 
28691
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
28692
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
28693
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSmsInfo.class)));
-
 
28694
      tmpMap.put(_Fields.SE, new org.apache.thrift.meta_data.FieldMetaData("se", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
28695
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
28696
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
28697
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSmsInfo_result.class, metaDataMap);
-
 
28698
    }
-
 
28699
 
-
 
28700
    public getUserSmsInfo_result() {
-
 
28701
    }
-
 
28702
 
-
 
28703
    public getUserSmsInfo_result(
-
 
28704
      UserSmsInfo success,
-
 
28705
      HelperServiceException se)
-
 
28706
    {
-
 
28707
      this();
-
 
28708
      this.success = success;
-
 
28709
      this.se = se;
-
 
28710
    }
-
 
28711
 
-
 
28712
    /**
-
 
28713
     * Performs a deep copy on <i>other</i>.
-
 
28714
     */
-
 
28715
    public getUserSmsInfo_result(getUserSmsInfo_result other) {
-
 
28716
      if (other.isSetSuccess()) {
-
 
28717
        this.success = new UserSmsInfo(other.success);
-
 
28718
      }
-
 
28719
      if (other.isSetSe()) {
-
 
28720
        this.se = new HelperServiceException(other.se);
-
 
28721
      }
-
 
28722
    }
-
 
28723
 
-
 
28724
    public getUserSmsInfo_result deepCopy() {
-
 
28725
      return new getUserSmsInfo_result(this);
-
 
28726
    }
-
 
28727
 
-
 
28728
    @Override
-
 
28729
    public void clear() {
-
 
28730
      this.success = null;
-
 
28731
      this.se = null;
-
 
28732
    }
-
 
28733
 
-
 
28734
    public UserSmsInfo getSuccess() {
-
 
28735
      return this.success;
-
 
28736
    }
-
 
28737
 
-
 
28738
    public void setSuccess(UserSmsInfo success) {
-
 
28739
      this.success = success;
-
 
28740
    }
-
 
28741
 
-
 
28742
    public void unsetSuccess() {
-
 
28743
      this.success = null;
-
 
28744
    }
-
 
28745
 
-
 
28746
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
28747
    public boolean isSetSuccess() {
-
 
28748
      return this.success != null;
-
 
28749
    }
-
 
28750
 
-
 
28751
    public void setSuccessIsSet(boolean value) {
-
 
28752
      if (!value) {
-
 
28753
        this.success = null;
-
 
28754
      }
-
 
28755
    }
-
 
28756
 
-
 
28757
    public HelperServiceException getSe() {
-
 
28758
      return this.se;
-
 
28759
    }
-
 
28760
 
-
 
28761
    public void setSe(HelperServiceException se) {
-
 
28762
      this.se = se;
-
 
28763
    }
-
 
28764
 
-
 
28765
    public void unsetSe() {
-
 
28766
      this.se = null;
-
 
28767
    }
-
 
28768
 
-
 
28769
    /** Returns true if field se is set (has been assigned a value) and false otherwise */
-
 
28770
    public boolean isSetSe() {
-
 
28771
      return this.se != null;
-
 
28772
    }
-
 
28773
 
-
 
28774
    public void setSeIsSet(boolean value) {
-
 
28775
      if (!value) {
-
 
28776
        this.se = null;
-
 
28777
      }
-
 
28778
    }
-
 
28779
 
-
 
28780
    public void setFieldValue(_Fields field, Object value) {
-
 
28781
      switch (field) {
-
 
28782
      case SUCCESS:
-
 
28783
        if (value == null) {
-
 
28784
          unsetSuccess();
-
 
28785
        } else {
-
 
28786
          setSuccess((UserSmsInfo)value);
-
 
28787
        }
-
 
28788
        break;
-
 
28789
 
-
 
28790
      case SE:
-
 
28791
        if (value == null) {
-
 
28792
          unsetSe();
-
 
28793
        } else {
-
 
28794
          setSe((HelperServiceException)value);
-
 
28795
        }
-
 
28796
        break;
-
 
28797
 
-
 
28798
      }
-
 
28799
    }
-
 
28800
 
-
 
28801
    public Object getFieldValue(_Fields field) {
-
 
28802
      switch (field) {
-
 
28803
      case SUCCESS:
-
 
28804
        return getSuccess();
-
 
28805
 
-
 
28806
      case SE:
-
 
28807
        return getSe();
-
 
28808
 
-
 
28809
      }
-
 
28810
      throw new IllegalStateException();
-
 
28811
    }
-
 
28812
 
-
 
28813
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
28814
    public boolean isSet(_Fields field) {
-
 
28815
      if (field == null) {
-
 
28816
        throw new IllegalArgumentException();
-
 
28817
      }
-
 
28818
 
-
 
28819
      switch (field) {
-
 
28820
      case SUCCESS:
-
 
28821
        return isSetSuccess();
-
 
28822
      case SE:
-
 
28823
        return isSetSe();
-
 
28824
      }
-
 
28825
      throw new IllegalStateException();
-
 
28826
    }
-
 
28827
 
-
 
28828
    @Override
-
 
28829
    public boolean equals(Object that) {
-
 
28830
      if (that == null)
-
 
28831
        return false;
-
 
28832
      if (that instanceof getUserSmsInfo_result)
-
 
28833
        return this.equals((getUserSmsInfo_result)that);
-
 
28834
      return false;
-
 
28835
    }
-
 
28836
 
-
 
28837
    public boolean equals(getUserSmsInfo_result that) {
-
 
28838
      if (that == null)
-
 
28839
        return false;
-
 
28840
 
-
 
28841
      boolean this_present_success = true && this.isSetSuccess();
-
 
28842
      boolean that_present_success = true && that.isSetSuccess();
-
 
28843
      if (this_present_success || that_present_success) {
-
 
28844
        if (!(this_present_success && that_present_success))
-
 
28845
          return false;
-
 
28846
        if (!this.success.equals(that.success))
-
 
28847
          return false;
-
 
28848
      }
-
 
28849
 
-
 
28850
      boolean this_present_se = true && this.isSetSe();
-
 
28851
      boolean that_present_se = true && that.isSetSe();
-
 
28852
      if (this_present_se || that_present_se) {
-
 
28853
        if (!(this_present_se && that_present_se))
-
 
28854
          return false;
-
 
28855
        if (!this.se.equals(that.se))
-
 
28856
          return false;
-
 
28857
      }
-
 
28858
 
-
 
28859
      return true;
-
 
28860
    }
-
 
28861
 
-
 
28862
    @Override
-
 
28863
    public int hashCode() {
-
 
28864
      return 0;
-
 
28865
    }
-
 
28866
 
-
 
28867
    public int compareTo(getUserSmsInfo_result other) {
-
 
28868
      if (!getClass().equals(other.getClass())) {
-
 
28869
        return getClass().getName().compareTo(other.getClass().getName());
-
 
28870
      }
-
 
28871
 
-
 
28872
      int lastComparison = 0;
-
 
28873
      getUserSmsInfo_result typedOther = (getUserSmsInfo_result)other;
-
 
28874
 
-
 
28875
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
28876
      if (lastComparison != 0) {
-
 
28877
        return lastComparison;
-
 
28878
      }
-
 
28879
      if (isSetSuccess()) {
-
 
28880
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
28881
        if (lastComparison != 0) {
-
 
28882
          return lastComparison;
-
 
28883
        }
-
 
28884
      }
-
 
28885
      lastComparison = Boolean.valueOf(isSetSe()).compareTo(typedOther.isSetSe());
-
 
28886
      if (lastComparison != 0) {
-
 
28887
        return lastComparison;
-
 
28888
      }
-
 
28889
      if (isSetSe()) {
-
 
28890
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.se, typedOther.se);
-
 
28891
        if (lastComparison != 0) {
-
 
28892
          return lastComparison;
-
 
28893
        }
-
 
28894
      }
-
 
28895
      return 0;
-
 
28896
    }
-
 
28897
 
-
 
28898
    public _Fields fieldForId(int fieldId) {
-
 
28899
      return _Fields.findByThriftId(fieldId);
-
 
28900
    }
-
 
28901
 
-
 
28902
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
28903
      org.apache.thrift.protocol.TField field;
-
 
28904
      iprot.readStructBegin();
-
 
28905
      while (true)
-
 
28906
      {
-
 
28907
        field = iprot.readFieldBegin();
-
 
28908
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
28909
          break;
-
 
28910
        }
-
 
28911
        switch (field.id) {
-
 
28912
          case 0: // SUCCESS
-
 
28913
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
28914
              this.success = new UserSmsInfo();
-
 
28915
              this.success.read(iprot);
-
 
28916
            } else { 
-
 
28917
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28918
            }
-
 
28919
            break;
-
 
28920
          case 1: // SE
-
 
28921
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
28922
              this.se = new HelperServiceException();
-
 
28923
              this.se.read(iprot);
-
 
28924
            } else { 
-
 
28925
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28926
            }
-
 
28927
            break;
-
 
28928
          default:
-
 
28929
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
28930
        }
-
 
28931
        iprot.readFieldEnd();
-
 
28932
      }
-
 
28933
      iprot.readStructEnd();
-
 
28934
      validate();
-
 
28935
    }
-
 
28936
 
-
 
28937
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
28938
      oprot.writeStructBegin(STRUCT_DESC);
-
 
28939
 
-
 
28940
      if (this.isSetSuccess()) {
-
 
28941
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
28942
        this.success.write(oprot);
-
 
28943
        oprot.writeFieldEnd();
-
 
28944
      } else if (this.isSetSe()) {
-
 
28945
        oprot.writeFieldBegin(SE_FIELD_DESC);
-
 
28946
        this.se.write(oprot);
-
 
28947
        oprot.writeFieldEnd();
-
 
28948
      }
-
 
28949
      oprot.writeFieldStop();
-
 
28950
      oprot.writeStructEnd();
-
 
28951
    }
-
 
28952
 
-
 
28953
    @Override
-
 
28954
    public String toString() {
-
 
28955
      StringBuilder sb = new StringBuilder("getUserSmsInfo_result(");
-
 
28956
      boolean first = true;
-
 
28957
 
-
 
28958
      sb.append("success:");
-
 
28959
      if (this.success == null) {
-
 
28960
        sb.append("null");
-
 
28961
      } else {
-
 
28962
        sb.append(this.success);
-
 
28963
      }
-
 
28964
      first = false;
-
 
28965
      if (!first) sb.append(", ");
-
 
28966
      sb.append("se:");
-
 
28967
      if (this.se == null) {
-
 
28968
        sb.append("null");
-
 
28969
      } else {
-
 
28970
        sb.append(this.se);
-
 
28971
      }
-
 
28972
      first = false;
-
 
28973
      sb.append(")");
-
 
28974
      return sb.toString();
-
 
28975
    }
-
 
28976
 
-
 
28977
    public void validate() throws org.apache.thrift.TException {
-
 
28978
      // check for required fields
-
 
28979
    }
-
 
28980
 
-
 
28981
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
28982
      try {
-
 
28983
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
28984
      } catch (org.apache.thrift.TException te) {
-
 
28985
        throw new java.io.IOException(te);
-
 
28986
      }
-
 
28987
    }
-
 
28988
 
-
 
28989
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
28990
      try {
-
 
28991
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
28992
      } catch (org.apache.thrift.TException te) {
-
 
28993
        throw new java.io.IOException(te);
-
 
28994
      }
-
 
28995
    }
-
 
28996
 
-
 
28997
  }
-
 
28998
 
-
 
28999
  public static class getAllUsersSmsInfo_args implements org.apache.thrift.TBase<getAllUsersSmsInfo_args, getAllUsersSmsInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
29000
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllUsersSmsInfo_args");
-
 
29001
 
-
 
29002
    private static final org.apache.thrift.protocol.TField DND_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("dndStatus", org.apache.thrift.protocol.TType.BOOL, (short)1);
-
 
29003
    private static final org.apache.thrift.protocol.TField SMS_SUBSCRIBED_FIELD_DESC = new org.apache.thrift.protocol.TField("smsSubscribed", org.apache.thrift.protocol.TType.BOOL, (short)2);
-
 
29004
 
-
 
29005
    private boolean dndStatus; // required
-
 
29006
    private boolean smsSubscribed; // required
-
 
29007
 
-
 
29008
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
29009
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
29010
      DND_STATUS((short)1, "dndStatus"),
-
 
29011
      SMS_SUBSCRIBED((short)2, "smsSubscribed");
-
 
29012
 
-
 
29013
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
29014
 
-
 
29015
      static {
-
 
29016
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
29017
          byName.put(field.getFieldName(), field);
-
 
29018
        }
-
 
29019
      }
-
 
29020
 
-
 
29021
      /**
-
 
29022
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
29023
       */
-
 
29024
      public static _Fields findByThriftId(int fieldId) {
-
 
29025
        switch(fieldId) {
-
 
29026
          case 1: // DND_STATUS
-
 
29027
            return DND_STATUS;
-
 
29028
          case 2: // SMS_SUBSCRIBED
-
 
29029
            return SMS_SUBSCRIBED;
-
 
29030
          default:
-
 
29031
            return null;
-
 
29032
        }
-
 
29033
      }
-
 
29034
 
-
 
29035
      /**
-
 
29036
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
29037
       * if it is not found.
-
 
29038
       */
-
 
29039
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
29040
        _Fields fields = findByThriftId(fieldId);
-
 
29041
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
29042
        return fields;
-
 
29043
      }
-
 
29044
 
-
 
29045
      /**
-
 
29046
       * Find the _Fields constant that matches name, or null if its not found.
-
 
29047
       */
-
 
29048
      public static _Fields findByName(String name) {
-
 
29049
        return byName.get(name);
-
 
29050
      }
-
 
29051
 
-
 
29052
      private final short _thriftId;
-
 
29053
      private final String _fieldName;
-
 
29054
 
-
 
29055
      _Fields(short thriftId, String fieldName) {
-
 
29056
        _thriftId = thriftId;
-
 
29057
        _fieldName = fieldName;
-
 
29058
      }
-
 
29059
 
-
 
29060
      public short getThriftFieldId() {
-
 
29061
        return _thriftId;
-
 
29062
      }
-
 
29063
 
-
 
29064
      public String getFieldName() {
-
 
29065
        return _fieldName;
-
 
29066
      }
-
 
29067
    }
-
 
29068
 
-
 
29069
    // isset id assignments
-
 
29070
    private static final int __DNDSTATUS_ISSET_ID = 0;
-
 
29071
    private static final int __SMSSUBSCRIBED_ISSET_ID = 1;
-
 
29072
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
29073
 
-
 
29074
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
29075
    static {
-
 
29076
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
29077
      tmpMap.put(_Fields.DND_STATUS, new org.apache.thrift.meta_data.FieldMetaData("dndStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
29078
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
29079
      tmpMap.put(_Fields.SMS_SUBSCRIBED, new org.apache.thrift.meta_data.FieldMetaData("smsSubscribed", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
29080
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
29081
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
29082
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllUsersSmsInfo_args.class, metaDataMap);
-
 
29083
    }
-
 
29084
 
-
 
29085
    public getAllUsersSmsInfo_args() {
-
 
29086
    }
-
 
29087
 
-
 
29088
    public getAllUsersSmsInfo_args(
-
 
29089
      boolean dndStatus,
-
 
29090
      boolean smsSubscribed)
-
 
29091
    {
-
 
29092
      this();
-
 
29093
      this.dndStatus = dndStatus;
-
 
29094
      setDndStatusIsSet(true);
-
 
29095
      this.smsSubscribed = smsSubscribed;
-
 
29096
      setSmsSubscribedIsSet(true);
-
 
29097
    }
-
 
29098
 
-
 
29099
    /**
-
 
29100
     * Performs a deep copy on <i>other</i>.
-
 
29101
     */
-
 
29102
    public getAllUsersSmsInfo_args(getAllUsersSmsInfo_args other) {
-
 
29103
      __isset_bit_vector.clear();
-
 
29104
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
29105
      this.dndStatus = other.dndStatus;
-
 
29106
      this.smsSubscribed = other.smsSubscribed;
-
 
29107
    }
-
 
29108
 
-
 
29109
    public getAllUsersSmsInfo_args deepCopy() {
-
 
29110
      return new getAllUsersSmsInfo_args(this);
-
 
29111
    }
-
 
29112
 
-
 
29113
    @Override
-
 
29114
    public void clear() {
-
 
29115
      setDndStatusIsSet(false);
-
 
29116
      this.dndStatus = false;
-
 
29117
      setSmsSubscribedIsSet(false);
-
 
29118
      this.smsSubscribed = false;
-
 
29119
    }
-
 
29120
 
-
 
29121
    public boolean isDndStatus() {
-
 
29122
      return this.dndStatus;
-
 
29123
    }
-
 
29124
 
-
 
29125
    public void setDndStatus(boolean dndStatus) {
-
 
29126
      this.dndStatus = dndStatus;
-
 
29127
      setDndStatusIsSet(true);
-
 
29128
    }
-
 
29129
 
-
 
29130
    public void unsetDndStatus() {
-
 
29131
      __isset_bit_vector.clear(__DNDSTATUS_ISSET_ID);
-
 
29132
    }
-
 
29133
 
-
 
29134
    /** Returns true if field dndStatus is set (has been assigned a value) and false otherwise */
-
 
29135
    public boolean isSetDndStatus() {
-
 
29136
      return __isset_bit_vector.get(__DNDSTATUS_ISSET_ID);
-
 
29137
    }
-
 
29138
 
-
 
29139
    public void setDndStatusIsSet(boolean value) {
-
 
29140
      __isset_bit_vector.set(__DNDSTATUS_ISSET_ID, value);
-
 
29141
    }
-
 
29142
 
-
 
29143
    public boolean isSmsSubscribed() {
-
 
29144
      return this.smsSubscribed;
-
 
29145
    }
-
 
29146
 
-
 
29147
    public void setSmsSubscribed(boolean smsSubscribed) {
-
 
29148
      this.smsSubscribed = smsSubscribed;
-
 
29149
      setSmsSubscribedIsSet(true);
-
 
29150
    }
-
 
29151
 
-
 
29152
    public void unsetSmsSubscribed() {
-
 
29153
      __isset_bit_vector.clear(__SMSSUBSCRIBED_ISSET_ID);
-
 
29154
    }
-
 
29155
 
-
 
29156
    /** Returns true if field smsSubscribed is set (has been assigned a value) and false otherwise */
-
 
29157
    public boolean isSetSmsSubscribed() {
-
 
29158
      return __isset_bit_vector.get(__SMSSUBSCRIBED_ISSET_ID);
-
 
29159
    }
-
 
29160
 
-
 
29161
    public void setSmsSubscribedIsSet(boolean value) {
-
 
29162
      __isset_bit_vector.set(__SMSSUBSCRIBED_ISSET_ID, value);
-
 
29163
    }
-
 
29164
 
-
 
29165
    public void setFieldValue(_Fields field, Object value) {
-
 
29166
      switch (field) {
-
 
29167
      case DND_STATUS:
-
 
29168
        if (value == null) {
-
 
29169
          unsetDndStatus();
-
 
29170
        } else {
-
 
29171
          setDndStatus((Boolean)value);
-
 
29172
        }
-
 
29173
        break;
-
 
29174
 
-
 
29175
      case SMS_SUBSCRIBED:
-
 
29176
        if (value == null) {
-
 
29177
          unsetSmsSubscribed();
-
 
29178
        } else {
-
 
29179
          setSmsSubscribed((Boolean)value);
-
 
29180
        }
-
 
29181
        break;
-
 
29182
 
-
 
29183
      }
-
 
29184
    }
-
 
29185
 
-
 
29186
    public Object getFieldValue(_Fields field) {
-
 
29187
      switch (field) {
-
 
29188
      case DND_STATUS:
-
 
29189
        return Boolean.valueOf(isDndStatus());
-
 
29190
 
-
 
29191
      case SMS_SUBSCRIBED:
-
 
29192
        return Boolean.valueOf(isSmsSubscribed());
-
 
29193
 
-
 
29194
      }
-
 
29195
      throw new IllegalStateException();
-
 
29196
    }
-
 
29197
 
-
 
29198
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
29199
    public boolean isSet(_Fields field) {
-
 
29200
      if (field == null) {
-
 
29201
        throw new IllegalArgumentException();
-
 
29202
      }
-
 
29203
 
-
 
29204
      switch (field) {
-
 
29205
      case DND_STATUS:
-
 
29206
        return isSetDndStatus();
-
 
29207
      case SMS_SUBSCRIBED:
-
 
29208
        return isSetSmsSubscribed();
-
 
29209
      }
-
 
29210
      throw new IllegalStateException();
-
 
29211
    }
-
 
29212
 
-
 
29213
    @Override
-
 
29214
    public boolean equals(Object that) {
-
 
29215
      if (that == null)
-
 
29216
        return false;
-
 
29217
      if (that instanceof getAllUsersSmsInfo_args)
-
 
29218
        return this.equals((getAllUsersSmsInfo_args)that);
-
 
29219
      return false;
-
 
29220
    }
-
 
29221
 
-
 
29222
    public boolean equals(getAllUsersSmsInfo_args that) {
-
 
29223
      if (that == null)
-
 
29224
        return false;
-
 
29225
 
-
 
29226
      boolean this_present_dndStatus = true;
-
 
29227
      boolean that_present_dndStatus = true;
-
 
29228
      if (this_present_dndStatus || that_present_dndStatus) {
-
 
29229
        if (!(this_present_dndStatus && that_present_dndStatus))
-
 
29230
          return false;
-
 
29231
        if (this.dndStatus != that.dndStatus)
-
 
29232
          return false;
-
 
29233
      }
-
 
29234
 
-
 
29235
      boolean this_present_smsSubscribed = true;
-
 
29236
      boolean that_present_smsSubscribed = true;
-
 
29237
      if (this_present_smsSubscribed || that_present_smsSubscribed) {
-
 
29238
        if (!(this_present_smsSubscribed && that_present_smsSubscribed))
-
 
29239
          return false;
-
 
29240
        if (this.smsSubscribed != that.smsSubscribed)
-
 
29241
          return false;
-
 
29242
      }
-
 
29243
 
-
 
29244
      return true;
-
 
29245
    }
-
 
29246
 
-
 
29247
    @Override
-
 
29248
    public int hashCode() {
-
 
29249
      return 0;
-
 
29250
    }
-
 
29251
 
-
 
29252
    public int compareTo(getAllUsersSmsInfo_args other) {
-
 
29253
      if (!getClass().equals(other.getClass())) {
-
 
29254
        return getClass().getName().compareTo(other.getClass().getName());
-
 
29255
      }
-
 
29256
 
-
 
29257
      int lastComparison = 0;
-
 
29258
      getAllUsersSmsInfo_args typedOther = (getAllUsersSmsInfo_args)other;
-
 
29259
 
-
 
29260
      lastComparison = Boolean.valueOf(isSetDndStatus()).compareTo(typedOther.isSetDndStatus());
-
 
29261
      if (lastComparison != 0) {
-
 
29262
        return lastComparison;
-
 
29263
      }
-
 
29264
      if (isSetDndStatus()) {
-
 
29265
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dndStatus, typedOther.dndStatus);
-
 
29266
        if (lastComparison != 0) {
-
 
29267
          return lastComparison;
-
 
29268
        }
-
 
29269
      }
-
 
29270
      lastComparison = Boolean.valueOf(isSetSmsSubscribed()).compareTo(typedOther.isSetSmsSubscribed());
-
 
29271
      if (lastComparison != 0) {
-
 
29272
        return lastComparison;
-
 
29273
      }
-
 
29274
      if (isSetSmsSubscribed()) {
-
 
29275
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.smsSubscribed, typedOther.smsSubscribed);
-
 
29276
        if (lastComparison != 0) {
-
 
29277
          return lastComparison;
-
 
29278
        }
-
 
29279
      }
-
 
29280
      return 0;
-
 
29281
    }
-
 
29282
 
-
 
29283
    public _Fields fieldForId(int fieldId) {
-
 
29284
      return _Fields.findByThriftId(fieldId);
-
 
29285
    }
-
 
29286
 
-
 
29287
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
29288
      org.apache.thrift.protocol.TField field;
-
 
29289
      iprot.readStructBegin();
-
 
29290
      while (true)
-
 
29291
      {
-
 
29292
        field = iprot.readFieldBegin();
-
 
29293
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
29294
          break;
-
 
29295
        }
-
 
29296
        switch (field.id) {
-
 
29297
          case 1: // DND_STATUS
-
 
29298
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
29299
              this.dndStatus = iprot.readBool();
-
 
29300
              setDndStatusIsSet(true);
-
 
29301
            } else { 
-
 
29302
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29303
            }
-
 
29304
            break;
-
 
29305
          case 2: // SMS_SUBSCRIBED
-
 
29306
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
29307
              this.smsSubscribed = iprot.readBool();
-
 
29308
              setSmsSubscribedIsSet(true);
-
 
29309
            } else { 
-
 
29310
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29311
            }
-
 
29312
            break;
-
 
29313
          default:
-
 
29314
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29315
        }
-
 
29316
        iprot.readFieldEnd();
-
 
29317
      }
-
 
29318
      iprot.readStructEnd();
-
 
29319
      validate();
-
 
29320
    }
-
 
29321
 
-
 
29322
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
29323
      validate();
-
 
29324
 
-
 
29325
      oprot.writeStructBegin(STRUCT_DESC);
-
 
29326
      oprot.writeFieldBegin(DND_STATUS_FIELD_DESC);
-
 
29327
      oprot.writeBool(this.dndStatus);
-
 
29328
      oprot.writeFieldEnd();
-
 
29329
      oprot.writeFieldBegin(SMS_SUBSCRIBED_FIELD_DESC);
-
 
29330
      oprot.writeBool(this.smsSubscribed);
-
 
29331
      oprot.writeFieldEnd();
-
 
29332
      oprot.writeFieldStop();
-
 
29333
      oprot.writeStructEnd();
-
 
29334
    }
-
 
29335
 
-
 
29336
    @Override
-
 
29337
    public String toString() {
-
 
29338
      StringBuilder sb = new StringBuilder("getAllUsersSmsInfo_args(");
-
 
29339
      boolean first = true;
-
 
29340
 
-
 
29341
      sb.append("dndStatus:");
-
 
29342
      sb.append(this.dndStatus);
-
 
29343
      first = false;
-
 
29344
      if (!first) sb.append(", ");
-
 
29345
      sb.append("smsSubscribed:");
-
 
29346
      sb.append(this.smsSubscribed);
-
 
29347
      first = false;
-
 
29348
      sb.append(")");
-
 
29349
      return sb.toString();
-
 
29350
    }
-
 
29351
 
-
 
29352
    public void validate() throws org.apache.thrift.TException {
-
 
29353
      // check for required fields
-
 
29354
    }
-
 
29355
 
-
 
29356
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
29357
      try {
-
 
29358
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
29359
      } catch (org.apache.thrift.TException te) {
-
 
29360
        throw new java.io.IOException(te);
-
 
29361
      }
-
 
29362
    }
-
 
29363
 
-
 
29364
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
29365
      try {
-
 
29366
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
29367
        __isset_bit_vector = new BitSet(1);
-
 
29368
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
29369
      } catch (org.apache.thrift.TException te) {
-
 
29370
        throw new java.io.IOException(te);
-
 
29371
      }
-
 
29372
    }
-
 
29373
 
-
 
29374
  }
-
 
29375
 
-
 
29376
  public static class getAllUsersSmsInfo_result implements org.apache.thrift.TBase<getAllUsersSmsInfo_result, getAllUsersSmsInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
29377
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllUsersSmsInfo_result");
-
 
29378
 
-
 
29379
    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);
-
 
29380
    private static final org.apache.thrift.protocol.TField SE_FIELD_DESC = new org.apache.thrift.protocol.TField("se", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
29381
 
-
 
29382
    private List<UserSmsInfo> success; // required
-
 
29383
    private HelperServiceException se; // required
-
 
29384
 
-
 
29385
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
29386
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
29387
      SUCCESS((short)0, "success"),
-
 
29388
      SE((short)1, "se");
-
 
29389
 
-
 
29390
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
29391
 
-
 
29392
      static {
-
 
29393
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
29394
          byName.put(field.getFieldName(), field);
-
 
29395
        }
-
 
29396
      }
-
 
29397
 
-
 
29398
      /**
-
 
29399
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
29400
       */
-
 
29401
      public static _Fields findByThriftId(int fieldId) {
-
 
29402
        switch(fieldId) {
-
 
29403
          case 0: // SUCCESS
-
 
29404
            return SUCCESS;
-
 
29405
          case 1: // SE
-
 
29406
            return SE;
-
 
29407
          default:
-
 
29408
            return null;
-
 
29409
        }
-
 
29410
      }
-
 
29411
 
-
 
29412
      /**
-
 
29413
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
29414
       * if it is not found.
-
 
29415
       */
-
 
29416
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
29417
        _Fields fields = findByThriftId(fieldId);
-
 
29418
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
29419
        return fields;
-
 
29420
      }
-
 
29421
 
-
 
29422
      /**
-
 
29423
       * Find the _Fields constant that matches name, or null if its not found.
-
 
29424
       */
-
 
29425
      public static _Fields findByName(String name) {
-
 
29426
        return byName.get(name);
-
 
29427
      }
-
 
29428
 
-
 
29429
      private final short _thriftId;
-
 
29430
      private final String _fieldName;
-
 
29431
 
-
 
29432
      _Fields(short thriftId, String fieldName) {
-
 
29433
        _thriftId = thriftId;
-
 
29434
        _fieldName = fieldName;
-
 
29435
      }
-
 
29436
 
-
 
29437
      public short getThriftFieldId() {
-
 
29438
        return _thriftId;
-
 
29439
      }
-
 
29440
 
-
 
29441
      public String getFieldName() {
-
 
29442
        return _fieldName;
-
 
29443
      }
-
 
29444
    }
-
 
29445
 
-
 
29446
    // isset id assignments
-
 
29447
 
-
 
29448
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
29449
    static {
-
 
29450
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
29451
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
29452
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
29453
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSmsInfo.class))));
-
 
29454
      tmpMap.put(_Fields.SE, new org.apache.thrift.meta_data.FieldMetaData("se", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
29455
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
29456
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
29457
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllUsersSmsInfo_result.class, metaDataMap);
-
 
29458
    }
-
 
29459
 
-
 
29460
    public getAllUsersSmsInfo_result() {
-
 
29461
    }
-
 
29462
 
-
 
29463
    public getAllUsersSmsInfo_result(
-
 
29464
      List<UserSmsInfo> success,
-
 
29465
      HelperServiceException se)
-
 
29466
    {
-
 
29467
      this();
-
 
29468
      this.success = success;
-
 
29469
      this.se = se;
-
 
29470
    }
-
 
29471
 
-
 
29472
    /**
-
 
29473
     * Performs a deep copy on <i>other</i>.
-
 
29474
     */
-
 
29475
    public getAllUsersSmsInfo_result(getAllUsersSmsInfo_result other) {
-
 
29476
      if (other.isSetSuccess()) {
-
 
29477
        List<UserSmsInfo> __this__success = new ArrayList<UserSmsInfo>();
-
 
29478
        for (UserSmsInfo other_element : other.success) {
-
 
29479
          __this__success.add(new UserSmsInfo(other_element));
-
 
29480
        }
-
 
29481
        this.success = __this__success;
-
 
29482
      }
-
 
29483
      if (other.isSetSe()) {
-
 
29484
        this.se = new HelperServiceException(other.se);
-
 
29485
      }
-
 
29486
    }
-
 
29487
 
-
 
29488
    public getAllUsersSmsInfo_result deepCopy() {
-
 
29489
      return new getAllUsersSmsInfo_result(this);
-
 
29490
    }
-
 
29491
 
-
 
29492
    @Override
-
 
29493
    public void clear() {
-
 
29494
      this.success = null;
-
 
29495
      this.se = null;
-
 
29496
    }
-
 
29497
 
-
 
29498
    public int getSuccessSize() {
-
 
29499
      return (this.success == null) ? 0 : this.success.size();
-
 
29500
    }
-
 
29501
 
-
 
29502
    public java.util.Iterator<UserSmsInfo> getSuccessIterator() {
-
 
29503
      return (this.success == null) ? null : this.success.iterator();
-
 
29504
    }
-
 
29505
 
-
 
29506
    public void addToSuccess(UserSmsInfo elem) {
-
 
29507
      if (this.success == null) {
-
 
29508
        this.success = new ArrayList<UserSmsInfo>();
-
 
29509
      }
-
 
29510
      this.success.add(elem);
-
 
29511
    }
-
 
29512
 
-
 
29513
    public List<UserSmsInfo> getSuccess() {
-
 
29514
      return this.success;
-
 
29515
    }
-
 
29516
 
-
 
29517
    public void setSuccess(List<UserSmsInfo> success) {
-
 
29518
      this.success = success;
-
 
29519
    }
-
 
29520
 
-
 
29521
    public void unsetSuccess() {
-
 
29522
      this.success = null;
-
 
29523
    }
-
 
29524
 
-
 
29525
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
29526
    public boolean isSetSuccess() {
-
 
29527
      return this.success != null;
-
 
29528
    }
-
 
29529
 
-
 
29530
    public void setSuccessIsSet(boolean value) {
-
 
29531
      if (!value) {
-
 
29532
        this.success = null;
-
 
29533
      }
-
 
29534
    }
-
 
29535
 
-
 
29536
    public HelperServiceException getSe() {
-
 
29537
      return this.se;
-
 
29538
    }
-
 
29539
 
-
 
29540
    public void setSe(HelperServiceException se) {
-
 
29541
      this.se = se;
-
 
29542
    }
-
 
29543
 
-
 
29544
    public void unsetSe() {
-
 
29545
      this.se = null;
-
 
29546
    }
-
 
29547
 
-
 
29548
    /** Returns true if field se is set (has been assigned a value) and false otherwise */
-
 
29549
    public boolean isSetSe() {
-
 
29550
      return this.se != null;
-
 
29551
    }
-
 
29552
 
-
 
29553
    public void setSeIsSet(boolean value) {
-
 
29554
      if (!value) {
-
 
29555
        this.se = null;
-
 
29556
      }
-
 
29557
    }
-
 
29558
 
-
 
29559
    public void setFieldValue(_Fields field, Object value) {
-
 
29560
      switch (field) {
-
 
29561
      case SUCCESS:
-
 
29562
        if (value == null) {
-
 
29563
          unsetSuccess();
-
 
29564
        } else {
-
 
29565
          setSuccess((List<UserSmsInfo>)value);
-
 
29566
        }
-
 
29567
        break;
-
 
29568
 
-
 
29569
      case SE:
-
 
29570
        if (value == null) {
-
 
29571
          unsetSe();
-
 
29572
        } else {
-
 
29573
          setSe((HelperServiceException)value);
-
 
29574
        }
-
 
29575
        break;
-
 
29576
 
-
 
29577
      }
-
 
29578
    }
-
 
29579
 
-
 
29580
    public Object getFieldValue(_Fields field) {
-
 
29581
      switch (field) {
-
 
29582
      case SUCCESS:
-
 
29583
        return getSuccess();
-
 
29584
 
-
 
29585
      case SE:
-
 
29586
        return getSe();
-
 
29587
 
-
 
29588
      }
-
 
29589
      throw new IllegalStateException();
-
 
29590
    }
-
 
29591
 
-
 
29592
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
29593
    public boolean isSet(_Fields field) {
-
 
29594
      if (field == null) {
-
 
29595
        throw new IllegalArgumentException();
-
 
29596
      }
-
 
29597
 
-
 
29598
      switch (field) {
-
 
29599
      case SUCCESS:
-
 
29600
        return isSetSuccess();
-
 
29601
      case SE:
-
 
29602
        return isSetSe();
-
 
29603
      }
-
 
29604
      throw new IllegalStateException();
-
 
29605
    }
-
 
29606
 
-
 
29607
    @Override
-
 
29608
    public boolean equals(Object that) {
-
 
29609
      if (that == null)
-
 
29610
        return false;
-
 
29611
      if (that instanceof getAllUsersSmsInfo_result)
-
 
29612
        return this.equals((getAllUsersSmsInfo_result)that);
-
 
29613
      return false;
-
 
29614
    }
-
 
29615
 
-
 
29616
    public boolean equals(getAllUsersSmsInfo_result that) {
-
 
29617
      if (that == null)
-
 
29618
        return false;
-
 
29619
 
-
 
29620
      boolean this_present_success = true && this.isSetSuccess();
-
 
29621
      boolean that_present_success = true && that.isSetSuccess();
-
 
29622
      if (this_present_success || that_present_success) {
-
 
29623
        if (!(this_present_success && that_present_success))
-
 
29624
          return false;
-
 
29625
        if (!this.success.equals(that.success))
-
 
29626
          return false;
-
 
29627
      }
-
 
29628
 
-
 
29629
      boolean this_present_se = true && this.isSetSe();
-
 
29630
      boolean that_present_se = true && that.isSetSe();
-
 
29631
      if (this_present_se || that_present_se) {
-
 
29632
        if (!(this_present_se && that_present_se))
-
 
29633
          return false;
-
 
29634
        if (!this.se.equals(that.se))
-
 
29635
          return false;
-
 
29636
      }
-
 
29637
 
-
 
29638
      return true;
-
 
29639
    }
-
 
29640
 
-
 
29641
    @Override
-
 
29642
    public int hashCode() {
-
 
29643
      return 0;
-
 
29644
    }
-
 
29645
 
-
 
29646
    public int compareTo(getAllUsersSmsInfo_result other) {
-
 
29647
      if (!getClass().equals(other.getClass())) {
-
 
29648
        return getClass().getName().compareTo(other.getClass().getName());
-
 
29649
      }
-
 
29650
 
-
 
29651
      int lastComparison = 0;
-
 
29652
      getAllUsersSmsInfo_result typedOther = (getAllUsersSmsInfo_result)other;
-
 
29653
 
-
 
29654
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
29655
      if (lastComparison != 0) {
-
 
29656
        return lastComparison;
-
 
29657
      }
-
 
29658
      if (isSetSuccess()) {
-
 
29659
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
29660
        if (lastComparison != 0) {
-
 
29661
          return lastComparison;
-
 
29662
        }
-
 
29663
      }
-
 
29664
      lastComparison = Boolean.valueOf(isSetSe()).compareTo(typedOther.isSetSe());
-
 
29665
      if (lastComparison != 0) {
-
 
29666
        return lastComparison;
-
 
29667
      }
-
 
29668
      if (isSetSe()) {
-
 
29669
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.se, typedOther.se);
-
 
29670
        if (lastComparison != 0) {
-
 
29671
          return lastComparison;
-
 
29672
        }
-
 
29673
      }
-
 
29674
      return 0;
-
 
29675
    }
-
 
29676
 
-
 
29677
    public _Fields fieldForId(int fieldId) {
-
 
29678
      return _Fields.findByThriftId(fieldId);
-
 
29679
    }
-
 
29680
 
-
 
29681
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
29682
      org.apache.thrift.protocol.TField field;
-
 
29683
      iprot.readStructBegin();
-
 
29684
      while (true)
-
 
29685
      {
-
 
29686
        field = iprot.readFieldBegin();
-
 
29687
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
29688
          break;
-
 
29689
        }
-
 
29690
        switch (field.id) {
-
 
29691
          case 0: // SUCCESS
-
 
29692
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
29693
              {
-
 
29694
                org.apache.thrift.protocol.TList _list77 = iprot.readListBegin();
-
 
29695
                this.success = new ArrayList<UserSmsInfo>(_list77.size);
-
 
29696
                for (int _i78 = 0; _i78 < _list77.size; ++_i78)
-
 
29697
                {
-
 
29698
                  UserSmsInfo _elem79; // required
-
 
29699
                  _elem79 = new UserSmsInfo();
-
 
29700
                  _elem79.read(iprot);
-
 
29701
                  this.success.add(_elem79);
-
 
29702
                }
-
 
29703
                iprot.readListEnd();
-
 
29704
              }
-
 
29705
            } else { 
-
 
29706
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29707
            }
-
 
29708
            break;
-
 
29709
          case 1: // SE
-
 
29710
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
29711
              this.se = new HelperServiceException();
-
 
29712
              this.se.read(iprot);
-
 
29713
            } else { 
-
 
29714
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29715
            }
-
 
29716
            break;
-
 
29717
          default:
-
 
29718
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29719
        }
-
 
29720
        iprot.readFieldEnd();
-
 
29721
      }
-
 
29722
      iprot.readStructEnd();
-
 
29723
      validate();
-
 
29724
    }
-
 
29725
 
-
 
29726
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
29727
      oprot.writeStructBegin(STRUCT_DESC);
-
 
29728
 
-
 
29729
      if (this.isSetSuccess()) {
-
 
29730
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
29731
        {
-
 
29732
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
29733
          for (UserSmsInfo _iter80 : this.success)
-
 
29734
          {
-
 
29735
            _iter80.write(oprot);
-
 
29736
          }
-
 
29737
          oprot.writeListEnd();
-
 
29738
        }
-
 
29739
        oprot.writeFieldEnd();
-
 
29740
      } else if (this.isSetSe()) {
-
 
29741
        oprot.writeFieldBegin(SE_FIELD_DESC);
-
 
29742
        this.se.write(oprot);
-
 
29743
        oprot.writeFieldEnd();
-
 
29744
      }
-
 
29745
      oprot.writeFieldStop();
-
 
29746
      oprot.writeStructEnd();
-
 
29747
    }
-
 
29748
 
-
 
29749
    @Override
-
 
29750
    public String toString() {
-
 
29751
      StringBuilder sb = new StringBuilder("getAllUsersSmsInfo_result(");
-
 
29752
      boolean first = true;
-
 
29753
 
-
 
29754
      sb.append("success:");
-
 
29755
      if (this.success == null) {
-
 
29756
        sb.append("null");
-
 
29757
      } else {
-
 
29758
        sb.append(this.success);
-
 
29759
      }
-
 
29760
      first = false;
-
 
29761
      if (!first) sb.append(", ");
-
 
29762
      sb.append("se:");
-
 
29763
      if (this.se == null) {
-
 
29764
        sb.append("null");
-
 
29765
      } else {
-
 
29766
        sb.append(this.se);
-
 
29767
      }
-
 
29768
      first = false;
-
 
29769
      sb.append(")");
-
 
29770
      return sb.toString();
-
 
29771
    }
-
 
29772
 
-
 
29773
    public void validate() throws org.apache.thrift.TException {
-
 
29774
      // check for required fields
-
 
29775
    }
-
 
29776
 
-
 
29777
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
29778
      try {
-
 
29779
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
29780
      } catch (org.apache.thrift.TException te) {
-
 
29781
        throw new java.io.IOException(te);
-
 
29782
      }
-
 
29783
    }
-
 
29784
 
-
 
29785
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
29786
      try {
-
 
29787
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
29788
      } catch (org.apache.thrift.TException te) {
-
 
29789
        throw new java.io.IOException(te);
-
 
29790
      }
-
 
29791
    }
-
 
29792
 
-
 
29793
  }
-
 
29794
 
-
 
29795
  public static class listSmsToGetDeliveryInfo_args implements org.apache.thrift.TBase<listSmsToGetDeliveryInfo_args, listSmsToGetDeliveryInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
29796
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("listSmsToGetDeliveryInfo_args");
-
 
29797
 
-
 
29798
 
-
 
29799
 
-
 
29800
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
29801
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
29802
;
-
 
29803
 
-
 
29804
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
29805
 
-
 
29806
      static {
-
 
29807
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
29808
          byName.put(field.getFieldName(), field);
-
 
29809
        }
-
 
29810
      }
-
 
29811
 
-
 
29812
      /**
-
 
29813
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
29814
       */
-
 
29815
      public static _Fields findByThriftId(int fieldId) {
-
 
29816
        switch(fieldId) {
-
 
29817
          default:
-
 
29818
            return null;
-
 
29819
        }
-
 
29820
      }
-
 
29821
 
-
 
29822
      /**
-
 
29823
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
29824
       * if it is not found.
-
 
29825
       */
-
 
29826
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
29827
        _Fields fields = findByThriftId(fieldId);
-
 
29828
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
29829
        return fields;
-
 
29830
      }
-
 
29831
 
-
 
29832
      /**
-
 
29833
       * Find the _Fields constant that matches name, or null if its not found.
-
 
29834
       */
-
 
29835
      public static _Fields findByName(String name) {
-
 
29836
        return byName.get(name);
-
 
29837
      }
-
 
29838
 
-
 
29839
      private final short _thriftId;
-
 
29840
      private final String _fieldName;
-
 
29841
 
-
 
29842
      _Fields(short thriftId, String fieldName) {
-
 
29843
        _thriftId = thriftId;
-
 
29844
        _fieldName = fieldName;
-
 
29845
      }
-
 
29846
 
-
 
29847
      public short getThriftFieldId() {
-
 
29848
        return _thriftId;
-
 
29849
      }
-
 
29850
 
-
 
29851
      public String getFieldName() {
-
 
29852
        return _fieldName;
-
 
29853
      }
-
 
29854
    }
-
 
29855
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
29856
    static {
-
 
29857
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
29858
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
29859
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listSmsToGetDeliveryInfo_args.class, metaDataMap);
-
 
29860
    }
-
 
29861
 
-
 
29862
    public listSmsToGetDeliveryInfo_args() {
-
 
29863
    }
-
 
29864
 
-
 
29865
    /**
-
 
29866
     * Performs a deep copy on <i>other</i>.
-
 
29867
     */
-
 
29868
    public listSmsToGetDeliveryInfo_args(listSmsToGetDeliveryInfo_args other) {
-
 
29869
    }
-
 
29870
 
-
 
29871
    public listSmsToGetDeliveryInfo_args deepCopy() {
-
 
29872
      return new listSmsToGetDeliveryInfo_args(this);
-
 
29873
    }
-
 
29874
 
-
 
29875
    @Override
-
 
29876
    public void clear() {
-
 
29877
    }
-
 
29878
 
-
 
29879
    public void setFieldValue(_Fields field, Object value) {
-
 
29880
      switch (field) {
-
 
29881
      }
-
 
29882
    }
-
 
29883
 
-
 
29884
    public Object getFieldValue(_Fields field) {
-
 
29885
      switch (field) {
-
 
29886
      }
-
 
29887
      throw new IllegalStateException();
-
 
29888
    }
-
 
29889
 
-
 
29890
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
29891
    public boolean isSet(_Fields field) {
-
 
29892
      if (field == null) {
-
 
29893
        throw new IllegalArgumentException();
-
 
29894
      }
-
 
29895
 
-
 
29896
      switch (field) {
-
 
29897
      }
-
 
29898
      throw new IllegalStateException();
-
 
29899
    }
-
 
29900
 
-
 
29901
    @Override
-
 
29902
    public boolean equals(Object that) {
-
 
29903
      if (that == null)
-
 
29904
        return false;
-
 
29905
      if (that instanceof listSmsToGetDeliveryInfo_args)
-
 
29906
        return this.equals((listSmsToGetDeliveryInfo_args)that);
-
 
29907
      return false;
-
 
29908
    }
-
 
29909
 
-
 
29910
    public boolean equals(listSmsToGetDeliveryInfo_args that) {
-
 
29911
      if (that == null)
-
 
29912
        return false;
-
 
29913
 
-
 
29914
      return true;
-
 
29915
    }
-
 
29916
 
-
 
29917
    @Override
-
 
29918
    public int hashCode() {
-
 
29919
      return 0;
-
 
29920
    }
-
 
29921
 
-
 
29922
    public int compareTo(listSmsToGetDeliveryInfo_args other) {
-
 
29923
      if (!getClass().equals(other.getClass())) {
-
 
29924
        return getClass().getName().compareTo(other.getClass().getName());
-
 
29925
      }
-
 
29926
 
-
 
29927
      int lastComparison = 0;
-
 
29928
      listSmsToGetDeliveryInfo_args typedOther = (listSmsToGetDeliveryInfo_args)other;
-
 
29929
 
-
 
29930
      return 0;
-
 
29931
    }
-
 
29932
 
-
 
29933
    public _Fields fieldForId(int fieldId) {
-
 
29934
      return _Fields.findByThriftId(fieldId);
-
 
29935
    }
-
 
29936
 
-
 
29937
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
29938
      org.apache.thrift.protocol.TField field;
-
 
29939
      iprot.readStructBegin();
-
 
29940
      while (true)
-
 
29941
      {
-
 
29942
        field = iprot.readFieldBegin();
-
 
29943
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
29944
          break;
-
 
29945
        }
-
 
29946
        switch (field.id) {
-
 
29947
          default:
-
 
29948
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29949
        }
-
 
29950
        iprot.readFieldEnd();
-
 
29951
      }
-
 
29952
      iprot.readStructEnd();
-
 
29953
      validate();
-
 
29954
    }
-
 
29955
 
-
 
29956
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
29957
      validate();
-
 
29958
 
-
 
29959
      oprot.writeStructBegin(STRUCT_DESC);
-
 
29960
      oprot.writeFieldStop();
-
 
29961
      oprot.writeStructEnd();
-
 
29962
    }
-
 
29963
 
-
 
29964
    @Override
-
 
29965
    public String toString() {
-
 
29966
      StringBuilder sb = new StringBuilder("listSmsToGetDeliveryInfo_args(");
-
 
29967
      boolean first = true;
-
 
29968
 
-
 
29969
      sb.append(")");
-
 
29970
      return sb.toString();
-
 
29971
    }
-
 
29972
 
-
 
29973
    public void validate() throws org.apache.thrift.TException {
-
 
29974
      // check for required fields
-
 
29975
    }
-
 
29976
 
-
 
29977
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
29978
      try {
-
 
29979
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
29980
      } catch (org.apache.thrift.TException te) {
-
 
29981
        throw new java.io.IOException(te);
-
 
29982
      }
-
 
29983
    }
-
 
29984
 
-
 
29985
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
29986
      try {
-
 
29987
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
29988
      } catch (org.apache.thrift.TException te) {
-
 
29989
        throw new java.io.IOException(te);
-
 
29990
      }
-
 
29991
    }
-
 
29992
 
-
 
29993
  }
-
 
29994
 
-
 
29995
  public static class listSmsToGetDeliveryInfo_result implements org.apache.thrift.TBase<listSmsToGetDeliveryInfo_result, listSmsToGetDeliveryInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
29996
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("listSmsToGetDeliveryInfo_result");
-
 
29997
 
-
 
29998
    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);
-
 
29999
    private static final org.apache.thrift.protocol.TField SE_FIELD_DESC = new org.apache.thrift.protocol.TField("se", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
30000
 
-
 
30001
    private List<UserSms> success; // required
-
 
30002
    private HelperServiceException se; // required
-
 
30003
 
-
 
30004
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30005
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30006
      SUCCESS((short)0, "success"),
-
 
30007
      SE((short)1, "se");
-
 
30008
 
-
 
30009
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30010
 
-
 
30011
      static {
-
 
30012
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30013
          byName.put(field.getFieldName(), field);
-
 
30014
        }
-
 
30015
      }
-
 
30016
 
-
 
30017
      /**
-
 
30018
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30019
       */
-
 
30020
      public static _Fields findByThriftId(int fieldId) {
-
 
30021
        switch(fieldId) {
-
 
30022
          case 0: // SUCCESS
-
 
30023
            return SUCCESS;
-
 
30024
          case 1: // SE
-
 
30025
            return SE;
-
 
30026
          default:
-
 
30027
            return null;
-
 
30028
        }
-
 
30029
      }
-
 
30030
 
-
 
30031
      /**
-
 
30032
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30033
       * if it is not found.
-
 
30034
       */
-
 
30035
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30036
        _Fields fields = findByThriftId(fieldId);
-
 
30037
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30038
        return fields;
-
 
30039
      }
-
 
30040
 
-
 
30041
      /**
-
 
30042
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30043
       */
-
 
30044
      public static _Fields findByName(String name) {
-
 
30045
        return byName.get(name);
-
 
30046
      }
-
 
30047
 
-
 
30048
      private final short _thriftId;
-
 
30049
      private final String _fieldName;
-
 
30050
 
-
 
30051
      _Fields(short thriftId, String fieldName) {
-
 
30052
        _thriftId = thriftId;
-
 
30053
        _fieldName = fieldName;
-
 
30054
      }
-
 
30055
 
-
 
30056
      public short getThriftFieldId() {
-
 
30057
        return _thriftId;
-
 
30058
      }
-
 
30059
 
-
 
30060
      public String getFieldName() {
-
 
30061
        return _fieldName;
-
 
30062
      }
-
 
30063
    }
-
 
30064
 
-
 
30065
    // isset id assignments
-
 
30066
 
-
 
30067
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30068
    static {
-
 
30069
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30070
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30071
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
30072
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSms.class))));
-
 
30073
      tmpMap.put(_Fields.SE, new org.apache.thrift.meta_data.FieldMetaData("se", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30074
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
30075
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30076
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listSmsToGetDeliveryInfo_result.class, metaDataMap);
-
 
30077
    }
-
 
30078
 
-
 
30079
    public listSmsToGetDeliveryInfo_result() {
-
 
30080
    }
-
 
30081
 
-
 
30082
    public listSmsToGetDeliveryInfo_result(
-
 
30083
      List<UserSms> success,
-
 
30084
      HelperServiceException se)
-
 
30085
    {
-
 
30086
      this();
-
 
30087
      this.success = success;
-
 
30088
      this.se = se;
-
 
30089
    }
-
 
30090
 
-
 
30091
    /**
-
 
30092
     * Performs a deep copy on <i>other</i>.
-
 
30093
     */
-
 
30094
    public listSmsToGetDeliveryInfo_result(listSmsToGetDeliveryInfo_result other) {
-
 
30095
      if (other.isSetSuccess()) {
-
 
30096
        List<UserSms> __this__success = new ArrayList<UserSms>();
-
 
30097
        for (UserSms other_element : other.success) {
-
 
30098
          __this__success.add(new UserSms(other_element));
-
 
30099
        }
-
 
30100
        this.success = __this__success;
-
 
30101
      }
-
 
30102
      if (other.isSetSe()) {
-
 
30103
        this.se = new HelperServiceException(other.se);
-
 
30104
      }
-
 
30105
    }
-
 
30106
 
-
 
30107
    public listSmsToGetDeliveryInfo_result deepCopy() {
-
 
30108
      return new listSmsToGetDeliveryInfo_result(this);
-
 
30109
    }
-
 
30110
 
-
 
30111
    @Override
-
 
30112
    public void clear() {
-
 
30113
      this.success = null;
-
 
30114
      this.se = null;
-
 
30115
    }
-
 
30116
 
-
 
30117
    public int getSuccessSize() {
-
 
30118
      return (this.success == null) ? 0 : this.success.size();
-
 
30119
    }
-
 
30120
 
-
 
30121
    public java.util.Iterator<UserSms> getSuccessIterator() {
-
 
30122
      return (this.success == null) ? null : this.success.iterator();
-
 
30123
    }
-
 
30124
 
-
 
30125
    public void addToSuccess(UserSms elem) {
-
 
30126
      if (this.success == null) {
-
 
30127
        this.success = new ArrayList<UserSms>();
-
 
30128
      }
-
 
30129
      this.success.add(elem);
-
 
30130
    }
-
 
30131
 
-
 
30132
    public List<UserSms> getSuccess() {
-
 
30133
      return this.success;
-
 
30134
    }
-
 
30135
 
-
 
30136
    public void setSuccess(List<UserSms> success) {
-
 
30137
      this.success = success;
-
 
30138
    }
-
 
30139
 
-
 
30140
    public void unsetSuccess() {
-
 
30141
      this.success = null;
-
 
30142
    }
-
 
30143
 
-
 
30144
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
30145
    public boolean isSetSuccess() {
-
 
30146
      return this.success != null;
-
 
30147
    }
-
 
30148
 
-
 
30149
    public void setSuccessIsSet(boolean value) {
-
 
30150
      if (!value) {
-
 
30151
        this.success = null;
-
 
30152
      }
-
 
30153
    }
-
 
30154
 
-
 
30155
    public HelperServiceException getSe() {
-
 
30156
      return this.se;
-
 
30157
    }
-
 
30158
 
-
 
30159
    public void setSe(HelperServiceException se) {
-
 
30160
      this.se = se;
-
 
30161
    }
-
 
30162
 
-
 
30163
    public void unsetSe() {
-
 
30164
      this.se = null;
-
 
30165
    }
-
 
30166
 
-
 
30167
    /** Returns true if field se is set (has been assigned a value) and false otherwise */
-
 
30168
    public boolean isSetSe() {
-
 
30169
      return this.se != null;
-
 
30170
    }
-
 
30171
 
-
 
30172
    public void setSeIsSet(boolean value) {
-
 
30173
      if (!value) {
-
 
30174
        this.se = null;
-
 
30175
      }
-
 
30176
    }
-
 
30177
 
-
 
30178
    public void setFieldValue(_Fields field, Object value) {
-
 
30179
      switch (field) {
-
 
30180
      case SUCCESS:
-
 
30181
        if (value == null) {
-
 
30182
          unsetSuccess();
-
 
30183
        } else {
-
 
30184
          setSuccess((List<UserSms>)value);
-
 
30185
        }
-
 
30186
        break;
-
 
30187
 
-
 
30188
      case SE:
-
 
30189
        if (value == null) {
-
 
30190
          unsetSe();
-
 
30191
        } else {
-
 
30192
          setSe((HelperServiceException)value);
-
 
30193
        }
-
 
30194
        break;
-
 
30195
 
-
 
30196
      }
-
 
30197
    }
-
 
30198
 
-
 
30199
    public Object getFieldValue(_Fields field) {
-
 
30200
      switch (field) {
-
 
30201
      case SUCCESS:
-
 
30202
        return getSuccess();
-
 
30203
 
-
 
30204
      case SE:
-
 
30205
        return getSe();
-
 
30206
 
-
 
30207
      }
-
 
30208
      throw new IllegalStateException();
-
 
30209
    }
-
 
30210
 
-
 
30211
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30212
    public boolean isSet(_Fields field) {
-
 
30213
      if (field == null) {
-
 
30214
        throw new IllegalArgumentException();
-
 
30215
      }
-
 
30216
 
-
 
30217
      switch (field) {
-
 
30218
      case SUCCESS:
-
 
30219
        return isSetSuccess();
-
 
30220
      case SE:
-
 
30221
        return isSetSe();
-
 
30222
      }
-
 
30223
      throw new IllegalStateException();
-
 
30224
    }
-
 
30225
 
-
 
30226
    @Override
-
 
30227
    public boolean equals(Object that) {
-
 
30228
      if (that == null)
-
 
30229
        return false;
-
 
30230
      if (that instanceof listSmsToGetDeliveryInfo_result)
-
 
30231
        return this.equals((listSmsToGetDeliveryInfo_result)that);
-
 
30232
      return false;
-
 
30233
    }
-
 
30234
 
-
 
30235
    public boolean equals(listSmsToGetDeliveryInfo_result that) {
-
 
30236
      if (that == null)
-
 
30237
        return false;
-
 
30238
 
-
 
30239
      boolean this_present_success = true && this.isSetSuccess();
-
 
30240
      boolean that_present_success = true && that.isSetSuccess();
-
 
30241
      if (this_present_success || that_present_success) {
-
 
30242
        if (!(this_present_success && that_present_success))
-
 
30243
          return false;
-
 
30244
        if (!this.success.equals(that.success))
-
 
30245
          return false;
-
 
30246
      }
-
 
30247
 
-
 
30248
      boolean this_present_se = true && this.isSetSe();
-
 
30249
      boolean that_present_se = true && that.isSetSe();
-
 
30250
      if (this_present_se || that_present_se) {
-
 
30251
        if (!(this_present_se && that_present_se))
-
 
30252
          return false;
-
 
30253
        if (!this.se.equals(that.se))
-
 
30254
          return false;
-
 
30255
      }
-
 
30256
 
-
 
30257
      return true;
-
 
30258
    }
-
 
30259
 
-
 
30260
    @Override
-
 
30261
    public int hashCode() {
-
 
30262
      return 0;
-
 
30263
    }
-
 
30264
 
-
 
30265
    public int compareTo(listSmsToGetDeliveryInfo_result other) {
-
 
30266
      if (!getClass().equals(other.getClass())) {
-
 
30267
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30268
      }
-
 
30269
 
-
 
30270
      int lastComparison = 0;
-
 
30271
      listSmsToGetDeliveryInfo_result typedOther = (listSmsToGetDeliveryInfo_result)other;
-
 
30272
 
-
 
30273
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
30274
      if (lastComparison != 0) {
-
 
30275
        return lastComparison;
-
 
30276
      }
-
 
30277
      if (isSetSuccess()) {
-
 
30278
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
30279
        if (lastComparison != 0) {
-
 
30280
          return lastComparison;
-
 
30281
        }
-
 
30282
      }
-
 
30283
      lastComparison = Boolean.valueOf(isSetSe()).compareTo(typedOther.isSetSe());
-
 
30284
      if (lastComparison != 0) {
-
 
30285
        return lastComparison;
-
 
30286
      }
-
 
30287
      if (isSetSe()) {
-
 
30288
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.se, typedOther.se);
-
 
30289
        if (lastComparison != 0) {
-
 
30290
          return lastComparison;
-
 
30291
        }
-
 
30292
      }
-
 
30293
      return 0;
-
 
30294
    }
-
 
30295
 
-
 
30296
    public _Fields fieldForId(int fieldId) {
-
 
30297
      return _Fields.findByThriftId(fieldId);
-
 
30298
    }
-
 
30299
 
-
 
30300
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30301
      org.apache.thrift.protocol.TField field;
-
 
30302
      iprot.readStructBegin();
-
 
30303
      while (true)
-
 
30304
      {
-
 
30305
        field = iprot.readFieldBegin();
-
 
30306
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30307
          break;
-
 
30308
        }
-
 
30309
        switch (field.id) {
-
 
30310
          case 0: // SUCCESS
-
 
30311
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
30312
              {
-
 
30313
                org.apache.thrift.protocol.TList _list81 = iprot.readListBegin();
-
 
30314
                this.success = new ArrayList<UserSms>(_list81.size);
-
 
30315
                for (int _i82 = 0; _i82 < _list81.size; ++_i82)
-
 
30316
                {
-
 
30317
                  UserSms _elem83; // required
-
 
30318
                  _elem83 = new UserSms();
-
 
30319
                  _elem83.read(iprot);
-
 
30320
                  this.success.add(_elem83);
-
 
30321
                }
-
 
30322
                iprot.readListEnd();
-
 
30323
              }
-
 
30324
            } else { 
-
 
30325
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30326
            }
-
 
30327
            break;
-
 
30328
          case 1: // SE
-
 
30329
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
30330
              this.se = new HelperServiceException();
-
 
30331
              this.se.read(iprot);
-
 
30332
            } else { 
-
 
30333
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30334
            }
-
 
30335
            break;
-
 
30336
          default:
-
 
30337
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30338
        }
-
 
30339
        iprot.readFieldEnd();
-
 
30340
      }
-
 
30341
      iprot.readStructEnd();
-
 
30342
      validate();
-
 
30343
    }
-
 
30344
 
-
 
30345
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30346
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30347
 
-
 
30348
      if (this.isSetSuccess()) {
-
 
30349
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
30350
        {
-
 
30351
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
30352
          for (UserSms _iter84 : this.success)
-
 
30353
          {
-
 
30354
            _iter84.write(oprot);
-
 
30355
          }
-
 
30356
          oprot.writeListEnd();
-
 
30357
        }
-
 
30358
        oprot.writeFieldEnd();
-
 
30359
      } else if (this.isSetSe()) {
-
 
30360
        oprot.writeFieldBegin(SE_FIELD_DESC);
-
 
30361
        this.se.write(oprot);
-
 
30362
        oprot.writeFieldEnd();
-
 
30363
      }
-
 
30364
      oprot.writeFieldStop();
-
 
30365
      oprot.writeStructEnd();
-
 
30366
    }
-
 
30367
 
-
 
30368
    @Override
-
 
30369
    public String toString() {
-
 
30370
      StringBuilder sb = new StringBuilder("listSmsToGetDeliveryInfo_result(");
-
 
30371
      boolean first = true;
-
 
30372
 
-
 
30373
      sb.append("success:");
-
 
30374
      if (this.success == null) {
-
 
30375
        sb.append("null");
-
 
30376
      } else {
-
 
30377
        sb.append(this.success);
-
 
30378
      }
-
 
30379
      first = false;
-
 
30380
      if (!first) sb.append(", ");
-
 
30381
      sb.append("se:");
-
 
30382
      if (this.se == null) {
-
 
30383
        sb.append("null");
-
 
30384
      } else {
-
 
30385
        sb.append(this.se);
-
 
30386
      }
-
 
30387
      first = false;
-
 
30388
      sb.append(")");
-
 
30389
      return sb.toString();
-
 
30390
    }
-
 
30391
 
-
 
30392
    public void validate() throws org.apache.thrift.TException {
-
 
30393
      // check for required fields
-
 
30394
    }
-
 
30395
 
-
 
30396
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30397
      try {
-
 
30398
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30399
      } catch (org.apache.thrift.TException te) {
-
 
30400
        throw new java.io.IOException(te);
-
 
30401
      }
-
 
30402
    }
-
 
30403
 
-
 
30404
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30405
      try {
-
 
30406
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30407
      } catch (org.apache.thrift.TException te) {
-
 
30408
        throw new java.io.IOException(te);
-
 
30409
      }
-
 
30410
    }
-
 
30411
 
-
 
30412
  }
-
 
30413
 
-
 
30414
  public static class markMessagesAsSentToOperator_args implements org.apache.thrift.TBase<markMessagesAsSentToOperator_args, markMessagesAsSentToOperator_args._Fields>, java.io.Serializable, Cloneable   {
-
 
30415
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsSentToOperator_args");
-
 
30416
 
-
 
30417
    private static final org.apache.thrift.protocol.TField USER_SMS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("userSmsList", org.apache.thrift.protocol.TType.LIST, (short)-1);
-
 
30418
 
-
 
30419
    private List<UserSms> userSmsList; // required
-
 
30420
 
-
 
30421
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30422
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30423
      USER_SMS_LIST((short)-1, "userSmsList");
-
 
30424
 
-
 
30425
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30426
 
-
 
30427
      static {
-
 
30428
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30429
          byName.put(field.getFieldName(), field);
-
 
30430
        }
-
 
30431
      }
-
 
30432
 
-
 
30433
      /**
-
 
30434
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30435
       */
-
 
30436
      public static _Fields findByThriftId(int fieldId) {
-
 
30437
        switch(fieldId) {
-
 
30438
          case -1: // USER_SMS_LIST
-
 
30439
            return USER_SMS_LIST;
-
 
30440
          default:
-
 
30441
            return null;
-
 
30442
        }
-
 
30443
      }
-
 
30444
 
-
 
30445
      /**
-
 
30446
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30447
       * if it is not found.
-
 
30448
       */
-
 
30449
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30450
        _Fields fields = findByThriftId(fieldId);
-
 
30451
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30452
        return fields;
-
 
30453
      }
-
 
30454
 
-
 
30455
      /**
-
 
30456
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30457
       */
-
 
30458
      public static _Fields findByName(String name) {
-
 
30459
        return byName.get(name);
-
 
30460
      }
-
 
30461
 
-
 
30462
      private final short _thriftId;
-
 
30463
      private final String _fieldName;
-
 
30464
 
-
 
30465
      _Fields(short thriftId, String fieldName) {
-
 
30466
        _thriftId = thriftId;
-
 
30467
        _fieldName = fieldName;
-
 
30468
      }
-
 
30469
 
-
 
30470
      public short getThriftFieldId() {
-
 
30471
        return _thriftId;
-
 
30472
      }
-
 
30473
 
-
 
30474
      public String getFieldName() {
-
 
30475
        return _fieldName;
-
 
30476
      }
-
 
30477
    }
-
 
30478
 
-
 
30479
    // isset id assignments
-
 
30480
 
-
 
30481
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30482
    static {
-
 
30483
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30484
      tmpMap.put(_Fields.USER_SMS_LIST, new org.apache.thrift.meta_data.FieldMetaData("userSmsList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30485
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
30486
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSms.class))));
-
 
30487
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30488
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsSentToOperator_args.class, metaDataMap);
-
 
30489
    }
-
 
30490
 
-
 
30491
    public markMessagesAsSentToOperator_args() {
-
 
30492
    }
-
 
30493
 
-
 
30494
    public markMessagesAsSentToOperator_args(
-
 
30495
      List<UserSms> userSmsList)
-
 
30496
    {
-
 
30497
      this();
-
 
30498
      this.userSmsList = userSmsList;
-
 
30499
    }
-
 
30500
 
-
 
30501
    /**
-
 
30502
     * Performs a deep copy on <i>other</i>.
-
 
30503
     */
-
 
30504
    public markMessagesAsSentToOperator_args(markMessagesAsSentToOperator_args other) {
-
 
30505
      if (other.isSetUserSmsList()) {
-
 
30506
        List<UserSms> __this__userSmsList = new ArrayList<UserSms>();
-
 
30507
        for (UserSms other_element : other.userSmsList) {
-
 
30508
          __this__userSmsList.add(new UserSms(other_element));
-
 
30509
        }
-
 
30510
        this.userSmsList = __this__userSmsList;
-
 
30511
      }
-
 
30512
    }
-
 
30513
 
-
 
30514
    public markMessagesAsSentToOperator_args deepCopy() {
-
 
30515
      return new markMessagesAsSentToOperator_args(this);
-
 
30516
    }
-
 
30517
 
-
 
30518
    @Override
-
 
30519
    public void clear() {
-
 
30520
      this.userSmsList = null;
-
 
30521
    }
-
 
30522
 
-
 
30523
    public int getUserSmsListSize() {
-
 
30524
      return (this.userSmsList == null) ? 0 : this.userSmsList.size();
-
 
30525
    }
-
 
30526
 
-
 
30527
    public java.util.Iterator<UserSms> getUserSmsListIterator() {
-
 
30528
      return (this.userSmsList == null) ? null : this.userSmsList.iterator();
-
 
30529
    }
-
 
30530
 
-
 
30531
    public void addToUserSmsList(UserSms elem) {
-
 
30532
      if (this.userSmsList == null) {
-
 
30533
        this.userSmsList = new ArrayList<UserSms>();
-
 
30534
      }
-
 
30535
      this.userSmsList.add(elem);
-
 
30536
    }
-
 
30537
 
-
 
30538
    public List<UserSms> getUserSmsList() {
-
 
30539
      return this.userSmsList;
-
 
30540
    }
-
 
30541
 
-
 
30542
    public void setUserSmsList(List<UserSms> userSmsList) {
-
 
30543
      this.userSmsList = userSmsList;
-
 
30544
    }
-
 
30545
 
-
 
30546
    public void unsetUserSmsList() {
-
 
30547
      this.userSmsList = null;
-
 
30548
    }
-
 
30549
 
-
 
30550
    /** Returns true if field userSmsList is set (has been assigned a value) and false otherwise */
-
 
30551
    public boolean isSetUserSmsList() {
-
 
30552
      return this.userSmsList != null;
-
 
30553
    }
-
 
30554
 
-
 
30555
    public void setUserSmsListIsSet(boolean value) {
-
 
30556
      if (!value) {
-
 
30557
        this.userSmsList = null;
-
 
30558
      }
-
 
30559
    }
-
 
30560
 
-
 
30561
    public void setFieldValue(_Fields field, Object value) {
-
 
30562
      switch (field) {
-
 
30563
      case USER_SMS_LIST:
-
 
30564
        if (value == null) {
-
 
30565
          unsetUserSmsList();
-
 
30566
        } else {
-
 
30567
          setUserSmsList((List<UserSms>)value);
-
 
30568
        }
-
 
30569
        break;
-
 
30570
 
-
 
30571
      }
-
 
30572
    }
-
 
30573
 
-
 
30574
    public Object getFieldValue(_Fields field) {
-
 
30575
      switch (field) {
-
 
30576
      case USER_SMS_LIST:
-
 
30577
        return getUserSmsList();
-
 
30578
 
-
 
30579
      }
-
 
30580
      throw new IllegalStateException();
-
 
30581
    }
-
 
30582
 
-
 
30583
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30584
    public boolean isSet(_Fields field) {
-
 
30585
      if (field == null) {
-
 
30586
        throw new IllegalArgumentException();
-
 
30587
      }
-
 
30588
 
-
 
30589
      switch (field) {
-
 
30590
      case USER_SMS_LIST:
-
 
30591
        return isSetUserSmsList();
-
 
30592
      }
-
 
30593
      throw new IllegalStateException();
-
 
30594
    }
-
 
30595
 
-
 
30596
    @Override
-
 
30597
    public boolean equals(Object that) {
-
 
30598
      if (that == null)
-
 
30599
        return false;
-
 
30600
      if (that instanceof markMessagesAsSentToOperator_args)
-
 
30601
        return this.equals((markMessagesAsSentToOperator_args)that);
-
 
30602
      return false;
-
 
30603
    }
-
 
30604
 
-
 
30605
    public boolean equals(markMessagesAsSentToOperator_args that) {
-
 
30606
      if (that == null)
-
 
30607
        return false;
-
 
30608
 
-
 
30609
      boolean this_present_userSmsList = true && this.isSetUserSmsList();
-
 
30610
      boolean that_present_userSmsList = true && that.isSetUserSmsList();
-
 
30611
      if (this_present_userSmsList || that_present_userSmsList) {
-
 
30612
        if (!(this_present_userSmsList && that_present_userSmsList))
-
 
30613
          return false;
-
 
30614
        if (!this.userSmsList.equals(that.userSmsList))
-
 
30615
          return false;
-
 
30616
      }
-
 
30617
 
-
 
30618
      return true;
-
 
30619
    }
-
 
30620
 
-
 
30621
    @Override
-
 
30622
    public int hashCode() {
-
 
30623
      return 0;
-
 
30624
    }
-
 
30625
 
-
 
30626
    public int compareTo(markMessagesAsSentToOperator_args other) {
-
 
30627
      if (!getClass().equals(other.getClass())) {
-
 
30628
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30629
      }
-
 
30630
 
-
 
30631
      int lastComparison = 0;
-
 
30632
      markMessagesAsSentToOperator_args typedOther = (markMessagesAsSentToOperator_args)other;
-
 
30633
 
-
 
30634
      lastComparison = Boolean.valueOf(isSetUserSmsList()).compareTo(typedOther.isSetUserSmsList());
-
 
30635
      if (lastComparison != 0) {
-
 
30636
        return lastComparison;
-
 
30637
      }
-
 
30638
      if (isSetUserSmsList()) {
-
 
30639
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSmsList, typedOther.userSmsList);
-
 
30640
        if (lastComparison != 0) {
-
 
30641
          return lastComparison;
-
 
30642
        }
-
 
30643
      }
-
 
30644
      return 0;
-
 
30645
    }
-
 
30646
 
-
 
30647
    public _Fields fieldForId(int fieldId) {
-
 
30648
      return _Fields.findByThriftId(fieldId);
-
 
30649
    }
-
 
30650
 
-
 
30651
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30652
      org.apache.thrift.protocol.TField field;
-
 
30653
      iprot.readStructBegin();
-
 
30654
      while (true)
-
 
30655
      {
-
 
30656
        field = iprot.readFieldBegin();
-
 
30657
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30658
          break;
-
 
30659
        }
-
 
30660
        switch (field.id) {
-
 
30661
          case -1: // USER_SMS_LIST
-
 
30662
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
30663
              {
-
 
30664
                org.apache.thrift.protocol.TList _list85 = iprot.readListBegin();
-
 
30665
                this.userSmsList = new ArrayList<UserSms>(_list85.size);
-
 
30666
                for (int _i86 = 0; _i86 < _list85.size; ++_i86)
-
 
30667
                {
-
 
30668
                  UserSms _elem87; // required
-
 
30669
                  _elem87 = new UserSms();
-
 
30670
                  _elem87.read(iprot);
-
 
30671
                  this.userSmsList.add(_elem87);
-
 
30672
                }
-
 
30673
                iprot.readListEnd();
-
 
30674
              }
-
 
30675
            } else { 
-
 
30676
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30677
            }
-
 
30678
            break;
-
 
30679
          default:
-
 
30680
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30681
        }
-
 
30682
        iprot.readFieldEnd();
-
 
30683
      }
-
 
30684
      iprot.readStructEnd();
-
 
30685
      validate();
-
 
30686
    }
-
 
30687
 
-
 
30688
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30689
      validate();
-
 
30690
 
-
 
30691
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30692
      if (this.userSmsList != null) {
-
 
30693
        oprot.writeFieldBegin(USER_SMS_LIST_FIELD_DESC);
-
 
30694
        {
-
 
30695
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.userSmsList.size()));
-
 
30696
          for (UserSms _iter88 : this.userSmsList)
-
 
30697
          {
-
 
30698
            _iter88.write(oprot);
-
 
30699
          }
-
 
30700
          oprot.writeListEnd();
-
 
30701
        }
-
 
30702
        oprot.writeFieldEnd();
-
 
30703
      }
-
 
30704
      oprot.writeFieldStop();
-
 
30705
      oprot.writeStructEnd();
-
 
30706
    }
-
 
30707
 
-
 
30708
    @Override
-
 
30709
    public String toString() {
-
 
30710
      StringBuilder sb = new StringBuilder("markMessagesAsSentToOperator_args(");
-
 
30711
      boolean first = true;
-
 
30712
 
-
 
30713
      sb.append("userSmsList:");
-
 
30714
      if (this.userSmsList == null) {
-
 
30715
        sb.append("null");
-
 
30716
      } else {
-
 
30717
        sb.append(this.userSmsList);
-
 
30718
      }
-
 
30719
      first = false;
-
 
30720
      sb.append(")");
-
 
30721
      return sb.toString();
-
 
30722
    }
-
 
30723
 
-
 
30724
    public void validate() throws org.apache.thrift.TException {
-
 
30725
      // check for required fields
-
 
30726
    }
-
 
30727
 
-
 
30728
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
30729
      try {
-
 
30730
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
30731
      } catch (org.apache.thrift.TException te) {
-
 
30732
        throw new java.io.IOException(te);
-
 
30733
      }
-
 
30734
    }
-
 
30735
 
-
 
30736
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
30737
      try {
-
 
30738
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
30739
      } catch (org.apache.thrift.TException te) {
-
 
30740
        throw new java.io.IOException(te);
-
 
30741
      }
-
 
30742
    }
-
 
30743
 
-
 
30744
  }
-
 
30745
 
-
 
30746
  public static class markMessagesAsSentToOperator_result implements org.apache.thrift.TBase<markMessagesAsSentToOperator_result, markMessagesAsSentToOperator_result._Fields>, java.io.Serializable, Cloneable   {
-
 
30747
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsSentToOperator_result");
-
 
30748
 
-
 
30749
    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);
-
 
30750
 
-
 
30751
    private boolean success; // required
-
 
30752
 
-
 
30753
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
30754
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
30755
      SUCCESS((short)0, "success");
-
 
30756
 
-
 
30757
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
30758
 
-
 
30759
      static {
-
 
30760
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
30761
          byName.put(field.getFieldName(), field);
-
 
30762
        }
-
 
30763
      }
-
 
30764
 
-
 
30765
      /**
-
 
30766
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
30767
       */
-
 
30768
      public static _Fields findByThriftId(int fieldId) {
-
 
30769
        switch(fieldId) {
-
 
30770
          case 0: // SUCCESS
-
 
30771
            return SUCCESS;
-
 
30772
          default:
-
 
30773
            return null;
-
 
30774
        }
-
 
30775
      }
-
 
30776
 
-
 
30777
      /**
-
 
30778
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
30779
       * if it is not found.
-
 
30780
       */
-
 
30781
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
30782
        _Fields fields = findByThriftId(fieldId);
-
 
30783
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
30784
        return fields;
-
 
30785
      }
-
 
30786
 
-
 
30787
      /**
-
 
30788
       * Find the _Fields constant that matches name, or null if its not found.
-
 
30789
       */
-
 
30790
      public static _Fields findByName(String name) {
-
 
30791
        return byName.get(name);
-
 
30792
      }
-
 
30793
 
-
 
30794
      private final short _thriftId;
-
 
30795
      private final String _fieldName;
-
 
30796
 
-
 
30797
      _Fields(short thriftId, String fieldName) {
-
 
30798
        _thriftId = thriftId;
-
 
30799
        _fieldName = fieldName;
-
 
30800
      }
-
 
30801
 
-
 
30802
      public short getThriftFieldId() {
-
 
30803
        return _thriftId;
-
 
30804
      }
-
 
30805
 
-
 
30806
      public String getFieldName() {
-
 
30807
        return _fieldName;
-
 
30808
      }
-
 
30809
    }
-
 
30810
 
-
 
30811
    // isset id assignments
-
 
30812
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
30813
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
30814
 
-
 
30815
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
30816
    static {
-
 
30817
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
30818
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
30819
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
30820
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
30821
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsSentToOperator_result.class, metaDataMap);
-
 
30822
    }
-
 
30823
 
-
 
30824
    public markMessagesAsSentToOperator_result() {
-
 
30825
    }
-
 
30826
 
-
 
30827
    public markMessagesAsSentToOperator_result(
-
 
30828
      boolean success)
-
 
30829
    {
-
 
30830
      this();
-
 
30831
      this.success = success;
-
 
30832
      setSuccessIsSet(true);
-
 
30833
    }
-
 
30834
 
-
 
30835
    /**
-
 
30836
     * Performs a deep copy on <i>other</i>.
-
 
30837
     */
-
 
30838
    public markMessagesAsSentToOperator_result(markMessagesAsSentToOperator_result other) {
-
 
30839
      __isset_bit_vector.clear();
-
 
30840
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
30841
      this.success = other.success;
-
 
30842
    }
-
 
30843
 
-
 
30844
    public markMessagesAsSentToOperator_result deepCopy() {
-
 
30845
      return new markMessagesAsSentToOperator_result(this);
-
 
30846
    }
-
 
30847
 
-
 
30848
    @Override
-
 
30849
    public void clear() {
-
 
30850
      setSuccessIsSet(false);
-
 
30851
      this.success = false;
-
 
30852
    }
-
 
30853
 
-
 
30854
    public boolean isSuccess() {
-
 
30855
      return this.success;
-
 
30856
    }
-
 
30857
 
-
 
30858
    public void setSuccess(boolean success) {
-
 
30859
      this.success = success;
-
 
30860
      setSuccessIsSet(true);
-
 
30861
    }
-
 
30862
 
-
 
30863
    public void unsetSuccess() {
-
 
30864
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
30865
    }
-
 
30866
 
-
 
30867
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
30868
    public boolean isSetSuccess() {
-
 
30869
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
30870
    }
-
 
30871
 
-
 
30872
    public void setSuccessIsSet(boolean value) {
-
 
30873
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
30874
    }
-
 
30875
 
-
 
30876
    public void setFieldValue(_Fields field, Object value) {
-
 
30877
      switch (field) {
-
 
30878
      case SUCCESS:
-
 
30879
        if (value == null) {
-
 
30880
          unsetSuccess();
-
 
30881
        } else {
-
 
30882
          setSuccess((Boolean)value);
-
 
30883
        }
-
 
30884
        break;
-
 
30885
 
-
 
30886
      }
-
 
30887
    }
-
 
30888
 
-
 
30889
    public Object getFieldValue(_Fields field) {
-
 
30890
      switch (field) {
-
 
30891
      case SUCCESS:
-
 
30892
        return Boolean.valueOf(isSuccess());
-
 
30893
 
-
 
30894
      }
-
 
30895
      throw new IllegalStateException();
-
 
30896
    }
-
 
30897
 
-
 
30898
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
30899
    public boolean isSet(_Fields field) {
-
 
30900
      if (field == null) {
-
 
30901
        throw new IllegalArgumentException();
-
 
30902
      }
-
 
30903
 
-
 
30904
      switch (field) {
-
 
30905
      case SUCCESS:
-
 
30906
        return isSetSuccess();
-
 
30907
      }
-
 
30908
      throw new IllegalStateException();
-
 
30909
    }
-
 
30910
 
-
 
30911
    @Override
-
 
30912
    public boolean equals(Object that) {
-
 
30913
      if (that == null)
-
 
30914
        return false;
-
 
30915
      if (that instanceof markMessagesAsSentToOperator_result)
-
 
30916
        return this.equals((markMessagesAsSentToOperator_result)that);
-
 
30917
      return false;
-
 
30918
    }
-
 
30919
 
-
 
30920
    public boolean equals(markMessagesAsSentToOperator_result that) {
-
 
30921
      if (that == null)
-
 
30922
        return false;
-
 
30923
 
-
 
30924
      boolean this_present_success = true;
-
 
30925
      boolean that_present_success = true;
-
 
30926
      if (this_present_success || that_present_success) {
-
 
30927
        if (!(this_present_success && that_present_success))
-
 
30928
          return false;
-
 
30929
        if (this.success != that.success)
-
 
30930
          return false;
-
 
30931
      }
-
 
30932
 
-
 
30933
      return true;
-
 
30934
    }
-
 
30935
 
-
 
30936
    @Override
-
 
30937
    public int hashCode() {
-
 
30938
      return 0;
-
 
30939
    }
-
 
30940
 
-
 
30941
    public int compareTo(markMessagesAsSentToOperator_result other) {
-
 
30942
      if (!getClass().equals(other.getClass())) {
-
 
30943
        return getClass().getName().compareTo(other.getClass().getName());
-
 
30944
      }
-
 
30945
 
-
 
30946
      int lastComparison = 0;
-
 
30947
      markMessagesAsSentToOperator_result typedOther = (markMessagesAsSentToOperator_result)other;
-
 
30948
 
-
 
30949
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
30950
      if (lastComparison != 0) {
-
 
30951
        return lastComparison;
-
 
30952
      }
-
 
30953
      if (isSetSuccess()) {
-
 
30954
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
30955
        if (lastComparison != 0) {
-
 
30956
          return lastComparison;
-
 
30957
        }
-
 
30958
      }
-
 
30959
      return 0;
-
 
30960
    }
-
 
30961
 
-
 
30962
    public _Fields fieldForId(int fieldId) {
-
 
30963
      return _Fields.findByThriftId(fieldId);
-
 
30964
    }
-
 
30965
 
-
 
30966
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
30967
      org.apache.thrift.protocol.TField field;
-
 
30968
      iprot.readStructBegin();
-
 
30969
      while (true)
-
 
30970
      {
-
 
30971
        field = iprot.readFieldBegin();
-
 
30972
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
30973
          break;
-
 
30974
        }
-
 
30975
        switch (field.id) {
-
 
30976
          case 0: // SUCCESS
-
 
30977
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
30978
              this.success = iprot.readBool();
-
 
30979
              setSuccessIsSet(true);
-
 
30980
            } else { 
-
 
30981
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30982
            }
-
 
30983
            break;
-
 
30984
          default:
-
 
30985
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
30986
        }
-
 
30987
        iprot.readFieldEnd();
-
 
30988
      }
-
 
30989
      iprot.readStructEnd();
-
 
30990
      validate();
-
 
30991
    }
-
 
30992
 
-
 
30993
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
30994
      oprot.writeStructBegin(STRUCT_DESC);
-
 
30995
 
-
 
30996
      if (this.isSetSuccess()) {
-
 
30997
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
30998
        oprot.writeBool(this.success);
-
 
30999
        oprot.writeFieldEnd();
-
 
31000
      }
-
 
31001
      oprot.writeFieldStop();
-
 
31002
      oprot.writeStructEnd();
-
 
31003
    }
-
 
31004
 
-
 
31005
    @Override
-
 
31006
    public String toString() {
-
 
31007
      StringBuilder sb = new StringBuilder("markMessagesAsSentToOperator_result(");
-
 
31008
      boolean first = true;
-
 
31009
 
-
 
31010
      sb.append("success:");
-
 
31011
      sb.append(this.success);
-
 
31012
      first = false;
-
 
31013
      sb.append(")");
-
 
31014
      return sb.toString();
-
 
31015
    }
-
 
31016
 
-
 
31017
    public void validate() throws org.apache.thrift.TException {
-
 
31018
      // check for required fields
-
 
31019
    }
-
 
31020
 
-
 
31021
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31022
      try {
-
 
31023
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31024
      } catch (org.apache.thrift.TException te) {
-
 
31025
        throw new java.io.IOException(te);
-
 
31026
      }
-
 
31027
    }
-
 
31028
 
-
 
31029
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31030
      try {
-
 
31031
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31032
      } catch (org.apache.thrift.TException te) {
-
 
31033
        throw new java.io.IOException(te);
-
 
31034
      }
-
 
31035
    }
-
 
31036
 
-
 
31037
  }
-
 
31038
 
-
 
31039
  public static class markMessagesAsSubmittedToSmsc_args implements org.apache.thrift.TBase<markMessagesAsSubmittedToSmsc_args, markMessagesAsSubmittedToSmsc_args._Fields>, java.io.Serializable, Cloneable   {
-
 
31040
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsSubmittedToSmsc_args");
-
 
31041
 
-
 
31042
    private static final org.apache.thrift.protocol.TField USER_SMS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("userSmsList", org.apache.thrift.protocol.TType.LIST, (short)-1);
-
 
31043
 
-
 
31044
    private List<UserSms> userSmsList; // required
-
 
31045
 
-
 
31046
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31047
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31048
      USER_SMS_LIST((short)-1, "userSmsList");
-
 
31049
 
-
 
31050
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31051
 
-
 
31052
      static {
-
 
31053
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31054
          byName.put(field.getFieldName(), field);
-
 
31055
        }
-
 
31056
      }
-
 
31057
 
-
 
31058
      /**
-
 
31059
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31060
       */
-
 
31061
      public static _Fields findByThriftId(int fieldId) {
-
 
31062
        switch(fieldId) {
-
 
31063
          case -1: // USER_SMS_LIST
-
 
31064
            return USER_SMS_LIST;
-
 
31065
          default:
-
 
31066
            return null;
-
 
31067
        }
-
 
31068
      }
-
 
31069
 
-
 
31070
      /**
-
 
31071
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31072
       * if it is not found.
-
 
31073
       */
-
 
31074
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31075
        _Fields fields = findByThriftId(fieldId);
-
 
31076
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31077
        return fields;
-
 
31078
      }
-
 
31079
 
-
 
31080
      /**
-
 
31081
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31082
       */
-
 
31083
      public static _Fields findByName(String name) {
-
 
31084
        return byName.get(name);
-
 
31085
      }
-
 
31086
 
-
 
31087
      private final short _thriftId;
-
 
31088
      private final String _fieldName;
-
 
31089
 
-
 
31090
      _Fields(short thriftId, String fieldName) {
-
 
31091
        _thriftId = thriftId;
-
 
31092
        _fieldName = fieldName;
-
 
31093
      }
-
 
31094
 
-
 
31095
      public short getThriftFieldId() {
-
 
31096
        return _thriftId;
-
 
31097
      }
-
 
31098
 
-
 
31099
      public String getFieldName() {
-
 
31100
        return _fieldName;
-
 
31101
      }
-
 
31102
    }
-
 
31103
 
-
 
31104
    // isset id assignments
-
 
31105
 
-
 
31106
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31107
    static {
-
 
31108
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31109
      tmpMap.put(_Fields.USER_SMS_LIST, new org.apache.thrift.meta_data.FieldMetaData("userSmsList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31110
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
31111
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSms.class))));
-
 
31112
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31113
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsSubmittedToSmsc_args.class, metaDataMap);
-
 
31114
    }
-
 
31115
 
-
 
31116
    public markMessagesAsSubmittedToSmsc_args() {
-
 
31117
    }
-
 
31118
 
-
 
31119
    public markMessagesAsSubmittedToSmsc_args(
-
 
31120
      List<UserSms> userSmsList)
-
 
31121
    {
-
 
31122
      this();
-
 
31123
      this.userSmsList = userSmsList;
-
 
31124
    }
-
 
31125
 
-
 
31126
    /**
-
 
31127
     * Performs a deep copy on <i>other</i>.
-
 
31128
     */
-
 
31129
    public markMessagesAsSubmittedToSmsc_args(markMessagesAsSubmittedToSmsc_args other) {
-
 
31130
      if (other.isSetUserSmsList()) {
-
 
31131
        List<UserSms> __this__userSmsList = new ArrayList<UserSms>();
-
 
31132
        for (UserSms other_element : other.userSmsList) {
-
 
31133
          __this__userSmsList.add(new UserSms(other_element));
-
 
31134
        }
-
 
31135
        this.userSmsList = __this__userSmsList;
-
 
31136
      }
-
 
31137
    }
-
 
31138
 
-
 
31139
    public markMessagesAsSubmittedToSmsc_args deepCopy() {
-
 
31140
      return new markMessagesAsSubmittedToSmsc_args(this);
-
 
31141
    }
-
 
31142
 
-
 
31143
    @Override
-
 
31144
    public void clear() {
-
 
31145
      this.userSmsList = null;
-
 
31146
    }
-
 
31147
 
-
 
31148
    public int getUserSmsListSize() {
-
 
31149
      return (this.userSmsList == null) ? 0 : this.userSmsList.size();
-
 
31150
    }
-
 
31151
 
-
 
31152
    public java.util.Iterator<UserSms> getUserSmsListIterator() {
-
 
31153
      return (this.userSmsList == null) ? null : this.userSmsList.iterator();
-
 
31154
    }
-
 
31155
 
-
 
31156
    public void addToUserSmsList(UserSms elem) {
-
 
31157
      if (this.userSmsList == null) {
-
 
31158
        this.userSmsList = new ArrayList<UserSms>();
-
 
31159
      }
-
 
31160
      this.userSmsList.add(elem);
-
 
31161
    }
-
 
31162
 
-
 
31163
    public List<UserSms> getUserSmsList() {
-
 
31164
      return this.userSmsList;
-
 
31165
    }
-
 
31166
 
-
 
31167
    public void setUserSmsList(List<UserSms> userSmsList) {
-
 
31168
      this.userSmsList = userSmsList;
-
 
31169
    }
-
 
31170
 
-
 
31171
    public void unsetUserSmsList() {
-
 
31172
      this.userSmsList = null;
-
 
31173
    }
-
 
31174
 
-
 
31175
    /** Returns true if field userSmsList is set (has been assigned a value) and false otherwise */
-
 
31176
    public boolean isSetUserSmsList() {
-
 
31177
      return this.userSmsList != null;
-
 
31178
    }
-
 
31179
 
-
 
31180
    public void setUserSmsListIsSet(boolean value) {
-
 
31181
      if (!value) {
-
 
31182
        this.userSmsList = null;
-
 
31183
      }
-
 
31184
    }
-
 
31185
 
-
 
31186
    public void setFieldValue(_Fields field, Object value) {
-
 
31187
      switch (field) {
-
 
31188
      case USER_SMS_LIST:
-
 
31189
        if (value == null) {
-
 
31190
          unsetUserSmsList();
-
 
31191
        } else {
-
 
31192
          setUserSmsList((List<UserSms>)value);
-
 
31193
        }
-
 
31194
        break;
-
 
31195
 
-
 
31196
      }
-
 
31197
    }
-
 
31198
 
-
 
31199
    public Object getFieldValue(_Fields field) {
-
 
31200
      switch (field) {
-
 
31201
      case USER_SMS_LIST:
-
 
31202
        return getUserSmsList();
-
 
31203
 
-
 
31204
      }
-
 
31205
      throw new IllegalStateException();
-
 
31206
    }
-
 
31207
 
-
 
31208
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31209
    public boolean isSet(_Fields field) {
-
 
31210
      if (field == null) {
-
 
31211
        throw new IllegalArgumentException();
-
 
31212
      }
-
 
31213
 
-
 
31214
      switch (field) {
-
 
31215
      case USER_SMS_LIST:
-
 
31216
        return isSetUserSmsList();
-
 
31217
      }
-
 
31218
      throw new IllegalStateException();
-
 
31219
    }
-
 
31220
 
-
 
31221
    @Override
-
 
31222
    public boolean equals(Object that) {
-
 
31223
      if (that == null)
-
 
31224
        return false;
-
 
31225
      if (that instanceof markMessagesAsSubmittedToSmsc_args)
-
 
31226
        return this.equals((markMessagesAsSubmittedToSmsc_args)that);
-
 
31227
      return false;
-
 
31228
    }
-
 
31229
 
-
 
31230
    public boolean equals(markMessagesAsSubmittedToSmsc_args that) {
-
 
31231
      if (that == null)
-
 
31232
        return false;
-
 
31233
 
-
 
31234
      boolean this_present_userSmsList = true && this.isSetUserSmsList();
-
 
31235
      boolean that_present_userSmsList = true && that.isSetUserSmsList();
-
 
31236
      if (this_present_userSmsList || that_present_userSmsList) {
-
 
31237
        if (!(this_present_userSmsList && that_present_userSmsList))
-
 
31238
          return false;
-
 
31239
        if (!this.userSmsList.equals(that.userSmsList))
-
 
31240
          return false;
-
 
31241
      }
-
 
31242
 
-
 
31243
      return true;
-
 
31244
    }
-
 
31245
 
-
 
31246
    @Override
-
 
31247
    public int hashCode() {
-
 
31248
      return 0;
-
 
31249
    }
-
 
31250
 
-
 
31251
    public int compareTo(markMessagesAsSubmittedToSmsc_args other) {
-
 
31252
      if (!getClass().equals(other.getClass())) {
-
 
31253
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31254
      }
-
 
31255
 
-
 
31256
      int lastComparison = 0;
-
 
31257
      markMessagesAsSubmittedToSmsc_args typedOther = (markMessagesAsSubmittedToSmsc_args)other;
-
 
31258
 
-
 
31259
      lastComparison = Boolean.valueOf(isSetUserSmsList()).compareTo(typedOther.isSetUserSmsList());
-
 
31260
      if (lastComparison != 0) {
-
 
31261
        return lastComparison;
-
 
31262
      }
-
 
31263
      if (isSetUserSmsList()) {
-
 
31264
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSmsList, typedOther.userSmsList);
-
 
31265
        if (lastComparison != 0) {
-
 
31266
          return lastComparison;
-
 
31267
        }
-
 
31268
      }
-
 
31269
      return 0;
-
 
31270
    }
-
 
31271
 
-
 
31272
    public _Fields fieldForId(int fieldId) {
-
 
31273
      return _Fields.findByThriftId(fieldId);
-
 
31274
    }
-
 
31275
 
-
 
31276
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31277
      org.apache.thrift.protocol.TField field;
-
 
31278
      iprot.readStructBegin();
-
 
31279
      while (true)
-
 
31280
      {
-
 
31281
        field = iprot.readFieldBegin();
-
 
31282
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31283
          break;
-
 
31284
        }
-
 
31285
        switch (field.id) {
-
 
31286
          case -1: // USER_SMS_LIST
-
 
31287
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
31288
              {
-
 
31289
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
-
 
31290
                this.userSmsList = new ArrayList<UserSms>(_list89.size);
-
 
31291
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
-
 
31292
                {
-
 
31293
                  UserSms _elem91; // required
-
 
31294
                  _elem91 = new UserSms();
-
 
31295
                  _elem91.read(iprot);
-
 
31296
                  this.userSmsList.add(_elem91);
-
 
31297
                }
-
 
31298
                iprot.readListEnd();
-
 
31299
              }
-
 
31300
            } else { 
-
 
31301
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31302
            }
-
 
31303
            break;
-
 
31304
          default:
-
 
31305
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31306
        }
-
 
31307
        iprot.readFieldEnd();
-
 
31308
      }
-
 
31309
      iprot.readStructEnd();
-
 
31310
      validate();
-
 
31311
    }
-
 
31312
 
-
 
31313
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31314
      validate();
-
 
31315
 
-
 
31316
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31317
      if (this.userSmsList != null) {
-
 
31318
        oprot.writeFieldBegin(USER_SMS_LIST_FIELD_DESC);
-
 
31319
        {
-
 
31320
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.userSmsList.size()));
-
 
31321
          for (UserSms _iter92 : this.userSmsList)
-
 
31322
          {
-
 
31323
            _iter92.write(oprot);
-
 
31324
          }
-
 
31325
          oprot.writeListEnd();
-
 
31326
        }
-
 
31327
        oprot.writeFieldEnd();
-
 
31328
      }
-
 
31329
      oprot.writeFieldStop();
-
 
31330
      oprot.writeStructEnd();
-
 
31331
    }
-
 
31332
 
-
 
31333
    @Override
-
 
31334
    public String toString() {
-
 
31335
      StringBuilder sb = new StringBuilder("markMessagesAsSubmittedToSmsc_args(");
-
 
31336
      boolean first = true;
-
 
31337
 
-
 
31338
      sb.append("userSmsList:");
-
 
31339
      if (this.userSmsList == null) {
-
 
31340
        sb.append("null");
-
 
31341
      } else {
-
 
31342
        sb.append(this.userSmsList);
-
 
31343
      }
-
 
31344
      first = false;
-
 
31345
      sb.append(")");
-
 
31346
      return sb.toString();
-
 
31347
    }
-
 
31348
 
-
 
31349
    public void validate() throws org.apache.thrift.TException {
-
 
31350
      // check for required fields
-
 
31351
    }
-
 
31352
 
-
 
31353
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31354
      try {
-
 
31355
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31356
      } catch (org.apache.thrift.TException te) {
-
 
31357
        throw new java.io.IOException(te);
-
 
31358
      }
-
 
31359
    }
-
 
31360
 
-
 
31361
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31362
      try {
-
 
31363
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31364
      } catch (org.apache.thrift.TException te) {
-
 
31365
        throw new java.io.IOException(te);
-
 
31366
      }
-
 
31367
    }
-
 
31368
 
-
 
31369
  }
-
 
31370
 
-
 
31371
  public static class markMessagesAsSubmittedToSmsc_result implements org.apache.thrift.TBase<markMessagesAsSubmittedToSmsc_result, markMessagesAsSubmittedToSmsc_result._Fields>, java.io.Serializable, Cloneable   {
-
 
31372
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsSubmittedToSmsc_result");
-
 
31373
 
-
 
31374
    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);
-
 
31375
 
-
 
31376
    private boolean success; // required
-
 
31377
 
-
 
31378
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31379
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31380
      SUCCESS((short)0, "success");
-
 
31381
 
-
 
31382
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31383
 
-
 
31384
      static {
-
 
31385
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31386
          byName.put(field.getFieldName(), field);
-
 
31387
        }
-
 
31388
      }
-
 
31389
 
-
 
31390
      /**
-
 
31391
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31392
       */
-
 
31393
      public static _Fields findByThriftId(int fieldId) {
-
 
31394
        switch(fieldId) {
-
 
31395
          case 0: // SUCCESS
-
 
31396
            return SUCCESS;
-
 
31397
          default:
-
 
31398
            return null;
-
 
31399
        }
-
 
31400
      }
-
 
31401
 
-
 
31402
      /**
-
 
31403
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31404
       * if it is not found.
-
 
31405
       */
-
 
31406
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31407
        _Fields fields = findByThriftId(fieldId);
-
 
31408
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31409
        return fields;
-
 
31410
      }
-
 
31411
 
-
 
31412
      /**
-
 
31413
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31414
       */
-
 
31415
      public static _Fields findByName(String name) {
-
 
31416
        return byName.get(name);
-
 
31417
      }
-
 
31418
 
-
 
31419
      private final short _thriftId;
-
 
31420
      private final String _fieldName;
-
 
31421
 
-
 
31422
      _Fields(short thriftId, String fieldName) {
-
 
31423
        _thriftId = thriftId;
-
 
31424
        _fieldName = fieldName;
-
 
31425
      }
-
 
31426
 
-
 
31427
      public short getThriftFieldId() {
-
 
31428
        return _thriftId;
-
 
31429
      }
-
 
31430
 
-
 
31431
      public String getFieldName() {
-
 
31432
        return _fieldName;
-
 
31433
      }
-
 
31434
    }
-
 
31435
 
-
 
31436
    // isset id assignments
-
 
31437
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
31438
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
31439
 
-
 
31440
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31441
    static {
-
 
31442
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31443
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31444
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
31445
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31446
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsSubmittedToSmsc_result.class, metaDataMap);
-
 
31447
    }
-
 
31448
 
-
 
31449
    public markMessagesAsSubmittedToSmsc_result() {
-
 
31450
    }
-
 
31451
 
-
 
31452
    public markMessagesAsSubmittedToSmsc_result(
-
 
31453
      boolean success)
-
 
31454
    {
-
 
31455
      this();
-
 
31456
      this.success = success;
-
 
31457
      setSuccessIsSet(true);
-
 
31458
    }
-
 
31459
 
-
 
31460
    /**
-
 
31461
     * Performs a deep copy on <i>other</i>.
-
 
31462
     */
-
 
31463
    public markMessagesAsSubmittedToSmsc_result(markMessagesAsSubmittedToSmsc_result other) {
-
 
31464
      __isset_bit_vector.clear();
-
 
31465
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
31466
      this.success = other.success;
-
 
31467
    }
-
 
31468
 
-
 
31469
    public markMessagesAsSubmittedToSmsc_result deepCopy() {
-
 
31470
      return new markMessagesAsSubmittedToSmsc_result(this);
-
 
31471
    }
-
 
31472
 
-
 
31473
    @Override
-
 
31474
    public void clear() {
-
 
31475
      setSuccessIsSet(false);
-
 
31476
      this.success = false;
-
 
31477
    }
-
 
31478
 
-
 
31479
    public boolean isSuccess() {
-
 
31480
      return this.success;
-
 
31481
    }
-
 
31482
 
-
 
31483
    public void setSuccess(boolean success) {
-
 
31484
      this.success = success;
-
 
31485
      setSuccessIsSet(true);
-
 
31486
    }
-
 
31487
 
-
 
31488
    public void unsetSuccess() {
-
 
31489
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
31490
    }
-
 
31491
 
-
 
31492
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
31493
    public boolean isSetSuccess() {
-
 
31494
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
31495
    }
-
 
31496
 
-
 
31497
    public void setSuccessIsSet(boolean value) {
-
 
31498
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
31499
    }
-
 
31500
 
-
 
31501
    public void setFieldValue(_Fields field, Object value) {
-
 
31502
      switch (field) {
-
 
31503
      case SUCCESS:
-
 
31504
        if (value == null) {
-
 
31505
          unsetSuccess();
-
 
31506
        } else {
-
 
31507
          setSuccess((Boolean)value);
-
 
31508
        }
-
 
31509
        break;
-
 
31510
 
-
 
31511
      }
-
 
31512
    }
-
 
31513
 
-
 
31514
    public Object getFieldValue(_Fields field) {
-
 
31515
      switch (field) {
-
 
31516
      case SUCCESS:
-
 
31517
        return Boolean.valueOf(isSuccess());
-
 
31518
 
-
 
31519
      }
-
 
31520
      throw new IllegalStateException();
-
 
31521
    }
-
 
31522
 
-
 
31523
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31524
    public boolean isSet(_Fields field) {
-
 
31525
      if (field == null) {
-
 
31526
        throw new IllegalArgumentException();
-
 
31527
      }
-
 
31528
 
-
 
31529
      switch (field) {
-
 
31530
      case SUCCESS:
-
 
31531
        return isSetSuccess();
-
 
31532
      }
-
 
31533
      throw new IllegalStateException();
-
 
31534
    }
-
 
31535
 
-
 
31536
    @Override
-
 
31537
    public boolean equals(Object that) {
-
 
31538
      if (that == null)
-
 
31539
        return false;
-
 
31540
      if (that instanceof markMessagesAsSubmittedToSmsc_result)
-
 
31541
        return this.equals((markMessagesAsSubmittedToSmsc_result)that);
-
 
31542
      return false;
-
 
31543
    }
-
 
31544
 
-
 
31545
    public boolean equals(markMessagesAsSubmittedToSmsc_result that) {
-
 
31546
      if (that == null)
-
 
31547
        return false;
-
 
31548
 
-
 
31549
      boolean this_present_success = true;
-
 
31550
      boolean that_present_success = true;
-
 
31551
      if (this_present_success || that_present_success) {
-
 
31552
        if (!(this_present_success && that_present_success))
-
 
31553
          return false;
-
 
31554
        if (this.success != that.success)
-
 
31555
          return false;
-
 
31556
      }
-
 
31557
 
-
 
31558
      return true;
-
 
31559
    }
-
 
31560
 
-
 
31561
    @Override
-
 
31562
    public int hashCode() {
-
 
31563
      return 0;
-
 
31564
    }
-
 
31565
 
-
 
31566
    public int compareTo(markMessagesAsSubmittedToSmsc_result other) {
-
 
31567
      if (!getClass().equals(other.getClass())) {
-
 
31568
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31569
      }
-
 
31570
 
-
 
31571
      int lastComparison = 0;
-
 
31572
      markMessagesAsSubmittedToSmsc_result typedOther = (markMessagesAsSubmittedToSmsc_result)other;
-
 
31573
 
-
 
31574
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
31575
      if (lastComparison != 0) {
-
 
31576
        return lastComparison;
-
 
31577
      }
-
 
31578
      if (isSetSuccess()) {
-
 
31579
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
31580
        if (lastComparison != 0) {
-
 
31581
          return lastComparison;
-
 
31582
        }
-
 
31583
      }
-
 
31584
      return 0;
-
 
31585
    }
-
 
31586
 
-
 
31587
    public _Fields fieldForId(int fieldId) {
-
 
31588
      return _Fields.findByThriftId(fieldId);
-
 
31589
    }
-
 
31590
 
-
 
31591
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31592
      org.apache.thrift.protocol.TField field;
-
 
31593
      iprot.readStructBegin();
-
 
31594
      while (true)
-
 
31595
      {
-
 
31596
        field = iprot.readFieldBegin();
-
 
31597
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31598
          break;
-
 
31599
        }
-
 
31600
        switch (field.id) {
-
 
31601
          case 0: // SUCCESS
-
 
31602
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
31603
              this.success = iprot.readBool();
-
 
31604
              setSuccessIsSet(true);
-
 
31605
            } else { 
-
 
31606
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31607
            }
-
 
31608
            break;
-
 
31609
          default:
-
 
31610
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31611
        }
-
 
31612
        iprot.readFieldEnd();
-
 
31613
      }
-
 
31614
      iprot.readStructEnd();
-
 
31615
      validate();
-
 
31616
    }
-
 
31617
 
-
 
31618
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31619
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31620
 
-
 
31621
      if (this.isSetSuccess()) {
-
 
31622
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
31623
        oprot.writeBool(this.success);
-
 
31624
        oprot.writeFieldEnd();
-
 
31625
      }
-
 
31626
      oprot.writeFieldStop();
-
 
31627
      oprot.writeStructEnd();
-
 
31628
    }
-
 
31629
 
-
 
31630
    @Override
-
 
31631
    public String toString() {
-
 
31632
      StringBuilder sb = new StringBuilder("markMessagesAsSubmittedToSmsc_result(");
-
 
31633
      boolean first = true;
-
 
31634
 
-
 
31635
      sb.append("success:");
-
 
31636
      sb.append(this.success);
-
 
31637
      first = false;
-
 
31638
      sb.append(")");
-
 
31639
      return sb.toString();
-
 
31640
    }
-
 
31641
 
-
 
31642
    public void validate() throws org.apache.thrift.TException {
-
 
31643
      // check for required fields
-
 
31644
    }
-
 
31645
 
-
 
31646
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31647
      try {
-
 
31648
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31649
      } catch (org.apache.thrift.TException te) {
-
 
31650
        throw new java.io.IOException(te);
-
 
31651
      }
-
 
31652
    }
-
 
31653
 
-
 
31654
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31655
      try {
-
 
31656
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31657
      } catch (org.apache.thrift.TException te) {
-
 
31658
        throw new java.io.IOException(te);
-
 
31659
      }
-
 
31660
    }
-
 
31661
 
-
 
31662
  }
-
 
31663
 
-
 
31664
  public static class markMessagesAsSent_args implements org.apache.thrift.TBase<markMessagesAsSent_args, markMessagesAsSent_args._Fields>, java.io.Serializable, Cloneable   {
-
 
31665
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsSent_args");
-
 
31666
 
-
 
31667
    private static final org.apache.thrift.protocol.TField USER_SMS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("userSmsList", org.apache.thrift.protocol.TType.LIST, (short)-1);
-
 
31668
 
-
 
31669
    private List<UserSms> userSmsList; // required
-
 
31670
 
-
 
31671
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
31672
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
31673
      USER_SMS_LIST((short)-1, "userSmsList");
-
 
31674
 
-
 
31675
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
31676
 
-
 
31677
      static {
-
 
31678
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
31679
          byName.put(field.getFieldName(), field);
-
 
31680
        }
-
 
31681
      }
-
 
31682
 
-
 
31683
      /**
-
 
31684
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
31685
       */
-
 
31686
      public static _Fields findByThriftId(int fieldId) {
-
 
31687
        switch(fieldId) {
-
 
31688
          case -1: // USER_SMS_LIST
-
 
31689
            return USER_SMS_LIST;
-
 
31690
          default:
-
 
31691
            return null;
-
 
31692
        }
-
 
31693
      }
-
 
31694
 
-
 
31695
      /**
-
 
31696
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
31697
       * if it is not found.
-
 
31698
       */
-
 
31699
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
31700
        _Fields fields = findByThriftId(fieldId);
-
 
31701
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
31702
        return fields;
-
 
31703
      }
-
 
31704
 
-
 
31705
      /**
-
 
31706
       * Find the _Fields constant that matches name, or null if its not found.
-
 
31707
       */
-
 
31708
      public static _Fields findByName(String name) {
-
 
31709
        return byName.get(name);
-
 
31710
      }
-
 
31711
 
-
 
31712
      private final short _thriftId;
-
 
31713
      private final String _fieldName;
-
 
31714
 
-
 
31715
      _Fields(short thriftId, String fieldName) {
-
 
31716
        _thriftId = thriftId;
-
 
31717
        _fieldName = fieldName;
-
 
31718
      }
-
 
31719
 
-
 
31720
      public short getThriftFieldId() {
-
 
31721
        return _thriftId;
-
 
31722
      }
-
 
31723
 
-
 
31724
      public String getFieldName() {
-
 
31725
        return _fieldName;
-
 
31726
      }
-
 
31727
    }
-
 
31728
 
-
 
31729
    // isset id assignments
-
 
31730
 
-
 
31731
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
31732
    static {
-
 
31733
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
31734
      tmpMap.put(_Fields.USER_SMS_LIST, new org.apache.thrift.meta_data.FieldMetaData("userSmsList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
31735
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
31736
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSms.class))));
-
 
31737
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
31738
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsSent_args.class, metaDataMap);
-
 
31739
    }
-
 
31740
 
-
 
31741
    public markMessagesAsSent_args() {
-
 
31742
    }
-
 
31743
 
-
 
31744
    public markMessagesAsSent_args(
-
 
31745
      List<UserSms> userSmsList)
-
 
31746
    {
-
 
31747
      this();
-
 
31748
      this.userSmsList = userSmsList;
-
 
31749
    }
-
 
31750
 
-
 
31751
    /**
-
 
31752
     * Performs a deep copy on <i>other</i>.
-
 
31753
     */
-
 
31754
    public markMessagesAsSent_args(markMessagesAsSent_args other) {
-
 
31755
      if (other.isSetUserSmsList()) {
-
 
31756
        List<UserSms> __this__userSmsList = new ArrayList<UserSms>();
-
 
31757
        for (UserSms other_element : other.userSmsList) {
-
 
31758
          __this__userSmsList.add(new UserSms(other_element));
-
 
31759
        }
-
 
31760
        this.userSmsList = __this__userSmsList;
-
 
31761
      }
-
 
31762
    }
-
 
31763
 
-
 
31764
    public markMessagesAsSent_args deepCopy() {
-
 
31765
      return new markMessagesAsSent_args(this);
-
 
31766
    }
-
 
31767
 
-
 
31768
    @Override
-
 
31769
    public void clear() {
-
 
31770
      this.userSmsList = null;
-
 
31771
    }
-
 
31772
 
-
 
31773
    public int getUserSmsListSize() {
-
 
31774
      return (this.userSmsList == null) ? 0 : this.userSmsList.size();
-
 
31775
    }
-
 
31776
 
-
 
31777
    public java.util.Iterator<UserSms> getUserSmsListIterator() {
-
 
31778
      return (this.userSmsList == null) ? null : this.userSmsList.iterator();
-
 
31779
    }
-
 
31780
 
-
 
31781
    public void addToUserSmsList(UserSms elem) {
-
 
31782
      if (this.userSmsList == null) {
-
 
31783
        this.userSmsList = new ArrayList<UserSms>();
-
 
31784
      }
-
 
31785
      this.userSmsList.add(elem);
-
 
31786
    }
-
 
31787
 
-
 
31788
    public List<UserSms> getUserSmsList() {
-
 
31789
      return this.userSmsList;
-
 
31790
    }
-
 
31791
 
-
 
31792
    public void setUserSmsList(List<UserSms> userSmsList) {
-
 
31793
      this.userSmsList = userSmsList;
-
 
31794
    }
-
 
31795
 
-
 
31796
    public void unsetUserSmsList() {
-
 
31797
      this.userSmsList = null;
-
 
31798
    }
-
 
31799
 
-
 
31800
    /** Returns true if field userSmsList is set (has been assigned a value) and false otherwise */
-
 
31801
    public boolean isSetUserSmsList() {
-
 
31802
      return this.userSmsList != null;
-
 
31803
    }
-
 
31804
 
-
 
31805
    public void setUserSmsListIsSet(boolean value) {
-
 
31806
      if (!value) {
-
 
31807
        this.userSmsList = null;
-
 
31808
      }
-
 
31809
    }
-
 
31810
 
-
 
31811
    public void setFieldValue(_Fields field, Object value) {
-
 
31812
      switch (field) {
-
 
31813
      case USER_SMS_LIST:
-
 
31814
        if (value == null) {
-
 
31815
          unsetUserSmsList();
-
 
31816
        } else {
-
 
31817
          setUserSmsList((List<UserSms>)value);
-
 
31818
        }
-
 
31819
        break;
-
 
31820
 
-
 
31821
      }
-
 
31822
    }
-
 
31823
 
-
 
31824
    public Object getFieldValue(_Fields field) {
-
 
31825
      switch (field) {
-
 
31826
      case USER_SMS_LIST:
-
 
31827
        return getUserSmsList();
-
 
31828
 
-
 
31829
      }
-
 
31830
      throw new IllegalStateException();
-
 
31831
    }
-
 
31832
 
-
 
31833
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
31834
    public boolean isSet(_Fields field) {
-
 
31835
      if (field == null) {
-
 
31836
        throw new IllegalArgumentException();
-
 
31837
      }
-
 
31838
 
-
 
31839
      switch (field) {
-
 
31840
      case USER_SMS_LIST:
-
 
31841
        return isSetUserSmsList();
-
 
31842
      }
-
 
31843
      throw new IllegalStateException();
-
 
31844
    }
-
 
31845
 
-
 
31846
    @Override
-
 
31847
    public boolean equals(Object that) {
-
 
31848
      if (that == null)
-
 
31849
        return false;
-
 
31850
      if (that instanceof markMessagesAsSent_args)
-
 
31851
        return this.equals((markMessagesAsSent_args)that);
-
 
31852
      return false;
-
 
31853
    }
-
 
31854
 
-
 
31855
    public boolean equals(markMessagesAsSent_args that) {
-
 
31856
      if (that == null)
-
 
31857
        return false;
-
 
31858
 
-
 
31859
      boolean this_present_userSmsList = true && this.isSetUserSmsList();
-
 
31860
      boolean that_present_userSmsList = true && that.isSetUserSmsList();
-
 
31861
      if (this_present_userSmsList || that_present_userSmsList) {
-
 
31862
        if (!(this_present_userSmsList && that_present_userSmsList))
-
 
31863
          return false;
-
 
31864
        if (!this.userSmsList.equals(that.userSmsList))
-
 
31865
          return false;
-
 
31866
      }
-
 
31867
 
-
 
31868
      return true;
-
 
31869
    }
-
 
31870
 
-
 
31871
    @Override
-
 
31872
    public int hashCode() {
-
 
31873
      return 0;
-
 
31874
    }
-
 
31875
 
-
 
31876
    public int compareTo(markMessagesAsSent_args other) {
-
 
31877
      if (!getClass().equals(other.getClass())) {
-
 
31878
        return getClass().getName().compareTo(other.getClass().getName());
-
 
31879
      }
-
 
31880
 
-
 
31881
      int lastComparison = 0;
-
 
31882
      markMessagesAsSent_args typedOther = (markMessagesAsSent_args)other;
-
 
31883
 
-
 
31884
      lastComparison = Boolean.valueOf(isSetUserSmsList()).compareTo(typedOther.isSetUserSmsList());
-
 
31885
      if (lastComparison != 0) {
-
 
31886
        return lastComparison;
-
 
31887
      }
-
 
31888
      if (isSetUserSmsList()) {
-
 
31889
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSmsList, typedOther.userSmsList);
-
 
31890
        if (lastComparison != 0) {
-
 
31891
          return lastComparison;
-
 
31892
        }
-
 
31893
      }
-
 
31894
      return 0;
-
 
31895
    }
-
 
31896
 
-
 
31897
    public _Fields fieldForId(int fieldId) {
-
 
31898
      return _Fields.findByThriftId(fieldId);
-
 
31899
    }
-
 
31900
 
-
 
31901
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
31902
      org.apache.thrift.protocol.TField field;
-
 
31903
      iprot.readStructBegin();
-
 
31904
      while (true)
-
 
31905
      {
-
 
31906
        field = iprot.readFieldBegin();
-
 
31907
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
31908
          break;
-
 
31909
        }
-
 
31910
        switch (field.id) {
-
 
31911
          case -1: // USER_SMS_LIST
-
 
31912
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
31913
              {
-
 
31914
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
-
 
31915
                this.userSmsList = new ArrayList<UserSms>(_list93.size);
-
 
31916
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
-
 
31917
                {
-
 
31918
                  UserSms _elem95; // required
-
 
31919
                  _elem95 = new UserSms();
-
 
31920
                  _elem95.read(iprot);
-
 
31921
                  this.userSmsList.add(_elem95);
-
 
31922
                }
-
 
31923
                iprot.readListEnd();
-
 
31924
              }
-
 
31925
            } else { 
-
 
31926
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31927
            }
-
 
31928
            break;
-
 
31929
          default:
-
 
31930
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
31931
        }
-
 
31932
        iprot.readFieldEnd();
-
 
31933
      }
-
 
31934
      iprot.readStructEnd();
-
 
31935
      validate();
-
 
31936
    }
-
 
31937
 
-
 
31938
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
31939
      validate();
-
 
31940
 
-
 
31941
      oprot.writeStructBegin(STRUCT_DESC);
-
 
31942
      if (this.userSmsList != null) {
-
 
31943
        oprot.writeFieldBegin(USER_SMS_LIST_FIELD_DESC);
-
 
31944
        {
-
 
31945
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.userSmsList.size()));
-
 
31946
          for (UserSms _iter96 : this.userSmsList)
-
 
31947
          {
-
 
31948
            _iter96.write(oprot);
-
 
31949
          }
-
 
31950
          oprot.writeListEnd();
-
 
31951
        }
-
 
31952
        oprot.writeFieldEnd();
-
 
31953
      }
-
 
31954
      oprot.writeFieldStop();
-
 
31955
      oprot.writeStructEnd();
-
 
31956
    }
-
 
31957
 
-
 
31958
    @Override
-
 
31959
    public String toString() {
-
 
31960
      StringBuilder sb = new StringBuilder("markMessagesAsSent_args(");
-
 
31961
      boolean first = true;
-
 
31962
 
-
 
31963
      sb.append("userSmsList:");
-
 
31964
      if (this.userSmsList == null) {
-
 
31965
        sb.append("null");
-
 
31966
      } else {
-
 
31967
        sb.append(this.userSmsList);
-
 
31968
      }
-
 
31969
      first = false;
-
 
31970
      sb.append(")");
-
 
31971
      return sb.toString();
-
 
31972
    }
-
 
31973
 
-
 
31974
    public void validate() throws org.apache.thrift.TException {
-
 
31975
      // check for required fields
-
 
31976
    }
-
 
31977
 
-
 
31978
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
31979
      try {
-
 
31980
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
31981
      } catch (org.apache.thrift.TException te) {
-
 
31982
        throw new java.io.IOException(te);
-
 
31983
      }
-
 
31984
    }
-
 
31985
 
-
 
31986
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
31987
      try {
-
 
31988
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
31989
      } catch (org.apache.thrift.TException te) {
-
 
31990
        throw new java.io.IOException(te);
-
 
31991
      }
-
 
31992
    }
-
 
31993
 
-
 
31994
  }
-
 
31995
 
-
 
31996
  public static class markMessagesAsSent_result implements org.apache.thrift.TBase<markMessagesAsSent_result, markMessagesAsSent_result._Fields>, java.io.Serializable, Cloneable   {
-
 
31997
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsSent_result");
-
 
31998
 
-
 
31999
    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);
-
 
32000
 
-
 
32001
    private boolean success; // required
-
 
32002
 
-
 
32003
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32004
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32005
      SUCCESS((short)0, "success");
-
 
32006
 
-
 
32007
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32008
 
-
 
32009
      static {
-
 
32010
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32011
          byName.put(field.getFieldName(), field);
-
 
32012
        }
-
 
32013
      }
-
 
32014
 
-
 
32015
      /**
-
 
32016
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32017
       */
-
 
32018
      public static _Fields findByThriftId(int fieldId) {
-
 
32019
        switch(fieldId) {
-
 
32020
          case 0: // SUCCESS
-
 
32021
            return SUCCESS;
-
 
32022
          default:
-
 
32023
            return null;
-
 
32024
        }
-
 
32025
      }
-
 
32026
 
-
 
32027
      /**
-
 
32028
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32029
       * if it is not found.
-
 
32030
       */
-
 
32031
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32032
        _Fields fields = findByThriftId(fieldId);
-
 
32033
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32034
        return fields;
-
 
32035
      }
-
 
32036
 
-
 
32037
      /**
-
 
32038
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32039
       */
-
 
32040
      public static _Fields findByName(String name) {
-
 
32041
        return byName.get(name);
-
 
32042
      }
-
 
32043
 
-
 
32044
      private final short _thriftId;
-
 
32045
      private final String _fieldName;
-
 
32046
 
-
 
32047
      _Fields(short thriftId, String fieldName) {
-
 
32048
        _thriftId = thriftId;
-
 
32049
        _fieldName = fieldName;
-
 
32050
      }
-
 
32051
 
-
 
32052
      public short getThriftFieldId() {
-
 
32053
        return _thriftId;
-
 
32054
      }
-
 
32055
 
-
 
32056
      public String getFieldName() {
-
 
32057
        return _fieldName;
-
 
32058
      }
-
 
32059
    }
-
 
32060
 
-
 
32061
    // isset id assignments
-
 
32062
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
32063
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
32064
 
-
 
32065
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32066
    static {
-
 
32067
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32068
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32069
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
32070
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32071
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsSent_result.class, metaDataMap);
-
 
32072
    }
-
 
32073
 
-
 
32074
    public markMessagesAsSent_result() {
-
 
32075
    }
-
 
32076
 
-
 
32077
    public markMessagesAsSent_result(
-
 
32078
      boolean success)
-
 
32079
    {
-
 
32080
      this();
-
 
32081
      this.success = success;
-
 
32082
      setSuccessIsSet(true);
-
 
32083
    }
-
 
32084
 
-
 
32085
    /**
-
 
32086
     * Performs a deep copy on <i>other</i>.
-
 
32087
     */
-
 
32088
    public markMessagesAsSent_result(markMessagesAsSent_result other) {
-
 
32089
      __isset_bit_vector.clear();
-
 
32090
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
32091
      this.success = other.success;
-
 
32092
    }
-
 
32093
 
-
 
32094
    public markMessagesAsSent_result deepCopy() {
-
 
32095
      return new markMessagesAsSent_result(this);
-
 
32096
    }
-
 
32097
 
-
 
32098
    @Override
-
 
32099
    public void clear() {
-
 
32100
      setSuccessIsSet(false);
-
 
32101
      this.success = false;
-
 
32102
    }
-
 
32103
 
-
 
32104
    public boolean isSuccess() {
-
 
32105
      return this.success;
-
 
32106
    }
-
 
32107
 
-
 
32108
    public void setSuccess(boolean success) {
-
 
32109
      this.success = success;
-
 
32110
      setSuccessIsSet(true);
-
 
32111
    }
-
 
32112
 
-
 
32113
    public void unsetSuccess() {
-
 
32114
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
32115
    }
-
 
32116
 
-
 
32117
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
32118
    public boolean isSetSuccess() {
-
 
32119
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
32120
    }
-
 
32121
 
-
 
32122
    public void setSuccessIsSet(boolean value) {
-
 
32123
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
32124
    }
-
 
32125
 
-
 
32126
    public void setFieldValue(_Fields field, Object value) {
-
 
32127
      switch (field) {
-
 
32128
      case SUCCESS:
-
 
32129
        if (value == null) {
-
 
32130
          unsetSuccess();
-
 
32131
        } else {
-
 
32132
          setSuccess((Boolean)value);
-
 
32133
        }
-
 
32134
        break;
-
 
32135
 
-
 
32136
      }
-
 
32137
    }
-
 
32138
 
-
 
32139
    public Object getFieldValue(_Fields field) {
-
 
32140
      switch (field) {
-
 
32141
      case SUCCESS:
-
 
32142
        return Boolean.valueOf(isSuccess());
-
 
32143
 
-
 
32144
      }
-
 
32145
      throw new IllegalStateException();
-
 
32146
    }
-
 
32147
 
-
 
32148
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32149
    public boolean isSet(_Fields field) {
-
 
32150
      if (field == null) {
-
 
32151
        throw new IllegalArgumentException();
-
 
32152
      }
-
 
32153
 
-
 
32154
      switch (field) {
-
 
32155
      case SUCCESS:
-
 
32156
        return isSetSuccess();
-
 
32157
      }
-
 
32158
      throw new IllegalStateException();
-
 
32159
    }
-
 
32160
 
-
 
32161
    @Override
-
 
32162
    public boolean equals(Object that) {
-
 
32163
      if (that == null)
-
 
32164
        return false;
-
 
32165
      if (that instanceof markMessagesAsSent_result)
-
 
32166
        return this.equals((markMessagesAsSent_result)that);
-
 
32167
      return false;
-
 
32168
    }
-
 
32169
 
-
 
32170
    public boolean equals(markMessagesAsSent_result that) {
-
 
32171
      if (that == null)
-
 
32172
        return false;
-
 
32173
 
-
 
32174
      boolean this_present_success = true;
-
 
32175
      boolean that_present_success = true;
-
 
32176
      if (this_present_success || that_present_success) {
-
 
32177
        if (!(this_present_success && that_present_success))
-
 
32178
          return false;
-
 
32179
        if (this.success != that.success)
-
 
32180
          return false;
-
 
32181
      }
-
 
32182
 
-
 
32183
      return true;
-
 
32184
    }
-
 
32185
 
-
 
32186
    @Override
-
 
32187
    public int hashCode() {
-
 
32188
      return 0;
-
 
32189
    }
-
 
32190
 
-
 
32191
    public int compareTo(markMessagesAsSent_result other) {
-
 
32192
      if (!getClass().equals(other.getClass())) {
-
 
32193
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32194
      }
-
 
32195
 
-
 
32196
      int lastComparison = 0;
-
 
32197
      markMessagesAsSent_result typedOther = (markMessagesAsSent_result)other;
-
 
32198
 
-
 
32199
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
32200
      if (lastComparison != 0) {
-
 
32201
        return lastComparison;
-
 
32202
      }
-
 
32203
      if (isSetSuccess()) {
-
 
32204
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
32205
        if (lastComparison != 0) {
-
 
32206
          return lastComparison;
-
 
32207
        }
-
 
32208
      }
-
 
32209
      return 0;
-
 
32210
    }
-
 
32211
 
-
 
32212
    public _Fields fieldForId(int fieldId) {
-
 
32213
      return _Fields.findByThriftId(fieldId);
-
 
32214
    }
-
 
32215
 
-
 
32216
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32217
      org.apache.thrift.protocol.TField field;
-
 
32218
      iprot.readStructBegin();
-
 
32219
      while (true)
-
 
32220
      {
-
 
32221
        field = iprot.readFieldBegin();
-
 
32222
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32223
          break;
-
 
32224
        }
-
 
32225
        switch (field.id) {
-
 
32226
          case 0: // SUCCESS
-
 
32227
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
32228
              this.success = iprot.readBool();
-
 
32229
              setSuccessIsSet(true);
-
 
32230
            } else { 
-
 
32231
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32232
            }
-
 
32233
            break;
-
 
32234
          default:
-
 
32235
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32236
        }
-
 
32237
        iprot.readFieldEnd();
-
 
32238
      }
-
 
32239
      iprot.readStructEnd();
-
 
32240
      validate();
-
 
32241
    }
-
 
32242
 
-
 
32243
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32244
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32245
 
-
 
32246
      if (this.isSetSuccess()) {
-
 
32247
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
32248
        oprot.writeBool(this.success);
-
 
32249
        oprot.writeFieldEnd();
-
 
32250
      }
-
 
32251
      oprot.writeFieldStop();
-
 
32252
      oprot.writeStructEnd();
-
 
32253
    }
-
 
32254
 
-
 
32255
    @Override
-
 
32256
    public String toString() {
-
 
32257
      StringBuilder sb = new StringBuilder("markMessagesAsSent_result(");
-
 
32258
      boolean first = true;
-
 
32259
 
-
 
32260
      sb.append("success:");
-
 
32261
      sb.append(this.success);
-
 
32262
      first = false;
-
 
32263
      sb.append(")");
-
 
32264
      return sb.toString();
-
 
32265
    }
-
 
32266
 
-
 
32267
    public void validate() throws org.apache.thrift.TException {
-
 
32268
      // check for required fields
-
 
32269
    }
-
 
32270
 
-
 
32271
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32272
      try {
-
 
32273
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32274
      } catch (org.apache.thrift.TException te) {
-
 
32275
        throw new java.io.IOException(te);
-
 
32276
      }
-
 
32277
    }
-
 
32278
 
-
 
32279
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32280
      try {
-
 
32281
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32282
      } catch (org.apache.thrift.TException te) {
-
 
32283
        throw new java.io.IOException(te);
-
 
32284
      }
-
 
32285
    }
-
 
32286
 
-
 
32287
  }
-
 
32288
 
-
 
32289
  public static class markMessagesAsRetry_args implements org.apache.thrift.TBase<markMessagesAsRetry_args, markMessagesAsRetry_args._Fields>, java.io.Serializable, Cloneable   {
-
 
32290
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsRetry_args");
-
 
32291
 
-
 
32292
    private static final org.apache.thrift.protocol.TField USER_SMS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("userSmsList", org.apache.thrift.protocol.TType.LIST, (short)-1);
-
 
32293
 
-
 
32294
    private List<UserSms> userSmsList; // required
-
 
32295
 
-
 
32296
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32297
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32298
      USER_SMS_LIST((short)-1, "userSmsList");
-
 
32299
 
-
 
32300
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32301
 
-
 
32302
      static {
-
 
32303
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32304
          byName.put(field.getFieldName(), field);
-
 
32305
        }
-
 
32306
      }
-
 
32307
 
-
 
32308
      /**
-
 
32309
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32310
       */
-
 
32311
      public static _Fields findByThriftId(int fieldId) {
-
 
32312
        switch(fieldId) {
-
 
32313
          case -1: // USER_SMS_LIST
-
 
32314
            return USER_SMS_LIST;
-
 
32315
          default:
-
 
32316
            return null;
-
 
32317
        }
-
 
32318
      }
-
 
32319
 
-
 
32320
      /**
-
 
32321
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32322
       * if it is not found.
-
 
32323
       */
-
 
32324
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32325
        _Fields fields = findByThriftId(fieldId);
-
 
32326
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32327
        return fields;
-
 
32328
      }
-
 
32329
 
-
 
32330
      /**
-
 
32331
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32332
       */
-
 
32333
      public static _Fields findByName(String name) {
-
 
32334
        return byName.get(name);
-
 
32335
      }
-
 
32336
 
-
 
32337
      private final short _thriftId;
-
 
32338
      private final String _fieldName;
-
 
32339
 
-
 
32340
      _Fields(short thriftId, String fieldName) {
-
 
32341
        _thriftId = thriftId;
-
 
32342
        _fieldName = fieldName;
-
 
32343
      }
-
 
32344
 
-
 
32345
      public short getThriftFieldId() {
-
 
32346
        return _thriftId;
-
 
32347
      }
-
 
32348
 
-
 
32349
      public String getFieldName() {
-
 
32350
        return _fieldName;
-
 
32351
      }
-
 
32352
    }
-
 
32353
 
-
 
32354
    // isset id assignments
-
 
32355
 
-
 
32356
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32357
    static {
-
 
32358
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32359
      tmpMap.put(_Fields.USER_SMS_LIST, new org.apache.thrift.meta_data.FieldMetaData("userSmsList", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32360
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
32361
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserSms.class))));
-
 
32362
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32363
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsRetry_args.class, metaDataMap);
-
 
32364
    }
-
 
32365
 
-
 
32366
    public markMessagesAsRetry_args() {
-
 
32367
    }
-
 
32368
 
-
 
32369
    public markMessagesAsRetry_args(
-
 
32370
      List<UserSms> userSmsList)
-
 
32371
    {
-
 
32372
      this();
-
 
32373
      this.userSmsList = userSmsList;
-
 
32374
    }
-
 
32375
 
-
 
32376
    /**
-
 
32377
     * Performs a deep copy on <i>other</i>.
-
 
32378
     */
-
 
32379
    public markMessagesAsRetry_args(markMessagesAsRetry_args other) {
-
 
32380
      if (other.isSetUserSmsList()) {
-
 
32381
        List<UserSms> __this__userSmsList = new ArrayList<UserSms>();
-
 
32382
        for (UserSms other_element : other.userSmsList) {
-
 
32383
          __this__userSmsList.add(new UserSms(other_element));
-
 
32384
        }
-
 
32385
        this.userSmsList = __this__userSmsList;
-
 
32386
      }
-
 
32387
    }
-
 
32388
 
-
 
32389
    public markMessagesAsRetry_args deepCopy() {
-
 
32390
      return new markMessagesAsRetry_args(this);
-
 
32391
    }
-
 
32392
 
-
 
32393
    @Override
-
 
32394
    public void clear() {
-
 
32395
      this.userSmsList = null;
-
 
32396
    }
-
 
32397
 
-
 
32398
    public int getUserSmsListSize() {
-
 
32399
      return (this.userSmsList == null) ? 0 : this.userSmsList.size();
-
 
32400
    }
-
 
32401
 
-
 
32402
    public java.util.Iterator<UserSms> getUserSmsListIterator() {
-
 
32403
      return (this.userSmsList == null) ? null : this.userSmsList.iterator();
-
 
32404
    }
-
 
32405
 
-
 
32406
    public void addToUserSmsList(UserSms elem) {
-
 
32407
      if (this.userSmsList == null) {
-
 
32408
        this.userSmsList = new ArrayList<UserSms>();
-
 
32409
      }
-
 
32410
      this.userSmsList.add(elem);
-
 
32411
    }
-
 
32412
 
-
 
32413
    public List<UserSms> getUserSmsList() {
-
 
32414
      return this.userSmsList;
-
 
32415
    }
-
 
32416
 
-
 
32417
    public void setUserSmsList(List<UserSms> userSmsList) {
-
 
32418
      this.userSmsList = userSmsList;
-
 
32419
    }
-
 
32420
 
-
 
32421
    public void unsetUserSmsList() {
-
 
32422
      this.userSmsList = null;
-
 
32423
    }
-
 
32424
 
-
 
32425
    /** Returns true if field userSmsList is set (has been assigned a value) and false otherwise */
-
 
32426
    public boolean isSetUserSmsList() {
-
 
32427
      return this.userSmsList != null;
-
 
32428
    }
-
 
32429
 
-
 
32430
    public void setUserSmsListIsSet(boolean value) {
-
 
32431
      if (!value) {
-
 
32432
        this.userSmsList = null;
-
 
32433
      }
-
 
32434
    }
-
 
32435
 
-
 
32436
    public void setFieldValue(_Fields field, Object value) {
-
 
32437
      switch (field) {
-
 
32438
      case USER_SMS_LIST:
-
 
32439
        if (value == null) {
-
 
32440
          unsetUserSmsList();
-
 
32441
        } else {
-
 
32442
          setUserSmsList((List<UserSms>)value);
-
 
32443
        }
-
 
32444
        break;
-
 
32445
 
-
 
32446
      }
-
 
32447
    }
-
 
32448
 
-
 
32449
    public Object getFieldValue(_Fields field) {
-
 
32450
      switch (field) {
-
 
32451
      case USER_SMS_LIST:
-
 
32452
        return getUserSmsList();
-
 
32453
 
-
 
32454
      }
-
 
32455
      throw new IllegalStateException();
-
 
32456
    }
-
 
32457
 
-
 
32458
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32459
    public boolean isSet(_Fields field) {
-
 
32460
      if (field == null) {
-
 
32461
        throw new IllegalArgumentException();
-
 
32462
      }
-
 
32463
 
-
 
32464
      switch (field) {
-
 
32465
      case USER_SMS_LIST:
-
 
32466
        return isSetUserSmsList();
-
 
32467
      }
-
 
32468
      throw new IllegalStateException();
-
 
32469
    }
-
 
32470
 
-
 
32471
    @Override
-
 
32472
    public boolean equals(Object that) {
-
 
32473
      if (that == null)
-
 
32474
        return false;
-
 
32475
      if (that instanceof markMessagesAsRetry_args)
-
 
32476
        return this.equals((markMessagesAsRetry_args)that);
-
 
32477
      return false;
-
 
32478
    }
-
 
32479
 
-
 
32480
    public boolean equals(markMessagesAsRetry_args that) {
-
 
32481
      if (that == null)
-
 
32482
        return false;
-
 
32483
 
-
 
32484
      boolean this_present_userSmsList = true && this.isSetUserSmsList();
-
 
32485
      boolean that_present_userSmsList = true && that.isSetUserSmsList();
-
 
32486
      if (this_present_userSmsList || that_present_userSmsList) {
-
 
32487
        if (!(this_present_userSmsList && that_present_userSmsList))
-
 
32488
          return false;
-
 
32489
        if (!this.userSmsList.equals(that.userSmsList))
-
 
32490
          return false;
-
 
32491
      }
-
 
32492
 
-
 
32493
      return true;
-
 
32494
    }
-
 
32495
 
-
 
32496
    @Override
-
 
32497
    public int hashCode() {
-
 
32498
      return 0;
-
 
32499
    }
-
 
32500
 
-
 
32501
    public int compareTo(markMessagesAsRetry_args other) {
-
 
32502
      if (!getClass().equals(other.getClass())) {
-
 
32503
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32504
      }
-
 
32505
 
-
 
32506
      int lastComparison = 0;
-
 
32507
      markMessagesAsRetry_args typedOther = (markMessagesAsRetry_args)other;
-
 
32508
 
-
 
32509
      lastComparison = Boolean.valueOf(isSetUserSmsList()).compareTo(typedOther.isSetUserSmsList());
-
 
32510
      if (lastComparison != 0) {
-
 
32511
        return lastComparison;
-
 
32512
      }
-
 
32513
      if (isSetUserSmsList()) {
-
 
32514
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSmsList, typedOther.userSmsList);
-
 
32515
        if (lastComparison != 0) {
-
 
32516
          return lastComparison;
-
 
32517
        }
-
 
32518
      }
-
 
32519
      return 0;
-
 
32520
    }
-
 
32521
 
-
 
32522
    public _Fields fieldForId(int fieldId) {
-
 
32523
      return _Fields.findByThriftId(fieldId);
-
 
32524
    }
-
 
32525
 
-
 
32526
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32527
      org.apache.thrift.protocol.TField field;
-
 
32528
      iprot.readStructBegin();
-
 
32529
      while (true)
-
 
32530
      {
-
 
32531
        field = iprot.readFieldBegin();
-
 
32532
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32533
          break;
-
 
32534
        }
-
 
32535
        switch (field.id) {
-
 
32536
          case -1: // USER_SMS_LIST
-
 
32537
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
32538
              {
-
 
32539
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
-
 
32540
                this.userSmsList = new ArrayList<UserSms>(_list97.size);
-
 
32541
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
-
 
32542
                {
-
 
32543
                  UserSms _elem99; // required
-
 
32544
                  _elem99 = new UserSms();
-
 
32545
                  _elem99.read(iprot);
-
 
32546
                  this.userSmsList.add(_elem99);
-
 
32547
                }
-
 
32548
                iprot.readListEnd();
-
 
32549
              }
-
 
32550
            } else { 
-
 
32551
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32552
            }
-
 
32553
            break;
-
 
32554
          default:
-
 
32555
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32556
        }
-
 
32557
        iprot.readFieldEnd();
-
 
32558
      }
-
 
32559
      iprot.readStructEnd();
-
 
32560
      validate();
-
 
32561
    }
-
 
32562
 
-
 
32563
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32564
      validate();
-
 
32565
 
-
 
32566
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32567
      if (this.userSmsList != null) {
-
 
32568
        oprot.writeFieldBegin(USER_SMS_LIST_FIELD_DESC);
-
 
32569
        {
-
 
32570
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.userSmsList.size()));
-
 
32571
          for (UserSms _iter100 : this.userSmsList)
-
 
32572
          {
-
 
32573
            _iter100.write(oprot);
-
 
32574
          }
-
 
32575
          oprot.writeListEnd();
-
 
32576
        }
-
 
32577
        oprot.writeFieldEnd();
-
 
32578
      }
-
 
32579
      oprot.writeFieldStop();
-
 
32580
      oprot.writeStructEnd();
-
 
32581
    }
-
 
32582
 
-
 
32583
    @Override
-
 
32584
    public String toString() {
-
 
32585
      StringBuilder sb = new StringBuilder("markMessagesAsRetry_args(");
-
 
32586
      boolean first = true;
-
 
32587
 
-
 
32588
      sb.append("userSmsList:");
-
 
32589
      if (this.userSmsList == null) {
-
 
32590
        sb.append("null");
-
 
32591
      } else {
-
 
32592
        sb.append(this.userSmsList);
-
 
32593
      }
-
 
32594
      first = false;
-
 
32595
      sb.append(")");
-
 
32596
      return sb.toString();
-
 
32597
    }
-
 
32598
 
-
 
32599
    public void validate() throws org.apache.thrift.TException {
-
 
32600
      // check for required fields
-
 
32601
    }
-
 
32602
 
-
 
32603
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
32604
      try {
-
 
32605
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
32606
      } catch (org.apache.thrift.TException te) {
-
 
32607
        throw new java.io.IOException(te);
-
 
32608
      }
-
 
32609
    }
-
 
32610
 
-
 
32611
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
32612
      try {
-
 
32613
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
32614
      } catch (org.apache.thrift.TException te) {
-
 
32615
        throw new java.io.IOException(te);
-
 
32616
      }
-
 
32617
    }
-
 
32618
 
-
 
32619
  }
-
 
32620
 
-
 
32621
  public static class markMessagesAsRetry_result implements org.apache.thrift.TBase<markMessagesAsRetry_result, markMessagesAsRetry_result._Fields>, java.io.Serializable, Cloneable   {
-
 
32622
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markMessagesAsRetry_result");
-
 
32623
 
-
 
32624
    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);
-
 
32625
 
-
 
32626
    private boolean success; // required
-
 
32627
 
-
 
32628
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
32629
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
32630
      SUCCESS((short)0, "success");
-
 
32631
 
-
 
32632
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
32633
 
-
 
32634
      static {
-
 
32635
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
32636
          byName.put(field.getFieldName(), field);
-
 
32637
        }
-
 
32638
      }
-
 
32639
 
-
 
32640
      /**
-
 
32641
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
32642
       */
-
 
32643
      public static _Fields findByThriftId(int fieldId) {
-
 
32644
        switch(fieldId) {
-
 
32645
          case 0: // SUCCESS
-
 
32646
            return SUCCESS;
-
 
32647
          default:
-
 
32648
            return null;
-
 
32649
        }
-
 
32650
      }
-
 
32651
 
-
 
32652
      /**
-
 
32653
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
32654
       * if it is not found.
-
 
32655
       */
-
 
32656
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
32657
        _Fields fields = findByThriftId(fieldId);
-
 
32658
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
32659
        return fields;
-
 
32660
      }
-
 
32661
 
-
 
32662
      /**
-
 
32663
       * Find the _Fields constant that matches name, or null if its not found.
-
 
32664
       */
-
 
32665
      public static _Fields findByName(String name) {
-
 
32666
        return byName.get(name);
-
 
32667
      }
-
 
32668
 
-
 
32669
      private final short _thriftId;
-
 
32670
      private final String _fieldName;
-
 
32671
 
-
 
32672
      _Fields(short thriftId, String fieldName) {
-
 
32673
        _thriftId = thriftId;
-
 
32674
        _fieldName = fieldName;
-
 
32675
      }
-
 
32676
 
-
 
32677
      public short getThriftFieldId() {
-
 
32678
        return _thriftId;
-
 
32679
      }
-
 
32680
 
-
 
32681
      public String getFieldName() {
-
 
32682
        return _fieldName;
-
 
32683
      }
-
 
32684
    }
-
 
32685
 
-
 
32686
    // isset id assignments
-
 
32687
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
32688
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
32689
 
-
 
32690
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
32691
    static {
-
 
32692
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
32693
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
32694
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
32695
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
32696
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markMessagesAsRetry_result.class, metaDataMap);
-
 
32697
    }
-
 
32698
 
-
 
32699
    public markMessagesAsRetry_result() {
-
 
32700
    }
-
 
32701
 
-
 
32702
    public markMessagesAsRetry_result(
-
 
32703
      boolean success)
-
 
32704
    {
-
 
32705
      this();
-
 
32706
      this.success = success;
-
 
32707
      setSuccessIsSet(true);
-
 
32708
    }
-
 
32709
 
-
 
32710
    /**
-
 
32711
     * Performs a deep copy on <i>other</i>.
-
 
32712
     */
-
 
32713
    public markMessagesAsRetry_result(markMessagesAsRetry_result other) {
-
 
32714
      __isset_bit_vector.clear();
-
 
32715
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
32716
      this.success = other.success;
-
 
32717
    }
-
 
32718
 
-
 
32719
    public markMessagesAsRetry_result deepCopy() {
-
 
32720
      return new markMessagesAsRetry_result(this);
-
 
32721
    }
-
 
32722
 
-
 
32723
    @Override
-
 
32724
    public void clear() {
-
 
32725
      setSuccessIsSet(false);
-
 
32726
      this.success = false;
-
 
32727
    }
-
 
32728
 
-
 
32729
    public boolean isSuccess() {
-
 
32730
      return this.success;
-
 
32731
    }
-
 
32732
 
-
 
32733
    public void setSuccess(boolean success) {
-
 
32734
      this.success = success;
-
 
32735
      setSuccessIsSet(true);
-
 
32736
    }
-
 
32737
 
-
 
32738
    public void unsetSuccess() {
-
 
32739
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
32740
    }
-
 
32741
 
-
 
32742
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
32743
    public boolean isSetSuccess() {
-
 
32744
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
32745
    }
-
 
32746
 
-
 
32747
    public void setSuccessIsSet(boolean value) {
-
 
32748
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
32749
    }
-
 
32750
 
-
 
32751
    public void setFieldValue(_Fields field, Object value) {
-
 
32752
      switch (field) {
-
 
32753
      case SUCCESS:
-
 
32754
        if (value == null) {
-
 
32755
          unsetSuccess();
-
 
32756
        } else {
-
 
32757
          setSuccess((Boolean)value);
-
 
32758
        }
-
 
32759
        break;
-
 
32760
 
-
 
32761
      }
-
 
32762
    }
-
 
32763
 
-
 
32764
    public Object getFieldValue(_Fields field) {
-
 
32765
      switch (field) {
-
 
32766
      case SUCCESS:
-
 
32767
        return Boolean.valueOf(isSuccess());
-
 
32768
 
-
 
32769
      }
-
 
32770
      throw new IllegalStateException();
-
 
32771
    }
-
 
32772
 
-
 
32773
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
32774
    public boolean isSet(_Fields field) {
-
 
32775
      if (field == null) {
-
 
32776
        throw new IllegalArgumentException();
-
 
32777
      }
-
 
32778
 
-
 
32779
      switch (field) {
-
 
32780
      case SUCCESS:
-
 
32781
        return isSetSuccess();
-
 
32782
      }
-
 
32783
      throw new IllegalStateException();
-
 
32784
    }
-
 
32785
 
-
 
32786
    @Override
-
 
32787
    public boolean equals(Object that) {
-
 
32788
      if (that == null)
-
 
32789
        return false;
-
 
32790
      if (that instanceof markMessagesAsRetry_result)
-
 
32791
        return this.equals((markMessagesAsRetry_result)that);
-
 
32792
      return false;
-
 
32793
    }
-
 
32794
 
-
 
32795
    public boolean equals(markMessagesAsRetry_result that) {
-
 
32796
      if (that == null)
-
 
32797
        return false;
-
 
32798
 
-
 
32799
      boolean this_present_success = true;
-
 
32800
      boolean that_present_success = true;
-
 
32801
      if (this_present_success || that_present_success) {
-
 
32802
        if (!(this_present_success && that_present_success))
-
 
32803
          return false;
-
 
32804
        if (this.success != that.success)
-
 
32805
          return false;
-
 
32806
      }
-
 
32807
 
-
 
32808
      return true;
-
 
32809
    }
-
 
32810
 
-
 
32811
    @Override
-
 
32812
    public int hashCode() {
-
 
32813
      return 0;
-
 
32814
    }
-
 
32815
 
-
 
32816
    public int compareTo(markMessagesAsRetry_result other) {
-
 
32817
      if (!getClass().equals(other.getClass())) {
-
 
32818
        return getClass().getName().compareTo(other.getClass().getName());
-
 
32819
      }
-
 
32820
 
-
 
32821
      int lastComparison = 0;
-
 
32822
      markMessagesAsRetry_result typedOther = (markMessagesAsRetry_result)other;
-
 
32823
 
-
 
32824
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
32825
      if (lastComparison != 0) {
-
 
32826
        return lastComparison;
-
 
32827
      }
-
 
32828
      if (isSetSuccess()) {
-
 
32829
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
32830
        if (lastComparison != 0) {
-
 
32831
          return lastComparison;
-
 
32832
        }
-
 
32833
      }
-
 
32834
      return 0;
-
 
32835
    }
-
 
32836
 
-
 
32837
    public _Fields fieldForId(int fieldId) {
-
 
32838
      return _Fields.findByThriftId(fieldId);
-
 
32839
    }
-
 
32840
 
-
 
32841
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
32842
      org.apache.thrift.protocol.TField field;
-
 
32843
      iprot.readStructBegin();
-
 
32844
      while (true)
-
 
32845
      {
-
 
32846
        field = iprot.readFieldBegin();
-
 
32847
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
32848
          break;
-
 
32849
        }
-
 
32850
        switch (field.id) {
-
 
32851
          case 0: // SUCCESS
-
 
32852
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
32853
              this.success = iprot.readBool();
-
 
32854
              setSuccessIsSet(true);
-
 
32855
            } else { 
-
 
32856
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32857
            }
-
 
32858
            break;
-
 
32859
          default:
-
 
32860
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
32861
        }
-
 
32862
        iprot.readFieldEnd();
-
 
32863
      }
-
 
32864
      iprot.readStructEnd();
-
 
32865
      validate();
-
 
32866
    }
-
 
32867
 
-
 
32868
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
32869
      oprot.writeStructBegin(STRUCT_DESC);
-
 
32870
 
-
 
32871
      if (this.isSetSuccess()) {
-
 
32872
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
32873
        oprot.writeBool(this.success);
-
 
32874
        oprot.writeFieldEnd();
-
 
32875
      }
-
 
32876
      oprot.writeFieldStop();
-
 
32877
      oprot.writeStructEnd();
-
 
32878
    }
-
 
32879
 
-
 
32880
    @Override
-
 
32881
    public String toString() {
-
 
32882
      StringBuilder sb = new StringBuilder("markMessagesAsRetry_result(");
-
 
32883
      boolean first = true;
-
 
32884
 
-
 
32885
      sb.append("success:");
-
 
32886
      sb.append(this.success);
-
 
32887
      first = false;
-
 
32888
      sb.append(")");
-
 
32889
      return sb.toString();
-
 
32890
    }
-
 
32891
 
24570
    public void validate() throws org.apache.thrift.TException {
32892
    public void validate() throws org.apache.thrift.TException {
24571
      // check for required fields
32893
      // check for required fields
24572
    }
32894
    }
24573
 
32895
 
24574
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
32896
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {