Subversion Repositories SmartDukaan

Rev

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

Rev 1982 Rev 1998
Line 81... Line 81...
81
 
81
 
82
    public List<UserCommunication> getUserCommunicationByUser(long userId) throws UserCommunicationException, TException;
82
    public List<UserCommunication> getUserCommunicationByUser(long userId) throws UserCommunicationException, TException;
83
 
83
 
84
    public List<UserCommunication> getAllUserCommunications() throws UserCommunicationException, TException;
84
    public List<UserCommunication> getAllUserCommunications() throws UserCommunicationException, TException;
85
 
85
 
86
    public MasterAffiliate createMasterAffiliate(String name, long addedOn) throws UserTrackerException, TException;
86
    public MasterAffiliate createMasterAffiliate(String name, long addedOn) throws UserAffiliateException, TException;
87
 
87
 
88
    public List<MasterAffiliate> getAllMasterAffiliates() throws UserTrackerException, TException;
88
    public List<MasterAffiliate> getAllMasterAffiliates() throws UserAffiliateException, TException;
89
 
89
 
90
    public MasterAffiliate getMasterAffiliateById(long id) throws UserTrackerException, TException;
90
    public MasterAffiliate getMasterAffiliateById(long id) throws UserAffiliateException, TException;
91
 
91
 
92
    public MasterAffiliate getMasterAffiliateByName(String name) throws UserTrackerException, TException;
92
    public MasterAffiliate getMasterAffiliateByName(String name) throws UserAffiliateException, TException;
93
 
93
 
94
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId, long addedOn) throws UserTrackerException, TException;
94
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId, long addedOn) throws UserAffiliateException, TException;
95
 
95
 
96
    public Affiliate getAffiliateById(long id) throws UserTrackerException, TException;
96
    public Affiliate getAffiliateById(long id) throws UserAffiliateException, TException;
97
 
97
 
98
    public Affiliate getAffiliateByName(String name) throws UserTrackerException, TException;
98
    public Affiliate getAffiliateByName(String name) throws UserAffiliateException, TException;
99
 
99
 
100
    public List<Affiliate> getAffiliatesByMasterAffiliate(long id) throws UserTrackerException, TException;
100
    public Tracker getTrackerById(long id) throws UserAffiliateException, TException;
101
 
101
 
102
    public Tracker createTracker(long affiliateId, long addedOn) throws UserTrackerException, TException;
102
    public List<Affiliate> getAffiliatesByMasterAffiliate(long id) throws UserAffiliateException, TException;
103
 
103
 
104
    public Tracker getTrackerById(long trackerId) throws UserTrackerException, TException;
104
    public long addTrackLog(long affiliateId, long userId, String event, String url, String data, long addedOn) throws UserAffiliateException, TException;
105
 
105
 
106
    public List<Tracker> getTrackersByAffiliate(long affiliateId) throws UserTrackerException, TException;
106
    public TrackLog getTrackLogById(long id) throws UserAffiliateException, TException;
107
 
107
 
108
    public long addTrackLog(long trackerId, long userId, String event, String url, String data, long addedOn) throws UserTrackerException, TException;
108
    public List<TrackLog> getTrackLogsByAffiliate(long affiliateId) throws UserAffiliateException, TException;
109
 
109
 
110
    public TrackLog getTrackLogById(long id) throws UserTrackerException, TException;
110
    public List<TrackLog> getTrackLogsByUser(long userId) throws UserAffiliateException, TException;
111
 
111
 
112
    public List<TrackLog> getTrackLogsByTracker(long trackerId) throws UserTrackerException, TException;
-
 
113
 
-
 
114
    public List<TrackLog> getTrackLogsByUser(long userId) throws UserTrackerException, TException;
-
 
115
 
-
 
116
    public List<TrackLog> getTrackLogs(long trackerId, long userId, String event, String url) throws UserTrackerException, TException;
112
    public List<TrackLog> getTrackLogs(long userId, String event, String url) throws UserAffiliateException, TException;
117
 
113
 
118
    public long createCart(long userId) throws ShoppingCartException, TException;
114
    public long createCart(long userId) throws ShoppingCartException, TException;
119
 
115
 
120
    public Cart getCurrentCart(long userId) throws ShoppingCartException, TException;
116
    public Cart getCurrentCart(long userId) throws ShoppingCartException, TException;
121
 
117
 
Line 1160... Line 1156...
1160
        throw result.ucx;
1156
        throw result.ucx;
1161
      }
1157
      }
1162
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1158
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1163
    }
1159
    }
1164
 
1160
 
1165
    public MasterAffiliate createMasterAffiliate(String name, long addedOn) throws UserTrackerException, TException
1161
    public MasterAffiliate createMasterAffiliate(String name, long addedOn) throws UserAffiliateException, TException
1166
    {
1162
    {
1167
      send_createMasterAffiliate(name, addedOn);
1163
      send_createMasterAffiliate(name, addedOn);
1168
      return recv_createMasterAffiliate();
1164
      return recv_createMasterAffiliate();
1169
    }
1165
    }
1170
 
1166
 
Line 1177... Line 1173...
1177
      args.write(oprot_);
1173
      args.write(oprot_);
1178
      oprot_.writeMessageEnd();
1174
      oprot_.writeMessageEnd();
1179
      oprot_.getTransport().flush();
1175
      oprot_.getTransport().flush();
1180
    }
1176
    }
1181
 
1177
 
1182
    public MasterAffiliate recv_createMasterAffiliate() throws UserTrackerException, TException
1178
    public MasterAffiliate recv_createMasterAffiliate() throws UserAffiliateException, TException
1183
    {
1179
    {
1184
      TMessage msg = iprot_.readMessageBegin();
1180
      TMessage msg = iprot_.readMessageBegin();
1185
      if (msg.type == TMessageType.EXCEPTION) {
1181
      if (msg.type == TMessageType.EXCEPTION) {
1186
        TApplicationException x = TApplicationException.read(iprot_);
1182
        TApplicationException x = TApplicationException.read(iprot_);
1187
        iprot_.readMessageEnd();
1183
        iprot_.readMessageEnd();
Line 1197... Line 1193...
1197
        throw result.utx;
1193
        throw result.utx;
1198
      }
1194
      }
1199
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "createMasterAffiliate failed: unknown result");
1195
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "createMasterAffiliate failed: unknown result");
1200
    }
1196
    }
1201
 
1197
 
1202
    public List<MasterAffiliate> getAllMasterAffiliates() throws UserTrackerException, TException
1198
    public List<MasterAffiliate> getAllMasterAffiliates() throws UserAffiliateException, TException
1203
    {
1199
    {
1204
      send_getAllMasterAffiliates();
1200
      send_getAllMasterAffiliates();
1205
      return recv_getAllMasterAffiliates();
1201
      return recv_getAllMasterAffiliates();
1206
    }
1202
    }
1207
 
1203
 
Line 1212... Line 1208...
1212
      args.write(oprot_);
1208
      args.write(oprot_);
1213
      oprot_.writeMessageEnd();
1209
      oprot_.writeMessageEnd();
1214
      oprot_.getTransport().flush();
1210
      oprot_.getTransport().flush();
1215
    }
1211
    }
1216
 
1212
 
1217
    public List<MasterAffiliate> recv_getAllMasterAffiliates() throws UserTrackerException, TException
1213
    public List<MasterAffiliate> recv_getAllMasterAffiliates() throws UserAffiliateException, TException
1218
    {
1214
    {
1219
      TMessage msg = iprot_.readMessageBegin();
1215
      TMessage msg = iprot_.readMessageBegin();
1220
      if (msg.type == TMessageType.EXCEPTION) {
1216
      if (msg.type == TMessageType.EXCEPTION) {
1221
        TApplicationException x = TApplicationException.read(iprot_);
1217
        TApplicationException x = TApplicationException.read(iprot_);
1222
        iprot_.readMessageEnd();
1218
        iprot_.readMessageEnd();
Line 1232... Line 1228...
1232
        throw result.utx;
1228
        throw result.utx;
1233
      }
1229
      }
1234
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAllMasterAffiliates failed: unknown result");
1230
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAllMasterAffiliates failed: unknown result");
1235
    }
1231
    }
1236
 
1232
 
1237
    public MasterAffiliate getMasterAffiliateById(long id) throws UserTrackerException, TException
1233
    public MasterAffiliate getMasterAffiliateById(long id) throws UserAffiliateException, TException
1238
    {
1234
    {
1239
      send_getMasterAffiliateById(id);
1235
      send_getMasterAffiliateById(id);
1240
      return recv_getMasterAffiliateById();
1236
      return recv_getMasterAffiliateById();
1241
    }
1237
    }
1242
 
1238
 
Line 1248... Line 1244...
1248
      args.write(oprot_);
1244
      args.write(oprot_);
1249
      oprot_.writeMessageEnd();
1245
      oprot_.writeMessageEnd();
1250
      oprot_.getTransport().flush();
1246
      oprot_.getTransport().flush();
1251
    }
1247
    }
1252
 
1248
 
1253
    public MasterAffiliate recv_getMasterAffiliateById() throws UserTrackerException, TException
1249
    public MasterAffiliate recv_getMasterAffiliateById() throws UserAffiliateException, TException
1254
    {
1250
    {
1255
      TMessage msg = iprot_.readMessageBegin();
1251
      TMessage msg = iprot_.readMessageBegin();
1256
      if (msg.type == TMessageType.EXCEPTION) {
1252
      if (msg.type == TMessageType.EXCEPTION) {
1257
        TApplicationException x = TApplicationException.read(iprot_);
1253
        TApplicationException x = TApplicationException.read(iprot_);
1258
        iprot_.readMessageEnd();
1254
        iprot_.readMessageEnd();
Line 1268... Line 1264...
1268
        throw result.utx;
1264
        throw result.utx;
1269
      }
1265
      }
1270
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateById failed: unknown result");
1266
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateById failed: unknown result");
1271
    }
1267
    }
1272
 
1268
 
1273
    public MasterAffiliate getMasterAffiliateByName(String name) throws UserTrackerException, TException
1269
    public MasterAffiliate getMasterAffiliateByName(String name) throws UserAffiliateException, TException
1274
    {
1270
    {
1275
      send_getMasterAffiliateByName(name);
1271
      send_getMasterAffiliateByName(name);
1276
      return recv_getMasterAffiliateByName();
1272
      return recv_getMasterAffiliateByName();
1277
    }
1273
    }
1278
 
1274
 
Line 1284... Line 1280...
1284
      args.write(oprot_);
1280
      args.write(oprot_);
1285
      oprot_.writeMessageEnd();
1281
      oprot_.writeMessageEnd();
1286
      oprot_.getTransport().flush();
1282
      oprot_.getTransport().flush();
1287
    }
1283
    }
1288
 
1284
 
1289
    public MasterAffiliate recv_getMasterAffiliateByName() throws UserTrackerException, TException
1285
    public MasterAffiliate recv_getMasterAffiliateByName() throws UserAffiliateException, TException
1290
    {
1286
    {
1291
      TMessage msg = iprot_.readMessageBegin();
1287
      TMessage msg = iprot_.readMessageBegin();
1292
      if (msg.type == TMessageType.EXCEPTION) {
1288
      if (msg.type == TMessageType.EXCEPTION) {
1293
        TApplicationException x = TApplicationException.read(iprot_);
1289
        TApplicationException x = TApplicationException.read(iprot_);
1294
        iprot_.readMessageEnd();
1290
        iprot_.readMessageEnd();
Line 1304... Line 1300...
1304
        throw result.utx;
1300
        throw result.utx;
1305
      }
1301
      }
1306
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateByName failed: unknown result");
1302
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateByName failed: unknown result");
1307
    }
1303
    }
1308
 
1304
 
1309
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId, long addedOn) throws UserTrackerException, TException
1305
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId, long addedOn) throws UserAffiliateException, TException
1310
    {
1306
    {
1311
      send_createAffiliate(name, url, masterAffiliateId, addedOn);
1307
      send_createAffiliate(name, url, masterAffiliateId, addedOn);
1312
      return recv_createAffiliate();
1308
      return recv_createAffiliate();
1313
    }
1309
    }
1314
 
1310
 
Line 1323... Line 1319...
1323
      args.write(oprot_);
1319
      args.write(oprot_);
1324
      oprot_.writeMessageEnd();
1320
      oprot_.writeMessageEnd();
1325
      oprot_.getTransport().flush();
1321
      oprot_.getTransport().flush();
1326
    }
1322
    }
1327
 
1323
 
1328
    public Affiliate recv_createAffiliate() throws UserTrackerException, TException
1324
    public Affiliate recv_createAffiliate() throws UserAffiliateException, TException
1329
    {
1325
    {
1330
      TMessage msg = iprot_.readMessageBegin();
1326
      TMessage msg = iprot_.readMessageBegin();
1331
      if (msg.type == TMessageType.EXCEPTION) {
1327
      if (msg.type == TMessageType.EXCEPTION) {
1332
        TApplicationException x = TApplicationException.read(iprot_);
1328
        TApplicationException x = TApplicationException.read(iprot_);
1333
        iprot_.readMessageEnd();
1329
        iprot_.readMessageEnd();
Line 1343... Line 1339...
1343
        throw result.utx;
1339
        throw result.utx;
1344
      }
1340
      }
1345
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "createAffiliate failed: unknown result");
1341
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "createAffiliate failed: unknown result");
1346
    }
1342
    }
1347
 
1343
 
1348
    public Affiliate getAffiliateById(long id) throws UserTrackerException, TException
1344
    public Affiliate getAffiliateById(long id) throws UserAffiliateException, TException
1349
    {
1345
    {
1350
      send_getAffiliateById(id);
1346
      send_getAffiliateById(id);
1351
      return recv_getAffiliateById();
1347
      return recv_getAffiliateById();
1352
    }
1348
    }
1353
 
1349
 
Line 1359... Line 1355...
1359
      args.write(oprot_);
1355
      args.write(oprot_);
1360
      oprot_.writeMessageEnd();
1356
      oprot_.writeMessageEnd();
1361
      oprot_.getTransport().flush();
1357
      oprot_.getTransport().flush();
1362
    }
1358
    }
1363
 
1359
 
1364
    public Affiliate recv_getAffiliateById() throws UserTrackerException, TException
1360
    public Affiliate recv_getAffiliateById() throws UserAffiliateException, TException
1365
    {
1361
    {
1366
      TMessage msg = iprot_.readMessageBegin();
1362
      TMessage msg = iprot_.readMessageBegin();
1367
      if (msg.type == TMessageType.EXCEPTION) {
1363
      if (msg.type == TMessageType.EXCEPTION) {
1368
        TApplicationException x = TApplicationException.read(iprot_);
1364
        TApplicationException x = TApplicationException.read(iprot_);
1369
        iprot_.readMessageEnd();
1365
        iprot_.readMessageEnd();
Line 1379... Line 1375...
1379
        throw result.utx;
1375
        throw result.utx;
1380
      }
1376
      }
1381
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateById failed: unknown result");
1377
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateById failed: unknown result");
1382
    }
1378
    }
1383
 
1379
 
1384
    public Affiliate getAffiliateByName(String name) throws UserTrackerException, TException
1380
    public Affiliate getAffiliateByName(String name) throws UserAffiliateException, TException
1385
    {
1381
    {
1386
      send_getAffiliateByName(name);
1382
      send_getAffiliateByName(name);
1387
      return recv_getAffiliateByName();
1383
      return recv_getAffiliateByName();
1388
    }
1384
    }
1389
 
1385
 
Line 1395... Line 1391...
1395
      args.write(oprot_);
1391
      args.write(oprot_);
1396
      oprot_.writeMessageEnd();
1392
      oprot_.writeMessageEnd();
1397
      oprot_.getTransport().flush();
1393
      oprot_.getTransport().flush();
1398
    }
1394
    }
1399
 
1395
 
1400
    public Affiliate recv_getAffiliateByName() throws UserTrackerException, TException
1396
    public Affiliate recv_getAffiliateByName() throws UserAffiliateException, TException
1401
    {
1397
    {
1402
      TMessage msg = iprot_.readMessageBegin();
1398
      TMessage msg = iprot_.readMessageBegin();
1403
      if (msg.type == TMessageType.EXCEPTION) {
1399
      if (msg.type == TMessageType.EXCEPTION) {
1404
        TApplicationException x = TApplicationException.read(iprot_);
1400
        TApplicationException x = TApplicationException.read(iprot_);
1405
        iprot_.readMessageEnd();
1401
        iprot_.readMessageEnd();
Line 1415... Line 1411...
1415
        throw result.utx;
1411
        throw result.utx;
1416
      }
1412
      }
1417
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateByName failed: unknown result");
1413
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliateByName failed: unknown result");
1418
    }
1414
    }
1419
 
1415
 
1420
    public List<Affiliate> getAffiliatesByMasterAffiliate(long id) throws UserTrackerException, TException
-
 
1421
    {
-
 
1422
      send_getAffiliatesByMasterAffiliate(id);
-
 
1423
      return recv_getAffiliatesByMasterAffiliate();
-
 
1424
    }
-
 
1425
 
-
 
1426
    public void send_getAffiliatesByMasterAffiliate(long id) throws TException
-
 
1427
    {
-
 
1428
      oprot_.writeMessageBegin(new TMessage("getAffiliatesByMasterAffiliate", TMessageType.CALL, seqid_));
-
 
1429
      getAffiliatesByMasterAffiliate_args args = new getAffiliatesByMasterAffiliate_args();
-
 
1430
      args.id = id;
-
 
1431
      args.write(oprot_);
-
 
1432
      oprot_.writeMessageEnd();
-
 
1433
      oprot_.getTransport().flush();
-
 
1434
    }
-
 
1435
 
-
 
1436
    public List<Affiliate> recv_getAffiliatesByMasterAffiliate() throws UserTrackerException, TException
-
 
1437
    {
-
 
1438
      TMessage msg = iprot_.readMessageBegin();
-
 
1439
      if (msg.type == TMessageType.EXCEPTION) {
-
 
1440
        TApplicationException x = TApplicationException.read(iprot_);
-
 
1441
        iprot_.readMessageEnd();
-
 
1442
        throw x;
-
 
1443
      }
-
 
1444
      getAffiliatesByMasterAffiliate_result result = new getAffiliatesByMasterAffiliate_result();
-
 
1445
      result.read(iprot_);
-
 
1446
      iprot_.readMessageEnd();
-
 
1447
      if (result.isSetSuccess()) {
-
 
1448
        return result.success;
-
 
1449
      }
-
 
1450
      if (result.utx != null) {
-
 
1451
        throw result.utx;
-
 
1452
      }
-
 
1453
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
-
 
1454
    }
-
 
1455
 
-
 
1456
    public Tracker createTracker(long affiliateId, long addedOn) throws UserTrackerException, TException
1416
    public Tracker getTrackerById(long id) throws UserAffiliateException, TException
1457
    {
1417
    {
1458
      send_createTracker(affiliateId, addedOn);
-
 
1459
      return recv_createTracker();
-
 
1460
    }
-
 
1461
 
-
 
1462
    public void send_createTracker(long affiliateId, long addedOn) throws TException
-
 
1463
    {
-
 
1464
      oprot_.writeMessageBegin(new TMessage("createTracker", TMessageType.CALL, seqid_));
-
 
1465
      createTracker_args args = new createTracker_args();
-
 
1466
      args.affiliateId = affiliateId;
-
 
1467
      args.addedOn = addedOn;
-
 
1468
      args.write(oprot_);
-
 
1469
      oprot_.writeMessageEnd();
-
 
1470
      oprot_.getTransport().flush();
-
 
1471
    }
-
 
1472
 
-
 
1473
    public Tracker recv_createTracker() throws UserTrackerException, TException
-
 
1474
    {
-
 
1475
      TMessage msg = iprot_.readMessageBegin();
-
 
1476
      if (msg.type == TMessageType.EXCEPTION) {
-
 
1477
        TApplicationException x = TApplicationException.read(iprot_);
-
 
1478
        iprot_.readMessageEnd();
-
 
1479
        throw x;
-
 
1480
      }
-
 
1481
      createTracker_result result = new createTracker_result();
-
 
1482
      result.read(iprot_);
-
 
1483
      iprot_.readMessageEnd();
-
 
1484
      if (result.isSetSuccess()) {
-
 
1485
        return result.success;
-
 
1486
      }
-
 
1487
      if (result.utx != null) {
-
 
1488
        throw result.utx;
-
 
1489
      }
-
 
1490
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "createTracker failed: unknown result");
-
 
1491
    }
-
 
1492
 
-
 
1493
    public Tracker getTrackerById(long trackerId) throws UserTrackerException, TException
-
 
1494
    {
-
 
1495
      send_getTrackerById(trackerId);
1418
      send_getTrackerById(id);
1496
      return recv_getTrackerById();
1419
      return recv_getTrackerById();
1497
    }
1420
    }
1498
 
1421
 
1499
    public void send_getTrackerById(long trackerId) throws TException
1422
    public void send_getTrackerById(long id) throws TException
1500
    {
1423
    {
1501
      oprot_.writeMessageBegin(new TMessage("getTrackerById", TMessageType.CALL, seqid_));
1424
      oprot_.writeMessageBegin(new TMessage("getTrackerById", TMessageType.CALL, seqid_));
1502
      getTrackerById_args args = new getTrackerById_args();
1425
      getTrackerById_args args = new getTrackerById_args();
1503
      args.trackerId = trackerId;
1426
      args.id = id;
1504
      args.write(oprot_);
1427
      args.write(oprot_);
1505
      oprot_.writeMessageEnd();
1428
      oprot_.writeMessageEnd();
1506
      oprot_.getTransport().flush();
1429
      oprot_.getTransport().flush();
1507
    }
1430
    }
1508
 
1431
 
1509
    public Tracker recv_getTrackerById() throws UserTrackerException, TException
1432
    public Tracker recv_getTrackerById() throws UserAffiliateException, TException
1510
    {
1433
    {
1511
      TMessage msg = iprot_.readMessageBegin();
1434
      TMessage msg = iprot_.readMessageBegin();
1512
      if (msg.type == TMessageType.EXCEPTION) {
1435
      if (msg.type == TMessageType.EXCEPTION) {
1513
        TApplicationException x = TApplicationException.read(iprot_);
1436
        TApplicationException x = TApplicationException.read(iprot_);
1514
        iprot_.readMessageEnd();
1437
        iprot_.readMessageEnd();
Line 1524... Line 1447...
1524
        throw result.utx;
1447
        throw result.utx;
1525
      }
1448
      }
1526
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackerById failed: unknown result");
1449
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackerById failed: unknown result");
1527
    }
1450
    }
1528
 
1451
 
1529
    public List<Tracker> getTrackersByAffiliate(long affiliateId) throws UserTrackerException, TException
1452
    public List<Affiliate> getAffiliatesByMasterAffiliate(long id) throws UserAffiliateException, TException
1530
    {
1453
    {
1531
      send_getTrackersByAffiliate(affiliateId);
1454
      send_getAffiliatesByMasterAffiliate(id);
1532
      return recv_getTrackersByAffiliate();
1455
      return recv_getAffiliatesByMasterAffiliate();
1533
    }
1456
    }
1534
 
1457
 
1535
    public void send_getTrackersByAffiliate(long affiliateId) throws TException
1458
    public void send_getAffiliatesByMasterAffiliate(long id) throws TException
1536
    {
1459
    {
1537
      oprot_.writeMessageBegin(new TMessage("getTrackersByAffiliate", TMessageType.CALL, seqid_));
1460
      oprot_.writeMessageBegin(new TMessage("getAffiliatesByMasterAffiliate", TMessageType.CALL, seqid_));
1538
      getTrackersByAffiliate_args args = new getTrackersByAffiliate_args();
1461
      getAffiliatesByMasterAffiliate_args args = new getAffiliatesByMasterAffiliate_args();
1539
      args.affiliateId = affiliateId;
1462
      args.id = id;
1540
      args.write(oprot_);
1463
      args.write(oprot_);
1541
      oprot_.writeMessageEnd();
1464
      oprot_.writeMessageEnd();
1542
      oprot_.getTransport().flush();
1465
      oprot_.getTransport().flush();
1543
    }
1466
    }
1544
 
1467
 
1545
    public List<Tracker> recv_getTrackersByAffiliate() throws UserTrackerException, TException
1468
    public List<Affiliate> recv_getAffiliatesByMasterAffiliate() throws UserAffiliateException, TException
1546
    {
1469
    {
1547
      TMessage msg = iprot_.readMessageBegin();
1470
      TMessage msg = iprot_.readMessageBegin();
1548
      if (msg.type == TMessageType.EXCEPTION) {
1471
      if (msg.type == TMessageType.EXCEPTION) {
1549
        TApplicationException x = TApplicationException.read(iprot_);
1472
        TApplicationException x = TApplicationException.read(iprot_);
1550
        iprot_.readMessageEnd();
1473
        iprot_.readMessageEnd();
1551
        throw x;
1474
        throw x;
1552
      }
1475
      }
1553
      getTrackersByAffiliate_result result = new getTrackersByAffiliate_result();
1476
      getAffiliatesByMasterAffiliate_result result = new getAffiliatesByMasterAffiliate_result();
1554
      result.read(iprot_);
1477
      result.read(iprot_);
1555
      iprot_.readMessageEnd();
1478
      iprot_.readMessageEnd();
1556
      if (result.isSetSuccess()) {
1479
      if (result.isSetSuccess()) {
1557
        return result.success;
1480
        return result.success;
1558
      }
1481
      }
1559
      if (result.utx != null) {
1482
      if (result.utx != null) {
1560
        throw result.utx;
1483
        throw result.utx;
1561
      }
1484
      }
1562
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackersByAffiliate failed: unknown result");
1485
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
1563
    }
1486
    }
1564
 
1487
 
1565
    public long addTrackLog(long trackerId, long userId, String event, String url, String data, long addedOn) throws UserTrackerException, TException
1488
    public long addTrackLog(long affiliateId, long userId, String event, String url, String data, long addedOn) throws UserAffiliateException, TException
1566
    {
1489
    {
1567
      send_addTrackLog(trackerId, userId, event, url, data, addedOn);
1490
      send_addTrackLog(affiliateId, userId, event, url, data, addedOn);
1568
      return recv_addTrackLog();
1491
      return recv_addTrackLog();
1569
    }
1492
    }
1570
 
1493
 
1571
    public void send_addTrackLog(long trackerId, long userId, String event, String url, String data, long addedOn) throws TException
1494
    public void send_addTrackLog(long affiliateId, long userId, String event, String url, String data, long addedOn) throws TException
1572
    {
1495
    {
1573
      oprot_.writeMessageBegin(new TMessage("addTrackLog", TMessageType.CALL, seqid_));
1496
      oprot_.writeMessageBegin(new TMessage("addTrackLog", TMessageType.CALL, seqid_));
1574
      addTrackLog_args args = new addTrackLog_args();
1497
      addTrackLog_args args = new addTrackLog_args();
1575
      args.trackerId = trackerId;
1498
      args.affiliateId = affiliateId;
1576
      args.userId = userId;
1499
      args.userId = userId;
1577
      args.event = event;
1500
      args.event = event;
1578
      args.url = url;
1501
      args.url = url;
1579
      args.data = data;
1502
      args.data = data;
1580
      args.addedOn = addedOn;
1503
      args.addedOn = addedOn;
1581
      args.write(oprot_);
1504
      args.write(oprot_);
1582
      oprot_.writeMessageEnd();
1505
      oprot_.writeMessageEnd();
1583
      oprot_.getTransport().flush();
1506
      oprot_.getTransport().flush();
1584
    }
1507
    }
1585
 
1508
 
1586
    public long recv_addTrackLog() throws UserTrackerException, TException
1509
    public long recv_addTrackLog() throws UserAffiliateException, TException
1587
    {
1510
    {
1588
      TMessage msg = iprot_.readMessageBegin();
1511
      TMessage msg = iprot_.readMessageBegin();
1589
      if (msg.type == TMessageType.EXCEPTION) {
1512
      if (msg.type == TMessageType.EXCEPTION) {
1590
        TApplicationException x = TApplicationException.read(iprot_);
1513
        TApplicationException x = TApplicationException.read(iprot_);
1591
        iprot_.readMessageEnd();
1514
        iprot_.readMessageEnd();
Line 1601... Line 1524...
1601
        throw result.utx;
1524
        throw result.utx;
1602
      }
1525
      }
1603
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "addTrackLog failed: unknown result");
1526
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "addTrackLog failed: unknown result");
1604
    }
1527
    }
1605
 
1528
 
1606
    public TrackLog getTrackLogById(long id) throws UserTrackerException, TException
1529
    public TrackLog getTrackLogById(long id) throws UserAffiliateException, TException
1607
    {
1530
    {
1608
      send_getTrackLogById(id);
1531
      send_getTrackLogById(id);
1609
      return recv_getTrackLogById();
1532
      return recv_getTrackLogById();
1610
    }
1533
    }
1611
 
1534
 
Line 1617... Line 1540...
1617
      args.write(oprot_);
1540
      args.write(oprot_);
1618
      oprot_.writeMessageEnd();
1541
      oprot_.writeMessageEnd();
1619
      oprot_.getTransport().flush();
1542
      oprot_.getTransport().flush();
1620
    }
1543
    }
1621
 
1544
 
1622
    public TrackLog recv_getTrackLogById() throws UserTrackerException, TException
1545
    public TrackLog recv_getTrackLogById() throws UserAffiliateException, TException
1623
    {
1546
    {
1624
      TMessage msg = iprot_.readMessageBegin();
1547
      TMessage msg = iprot_.readMessageBegin();
1625
      if (msg.type == TMessageType.EXCEPTION) {
1548
      if (msg.type == TMessageType.EXCEPTION) {
1626
        TApplicationException x = TApplicationException.read(iprot_);
1549
        TApplicationException x = TApplicationException.read(iprot_);
1627
        iprot_.readMessageEnd();
1550
        iprot_.readMessageEnd();
Line 1637... Line 1560...
1637
        throw result.utx;
1560
        throw result.utx;
1638
      }
1561
      }
1639
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogById failed: unknown result");
1562
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogById failed: unknown result");
1640
    }
1563
    }
1641
 
1564
 
1642
    public List<TrackLog> getTrackLogsByTracker(long trackerId) throws UserTrackerException, TException
1565
    public List<TrackLog> getTrackLogsByAffiliate(long affiliateId) throws UserAffiliateException, TException
1643
    {
1566
    {
1644
      send_getTrackLogsByTracker(trackerId);
1567
      send_getTrackLogsByAffiliate(affiliateId);
1645
      return recv_getTrackLogsByTracker();
1568
      return recv_getTrackLogsByAffiliate();
1646
    }
1569
    }
1647
 
1570
 
1648
    public void send_getTrackLogsByTracker(long trackerId) throws TException
1571
    public void send_getTrackLogsByAffiliate(long affiliateId) throws TException
1649
    {
1572
    {
1650
      oprot_.writeMessageBegin(new TMessage("getTrackLogsByTracker", TMessageType.CALL, seqid_));
1573
      oprot_.writeMessageBegin(new TMessage("getTrackLogsByAffiliate", TMessageType.CALL, seqid_));
1651
      getTrackLogsByTracker_args args = new getTrackLogsByTracker_args();
1574
      getTrackLogsByAffiliate_args args = new getTrackLogsByAffiliate_args();
1652
      args.trackerId = trackerId;
1575
      args.affiliateId = affiliateId;
1653
      args.write(oprot_);
1576
      args.write(oprot_);
1654
      oprot_.writeMessageEnd();
1577
      oprot_.writeMessageEnd();
1655
      oprot_.getTransport().flush();
1578
      oprot_.getTransport().flush();
1656
    }
1579
    }
1657
 
1580
 
1658
    public List<TrackLog> recv_getTrackLogsByTracker() throws UserTrackerException, TException
1581
    public List<TrackLog> recv_getTrackLogsByAffiliate() throws UserAffiliateException, TException
1659
    {
1582
    {
1660
      TMessage msg = iprot_.readMessageBegin();
1583
      TMessage msg = iprot_.readMessageBegin();
1661
      if (msg.type == TMessageType.EXCEPTION) {
1584
      if (msg.type == TMessageType.EXCEPTION) {
1662
        TApplicationException x = TApplicationException.read(iprot_);
1585
        TApplicationException x = TApplicationException.read(iprot_);
1663
        iprot_.readMessageEnd();
1586
        iprot_.readMessageEnd();
1664
        throw x;
1587
        throw x;
1665
      }
1588
      }
1666
      getTrackLogsByTracker_result result = new getTrackLogsByTracker_result();
1589
      getTrackLogsByAffiliate_result result = new getTrackLogsByAffiliate_result();
1667
      result.read(iprot_);
1590
      result.read(iprot_);
1668
      iprot_.readMessageEnd();
1591
      iprot_.readMessageEnd();
1669
      if (result.isSetSuccess()) {
1592
      if (result.isSetSuccess()) {
1670
        return result.success;
1593
        return result.success;
1671
      }
1594
      }
1672
      if (result.utx != null) {
1595
      if (result.utx != null) {
1673
        throw result.utx;
1596
        throw result.utx;
1674
      }
1597
      }
1675
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByTracker failed: unknown result");
1598
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByAffiliate failed: unknown result");
1676
    }
1599
    }
1677
 
1600
 
1678
    public List<TrackLog> getTrackLogsByUser(long userId) throws UserTrackerException, TException
1601
    public List<TrackLog> getTrackLogsByUser(long userId) throws UserAffiliateException, TException
1679
    {
1602
    {
1680
      send_getTrackLogsByUser(userId);
1603
      send_getTrackLogsByUser(userId);
1681
      return recv_getTrackLogsByUser();
1604
      return recv_getTrackLogsByUser();
1682
    }
1605
    }
1683
 
1606
 
Line 1689... Line 1612...
1689
      args.write(oprot_);
1612
      args.write(oprot_);
1690
      oprot_.writeMessageEnd();
1613
      oprot_.writeMessageEnd();
1691
      oprot_.getTransport().flush();
1614
      oprot_.getTransport().flush();
1692
    }
1615
    }
1693
 
1616
 
1694
    public List<TrackLog> recv_getTrackLogsByUser() throws UserTrackerException, TException
1617
    public List<TrackLog> recv_getTrackLogsByUser() throws UserAffiliateException, TException
1695
    {
1618
    {
1696
      TMessage msg = iprot_.readMessageBegin();
1619
      TMessage msg = iprot_.readMessageBegin();
1697
      if (msg.type == TMessageType.EXCEPTION) {
1620
      if (msg.type == TMessageType.EXCEPTION) {
1698
        TApplicationException x = TApplicationException.read(iprot_);
1621
        TApplicationException x = TApplicationException.read(iprot_);
1699
        iprot_.readMessageEnd();
1622
        iprot_.readMessageEnd();
Line 1709... Line 1632...
1709
        throw result.utx;
1632
        throw result.utx;
1710
      }
1633
      }
1711
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByUser failed: unknown result");
1634
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackLogsByUser failed: unknown result");
1712
    }
1635
    }
1713
 
1636
 
1714
    public List<TrackLog> getTrackLogs(long trackerId, long userId, String event, String url) throws UserTrackerException, TException
1637
    public List<TrackLog> getTrackLogs(long userId, String event, String url) throws UserAffiliateException, TException
1715
    {
1638
    {
1716
      send_getTrackLogs(trackerId, userId, event, url);
1639
      send_getTrackLogs(userId, event, url);
1717
      return recv_getTrackLogs();
1640
      return recv_getTrackLogs();
1718
    }
1641
    }
1719
 
1642
 
1720
    public void send_getTrackLogs(long trackerId, long userId, String event, String url) throws TException
1643
    public void send_getTrackLogs(long userId, String event, String url) throws TException
1721
    {
1644
    {
1722
      oprot_.writeMessageBegin(new TMessage("getTrackLogs", TMessageType.CALL, seqid_));
1645
      oprot_.writeMessageBegin(new TMessage("getTrackLogs", TMessageType.CALL, seqid_));
1723
      getTrackLogs_args args = new getTrackLogs_args();
1646
      getTrackLogs_args args = new getTrackLogs_args();
1724
      args.trackerId = trackerId;
-
 
1725
      args.userId = userId;
1647
      args.userId = userId;
1726
      args.event = event;
1648
      args.event = event;
1727
      args.url = url;
1649
      args.url = url;
1728
      args.write(oprot_);
1650
      args.write(oprot_);
1729
      oprot_.writeMessageEnd();
1651
      oprot_.writeMessageEnd();
1730
      oprot_.getTransport().flush();
1652
      oprot_.getTransport().flush();
1731
    }
1653
    }
1732
 
1654
 
1733
    public List<TrackLog> recv_getTrackLogs() throws UserTrackerException, TException
1655
    public List<TrackLog> recv_getTrackLogs() throws UserAffiliateException, TException
1734
    {
1656
    {
1735
      TMessage msg = iprot_.readMessageBegin();
1657
      TMessage msg = iprot_.readMessageBegin();
1736
      if (msg.type == TMessageType.EXCEPTION) {
1658
      if (msg.type == TMessageType.EXCEPTION) {
1737
        TApplicationException x = TApplicationException.read(iprot_);
1659
        TApplicationException x = TApplicationException.read(iprot_);
1738
        iprot_.readMessageEnd();
1660
        iprot_.readMessageEnd();
Line 2730... Line 2652...
2730
      processMap_.put("getMasterAffiliateById", new getMasterAffiliateById());
2652
      processMap_.put("getMasterAffiliateById", new getMasterAffiliateById());
2731
      processMap_.put("getMasterAffiliateByName", new getMasterAffiliateByName());
2653
      processMap_.put("getMasterAffiliateByName", new getMasterAffiliateByName());
2732
      processMap_.put("createAffiliate", new createAffiliate());
2654
      processMap_.put("createAffiliate", new createAffiliate());
2733
      processMap_.put("getAffiliateById", new getAffiliateById());
2655
      processMap_.put("getAffiliateById", new getAffiliateById());
2734
      processMap_.put("getAffiliateByName", new getAffiliateByName());
2656
      processMap_.put("getAffiliateByName", new getAffiliateByName());
2735
      processMap_.put("getAffiliatesByMasterAffiliate", new getAffiliatesByMasterAffiliate());
-
 
2736
      processMap_.put("createTracker", new createTracker());
-
 
2737
      processMap_.put("getTrackerById", new getTrackerById());
2657
      processMap_.put("getTrackerById", new getTrackerById());
2738
      processMap_.put("getTrackersByAffiliate", new getTrackersByAffiliate());
2658
      processMap_.put("getAffiliatesByMasterAffiliate", new getAffiliatesByMasterAffiliate());
2739
      processMap_.put("addTrackLog", new addTrackLog());
2659
      processMap_.put("addTrackLog", new addTrackLog());
2740
      processMap_.put("getTrackLogById", new getTrackLogById());
2660
      processMap_.put("getTrackLogById", new getTrackLogById());
2741
      processMap_.put("getTrackLogsByTracker", new getTrackLogsByTracker());
2661
      processMap_.put("getTrackLogsByAffiliate", new getTrackLogsByAffiliate());
2742
      processMap_.put("getTrackLogsByUser", new getTrackLogsByUser());
2662
      processMap_.put("getTrackLogsByUser", new getTrackLogsByUser());
2743
      processMap_.put("getTrackLogs", new getTrackLogs());
2663
      processMap_.put("getTrackLogs", new getTrackLogs());
2744
      processMap_.put("createCart", new createCart());
2664
      processMap_.put("createCart", new createCart());
2745
      processMap_.put("getCurrentCart", new getCurrentCart());
2665
      processMap_.put("getCurrentCart", new getCurrentCart());
2746
      processMap_.put("getCart", new getCart());
2666
      processMap_.put("getCart", new getCart());
Line 3501... Line 3421...
3501
        args.read(iprot);
3421
        args.read(iprot);
3502
        iprot.readMessageEnd();
3422
        iprot.readMessageEnd();
3503
        createMasterAffiliate_result result = new createMasterAffiliate_result();
3423
        createMasterAffiliate_result result = new createMasterAffiliate_result();
3504
        try {
3424
        try {
3505
          result.success = iface_.createMasterAffiliate(args.name, args.addedOn);
3425
          result.success = iface_.createMasterAffiliate(args.name, args.addedOn);
3506
        } catch (UserTrackerException utx) {
3426
        } catch (UserAffiliateException utx) {
3507
          result.utx = utx;
3427
          result.utx = utx;
3508
        } catch (Throwable th) {
3428
        } catch (Throwable th) {
3509
          LOGGER.error("Internal error processing createMasterAffiliate", th);
3429
          LOGGER.error("Internal error processing createMasterAffiliate", th);
3510
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createMasterAffiliate");
3430
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createMasterAffiliate");
3511
          oprot.writeMessageBegin(new TMessage("createMasterAffiliate", TMessageType.EXCEPTION, seqid));
3431
          oprot.writeMessageBegin(new TMessage("createMasterAffiliate", TMessageType.EXCEPTION, seqid));
Line 3529... Line 3449...
3529
        args.read(iprot);
3449
        args.read(iprot);
3530
        iprot.readMessageEnd();
3450
        iprot.readMessageEnd();
3531
        getAllMasterAffiliates_result result = new getAllMasterAffiliates_result();
3451
        getAllMasterAffiliates_result result = new getAllMasterAffiliates_result();
3532
        try {
3452
        try {
3533
          result.success = iface_.getAllMasterAffiliates();
3453
          result.success = iface_.getAllMasterAffiliates();
3534
        } catch (UserTrackerException utx) {
3454
        } catch (UserAffiliateException utx) {
3535
          result.utx = utx;
3455
          result.utx = utx;
3536
        } catch (Throwable th) {
3456
        } catch (Throwable th) {
3537
          LOGGER.error("Internal error processing getAllMasterAffiliates", th);
3457
          LOGGER.error("Internal error processing getAllMasterAffiliates", th);
3538
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAllMasterAffiliates");
3458
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAllMasterAffiliates");
3539
          oprot.writeMessageBegin(new TMessage("getAllMasterAffiliates", TMessageType.EXCEPTION, seqid));
3459
          oprot.writeMessageBegin(new TMessage("getAllMasterAffiliates", TMessageType.EXCEPTION, seqid));
Line 3557... Line 3477...
3557
        args.read(iprot);
3477
        args.read(iprot);
3558
        iprot.readMessageEnd();
3478
        iprot.readMessageEnd();
3559
        getMasterAffiliateById_result result = new getMasterAffiliateById_result();
3479
        getMasterAffiliateById_result result = new getMasterAffiliateById_result();
3560
        try {
3480
        try {
3561
          result.success = iface_.getMasterAffiliateById(args.id);
3481
          result.success = iface_.getMasterAffiliateById(args.id);
3562
        } catch (UserTrackerException utx) {
3482
        } catch (UserAffiliateException utx) {
3563
          result.utx = utx;
3483
          result.utx = utx;
3564
        } catch (Throwable th) {
3484
        } catch (Throwable th) {
3565
          LOGGER.error("Internal error processing getMasterAffiliateById", th);
3485
          LOGGER.error("Internal error processing getMasterAffiliateById", th);
3566
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getMasterAffiliateById");
3486
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getMasterAffiliateById");
3567
          oprot.writeMessageBegin(new TMessage("getMasterAffiliateById", TMessageType.EXCEPTION, seqid));
3487
          oprot.writeMessageBegin(new TMessage("getMasterAffiliateById", TMessageType.EXCEPTION, seqid));
Line 3585... Line 3505...
3585
        args.read(iprot);
3505
        args.read(iprot);
3586
        iprot.readMessageEnd();
3506
        iprot.readMessageEnd();
3587
        getMasterAffiliateByName_result result = new getMasterAffiliateByName_result();
3507
        getMasterAffiliateByName_result result = new getMasterAffiliateByName_result();
3588
        try {
3508
        try {
3589
          result.success = iface_.getMasterAffiliateByName(args.name);
3509
          result.success = iface_.getMasterAffiliateByName(args.name);
3590
        } catch (UserTrackerException utx) {
3510
        } catch (UserAffiliateException utx) {
3591
          result.utx = utx;
3511
          result.utx = utx;
3592
        } catch (Throwable th) {
3512
        } catch (Throwable th) {
3593
          LOGGER.error("Internal error processing getMasterAffiliateByName", th);
3513
          LOGGER.error("Internal error processing getMasterAffiliateByName", th);
3594
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getMasterAffiliateByName");
3514
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getMasterAffiliateByName");
3595
          oprot.writeMessageBegin(new TMessage("getMasterAffiliateByName", TMessageType.EXCEPTION, seqid));
3515
          oprot.writeMessageBegin(new TMessage("getMasterAffiliateByName", TMessageType.EXCEPTION, seqid));
Line 3613... Line 3533...
3613
        args.read(iprot);
3533
        args.read(iprot);
3614
        iprot.readMessageEnd();
3534
        iprot.readMessageEnd();
3615
        createAffiliate_result result = new createAffiliate_result();
3535
        createAffiliate_result result = new createAffiliate_result();
3616
        try {
3536
        try {
3617
          result.success = iface_.createAffiliate(args.name, args.url, args.masterAffiliateId, args.addedOn);
3537
          result.success = iface_.createAffiliate(args.name, args.url, args.masterAffiliateId, args.addedOn);
3618
        } catch (UserTrackerException utx) {
3538
        } catch (UserAffiliateException utx) {
3619
          result.utx = utx;
3539
          result.utx = utx;
3620
        } catch (Throwable th) {
3540
        } catch (Throwable th) {
3621
          LOGGER.error("Internal error processing createAffiliate", th);
3541
          LOGGER.error("Internal error processing createAffiliate", th);
3622
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createAffiliate");
3542
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createAffiliate");
3623
          oprot.writeMessageBegin(new TMessage("createAffiliate", TMessageType.EXCEPTION, seqid));
3543
          oprot.writeMessageBegin(new TMessage("createAffiliate", TMessageType.EXCEPTION, seqid));
Line 3641... Line 3561...
3641
        args.read(iprot);
3561
        args.read(iprot);
3642
        iprot.readMessageEnd();
3562
        iprot.readMessageEnd();
3643
        getAffiliateById_result result = new getAffiliateById_result();
3563
        getAffiliateById_result result = new getAffiliateById_result();
3644
        try {
3564
        try {
3645
          result.success = iface_.getAffiliateById(args.id);
3565
          result.success = iface_.getAffiliateById(args.id);
3646
        } catch (UserTrackerException utx) {
3566
        } catch (UserAffiliateException utx) {
3647
          result.utx = utx;
3567
          result.utx = utx;
3648
        } catch (Throwable th) {
3568
        } catch (Throwable th) {
3649
          LOGGER.error("Internal error processing getAffiliateById", th);
3569
          LOGGER.error("Internal error processing getAffiliateById", th);
3650
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAffiliateById");
3570
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAffiliateById");
3651
          oprot.writeMessageBegin(new TMessage("getAffiliateById", TMessageType.EXCEPTION, seqid));
3571
          oprot.writeMessageBegin(new TMessage("getAffiliateById", TMessageType.EXCEPTION, seqid));
Line 3669... Line 3589...
3669
        args.read(iprot);
3589
        args.read(iprot);
3670
        iprot.readMessageEnd();
3590
        iprot.readMessageEnd();
3671
        getAffiliateByName_result result = new getAffiliateByName_result();
3591
        getAffiliateByName_result result = new getAffiliateByName_result();
3672
        try {
3592
        try {
3673
          result.success = iface_.getAffiliateByName(args.name);
3593
          result.success = iface_.getAffiliateByName(args.name);
3674
        } catch (UserTrackerException utx) {
3594
        } catch (UserAffiliateException utx) {
3675
          result.utx = utx;
3595
          result.utx = utx;
3676
        } catch (Throwable th) {
3596
        } catch (Throwable th) {
3677
          LOGGER.error("Internal error processing getAffiliateByName", th);
3597
          LOGGER.error("Internal error processing getAffiliateByName", th);
3678
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAffiliateByName");
3598
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAffiliateByName");
3679
          oprot.writeMessageBegin(new TMessage("getAffiliateByName", TMessageType.EXCEPTION, seqid));
3599
          oprot.writeMessageBegin(new TMessage("getAffiliateByName", TMessageType.EXCEPTION, seqid));
Line 3688... Line 3608...
3688
        oprot.getTransport().flush();
3608
        oprot.getTransport().flush();
3689
      }
3609
      }
3690
 
3610
 
3691
    }
3611
    }
3692
 
3612
 
3693
    private class getAffiliatesByMasterAffiliate implements ProcessFunction {
-
 
3694
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-
 
3695
      {
-
 
3696
        getAffiliatesByMasterAffiliate_args args = new getAffiliatesByMasterAffiliate_args();
-
 
3697
        args.read(iprot);
-
 
3698
        iprot.readMessageEnd();
-
 
3699
        getAffiliatesByMasterAffiliate_result result = new getAffiliatesByMasterAffiliate_result();
-
 
3700
        try {
-
 
3701
          result.success = iface_.getAffiliatesByMasterAffiliate(args.id);
-
 
3702
        } catch (UserTrackerException utx) {
-
 
3703
          result.utx = utx;
-
 
3704
        } catch (Throwable th) {
-
 
3705
          LOGGER.error("Internal error processing getAffiliatesByMasterAffiliate", th);
-
 
3706
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAffiliatesByMasterAffiliate");
-
 
3707
          oprot.writeMessageBegin(new TMessage("getAffiliatesByMasterAffiliate", TMessageType.EXCEPTION, seqid));
-
 
3708
          x.write(oprot);
-
 
3709
          oprot.writeMessageEnd();
-
 
3710
          oprot.getTransport().flush();
-
 
3711
          return;
-
 
3712
        }
-
 
3713
        oprot.writeMessageBegin(new TMessage("getAffiliatesByMasterAffiliate", TMessageType.REPLY, seqid));
-
 
3714
        result.write(oprot);
-
 
3715
        oprot.writeMessageEnd();
-
 
3716
        oprot.getTransport().flush();
-
 
3717
      }
-
 
3718
 
-
 
3719
    }
-
 
3720
 
-
 
3721
    private class createTracker implements ProcessFunction {
-
 
3722
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-
 
3723
      {
-
 
3724
        createTracker_args args = new createTracker_args();
-
 
3725
        args.read(iprot);
-
 
3726
        iprot.readMessageEnd();
-
 
3727
        createTracker_result result = new createTracker_result();
-
 
3728
        try {
-
 
3729
          result.success = iface_.createTracker(args.affiliateId, args.addedOn);
-
 
3730
        } catch (UserTrackerException utx) {
-
 
3731
          result.utx = utx;
-
 
3732
        } catch (Throwable th) {
-
 
3733
          LOGGER.error("Internal error processing createTracker", th);
-
 
3734
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createTracker");
-
 
3735
          oprot.writeMessageBegin(new TMessage("createTracker", TMessageType.EXCEPTION, seqid));
-
 
3736
          x.write(oprot);
-
 
3737
          oprot.writeMessageEnd();
-
 
3738
          oprot.getTransport().flush();
-
 
3739
          return;
-
 
3740
        }
-
 
3741
        oprot.writeMessageBegin(new TMessage("createTracker", TMessageType.REPLY, seqid));
-
 
3742
        result.write(oprot);
-
 
3743
        oprot.writeMessageEnd();
-
 
3744
        oprot.getTransport().flush();
-
 
3745
      }
-
 
3746
 
-
 
3747
    }
-
 
3748
 
-
 
3749
    private class getTrackerById implements ProcessFunction {
3613
    private class getTrackerById implements ProcessFunction {
3750
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
3614
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
3751
      {
3615
      {
3752
        getTrackerById_args args = new getTrackerById_args();
3616
        getTrackerById_args args = new getTrackerById_args();
3753
        args.read(iprot);
3617
        args.read(iprot);
3754
        iprot.readMessageEnd();
3618
        iprot.readMessageEnd();
3755
        getTrackerById_result result = new getTrackerById_result();
3619
        getTrackerById_result result = new getTrackerById_result();
3756
        try {
3620
        try {
3757
          result.success = iface_.getTrackerById(args.trackerId);
3621
          result.success = iface_.getTrackerById(args.id);
3758
        } catch (UserTrackerException utx) {
3622
        } catch (UserAffiliateException utx) {
3759
          result.utx = utx;
3623
          result.utx = utx;
3760
        } catch (Throwable th) {
3624
        } catch (Throwable th) {
3761
          LOGGER.error("Internal error processing getTrackerById", th);
3625
          LOGGER.error("Internal error processing getTrackerById", th);
3762
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackerById");
3626
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackerById");
3763
          oprot.writeMessageBegin(new TMessage("getTrackerById", TMessageType.EXCEPTION, seqid));
3627
          oprot.writeMessageBegin(new TMessage("getTrackerById", TMessageType.EXCEPTION, seqid));
Line 3772... Line 3636...
3772
        oprot.getTransport().flush();
3636
        oprot.getTransport().flush();
3773
      }
3637
      }
3774
 
3638
 
3775
    }
3639
    }
3776
 
3640
 
3777
    private class getTrackersByAffiliate implements ProcessFunction {
3641
    private class getAffiliatesByMasterAffiliate implements ProcessFunction {
3778
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
3642
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
3779
      {
3643
      {
3780
        getTrackersByAffiliate_args args = new getTrackersByAffiliate_args();
3644
        getAffiliatesByMasterAffiliate_args args = new getAffiliatesByMasterAffiliate_args();
3781
        args.read(iprot);
3645
        args.read(iprot);
3782
        iprot.readMessageEnd();
3646
        iprot.readMessageEnd();
3783
        getTrackersByAffiliate_result result = new getTrackersByAffiliate_result();
3647
        getAffiliatesByMasterAffiliate_result result = new getAffiliatesByMasterAffiliate_result();
3784
        try {
3648
        try {
3785
          result.success = iface_.getTrackersByAffiliate(args.affiliateId);
3649
          result.success = iface_.getAffiliatesByMasterAffiliate(args.id);
3786
        } catch (UserTrackerException utx) {
3650
        } catch (UserAffiliateException utx) {
3787
          result.utx = utx;
3651
          result.utx = utx;
3788
        } catch (Throwable th) {
3652
        } catch (Throwable th) {
3789
          LOGGER.error("Internal error processing getTrackersByAffiliate", th);
3653
          LOGGER.error("Internal error processing getAffiliatesByMasterAffiliate", th);
3790
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackersByAffiliate");
3654
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getAffiliatesByMasterAffiliate");
3791
          oprot.writeMessageBegin(new TMessage("getTrackersByAffiliate", TMessageType.EXCEPTION, seqid));
3655
          oprot.writeMessageBegin(new TMessage("getAffiliatesByMasterAffiliate", TMessageType.EXCEPTION, seqid));
3792
          x.write(oprot);
3656
          x.write(oprot);
3793
          oprot.writeMessageEnd();
3657
          oprot.writeMessageEnd();
3794
          oprot.getTransport().flush();
3658
          oprot.getTransport().flush();
3795
          return;
3659
          return;
3796
        }
3660
        }
3797
        oprot.writeMessageBegin(new TMessage("getTrackersByAffiliate", TMessageType.REPLY, seqid));
3661
        oprot.writeMessageBegin(new TMessage("getAffiliatesByMasterAffiliate", TMessageType.REPLY, seqid));
3798
        result.write(oprot);
3662
        result.write(oprot);
3799
        oprot.writeMessageEnd();
3663
        oprot.writeMessageEnd();
3800
        oprot.getTransport().flush();
3664
        oprot.getTransport().flush();
3801
      }
3665
      }
3802
 
3666
 
Line 3808... Line 3672...
3808
        addTrackLog_args args = new addTrackLog_args();
3672
        addTrackLog_args args = new addTrackLog_args();
3809
        args.read(iprot);
3673
        args.read(iprot);
3810
        iprot.readMessageEnd();
3674
        iprot.readMessageEnd();
3811
        addTrackLog_result result = new addTrackLog_result();
3675
        addTrackLog_result result = new addTrackLog_result();
3812
        try {
3676
        try {
3813
          result.success = iface_.addTrackLog(args.trackerId, args.userId, args.event, args.url, args.data, args.addedOn);
3677
          result.success = iface_.addTrackLog(args.affiliateId, args.userId, args.event, args.url, args.data, args.addedOn);
3814
          result.setSuccessIsSet(true);
3678
          result.setSuccessIsSet(true);
3815
        } catch (UserTrackerException utx) {
3679
        } catch (UserAffiliateException utx) {
3816
          result.utx = utx;
3680
          result.utx = utx;
3817
        } catch (Throwable th) {
3681
        } catch (Throwable th) {
3818
          LOGGER.error("Internal error processing addTrackLog", th);
3682
          LOGGER.error("Internal error processing addTrackLog", th);
3819
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing addTrackLog");
3683
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing addTrackLog");
3820
          oprot.writeMessageBegin(new TMessage("addTrackLog", TMessageType.EXCEPTION, seqid));
3684
          oprot.writeMessageBegin(new TMessage("addTrackLog", TMessageType.EXCEPTION, seqid));
Line 3838... Line 3702...
3838
        args.read(iprot);
3702
        args.read(iprot);
3839
        iprot.readMessageEnd();
3703
        iprot.readMessageEnd();
3840
        getTrackLogById_result result = new getTrackLogById_result();
3704
        getTrackLogById_result result = new getTrackLogById_result();
3841
        try {
3705
        try {
3842
          result.success = iface_.getTrackLogById(args.id);
3706
          result.success = iface_.getTrackLogById(args.id);
3843
        } catch (UserTrackerException utx) {
3707
        } catch (UserAffiliateException utx) {
3844
          result.utx = utx;
3708
          result.utx = utx;
3845
        } catch (Throwable th) {
3709
        } catch (Throwable th) {
3846
          LOGGER.error("Internal error processing getTrackLogById", th);
3710
          LOGGER.error("Internal error processing getTrackLogById", th);
3847
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogById");
3711
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogById");
3848
          oprot.writeMessageBegin(new TMessage("getTrackLogById", TMessageType.EXCEPTION, seqid));
3712
          oprot.writeMessageBegin(new TMessage("getTrackLogById", TMessageType.EXCEPTION, seqid));
Line 3857... Line 3721...
3857
        oprot.getTransport().flush();
3721
        oprot.getTransport().flush();
3858
      }
3722
      }
3859
 
3723
 
3860
    }
3724
    }
3861
 
3725
 
3862
    private class getTrackLogsByTracker implements ProcessFunction {
3726
    private class getTrackLogsByAffiliate implements ProcessFunction {
3863
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
3727
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
3864
      {
3728
      {
3865
        getTrackLogsByTracker_args args = new getTrackLogsByTracker_args();
3729
        getTrackLogsByAffiliate_args args = new getTrackLogsByAffiliate_args();
3866
        args.read(iprot);
3730
        args.read(iprot);
3867
        iprot.readMessageEnd();
3731
        iprot.readMessageEnd();
3868
        getTrackLogsByTracker_result result = new getTrackLogsByTracker_result();
3732
        getTrackLogsByAffiliate_result result = new getTrackLogsByAffiliate_result();
3869
        try {
3733
        try {
3870
          result.success = iface_.getTrackLogsByTracker(args.trackerId);
3734
          result.success = iface_.getTrackLogsByAffiliate(args.affiliateId);
3871
        } catch (UserTrackerException utx) {
3735
        } catch (UserAffiliateException utx) {
3872
          result.utx = utx;
3736
          result.utx = utx;
3873
        } catch (Throwable th) {
3737
        } catch (Throwable th) {
3874
          LOGGER.error("Internal error processing getTrackLogsByTracker", th);
3738
          LOGGER.error("Internal error processing getTrackLogsByAffiliate", th);
3875
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogsByTracker");
3739
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogsByAffiliate");
3876
          oprot.writeMessageBegin(new TMessage("getTrackLogsByTracker", TMessageType.EXCEPTION, seqid));
3740
          oprot.writeMessageBegin(new TMessage("getTrackLogsByAffiliate", TMessageType.EXCEPTION, seqid));
3877
          x.write(oprot);
3741
          x.write(oprot);
3878
          oprot.writeMessageEnd();
3742
          oprot.writeMessageEnd();
3879
          oprot.getTransport().flush();
3743
          oprot.getTransport().flush();
3880
          return;
3744
          return;
3881
        }
3745
        }
3882
        oprot.writeMessageBegin(new TMessage("getTrackLogsByTracker", TMessageType.REPLY, seqid));
3746
        oprot.writeMessageBegin(new TMessage("getTrackLogsByAffiliate", TMessageType.REPLY, seqid));
3883
        result.write(oprot);
3747
        result.write(oprot);
3884
        oprot.writeMessageEnd();
3748
        oprot.writeMessageEnd();
3885
        oprot.getTransport().flush();
3749
        oprot.getTransport().flush();
3886
      }
3750
      }
3887
 
3751
 
Line 3894... Line 3758...
3894
        args.read(iprot);
3758
        args.read(iprot);
3895
        iprot.readMessageEnd();
3759
        iprot.readMessageEnd();
3896
        getTrackLogsByUser_result result = new getTrackLogsByUser_result();
3760
        getTrackLogsByUser_result result = new getTrackLogsByUser_result();
3897
        try {
3761
        try {
3898
          result.success = iface_.getTrackLogsByUser(args.userId);
3762
          result.success = iface_.getTrackLogsByUser(args.userId);
3899
        } catch (UserTrackerException utx) {
3763
        } catch (UserAffiliateException utx) {
3900
          result.utx = utx;
3764
          result.utx = utx;
3901
        } catch (Throwable th) {
3765
        } catch (Throwable th) {
3902
          LOGGER.error("Internal error processing getTrackLogsByUser", th);
3766
          LOGGER.error("Internal error processing getTrackLogsByUser", th);
3903
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogsByUser");
3767
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogsByUser");
3904
          oprot.writeMessageBegin(new TMessage("getTrackLogsByUser", TMessageType.EXCEPTION, seqid));
3768
          oprot.writeMessageBegin(new TMessage("getTrackLogsByUser", TMessageType.EXCEPTION, seqid));
Line 3921... Line 3785...
3921
        getTrackLogs_args args = new getTrackLogs_args();
3785
        getTrackLogs_args args = new getTrackLogs_args();
3922
        args.read(iprot);
3786
        args.read(iprot);
3923
        iprot.readMessageEnd();
3787
        iprot.readMessageEnd();
3924
        getTrackLogs_result result = new getTrackLogs_result();
3788
        getTrackLogs_result result = new getTrackLogs_result();
3925
        try {
3789
        try {
3926
          result.success = iface_.getTrackLogs(args.trackerId, args.userId, args.event, args.url);
3790
          result.success = iface_.getTrackLogs(args.userId, args.event, args.url);
3927
        } catch (UserTrackerException utx) {
3791
        } catch (UserAffiliateException utx) {
3928
          result.utx = utx;
3792
          result.utx = utx;
3929
        } catch (Throwable th) {
3793
        } catch (Throwable th) {
3930
          LOGGER.error("Internal error processing getTrackLogs", th);
3794
          LOGGER.error("Internal error processing getTrackLogs", th);
3931
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogs");
3795
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing getTrackLogs");
3932
          oprot.writeMessageBegin(new TMessage("getTrackLogs", TMessageType.EXCEPTION, seqid));
3796
          oprot.writeMessageBegin(new TMessage("getTrackLogs", TMessageType.EXCEPTION, seqid));
Line 22238... Line 22102...
22238
 
22102
 
22239
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
22103
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
22240
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
22104
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
22241
 
22105
 
22242
    private MasterAffiliate success;
22106
    private MasterAffiliate success;
22243
    private UserTrackerException utx;
22107
    private UserAffiliateException utx;
22244
 
22108
 
22245
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22109
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22246
    public enum _Fields implements TFieldIdEnum {
22110
    public enum _Fields implements TFieldIdEnum {
22247
      SUCCESS((short)0, "success"),
22111
      SUCCESS((short)0, "success"),
22248
      UTX((short)1, "utx");
22112
      UTX((short)1, "utx");
Line 22314... Line 22178...
22314
    public createMasterAffiliate_result() {
22178
    public createMasterAffiliate_result() {
22315
    }
22179
    }
22316
 
22180
 
22317
    public createMasterAffiliate_result(
22181
    public createMasterAffiliate_result(
22318
      MasterAffiliate success,
22182
      MasterAffiliate success,
22319
      UserTrackerException utx)
22183
      UserAffiliateException utx)
22320
    {
22184
    {
22321
      this();
22185
      this();
22322
      this.success = success;
22186
      this.success = success;
22323
      this.utx = utx;
22187
      this.utx = utx;
22324
    }
22188
    }
Line 22329... Line 22193...
22329
    public createMasterAffiliate_result(createMasterAffiliate_result other) {
22193
    public createMasterAffiliate_result(createMasterAffiliate_result other) {
22330
      if (other.isSetSuccess()) {
22194
      if (other.isSetSuccess()) {
22331
        this.success = new MasterAffiliate(other.success);
22195
        this.success = new MasterAffiliate(other.success);
22332
      }
22196
      }
22333
      if (other.isSetUtx()) {
22197
      if (other.isSetUtx()) {
22334
        this.utx = new UserTrackerException(other.utx);
22198
        this.utx = new UserAffiliateException(other.utx);
22335
      }
22199
      }
22336
    }
22200
    }
22337
 
22201
 
22338
    public createMasterAffiliate_result deepCopy() {
22202
    public createMasterAffiliate_result deepCopy() {
22339
      return new createMasterAffiliate_result(this);
22203
      return new createMasterAffiliate_result(this);
Line 22366... Line 22230...
22366
      if (!value) {
22230
      if (!value) {
22367
        this.success = null;
22231
        this.success = null;
22368
      }
22232
      }
22369
    }
22233
    }
22370
 
22234
 
22371
    public UserTrackerException getUtx() {
22235
    public UserAffiliateException getUtx() {
22372
      return this.utx;
22236
      return this.utx;
22373
    }
22237
    }
22374
 
22238
 
22375
    public createMasterAffiliate_result setUtx(UserTrackerException utx) {
22239
    public createMasterAffiliate_result setUtx(UserAffiliateException utx) {
22376
      this.utx = utx;
22240
      this.utx = utx;
22377
      return this;
22241
      return this;
22378
    }
22242
    }
22379
 
22243
 
22380
    public void unsetUtx() {
22244
    public void unsetUtx() {
Line 22404... Line 22268...
22404
 
22268
 
22405
      case UTX:
22269
      case UTX:
22406
        if (value == null) {
22270
        if (value == null) {
22407
          unsetUtx();
22271
          unsetUtx();
22408
        } else {
22272
        } else {
22409
          setUtx((UserTrackerException)value);
22273
          setUtx((UserAffiliateException)value);
22410
        }
22274
        }
22411
        break;
22275
        break;
22412
 
22276
 
22413
      }
22277
      }
22414
    }
22278
    }
Line 22536... Line 22400...
22536
                TProtocolUtil.skip(iprot, field.type);
22400
                TProtocolUtil.skip(iprot, field.type);
22537
              }
22401
              }
22538
              break;
22402
              break;
22539
            case UTX:
22403
            case UTX:
22540
              if (field.type == TType.STRUCT) {
22404
              if (field.type == TType.STRUCT) {
22541
                this.utx = new UserTrackerException();
22405
                this.utx = new UserAffiliateException();
22542
                this.utx.read(iprot);
22406
                this.utx.read(iprot);
22543
              } else { 
22407
              } else { 
22544
                TProtocolUtil.skip(iprot, field.type);
22408
                TProtocolUtil.skip(iprot, field.type);
22545
              }
22409
              }
22546
              break;
22410
              break;
Line 22794... Line 22658...
22794
 
22658
 
22795
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
22659
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
22796
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
22660
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
22797
 
22661
 
22798
    private List<MasterAffiliate> success;
22662
    private List<MasterAffiliate> success;
22799
    private UserTrackerException utx;
22663
    private UserAffiliateException utx;
22800
 
22664
 
22801
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22665
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22802
    public enum _Fields implements TFieldIdEnum {
22666
    public enum _Fields implements TFieldIdEnum {
22803
      SUCCESS((short)0, "success"),
22667
      SUCCESS((short)0, "success"),
22804
      UTX((short)1, "utx");
22668
      UTX((short)1, "utx");
Line 22871... Line 22735...
22871
    public getAllMasterAffiliates_result() {
22735
    public getAllMasterAffiliates_result() {
22872
    }
22736
    }
22873
 
22737
 
22874
    public getAllMasterAffiliates_result(
22738
    public getAllMasterAffiliates_result(
22875
      List<MasterAffiliate> success,
22739
      List<MasterAffiliate> success,
22876
      UserTrackerException utx)
22740
      UserAffiliateException utx)
22877
    {
22741
    {
22878
      this();
22742
      this();
22879
      this.success = success;
22743
      this.success = success;
22880
      this.utx = utx;
22744
      this.utx = utx;
22881
    }
22745
    }
Line 22890... Line 22754...
22890
          __this__success.add(new MasterAffiliate(other_element));
22754
          __this__success.add(new MasterAffiliate(other_element));
22891
        }
22755
        }
22892
        this.success = __this__success;
22756
        this.success = __this__success;
22893
      }
22757
      }
22894
      if (other.isSetUtx()) {
22758
      if (other.isSetUtx()) {
22895
        this.utx = new UserTrackerException(other.utx);
22759
        this.utx = new UserAffiliateException(other.utx);
22896
      }
22760
      }
22897
    }
22761
    }
22898
 
22762
 
22899
    public getAllMasterAffiliates_result deepCopy() {
22763
    public getAllMasterAffiliates_result deepCopy() {
22900
      return new getAllMasterAffiliates_result(this);
22764
      return new getAllMasterAffiliates_result(this);
Line 22942... Line 22806...
22942
      if (!value) {
22806
      if (!value) {
22943
        this.success = null;
22807
        this.success = null;
22944
      }
22808
      }
22945
    }
22809
    }
22946
 
22810
 
22947
    public UserTrackerException getUtx() {
22811
    public UserAffiliateException getUtx() {
22948
      return this.utx;
22812
      return this.utx;
22949
    }
22813
    }
22950
 
22814
 
22951
    public getAllMasterAffiliates_result setUtx(UserTrackerException utx) {
22815
    public getAllMasterAffiliates_result setUtx(UserAffiliateException utx) {
22952
      this.utx = utx;
22816
      this.utx = utx;
22953
      return this;
22817
      return this;
22954
    }
22818
    }
22955
 
22819
 
22956
    public void unsetUtx() {
22820
    public void unsetUtx() {
Line 22980... Line 22844...
22980
 
22844
 
22981
      case UTX:
22845
      case UTX:
22982
        if (value == null) {
22846
        if (value == null) {
22983
          unsetUtx();
22847
          unsetUtx();
22984
        } else {
22848
        } else {
22985
          setUtx((UserTrackerException)value);
22849
          setUtx((UserAffiliateException)value);
22986
        }
22850
        }
22987
        break;
22851
        break;
22988
 
22852
 
22989
      }
22853
      }
22990
    }
22854
    }
Line 23122... Line 22986...
23122
                TProtocolUtil.skip(iprot, field.type);
22986
                TProtocolUtil.skip(iprot, field.type);
23123
              }
22987
              }
23124
              break;
22988
              break;
23125
            case UTX:
22989
            case UTX:
23126
              if (field.type == TType.STRUCT) {
22990
              if (field.type == TType.STRUCT) {
23127
                this.utx = new UserTrackerException();
22991
                this.utx = new UserAffiliateException();
23128
                this.utx.read(iprot);
22992
                this.utx.read(iprot);
23129
              } else { 
22993
              } else { 
23130
                TProtocolUtil.skip(iprot, field.type);
22994
                TProtocolUtil.skip(iprot, field.type);
23131
              }
22995
              }
23132
              break;
22996
              break;
Line 23474... Line 23338...
23474
 
23338
 
23475
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
23339
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
23476
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
23340
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
23477
 
23341
 
23478
    private MasterAffiliate success;
23342
    private MasterAffiliate success;
23479
    private UserTrackerException utx;
23343
    private UserAffiliateException utx;
23480
 
23344
 
23481
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
23345
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
23482
    public enum _Fields implements TFieldIdEnum {
23346
    public enum _Fields implements TFieldIdEnum {
23483
      SUCCESS((short)0, "success"),
23347
      SUCCESS((short)0, "success"),
23484
      UTX((short)1, "utx");
23348
      UTX((short)1, "utx");
Line 23550... Line 23414...
23550
    public getMasterAffiliateById_result() {
23414
    public getMasterAffiliateById_result() {
23551
    }
23415
    }
23552
 
23416
 
23553
    public getMasterAffiliateById_result(
23417
    public getMasterAffiliateById_result(
23554
      MasterAffiliate success,
23418
      MasterAffiliate success,
23555
      UserTrackerException utx)
23419
      UserAffiliateException utx)
23556
    {
23420
    {
23557
      this();
23421
      this();
23558
      this.success = success;
23422
      this.success = success;
23559
      this.utx = utx;
23423
      this.utx = utx;
23560
    }
23424
    }
Line 23565... Line 23429...
23565
    public getMasterAffiliateById_result(getMasterAffiliateById_result other) {
23429
    public getMasterAffiliateById_result(getMasterAffiliateById_result other) {
23566
      if (other.isSetSuccess()) {
23430
      if (other.isSetSuccess()) {
23567
        this.success = new MasterAffiliate(other.success);
23431
        this.success = new MasterAffiliate(other.success);
23568
      }
23432
      }
23569
      if (other.isSetUtx()) {
23433
      if (other.isSetUtx()) {
23570
        this.utx = new UserTrackerException(other.utx);
23434
        this.utx = new UserAffiliateException(other.utx);
23571
      }
23435
      }
23572
    }
23436
    }
23573
 
23437
 
23574
    public getMasterAffiliateById_result deepCopy() {
23438
    public getMasterAffiliateById_result deepCopy() {
23575
      return new getMasterAffiliateById_result(this);
23439
      return new getMasterAffiliateById_result(this);
Line 23602... Line 23466...
23602
      if (!value) {
23466
      if (!value) {
23603
        this.success = null;
23467
        this.success = null;
23604
      }
23468
      }
23605
    }
23469
    }
23606
 
23470
 
23607
    public UserTrackerException getUtx() {
23471
    public UserAffiliateException getUtx() {
23608
      return this.utx;
23472
      return this.utx;
23609
    }
23473
    }
23610
 
23474
 
23611
    public getMasterAffiliateById_result setUtx(UserTrackerException utx) {
23475
    public getMasterAffiliateById_result setUtx(UserAffiliateException utx) {
23612
      this.utx = utx;
23476
      this.utx = utx;
23613
      return this;
23477
      return this;
23614
    }
23478
    }
23615
 
23479
 
23616
    public void unsetUtx() {
23480
    public void unsetUtx() {
Line 23640... Line 23504...
23640
 
23504
 
23641
      case UTX:
23505
      case UTX:
23642
        if (value == null) {
23506
        if (value == null) {
23643
          unsetUtx();
23507
          unsetUtx();
23644
        } else {
23508
        } else {
23645
          setUtx((UserTrackerException)value);
23509
          setUtx((UserAffiliateException)value);
23646
        }
23510
        }
23647
        break;
23511
        break;
23648
 
23512
 
23649
      }
23513
      }
23650
    }
23514
    }
Line 23772... Line 23636...
23772
                TProtocolUtil.skip(iprot, field.type);
23636
                TProtocolUtil.skip(iprot, field.type);
23773
              }
23637
              }
23774
              break;
23638
              break;
23775
            case UTX:
23639
            case UTX:
23776
              if (field.type == TType.STRUCT) {
23640
              if (field.type == TType.STRUCT) {
23777
                this.utx = new UserTrackerException();
23641
                this.utx = new UserAffiliateException();
23778
                this.utx.read(iprot);
23642
                this.utx.read(iprot);
23779
              } else { 
23643
              } else { 
23780
                TProtocolUtil.skip(iprot, field.type);
23644
                TProtocolUtil.skip(iprot, field.type);
23781
              }
23645
              }
23782
              break;
23646
              break;
Line 24120... Line 23984...
24120
 
23984
 
24121
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
23985
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
24122
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
23986
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
24123
 
23987
 
24124
    private MasterAffiliate success;
23988
    private MasterAffiliate success;
24125
    private UserTrackerException utx;
23989
    private UserAffiliateException utx;
24126
 
23990
 
24127
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
23991
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
24128
    public enum _Fields implements TFieldIdEnum {
23992
    public enum _Fields implements TFieldIdEnum {
24129
      SUCCESS((short)0, "success"),
23993
      SUCCESS((short)0, "success"),
24130
      UTX((short)1, "utx");
23994
      UTX((short)1, "utx");
Line 24196... Line 24060...
24196
    public getMasterAffiliateByName_result() {
24060
    public getMasterAffiliateByName_result() {
24197
    }
24061
    }
24198
 
24062
 
24199
    public getMasterAffiliateByName_result(
24063
    public getMasterAffiliateByName_result(
24200
      MasterAffiliate success,
24064
      MasterAffiliate success,
24201
      UserTrackerException utx)
24065
      UserAffiliateException utx)
24202
    {
24066
    {
24203
      this();
24067
      this();
24204
      this.success = success;
24068
      this.success = success;
24205
      this.utx = utx;
24069
      this.utx = utx;
24206
    }
24070
    }
Line 24211... Line 24075...
24211
    public getMasterAffiliateByName_result(getMasterAffiliateByName_result other) {
24075
    public getMasterAffiliateByName_result(getMasterAffiliateByName_result other) {
24212
      if (other.isSetSuccess()) {
24076
      if (other.isSetSuccess()) {
24213
        this.success = new MasterAffiliate(other.success);
24077
        this.success = new MasterAffiliate(other.success);
24214
      }
24078
      }
24215
      if (other.isSetUtx()) {
24079
      if (other.isSetUtx()) {
24216
        this.utx = new UserTrackerException(other.utx);
24080
        this.utx = new UserAffiliateException(other.utx);
24217
      }
24081
      }
24218
    }
24082
    }
24219
 
24083
 
24220
    public getMasterAffiliateByName_result deepCopy() {
24084
    public getMasterAffiliateByName_result deepCopy() {
24221
      return new getMasterAffiliateByName_result(this);
24085
      return new getMasterAffiliateByName_result(this);
Line 24248... Line 24112...
24248
      if (!value) {
24112
      if (!value) {
24249
        this.success = null;
24113
        this.success = null;
24250
      }
24114
      }
24251
    }
24115
    }
24252
 
24116
 
24253
    public UserTrackerException getUtx() {
24117
    public UserAffiliateException getUtx() {
24254
      return this.utx;
24118
      return this.utx;
24255
    }
24119
    }
24256
 
24120
 
24257
    public getMasterAffiliateByName_result setUtx(UserTrackerException utx) {
24121
    public getMasterAffiliateByName_result setUtx(UserAffiliateException utx) {
24258
      this.utx = utx;
24122
      this.utx = utx;
24259
      return this;
24123
      return this;
24260
    }
24124
    }
24261
 
24125
 
24262
    public void unsetUtx() {
24126
    public void unsetUtx() {
Line 24286... Line 24150...
24286
 
24150
 
24287
      case UTX:
24151
      case UTX:
24288
        if (value == null) {
24152
        if (value == null) {
24289
          unsetUtx();
24153
          unsetUtx();
24290
        } else {
24154
        } else {
24291
          setUtx((UserTrackerException)value);
24155
          setUtx((UserAffiliateException)value);
24292
        }
24156
        }
24293
        break;
24157
        break;
24294
 
24158
 
24295
      }
24159
      }
24296
    }
24160
    }
Line 24418... Line 24282...
24418
                TProtocolUtil.skip(iprot, field.type);
24282
                TProtocolUtil.skip(iprot, field.type);
24419
              }
24283
              }
24420
              break;
24284
              break;
24421
            case UTX:
24285
            case UTX:
24422
              if (field.type == TType.STRUCT) {
24286
              if (field.type == TType.STRUCT) {
24423
                this.utx = new UserTrackerException();
24287
                this.utx = new UserAffiliateException();
24424
                this.utx.read(iprot);
24288
                this.utx.read(iprot);
24425
              } else { 
24289
              } else { 
24426
                TProtocolUtil.skip(iprot, field.type);
24290
                TProtocolUtil.skip(iprot, field.type);
24427
              }
24291
              }
24428
              break;
24292
              break;
Line 25009... Line 24873...
25009
 
24873
 
25010
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
24874
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
25011
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
24875
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
25012
 
24876
 
25013
    private Affiliate success;
24877
    private Affiliate success;
25014
    private UserTrackerException utx;
24878
    private UserAffiliateException utx;
25015
 
24879
 
25016
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
24880
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
25017
    public enum _Fields implements TFieldIdEnum {
24881
    public enum _Fields implements TFieldIdEnum {
25018
      SUCCESS((short)0, "success"),
24882
      SUCCESS((short)0, "success"),
25019
      UTX((short)1, "utx");
24883
      UTX((short)1, "utx");
Line 25085... Line 24949...
25085
    public createAffiliate_result() {
24949
    public createAffiliate_result() {
25086
    }
24950
    }
25087
 
24951
 
25088
    public createAffiliate_result(
24952
    public createAffiliate_result(
25089
      Affiliate success,
24953
      Affiliate success,
25090
      UserTrackerException utx)
24954
      UserAffiliateException utx)
25091
    {
24955
    {
25092
      this();
24956
      this();
25093
      this.success = success;
24957
      this.success = success;
25094
      this.utx = utx;
24958
      this.utx = utx;
25095
    }
24959
    }
Line 25100... Line 24964...
25100
    public createAffiliate_result(createAffiliate_result other) {
24964
    public createAffiliate_result(createAffiliate_result other) {
25101
      if (other.isSetSuccess()) {
24965
      if (other.isSetSuccess()) {
25102
        this.success = new Affiliate(other.success);
24966
        this.success = new Affiliate(other.success);
25103
      }
24967
      }
25104
      if (other.isSetUtx()) {
24968
      if (other.isSetUtx()) {
25105
        this.utx = new UserTrackerException(other.utx);
24969
        this.utx = new UserAffiliateException(other.utx);
25106
      }
24970
      }
25107
    }
24971
    }
25108
 
24972
 
25109
    public createAffiliate_result deepCopy() {
24973
    public createAffiliate_result deepCopy() {
25110
      return new createAffiliate_result(this);
24974
      return new createAffiliate_result(this);
Line 25137... Line 25001...
25137
      if (!value) {
25001
      if (!value) {
25138
        this.success = null;
25002
        this.success = null;
25139
      }
25003
      }
25140
    }
25004
    }
25141
 
25005
 
25142
    public UserTrackerException getUtx() {
25006
    public UserAffiliateException getUtx() {
25143
      return this.utx;
25007
      return this.utx;
25144
    }
25008
    }
25145
 
25009
 
25146
    public createAffiliate_result setUtx(UserTrackerException utx) {
25010
    public createAffiliate_result setUtx(UserAffiliateException utx) {
25147
      this.utx = utx;
25011
      this.utx = utx;
25148
      return this;
25012
      return this;
25149
    }
25013
    }
25150
 
25014
 
25151
    public void unsetUtx() {
25015
    public void unsetUtx() {
Line 25175... Line 25039...
25175
 
25039
 
25176
      case UTX:
25040
      case UTX:
25177
        if (value == null) {
25041
        if (value == null) {
25178
          unsetUtx();
25042
          unsetUtx();
25179
        } else {
25043
        } else {
25180
          setUtx((UserTrackerException)value);
25044
          setUtx((UserAffiliateException)value);
25181
        }
25045
        }
25182
        break;
25046
        break;
25183
 
25047
 
25184
      }
25048
      }
25185
    }
25049
    }
Line 25307... Line 25171...
25307
                TProtocolUtil.skip(iprot, field.type);
25171
                TProtocolUtil.skip(iprot, field.type);
25308
              }
25172
              }
25309
              break;
25173
              break;
25310
            case UTX:
25174
            case UTX:
25311
              if (field.type == TType.STRUCT) {
25175
              if (field.type == TType.STRUCT) {
25312
                this.utx = new UserTrackerException();
25176
                this.utx = new UserAffiliateException();
25313
                this.utx.read(iprot);
25177
                this.utx.read(iprot);
25314
              } else { 
25178
              } else { 
25315
                TProtocolUtil.skip(iprot, field.type);
25179
                TProtocolUtil.skip(iprot, field.type);
25316
              }
25180
              }
25317
              break;
25181
              break;
Line 25652... Line 25516...
25652
 
25516
 
25653
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
25517
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
25654
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
25518
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
25655
 
25519
 
25656
    private Affiliate success;
25520
    private Affiliate success;
25657
    private UserTrackerException utx;
25521
    private UserAffiliateException utx;
25658
 
25522
 
25659
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
25523
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
25660
    public enum _Fields implements TFieldIdEnum {
25524
    public enum _Fields implements TFieldIdEnum {
25661
      SUCCESS((short)0, "success"),
25525
      SUCCESS((short)0, "success"),
25662
      UTX((short)1, "utx");
25526
      UTX((short)1, "utx");
Line 25728... Line 25592...
25728
    public getAffiliateById_result() {
25592
    public getAffiliateById_result() {
25729
    }
25593
    }
25730
 
25594
 
25731
    public getAffiliateById_result(
25595
    public getAffiliateById_result(
25732
      Affiliate success,
25596
      Affiliate success,
25733
      UserTrackerException utx)
25597
      UserAffiliateException utx)
25734
    {
25598
    {
25735
      this();
25599
      this();
25736
      this.success = success;
25600
      this.success = success;
25737
      this.utx = utx;
25601
      this.utx = utx;
25738
    }
25602
    }
Line 25743... Line 25607...
25743
    public getAffiliateById_result(getAffiliateById_result other) {
25607
    public getAffiliateById_result(getAffiliateById_result other) {
25744
      if (other.isSetSuccess()) {
25608
      if (other.isSetSuccess()) {
25745
        this.success = new Affiliate(other.success);
25609
        this.success = new Affiliate(other.success);
25746
      }
25610
      }
25747
      if (other.isSetUtx()) {
25611
      if (other.isSetUtx()) {
25748
        this.utx = new UserTrackerException(other.utx);
25612
        this.utx = new UserAffiliateException(other.utx);
25749
      }
25613
      }
25750
    }
25614
    }
25751
 
25615
 
25752
    public getAffiliateById_result deepCopy() {
25616
    public getAffiliateById_result deepCopy() {
25753
      return new getAffiliateById_result(this);
25617
      return new getAffiliateById_result(this);
Line 25780... Line 25644...
25780
      if (!value) {
25644
      if (!value) {
25781
        this.success = null;
25645
        this.success = null;
25782
      }
25646
      }
25783
    }
25647
    }
25784
 
25648
 
25785
    public UserTrackerException getUtx() {
25649
    public UserAffiliateException getUtx() {
25786
      return this.utx;
25650
      return this.utx;
25787
    }
25651
    }
25788
 
25652
 
25789
    public getAffiliateById_result setUtx(UserTrackerException utx) {
25653
    public getAffiliateById_result setUtx(UserAffiliateException utx) {
25790
      this.utx = utx;
25654
      this.utx = utx;
25791
      return this;
25655
      return this;
25792
    }
25656
    }
25793
 
25657
 
25794
    public void unsetUtx() {
25658
    public void unsetUtx() {
Line 25818... Line 25682...
25818
 
25682
 
25819
      case UTX:
25683
      case UTX:
25820
        if (value == null) {
25684
        if (value == null) {
25821
          unsetUtx();
25685
          unsetUtx();
25822
        } else {
25686
        } else {
25823
          setUtx((UserTrackerException)value);
25687
          setUtx((UserAffiliateException)value);
25824
        }
25688
        }
25825
        break;
25689
        break;
25826
 
25690
 
25827
      }
25691
      }
25828
    }
25692
    }
Line 25950... Line 25814...
25950
                TProtocolUtil.skip(iprot, field.type);
25814
                TProtocolUtil.skip(iprot, field.type);
25951
              }
25815
              }
25952
              break;
25816
              break;
25953
            case UTX:
25817
            case UTX:
25954
              if (field.type == TType.STRUCT) {
25818
              if (field.type == TType.STRUCT) {
25955
                this.utx = new UserTrackerException();
25819
                this.utx = new UserAffiliateException();
25956
                this.utx.read(iprot);
25820
                this.utx.read(iprot);
25957
              } else { 
25821
              } else { 
25958
                TProtocolUtil.skip(iprot, field.type);
25822
                TProtocolUtil.skip(iprot, field.type);
25959
              }
25823
              }
25960
              break;
25824
              break;
Line 26298... Line 26162...
26298
 
26162
 
26299
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
26163
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
26300
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
26164
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
26301
 
26165
 
26302
    private Affiliate success;
26166
    private Affiliate success;
26303
    private UserTrackerException utx;
26167
    private UserAffiliateException utx;
26304
 
26168
 
26305
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
26169
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
26306
    public enum _Fields implements TFieldIdEnum {
26170
    public enum _Fields implements TFieldIdEnum {
26307
      SUCCESS((short)0, "success"),
26171
      SUCCESS((short)0, "success"),
26308
      UTX((short)1, "utx");
26172
      UTX((short)1, "utx");
Line 26374... Line 26238...
26374
    public getAffiliateByName_result() {
26238
    public getAffiliateByName_result() {
26375
    }
26239
    }
26376
 
26240
 
26377
    public getAffiliateByName_result(
26241
    public getAffiliateByName_result(
26378
      Affiliate success,
26242
      Affiliate success,
26379
      UserTrackerException utx)
26243
      UserAffiliateException utx)
26380
    {
26244
    {
26381
      this();
26245
      this();
26382
      this.success = success;
26246
      this.success = success;
26383
      this.utx = utx;
26247
      this.utx = utx;
26384
    }
26248
    }
Line 26389... Line 26253...
26389
    public getAffiliateByName_result(getAffiliateByName_result other) {
26253
    public getAffiliateByName_result(getAffiliateByName_result other) {
26390
      if (other.isSetSuccess()) {
26254
      if (other.isSetSuccess()) {
26391
        this.success = new Affiliate(other.success);
26255
        this.success = new Affiliate(other.success);
26392
      }
26256
      }
26393
      if (other.isSetUtx()) {
26257
      if (other.isSetUtx()) {
26394
        this.utx = new UserTrackerException(other.utx);
26258
        this.utx = new UserAffiliateException(other.utx);
26395
      }
26259
      }
26396
    }
26260
    }
26397
 
26261
 
26398
    public getAffiliateByName_result deepCopy() {
26262
    public getAffiliateByName_result deepCopy() {
26399
      return new getAffiliateByName_result(this);
26263
      return new getAffiliateByName_result(this);
Line 26426... Line 26290...
26426
      if (!value) {
26290
      if (!value) {
26427
        this.success = null;
26291
        this.success = null;
26428
      }
26292
      }
26429
    }
26293
    }
26430
 
26294
 
26431
    public UserTrackerException getUtx() {
26295
    public UserAffiliateException getUtx() {
26432
      return this.utx;
26296
      return this.utx;
26433
    }
26297
    }
26434
 
26298
 
26435
    public getAffiliateByName_result setUtx(UserTrackerException utx) {
26299
    public getAffiliateByName_result setUtx(UserAffiliateException utx) {
26436
      this.utx = utx;
26300
      this.utx = utx;
26437
      return this;
26301
      return this;
26438
    }
26302
    }
26439
 
26303
 
26440
    public void unsetUtx() {
26304
    public void unsetUtx() {
Line 26464... Line 26328...
26464
 
26328
 
26465
      case UTX:
26329
      case UTX:
26466
        if (value == null) {
26330
        if (value == null) {
26467
          unsetUtx();
26331
          unsetUtx();
26468
        } else {
26332
        } else {
26469
          setUtx((UserTrackerException)value);
26333
          setUtx((UserAffiliateException)value);
26470
        }
26334
        }
26471
        break;
26335
        break;
26472
 
26336
 
26473
      }
26337
      }
26474
    }
26338
    }
Line 26596... Line 26460...
26596
                TProtocolUtil.skip(iprot, field.type);
26460
                TProtocolUtil.skip(iprot, field.type);
26597
              }
26461
              }
26598
              break;
26462
              break;
26599
            case UTX:
26463
            case UTX:
26600
              if (field.type == TType.STRUCT) {
26464
              if (field.type == TType.STRUCT) {
26601
                this.utx = new UserTrackerException();
26465
                this.utx = new UserAffiliateException();
26602
                this.utx.read(iprot);
26466
                this.utx.read(iprot);
26603
              } else { 
26467
              } else { 
26604
                TProtocolUtil.skip(iprot, field.type);
26468
                TProtocolUtil.skip(iprot, field.type);
26605
              }
26469
              }
26606
              break;
26470
              break;
Line 26656... Line 26520...
26656
      // check for required fields
26520
      // check for required fields
26657
    }
26521
    }
26658
 
26522
 
26659
  }
26523
  }
26660
 
26524
 
26661
  public static class getAffiliatesByMasterAffiliate_args implements TBase<getAffiliatesByMasterAffiliate_args._Fields>, java.io.Serializable, Cloneable, Comparable<getAffiliatesByMasterAffiliate_args>   {
26525
  public static class getTrackerById_args implements TBase<getTrackerById_args._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackerById_args>   {
26662
    private static final TStruct STRUCT_DESC = new TStruct("getAffiliatesByMasterAffiliate_args");
26526
    private static final TStruct STRUCT_DESC = new TStruct("getTrackerById_args");
26663
 
26527
 
26664
    private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
26528
    private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
26665
 
26529
 
26666
    private long id;
26530
    private long id;
26667
 
26531
 
Line 26728... Line 26592...
26728
      put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
26592
      put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
26729
          new FieldValueMetaData(TType.I64)));
26593
          new FieldValueMetaData(TType.I64)));
26730
    }});
26594
    }});
26731
 
26595
 
26732
    static {
26596
    static {
26733
      FieldMetaData.addStructMetaDataMap(getAffiliatesByMasterAffiliate_args.class, metaDataMap);
26597
      FieldMetaData.addStructMetaDataMap(getTrackerById_args.class, metaDataMap);
26734
    }
26598
    }
26735
 
26599
 
26736
    public getAffiliatesByMasterAffiliate_args() {
26600
    public getTrackerById_args() {
26737
    }
26601
    }
26738
 
26602
 
26739
    public getAffiliatesByMasterAffiliate_args(
26603
    public getTrackerById_args(
26740
      long id)
26604
      long id)
26741
    {
26605
    {
26742
      this();
26606
      this();
26743
      this.id = id;
26607
      this.id = id;
26744
      setIdIsSet(true);
26608
      setIdIsSet(true);
26745
    }
26609
    }
26746
 
26610
 
26747
    /**
26611
    /**
26748
     * Performs a deep copy on <i>other</i>.
26612
     * Performs a deep copy on <i>other</i>.
26749
     */
26613
     */
26750
    public getAffiliatesByMasterAffiliate_args(getAffiliatesByMasterAffiliate_args other) {
26614
    public getTrackerById_args(getTrackerById_args other) {
26751
      __isset_bit_vector.clear();
26615
      __isset_bit_vector.clear();
26752
      __isset_bit_vector.or(other.__isset_bit_vector);
26616
      __isset_bit_vector.or(other.__isset_bit_vector);
26753
      this.id = other.id;
26617
      this.id = other.id;
26754
    }
26618
    }
26755
 
26619
 
26756
    public getAffiliatesByMasterAffiliate_args deepCopy() {
26620
    public getTrackerById_args deepCopy() {
26757
      return new getAffiliatesByMasterAffiliate_args(this);
26621
      return new getTrackerById_args(this);
26758
    }
26622
    }
26759
 
26623
 
26760
    @Deprecated
26624
    @Deprecated
26761
    public getAffiliatesByMasterAffiliate_args clone() {
26625
    public getTrackerById_args clone() {
26762
      return new getAffiliatesByMasterAffiliate_args(this);
26626
      return new getTrackerById_args(this);
26763
    }
26627
    }
26764
 
26628
 
26765
    public long getId() {
26629
    public long getId() {
26766
      return this.id;
26630
      return this.id;
26767
    }
26631
    }
26768
 
26632
 
26769
    public getAffiliatesByMasterAffiliate_args setId(long id) {
26633
    public getTrackerById_args setId(long id) {
26770
      this.id = id;
26634
      this.id = id;
26771
      setIdIsSet(true);
26635
      setIdIsSet(true);
26772
      return this;
26636
      return this;
26773
    }
26637
    }
26774
 
26638
 
Line 26830... Line 26694...
26830
 
26694
 
26831
    @Override
26695
    @Override
26832
    public boolean equals(Object that) {
26696
    public boolean equals(Object that) {
26833
      if (that == null)
26697
      if (that == null)
26834
        return false;
26698
        return false;
26835
      if (that instanceof getAffiliatesByMasterAffiliate_args)
26699
      if (that instanceof getTrackerById_args)
26836
        return this.equals((getAffiliatesByMasterAffiliate_args)that);
26700
        return this.equals((getTrackerById_args)that);
26837
      return false;
26701
      return false;
26838
    }
26702
    }
26839
 
26703
 
26840
    public boolean equals(getAffiliatesByMasterAffiliate_args that) {
26704
    public boolean equals(getTrackerById_args that) {
26841
      if (that == null)
26705
      if (that == null)
26842
        return false;
26706
        return false;
26843
 
26707
 
26844
      boolean this_present_id = true;
26708
      boolean this_present_id = true;
26845
      boolean that_present_id = true;
26709
      boolean that_present_id = true;
Line 26856... Line 26720...
26856
    @Override
26720
    @Override
26857
    public int hashCode() {
26721
    public int hashCode() {
26858
      return 0;
26722
      return 0;
26859
    }
26723
    }
26860
 
26724
 
26861
    public int compareTo(getAffiliatesByMasterAffiliate_args other) {
26725
    public int compareTo(getTrackerById_args other) {
26862
      if (!getClass().equals(other.getClass())) {
26726
      if (!getClass().equals(other.getClass())) {
26863
        return getClass().getName().compareTo(other.getClass().getName());
26727
        return getClass().getName().compareTo(other.getClass().getName());
26864
      }
26728
      }
26865
 
26729
 
26866
      int lastComparison = 0;
26730
      int lastComparison = 0;
26867
      getAffiliatesByMasterAffiliate_args typedOther = (getAffiliatesByMasterAffiliate_args)other;
26731
      getTrackerById_args typedOther = (getTrackerById_args)other;
26868
 
26732
 
26869
      lastComparison = Boolean.valueOf(isSetId()).compareTo(isSetId());
26733
      lastComparison = Boolean.valueOf(isSetId()).compareTo(isSetId());
26870
      if (lastComparison != 0) {
26734
      if (lastComparison != 0) {
26871
        return lastComparison;
26735
        return lastComparison;
26872
      }
26736
      }
Line 26918... Line 26782...
26918
      oprot.writeStructEnd();
26782
      oprot.writeStructEnd();
26919
    }
26783
    }
26920
 
26784
 
26921
    @Override
26785
    @Override
26922
    public String toString() {
26786
    public String toString() {
26923
      StringBuilder sb = new StringBuilder("getAffiliatesByMasterAffiliate_args(");
26787
      StringBuilder sb = new StringBuilder("getTrackerById_args(");
26924
      boolean first = true;
26788
      boolean first = true;
26925
 
26789
 
26926
      sb.append("id:");
26790
      sb.append("id:");
26927
      sb.append(this.id);
26791
      sb.append(this.id);
26928
      first = false;
26792
      first = false;
Line 26934... Line 26798...
26934
      // check for required fields
26798
      // check for required fields
26935
    }
26799
    }
26936
 
26800
 
26937
  }
26801
  }
26938
 
26802
 
26939
  public static class getAffiliatesByMasterAffiliate_result implements TBase<getAffiliatesByMasterAffiliate_result._Fields>, java.io.Serializable, Cloneable, Comparable<getAffiliatesByMasterAffiliate_result>   {
-
 
26940
    private static final TStruct STRUCT_DESC = new TStruct("getAffiliatesByMasterAffiliate_result");
-
 
26941
 
-
 
26942
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
-
 
26943
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
-
 
26944
 
-
 
26945
    private List<Affiliate> success;
-
 
26946
    private UserTrackerException utx;
-
 
26947
 
-
 
26948
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
26949
    public enum _Fields implements TFieldIdEnum {
-
 
26950
      SUCCESS((short)0, "success"),
-
 
26951
      UTX((short)1, "utx");
-
 
26952
 
-
 
26953
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
26954
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
26955
 
-
 
26956
      static {
-
 
26957
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
26958
          byId.put((int)field._thriftId, field);
-
 
26959
          byName.put(field.getFieldName(), field);
-
 
26960
        }
-
 
26961
      }
-
 
26962
 
-
 
26963
      /**
-
 
26964
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
26965
       */
-
 
26966
      public static _Fields findByThriftId(int fieldId) {
-
 
26967
        return byId.get(fieldId);
-
 
26968
      }
-
 
26969
 
-
 
26970
      /**
-
 
26971
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
26972
       * if it is not found.
-
 
26973
       */
-
 
26974
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
26975
        _Fields fields = findByThriftId(fieldId);
-
 
26976
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
26977
        return fields;
-
 
26978
      }
-
 
26979
 
-
 
26980
      /**
-
 
26981
       * Find the _Fields constant that matches name, or null if its not found.
-
 
26982
       */
-
 
26983
      public static _Fields findByName(String name) {
-
 
26984
        return byName.get(name);
-
 
26985
      }
-
 
26986
 
-
 
26987
      private final short _thriftId;
-
 
26988
      private final String _fieldName;
-
 
26989
 
-
 
26990
      _Fields(short thriftId, String fieldName) {
-
 
26991
        _thriftId = thriftId;
-
 
26992
        _fieldName = fieldName;
-
 
26993
      }
-
 
26994
 
-
 
26995
      public short getThriftFieldId() {
-
 
26996
        return _thriftId;
-
 
26997
      }
-
 
26998
 
-
 
26999
      public String getFieldName() {
-
 
27000
        return _fieldName;
-
 
27001
      }
-
 
27002
    }
-
 
27003
 
-
 
27004
    // isset id assignments
-
 
27005
 
-
 
27006
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
27007
      put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
-
 
27008
          new ListMetaData(TType.LIST, 
-
 
27009
              new StructMetaData(TType.STRUCT, Affiliate.class))));
-
 
27010
      put(_Fields.UTX, new FieldMetaData("utx", TFieldRequirementType.DEFAULT, 
-
 
27011
          new FieldValueMetaData(TType.STRUCT)));
-
 
27012
    }});
-
 
27013
 
-
 
27014
    static {
-
 
27015
      FieldMetaData.addStructMetaDataMap(getAffiliatesByMasterAffiliate_result.class, metaDataMap);
-
 
27016
    }
-
 
27017
 
-
 
27018
    public getAffiliatesByMasterAffiliate_result() {
-
 
27019
    }
-
 
27020
 
-
 
27021
    public getAffiliatesByMasterAffiliate_result(
-
 
27022
      List<Affiliate> success,
-
 
27023
      UserTrackerException utx)
-
 
27024
    {
-
 
27025
      this();
-
 
27026
      this.success = success;
-
 
27027
      this.utx = utx;
-
 
27028
    }
-
 
27029
 
-
 
27030
    /**
-
 
27031
     * Performs a deep copy on <i>other</i>.
-
 
27032
     */
-
 
27033
    public getAffiliatesByMasterAffiliate_result(getAffiliatesByMasterAffiliate_result other) {
-
 
27034
      if (other.isSetSuccess()) {
-
 
27035
        List<Affiliate> __this__success = new ArrayList<Affiliate>();
-
 
27036
        for (Affiliate other_element : other.success) {
-
 
27037
          __this__success.add(new Affiliate(other_element));
-
 
27038
        }
-
 
27039
        this.success = __this__success;
-
 
27040
      }
-
 
27041
      if (other.isSetUtx()) {
-
 
27042
        this.utx = new UserTrackerException(other.utx);
-
 
27043
      }
-
 
27044
    }
-
 
27045
 
-
 
27046
    public getAffiliatesByMasterAffiliate_result deepCopy() {
-
 
27047
      return new getAffiliatesByMasterAffiliate_result(this);
-
 
27048
    }
-
 
27049
 
-
 
27050
    @Deprecated
-
 
27051
    public getAffiliatesByMasterAffiliate_result clone() {
-
 
27052
      return new getAffiliatesByMasterAffiliate_result(this);
-
 
27053
    }
-
 
27054
 
-
 
27055
    public int getSuccessSize() {
-
 
27056
      return (this.success == null) ? 0 : this.success.size();
-
 
27057
    }
-
 
27058
 
-
 
27059
    public java.util.Iterator<Affiliate> getSuccessIterator() {
-
 
27060
      return (this.success == null) ? null : this.success.iterator();
-
 
27061
    }
-
 
27062
 
-
 
27063
    public void addToSuccess(Affiliate elem) {
-
 
27064
      if (this.success == null) {
-
 
27065
        this.success = new ArrayList<Affiliate>();
-
 
27066
      }
-
 
27067
      this.success.add(elem);
-
 
27068
    }
-
 
27069
 
-
 
27070
    public List<Affiliate> getSuccess() {
-
 
27071
      return this.success;
-
 
27072
    }
-
 
27073
 
-
 
27074
    public getAffiliatesByMasterAffiliate_result setSuccess(List<Affiliate> success) {
-
 
27075
      this.success = success;
-
 
27076
      return this;
-
 
27077
    }
-
 
27078
 
-
 
27079
    public void unsetSuccess() {
-
 
27080
      this.success = null;
-
 
27081
    }
-
 
27082
 
-
 
27083
    /** Returns true if field success is set (has been asigned a value) and false otherwise */
-
 
27084
    public boolean isSetSuccess() {
-
 
27085
      return this.success != null;
-
 
27086
    }
-
 
27087
 
-
 
27088
    public void setSuccessIsSet(boolean value) {
-
 
27089
      if (!value) {
-
 
27090
        this.success = null;
-
 
27091
      }
-
 
27092
    }
-
 
27093
 
-
 
27094
    public UserTrackerException getUtx() {
-
 
27095
      return this.utx;
-
 
27096
    }
-
 
27097
 
-
 
27098
    public getAffiliatesByMasterAffiliate_result setUtx(UserTrackerException utx) {
-
 
27099
      this.utx = utx;
-
 
27100
      return this;
-
 
27101
    }
-
 
27102
 
-
 
27103
    public void unsetUtx() {
-
 
27104
      this.utx = null;
-
 
27105
    }
-
 
27106
 
-
 
27107
    /** Returns true if field utx is set (has been asigned a value) and false otherwise */
-
 
27108
    public boolean isSetUtx() {
-
 
27109
      return this.utx != null;
-
 
27110
    }
-
 
27111
 
-
 
27112
    public void setUtxIsSet(boolean value) {
-
 
27113
      if (!value) {
-
 
27114
        this.utx = null;
-
 
27115
      }
-
 
27116
    }
-
 
27117
 
-
 
27118
    public void setFieldValue(_Fields field, Object value) {
-
 
27119
      switch (field) {
-
 
27120
      case SUCCESS:
-
 
27121
        if (value == null) {
-
 
27122
          unsetSuccess();
-
 
27123
        } else {
-
 
27124
          setSuccess((List<Affiliate>)value);
-
 
27125
        }
-
 
27126
        break;
-
 
27127
 
-
 
27128
      case UTX:
-
 
27129
        if (value == null) {
-
 
27130
          unsetUtx();
-
 
27131
        } else {
-
 
27132
          setUtx((UserTrackerException)value);
-
 
27133
        }
-
 
27134
        break;
-
 
27135
 
-
 
27136
      }
-
 
27137
    }
-
 
27138
 
-
 
27139
    public void setFieldValue(int fieldID, Object value) {
-
 
27140
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
27141
    }
-
 
27142
 
-
 
27143
    public Object getFieldValue(_Fields field) {
-
 
27144
      switch (field) {
-
 
27145
      case SUCCESS:
-
 
27146
        return getSuccess();
-
 
27147
 
-
 
27148
      case UTX:
-
 
27149
        return getUtx();
-
 
27150
 
-
 
27151
      }
-
 
27152
      throw new IllegalStateException();
-
 
27153
    }
-
 
27154
 
-
 
27155
    public Object getFieldValue(int fieldId) {
-
 
27156
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
27157
    }
-
 
27158
 
-
 
27159
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
27160
    public boolean isSet(_Fields field) {
-
 
27161
      switch (field) {
-
 
27162
      case SUCCESS:
-
 
27163
        return isSetSuccess();
-
 
27164
      case UTX:
-
 
27165
        return isSetUtx();
-
 
27166
      }
-
 
27167
      throw new IllegalStateException();
-
 
27168
    }
-
 
27169
 
-
 
27170
    public boolean isSet(int fieldID) {
-
 
27171
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
27172
    }
-
 
27173
 
-
 
27174
    @Override
-
 
27175
    public boolean equals(Object that) {
-
 
27176
      if (that == null)
-
 
27177
        return false;
-
 
27178
      if (that instanceof getAffiliatesByMasterAffiliate_result)
-
 
27179
        return this.equals((getAffiliatesByMasterAffiliate_result)that);
-
 
27180
      return false;
-
 
27181
    }
-
 
27182
 
-
 
27183
    public boolean equals(getAffiliatesByMasterAffiliate_result that) {
-
 
27184
      if (that == null)
-
 
27185
        return false;
-
 
27186
 
-
 
27187
      boolean this_present_success = true && this.isSetSuccess();
-
 
27188
      boolean that_present_success = true && that.isSetSuccess();
-
 
27189
      if (this_present_success || that_present_success) {
-
 
27190
        if (!(this_present_success && that_present_success))
-
 
27191
          return false;
-
 
27192
        if (!this.success.equals(that.success))
-
 
27193
          return false;
-
 
27194
      }
-
 
27195
 
-
 
27196
      boolean this_present_utx = true && this.isSetUtx();
-
 
27197
      boolean that_present_utx = true && that.isSetUtx();
-
 
27198
      if (this_present_utx || that_present_utx) {
-
 
27199
        if (!(this_present_utx && that_present_utx))
-
 
27200
          return false;
-
 
27201
        if (!this.utx.equals(that.utx))
-
 
27202
          return false;
-
 
27203
      }
-
 
27204
 
-
 
27205
      return true;
-
 
27206
    }
-
 
27207
 
-
 
27208
    @Override
-
 
27209
    public int hashCode() {
-
 
27210
      return 0;
-
 
27211
    }
-
 
27212
 
-
 
27213
    public int compareTo(getAffiliatesByMasterAffiliate_result other) {
-
 
27214
      if (!getClass().equals(other.getClass())) {
-
 
27215
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27216
      }
-
 
27217
 
-
 
27218
      int lastComparison = 0;
-
 
27219
      getAffiliatesByMasterAffiliate_result typedOther = (getAffiliatesByMasterAffiliate_result)other;
-
 
27220
 
-
 
27221
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
-
 
27222
      if (lastComparison != 0) {
-
 
27223
        return lastComparison;
-
 
27224
      }
-
 
27225
      lastComparison = TBaseHelper.compareTo(success, typedOther.success);
-
 
27226
      if (lastComparison != 0) {
-
 
27227
        return lastComparison;
-
 
27228
      }
-
 
27229
      lastComparison = Boolean.valueOf(isSetUtx()).compareTo(isSetUtx());
-
 
27230
      if (lastComparison != 0) {
-
 
27231
        return lastComparison;
-
 
27232
      }
-
 
27233
      lastComparison = TBaseHelper.compareTo(utx, typedOther.utx);
-
 
27234
      if (lastComparison != 0) {
-
 
27235
        return lastComparison;
-
 
27236
      }
-
 
27237
      return 0;
-
 
27238
    }
-
 
27239
 
-
 
27240
    public void read(TProtocol iprot) throws TException {
-
 
27241
      TField field;
-
 
27242
      iprot.readStructBegin();
-
 
27243
      while (true)
-
 
27244
      {
-
 
27245
        field = iprot.readFieldBegin();
-
 
27246
        if (field.type == TType.STOP) { 
-
 
27247
          break;
-
 
27248
        }
-
 
27249
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
27250
        if (fieldId == null) {
-
 
27251
          TProtocolUtil.skip(iprot, field.type);
-
 
27252
        } else {
-
 
27253
          switch (fieldId) {
-
 
27254
            case SUCCESS:
-
 
27255
              if (field.type == TType.LIST) {
-
 
27256
                {
-
 
27257
                  TList _list36 = iprot.readListBegin();
-
 
27258
                  this.success = new ArrayList<Affiliate>(_list36.size);
-
 
27259
                  for (int _i37 = 0; _i37 < _list36.size; ++_i37)
-
 
27260
                  {
-
 
27261
                    Affiliate _elem38;
-
 
27262
                    _elem38 = new Affiliate();
-
 
27263
                    _elem38.read(iprot);
-
 
27264
                    this.success.add(_elem38);
-
 
27265
                  }
-
 
27266
                  iprot.readListEnd();
-
 
27267
                }
-
 
27268
              } else { 
-
 
27269
                TProtocolUtil.skip(iprot, field.type);
-
 
27270
              }
-
 
27271
              break;
-
 
27272
            case UTX:
-
 
27273
              if (field.type == TType.STRUCT) {
-
 
27274
                this.utx = new UserTrackerException();
-
 
27275
                this.utx.read(iprot);
-
 
27276
              } else { 
-
 
27277
                TProtocolUtil.skip(iprot, field.type);
-
 
27278
              }
-
 
27279
              break;
-
 
27280
          }
-
 
27281
          iprot.readFieldEnd();
-
 
27282
        }
-
 
27283
      }
-
 
27284
      iprot.readStructEnd();
-
 
27285
      validate();
-
 
27286
    }
-
 
27287
 
-
 
27288
    public void write(TProtocol oprot) throws TException {
-
 
27289
      oprot.writeStructBegin(STRUCT_DESC);
-
 
27290
 
-
 
27291
      if (this.isSetSuccess()) {
-
 
27292
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
27293
        {
-
 
27294
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
-
 
27295
          for (Affiliate _iter39 : this.success)
-
 
27296
          {
-
 
27297
            _iter39.write(oprot);
-
 
27298
          }
-
 
27299
          oprot.writeListEnd();
-
 
27300
        }
-
 
27301
        oprot.writeFieldEnd();
-
 
27302
      } else if (this.isSetUtx()) {
-
 
27303
        oprot.writeFieldBegin(UTX_FIELD_DESC);
-
 
27304
        this.utx.write(oprot);
-
 
27305
        oprot.writeFieldEnd();
-
 
27306
      }
-
 
27307
      oprot.writeFieldStop();
-
 
27308
      oprot.writeStructEnd();
-
 
27309
    }
-
 
27310
 
-
 
27311
    @Override
-
 
27312
    public String toString() {
-
 
27313
      StringBuilder sb = new StringBuilder("getAffiliatesByMasterAffiliate_result(");
-
 
27314
      boolean first = true;
-
 
27315
 
-
 
27316
      sb.append("success:");
-
 
27317
      if (this.success == null) {
-
 
27318
        sb.append("null");
-
 
27319
      } else {
-
 
27320
        sb.append(this.success);
-
 
27321
      }
-
 
27322
      first = false;
-
 
27323
      if (!first) sb.append(", ");
-
 
27324
      sb.append("utx:");
-
 
27325
      if (this.utx == null) {
-
 
27326
        sb.append("null");
-
 
27327
      } else {
-
 
27328
        sb.append(this.utx);
-
 
27329
      }
-
 
27330
      first = false;
-
 
27331
      sb.append(")");
-
 
27332
      return sb.toString();
-
 
27333
    }
-
 
27334
 
-
 
27335
    public void validate() throws TException {
-
 
27336
      // check for required fields
-
 
27337
    }
-
 
27338
 
-
 
27339
  }
-
 
27340
 
-
 
27341
  public static class createTracker_args implements TBase<createTracker_args._Fields>, java.io.Serializable, Cloneable, Comparable<createTracker_args>   {
-
 
27342
    private static final TStruct STRUCT_DESC = new TStruct("createTracker_args");
-
 
27343
 
-
 
27344
    private static final TField AFFILIATE_ID_FIELD_DESC = new TField("affiliateId", TType.I64, (short)1);
-
 
27345
    private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)2);
-
 
27346
 
-
 
27347
    private long affiliateId;
-
 
27348
    private long addedOn;
-
 
27349
 
-
 
27350
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27351
    public enum _Fields implements TFieldIdEnum {
-
 
27352
      AFFILIATE_ID((short)1, "affiliateId"),
-
 
27353
      ADDED_ON((short)2, "addedOn");
-
 
27354
 
-
 
27355
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
27356
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27357
 
-
 
27358
      static {
-
 
27359
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27360
          byId.put((int)field._thriftId, field);
-
 
27361
          byName.put(field.getFieldName(), field);
-
 
27362
        }
-
 
27363
      }
-
 
27364
 
-
 
27365
      /**
-
 
27366
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27367
       */
-
 
27368
      public static _Fields findByThriftId(int fieldId) {
-
 
27369
        return byId.get(fieldId);
-
 
27370
      }
-
 
27371
 
-
 
27372
      /**
-
 
27373
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27374
       * if it is not found.
-
 
27375
       */
-
 
27376
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27377
        _Fields fields = findByThriftId(fieldId);
-
 
27378
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27379
        return fields;
-
 
27380
      }
-
 
27381
 
-
 
27382
      /**
-
 
27383
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27384
       */
-
 
27385
      public static _Fields findByName(String name) {
-
 
27386
        return byName.get(name);
-
 
27387
      }
-
 
27388
 
-
 
27389
      private final short _thriftId;
-
 
27390
      private final String _fieldName;
-
 
27391
 
-
 
27392
      _Fields(short thriftId, String fieldName) {
-
 
27393
        _thriftId = thriftId;
-
 
27394
        _fieldName = fieldName;
-
 
27395
      }
-
 
27396
 
-
 
27397
      public short getThriftFieldId() {
-
 
27398
        return _thriftId;
-
 
27399
      }
-
 
27400
 
-
 
27401
      public String getFieldName() {
-
 
27402
        return _fieldName;
-
 
27403
      }
-
 
27404
    }
-
 
27405
 
-
 
27406
    // isset id assignments
-
 
27407
    private static final int __AFFILIATEID_ISSET_ID = 0;
-
 
27408
    private static final int __ADDEDON_ISSET_ID = 1;
-
 
27409
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
27410
 
-
 
27411
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
27412
      put(_Fields.AFFILIATE_ID, new FieldMetaData("affiliateId", TFieldRequirementType.DEFAULT, 
-
 
27413
          new FieldValueMetaData(TType.I64)));
-
 
27414
      put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
-
 
27415
          new FieldValueMetaData(TType.I64)));
-
 
27416
    }});
-
 
27417
 
-
 
27418
    static {
-
 
27419
      FieldMetaData.addStructMetaDataMap(createTracker_args.class, metaDataMap);
-
 
27420
    }
-
 
27421
 
-
 
27422
    public createTracker_args() {
-
 
27423
    }
-
 
27424
 
-
 
27425
    public createTracker_args(
-
 
27426
      long affiliateId,
-
 
27427
      long addedOn)
-
 
27428
    {
-
 
27429
      this();
-
 
27430
      this.affiliateId = affiliateId;
-
 
27431
      setAffiliateIdIsSet(true);
-
 
27432
      this.addedOn = addedOn;
-
 
27433
      setAddedOnIsSet(true);
-
 
27434
    }
-
 
27435
 
-
 
27436
    /**
-
 
27437
     * Performs a deep copy on <i>other</i>.
-
 
27438
     */
-
 
27439
    public createTracker_args(createTracker_args other) {
-
 
27440
      __isset_bit_vector.clear();
-
 
27441
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
27442
      this.affiliateId = other.affiliateId;
-
 
27443
      this.addedOn = other.addedOn;
-
 
27444
    }
-
 
27445
 
-
 
27446
    public createTracker_args deepCopy() {
-
 
27447
      return new createTracker_args(this);
-
 
27448
    }
-
 
27449
 
-
 
27450
    @Deprecated
-
 
27451
    public createTracker_args clone() {
-
 
27452
      return new createTracker_args(this);
-
 
27453
    }
-
 
27454
 
-
 
27455
    public long getAffiliateId() {
-
 
27456
      return this.affiliateId;
-
 
27457
    }
-
 
27458
 
-
 
27459
    public createTracker_args setAffiliateId(long affiliateId) {
-
 
27460
      this.affiliateId = affiliateId;
-
 
27461
      setAffiliateIdIsSet(true);
-
 
27462
      return this;
-
 
27463
    }
-
 
27464
 
-
 
27465
    public void unsetAffiliateId() {
-
 
27466
      __isset_bit_vector.clear(__AFFILIATEID_ISSET_ID);
-
 
27467
    }
-
 
27468
 
-
 
27469
    /** Returns true if field affiliateId is set (has been asigned a value) and false otherwise */
-
 
27470
    public boolean isSetAffiliateId() {
-
 
27471
      return __isset_bit_vector.get(__AFFILIATEID_ISSET_ID);
-
 
27472
    }
-
 
27473
 
-
 
27474
    public void setAffiliateIdIsSet(boolean value) {
-
 
27475
      __isset_bit_vector.set(__AFFILIATEID_ISSET_ID, value);
-
 
27476
    }
-
 
27477
 
-
 
27478
    public long getAddedOn() {
-
 
27479
      return this.addedOn;
-
 
27480
    }
-
 
27481
 
-
 
27482
    public createTracker_args setAddedOn(long addedOn) {
-
 
27483
      this.addedOn = addedOn;
-
 
27484
      setAddedOnIsSet(true);
-
 
27485
      return this;
-
 
27486
    }
-
 
27487
 
-
 
27488
    public void unsetAddedOn() {
-
 
27489
      __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
-
 
27490
    }
-
 
27491
 
-
 
27492
    /** Returns true if field addedOn is set (has been asigned a value) and false otherwise */
-
 
27493
    public boolean isSetAddedOn() {
-
 
27494
      return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
-
 
27495
    }
-
 
27496
 
-
 
27497
    public void setAddedOnIsSet(boolean value) {
-
 
27498
      __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
-
 
27499
    }
-
 
27500
 
-
 
27501
    public void setFieldValue(_Fields field, Object value) {
-
 
27502
      switch (field) {
-
 
27503
      case AFFILIATE_ID:
-
 
27504
        if (value == null) {
-
 
27505
          unsetAffiliateId();
-
 
27506
        } else {
-
 
27507
          setAffiliateId((Long)value);
-
 
27508
        }
-
 
27509
        break;
-
 
27510
 
-
 
27511
      case ADDED_ON:
-
 
27512
        if (value == null) {
-
 
27513
          unsetAddedOn();
-
 
27514
        } else {
-
 
27515
          setAddedOn((Long)value);
-
 
27516
        }
-
 
27517
        break;
-
 
27518
 
-
 
27519
      }
-
 
27520
    }
-
 
27521
 
-
 
27522
    public void setFieldValue(int fieldID, Object value) {
-
 
27523
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
27524
    }
-
 
27525
 
-
 
27526
    public Object getFieldValue(_Fields field) {
-
 
27527
      switch (field) {
-
 
27528
      case AFFILIATE_ID:
-
 
27529
        return new Long(getAffiliateId());
-
 
27530
 
-
 
27531
      case ADDED_ON:
-
 
27532
        return new Long(getAddedOn());
-
 
27533
 
-
 
27534
      }
-
 
27535
      throw new IllegalStateException();
-
 
27536
    }
-
 
27537
 
-
 
27538
    public Object getFieldValue(int fieldId) {
-
 
27539
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
27540
    }
-
 
27541
 
-
 
27542
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
27543
    public boolean isSet(_Fields field) {
-
 
27544
      switch (field) {
-
 
27545
      case AFFILIATE_ID:
-
 
27546
        return isSetAffiliateId();
-
 
27547
      case ADDED_ON:
-
 
27548
        return isSetAddedOn();
-
 
27549
      }
-
 
27550
      throw new IllegalStateException();
-
 
27551
    }
-
 
27552
 
-
 
27553
    public boolean isSet(int fieldID) {
-
 
27554
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
27555
    }
-
 
27556
 
-
 
27557
    @Override
-
 
27558
    public boolean equals(Object that) {
-
 
27559
      if (that == null)
-
 
27560
        return false;
-
 
27561
      if (that instanceof createTracker_args)
-
 
27562
        return this.equals((createTracker_args)that);
-
 
27563
      return false;
-
 
27564
    }
-
 
27565
 
-
 
27566
    public boolean equals(createTracker_args that) {
-
 
27567
      if (that == null)
-
 
27568
        return false;
-
 
27569
 
-
 
27570
      boolean this_present_affiliateId = true;
-
 
27571
      boolean that_present_affiliateId = true;
-
 
27572
      if (this_present_affiliateId || that_present_affiliateId) {
-
 
27573
        if (!(this_present_affiliateId && that_present_affiliateId))
-
 
27574
          return false;
-
 
27575
        if (this.affiliateId != that.affiliateId)
-
 
27576
          return false;
-
 
27577
      }
-
 
27578
 
-
 
27579
      boolean this_present_addedOn = true;
-
 
27580
      boolean that_present_addedOn = true;
-
 
27581
      if (this_present_addedOn || that_present_addedOn) {
-
 
27582
        if (!(this_present_addedOn && that_present_addedOn))
-
 
27583
          return false;
-
 
27584
        if (this.addedOn != that.addedOn)
-
 
27585
          return false;
-
 
27586
      }
-
 
27587
 
-
 
27588
      return true;
-
 
27589
    }
-
 
27590
 
-
 
27591
    @Override
-
 
27592
    public int hashCode() {
-
 
27593
      return 0;
-
 
27594
    }
-
 
27595
 
-
 
27596
    public int compareTo(createTracker_args other) {
-
 
27597
      if (!getClass().equals(other.getClass())) {
-
 
27598
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27599
      }
-
 
27600
 
-
 
27601
      int lastComparison = 0;
-
 
27602
      createTracker_args typedOther = (createTracker_args)other;
-
 
27603
 
-
 
27604
      lastComparison = Boolean.valueOf(isSetAffiliateId()).compareTo(isSetAffiliateId());
-
 
27605
      if (lastComparison != 0) {
-
 
27606
        return lastComparison;
-
 
27607
      }
-
 
27608
      lastComparison = TBaseHelper.compareTo(affiliateId, typedOther.affiliateId);
-
 
27609
      if (lastComparison != 0) {
-
 
27610
        return lastComparison;
-
 
27611
      }
-
 
27612
      lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(isSetAddedOn());
-
 
27613
      if (lastComparison != 0) {
-
 
27614
        return lastComparison;
-
 
27615
      }
-
 
27616
      lastComparison = TBaseHelper.compareTo(addedOn, typedOther.addedOn);
-
 
27617
      if (lastComparison != 0) {
-
 
27618
        return lastComparison;
-
 
27619
      }
-
 
27620
      return 0;
-
 
27621
    }
-
 
27622
 
-
 
27623
    public void read(TProtocol iprot) throws TException {
-
 
27624
      TField field;
-
 
27625
      iprot.readStructBegin();
-
 
27626
      while (true)
-
 
27627
      {
-
 
27628
        field = iprot.readFieldBegin();
-
 
27629
        if (field.type == TType.STOP) { 
-
 
27630
          break;
-
 
27631
        }
-
 
27632
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
27633
        if (fieldId == null) {
-
 
27634
          TProtocolUtil.skip(iprot, field.type);
-
 
27635
        } else {
-
 
27636
          switch (fieldId) {
-
 
27637
            case AFFILIATE_ID:
-
 
27638
              if (field.type == TType.I64) {
-
 
27639
                this.affiliateId = iprot.readI64();
-
 
27640
                setAffiliateIdIsSet(true);
-
 
27641
              } else { 
-
 
27642
                TProtocolUtil.skip(iprot, field.type);
-
 
27643
              }
-
 
27644
              break;
-
 
27645
            case ADDED_ON:
-
 
27646
              if (field.type == TType.I64) {
-
 
27647
                this.addedOn = iprot.readI64();
-
 
27648
                setAddedOnIsSet(true);
-
 
27649
              } else { 
-
 
27650
                TProtocolUtil.skip(iprot, field.type);
-
 
27651
              }
-
 
27652
              break;
-
 
27653
          }
-
 
27654
          iprot.readFieldEnd();
-
 
27655
        }
-
 
27656
      }
-
 
27657
      iprot.readStructEnd();
-
 
27658
      validate();
-
 
27659
    }
-
 
27660
 
-
 
27661
    public void write(TProtocol oprot) throws TException {
-
 
27662
      validate();
-
 
27663
 
-
 
27664
      oprot.writeStructBegin(STRUCT_DESC);
-
 
27665
      oprot.writeFieldBegin(AFFILIATE_ID_FIELD_DESC);
-
 
27666
      oprot.writeI64(this.affiliateId);
-
 
27667
      oprot.writeFieldEnd();
-
 
27668
      oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
-
 
27669
      oprot.writeI64(this.addedOn);
-
 
27670
      oprot.writeFieldEnd();
-
 
27671
      oprot.writeFieldStop();
-
 
27672
      oprot.writeStructEnd();
-
 
27673
    }
-
 
27674
 
-
 
27675
    @Override
-
 
27676
    public String toString() {
-
 
27677
      StringBuilder sb = new StringBuilder("createTracker_args(");
-
 
27678
      boolean first = true;
-
 
27679
 
-
 
27680
      sb.append("affiliateId:");
-
 
27681
      sb.append(this.affiliateId);
-
 
27682
      first = false;
-
 
27683
      if (!first) sb.append(", ");
-
 
27684
      sb.append("addedOn:");
-
 
27685
      sb.append(this.addedOn);
-
 
27686
      first = false;
-
 
27687
      sb.append(")");
-
 
27688
      return sb.toString();
-
 
27689
    }
-
 
27690
 
-
 
27691
    public void validate() throws TException {
-
 
27692
      // check for required fields
-
 
27693
    }
-
 
27694
 
-
 
27695
  }
-
 
27696
 
-
 
27697
  public static class createTracker_result implements TBase<createTracker_result._Fields>, java.io.Serializable, Cloneable, Comparable<createTracker_result>   {
-
 
27698
    private static final TStruct STRUCT_DESC = new TStruct("createTracker_result");
-
 
27699
 
-
 
27700
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
-
 
27701
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
-
 
27702
 
-
 
27703
    private Tracker success;
-
 
27704
    private UserTrackerException utx;
-
 
27705
 
-
 
27706
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
27707
    public enum _Fields implements TFieldIdEnum {
-
 
27708
      SUCCESS((short)0, "success"),
-
 
27709
      UTX((short)1, "utx");
-
 
27710
 
-
 
27711
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
27712
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
27713
 
-
 
27714
      static {
-
 
27715
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
27716
          byId.put((int)field._thriftId, field);
-
 
27717
          byName.put(field.getFieldName(), field);
-
 
27718
        }
-
 
27719
      }
-
 
27720
 
-
 
27721
      /**
-
 
27722
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
27723
       */
-
 
27724
      public static _Fields findByThriftId(int fieldId) {
-
 
27725
        return byId.get(fieldId);
-
 
27726
      }
-
 
27727
 
-
 
27728
      /**
-
 
27729
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
27730
       * if it is not found.
-
 
27731
       */
-
 
27732
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
27733
        _Fields fields = findByThriftId(fieldId);
-
 
27734
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
27735
        return fields;
-
 
27736
      }
-
 
27737
 
-
 
27738
      /**
-
 
27739
       * Find the _Fields constant that matches name, or null if its not found.
-
 
27740
       */
-
 
27741
      public static _Fields findByName(String name) {
-
 
27742
        return byName.get(name);
-
 
27743
      }
-
 
27744
 
-
 
27745
      private final short _thriftId;
-
 
27746
      private final String _fieldName;
-
 
27747
 
-
 
27748
      _Fields(short thriftId, String fieldName) {
-
 
27749
        _thriftId = thriftId;
-
 
27750
        _fieldName = fieldName;
-
 
27751
      }
-
 
27752
 
-
 
27753
      public short getThriftFieldId() {
-
 
27754
        return _thriftId;
-
 
27755
      }
-
 
27756
 
-
 
27757
      public String getFieldName() {
-
 
27758
        return _fieldName;
-
 
27759
      }
-
 
27760
    }
-
 
27761
 
-
 
27762
    // isset id assignments
-
 
27763
 
-
 
27764
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
27765
      put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
-
 
27766
          new StructMetaData(TType.STRUCT, Tracker.class)));
-
 
27767
      put(_Fields.UTX, new FieldMetaData("utx", TFieldRequirementType.DEFAULT, 
-
 
27768
          new FieldValueMetaData(TType.STRUCT)));
-
 
27769
    }});
-
 
27770
 
-
 
27771
    static {
-
 
27772
      FieldMetaData.addStructMetaDataMap(createTracker_result.class, metaDataMap);
-
 
27773
    }
-
 
27774
 
-
 
27775
    public createTracker_result() {
-
 
27776
    }
-
 
27777
 
-
 
27778
    public createTracker_result(
-
 
27779
      Tracker success,
-
 
27780
      UserTrackerException utx)
-
 
27781
    {
-
 
27782
      this();
-
 
27783
      this.success = success;
-
 
27784
      this.utx = utx;
-
 
27785
    }
-
 
27786
 
-
 
27787
    /**
-
 
27788
     * Performs a deep copy on <i>other</i>.
-
 
27789
     */
-
 
27790
    public createTracker_result(createTracker_result other) {
-
 
27791
      if (other.isSetSuccess()) {
-
 
27792
        this.success = new Tracker(other.success);
-
 
27793
      }
-
 
27794
      if (other.isSetUtx()) {
-
 
27795
        this.utx = new UserTrackerException(other.utx);
-
 
27796
      }
-
 
27797
    }
-
 
27798
 
-
 
27799
    public createTracker_result deepCopy() {
-
 
27800
      return new createTracker_result(this);
-
 
27801
    }
-
 
27802
 
-
 
27803
    @Deprecated
-
 
27804
    public createTracker_result clone() {
-
 
27805
      return new createTracker_result(this);
-
 
27806
    }
-
 
27807
 
-
 
27808
    public Tracker getSuccess() {
-
 
27809
      return this.success;
-
 
27810
    }
-
 
27811
 
-
 
27812
    public createTracker_result setSuccess(Tracker success) {
-
 
27813
      this.success = success;
-
 
27814
      return this;
-
 
27815
    }
-
 
27816
 
-
 
27817
    public void unsetSuccess() {
-
 
27818
      this.success = null;
-
 
27819
    }
-
 
27820
 
-
 
27821
    /** Returns true if field success is set (has been asigned a value) and false otherwise */
-
 
27822
    public boolean isSetSuccess() {
-
 
27823
      return this.success != null;
-
 
27824
    }
-
 
27825
 
-
 
27826
    public void setSuccessIsSet(boolean value) {
-
 
27827
      if (!value) {
-
 
27828
        this.success = null;
-
 
27829
      }
-
 
27830
    }
-
 
27831
 
-
 
27832
    public UserTrackerException getUtx() {
-
 
27833
      return this.utx;
-
 
27834
    }
-
 
27835
 
-
 
27836
    public createTracker_result setUtx(UserTrackerException utx) {
-
 
27837
      this.utx = utx;
-
 
27838
      return this;
-
 
27839
    }
-
 
27840
 
-
 
27841
    public void unsetUtx() {
-
 
27842
      this.utx = null;
-
 
27843
    }
-
 
27844
 
-
 
27845
    /** Returns true if field utx is set (has been asigned a value) and false otherwise */
-
 
27846
    public boolean isSetUtx() {
-
 
27847
      return this.utx != null;
-
 
27848
    }
-
 
27849
 
-
 
27850
    public void setUtxIsSet(boolean value) {
-
 
27851
      if (!value) {
-
 
27852
        this.utx = null;
-
 
27853
      }
-
 
27854
    }
-
 
27855
 
-
 
27856
    public void setFieldValue(_Fields field, Object value) {
-
 
27857
      switch (field) {
-
 
27858
      case SUCCESS:
-
 
27859
        if (value == null) {
-
 
27860
          unsetSuccess();
-
 
27861
        } else {
-
 
27862
          setSuccess((Tracker)value);
-
 
27863
        }
-
 
27864
        break;
-
 
27865
 
-
 
27866
      case UTX:
-
 
27867
        if (value == null) {
-
 
27868
          unsetUtx();
-
 
27869
        } else {
-
 
27870
          setUtx((UserTrackerException)value);
-
 
27871
        }
-
 
27872
        break;
-
 
27873
 
-
 
27874
      }
-
 
27875
    }
-
 
27876
 
-
 
27877
    public void setFieldValue(int fieldID, Object value) {
-
 
27878
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
27879
    }
-
 
27880
 
-
 
27881
    public Object getFieldValue(_Fields field) {
-
 
27882
      switch (field) {
-
 
27883
      case SUCCESS:
-
 
27884
        return getSuccess();
-
 
27885
 
-
 
27886
      case UTX:
-
 
27887
        return getUtx();
-
 
27888
 
-
 
27889
      }
-
 
27890
      throw new IllegalStateException();
-
 
27891
    }
-
 
27892
 
-
 
27893
    public Object getFieldValue(int fieldId) {
-
 
27894
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
27895
    }
-
 
27896
 
-
 
27897
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
27898
    public boolean isSet(_Fields field) {
-
 
27899
      switch (field) {
-
 
27900
      case SUCCESS:
-
 
27901
        return isSetSuccess();
-
 
27902
      case UTX:
-
 
27903
        return isSetUtx();
-
 
27904
      }
-
 
27905
      throw new IllegalStateException();
-
 
27906
    }
-
 
27907
 
-
 
27908
    public boolean isSet(int fieldID) {
-
 
27909
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
27910
    }
-
 
27911
 
-
 
27912
    @Override
-
 
27913
    public boolean equals(Object that) {
-
 
27914
      if (that == null)
-
 
27915
        return false;
-
 
27916
      if (that instanceof createTracker_result)
-
 
27917
        return this.equals((createTracker_result)that);
-
 
27918
      return false;
-
 
27919
    }
-
 
27920
 
-
 
27921
    public boolean equals(createTracker_result that) {
-
 
27922
      if (that == null)
-
 
27923
        return false;
-
 
27924
 
-
 
27925
      boolean this_present_success = true && this.isSetSuccess();
-
 
27926
      boolean that_present_success = true && that.isSetSuccess();
-
 
27927
      if (this_present_success || that_present_success) {
-
 
27928
        if (!(this_present_success && that_present_success))
-
 
27929
          return false;
-
 
27930
        if (!this.success.equals(that.success))
-
 
27931
          return false;
-
 
27932
      }
-
 
27933
 
-
 
27934
      boolean this_present_utx = true && this.isSetUtx();
-
 
27935
      boolean that_present_utx = true && that.isSetUtx();
-
 
27936
      if (this_present_utx || that_present_utx) {
-
 
27937
        if (!(this_present_utx && that_present_utx))
-
 
27938
          return false;
-
 
27939
        if (!this.utx.equals(that.utx))
-
 
27940
          return false;
-
 
27941
      }
-
 
27942
 
-
 
27943
      return true;
-
 
27944
    }
-
 
27945
 
-
 
27946
    @Override
-
 
27947
    public int hashCode() {
-
 
27948
      return 0;
-
 
27949
    }
-
 
27950
 
-
 
27951
    public int compareTo(createTracker_result other) {
-
 
27952
      if (!getClass().equals(other.getClass())) {
-
 
27953
        return getClass().getName().compareTo(other.getClass().getName());
-
 
27954
      }
-
 
27955
 
-
 
27956
      int lastComparison = 0;
-
 
27957
      createTracker_result typedOther = (createTracker_result)other;
-
 
27958
 
-
 
27959
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
-
 
27960
      if (lastComparison != 0) {
-
 
27961
        return lastComparison;
-
 
27962
      }
-
 
27963
      lastComparison = TBaseHelper.compareTo(success, typedOther.success);
-
 
27964
      if (lastComparison != 0) {
-
 
27965
        return lastComparison;
-
 
27966
      }
-
 
27967
      lastComparison = Boolean.valueOf(isSetUtx()).compareTo(isSetUtx());
-
 
27968
      if (lastComparison != 0) {
-
 
27969
        return lastComparison;
-
 
27970
      }
-
 
27971
      lastComparison = TBaseHelper.compareTo(utx, typedOther.utx);
-
 
27972
      if (lastComparison != 0) {
-
 
27973
        return lastComparison;
-
 
27974
      }
-
 
27975
      return 0;
-
 
27976
    }
-
 
27977
 
-
 
27978
    public void read(TProtocol iprot) throws TException {
-
 
27979
      TField field;
-
 
27980
      iprot.readStructBegin();
-
 
27981
      while (true)
-
 
27982
      {
-
 
27983
        field = iprot.readFieldBegin();
-
 
27984
        if (field.type == TType.STOP) { 
-
 
27985
          break;
-
 
27986
        }
-
 
27987
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
27988
        if (fieldId == null) {
-
 
27989
          TProtocolUtil.skip(iprot, field.type);
-
 
27990
        } else {
-
 
27991
          switch (fieldId) {
-
 
27992
            case SUCCESS:
-
 
27993
              if (field.type == TType.STRUCT) {
-
 
27994
                this.success = new Tracker();
-
 
27995
                this.success.read(iprot);
-
 
27996
              } else { 
-
 
27997
                TProtocolUtil.skip(iprot, field.type);
-
 
27998
              }
-
 
27999
              break;
-
 
28000
            case UTX:
-
 
28001
              if (field.type == TType.STRUCT) {
-
 
28002
                this.utx = new UserTrackerException();
-
 
28003
                this.utx.read(iprot);
-
 
28004
              } else { 
-
 
28005
                TProtocolUtil.skip(iprot, field.type);
-
 
28006
              }
-
 
28007
              break;
-
 
28008
          }
-
 
28009
          iprot.readFieldEnd();
-
 
28010
        }
-
 
28011
      }
-
 
28012
      iprot.readStructEnd();
-
 
28013
      validate();
-
 
28014
    }
-
 
28015
 
-
 
28016
    public void write(TProtocol oprot) throws TException {
-
 
28017
      oprot.writeStructBegin(STRUCT_DESC);
-
 
28018
 
-
 
28019
      if (this.isSetSuccess()) {
-
 
28020
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
28021
        this.success.write(oprot);
-
 
28022
        oprot.writeFieldEnd();
-
 
28023
      } else if (this.isSetUtx()) {
-
 
28024
        oprot.writeFieldBegin(UTX_FIELD_DESC);
-
 
28025
        this.utx.write(oprot);
-
 
28026
        oprot.writeFieldEnd();
-
 
28027
      }
-
 
28028
      oprot.writeFieldStop();
-
 
28029
      oprot.writeStructEnd();
-
 
28030
    }
-
 
28031
 
-
 
28032
    @Override
-
 
28033
    public String toString() {
-
 
28034
      StringBuilder sb = new StringBuilder("createTracker_result(");
-
 
28035
      boolean first = true;
-
 
28036
 
-
 
28037
      sb.append("success:");
-
 
28038
      if (this.success == null) {
-
 
28039
        sb.append("null");
-
 
28040
      } else {
-
 
28041
        sb.append(this.success);
-
 
28042
      }
-
 
28043
      first = false;
-
 
28044
      if (!first) sb.append(", ");
-
 
28045
      sb.append("utx:");
-
 
28046
      if (this.utx == null) {
-
 
28047
        sb.append("null");
-
 
28048
      } else {
-
 
28049
        sb.append(this.utx);
-
 
28050
      }
-
 
28051
      first = false;
-
 
28052
      sb.append(")");
-
 
28053
      return sb.toString();
-
 
28054
    }
-
 
28055
 
-
 
28056
    public void validate() throws TException {
-
 
28057
      // check for required fields
-
 
28058
    }
-
 
28059
 
-
 
28060
  }
-
 
28061
 
-
 
28062
  public static class getTrackerById_args implements TBase<getTrackerById_args._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackerById_args>   {
-
 
28063
    private static final TStruct STRUCT_DESC = new TStruct("getTrackerById_args");
-
 
28064
 
-
 
28065
    private static final TField TRACKER_ID_FIELD_DESC = new TField("trackerId", TType.I64, (short)1);
-
 
28066
 
-
 
28067
    private long trackerId;
-
 
28068
 
-
 
28069
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
28070
    public enum _Fields implements TFieldIdEnum {
-
 
28071
      TRACKER_ID((short)1, "trackerId");
-
 
28072
 
-
 
28073
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
28074
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
28075
 
-
 
28076
      static {
-
 
28077
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
28078
          byId.put((int)field._thriftId, field);
-
 
28079
          byName.put(field.getFieldName(), field);
-
 
28080
        }
-
 
28081
      }
-
 
28082
 
-
 
28083
      /**
-
 
28084
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
28085
       */
-
 
28086
      public static _Fields findByThriftId(int fieldId) {
-
 
28087
        return byId.get(fieldId);
-
 
28088
      }
-
 
28089
 
-
 
28090
      /**
-
 
28091
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
28092
       * if it is not found.
-
 
28093
       */
-
 
28094
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
28095
        _Fields fields = findByThriftId(fieldId);
-
 
28096
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
28097
        return fields;
-
 
28098
      }
-
 
28099
 
-
 
28100
      /**
-
 
28101
       * Find the _Fields constant that matches name, or null if its not found.
-
 
28102
       */
-
 
28103
      public static _Fields findByName(String name) {
-
 
28104
        return byName.get(name);
-
 
28105
      }
-
 
28106
 
-
 
28107
      private final short _thriftId;
-
 
28108
      private final String _fieldName;
-
 
28109
 
-
 
28110
      _Fields(short thriftId, String fieldName) {
-
 
28111
        _thriftId = thriftId;
-
 
28112
        _fieldName = fieldName;
-
 
28113
      }
-
 
28114
 
-
 
28115
      public short getThriftFieldId() {
-
 
28116
        return _thriftId;
-
 
28117
      }
-
 
28118
 
-
 
28119
      public String getFieldName() {
-
 
28120
        return _fieldName;
-
 
28121
      }
-
 
28122
    }
-
 
28123
 
-
 
28124
    // isset id assignments
-
 
28125
    private static final int __TRACKERID_ISSET_ID = 0;
-
 
28126
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
28127
 
-
 
28128
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
28129
      put(_Fields.TRACKER_ID, new FieldMetaData("trackerId", TFieldRequirementType.DEFAULT, 
-
 
28130
          new FieldValueMetaData(TType.I64)));
-
 
28131
    }});
-
 
28132
 
-
 
28133
    static {
-
 
28134
      FieldMetaData.addStructMetaDataMap(getTrackerById_args.class, metaDataMap);
-
 
28135
    }
-
 
28136
 
-
 
28137
    public getTrackerById_args() {
-
 
28138
    }
-
 
28139
 
-
 
28140
    public getTrackerById_args(
-
 
28141
      long trackerId)
-
 
28142
    {
-
 
28143
      this();
-
 
28144
      this.trackerId = trackerId;
-
 
28145
      setTrackerIdIsSet(true);
-
 
28146
    }
-
 
28147
 
-
 
28148
    /**
-
 
28149
     * Performs a deep copy on <i>other</i>.
-
 
28150
     */
-
 
28151
    public getTrackerById_args(getTrackerById_args other) {
-
 
28152
      __isset_bit_vector.clear();
-
 
28153
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
28154
      this.trackerId = other.trackerId;
-
 
28155
    }
-
 
28156
 
-
 
28157
    public getTrackerById_args deepCopy() {
-
 
28158
      return new getTrackerById_args(this);
-
 
28159
    }
-
 
28160
 
-
 
28161
    @Deprecated
-
 
28162
    public getTrackerById_args clone() {
-
 
28163
      return new getTrackerById_args(this);
-
 
28164
    }
-
 
28165
 
-
 
28166
    public long getTrackerId() {
-
 
28167
      return this.trackerId;
-
 
28168
    }
-
 
28169
 
-
 
28170
    public getTrackerById_args setTrackerId(long trackerId) {
-
 
28171
      this.trackerId = trackerId;
-
 
28172
      setTrackerIdIsSet(true);
-
 
28173
      return this;
-
 
28174
    }
-
 
28175
 
-
 
28176
    public void unsetTrackerId() {
-
 
28177
      __isset_bit_vector.clear(__TRACKERID_ISSET_ID);
-
 
28178
    }
-
 
28179
 
-
 
28180
    /** Returns true if field trackerId is set (has been asigned a value) and false otherwise */
-
 
28181
    public boolean isSetTrackerId() {
-
 
28182
      return __isset_bit_vector.get(__TRACKERID_ISSET_ID);
-
 
28183
    }
-
 
28184
 
-
 
28185
    public void setTrackerIdIsSet(boolean value) {
-
 
28186
      __isset_bit_vector.set(__TRACKERID_ISSET_ID, value);
-
 
28187
    }
-
 
28188
 
-
 
28189
    public void setFieldValue(_Fields field, Object value) {
-
 
28190
      switch (field) {
-
 
28191
      case TRACKER_ID:
-
 
28192
        if (value == null) {
-
 
28193
          unsetTrackerId();
-
 
28194
        } else {
-
 
28195
          setTrackerId((Long)value);
-
 
28196
        }
-
 
28197
        break;
-
 
28198
 
-
 
28199
      }
-
 
28200
    }
-
 
28201
 
-
 
28202
    public void setFieldValue(int fieldID, Object value) {
-
 
28203
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
28204
    }
-
 
28205
 
-
 
28206
    public Object getFieldValue(_Fields field) {
-
 
28207
      switch (field) {
-
 
28208
      case TRACKER_ID:
-
 
28209
        return new Long(getTrackerId());
-
 
28210
 
-
 
28211
      }
-
 
28212
      throw new IllegalStateException();
-
 
28213
    }
-
 
28214
 
-
 
28215
    public Object getFieldValue(int fieldId) {
-
 
28216
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
28217
    }
-
 
28218
 
-
 
28219
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
28220
    public boolean isSet(_Fields field) {
-
 
28221
      switch (field) {
-
 
28222
      case TRACKER_ID:
-
 
28223
        return isSetTrackerId();
-
 
28224
      }
-
 
28225
      throw new IllegalStateException();
-
 
28226
    }
-
 
28227
 
-
 
28228
    public boolean isSet(int fieldID) {
-
 
28229
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
28230
    }
-
 
28231
 
-
 
28232
    @Override
-
 
28233
    public boolean equals(Object that) {
-
 
28234
      if (that == null)
-
 
28235
        return false;
-
 
28236
      if (that instanceof getTrackerById_args)
-
 
28237
        return this.equals((getTrackerById_args)that);
-
 
28238
      return false;
-
 
28239
    }
-
 
28240
 
-
 
28241
    public boolean equals(getTrackerById_args that) {
-
 
28242
      if (that == null)
-
 
28243
        return false;
-
 
28244
 
-
 
28245
      boolean this_present_trackerId = true;
-
 
28246
      boolean that_present_trackerId = true;
-
 
28247
      if (this_present_trackerId || that_present_trackerId) {
-
 
28248
        if (!(this_present_trackerId && that_present_trackerId))
-
 
28249
          return false;
-
 
28250
        if (this.trackerId != that.trackerId)
-
 
28251
          return false;
-
 
28252
      }
-
 
28253
 
-
 
28254
      return true;
-
 
28255
    }
-
 
28256
 
-
 
28257
    @Override
-
 
28258
    public int hashCode() {
-
 
28259
      return 0;
-
 
28260
    }
-
 
28261
 
-
 
28262
    public int compareTo(getTrackerById_args other) {
-
 
28263
      if (!getClass().equals(other.getClass())) {
-
 
28264
        return getClass().getName().compareTo(other.getClass().getName());
-
 
28265
      }
-
 
28266
 
-
 
28267
      int lastComparison = 0;
-
 
28268
      getTrackerById_args typedOther = (getTrackerById_args)other;
-
 
28269
 
-
 
28270
      lastComparison = Boolean.valueOf(isSetTrackerId()).compareTo(isSetTrackerId());
-
 
28271
      if (lastComparison != 0) {
-
 
28272
        return lastComparison;
-
 
28273
      }
-
 
28274
      lastComparison = TBaseHelper.compareTo(trackerId, typedOther.trackerId);
-
 
28275
      if (lastComparison != 0) {
-
 
28276
        return lastComparison;
-
 
28277
      }
-
 
28278
      return 0;
-
 
28279
    }
-
 
28280
 
-
 
28281
    public void read(TProtocol iprot) throws TException {
-
 
28282
      TField field;
-
 
28283
      iprot.readStructBegin();
-
 
28284
      while (true)
-
 
28285
      {
-
 
28286
        field = iprot.readFieldBegin();
-
 
28287
        if (field.type == TType.STOP) { 
-
 
28288
          break;
-
 
28289
        }
-
 
28290
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
28291
        if (fieldId == null) {
-
 
28292
          TProtocolUtil.skip(iprot, field.type);
-
 
28293
        } else {
-
 
28294
          switch (fieldId) {
-
 
28295
            case TRACKER_ID:
-
 
28296
              if (field.type == TType.I64) {
-
 
28297
                this.trackerId = iprot.readI64();
-
 
28298
                setTrackerIdIsSet(true);
-
 
28299
              } else { 
-
 
28300
                TProtocolUtil.skip(iprot, field.type);
-
 
28301
              }
-
 
28302
              break;
-
 
28303
          }
-
 
28304
          iprot.readFieldEnd();
-
 
28305
        }
-
 
28306
      }
-
 
28307
      iprot.readStructEnd();
-
 
28308
      validate();
-
 
28309
    }
-
 
28310
 
-
 
28311
    public void write(TProtocol oprot) throws TException {
-
 
28312
      validate();
-
 
28313
 
-
 
28314
      oprot.writeStructBegin(STRUCT_DESC);
-
 
28315
      oprot.writeFieldBegin(TRACKER_ID_FIELD_DESC);
-
 
28316
      oprot.writeI64(this.trackerId);
-
 
28317
      oprot.writeFieldEnd();
-
 
28318
      oprot.writeFieldStop();
-
 
28319
      oprot.writeStructEnd();
-
 
28320
    }
-
 
28321
 
-
 
28322
    @Override
-
 
28323
    public String toString() {
-
 
28324
      StringBuilder sb = new StringBuilder("getTrackerById_args(");
-
 
28325
      boolean first = true;
-
 
28326
 
-
 
28327
      sb.append("trackerId:");
-
 
28328
      sb.append(this.trackerId);
-
 
28329
      first = false;
-
 
28330
      sb.append(")");
-
 
28331
      return sb.toString();
-
 
28332
    }
-
 
28333
 
-
 
28334
    public void validate() throws TException {
-
 
28335
      // check for required fields
-
 
28336
    }
-
 
28337
 
-
 
28338
  }
-
 
28339
 
-
 
28340
  public static class getTrackerById_result implements TBase<getTrackerById_result._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackerById_result>   {
26803
  public static class getTrackerById_result implements TBase<getTrackerById_result._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackerById_result>   {
28341
    private static final TStruct STRUCT_DESC = new TStruct("getTrackerById_result");
26804
    private static final TStruct STRUCT_DESC = new TStruct("getTrackerById_result");
28342
 
26805
 
28343
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
26806
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
28344
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
26807
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
28345
 
26808
 
28346
    private Tracker success;
26809
    private Tracker success;
28347
    private UserTrackerException utx;
26810
    private UserAffiliateException utx;
28348
 
26811
 
28349
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
26812
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
28350
    public enum _Fields implements TFieldIdEnum {
26813
    public enum _Fields implements TFieldIdEnum {
28351
      SUCCESS((short)0, "success"),
26814
      SUCCESS((short)0, "success"),
28352
      UTX((short)1, "utx");
26815
      UTX((short)1, "utx");
Line 28418... Line 26881...
28418
    public getTrackerById_result() {
26881
    public getTrackerById_result() {
28419
    }
26882
    }
28420
 
26883
 
28421
    public getTrackerById_result(
26884
    public getTrackerById_result(
28422
      Tracker success,
26885
      Tracker success,
28423
      UserTrackerException utx)
26886
      UserAffiliateException utx)
28424
    {
26887
    {
28425
      this();
26888
      this();
28426
      this.success = success;
26889
      this.success = success;
28427
      this.utx = utx;
26890
      this.utx = utx;
28428
    }
26891
    }
Line 28433... Line 26896...
28433
    public getTrackerById_result(getTrackerById_result other) {
26896
    public getTrackerById_result(getTrackerById_result other) {
28434
      if (other.isSetSuccess()) {
26897
      if (other.isSetSuccess()) {
28435
        this.success = new Tracker(other.success);
26898
        this.success = new Tracker(other.success);
28436
      }
26899
      }
28437
      if (other.isSetUtx()) {
26900
      if (other.isSetUtx()) {
28438
        this.utx = new UserTrackerException(other.utx);
26901
        this.utx = new UserAffiliateException(other.utx);
28439
      }
26902
      }
28440
    }
26903
    }
28441
 
26904
 
28442
    public getTrackerById_result deepCopy() {
26905
    public getTrackerById_result deepCopy() {
28443
      return new getTrackerById_result(this);
26906
      return new getTrackerById_result(this);
Line 28470... Line 26933...
28470
      if (!value) {
26933
      if (!value) {
28471
        this.success = null;
26934
        this.success = null;
28472
      }
26935
      }
28473
    }
26936
    }
28474
 
26937
 
28475
    public UserTrackerException getUtx() {
26938
    public UserAffiliateException getUtx() {
28476
      return this.utx;
26939
      return this.utx;
28477
    }
26940
    }
28478
 
26941
 
28479
    public getTrackerById_result setUtx(UserTrackerException utx) {
26942
    public getTrackerById_result setUtx(UserAffiliateException utx) {
28480
      this.utx = utx;
26943
      this.utx = utx;
28481
      return this;
26944
      return this;
28482
    }
26945
    }
28483
 
26946
 
28484
    public void unsetUtx() {
26947
    public void unsetUtx() {
Line 28508... Line 26971...
28508
 
26971
 
28509
      case UTX:
26972
      case UTX:
28510
        if (value == null) {
26973
        if (value == null) {
28511
          unsetUtx();
26974
          unsetUtx();
28512
        } else {
26975
        } else {
28513
          setUtx((UserTrackerException)value);
26976
          setUtx((UserAffiliateException)value);
28514
        }
26977
        }
28515
        break;
26978
        break;
28516
 
26979
 
28517
      }
26980
      }
28518
    }
26981
    }
Line 28640... Line 27103...
28640
                TProtocolUtil.skip(iprot, field.type);
27103
                TProtocolUtil.skip(iprot, field.type);
28641
              }
27104
              }
28642
              break;
27105
              break;
28643
            case UTX:
27106
            case UTX:
28644
              if (field.type == TType.STRUCT) {
27107
              if (field.type == TType.STRUCT) {
28645
                this.utx = new UserTrackerException();
27108
                this.utx = new UserAffiliateException();
28646
                this.utx.read(iprot);
27109
                this.utx.read(iprot);
28647
              } else { 
27110
              } else { 
28648
                TProtocolUtil.skip(iprot, field.type);
27111
                TProtocolUtil.skip(iprot, field.type);
28649
              }
27112
              }
28650
              break;
27113
              break;
Line 28700... Line 27163...
28700
      // check for required fields
27163
      // check for required fields
28701
    }
27164
    }
28702
 
27165
 
28703
  }
27166
  }
28704
 
27167
 
28705
  public static class getTrackersByAffiliate_args implements TBase<getTrackersByAffiliate_args._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackersByAffiliate_args>   {
27168
  public static class getAffiliatesByMasterAffiliate_args implements TBase<getAffiliatesByMasterAffiliate_args._Fields>, java.io.Serializable, Cloneable, Comparable<getAffiliatesByMasterAffiliate_args>   {
28706
    private static final TStruct STRUCT_DESC = new TStruct("getTrackersByAffiliate_args");
27169
    private static final TStruct STRUCT_DESC = new TStruct("getAffiliatesByMasterAffiliate_args");
28707
 
27170
 
28708
    private static final TField AFFILIATE_ID_FIELD_DESC = new TField("affiliateId", TType.I64, (short)1);
27171
    private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
28709
 
27172
 
28710
    private long affiliateId;
27173
    private long id;
28711
 
27174
 
28712
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
27175
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
28713
    public enum _Fields implements TFieldIdEnum {
27176
    public enum _Fields implements TFieldIdEnum {
28714
      AFFILIATE_ID((short)1, "affiliateId");
27177
      ID((short)1, "id");
28715
 
27178
 
28716
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
27179
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
28717
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
27180
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
28718
 
27181
 
28719
      static {
27182
      static {
Line 28763... Line 27226...
28763
        return _fieldName;
27226
        return _fieldName;
28764
      }
27227
      }
28765
    }
27228
    }
28766
 
27229
 
28767
    // isset id assignments
27230
    // isset id assignments
28768
    private static final int __AFFILIATEID_ISSET_ID = 0;
27231
    private static final int __ID_ISSET_ID = 0;
28769
    private BitSet __isset_bit_vector = new BitSet(1);
27232
    private BitSet __isset_bit_vector = new BitSet(1);
28770
 
27233
 
28771
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
27234
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
28772
      put(_Fields.AFFILIATE_ID, new FieldMetaData("affiliateId", TFieldRequirementType.DEFAULT, 
27235
      put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
28773
          new FieldValueMetaData(TType.I64)));
27236
          new FieldValueMetaData(TType.I64)));
28774
    }});
27237
    }});
28775
 
27238
 
28776
    static {
27239
    static {
28777
      FieldMetaData.addStructMetaDataMap(getTrackersByAffiliate_args.class, metaDataMap);
27240
      FieldMetaData.addStructMetaDataMap(getAffiliatesByMasterAffiliate_args.class, metaDataMap);
28778
    }
27241
    }
28779
 
27242
 
28780
    public getTrackersByAffiliate_args() {
27243
    public getAffiliatesByMasterAffiliate_args() {
28781
    }
27244
    }
28782
 
27245
 
28783
    public getTrackersByAffiliate_args(
27246
    public getAffiliatesByMasterAffiliate_args(
28784
      long affiliateId)
27247
      long id)
28785
    {
27248
    {
28786
      this();
27249
      this();
28787
      this.affiliateId = affiliateId;
27250
      this.id = id;
28788
      setAffiliateIdIsSet(true);
27251
      setIdIsSet(true);
28789
    }
27252
    }
28790
 
27253
 
28791
    /**
27254
    /**
28792
     * Performs a deep copy on <i>other</i>.
27255
     * Performs a deep copy on <i>other</i>.
28793
     */
27256
     */
28794
    public getTrackersByAffiliate_args(getTrackersByAffiliate_args other) {
27257
    public getAffiliatesByMasterAffiliate_args(getAffiliatesByMasterAffiliate_args other) {
28795
      __isset_bit_vector.clear();
27258
      __isset_bit_vector.clear();
28796
      __isset_bit_vector.or(other.__isset_bit_vector);
27259
      __isset_bit_vector.or(other.__isset_bit_vector);
28797
      this.affiliateId = other.affiliateId;
27260
      this.id = other.id;
28798
    }
27261
    }
28799
 
27262
 
28800
    public getTrackersByAffiliate_args deepCopy() {
27263
    public getAffiliatesByMasterAffiliate_args deepCopy() {
28801
      return new getTrackersByAffiliate_args(this);
27264
      return new getAffiliatesByMasterAffiliate_args(this);
28802
    }
27265
    }
28803
 
27266
 
28804
    @Deprecated
27267
    @Deprecated
28805
    public getTrackersByAffiliate_args clone() {
27268
    public getAffiliatesByMasterAffiliate_args clone() {
28806
      return new getTrackersByAffiliate_args(this);
27269
      return new getAffiliatesByMasterAffiliate_args(this);
28807
    }
27270
    }
28808
 
27271
 
28809
    public long getAffiliateId() {
27272
    public long getId() {
28810
      return this.affiliateId;
27273
      return this.id;
28811
    }
27274
    }
28812
 
27275
 
28813
    public getTrackersByAffiliate_args setAffiliateId(long affiliateId) {
27276
    public getAffiliatesByMasterAffiliate_args setId(long id) {
28814
      this.affiliateId = affiliateId;
27277
      this.id = id;
28815
      setAffiliateIdIsSet(true);
27278
      setIdIsSet(true);
28816
      return this;
27279
      return this;
28817
    }
27280
    }
28818
 
27281
 
28819
    public void unsetAffiliateId() {
27282
    public void unsetId() {
28820
      __isset_bit_vector.clear(__AFFILIATEID_ISSET_ID);
27283
      __isset_bit_vector.clear(__ID_ISSET_ID);
28821
    }
27284
    }
28822
 
27285
 
28823
    /** Returns true if field affiliateId is set (has been asigned a value) and false otherwise */
27286
    /** Returns true if field id is set (has been asigned a value) and false otherwise */
28824
    public boolean isSetAffiliateId() {
27287
    public boolean isSetId() {
28825
      return __isset_bit_vector.get(__AFFILIATEID_ISSET_ID);
27288
      return __isset_bit_vector.get(__ID_ISSET_ID);
28826
    }
27289
    }
28827
 
27290
 
28828
    public void setAffiliateIdIsSet(boolean value) {
27291
    public void setIdIsSet(boolean value) {
28829
      __isset_bit_vector.set(__AFFILIATEID_ISSET_ID, value);
27292
      __isset_bit_vector.set(__ID_ISSET_ID, value);
28830
    }
27293
    }
28831
 
27294
 
28832
    public void setFieldValue(_Fields field, Object value) {
27295
    public void setFieldValue(_Fields field, Object value) {
28833
      switch (field) {
27296
      switch (field) {
28834
      case AFFILIATE_ID:
27297
      case ID:
28835
        if (value == null) {
27298
        if (value == null) {
28836
          unsetAffiliateId();
27299
          unsetId();
28837
        } else {
27300
        } else {
28838
          setAffiliateId((Long)value);
27301
          setId((Long)value);
28839
        }
27302
        }
28840
        break;
27303
        break;
28841
 
27304
 
28842
      }
27305
      }
28843
    }
27306
    }
Line 28846... Line 27309...
28846
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
27309
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
28847
    }
27310
    }
28848
 
27311
 
28849
    public Object getFieldValue(_Fields field) {
27312
    public Object getFieldValue(_Fields field) {
28850
      switch (field) {
27313
      switch (field) {
28851
      case AFFILIATE_ID:
27314
      case ID:
28852
        return new Long(getAffiliateId());
27315
        return new Long(getId());
28853
 
27316
 
28854
      }
27317
      }
28855
      throw new IllegalStateException();
27318
      throw new IllegalStateException();
28856
    }
27319
    }
28857
 
27320
 
Line 28860... Line 27323...
28860
    }
27323
    }
28861
 
27324
 
28862
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
27325
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
28863
    public boolean isSet(_Fields field) {
27326
    public boolean isSet(_Fields field) {
28864
      switch (field) {
27327
      switch (field) {
28865
      case AFFILIATE_ID:
27328
      case ID:
28866
        return isSetAffiliateId();
27329
        return isSetId();
28867
      }
27330
      }
28868
      throw new IllegalStateException();
27331
      throw new IllegalStateException();
28869
    }
27332
    }
28870
 
27333
 
28871
    public boolean isSet(int fieldID) {
27334
    public boolean isSet(int fieldID) {
Line 28874... Line 27337...
28874
 
27337
 
28875
    @Override
27338
    @Override
28876
    public boolean equals(Object that) {
27339
    public boolean equals(Object that) {
28877
      if (that == null)
27340
      if (that == null)
28878
        return false;
27341
        return false;
28879
      if (that instanceof getTrackersByAffiliate_args)
27342
      if (that instanceof getAffiliatesByMasterAffiliate_args)
28880
        return this.equals((getTrackersByAffiliate_args)that);
27343
        return this.equals((getAffiliatesByMasterAffiliate_args)that);
28881
      return false;
27344
      return false;
28882
    }
27345
    }
28883
 
27346
 
28884
    public boolean equals(getTrackersByAffiliate_args that) {
27347
    public boolean equals(getAffiliatesByMasterAffiliate_args that) {
28885
      if (that == null)
27348
      if (that == null)
28886
        return false;
27349
        return false;
28887
 
27350
 
28888
      boolean this_present_affiliateId = true;
27351
      boolean this_present_id = true;
28889
      boolean that_present_affiliateId = true;
27352
      boolean that_present_id = true;
28890
      if (this_present_affiliateId || that_present_affiliateId) {
27353
      if (this_present_id || that_present_id) {
28891
        if (!(this_present_affiliateId && that_present_affiliateId))
27354
        if (!(this_present_id && that_present_id))
28892
          return false;
27355
          return false;
28893
        if (this.affiliateId != that.affiliateId)
27356
        if (this.id != that.id)
28894
          return false;
27357
          return false;
28895
      }
27358
      }
28896
 
27359
 
28897
      return true;
27360
      return true;
28898
    }
27361
    }
Line 28900... Line 27363...
28900
    @Override
27363
    @Override
28901
    public int hashCode() {
27364
    public int hashCode() {
28902
      return 0;
27365
      return 0;
28903
    }
27366
    }
28904
 
27367
 
28905
    public int compareTo(getTrackersByAffiliate_args other) {
27368
    public int compareTo(getAffiliatesByMasterAffiliate_args other) {
28906
      if (!getClass().equals(other.getClass())) {
27369
      if (!getClass().equals(other.getClass())) {
28907
        return getClass().getName().compareTo(other.getClass().getName());
27370
        return getClass().getName().compareTo(other.getClass().getName());
28908
      }
27371
      }
28909
 
27372
 
28910
      int lastComparison = 0;
27373
      int lastComparison = 0;
28911
      getTrackersByAffiliate_args typedOther = (getTrackersByAffiliate_args)other;
27374
      getAffiliatesByMasterAffiliate_args typedOther = (getAffiliatesByMasterAffiliate_args)other;
28912
 
27375
 
28913
      lastComparison = Boolean.valueOf(isSetAffiliateId()).compareTo(isSetAffiliateId());
27376
      lastComparison = Boolean.valueOf(isSetId()).compareTo(isSetId());
28914
      if (lastComparison != 0) {
27377
      if (lastComparison != 0) {
28915
        return lastComparison;
27378
        return lastComparison;
28916
      }
27379
      }
28917
      lastComparison = TBaseHelper.compareTo(affiliateId, typedOther.affiliateId);
27380
      lastComparison = TBaseHelper.compareTo(id, typedOther.id);
28918
      if (lastComparison != 0) {
27381
      if (lastComparison != 0) {
28919
        return lastComparison;
27382
        return lastComparison;
28920
      }
27383
      }
28921
      return 0;
27384
      return 0;
28922
    }
27385
    }
Line 28933... Line 27396...
28933
        _Fields fieldId = _Fields.findByThriftId(field.id);
27396
        _Fields fieldId = _Fields.findByThriftId(field.id);
28934
        if (fieldId == null) {
27397
        if (fieldId == null) {
28935
          TProtocolUtil.skip(iprot, field.type);
27398
          TProtocolUtil.skip(iprot, field.type);
28936
        } else {
27399
        } else {
28937
          switch (fieldId) {
27400
          switch (fieldId) {
28938
            case AFFILIATE_ID:
27401
            case ID:
28939
              if (field.type == TType.I64) {
27402
              if (field.type == TType.I64) {
28940
                this.affiliateId = iprot.readI64();
27403
                this.id = iprot.readI64();
28941
                setAffiliateIdIsSet(true);
27404
                setIdIsSet(true);
28942
              } else { 
27405
              } else { 
28943
                TProtocolUtil.skip(iprot, field.type);
27406
                TProtocolUtil.skip(iprot, field.type);
28944
              }
27407
              }
28945
              break;
27408
              break;
28946
          }
27409
          }
Line 28953... Line 27416...
28953
 
27416
 
28954
    public void write(TProtocol oprot) throws TException {
27417
    public void write(TProtocol oprot) throws TException {
28955
      validate();
27418
      validate();
28956
 
27419
 
28957
      oprot.writeStructBegin(STRUCT_DESC);
27420
      oprot.writeStructBegin(STRUCT_DESC);
28958
      oprot.writeFieldBegin(AFFILIATE_ID_FIELD_DESC);
27421
      oprot.writeFieldBegin(ID_FIELD_DESC);
28959
      oprot.writeI64(this.affiliateId);
27422
      oprot.writeI64(this.id);
28960
      oprot.writeFieldEnd();
27423
      oprot.writeFieldEnd();
28961
      oprot.writeFieldStop();
27424
      oprot.writeFieldStop();
28962
      oprot.writeStructEnd();
27425
      oprot.writeStructEnd();
28963
    }
27426
    }
28964
 
27427
 
28965
    @Override
27428
    @Override
28966
    public String toString() {
27429
    public String toString() {
28967
      StringBuilder sb = new StringBuilder("getTrackersByAffiliate_args(");
27430
      StringBuilder sb = new StringBuilder("getAffiliatesByMasterAffiliate_args(");
28968
      boolean first = true;
27431
      boolean first = true;
28969
 
27432
 
28970
      sb.append("affiliateId:");
27433
      sb.append("id:");
28971
      sb.append(this.affiliateId);
27434
      sb.append(this.id);
28972
      first = false;
27435
      first = false;
28973
      sb.append(")");
27436
      sb.append(")");
28974
      return sb.toString();
27437
      return sb.toString();
28975
    }
27438
    }
28976
 
27439
 
Line 28978... Line 27441...
28978
      // check for required fields
27441
      // check for required fields
28979
    }
27442
    }
28980
 
27443
 
28981
  }
27444
  }
28982
 
27445
 
28983
  public static class getTrackersByAffiliate_result implements TBase<getTrackersByAffiliate_result._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackersByAffiliate_result>   {
27446
  public static class getAffiliatesByMasterAffiliate_result implements TBase<getAffiliatesByMasterAffiliate_result._Fields>, java.io.Serializable, Cloneable, Comparable<getAffiliatesByMasterAffiliate_result>   {
28984
    private static final TStruct STRUCT_DESC = new TStruct("getTrackersByAffiliate_result");
27447
    private static final TStruct STRUCT_DESC = new TStruct("getAffiliatesByMasterAffiliate_result");
28985
 
27448
 
28986
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
27449
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
28987
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
27450
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
28988
 
27451
 
28989
    private List<Tracker> success;
27452
    private List<Affiliate> success;
28990
    private UserTrackerException utx;
27453
    private UserAffiliateException utx;
28991
 
27454
 
28992
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
27455
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
28993
    public enum _Fields implements TFieldIdEnum {
27456
    public enum _Fields implements TFieldIdEnum {
28994
      SUCCESS((short)0, "success"),
27457
      SUCCESS((short)0, "success"),
28995
      UTX((short)1, "utx");
27458
      UTX((short)1, "utx");
Line 29048... Line 27511...
29048
    // isset id assignments
27511
    // isset id assignments
29049
 
27512
 
29050
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
27513
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
29051
      put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
27514
      put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
29052
          new ListMetaData(TType.LIST, 
27515
          new ListMetaData(TType.LIST, 
29053
              new StructMetaData(TType.STRUCT, Tracker.class))));
27516
              new StructMetaData(TType.STRUCT, Affiliate.class))));
29054
      put(_Fields.UTX, new FieldMetaData("utx", TFieldRequirementType.DEFAULT, 
27517
      put(_Fields.UTX, new FieldMetaData("utx", TFieldRequirementType.DEFAULT, 
29055
          new FieldValueMetaData(TType.STRUCT)));
27518
          new FieldValueMetaData(TType.STRUCT)));
29056
    }});
27519
    }});
29057
 
27520
 
29058
    static {
27521
    static {
29059
      FieldMetaData.addStructMetaDataMap(getTrackersByAffiliate_result.class, metaDataMap);
27522
      FieldMetaData.addStructMetaDataMap(getAffiliatesByMasterAffiliate_result.class, metaDataMap);
29060
    }
27523
    }
29061
 
27524
 
29062
    public getTrackersByAffiliate_result() {
27525
    public getAffiliatesByMasterAffiliate_result() {
29063
    }
27526
    }
29064
 
27527
 
29065
    public getTrackersByAffiliate_result(
27528
    public getAffiliatesByMasterAffiliate_result(
29066
      List<Tracker> success,
27529
      List<Affiliate> success,
29067
      UserTrackerException utx)
27530
      UserAffiliateException utx)
29068
    {
27531
    {
29069
      this();
27532
      this();
29070
      this.success = success;
27533
      this.success = success;
29071
      this.utx = utx;
27534
      this.utx = utx;
29072
    }
27535
    }
29073
 
27536
 
29074
    /**
27537
    /**
29075
     * Performs a deep copy on <i>other</i>.
27538
     * Performs a deep copy on <i>other</i>.
29076
     */
27539
     */
29077
    public getTrackersByAffiliate_result(getTrackersByAffiliate_result other) {
27540
    public getAffiliatesByMasterAffiliate_result(getAffiliatesByMasterAffiliate_result other) {
29078
      if (other.isSetSuccess()) {
27541
      if (other.isSetSuccess()) {
29079
        List<Tracker> __this__success = new ArrayList<Tracker>();
27542
        List<Affiliate> __this__success = new ArrayList<Affiliate>();
29080
        for (Tracker other_element : other.success) {
27543
        for (Affiliate other_element : other.success) {
29081
          __this__success.add(new Tracker(other_element));
27544
          __this__success.add(new Affiliate(other_element));
29082
        }
27545
        }
29083
        this.success = __this__success;
27546
        this.success = __this__success;
29084
      }
27547
      }
29085
      if (other.isSetUtx()) {
27548
      if (other.isSetUtx()) {
29086
        this.utx = new UserTrackerException(other.utx);
27549
        this.utx = new UserAffiliateException(other.utx);
29087
      }
27550
      }
29088
    }
27551
    }
29089
 
27552
 
29090
    public getTrackersByAffiliate_result deepCopy() {
27553
    public getAffiliatesByMasterAffiliate_result deepCopy() {
29091
      return new getTrackersByAffiliate_result(this);
27554
      return new getAffiliatesByMasterAffiliate_result(this);
29092
    }
27555
    }
29093
 
27556
 
29094
    @Deprecated
27557
    @Deprecated
29095
    public getTrackersByAffiliate_result clone() {
27558
    public getAffiliatesByMasterAffiliate_result clone() {
29096
      return new getTrackersByAffiliate_result(this);
27559
      return new getAffiliatesByMasterAffiliate_result(this);
29097
    }
27560
    }
29098
 
27561
 
29099
    public int getSuccessSize() {
27562
    public int getSuccessSize() {
29100
      return (this.success == null) ? 0 : this.success.size();
27563
      return (this.success == null) ? 0 : this.success.size();
29101
    }
27564
    }
29102
 
27565
 
29103
    public java.util.Iterator<Tracker> getSuccessIterator() {
27566
    public java.util.Iterator<Affiliate> getSuccessIterator() {
29104
      return (this.success == null) ? null : this.success.iterator();
27567
      return (this.success == null) ? null : this.success.iterator();
29105
    }
27568
    }
29106
 
27569
 
29107
    public void addToSuccess(Tracker elem) {
27570
    public void addToSuccess(Affiliate elem) {
29108
      if (this.success == null) {
27571
      if (this.success == null) {
29109
        this.success = new ArrayList<Tracker>();
27572
        this.success = new ArrayList<Affiliate>();
29110
      }
27573
      }
29111
      this.success.add(elem);
27574
      this.success.add(elem);
29112
    }
27575
    }
29113
 
27576
 
29114
    public List<Tracker> getSuccess() {
27577
    public List<Affiliate> getSuccess() {
29115
      return this.success;
27578
      return this.success;
29116
    }
27579
    }
29117
 
27580
 
29118
    public getTrackersByAffiliate_result setSuccess(List<Tracker> success) {
27581
    public getAffiliatesByMasterAffiliate_result setSuccess(List<Affiliate> success) {
29119
      this.success = success;
27582
      this.success = success;
29120
      return this;
27583
      return this;
29121
    }
27584
    }
29122
 
27585
 
29123
    public void unsetSuccess() {
27586
    public void unsetSuccess() {
Line 29133... Line 27596...
29133
      if (!value) {
27596
      if (!value) {
29134
        this.success = null;
27597
        this.success = null;
29135
      }
27598
      }
29136
    }
27599
    }
29137
 
27600
 
29138
    public UserTrackerException getUtx() {
27601
    public UserAffiliateException getUtx() {
29139
      return this.utx;
27602
      return this.utx;
29140
    }
27603
    }
29141
 
27604
 
29142
    public getTrackersByAffiliate_result setUtx(UserTrackerException utx) {
27605
    public getAffiliatesByMasterAffiliate_result setUtx(UserAffiliateException utx) {
29143
      this.utx = utx;
27606
      this.utx = utx;
29144
      return this;
27607
      return this;
29145
    }
27608
    }
29146
 
27609
 
29147
    public void unsetUtx() {
27610
    public void unsetUtx() {
Line 29163... Line 27626...
29163
      switch (field) {
27626
      switch (field) {
29164
      case SUCCESS:
27627
      case SUCCESS:
29165
        if (value == null) {
27628
        if (value == null) {
29166
          unsetSuccess();
27629
          unsetSuccess();
29167
        } else {
27630
        } else {
29168
          setSuccess((List<Tracker>)value);
27631
          setSuccess((List<Affiliate>)value);
29169
        }
27632
        }
29170
        break;
27633
        break;
29171
 
27634
 
29172
      case UTX:
27635
      case UTX:
29173
        if (value == null) {
27636
        if (value == null) {
29174
          unsetUtx();
27637
          unsetUtx();
29175
        } else {
27638
        } else {
29176
          setUtx((UserTrackerException)value);
27639
          setUtx((UserAffiliateException)value);
29177
        }
27640
        }
29178
        break;
27641
        break;
29179
 
27642
 
29180
      }
27643
      }
29181
    }
27644
    }
Line 29217... Line 27680...
29217
 
27680
 
29218
    @Override
27681
    @Override
29219
    public boolean equals(Object that) {
27682
    public boolean equals(Object that) {
29220
      if (that == null)
27683
      if (that == null)
29221
        return false;
27684
        return false;
29222
      if (that instanceof getTrackersByAffiliate_result)
27685
      if (that instanceof getAffiliatesByMasterAffiliate_result)
29223
        return this.equals((getTrackersByAffiliate_result)that);
27686
        return this.equals((getAffiliatesByMasterAffiliate_result)that);
29224
      return false;
27687
      return false;
29225
    }
27688
    }
29226
 
27689
 
29227
    public boolean equals(getTrackersByAffiliate_result that) {
27690
    public boolean equals(getAffiliatesByMasterAffiliate_result that) {
29228
      if (that == null)
27691
      if (that == null)
29229
        return false;
27692
        return false;
29230
 
27693
 
29231
      boolean this_present_success = true && this.isSetSuccess();
27694
      boolean this_present_success = true && this.isSetSuccess();
29232
      boolean that_present_success = true && that.isSetSuccess();
27695
      boolean that_present_success = true && that.isSetSuccess();
Line 29252... Line 27715...
29252
    @Override
27715
    @Override
29253
    public int hashCode() {
27716
    public int hashCode() {
29254
      return 0;
27717
      return 0;
29255
    }
27718
    }
29256
 
27719
 
29257
    public int compareTo(getTrackersByAffiliate_result other) {
27720
    public int compareTo(getAffiliatesByMasterAffiliate_result other) {
29258
      if (!getClass().equals(other.getClass())) {
27721
      if (!getClass().equals(other.getClass())) {
29259
        return getClass().getName().compareTo(other.getClass().getName());
27722
        return getClass().getName().compareTo(other.getClass().getName());
29260
      }
27723
      }
29261
 
27724
 
29262
      int lastComparison = 0;
27725
      int lastComparison = 0;
29263
      getTrackersByAffiliate_result typedOther = (getTrackersByAffiliate_result)other;
27726
      getAffiliatesByMasterAffiliate_result typedOther = (getAffiliatesByMasterAffiliate_result)other;
29264
 
27727
 
29265
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
27728
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
29266
      if (lastComparison != 0) {
27729
      if (lastComparison != 0) {
29267
        return lastComparison;
27730
        return lastComparison;
29268
      }
27731
      }
Line 29296... Line 27759...
29296
        } else {
27759
        } else {
29297
          switch (fieldId) {
27760
          switch (fieldId) {
29298
            case SUCCESS:
27761
            case SUCCESS:
29299
              if (field.type == TType.LIST) {
27762
              if (field.type == TType.LIST) {
29300
                {
27763
                {
29301
                  TList _list40 = iprot.readListBegin();
27764
                  TList _list36 = iprot.readListBegin();
29302
                  this.success = new ArrayList<Tracker>(_list40.size);
27765
                  this.success = new ArrayList<Affiliate>(_list36.size);
29303
                  for (int _i41 = 0; _i41 < _list40.size; ++_i41)
27766
                  for (int _i37 = 0; _i37 < _list36.size; ++_i37)
29304
                  {
27767
                  {
29305
                    Tracker _elem42;
27768
                    Affiliate _elem38;
29306
                    _elem42 = new Tracker();
27769
                    _elem38 = new Affiliate();
29307
                    _elem42.read(iprot);
27770
                    _elem38.read(iprot);
29308
                    this.success.add(_elem42);
27771
                    this.success.add(_elem38);
29309
                  }
27772
                  }
29310
                  iprot.readListEnd();
27773
                  iprot.readListEnd();
29311
                }
27774
                }
29312
              } else { 
27775
              } else { 
29313
                TProtocolUtil.skip(iprot, field.type);
27776
                TProtocolUtil.skip(iprot, field.type);
29314
              }
27777
              }
29315
              break;
27778
              break;
29316
            case UTX:
27779
            case UTX:
29317
              if (field.type == TType.STRUCT) {
27780
              if (field.type == TType.STRUCT) {
29318
                this.utx = new UserTrackerException();
27781
                this.utx = new UserAffiliateException();
29319
                this.utx.read(iprot);
27782
                this.utx.read(iprot);
29320
              } else { 
27783
              } else { 
29321
                TProtocolUtil.skip(iprot, field.type);
27784
                TProtocolUtil.skip(iprot, field.type);
29322
              }
27785
              }
29323
              break;
27786
              break;
Line 29334... Line 27797...
29334
 
27797
 
29335
      if (this.isSetSuccess()) {
27798
      if (this.isSetSuccess()) {
29336
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27799
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
29337
        {
27800
        {
29338
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
27801
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
29339
          for (Tracker _iter43 : this.success)
27802
          for (Affiliate _iter39 : this.success)
29340
          {
27803
          {
29341
            _iter43.write(oprot);
27804
            _iter39.write(oprot);
29342
          }
27805
          }
29343
          oprot.writeListEnd();
27806
          oprot.writeListEnd();
29344
        }
27807
        }
29345
        oprot.writeFieldEnd();
27808
        oprot.writeFieldEnd();
29346
      } else if (this.isSetUtx()) {
27809
      } else if (this.isSetUtx()) {
Line 29352... Line 27815...
29352
      oprot.writeStructEnd();
27815
      oprot.writeStructEnd();
29353
    }
27816
    }
29354
 
27817
 
29355
    @Override
27818
    @Override
29356
    public String toString() {
27819
    public String toString() {
29357
      StringBuilder sb = new StringBuilder("getTrackersByAffiliate_result(");
27820
      StringBuilder sb = new StringBuilder("getAffiliatesByMasterAffiliate_result(");
29358
      boolean first = true;
27821
      boolean first = true;
29359
 
27822
 
29360
      sb.append("success:");
27823
      sb.append("success:");
29361
      if (this.success == null) {
27824
      if (this.success == null) {
29362
        sb.append("null");
27825
        sb.append("null");
Line 29383... Line 27846...
29383
  }
27846
  }
29384
 
27847
 
29385
  public static class addTrackLog_args implements TBase<addTrackLog_args._Fields>, java.io.Serializable, Cloneable, Comparable<addTrackLog_args>   {
27848
  public static class addTrackLog_args implements TBase<addTrackLog_args._Fields>, java.io.Serializable, Cloneable, Comparable<addTrackLog_args>   {
29386
    private static final TStruct STRUCT_DESC = new TStruct("addTrackLog_args");
27849
    private static final TStruct STRUCT_DESC = new TStruct("addTrackLog_args");
29387
 
27850
 
29388
    private static final TField TRACKER_ID_FIELD_DESC = new TField("trackerId", TType.I64, (short)1);
27851
    private static final TField AFFILIATE_ID_FIELD_DESC = new TField("affiliateId", TType.I64, (short)1);
29389
    private static final TField USER_ID_FIELD_DESC = new TField("userId", TType.I64, (short)2);
27852
    private static final TField USER_ID_FIELD_DESC = new TField("userId", TType.I64, (short)2);
29390
    private static final TField EVENT_FIELD_DESC = new TField("event", TType.STRING, (short)3);
27853
    private static final TField EVENT_FIELD_DESC = new TField("event", TType.STRING, (short)3);
29391
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)4);
27854
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)4);
29392
    private static final TField DATA_FIELD_DESC = new TField("data", TType.STRING, (short)5);
27855
    private static final TField DATA_FIELD_DESC = new TField("data", TType.STRING, (short)5);
29393
    private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)6);
27856
    private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)6);
29394
 
27857
 
29395
    private long trackerId;
27858
    private long affiliateId;
29396
    private long userId;
27859
    private long userId;
29397
    private String event;
27860
    private String event;
29398
    private String url;
27861
    private String url;
29399
    private String data;
27862
    private String data;
29400
    private long addedOn;
27863
    private long addedOn;
29401
 
27864
 
29402
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
27865
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
29403
    public enum _Fields implements TFieldIdEnum {
27866
    public enum _Fields implements TFieldIdEnum {
29404
      TRACKER_ID((short)1, "trackerId"),
27867
      AFFILIATE_ID((short)1, "affiliateId"),
29405
      USER_ID((short)2, "userId"),
27868
      USER_ID((short)2, "userId"),
29406
      EVENT((short)3, "event"),
27869
      EVENT((short)3, "event"),
29407
      URL((short)4, "url"),
27870
      URL((short)4, "url"),
29408
      DATA((short)5, "data"),
27871
      DATA((short)5, "data"),
29409
      ADDED_ON((short)6, "addedOn");
27872
      ADDED_ON((short)6, "addedOn");
Line 29458... Line 27921...
29458
        return _fieldName;
27921
        return _fieldName;
29459
      }
27922
      }
29460
    }
27923
    }
29461
 
27924
 
29462
    // isset id assignments
27925
    // isset id assignments
29463
    private static final int __TRACKERID_ISSET_ID = 0;
27926
    private static final int __AFFILIATEID_ISSET_ID = 0;
29464
    private static final int __USERID_ISSET_ID = 1;
27927
    private static final int __USERID_ISSET_ID = 1;
29465
    private static final int __ADDEDON_ISSET_ID = 2;
27928
    private static final int __ADDEDON_ISSET_ID = 2;
29466
    private BitSet __isset_bit_vector = new BitSet(3);
27929
    private BitSet __isset_bit_vector = new BitSet(3);
29467
 
27930
 
29468
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
27931
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
29469
      put(_Fields.TRACKER_ID, new FieldMetaData("trackerId", TFieldRequirementType.DEFAULT, 
27932
      put(_Fields.AFFILIATE_ID, new FieldMetaData("affiliateId", TFieldRequirementType.DEFAULT, 
29470
          new FieldValueMetaData(TType.I64)));
27933
          new FieldValueMetaData(TType.I64)));
29471
      put(_Fields.USER_ID, new FieldMetaData("userId", TFieldRequirementType.DEFAULT, 
27934
      put(_Fields.USER_ID, new FieldMetaData("userId", TFieldRequirementType.DEFAULT, 
29472
          new FieldValueMetaData(TType.I64)));
27935
          new FieldValueMetaData(TType.I64)));
29473
      put(_Fields.EVENT, new FieldMetaData("event", TFieldRequirementType.DEFAULT, 
27936
      put(_Fields.EVENT, new FieldMetaData("event", TFieldRequirementType.DEFAULT, 
29474
          new FieldValueMetaData(TType.STRING)));
27937
          new FieldValueMetaData(TType.STRING)));
Line 29486... Line 27949...
29486
 
27949
 
29487
    public addTrackLog_args() {
27950
    public addTrackLog_args() {
29488
    }
27951
    }
29489
 
27952
 
29490
    public addTrackLog_args(
27953
    public addTrackLog_args(
29491
      long trackerId,
27954
      long affiliateId,
29492
      long userId,
27955
      long userId,
29493
      String event,
27956
      String event,
29494
      String url,
27957
      String url,
29495
      String data,
27958
      String data,
29496
      long addedOn)
27959
      long addedOn)
29497
    {
27960
    {
29498
      this();
27961
      this();
29499
      this.trackerId = trackerId;
27962
      this.affiliateId = affiliateId;
29500
      setTrackerIdIsSet(true);
27963
      setAffiliateIdIsSet(true);
29501
      this.userId = userId;
27964
      this.userId = userId;
29502
      setUserIdIsSet(true);
27965
      setUserIdIsSet(true);
29503
      this.event = event;
27966
      this.event = event;
29504
      this.url = url;
27967
      this.url = url;
29505
      this.data = data;
27968
      this.data = data;
Line 29511... Line 27974...
29511
     * Performs a deep copy on <i>other</i>.
27974
     * Performs a deep copy on <i>other</i>.
29512
     */
27975
     */
29513
    public addTrackLog_args(addTrackLog_args other) {
27976
    public addTrackLog_args(addTrackLog_args other) {
29514
      __isset_bit_vector.clear();
27977
      __isset_bit_vector.clear();
29515
      __isset_bit_vector.or(other.__isset_bit_vector);
27978
      __isset_bit_vector.or(other.__isset_bit_vector);
29516
      this.trackerId = other.trackerId;
27979
      this.affiliateId = other.affiliateId;
29517
      this.userId = other.userId;
27980
      this.userId = other.userId;
29518
      if (other.isSetEvent()) {
27981
      if (other.isSetEvent()) {
29519
        this.event = other.event;
27982
        this.event = other.event;
29520
      }
27983
      }
29521
      if (other.isSetUrl()) {
27984
      if (other.isSetUrl()) {
Line 29534... Line 27997...
29534
    @Deprecated
27997
    @Deprecated
29535
    public addTrackLog_args clone() {
27998
    public addTrackLog_args clone() {
29536
      return new addTrackLog_args(this);
27999
      return new addTrackLog_args(this);
29537
    }
28000
    }
29538
 
28001
 
29539
    public long getTrackerId() {
28002
    public long getAffiliateId() {
29540
      return this.trackerId;
28003
      return this.affiliateId;
29541
    }
28004
    }
29542
 
28005
 
29543
    public addTrackLog_args setTrackerId(long trackerId) {
28006
    public addTrackLog_args setAffiliateId(long affiliateId) {
29544
      this.trackerId = trackerId;
28007
      this.affiliateId = affiliateId;
29545
      setTrackerIdIsSet(true);
28008
      setAffiliateIdIsSet(true);
29546
      return this;
28009
      return this;
29547
    }
28010
    }
29548
 
28011
 
29549
    public void unsetTrackerId() {
28012
    public void unsetAffiliateId() {
29550
      __isset_bit_vector.clear(__TRACKERID_ISSET_ID);
28013
      __isset_bit_vector.clear(__AFFILIATEID_ISSET_ID);
29551
    }
28014
    }
29552
 
28015
 
29553
    /** Returns true if field trackerId is set (has been asigned a value) and false otherwise */
28016
    /** Returns true if field affiliateId is set (has been asigned a value) and false otherwise */
29554
    public boolean isSetTrackerId() {
28017
    public boolean isSetAffiliateId() {
29555
      return __isset_bit_vector.get(__TRACKERID_ISSET_ID);
28018
      return __isset_bit_vector.get(__AFFILIATEID_ISSET_ID);
29556
    }
28019
    }
29557
 
28020
 
29558
    public void setTrackerIdIsSet(boolean value) {
28021
    public void setAffiliateIdIsSet(boolean value) {
29559
      __isset_bit_vector.set(__TRACKERID_ISSET_ID, value);
28022
      __isset_bit_vector.set(__AFFILIATEID_ISSET_ID, value);
29560
    }
28023
    }
29561
 
28024
 
29562
    public long getUserId() {
28025
    public long getUserId() {
29563
      return this.userId;
28026
      return this.userId;
29564
    }
28027
    }
Line 29677... Line 28140...
29677
      __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
28140
      __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
29678
    }
28141
    }
29679
 
28142
 
29680
    public void setFieldValue(_Fields field, Object value) {
28143
    public void setFieldValue(_Fields field, Object value) {
29681
      switch (field) {
28144
      switch (field) {
29682
      case TRACKER_ID:
28145
      case AFFILIATE_ID:
29683
        if (value == null) {
28146
        if (value == null) {
29684
          unsetTrackerId();
28147
          unsetAffiliateId();
29685
        } else {
28148
        } else {
29686
          setTrackerId((Long)value);
28149
          setAffiliateId((Long)value);
29687
        }
28150
        }
29688
        break;
28151
        break;
29689
 
28152
 
29690
      case USER_ID:
28153
      case USER_ID:
29691
        if (value == null) {
28154
        if (value == null) {
Line 29734... Line 28197...
29734
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
28197
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
29735
    }
28198
    }
29736
 
28199
 
29737
    public Object getFieldValue(_Fields field) {
28200
    public Object getFieldValue(_Fields field) {
29738
      switch (field) {
28201
      switch (field) {
29739
      case TRACKER_ID:
28202
      case AFFILIATE_ID:
29740
        return new Long(getTrackerId());
28203
        return new Long(getAffiliateId());
29741
 
28204
 
29742
      case USER_ID:
28205
      case USER_ID:
29743
        return new Long(getUserId());
28206
        return new Long(getUserId());
29744
 
28207
 
29745
      case EVENT:
28208
      case EVENT:
Line 29763... Line 28226...
29763
    }
28226
    }
29764
 
28227
 
29765
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
28228
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
29766
    public boolean isSet(_Fields field) {
28229
    public boolean isSet(_Fields field) {
29767
      switch (field) {
28230
      switch (field) {
29768
      case TRACKER_ID:
28231
      case AFFILIATE_ID:
29769
        return isSetTrackerId();
28232
        return isSetAffiliateId();
29770
      case USER_ID:
28233
      case USER_ID:
29771
        return isSetUserId();
28234
        return isSetUserId();
29772
      case EVENT:
28235
      case EVENT:
29773
        return isSetEvent();
28236
        return isSetEvent();
29774
      case URL:
28237
      case URL:
Line 29796... Line 28259...
29796
 
28259
 
29797
    public boolean equals(addTrackLog_args that) {
28260
    public boolean equals(addTrackLog_args that) {
29798
      if (that == null)
28261
      if (that == null)
29799
        return false;
28262
        return false;
29800
 
28263
 
29801
      boolean this_present_trackerId = true;
28264
      boolean this_present_affiliateId = true;
29802
      boolean that_present_trackerId = true;
28265
      boolean that_present_affiliateId = true;
29803
      if (this_present_trackerId || that_present_trackerId) {
28266
      if (this_present_affiliateId || that_present_affiliateId) {
29804
        if (!(this_present_trackerId && that_present_trackerId))
28267
        if (!(this_present_affiliateId && that_present_affiliateId))
29805
          return false;
28268
          return false;
29806
        if (this.trackerId != that.trackerId)
28269
        if (this.affiliateId != that.affiliateId)
29807
          return false;
28270
          return false;
29808
      }
28271
      }
29809
 
28272
 
29810
      boolean this_present_userId = true;
28273
      boolean this_present_userId = true;
29811
      boolean that_present_userId = true;
28274
      boolean that_present_userId = true;
Line 29866... Line 28329...
29866
      }
28329
      }
29867
 
28330
 
29868
      int lastComparison = 0;
28331
      int lastComparison = 0;
29869
      addTrackLog_args typedOther = (addTrackLog_args)other;
28332
      addTrackLog_args typedOther = (addTrackLog_args)other;
29870
 
28333
 
29871
      lastComparison = Boolean.valueOf(isSetTrackerId()).compareTo(isSetTrackerId());
28334
      lastComparison = Boolean.valueOf(isSetAffiliateId()).compareTo(isSetAffiliateId());
29872
      if (lastComparison != 0) {
28335
      if (lastComparison != 0) {
29873
        return lastComparison;
28336
        return lastComparison;
29874
      }
28337
      }
29875
      lastComparison = TBaseHelper.compareTo(trackerId, typedOther.trackerId);
28338
      lastComparison = TBaseHelper.compareTo(affiliateId, typedOther.affiliateId);
29876
      if (lastComparison != 0) {
28339
      if (lastComparison != 0) {
29877
        return lastComparison;
28340
        return lastComparison;
29878
      }
28341
      }
29879
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(isSetUserId());
28342
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(isSetUserId());
29880
      if (lastComparison != 0) {
28343
      if (lastComparison != 0) {
Line 29931... Line 28394...
29931
        _Fields fieldId = _Fields.findByThriftId(field.id);
28394
        _Fields fieldId = _Fields.findByThriftId(field.id);
29932
        if (fieldId == null) {
28395
        if (fieldId == null) {
29933
          TProtocolUtil.skip(iprot, field.type);
28396
          TProtocolUtil.skip(iprot, field.type);
29934
        } else {
28397
        } else {
29935
          switch (fieldId) {
28398
          switch (fieldId) {
29936
            case TRACKER_ID:
28399
            case AFFILIATE_ID:
29937
              if (field.type == TType.I64) {
28400
              if (field.type == TType.I64) {
29938
                this.trackerId = iprot.readI64();
28401
                this.affiliateId = iprot.readI64();
29939
                setTrackerIdIsSet(true);
28402
                setAffiliateIdIsSet(true);
29940
              } else { 
28403
              } else { 
29941
                TProtocolUtil.skip(iprot, field.type);
28404
                TProtocolUtil.skip(iprot, field.type);
29942
              }
28405
              }
29943
              break;
28406
              break;
29944
            case USER_ID:
28407
            case USER_ID:
Line 29988... Line 28451...
29988
 
28451
 
29989
    public void write(TProtocol oprot) throws TException {
28452
    public void write(TProtocol oprot) throws TException {
29990
      validate();
28453
      validate();
29991
 
28454
 
29992
      oprot.writeStructBegin(STRUCT_DESC);
28455
      oprot.writeStructBegin(STRUCT_DESC);
29993
      oprot.writeFieldBegin(TRACKER_ID_FIELD_DESC);
28456
      oprot.writeFieldBegin(AFFILIATE_ID_FIELD_DESC);
29994
      oprot.writeI64(this.trackerId);
28457
      oprot.writeI64(this.affiliateId);
29995
      oprot.writeFieldEnd();
28458
      oprot.writeFieldEnd();
29996
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
28459
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
29997
      oprot.writeI64(this.userId);
28460
      oprot.writeI64(this.userId);
29998
      oprot.writeFieldEnd();
28461
      oprot.writeFieldEnd();
29999
      if (this.event != null) {
28462
      if (this.event != null) {
Line 30021... Line 28484...
30021
    @Override
28484
    @Override
30022
    public String toString() {
28485
    public String toString() {
30023
      StringBuilder sb = new StringBuilder("addTrackLog_args(");
28486
      StringBuilder sb = new StringBuilder("addTrackLog_args(");
30024
      boolean first = true;
28487
      boolean first = true;
30025
 
28488
 
30026
      sb.append("trackerId:");
28489
      sb.append("affiliateId:");
30027
      sb.append(this.trackerId);
28490
      sb.append(this.affiliateId);
30028
      first = false;
28491
      first = false;
30029
      if (!first) sb.append(", ");
28492
      if (!first) sb.append(", ");
30030
      sb.append("userId:");
28493
      sb.append("userId:");
30031
      sb.append(this.userId);
28494
      sb.append(this.userId);
30032
      first = false;
28495
      first = false;
Line 30073... Line 28536...
30073
 
28536
 
30074
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.I64, (short)0);
28537
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.I64, (short)0);
30075
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
28538
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
30076
 
28539
 
30077
    private long success;
28540
    private long success;
30078
    private UserTrackerException utx;
28541
    private UserAffiliateException utx;
30079
 
28542
 
30080
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
28543
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
30081
    public enum _Fields implements TFieldIdEnum {
28544
    public enum _Fields implements TFieldIdEnum {
30082
      SUCCESS((short)0, "success"),
28545
      SUCCESS((short)0, "success"),
30083
      UTX((short)1, "utx");
28546
      UTX((short)1, "utx");
Line 30151... Line 28614...
30151
    public addTrackLog_result() {
28614
    public addTrackLog_result() {
30152
    }
28615
    }
30153
 
28616
 
30154
    public addTrackLog_result(
28617
    public addTrackLog_result(
30155
      long success,
28618
      long success,
30156
      UserTrackerException utx)
28619
      UserAffiliateException utx)
30157
    {
28620
    {
30158
      this();
28621
      this();
30159
      this.success = success;
28622
      this.success = success;
30160
      setSuccessIsSet(true);
28623
      setSuccessIsSet(true);
30161
      this.utx = utx;
28624
      this.utx = utx;
Line 30167... Line 28630...
30167
    public addTrackLog_result(addTrackLog_result other) {
28630
    public addTrackLog_result(addTrackLog_result other) {
30168
      __isset_bit_vector.clear();
28631
      __isset_bit_vector.clear();
30169
      __isset_bit_vector.or(other.__isset_bit_vector);
28632
      __isset_bit_vector.or(other.__isset_bit_vector);
30170
      this.success = other.success;
28633
      this.success = other.success;
30171
      if (other.isSetUtx()) {
28634
      if (other.isSetUtx()) {
30172
        this.utx = new UserTrackerException(other.utx);
28635
        this.utx = new UserAffiliateException(other.utx);
30173
      }
28636
      }
30174
    }
28637
    }
30175
 
28638
 
30176
    public addTrackLog_result deepCopy() {
28639
    public addTrackLog_result deepCopy() {
30177
      return new addTrackLog_result(this);
28640
      return new addTrackLog_result(this);
Line 30203... Line 28666...
30203
 
28666
 
30204
    public void setSuccessIsSet(boolean value) {
28667
    public void setSuccessIsSet(boolean value) {
30205
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
28668
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
30206
    }
28669
    }
30207
 
28670
 
30208
    public UserTrackerException getUtx() {
28671
    public UserAffiliateException getUtx() {
30209
      return this.utx;
28672
      return this.utx;
30210
    }
28673
    }
30211
 
28674
 
30212
    public addTrackLog_result setUtx(UserTrackerException utx) {
28675
    public addTrackLog_result setUtx(UserAffiliateException utx) {
30213
      this.utx = utx;
28676
      this.utx = utx;
30214
      return this;
28677
      return this;
30215
    }
28678
    }
30216
 
28679
 
30217
    public void unsetUtx() {
28680
    public void unsetUtx() {
Line 30241... Line 28704...
30241
 
28704
 
30242
      case UTX:
28705
      case UTX:
30243
        if (value == null) {
28706
        if (value == null) {
30244
          unsetUtx();
28707
          unsetUtx();
30245
        } else {
28708
        } else {
30246
          setUtx((UserTrackerException)value);
28709
          setUtx((UserAffiliateException)value);
30247
        }
28710
        }
30248
        break;
28711
        break;
30249
 
28712
 
30250
      }
28713
      }
30251
    }
28714
    }
Line 30373... Line 28836...
30373
                TProtocolUtil.skip(iprot, field.type);
28836
                TProtocolUtil.skip(iprot, field.type);
30374
              }
28837
              }
30375
              break;
28838
              break;
30376
            case UTX:
28839
            case UTX:
30377
              if (field.type == TType.STRUCT) {
28840
              if (field.type == TType.STRUCT) {
30378
                this.utx = new UserTrackerException();
28841
                this.utx = new UserAffiliateException();
30379
                this.utx.read(iprot);
28842
                this.utx.read(iprot);
30380
              } else { 
28843
              } else { 
30381
                TProtocolUtil.skip(iprot, field.type);
28844
                TProtocolUtil.skip(iprot, field.type);
30382
              }
28845
              }
30383
              break;
28846
              break;
Line 30714... Line 29177...
30714
 
29177
 
30715
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
29178
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRUCT, (short)0);
30716
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
29179
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
30717
 
29180
 
30718
    private TrackLog success;
29181
    private TrackLog success;
30719
    private UserTrackerException utx;
29182
    private UserAffiliateException utx;
30720
 
29183
 
30721
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
29184
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
30722
    public enum _Fields implements TFieldIdEnum {
29185
    public enum _Fields implements TFieldIdEnum {
30723
      SUCCESS((short)0, "success"),
29186
      SUCCESS((short)0, "success"),
30724
      UTX((short)1, "utx");
29187
      UTX((short)1, "utx");
Line 30790... Line 29253...
30790
    public getTrackLogById_result() {
29253
    public getTrackLogById_result() {
30791
    }
29254
    }
30792
 
29255
 
30793
    public getTrackLogById_result(
29256
    public getTrackLogById_result(
30794
      TrackLog success,
29257
      TrackLog success,
30795
      UserTrackerException utx)
29258
      UserAffiliateException utx)
30796
    {
29259
    {
30797
      this();
29260
      this();
30798
      this.success = success;
29261
      this.success = success;
30799
      this.utx = utx;
29262
      this.utx = utx;
30800
    }
29263
    }
Line 30805... Line 29268...
30805
    public getTrackLogById_result(getTrackLogById_result other) {
29268
    public getTrackLogById_result(getTrackLogById_result other) {
30806
      if (other.isSetSuccess()) {
29269
      if (other.isSetSuccess()) {
30807
        this.success = new TrackLog(other.success);
29270
        this.success = new TrackLog(other.success);
30808
      }
29271
      }
30809
      if (other.isSetUtx()) {
29272
      if (other.isSetUtx()) {
30810
        this.utx = new UserTrackerException(other.utx);
29273
        this.utx = new UserAffiliateException(other.utx);
30811
      }
29274
      }
30812
    }
29275
    }
30813
 
29276
 
30814
    public getTrackLogById_result deepCopy() {
29277
    public getTrackLogById_result deepCopy() {
30815
      return new getTrackLogById_result(this);
29278
      return new getTrackLogById_result(this);
Line 30842... Line 29305...
30842
      if (!value) {
29305
      if (!value) {
30843
        this.success = null;
29306
        this.success = null;
30844
      }
29307
      }
30845
    }
29308
    }
30846
 
29309
 
30847
    public UserTrackerException getUtx() {
29310
    public UserAffiliateException getUtx() {
30848
      return this.utx;
29311
      return this.utx;
30849
    }
29312
    }
30850
 
29313
 
30851
    public getTrackLogById_result setUtx(UserTrackerException utx) {
29314
    public getTrackLogById_result setUtx(UserAffiliateException utx) {
30852
      this.utx = utx;
29315
      this.utx = utx;
30853
      return this;
29316
      return this;
30854
    }
29317
    }
30855
 
29318
 
30856
    public void unsetUtx() {
29319
    public void unsetUtx() {
Line 30880... Line 29343...
30880
 
29343
 
30881
      case UTX:
29344
      case UTX:
30882
        if (value == null) {
29345
        if (value == null) {
30883
          unsetUtx();
29346
          unsetUtx();
30884
        } else {
29347
        } else {
30885
          setUtx((UserTrackerException)value);
29348
          setUtx((UserAffiliateException)value);
30886
        }
29349
        }
30887
        break;
29350
        break;
30888
 
29351
 
30889
      }
29352
      }
30890
    }
29353
    }
Line 31012... Line 29475...
31012
                TProtocolUtil.skip(iprot, field.type);
29475
                TProtocolUtil.skip(iprot, field.type);
31013
              }
29476
              }
31014
              break;
29477
              break;
31015
            case UTX:
29478
            case UTX:
31016
              if (field.type == TType.STRUCT) {
29479
              if (field.type == TType.STRUCT) {
31017
                this.utx = new UserTrackerException();
29480
                this.utx = new UserAffiliateException();
31018
                this.utx.read(iprot);
29481
                this.utx.read(iprot);
31019
              } else { 
29482
              } else { 
31020
                TProtocolUtil.skip(iprot, field.type);
29483
                TProtocolUtil.skip(iprot, field.type);
31021
              }
29484
              }
31022
              break;
29485
              break;
Line 31072... Line 29535...
31072
      // check for required fields
29535
      // check for required fields
31073
    }
29536
    }
31074
 
29537
 
31075
  }
29538
  }
31076
 
29539
 
31077
  public static class getTrackLogsByTracker_args implements TBase<getTrackLogsByTracker_args._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackLogsByTracker_args>   {
29540
  public static class getTrackLogsByAffiliate_args implements TBase<getTrackLogsByAffiliate_args._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackLogsByAffiliate_args>   {
31078
    private static final TStruct STRUCT_DESC = new TStruct("getTrackLogsByTracker_args");
29541
    private static final TStruct STRUCT_DESC = new TStruct("getTrackLogsByAffiliate_args");
31079
 
29542
 
31080
    private static final TField TRACKER_ID_FIELD_DESC = new TField("trackerId", TType.I64, (short)1);
29543
    private static final TField AFFILIATE_ID_FIELD_DESC = new TField("affiliateId", TType.I64, (short)1);
31081
 
29544
 
31082
    private long trackerId;
29545
    private long affiliateId;
31083
 
29546
 
31084
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
29547
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
31085
    public enum _Fields implements TFieldIdEnum {
29548
    public enum _Fields implements TFieldIdEnum {
31086
      TRACKER_ID((short)1, "trackerId");
29549
      AFFILIATE_ID((short)1, "affiliateId");
31087
 
29550
 
31088
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
29551
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
31089
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
29552
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
31090
 
29553
 
31091
      static {
29554
      static {
Line 31135... Line 29598...
31135
        return _fieldName;
29598
        return _fieldName;
31136
      }
29599
      }
31137
    }
29600
    }
31138
 
29601
 
31139
    // isset id assignments
29602
    // isset id assignments
31140
    private static final int __TRACKERID_ISSET_ID = 0;
29603
    private static final int __AFFILIATEID_ISSET_ID = 0;
31141
    private BitSet __isset_bit_vector = new BitSet(1);
29604
    private BitSet __isset_bit_vector = new BitSet(1);
31142
 
29605
 
31143
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
29606
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
31144
      put(_Fields.TRACKER_ID, new FieldMetaData("trackerId", TFieldRequirementType.DEFAULT, 
29607
      put(_Fields.AFFILIATE_ID, new FieldMetaData("affiliateId", TFieldRequirementType.DEFAULT, 
31145
          new FieldValueMetaData(TType.I64)));
29608
          new FieldValueMetaData(TType.I64)));
31146
    }});
29609
    }});
31147
 
29610
 
31148
    static {
29611
    static {
31149
      FieldMetaData.addStructMetaDataMap(getTrackLogsByTracker_args.class, metaDataMap);
29612
      FieldMetaData.addStructMetaDataMap(getTrackLogsByAffiliate_args.class, metaDataMap);
31150
    }
29613
    }
31151
 
29614
 
31152
    public getTrackLogsByTracker_args() {
29615
    public getTrackLogsByAffiliate_args() {
31153
    }
29616
    }
31154
 
29617
 
31155
    public getTrackLogsByTracker_args(
29618
    public getTrackLogsByAffiliate_args(
31156
      long trackerId)
29619
      long affiliateId)
31157
    {
29620
    {
31158
      this();
29621
      this();
31159
      this.trackerId = trackerId;
29622
      this.affiliateId = affiliateId;
31160
      setTrackerIdIsSet(true);
29623
      setAffiliateIdIsSet(true);
31161
    }
29624
    }
31162
 
29625
 
31163
    /**
29626
    /**
31164
     * Performs a deep copy on <i>other</i>.
29627
     * Performs a deep copy on <i>other</i>.
31165
     */
29628
     */
31166
    public getTrackLogsByTracker_args(getTrackLogsByTracker_args other) {
29629
    public getTrackLogsByAffiliate_args(getTrackLogsByAffiliate_args other) {
31167
      __isset_bit_vector.clear();
29630
      __isset_bit_vector.clear();
31168
      __isset_bit_vector.or(other.__isset_bit_vector);
29631
      __isset_bit_vector.or(other.__isset_bit_vector);
31169
      this.trackerId = other.trackerId;
29632
      this.affiliateId = other.affiliateId;
31170
    }
29633
    }
31171
 
29634
 
31172
    public getTrackLogsByTracker_args deepCopy() {
29635
    public getTrackLogsByAffiliate_args deepCopy() {
31173
      return new getTrackLogsByTracker_args(this);
29636
      return new getTrackLogsByAffiliate_args(this);
31174
    }
29637
    }
31175
 
29638
 
31176
    @Deprecated
29639
    @Deprecated
31177
    public getTrackLogsByTracker_args clone() {
29640
    public getTrackLogsByAffiliate_args clone() {
31178
      return new getTrackLogsByTracker_args(this);
29641
      return new getTrackLogsByAffiliate_args(this);
31179
    }
29642
    }
31180
 
29643
 
31181
    public long getTrackerId() {
29644
    public long getAffiliateId() {
31182
      return this.trackerId;
29645
      return this.affiliateId;
31183
    }
29646
    }
31184
 
29647
 
31185
    public getTrackLogsByTracker_args setTrackerId(long trackerId) {
29648
    public getTrackLogsByAffiliate_args setAffiliateId(long affiliateId) {
31186
      this.trackerId = trackerId;
29649
      this.affiliateId = affiliateId;
31187
      setTrackerIdIsSet(true);
29650
      setAffiliateIdIsSet(true);
31188
      return this;
29651
      return this;
31189
    }
29652
    }
31190
 
29653
 
31191
    public void unsetTrackerId() {
29654
    public void unsetAffiliateId() {
31192
      __isset_bit_vector.clear(__TRACKERID_ISSET_ID);
29655
      __isset_bit_vector.clear(__AFFILIATEID_ISSET_ID);
31193
    }
29656
    }
31194
 
29657
 
31195
    /** Returns true if field trackerId is set (has been asigned a value) and false otherwise */
29658
    /** Returns true if field affiliateId is set (has been asigned a value) and false otherwise */
31196
    public boolean isSetTrackerId() {
29659
    public boolean isSetAffiliateId() {
31197
      return __isset_bit_vector.get(__TRACKERID_ISSET_ID);
29660
      return __isset_bit_vector.get(__AFFILIATEID_ISSET_ID);
31198
    }
29661
    }
31199
 
29662
 
31200
    public void setTrackerIdIsSet(boolean value) {
29663
    public void setAffiliateIdIsSet(boolean value) {
31201
      __isset_bit_vector.set(__TRACKERID_ISSET_ID, value);
29664
      __isset_bit_vector.set(__AFFILIATEID_ISSET_ID, value);
31202
    }
29665
    }
31203
 
29666
 
31204
    public void setFieldValue(_Fields field, Object value) {
29667
    public void setFieldValue(_Fields field, Object value) {
31205
      switch (field) {
29668
      switch (field) {
31206
      case TRACKER_ID:
29669
      case AFFILIATE_ID:
31207
        if (value == null) {
29670
        if (value == null) {
31208
          unsetTrackerId();
29671
          unsetAffiliateId();
31209
        } else {
29672
        } else {
31210
          setTrackerId((Long)value);
29673
          setAffiliateId((Long)value);
31211
        }
29674
        }
31212
        break;
29675
        break;
31213
 
29676
 
31214
      }
29677
      }
31215
    }
29678
    }
Line 31218... Line 29681...
31218
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
29681
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
31219
    }
29682
    }
31220
 
29683
 
31221
    public Object getFieldValue(_Fields field) {
29684
    public Object getFieldValue(_Fields field) {
31222
      switch (field) {
29685
      switch (field) {
31223
      case TRACKER_ID:
29686
      case AFFILIATE_ID:
31224
        return new Long(getTrackerId());
29687
        return new Long(getAffiliateId());
31225
 
29688
 
31226
      }
29689
      }
31227
      throw new IllegalStateException();
29690
      throw new IllegalStateException();
31228
    }
29691
    }
31229
 
29692
 
Line 31232... Line 29695...
31232
    }
29695
    }
31233
 
29696
 
31234
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
29697
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
31235
    public boolean isSet(_Fields field) {
29698
    public boolean isSet(_Fields field) {
31236
      switch (field) {
29699
      switch (field) {
31237
      case TRACKER_ID:
29700
      case AFFILIATE_ID:
31238
        return isSetTrackerId();
29701
        return isSetAffiliateId();
31239
      }
29702
      }
31240
      throw new IllegalStateException();
29703
      throw new IllegalStateException();
31241
    }
29704
    }
31242
 
29705
 
31243
    public boolean isSet(int fieldID) {
29706
    public boolean isSet(int fieldID) {
Line 31246... Line 29709...
31246
 
29709
 
31247
    @Override
29710
    @Override
31248
    public boolean equals(Object that) {
29711
    public boolean equals(Object that) {
31249
      if (that == null)
29712
      if (that == null)
31250
        return false;
29713
        return false;
31251
      if (that instanceof getTrackLogsByTracker_args)
29714
      if (that instanceof getTrackLogsByAffiliate_args)
31252
        return this.equals((getTrackLogsByTracker_args)that);
29715
        return this.equals((getTrackLogsByAffiliate_args)that);
31253
      return false;
29716
      return false;
31254
    }
29717
    }
31255
 
29718
 
31256
    public boolean equals(getTrackLogsByTracker_args that) {
29719
    public boolean equals(getTrackLogsByAffiliate_args that) {
31257
      if (that == null)
29720
      if (that == null)
31258
        return false;
29721
        return false;
31259
 
29722
 
31260
      boolean this_present_trackerId = true;
29723
      boolean this_present_affiliateId = true;
31261
      boolean that_present_trackerId = true;
29724
      boolean that_present_affiliateId = true;
31262
      if (this_present_trackerId || that_present_trackerId) {
29725
      if (this_present_affiliateId || that_present_affiliateId) {
31263
        if (!(this_present_trackerId && that_present_trackerId))
29726
        if (!(this_present_affiliateId && that_present_affiliateId))
31264
          return false;
29727
          return false;
31265
        if (this.trackerId != that.trackerId)
29728
        if (this.affiliateId != that.affiliateId)
31266
          return false;
29729
          return false;
31267
      }
29730
      }
31268
 
29731
 
31269
      return true;
29732
      return true;
31270
    }
29733
    }
Line 31272... Line 29735...
31272
    @Override
29735
    @Override
31273
    public int hashCode() {
29736
    public int hashCode() {
31274
      return 0;
29737
      return 0;
31275
    }
29738
    }
31276
 
29739
 
31277
    public int compareTo(getTrackLogsByTracker_args other) {
29740
    public int compareTo(getTrackLogsByAffiliate_args other) {
31278
      if (!getClass().equals(other.getClass())) {
29741
      if (!getClass().equals(other.getClass())) {
31279
        return getClass().getName().compareTo(other.getClass().getName());
29742
        return getClass().getName().compareTo(other.getClass().getName());
31280
      }
29743
      }
31281
 
29744
 
31282
      int lastComparison = 0;
29745
      int lastComparison = 0;
31283
      getTrackLogsByTracker_args typedOther = (getTrackLogsByTracker_args)other;
29746
      getTrackLogsByAffiliate_args typedOther = (getTrackLogsByAffiliate_args)other;
31284
 
29747
 
31285
      lastComparison = Boolean.valueOf(isSetTrackerId()).compareTo(isSetTrackerId());
29748
      lastComparison = Boolean.valueOf(isSetAffiliateId()).compareTo(isSetAffiliateId());
31286
      if (lastComparison != 0) {
29749
      if (lastComparison != 0) {
31287
        return lastComparison;
29750
        return lastComparison;
31288
      }
29751
      }
31289
      lastComparison = TBaseHelper.compareTo(trackerId, typedOther.trackerId);
29752
      lastComparison = TBaseHelper.compareTo(affiliateId, typedOther.affiliateId);
31290
      if (lastComparison != 0) {
29753
      if (lastComparison != 0) {
31291
        return lastComparison;
29754
        return lastComparison;
31292
      }
29755
      }
31293
      return 0;
29756
      return 0;
31294
    }
29757
    }
Line 31305... Line 29768...
31305
        _Fields fieldId = _Fields.findByThriftId(field.id);
29768
        _Fields fieldId = _Fields.findByThriftId(field.id);
31306
        if (fieldId == null) {
29769
        if (fieldId == null) {
31307
          TProtocolUtil.skip(iprot, field.type);
29770
          TProtocolUtil.skip(iprot, field.type);
31308
        } else {
29771
        } else {
31309
          switch (fieldId) {
29772
          switch (fieldId) {
31310
            case TRACKER_ID:
29773
            case AFFILIATE_ID:
31311
              if (field.type == TType.I64) {
29774
              if (field.type == TType.I64) {
31312
                this.trackerId = iprot.readI64();
29775
                this.affiliateId = iprot.readI64();
31313
                setTrackerIdIsSet(true);
29776
                setAffiliateIdIsSet(true);
31314
              } else { 
29777
              } else { 
31315
                TProtocolUtil.skip(iprot, field.type);
29778
                TProtocolUtil.skip(iprot, field.type);
31316
              }
29779
              }
31317
              break;
29780
              break;
31318
          }
29781
          }
Line 31325... Line 29788...
31325
 
29788
 
31326
    public void write(TProtocol oprot) throws TException {
29789
    public void write(TProtocol oprot) throws TException {
31327
      validate();
29790
      validate();
31328
 
29791
 
31329
      oprot.writeStructBegin(STRUCT_DESC);
29792
      oprot.writeStructBegin(STRUCT_DESC);
31330
      oprot.writeFieldBegin(TRACKER_ID_FIELD_DESC);
29793
      oprot.writeFieldBegin(AFFILIATE_ID_FIELD_DESC);
31331
      oprot.writeI64(this.trackerId);
29794
      oprot.writeI64(this.affiliateId);
31332
      oprot.writeFieldEnd();
29795
      oprot.writeFieldEnd();
31333
      oprot.writeFieldStop();
29796
      oprot.writeFieldStop();
31334
      oprot.writeStructEnd();
29797
      oprot.writeStructEnd();
31335
    }
29798
    }
31336
 
29799
 
31337
    @Override
29800
    @Override
31338
    public String toString() {
29801
    public String toString() {
31339
      StringBuilder sb = new StringBuilder("getTrackLogsByTracker_args(");
29802
      StringBuilder sb = new StringBuilder("getTrackLogsByAffiliate_args(");
31340
      boolean first = true;
29803
      boolean first = true;
31341
 
29804
 
31342
      sb.append("trackerId:");
29805
      sb.append("affiliateId:");
31343
      sb.append(this.trackerId);
29806
      sb.append(this.affiliateId);
31344
      first = false;
29807
      first = false;
31345
      sb.append(")");
29808
      sb.append(")");
31346
      return sb.toString();
29809
      return sb.toString();
31347
    }
29810
    }
31348
 
29811
 
Line 31350... Line 29813...
31350
      // check for required fields
29813
      // check for required fields
31351
    }
29814
    }
31352
 
29815
 
31353
  }
29816
  }
31354
 
29817
 
31355
  public static class getTrackLogsByTracker_result implements TBase<getTrackLogsByTracker_result._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackLogsByTracker_result>   {
29818
  public static class getTrackLogsByAffiliate_result implements TBase<getTrackLogsByAffiliate_result._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackLogsByAffiliate_result>   {
31356
    private static final TStruct STRUCT_DESC = new TStruct("getTrackLogsByTracker_result");
29819
    private static final TStruct STRUCT_DESC = new TStruct("getTrackLogsByAffiliate_result");
31357
 
29820
 
31358
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
29821
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
31359
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
29822
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
31360
 
29823
 
31361
    private List<TrackLog> success;
29824
    private List<TrackLog> success;
31362
    private UserTrackerException utx;
29825
    private UserAffiliateException utx;
31363
 
29826
 
31364
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
29827
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
31365
    public enum _Fields implements TFieldIdEnum {
29828
    public enum _Fields implements TFieldIdEnum {
31366
      SUCCESS((short)0, "success"),
29829
      SUCCESS((short)0, "success"),
31367
      UTX((short)1, "utx");
29830
      UTX((short)1, "utx");
Line 31426... Line 29889...
31426
      put(_Fields.UTX, new FieldMetaData("utx", TFieldRequirementType.DEFAULT, 
29889
      put(_Fields.UTX, new FieldMetaData("utx", TFieldRequirementType.DEFAULT, 
31427
          new FieldValueMetaData(TType.STRUCT)));
29890
          new FieldValueMetaData(TType.STRUCT)));
31428
    }});
29891
    }});
31429
 
29892
 
31430
    static {
29893
    static {
31431
      FieldMetaData.addStructMetaDataMap(getTrackLogsByTracker_result.class, metaDataMap);
29894
      FieldMetaData.addStructMetaDataMap(getTrackLogsByAffiliate_result.class, metaDataMap);
31432
    }
29895
    }
31433
 
29896
 
31434
    public getTrackLogsByTracker_result() {
29897
    public getTrackLogsByAffiliate_result() {
31435
    }
29898
    }
31436
 
29899
 
31437
    public getTrackLogsByTracker_result(
29900
    public getTrackLogsByAffiliate_result(
31438
      List<TrackLog> success,
29901
      List<TrackLog> success,
31439
      UserTrackerException utx)
29902
      UserAffiliateException utx)
31440
    {
29903
    {
31441
      this();
29904
      this();
31442
      this.success = success;
29905
      this.success = success;
31443
      this.utx = utx;
29906
      this.utx = utx;
31444
    }
29907
    }
31445
 
29908
 
31446
    /**
29909
    /**
31447
     * Performs a deep copy on <i>other</i>.
29910
     * Performs a deep copy on <i>other</i>.
31448
     */
29911
     */
31449
    public getTrackLogsByTracker_result(getTrackLogsByTracker_result other) {
29912
    public getTrackLogsByAffiliate_result(getTrackLogsByAffiliate_result other) {
31450
      if (other.isSetSuccess()) {
29913
      if (other.isSetSuccess()) {
31451
        List<TrackLog> __this__success = new ArrayList<TrackLog>();
29914
        List<TrackLog> __this__success = new ArrayList<TrackLog>();
31452
        for (TrackLog other_element : other.success) {
29915
        for (TrackLog other_element : other.success) {
31453
          __this__success.add(new TrackLog(other_element));
29916
          __this__success.add(new TrackLog(other_element));
31454
        }
29917
        }
31455
        this.success = __this__success;
29918
        this.success = __this__success;
31456
      }
29919
      }
31457
      if (other.isSetUtx()) {
29920
      if (other.isSetUtx()) {
31458
        this.utx = new UserTrackerException(other.utx);
29921
        this.utx = new UserAffiliateException(other.utx);
31459
      }
29922
      }
31460
    }
29923
    }
31461
 
29924
 
31462
    public getTrackLogsByTracker_result deepCopy() {
29925
    public getTrackLogsByAffiliate_result deepCopy() {
31463
      return new getTrackLogsByTracker_result(this);
29926
      return new getTrackLogsByAffiliate_result(this);
31464
    }
29927
    }
31465
 
29928
 
31466
    @Deprecated
29929
    @Deprecated
31467
    public getTrackLogsByTracker_result clone() {
29930
    public getTrackLogsByAffiliate_result clone() {
31468
      return new getTrackLogsByTracker_result(this);
29931
      return new getTrackLogsByAffiliate_result(this);
31469
    }
29932
    }
31470
 
29933
 
31471
    public int getSuccessSize() {
29934
    public int getSuccessSize() {
31472
      return (this.success == null) ? 0 : this.success.size();
29935
      return (this.success == null) ? 0 : this.success.size();
31473
    }
29936
    }
Line 31485... Line 29948...
31485
 
29948
 
31486
    public List<TrackLog> getSuccess() {
29949
    public List<TrackLog> getSuccess() {
31487
      return this.success;
29950
      return this.success;
31488
    }
29951
    }
31489
 
29952
 
31490
    public getTrackLogsByTracker_result setSuccess(List<TrackLog> success) {
29953
    public getTrackLogsByAffiliate_result setSuccess(List<TrackLog> success) {
31491
      this.success = success;
29954
      this.success = success;
31492
      return this;
29955
      return this;
31493
    }
29956
    }
31494
 
29957
 
31495
    public void unsetSuccess() {
29958
    public void unsetSuccess() {
Line 31505... Line 29968...
31505
      if (!value) {
29968
      if (!value) {
31506
        this.success = null;
29969
        this.success = null;
31507
      }
29970
      }
31508
    }
29971
    }
31509
 
29972
 
31510
    public UserTrackerException getUtx() {
29973
    public UserAffiliateException getUtx() {
31511
      return this.utx;
29974
      return this.utx;
31512
    }
29975
    }
31513
 
29976
 
31514
    public getTrackLogsByTracker_result setUtx(UserTrackerException utx) {
29977
    public getTrackLogsByAffiliate_result setUtx(UserAffiliateException utx) {
31515
      this.utx = utx;
29978
      this.utx = utx;
31516
      return this;
29979
      return this;
31517
    }
29980
    }
31518
 
29981
 
31519
    public void unsetUtx() {
29982
    public void unsetUtx() {
Line 31543... Line 30006...
31543
 
30006
 
31544
      case UTX:
30007
      case UTX:
31545
        if (value == null) {
30008
        if (value == null) {
31546
          unsetUtx();
30009
          unsetUtx();
31547
        } else {
30010
        } else {
31548
          setUtx((UserTrackerException)value);
30011
          setUtx((UserAffiliateException)value);
31549
        }
30012
        }
31550
        break;
30013
        break;
31551
 
30014
 
31552
      }
30015
      }
31553
    }
30016
    }
Line 31589... Line 30052...
31589
 
30052
 
31590
    @Override
30053
    @Override
31591
    public boolean equals(Object that) {
30054
    public boolean equals(Object that) {
31592
      if (that == null)
30055
      if (that == null)
31593
        return false;
30056
        return false;
31594
      if (that instanceof getTrackLogsByTracker_result)
30057
      if (that instanceof getTrackLogsByAffiliate_result)
31595
        return this.equals((getTrackLogsByTracker_result)that);
30058
        return this.equals((getTrackLogsByAffiliate_result)that);
31596
      return false;
30059
      return false;
31597
    }
30060
    }
31598
 
30061
 
31599
    public boolean equals(getTrackLogsByTracker_result that) {
30062
    public boolean equals(getTrackLogsByAffiliate_result that) {
31600
      if (that == null)
30063
      if (that == null)
31601
        return false;
30064
        return false;
31602
 
30065
 
31603
      boolean this_present_success = true && this.isSetSuccess();
30066
      boolean this_present_success = true && this.isSetSuccess();
31604
      boolean that_present_success = true && that.isSetSuccess();
30067
      boolean that_present_success = true && that.isSetSuccess();
Line 31624... Line 30087...
31624
    @Override
30087
    @Override
31625
    public int hashCode() {
30088
    public int hashCode() {
31626
      return 0;
30089
      return 0;
31627
    }
30090
    }
31628
 
30091
 
31629
    public int compareTo(getTrackLogsByTracker_result other) {
30092
    public int compareTo(getTrackLogsByAffiliate_result other) {
31630
      if (!getClass().equals(other.getClass())) {
30093
      if (!getClass().equals(other.getClass())) {
31631
        return getClass().getName().compareTo(other.getClass().getName());
30094
        return getClass().getName().compareTo(other.getClass().getName());
31632
      }
30095
      }
31633
 
30096
 
31634
      int lastComparison = 0;
30097
      int lastComparison = 0;
31635
      getTrackLogsByTracker_result typedOther = (getTrackLogsByTracker_result)other;
30098
      getTrackLogsByAffiliate_result typedOther = (getTrackLogsByAffiliate_result)other;
31636
 
30099
 
31637
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
30100
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
31638
      if (lastComparison != 0) {
30101
      if (lastComparison != 0) {
31639
        return lastComparison;
30102
        return lastComparison;
31640
      }
30103
      }
Line 31668... Line 30131...
31668
        } else {
30131
        } else {
31669
          switch (fieldId) {
30132
          switch (fieldId) {
31670
            case SUCCESS:
30133
            case SUCCESS:
31671
              if (field.type == TType.LIST) {
30134
              if (field.type == TType.LIST) {
31672
                {
30135
                {
31673
                  TList _list44 = iprot.readListBegin();
30136
                  TList _list40 = iprot.readListBegin();
31674
                  this.success = new ArrayList<TrackLog>(_list44.size);
30137
                  this.success = new ArrayList<TrackLog>(_list40.size);
31675
                  for (int _i45 = 0; _i45 < _list44.size; ++_i45)
30138
                  for (int _i41 = 0; _i41 < _list40.size; ++_i41)
31676
                  {
30139
                  {
31677
                    TrackLog _elem46;
30140
                    TrackLog _elem42;
31678
                    _elem46 = new TrackLog();
30141
                    _elem42 = new TrackLog();
31679
                    _elem46.read(iprot);
30142
                    _elem42.read(iprot);
31680
                    this.success.add(_elem46);
30143
                    this.success.add(_elem42);
31681
                  }
30144
                  }
31682
                  iprot.readListEnd();
30145
                  iprot.readListEnd();
31683
                }
30146
                }
31684
              } else { 
30147
              } else { 
31685
                TProtocolUtil.skip(iprot, field.type);
30148
                TProtocolUtil.skip(iprot, field.type);
31686
              }
30149
              }
31687
              break;
30150
              break;
31688
            case UTX:
30151
            case UTX:
31689
              if (field.type == TType.STRUCT) {
30152
              if (field.type == TType.STRUCT) {
31690
                this.utx = new UserTrackerException();
30153
                this.utx = new UserAffiliateException();
31691
                this.utx.read(iprot);
30154
                this.utx.read(iprot);
31692
              } else { 
30155
              } else { 
31693
                TProtocolUtil.skip(iprot, field.type);
30156
                TProtocolUtil.skip(iprot, field.type);
31694
              }
30157
              }
31695
              break;
30158
              break;
Line 31706... Line 30169...
31706
 
30169
 
31707
      if (this.isSetSuccess()) {
30170
      if (this.isSetSuccess()) {
31708
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30171
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31709
        {
30172
        {
31710
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
30173
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
31711
          for (TrackLog _iter47 : this.success)
30174
          for (TrackLog _iter43 : this.success)
31712
          {
30175
          {
31713
            _iter47.write(oprot);
30176
            _iter43.write(oprot);
31714
          }
30177
          }
31715
          oprot.writeListEnd();
30178
          oprot.writeListEnd();
31716
        }
30179
        }
31717
        oprot.writeFieldEnd();
30180
        oprot.writeFieldEnd();
31718
      } else if (this.isSetUtx()) {
30181
      } else if (this.isSetUtx()) {
Line 31724... Line 30187...
31724
      oprot.writeStructEnd();
30187
      oprot.writeStructEnd();
31725
    }
30188
    }
31726
 
30189
 
31727
    @Override
30190
    @Override
31728
    public String toString() {
30191
    public String toString() {
31729
      StringBuilder sb = new StringBuilder("getTrackLogsByTracker_result(");
30192
      StringBuilder sb = new StringBuilder("getTrackLogsByAffiliate_result(");
31730
      boolean first = true;
30193
      boolean first = true;
31731
 
30194
 
31732
      sb.append("success:");
30195
      sb.append("success:");
31733
      if (this.success == null) {
30196
      if (this.success == null) {
31734
        sb.append("null");
30197
        sb.append("null");
Line 32037... Line 30500...
32037
 
30500
 
32038
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
30501
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
32039
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
30502
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
32040
 
30503
 
32041
    private List<TrackLog> success;
30504
    private List<TrackLog> success;
32042
    private UserTrackerException utx;
30505
    private UserAffiliateException utx;
32043
 
30506
 
32044
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
30507
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
32045
    public enum _Fields implements TFieldIdEnum {
30508
    public enum _Fields implements TFieldIdEnum {
32046
      SUCCESS((short)0, "success"),
30509
      SUCCESS((short)0, "success"),
32047
      UTX((short)1, "utx");
30510
      UTX((short)1, "utx");
Line 32114... Line 30577...
32114
    public getTrackLogsByUser_result() {
30577
    public getTrackLogsByUser_result() {
32115
    }
30578
    }
32116
 
30579
 
32117
    public getTrackLogsByUser_result(
30580
    public getTrackLogsByUser_result(
32118
      List<TrackLog> success,
30581
      List<TrackLog> success,
32119
      UserTrackerException utx)
30582
      UserAffiliateException utx)
32120
    {
30583
    {
32121
      this();
30584
      this();
32122
      this.success = success;
30585
      this.success = success;
32123
      this.utx = utx;
30586
      this.utx = utx;
32124
    }
30587
    }
Line 32133... Line 30596...
32133
          __this__success.add(new TrackLog(other_element));
30596
          __this__success.add(new TrackLog(other_element));
32134
        }
30597
        }
32135
        this.success = __this__success;
30598
        this.success = __this__success;
32136
      }
30599
      }
32137
      if (other.isSetUtx()) {
30600
      if (other.isSetUtx()) {
32138
        this.utx = new UserTrackerException(other.utx);
30601
        this.utx = new UserAffiliateException(other.utx);
32139
      }
30602
      }
32140
    }
30603
    }
32141
 
30604
 
32142
    public getTrackLogsByUser_result deepCopy() {
30605
    public getTrackLogsByUser_result deepCopy() {
32143
      return new getTrackLogsByUser_result(this);
30606
      return new getTrackLogsByUser_result(this);
Line 32185... Line 30648...
32185
      if (!value) {
30648
      if (!value) {
32186
        this.success = null;
30649
        this.success = null;
32187
      }
30650
      }
32188
    }
30651
    }
32189
 
30652
 
32190
    public UserTrackerException getUtx() {
30653
    public UserAffiliateException getUtx() {
32191
      return this.utx;
30654
      return this.utx;
32192
    }
30655
    }
32193
 
30656
 
32194
    public getTrackLogsByUser_result setUtx(UserTrackerException utx) {
30657
    public getTrackLogsByUser_result setUtx(UserAffiliateException utx) {
32195
      this.utx = utx;
30658
      this.utx = utx;
32196
      return this;
30659
      return this;
32197
    }
30660
    }
32198
 
30661
 
32199
    public void unsetUtx() {
30662
    public void unsetUtx() {
Line 32223... Line 30686...
32223
 
30686
 
32224
      case UTX:
30687
      case UTX:
32225
        if (value == null) {
30688
        if (value == null) {
32226
          unsetUtx();
30689
          unsetUtx();
32227
        } else {
30690
        } else {
32228
          setUtx((UserTrackerException)value);
30691
          setUtx((UserAffiliateException)value);
32229
        }
30692
        }
32230
        break;
30693
        break;
32231
 
30694
 
32232
      }
30695
      }
32233
    }
30696
    }
Line 32348... Line 30811...
32348
        } else {
30811
        } else {
32349
          switch (fieldId) {
30812
          switch (fieldId) {
32350
            case SUCCESS:
30813
            case SUCCESS:
32351
              if (field.type == TType.LIST) {
30814
              if (field.type == TType.LIST) {
32352
                {
30815
                {
32353
                  TList _list48 = iprot.readListBegin();
30816
                  TList _list44 = iprot.readListBegin();
32354
                  this.success = new ArrayList<TrackLog>(_list48.size);
30817
                  this.success = new ArrayList<TrackLog>(_list44.size);
32355
                  for (int _i49 = 0; _i49 < _list48.size; ++_i49)
30818
                  for (int _i45 = 0; _i45 < _list44.size; ++_i45)
32356
                  {
30819
                  {
32357
                    TrackLog _elem50;
30820
                    TrackLog _elem46;
32358
                    _elem50 = new TrackLog();
30821
                    _elem46 = new TrackLog();
32359
                    _elem50.read(iprot);
30822
                    _elem46.read(iprot);
32360
                    this.success.add(_elem50);
30823
                    this.success.add(_elem46);
32361
                  }
30824
                  }
32362
                  iprot.readListEnd();
30825
                  iprot.readListEnd();
32363
                }
30826
                }
32364
              } else { 
30827
              } else { 
32365
                TProtocolUtil.skip(iprot, field.type);
30828
                TProtocolUtil.skip(iprot, field.type);
32366
              }
30829
              }
32367
              break;
30830
              break;
32368
            case UTX:
30831
            case UTX:
32369
              if (field.type == TType.STRUCT) {
30832
              if (field.type == TType.STRUCT) {
32370
                this.utx = new UserTrackerException();
30833
                this.utx = new UserAffiliateException();
32371
                this.utx.read(iprot);
30834
                this.utx.read(iprot);
32372
              } else { 
30835
              } else { 
32373
                TProtocolUtil.skip(iprot, field.type);
30836
                TProtocolUtil.skip(iprot, field.type);
32374
              }
30837
              }
32375
              break;
30838
              break;
Line 32386... Line 30849...
32386
 
30849
 
32387
      if (this.isSetSuccess()) {
30850
      if (this.isSetSuccess()) {
32388
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30851
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32389
        {
30852
        {
32390
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
30853
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
32391
          for (TrackLog _iter51 : this.success)
30854
          for (TrackLog _iter47 : this.success)
32392
          {
30855
          {
32393
            _iter51.write(oprot);
30856
            _iter47.write(oprot);
32394
          }
30857
          }
32395
          oprot.writeListEnd();
30858
          oprot.writeListEnd();
32396
        }
30859
        }
32397
        oprot.writeFieldEnd();
30860
        oprot.writeFieldEnd();
32398
      } else if (this.isSetUtx()) {
30861
      } else if (this.isSetUtx()) {
Line 32435... Line 30898...
32435
  }
30898
  }
32436
 
30899
 
32437
  public static class getTrackLogs_args implements TBase<getTrackLogs_args._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackLogs_args>   {
30900
  public static class getTrackLogs_args implements TBase<getTrackLogs_args._Fields>, java.io.Serializable, Cloneable, Comparable<getTrackLogs_args>   {
32438
    private static final TStruct STRUCT_DESC = new TStruct("getTrackLogs_args");
30901
    private static final TStruct STRUCT_DESC = new TStruct("getTrackLogs_args");
32439
 
30902
 
32440
    private static final TField TRACKER_ID_FIELD_DESC = new TField("trackerId", TType.I64, (short)1);
-
 
32441
    private static final TField USER_ID_FIELD_DESC = new TField("userId", TType.I64, (short)2);
30903
    private static final TField USER_ID_FIELD_DESC = new TField("userId", TType.I64, (short)1);
32442
    private static final TField EVENT_FIELD_DESC = new TField("event", TType.STRING, (short)3);
30904
    private static final TField EVENT_FIELD_DESC = new TField("event", TType.STRING, (short)2);
32443
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)4);
30905
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)3);
32444
 
30906
 
32445
    private long trackerId;
-
 
32446
    private long userId;
30907
    private long userId;
32447
    private String event;
30908
    private String event;
32448
    private String url;
30909
    private String url;
32449
 
30910
 
32450
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
30911
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
32451
    public enum _Fields implements TFieldIdEnum {
30912
    public enum _Fields implements TFieldIdEnum {
32452
      TRACKER_ID((short)1, "trackerId"),
-
 
32453
      USER_ID((short)2, "userId"),
30913
      USER_ID((short)1, "userId"),
32454
      EVENT((short)3, "event"),
30914
      EVENT((short)2, "event"),
32455
      URL((short)4, "url");
30915
      URL((short)3, "url");
32456
 
30916
 
32457
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
30917
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
32458
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
30918
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
32459
 
30919
 
32460
      static {
30920
      static {
Line 32504... Line 30964...
32504
        return _fieldName;
30964
        return _fieldName;
32505
      }
30965
      }
32506
    }
30966
    }
32507
 
30967
 
32508
    // isset id assignments
30968
    // isset id assignments
32509
    private static final int __TRACKERID_ISSET_ID = 0;
-
 
32510
    private static final int __USERID_ISSET_ID = 1;
30969
    private static final int __USERID_ISSET_ID = 0;
32511
    private BitSet __isset_bit_vector = new BitSet(2);
30970
    private BitSet __isset_bit_vector = new BitSet(1);
32512
 
30971
 
32513
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
30972
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
32514
      put(_Fields.TRACKER_ID, new FieldMetaData("trackerId", TFieldRequirementType.DEFAULT, 
-
 
32515
          new FieldValueMetaData(TType.I64)));
-
 
32516
      put(_Fields.USER_ID, new FieldMetaData("userId", TFieldRequirementType.DEFAULT, 
30973
      put(_Fields.USER_ID, new FieldMetaData("userId", TFieldRequirementType.DEFAULT, 
32517
          new FieldValueMetaData(TType.I64)));
30974
          new FieldValueMetaData(TType.I64)));
32518
      put(_Fields.EVENT, new FieldMetaData("event", TFieldRequirementType.DEFAULT, 
30975
      put(_Fields.EVENT, new FieldMetaData("event", TFieldRequirementType.DEFAULT, 
32519
          new FieldValueMetaData(TType.STRING)));
30976
          new FieldValueMetaData(TType.STRING)));
32520
      put(_Fields.URL, new FieldMetaData("url", TFieldRequirementType.DEFAULT, 
30977
      put(_Fields.URL, new FieldMetaData("url", TFieldRequirementType.DEFAULT, 
Line 32527... Line 30984...
32527
 
30984
 
32528
    public getTrackLogs_args() {
30985
    public getTrackLogs_args() {
32529
    }
30986
    }
32530
 
30987
 
32531
    public getTrackLogs_args(
30988
    public getTrackLogs_args(
32532
      long trackerId,
-
 
32533
      long userId,
30989
      long userId,
32534
      String event,
30990
      String event,
32535
      String url)
30991
      String url)
32536
    {
30992
    {
32537
      this();
30993
      this();
32538
      this.trackerId = trackerId;
-
 
32539
      setTrackerIdIsSet(true);
-
 
32540
      this.userId = userId;
30994
      this.userId = userId;
32541
      setUserIdIsSet(true);
30995
      setUserIdIsSet(true);
32542
      this.event = event;
30996
      this.event = event;
32543
      this.url = url;
30997
      this.url = url;
32544
    }
30998
    }
Line 32547... Line 31001...
32547
     * Performs a deep copy on <i>other</i>.
31001
     * Performs a deep copy on <i>other</i>.
32548
     */
31002
     */
32549
    public getTrackLogs_args(getTrackLogs_args other) {
31003
    public getTrackLogs_args(getTrackLogs_args other) {
32550
      __isset_bit_vector.clear();
31004
      __isset_bit_vector.clear();
32551
      __isset_bit_vector.or(other.__isset_bit_vector);
31005
      __isset_bit_vector.or(other.__isset_bit_vector);
32552
      this.trackerId = other.trackerId;
-
 
32553
      this.userId = other.userId;
31006
      this.userId = other.userId;
32554
      if (other.isSetEvent()) {
31007
      if (other.isSetEvent()) {
32555
        this.event = other.event;
31008
        this.event = other.event;
32556
      }
31009
      }
32557
      if (other.isSetUrl()) {
31010
      if (other.isSetUrl()) {
Line 32566... Line 31019...
32566
    @Deprecated
31019
    @Deprecated
32567
    public getTrackLogs_args clone() {
31020
    public getTrackLogs_args clone() {
32568
      return new getTrackLogs_args(this);
31021
      return new getTrackLogs_args(this);
32569
    }
31022
    }
32570
 
31023
 
32571
    public long getTrackerId() {
-
 
32572
      return this.trackerId;
-
 
32573
    }
-
 
32574
 
-
 
32575
    public getTrackLogs_args setTrackerId(long trackerId) {
-
 
32576
      this.trackerId = trackerId;
-
 
32577
      setTrackerIdIsSet(true);
-
 
32578
      return this;
-
 
32579
    }
-
 
32580
 
-
 
32581
    public void unsetTrackerId() {
-
 
32582
      __isset_bit_vector.clear(__TRACKERID_ISSET_ID);
-
 
32583
    }
-
 
32584
 
-
 
32585
    /** Returns true if field trackerId is set (has been asigned a value) and false otherwise */
-
 
32586
    public boolean isSetTrackerId() {
-
 
32587
      return __isset_bit_vector.get(__TRACKERID_ISSET_ID);
-
 
32588
    }
-
 
32589
 
-
 
32590
    public void setTrackerIdIsSet(boolean value) {
-
 
32591
      __isset_bit_vector.set(__TRACKERID_ISSET_ID, value);
-
 
32592
    }
-
 
32593
 
-
 
32594
    public long getUserId() {
31024
    public long getUserId() {
32595
      return this.userId;
31025
      return this.userId;
32596
    }
31026
    }
32597
 
31027
 
32598
    public getTrackLogs_args setUserId(long userId) {
31028
    public getTrackLogs_args setUserId(long userId) {
Line 32662... Line 31092...
32662
      }
31092
      }
32663
    }
31093
    }
32664
 
31094
 
32665
    public void setFieldValue(_Fields field, Object value) {
31095
    public void setFieldValue(_Fields field, Object value) {
32666
      switch (field) {
31096
      switch (field) {
32667
      case TRACKER_ID:
-
 
32668
        if (value == null) {
-
 
32669
          unsetTrackerId();
-
 
32670
        } else {
-
 
32671
          setTrackerId((Long)value);
-
 
32672
        }
-
 
32673
        break;
-
 
32674
 
-
 
32675
      case USER_ID:
31097
      case USER_ID:
32676
        if (value == null) {
31098
        if (value == null) {
32677
          unsetUserId();
31099
          unsetUserId();
32678
        } else {
31100
        } else {
32679
          setUserId((Long)value);
31101
          setUserId((Long)value);
Line 32703... Line 31125...
32703
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
31125
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
32704
    }
31126
    }
32705
 
31127
 
32706
    public Object getFieldValue(_Fields field) {
31128
    public Object getFieldValue(_Fields field) {
32707
      switch (field) {
31129
      switch (field) {
32708
      case TRACKER_ID:
-
 
32709
        return new Long(getTrackerId());
-
 
32710
 
-
 
32711
      case USER_ID:
31130
      case USER_ID:
32712
        return new Long(getUserId());
31131
        return new Long(getUserId());
32713
 
31132
 
32714
      case EVENT:
31133
      case EVENT:
32715
        return getEvent();
31134
        return getEvent();
Line 32726... Line 31145...
32726
    }
31145
    }
32727
 
31146
 
32728
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
31147
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
32729
    public boolean isSet(_Fields field) {
31148
    public boolean isSet(_Fields field) {
32730
      switch (field) {
31149
      switch (field) {
32731
      case TRACKER_ID:
-
 
32732
        return isSetTrackerId();
-
 
32733
      case USER_ID:
31150
      case USER_ID:
32734
        return isSetUserId();
31151
        return isSetUserId();
32735
      case EVENT:
31152
      case EVENT:
32736
        return isSetEvent();
31153
        return isSetEvent();
32737
      case URL:
31154
      case URL:
Line 32755... Line 31172...
32755
 
31172
 
32756
    public boolean equals(getTrackLogs_args that) {
31173
    public boolean equals(getTrackLogs_args that) {
32757
      if (that == null)
31174
      if (that == null)
32758
        return false;
31175
        return false;
32759
 
31176
 
32760
      boolean this_present_trackerId = true;
-
 
32761
      boolean that_present_trackerId = true;
-
 
32762
      if (this_present_trackerId || that_present_trackerId) {
-
 
32763
        if (!(this_present_trackerId && that_present_trackerId))
-
 
32764
          return false;
-
 
32765
        if (this.trackerId != that.trackerId)
-
 
32766
          return false;
-
 
32767
      }
-
 
32768
 
-
 
32769
      boolean this_present_userId = true;
31177
      boolean this_present_userId = true;
32770
      boolean that_present_userId = true;
31178
      boolean that_present_userId = true;
32771
      if (this_present_userId || that_present_userId) {
31179
      if (this_present_userId || that_present_userId) {
32772
        if (!(this_present_userId && that_present_userId))
31180
        if (!(this_present_userId && that_present_userId))
32773
          return false;
31181
          return false;
Line 32807... Line 31215...
32807
      }
31215
      }
32808
 
31216
 
32809
      int lastComparison = 0;
31217
      int lastComparison = 0;
32810
      getTrackLogs_args typedOther = (getTrackLogs_args)other;
31218
      getTrackLogs_args typedOther = (getTrackLogs_args)other;
32811
 
31219
 
32812
      lastComparison = Boolean.valueOf(isSetTrackerId()).compareTo(isSetTrackerId());
-
 
32813
      if (lastComparison != 0) {
-
 
32814
        return lastComparison;
-
 
32815
      }
-
 
32816
      lastComparison = TBaseHelper.compareTo(trackerId, typedOther.trackerId);
-
 
32817
      if (lastComparison != 0) {
-
 
32818
        return lastComparison;
-
 
32819
      }
-
 
32820
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(isSetUserId());
31220
      lastComparison = Boolean.valueOf(isSetUserId()).compareTo(isSetUserId());
32821
      if (lastComparison != 0) {
31221
      if (lastComparison != 0) {
32822
        return lastComparison;
31222
        return lastComparison;
32823
      }
31223
      }
32824
      lastComparison = TBaseHelper.compareTo(userId, typedOther.userId);
31224
      lastComparison = TBaseHelper.compareTo(userId, typedOther.userId);
Line 32856... Line 31256...
32856
        _Fields fieldId = _Fields.findByThriftId(field.id);
31256
        _Fields fieldId = _Fields.findByThriftId(field.id);
32857
        if (fieldId == null) {
31257
        if (fieldId == null) {
32858
          TProtocolUtil.skip(iprot, field.type);
31258
          TProtocolUtil.skip(iprot, field.type);
32859
        } else {
31259
        } else {
32860
          switch (fieldId) {
31260
          switch (fieldId) {
32861
            case TRACKER_ID:
-
 
32862
              if (field.type == TType.I64) {
-
 
32863
                this.trackerId = iprot.readI64();
-
 
32864
                setTrackerIdIsSet(true);
-
 
32865
              } else { 
-
 
32866
                TProtocolUtil.skip(iprot, field.type);
-
 
32867
              }
-
 
32868
              break;
-
 
32869
            case USER_ID:
31261
            case USER_ID:
32870
              if (field.type == TType.I64) {
31262
              if (field.type == TType.I64) {
32871
                this.userId = iprot.readI64();
31263
                this.userId = iprot.readI64();
32872
                setUserIdIsSet(true);
31264
                setUserIdIsSet(true);
32873
              } else { 
31265
              } else { 
Line 32898... Line 31290...
32898
 
31290
 
32899
    public void write(TProtocol oprot) throws TException {
31291
    public void write(TProtocol oprot) throws TException {
32900
      validate();
31292
      validate();
32901
 
31293
 
32902
      oprot.writeStructBegin(STRUCT_DESC);
31294
      oprot.writeStructBegin(STRUCT_DESC);
32903
      oprot.writeFieldBegin(TRACKER_ID_FIELD_DESC);
-
 
32904
      oprot.writeI64(this.trackerId);
-
 
32905
      oprot.writeFieldEnd();
-
 
32906
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
31295
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
32907
      oprot.writeI64(this.userId);
31296
      oprot.writeI64(this.userId);
32908
      oprot.writeFieldEnd();
31297
      oprot.writeFieldEnd();
32909
      if (this.event != null) {
31298
      if (this.event != null) {
32910
        oprot.writeFieldBegin(EVENT_FIELD_DESC);
31299
        oprot.writeFieldBegin(EVENT_FIELD_DESC);
Line 32923... Line 31312...
32923
    @Override
31312
    @Override
32924
    public String toString() {
31313
    public String toString() {
32925
      StringBuilder sb = new StringBuilder("getTrackLogs_args(");
31314
      StringBuilder sb = new StringBuilder("getTrackLogs_args(");
32926
      boolean first = true;
31315
      boolean first = true;
32927
 
31316
 
32928
      sb.append("trackerId:");
-
 
32929
      sb.append(this.trackerId);
-
 
32930
      first = false;
-
 
32931
      if (!first) sb.append(", ");
-
 
32932
      sb.append("userId:");
31317
      sb.append("userId:");
32933
      sb.append(this.userId);
31318
      sb.append(this.userId);
32934
      first = false;
31319
      first = false;
32935
      if (!first) sb.append(", ");
31320
      if (!first) sb.append(", ");
32936
      sb.append("event:");
31321
      sb.append("event:");
Line 32963... Line 31348...
32963
 
31348
 
32964
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
31349
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
32965
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
31350
    private static final TField UTX_FIELD_DESC = new TField("utx", TType.STRUCT, (short)1);
32966
 
31351
 
32967
    private List<TrackLog> success;
31352
    private List<TrackLog> success;
32968
    private UserTrackerException utx;
31353
    private UserAffiliateException utx;
32969
 
31354
 
32970
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
31355
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
32971
    public enum _Fields implements TFieldIdEnum {
31356
    public enum _Fields implements TFieldIdEnum {
32972
      SUCCESS((short)0, "success"),
31357
      SUCCESS((short)0, "success"),
32973
      UTX((short)1, "utx");
31358
      UTX((short)1, "utx");
Line 33040... Line 31425...
33040
    public getTrackLogs_result() {
31425
    public getTrackLogs_result() {
33041
    }
31426
    }
33042
 
31427
 
33043
    public getTrackLogs_result(
31428
    public getTrackLogs_result(
33044
      List<TrackLog> success,
31429
      List<TrackLog> success,
33045
      UserTrackerException utx)
31430
      UserAffiliateException utx)
33046
    {
31431
    {
33047
      this();
31432
      this();
33048
      this.success = success;
31433
      this.success = success;
33049
      this.utx = utx;
31434
      this.utx = utx;
33050
    }
31435
    }
Line 33059... Line 31444...
33059
          __this__success.add(new TrackLog(other_element));
31444
          __this__success.add(new TrackLog(other_element));
33060
        }
31445
        }
33061
        this.success = __this__success;
31446
        this.success = __this__success;
33062
      }
31447
      }
33063
      if (other.isSetUtx()) {
31448
      if (other.isSetUtx()) {
33064
        this.utx = new UserTrackerException(other.utx);
31449
        this.utx = new UserAffiliateException(other.utx);
33065
      }
31450
      }
33066
    }
31451
    }
33067
 
31452
 
33068
    public getTrackLogs_result deepCopy() {
31453
    public getTrackLogs_result deepCopy() {
33069
      return new getTrackLogs_result(this);
31454
      return new getTrackLogs_result(this);
Line 33111... Line 31496...
33111
      if (!value) {
31496
      if (!value) {
33112
        this.success = null;
31497
        this.success = null;
33113
      }
31498
      }
33114
    }
31499
    }
33115
 
31500
 
33116
    public UserTrackerException getUtx() {
31501
    public UserAffiliateException getUtx() {
33117
      return this.utx;
31502
      return this.utx;
33118
    }
31503
    }
33119
 
31504
 
33120
    public getTrackLogs_result setUtx(UserTrackerException utx) {
31505
    public getTrackLogs_result setUtx(UserAffiliateException utx) {
33121
      this.utx = utx;
31506
      this.utx = utx;
33122
      return this;
31507
      return this;
33123
    }
31508
    }
33124
 
31509
 
33125
    public void unsetUtx() {
31510
    public void unsetUtx() {
Line 33149... Line 31534...
33149
 
31534
 
33150
      case UTX:
31535
      case UTX:
33151
        if (value == null) {
31536
        if (value == null) {
33152
          unsetUtx();
31537
          unsetUtx();
33153
        } else {
31538
        } else {
33154
          setUtx((UserTrackerException)value);
31539
          setUtx((UserAffiliateException)value);
33155
        }
31540
        }
33156
        break;
31541
        break;
33157
 
31542
 
33158
      }
31543
      }
33159
    }
31544
    }
Line 33274... Line 31659...
33274
        } else {
31659
        } else {
33275
          switch (fieldId) {
31660
          switch (fieldId) {
33276
            case SUCCESS:
31661
            case SUCCESS:
33277
              if (field.type == TType.LIST) {
31662
              if (field.type == TType.LIST) {
33278
                {
31663
                {
33279
                  TList _list52 = iprot.readListBegin();
31664
                  TList _list48 = iprot.readListBegin();
33280
                  this.success = new ArrayList<TrackLog>(_list52.size);
31665
                  this.success = new ArrayList<TrackLog>(_list48.size);
33281
                  for (int _i53 = 0; _i53 < _list52.size; ++_i53)
31666
                  for (int _i49 = 0; _i49 < _list48.size; ++_i49)
33282
                  {
31667
                  {
33283
                    TrackLog _elem54;
31668
                    TrackLog _elem50;
33284
                    _elem54 = new TrackLog();
31669
                    _elem50 = new TrackLog();
33285
                    _elem54.read(iprot);
31670
                    _elem50.read(iprot);
33286
                    this.success.add(_elem54);
31671
                    this.success.add(_elem50);
33287
                  }
31672
                  }
33288
                  iprot.readListEnd();
31673
                  iprot.readListEnd();
33289
                }
31674
                }
33290
              } else { 
31675
              } else { 
33291
                TProtocolUtil.skip(iprot, field.type);
31676
                TProtocolUtil.skip(iprot, field.type);
33292
              }
31677
              }
33293
              break;
31678
              break;
33294
            case UTX:
31679
            case UTX:
33295
              if (field.type == TType.STRUCT) {
31680
              if (field.type == TType.STRUCT) {
33296
                this.utx = new UserTrackerException();
31681
                this.utx = new UserAffiliateException();
33297
                this.utx.read(iprot);
31682
                this.utx.read(iprot);
33298
              } else { 
31683
              } else { 
33299
                TProtocolUtil.skip(iprot, field.type);
31684
                TProtocolUtil.skip(iprot, field.type);
33300
              }
31685
              }
33301
              break;
31686
              break;
Line 33312... Line 31697...
33312
 
31697
 
33313
      if (this.isSetSuccess()) {
31698
      if (this.isSetSuccess()) {
33314
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31699
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33315
        {
31700
        {
33316
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
31701
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
33317
          for (TrackLog _iter55 : this.success)
31702
          for (TrackLog _iter51 : this.success)
33318
          {
31703
          {
33319
            _iter55.write(oprot);
31704
            _iter51.write(oprot);
33320
          }
31705
          }
33321
          oprot.writeListEnd();
31706
          oprot.writeListEnd();
33322
        }
31707
        }
33323
        oprot.writeFieldEnd();
31708
        oprot.writeFieldEnd();
33324
      } else if (this.isSetUtx()) {
31709
      } else if (this.isSetUtx()) {
Line 35985... Line 34370...
35985
        } else {
34370
        } else {
35986
          switch (fieldId) {
34371
          switch (fieldId) {
35987
            case SUCCESS:
34372
            case SUCCESS:
35988
              if (field.type == TType.LIST) {
34373
              if (field.type == TType.LIST) {
35989
                {
34374
                {
35990
                  TList _list56 = iprot.readListBegin();
34375
                  TList _list52 = iprot.readListBegin();
35991
                  this.success = new ArrayList<Cart>(_list56.size);
34376
                  this.success = new ArrayList<Cart>(_list52.size);
35992
                  for (int _i57 = 0; _i57 < _list56.size; ++_i57)
34377
                  for (int _i53 = 0; _i53 < _list52.size; ++_i53)
35993
                  {
34378
                  {
35994
                    Cart _elem58;
34379
                    Cart _elem54;
35995
                    _elem58 = new Cart();
34380
                    _elem54 = new Cart();
35996
                    _elem58.read(iprot);
34381
                    _elem54.read(iprot);
35997
                    this.success.add(_elem58);
34382
                    this.success.add(_elem54);
35998
                  }
34383
                  }
35999
                  iprot.readListEnd();
34384
                  iprot.readListEnd();
36000
                }
34385
                }
36001
              } else { 
34386
              } else { 
36002
                TProtocolUtil.skip(iprot, field.type);
34387
                TProtocolUtil.skip(iprot, field.type);
Line 36023... Line 34408...
36023
 
34408
 
36024
      if (this.isSetSuccess()) {
34409
      if (this.isSetSuccess()) {
36025
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34410
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36026
        {
34411
        {
36027
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
34412
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
36028
          for (Cart _iter59 : this.success)
34413
          for (Cart _iter55 : this.success)
36029
          {
34414
          {
36030
            _iter59.write(oprot);
34415
            _iter55.write(oprot);
36031
          }
34416
          }
36032
          oprot.writeListEnd();
34417
          oprot.writeListEnd();
36033
        }
34418
        }
36034
        oprot.writeFieldEnd();
34419
        oprot.writeFieldEnd();
36035
      } else if (this.isSetScx()) {
34420
      } else if (this.isSetScx()) {
Line 36688... Line 35073...
36688
        } else {
35073
        } else {
36689
          switch (fieldId) {
35074
          switch (fieldId) {
36690
            case SUCCESS:
35075
            case SUCCESS:
36691
              if (field.type == TType.LIST) {
35076
              if (field.type == TType.LIST) {
36692
                {
35077
                {
36693
                  TList _list60 = iprot.readListBegin();
35078
                  TList _list56 = iprot.readListBegin();
36694
                  this.success = new ArrayList<Cart>(_list60.size);
35079
                  this.success = new ArrayList<Cart>(_list56.size);
36695
                  for (int _i61 = 0; _i61 < _list60.size; ++_i61)
35080
                  for (int _i57 = 0; _i57 < _list56.size; ++_i57)
36696
                  {
35081
                  {
36697
                    Cart _elem62;
35082
                    Cart _elem58;
36698
                    _elem62 = new Cart();
35083
                    _elem58 = new Cart();
36699
                    _elem62.read(iprot);
35084
                    _elem58.read(iprot);
36700
                    this.success.add(_elem62);
35085
                    this.success.add(_elem58);
36701
                  }
35086
                  }
36702
                  iprot.readListEnd();
35087
                  iprot.readListEnd();
36703
                }
35088
                }
36704
              } else { 
35089
              } else { 
36705
                TProtocolUtil.skip(iprot, field.type);
35090
                TProtocolUtil.skip(iprot, field.type);
Line 36726... Line 35111...
36726
 
35111
 
36727
      if (this.isSetSuccess()) {
35112
      if (this.isSetSuccess()) {
36728
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35113
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36729
        {
35114
        {
36730
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
35115
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
36731
          for (Cart _iter63 : this.success)
35116
          for (Cart _iter59 : this.success)
36732
          {
35117
          {
36733
            _iter63.write(oprot);
35118
            _iter59.write(oprot);
36734
          }
35119
          }
36735
          oprot.writeListEnd();
35120
          oprot.writeListEnd();
36736
        }
35121
        }
36737
        oprot.writeFieldEnd();
35122
        oprot.writeFieldEnd();
36738
      } else if (this.isSetScx()) {
35123
      } else if (this.isSetScx()) {
Line 37550... Line 35935...
37550
        } else {
35935
        } else {
37551
          switch (fieldId) {
35936
          switch (fieldId) {
37552
            case SUCCESS:
35937
            case SUCCESS:
37553
              if (field.type == TType.LIST) {
35938
              if (field.type == TType.LIST) {
37554
                {
35939
                {
37555
                  TList _list64 = iprot.readListBegin();
35940
                  TList _list60 = iprot.readListBegin();
37556
                  this.success = new ArrayList<Cart>(_list64.size);
35941
                  this.success = new ArrayList<Cart>(_list60.size);
37557
                  for (int _i65 = 0; _i65 < _list64.size; ++_i65)
35942
                  for (int _i61 = 0; _i61 < _list60.size; ++_i61)
37558
                  {
35943
                  {
37559
                    Cart _elem66;
35944
                    Cart _elem62;
37560
                    _elem66 = new Cart();
35945
                    _elem62 = new Cart();
37561
                    _elem66.read(iprot);
35946
                    _elem62.read(iprot);
37562
                    this.success.add(_elem66);
35947
                    this.success.add(_elem62);
37563
                  }
35948
                  }
37564
                  iprot.readListEnd();
35949
                  iprot.readListEnd();
37565
                }
35950
                }
37566
              } else { 
35951
              } else { 
37567
                TProtocolUtil.skip(iprot, field.type);
35952
                TProtocolUtil.skip(iprot, field.type);
Line 37588... Line 35973...
37588
 
35973
 
37589
      if (this.isSetSuccess()) {
35974
      if (this.isSetSuccess()) {
37590
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
35975
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37591
        {
35976
        {
37592
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
35977
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
37593
          for (Cart _iter67 : this.success)
35978
          for (Cart _iter63 : this.success)
37594
          {
35979
          {
37595
            _iter67.write(oprot);
35980
            _iter63.write(oprot);
37596
          }
35981
          }
37597
          oprot.writeListEnd();
35982
          oprot.writeListEnd();
37598
        }
35983
        }
37599
        oprot.writeFieldEnd();
35984
        oprot.writeFieldEnd();
37600
      } else if (this.isSetScx()) {
35985
      } else if (this.isSetScx()) {
Line 45876... Line 44261...
45876
              }
44261
              }
45877
              break;
44262
              break;
45878
            case ITEMS:
44263
            case ITEMS:
45879
              if (field.type == TType.MAP) {
44264
              if (field.type == TType.MAP) {
45880
                {
44265
                {
45881
                  TMap _map68 = iprot.readMapBegin();
44266
                  TMap _map64 = iprot.readMapBegin();
45882
                  this.items = new HashMap<Long,Double>(2*_map68.size);
44267
                  this.items = new HashMap<Long,Double>(2*_map64.size);
45883
                  for (int _i69 = 0; _i69 < _map68.size; ++_i69)
44268
                  for (int _i65 = 0; _i65 < _map64.size; ++_i65)
45884
                  {
44269
                  {
45885
                    long _key70;
44270
                    long _key66;
45886
                    double _val71;
44271
                    double _val67;
45887
                    _key70 = iprot.readI64();
44272
                    _key66 = iprot.readI64();
45888
                    _val71 = iprot.readDouble();
44273
                    _val67 = iprot.readDouble();
45889
                    this.items.put(_key70, _val71);
44274
                    this.items.put(_key66, _val67);
45890
                  }
44275
                  }
45891
                  iprot.readMapEnd();
44276
                  iprot.readMapEnd();
45892
                }
44277
                }
45893
              } else { 
44278
              } else { 
45894
                TProtocolUtil.skip(iprot, field.type);
44279
                TProtocolUtil.skip(iprot, field.type);
Line 45911... Line 44296...
45911
      oprot.writeFieldEnd();
44296
      oprot.writeFieldEnd();
45912
      if (this.items != null) {
44297
      if (this.items != null) {
45913
        oprot.writeFieldBegin(ITEMS_FIELD_DESC);
44298
        oprot.writeFieldBegin(ITEMS_FIELD_DESC);
45914
        {
44299
        {
45915
          oprot.writeMapBegin(new TMap(TType.I64, TType.DOUBLE, this.items.size()));
44300
          oprot.writeMapBegin(new TMap(TType.I64, TType.DOUBLE, this.items.size()));
45916
          for (Map.Entry<Long, Double> _iter72 : this.items.entrySet())
44301
          for (Map.Entry<Long, Double> _iter68 : this.items.entrySet())
45917
          {
44302
          {
45918
            oprot.writeI64(_iter72.getKey());
44303
            oprot.writeI64(_iter68.getKey());
45919
            oprot.writeDouble(_iter72.getValue());
44304
            oprot.writeDouble(_iter68.getValue());
45920
          }
44305
          }
45921
          oprot.writeMapEnd();
44306
          oprot.writeMapEnd();
45922
        }
44307
        }
45923
        oprot.writeFieldEnd();
44308
        oprot.writeFieldEnd();
45924
      }
44309
      }
Line 51341... Line 49726...
51341
        } else {
49726
        } else {
51342
          switch (fieldId) {
49727
          switch (fieldId) {
51343
            case SUCCESS:
49728
            case SUCCESS:
51344
              if (field.type == TType.LIST) {
49729
              if (field.type == TType.LIST) {
51345
                {
49730
                {
51346
                  TList _list73 = iprot.readListBegin();
49731
                  TList _list69 = iprot.readListBegin();
51347
                  this.success = new ArrayList<User>(_list73.size);
49732
                  this.success = new ArrayList<User>(_list69.size);
51348
                  for (int _i74 = 0; _i74 < _list73.size; ++_i74)
49733
                  for (int _i70 = 0; _i70 < _list69.size; ++_i70)
51349
                  {
49734
                  {
51350
                    User _elem75;
49735
                    User _elem71;
51351
                    _elem75 = new User();
49736
                    _elem71 = new User();
51352
                    _elem75.read(iprot);
49737
                    _elem71.read(iprot);
51353
                    this.success.add(_elem75);
49738
                    this.success.add(_elem71);
51354
                  }
49739
                  }
51355
                  iprot.readListEnd();
49740
                  iprot.readListEnd();
51356
                }
49741
                }
51357
              } else { 
49742
              } else { 
51358
                TProtocolUtil.skip(iprot, field.type);
49743
                TProtocolUtil.skip(iprot, field.type);
Line 51371... Line 49756...
51371
 
49756
 
51372
      if (this.isSetSuccess()) {
49757
      if (this.isSetSuccess()) {
51373
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
49758
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51374
        {
49759
        {
51375
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
49760
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
51376
          for (User _iter76 : this.success)
49761
          for (User _iter72 : this.success)
51377
          {
49762
          {
51378
            _iter76.write(oprot);
49763
            _iter72.write(oprot);
51379
          }
49764
          }
51380
          oprot.writeListEnd();
49765
          oprot.writeListEnd();
51381
        }
49766
        }
51382
        oprot.writeFieldEnd();
49767
        oprot.writeFieldEnd();
51383
      }
49768
      }