Subversion Repositories SmartDukaan

Rev

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

Rev 1846 Rev 1860
Line 79... Line 79...
79
 
79
 
80
    public List<UserCommunication> getUserCommunicationByUser(long userId) throws UserCommunicationException, TException;
80
    public List<UserCommunication> getUserCommunicationByUser(long userId) throws UserCommunicationException, TException;
81
 
81
 
82
    public List<UserCommunication> getAllUserCommunications() throws UserCommunicationException, TException;
82
    public List<UserCommunication> getAllUserCommunications() throws UserCommunicationException, TException;
83
 
83
 
84
    public MasterAffiliate createMasterAffiliate(String name) throws UserTrackerException, TException;
84
    public MasterAffiliate createMasterAffiliate(String name, long addedOn) throws UserTrackerException, TException;
85
 
85
 
86
    public MasterAffiliate getMasterAffiliateById(long id) throws UserTrackerException, TException;
86
    public MasterAffiliate getMasterAffiliateById(long id) throws UserTrackerException, TException;
87
 
87
 
88
    public MasterAffiliate getMasterAffiliateByName(String name) throws UserTrackerException, TException;
88
    public MasterAffiliate getMasterAffiliateByName(String name) throws UserTrackerException, TException;
89
 
89
 
90
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId) throws UserTrackerException, TException;
90
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId, long addedOn) throws UserTrackerException, TException;
91
 
91
 
92
    public Affiliate getAffiliateById(long id) throws UserTrackerException, TException;
92
    public Affiliate getAffiliateById(long id) throws UserTrackerException, TException;
93
 
93
 
94
    public Affiliate getAffiliateByName(String name) throws UserTrackerException, TException;
94
    public Affiliate getAffiliateByName(String name) throws UserTrackerException, TException;
95
 
95
 
96
    public List<Affiliate> getAffiliatesByMasterAffiliate(long id) throws UserTrackerException, TException;
96
    public List<Affiliate> getAffiliatesByMasterAffiliate(long id) throws UserTrackerException, TException;
97
 
97
 
98
    public Tracker createTracker(long affiliateId) throws UserTrackerException, TException;
98
    public Tracker createTracker(long affiliateId, long addedOn) throws UserTrackerException, TException;
99
 
99
 
100
    public Tracker getTrackerById(long trackerId) throws UserTrackerException, TException;
100
    public Tracker getTrackerById(long trackerId) throws UserTrackerException, TException;
101
 
101
 
102
    public List<Tracker> getTrackersByAffiliate(long affiliateId) throws UserTrackerException, TException;
102
    public List<Tracker> getTrackersByAffiliate(long affiliateId) throws UserTrackerException, TException;
103
 
103
 
104
    public long addTrackLog(long trackerId, long userId, String event, String url, String data) throws UserTrackerException, TException;
104
    public long addTrackLog(long trackerId, long userId, String event, String url, String data, long addedOn) throws UserTrackerException, TException;
105
 
105
 
106
    public TrackLog getTrackLogById(long id) throws UserTrackerException, TException;
106
    public TrackLog getTrackLogById(long id) throws UserTrackerException, TException;
107
 
107
 
108
    public List<TrackLog> getTrackLogsByTracker(long trackerId) throws UserTrackerException, TException;
108
    public List<TrackLog> getTrackLogsByTracker(long trackerId) throws UserTrackerException, TException;
109
 
109
 
Line 1111... Line 1111...
1111
        throw result.ucx;
1111
        throw result.ucx;
1112
      }
1112
      }
1113
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1113
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserCommunications failed: unknown result");
1114
    }
1114
    }
1115
 
1115
 
1116
    public MasterAffiliate createMasterAffiliate(String name) throws UserTrackerException, TException
1116
    public MasterAffiliate createMasterAffiliate(String name, long addedOn) throws UserTrackerException, TException
1117
    {
1117
    {
1118
      send_createMasterAffiliate(name);
1118
      send_createMasterAffiliate(name, addedOn);
1119
      return recv_createMasterAffiliate();
1119
      return recv_createMasterAffiliate();
1120
    }
1120
    }
1121
 
1121
 
1122
    public void send_createMasterAffiliate(String name) throws TException
1122
    public void send_createMasterAffiliate(String name, long addedOn) throws TException
1123
    {
1123
    {
1124
      oprot_.writeMessageBegin(new TMessage("createMasterAffiliate", TMessageType.CALL, seqid_));
1124
      oprot_.writeMessageBegin(new TMessage("createMasterAffiliate", TMessageType.CALL, seqid_));
1125
      createMasterAffiliate_args args = new createMasterAffiliate_args();
1125
      createMasterAffiliate_args args = new createMasterAffiliate_args();
1126
      args.name = name;
1126
      args.name = name;
-
 
1127
      args.addedOn = addedOn;
1127
      args.write(oprot_);
1128
      args.write(oprot_);
1128
      oprot_.writeMessageEnd();
1129
      oprot_.writeMessageEnd();
1129
      oprot_.getTransport().flush();
1130
      oprot_.getTransport().flush();
1130
    }
1131
    }
1131
 
1132
 
Line 1219... Line 1220...
1219
        throw result.utx;
1220
        throw result.utx;
1220
      }
1221
      }
1221
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateByName failed: unknown result");
1222
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getMasterAffiliateByName failed: unknown result");
1222
    }
1223
    }
1223
 
1224
 
1224
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId) throws UserTrackerException, TException
1225
    public Affiliate createAffiliate(String name, String url, long masterAffiliateId, long addedOn) throws UserTrackerException, TException
1225
    {
1226
    {
1226
      send_createAffiliate(name, url, masterAffiliateId);
1227
      send_createAffiliate(name, url, masterAffiliateId, addedOn);
1227
      return recv_createAffiliate();
1228
      return recv_createAffiliate();
1228
    }
1229
    }
1229
 
1230
 
1230
    public void send_createAffiliate(String name, String url, long masterAffiliateId) throws TException
1231
    public void send_createAffiliate(String name, String url, long masterAffiliateId, long addedOn) throws TException
1231
    {
1232
    {
1232
      oprot_.writeMessageBegin(new TMessage("createAffiliate", TMessageType.CALL, seqid_));
1233
      oprot_.writeMessageBegin(new TMessage("createAffiliate", TMessageType.CALL, seqid_));
1233
      createAffiliate_args args = new createAffiliate_args();
1234
      createAffiliate_args args = new createAffiliate_args();
1234
      args.name = name;
1235
      args.name = name;
1235
      args.url = url;
1236
      args.url = url;
1236
      args.masterAffiliateId = masterAffiliateId;
1237
      args.masterAffiliateId = masterAffiliateId;
-
 
1238
      args.addedOn = addedOn;
1237
      args.write(oprot_);
1239
      args.write(oprot_);
1238
      oprot_.writeMessageEnd();
1240
      oprot_.writeMessageEnd();
1239
      oprot_.getTransport().flush();
1241
      oprot_.getTransport().flush();
1240
    }
1242
    }
1241
 
1243
 
Line 1365... Line 1367...
1365
        throw result.utx;
1367
        throw result.utx;
1366
      }
1368
      }
1367
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
1369
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getAffiliatesByMasterAffiliate failed: unknown result");
1368
    }
1370
    }
1369
 
1371
 
1370
    public Tracker createTracker(long affiliateId) throws UserTrackerException, TException
1372
    public Tracker createTracker(long affiliateId, long addedOn) throws UserTrackerException, TException
1371
    {
1373
    {
1372
      send_createTracker(affiliateId);
1374
      send_createTracker(affiliateId, addedOn);
1373
      return recv_createTracker();
1375
      return recv_createTracker();
1374
    }
1376
    }
1375
 
1377
 
1376
    public void send_createTracker(long affiliateId) throws TException
1378
    public void send_createTracker(long affiliateId, long addedOn) throws TException
1377
    {
1379
    {
1378
      oprot_.writeMessageBegin(new TMessage("createTracker", TMessageType.CALL, seqid_));
1380
      oprot_.writeMessageBegin(new TMessage("createTracker", TMessageType.CALL, seqid_));
1379
      createTracker_args args = new createTracker_args();
1381
      createTracker_args args = new createTracker_args();
1380
      args.affiliateId = affiliateId;
1382
      args.affiliateId = affiliateId;
-
 
1383
      args.addedOn = addedOn;
1381
      args.write(oprot_);
1384
      args.write(oprot_);
1382
      oprot_.writeMessageEnd();
1385
      oprot_.writeMessageEnd();
1383
      oprot_.getTransport().flush();
1386
      oprot_.getTransport().flush();
1384
    }
1387
    }
1385
 
1388
 
Line 1473... Line 1476...
1473
        throw result.utx;
1476
        throw result.utx;
1474
      }
1477
      }
1475
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackersByAffiliate failed: unknown result");
1478
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "getTrackersByAffiliate failed: unknown result");
1476
    }
1479
    }
1477
 
1480
 
1478
    public long addTrackLog(long trackerId, long userId, String event, String url, String data) throws UserTrackerException, TException
1481
    public long addTrackLog(long trackerId, long userId, String event, String url, String data, long addedOn) throws UserTrackerException, TException
1479
    {
1482
    {
1480
      send_addTrackLog(trackerId, userId, event, url, data);
1483
      send_addTrackLog(trackerId, userId, event, url, data, addedOn);
1481
      return recv_addTrackLog();
1484
      return recv_addTrackLog();
1482
    }
1485
    }
1483
 
1486
 
1484
    public void send_addTrackLog(long trackerId, long userId, String event, String url, String data) throws TException
1487
    public void send_addTrackLog(long trackerId, long userId, String event, String url, String data, long addedOn) throws TException
1485
    {
1488
    {
1486
      oprot_.writeMessageBegin(new TMessage("addTrackLog", TMessageType.CALL, seqid_));
1489
      oprot_.writeMessageBegin(new TMessage("addTrackLog", TMessageType.CALL, seqid_));
1487
      addTrackLog_args args = new addTrackLog_args();
1490
      addTrackLog_args args = new addTrackLog_args();
1488
      args.trackerId = trackerId;
1491
      args.trackerId = trackerId;
1489
      args.userId = userId;
1492
      args.userId = userId;
1490
      args.event = event;
1493
      args.event = event;
1491
      args.url = url;
1494
      args.url = url;
1492
      args.data = data;
1495
      args.data = data;
-
 
1496
      args.addedOn = addedOn;
1493
      args.write(oprot_);
1497
      args.write(oprot_);
1494
      oprot_.writeMessageEnd();
1498
      oprot_.writeMessageEnd();
1495
      oprot_.getTransport().flush();
1499
      oprot_.getTransport().flush();
1496
    }
1500
    }
1497
 
1501
 
Line 3309... Line 3313...
3309
        createMasterAffiliate_args args = new createMasterAffiliate_args();
3313
        createMasterAffiliate_args args = new createMasterAffiliate_args();
3310
        args.read(iprot);
3314
        args.read(iprot);
3311
        iprot.readMessageEnd();
3315
        iprot.readMessageEnd();
3312
        createMasterAffiliate_result result = new createMasterAffiliate_result();
3316
        createMasterAffiliate_result result = new createMasterAffiliate_result();
3313
        try {
3317
        try {
3314
          result.success = iface_.createMasterAffiliate(args.name);
3318
          result.success = iface_.createMasterAffiliate(args.name, args.addedOn);
3315
        } catch (UserTrackerException utx) {
3319
        } catch (UserTrackerException utx) {
3316
          result.utx = utx;
3320
          result.utx = utx;
3317
        } catch (Throwable th) {
3321
        } catch (Throwable th) {
3318
          LOGGER.error("Internal error processing createMasterAffiliate", th);
3322
          LOGGER.error("Internal error processing createMasterAffiliate", th);
3319
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createMasterAffiliate");
3323
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createMasterAffiliate");
Line 3393... Line 3397...
3393
        createAffiliate_args args = new createAffiliate_args();
3397
        createAffiliate_args args = new createAffiliate_args();
3394
        args.read(iprot);
3398
        args.read(iprot);
3395
        iprot.readMessageEnd();
3399
        iprot.readMessageEnd();
3396
        createAffiliate_result result = new createAffiliate_result();
3400
        createAffiliate_result result = new createAffiliate_result();
3397
        try {
3401
        try {
3398
          result.success = iface_.createAffiliate(args.name, args.url, args.masterAffiliateId);
3402
          result.success = iface_.createAffiliate(args.name, args.url, args.masterAffiliateId, args.addedOn);
3399
        } catch (UserTrackerException utx) {
3403
        } catch (UserTrackerException utx) {
3400
          result.utx = utx;
3404
          result.utx = utx;
3401
        } catch (Throwable th) {
3405
        } catch (Throwable th) {
3402
          LOGGER.error("Internal error processing createAffiliate", th);
3406
          LOGGER.error("Internal error processing createAffiliate", th);
3403
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createAffiliate");
3407
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createAffiliate");
Line 3505... Line 3509...
3505
        createTracker_args args = new createTracker_args();
3509
        createTracker_args args = new createTracker_args();
3506
        args.read(iprot);
3510
        args.read(iprot);
3507
        iprot.readMessageEnd();
3511
        iprot.readMessageEnd();
3508
        createTracker_result result = new createTracker_result();
3512
        createTracker_result result = new createTracker_result();
3509
        try {
3513
        try {
3510
          result.success = iface_.createTracker(args.affiliateId);
3514
          result.success = iface_.createTracker(args.affiliateId, args.addedOn);
3511
        } catch (UserTrackerException utx) {
3515
        } catch (UserTrackerException utx) {
3512
          result.utx = utx;
3516
          result.utx = utx;
3513
        } catch (Throwable th) {
3517
        } catch (Throwable th) {
3514
          LOGGER.error("Internal error processing createTracker", th);
3518
          LOGGER.error("Internal error processing createTracker", th);
3515
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createTracker");
3519
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing createTracker");
Line 3589... Line 3593...
3589
        addTrackLog_args args = new addTrackLog_args();
3593
        addTrackLog_args args = new addTrackLog_args();
3590
        args.read(iprot);
3594
        args.read(iprot);
3591
        iprot.readMessageEnd();
3595
        iprot.readMessageEnd();
3592
        addTrackLog_result result = new addTrackLog_result();
3596
        addTrackLog_result result = new addTrackLog_result();
3593
        try {
3597
        try {
3594
          result.success = iface_.addTrackLog(args.trackerId, args.userId, args.event, args.url, args.data);
3598
          result.success = iface_.addTrackLog(args.trackerId, args.userId, args.event, args.url, args.data, args.addedOn);
3595
          result.setSuccessIsSet(true);
3599
          result.setSuccessIsSet(true);
3596
        } catch (UserTrackerException utx) {
3600
        } catch (UserTrackerException utx) {
3597
          result.utx = utx;
3601
          result.utx = utx;
3598
        } catch (Throwable th) {
3602
        } catch (Throwable th) {
3599
          LOGGER.error("Internal error processing addTrackLog", th);
3603
          LOGGER.error("Internal error processing addTrackLog", th);
Line 20955... Line 20959...
20955
 
20959
 
20956
  public static class createMasterAffiliate_args implements TBase<createMasterAffiliate_args._Fields>, java.io.Serializable, Cloneable, Comparable<createMasterAffiliate_args>   {
20960
  public static class createMasterAffiliate_args implements TBase<createMasterAffiliate_args._Fields>, java.io.Serializable, Cloneable, Comparable<createMasterAffiliate_args>   {
20957
    private static final TStruct STRUCT_DESC = new TStruct("createMasterAffiliate_args");
20961
    private static final TStruct STRUCT_DESC = new TStruct("createMasterAffiliate_args");
20958
 
20962
 
20959
    private static final TField NAME_FIELD_DESC = new TField("name", TType.STRING, (short)1);
20963
    private static final TField NAME_FIELD_DESC = new TField("name", TType.STRING, (short)1);
-
 
20964
    private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)2);
20960
 
20965
 
20961
    private String name;
20966
    private String name;
-
 
20967
    private long addedOn;
20962
 
20968
 
20963
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
20969
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
20964
    public enum _Fields implements TFieldIdEnum {
20970
    public enum _Fields implements TFieldIdEnum {
20965
      NAME((short)1, "name");
20971
      NAME((short)1, "name"),
-
 
20972
      ADDED_ON((short)2, "addedOn");
20966
 
20973
 
20967
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
20974
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
20968
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
20975
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
20969
 
20976
 
20970
      static {
20977
      static {
Line 21014... Line 21021...
21014
        return _fieldName;
21021
        return _fieldName;
21015
      }
21022
      }
21016
    }
21023
    }
21017
 
21024
 
21018
    // isset id assignments
21025
    // isset id assignments
-
 
21026
    private static final int __ADDEDON_ISSET_ID = 0;
-
 
21027
    private BitSet __isset_bit_vector = new BitSet(1);
21019
 
21028
 
21020
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
21029
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
21021
      put(_Fields.NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT, 
21030
      put(_Fields.NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT, 
21022
          new FieldValueMetaData(TType.STRING)));
21031
          new FieldValueMetaData(TType.STRING)));
-
 
21032
      put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
-
 
21033
          new FieldValueMetaData(TType.I64)));
21023
    }});
21034
    }});
21024
 
21035
 
21025
    static {
21036
    static {
21026
      FieldMetaData.addStructMetaDataMap(createMasterAffiliate_args.class, metaDataMap);
21037
      FieldMetaData.addStructMetaDataMap(createMasterAffiliate_args.class, metaDataMap);
21027
    }
21038
    }
21028
 
21039
 
21029
    public createMasterAffiliate_args() {
21040
    public createMasterAffiliate_args() {
21030
    }
21041
    }
21031
 
21042
 
21032
    public createMasterAffiliate_args(
21043
    public createMasterAffiliate_args(
21033
      String name)
21044
      String name,
-
 
21045
      long addedOn)
21034
    {
21046
    {
21035
      this();
21047
      this();
21036
      this.name = name;
21048
      this.name = name;
-
 
21049
      this.addedOn = addedOn;
-
 
21050
      setAddedOnIsSet(true);
21037
    }
21051
    }
21038
 
21052
 
21039
    /**
21053
    /**
21040
     * Performs a deep copy on <i>other</i>.
21054
     * Performs a deep copy on <i>other</i>.
21041
     */
21055
     */
21042
    public createMasterAffiliate_args(createMasterAffiliate_args other) {
21056
    public createMasterAffiliate_args(createMasterAffiliate_args other) {
-
 
21057
      __isset_bit_vector.clear();
-
 
21058
      __isset_bit_vector.or(other.__isset_bit_vector);
21043
      if (other.isSetName()) {
21059
      if (other.isSetName()) {
21044
        this.name = other.name;
21060
        this.name = other.name;
21045
      }
21061
      }
-
 
21062
      this.addedOn = other.addedOn;
21046
    }
21063
    }
21047
 
21064
 
21048
    public createMasterAffiliate_args deepCopy() {
21065
    public createMasterAffiliate_args deepCopy() {
21049
      return new createMasterAffiliate_args(this);
21066
      return new createMasterAffiliate_args(this);
21050
    }
21067
    }
Line 21076... Line 21093...
21076
      if (!value) {
21093
      if (!value) {
21077
        this.name = null;
21094
        this.name = null;
21078
      }
21095
      }
21079
    }
21096
    }
21080
 
21097
 
-
 
21098
    public long getAddedOn() {
-
 
21099
      return this.addedOn;
-
 
21100
    }
-
 
21101
 
-
 
21102
    public createMasterAffiliate_args setAddedOn(long addedOn) {
-
 
21103
      this.addedOn = addedOn;
-
 
21104
      setAddedOnIsSet(true);
-
 
21105
      return this;
-
 
21106
    }
-
 
21107
 
-
 
21108
    public void unsetAddedOn() {
-
 
21109
      __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
-
 
21110
    }
-
 
21111
 
-
 
21112
    /** Returns true if field addedOn is set (has been asigned a value) and false otherwise */
-
 
21113
    public boolean isSetAddedOn() {
-
 
21114
      return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
-
 
21115
    }
-
 
21116
 
-
 
21117
    public void setAddedOnIsSet(boolean value) {
-
 
21118
      __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
-
 
21119
    }
-
 
21120
 
21081
    public void setFieldValue(_Fields field, Object value) {
21121
    public void setFieldValue(_Fields field, Object value) {
21082
      switch (field) {
21122
      switch (field) {
21083
      case NAME:
21123
      case NAME:
21084
        if (value == null) {
21124
        if (value == null) {
21085
          unsetName();
21125
          unsetName();
21086
        } else {
21126
        } else {
21087
          setName((String)value);
21127
          setName((String)value);
21088
        }
21128
        }
21089
        break;
21129
        break;
21090
 
21130
 
-
 
21131
      case ADDED_ON:
-
 
21132
        if (value == null) {
-
 
21133
          unsetAddedOn();
-
 
21134
        } else {
-
 
21135
          setAddedOn((Long)value);
-
 
21136
        }
-
 
21137
        break;
-
 
21138
 
21091
      }
21139
      }
21092
    }
21140
    }
21093
 
21141
 
21094
    public void setFieldValue(int fieldID, Object value) {
21142
    public void setFieldValue(int fieldID, Object value) {
21095
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
21143
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
Line 21098... Line 21146...
21098
    public Object getFieldValue(_Fields field) {
21146
    public Object getFieldValue(_Fields field) {
21099
      switch (field) {
21147
      switch (field) {
21100
      case NAME:
21148
      case NAME:
21101
        return getName();
21149
        return getName();
21102
 
21150
 
-
 
21151
      case ADDED_ON:
-
 
21152
        return new Long(getAddedOn());
-
 
21153
 
21103
      }
21154
      }
21104
      throw new IllegalStateException();
21155
      throw new IllegalStateException();
21105
    }
21156
    }
21106
 
21157
 
21107
    public Object getFieldValue(int fieldId) {
21158
    public Object getFieldValue(int fieldId) {
Line 21111... Line 21162...
21111
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
21162
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
21112
    public boolean isSet(_Fields field) {
21163
    public boolean isSet(_Fields field) {
21113
      switch (field) {
21164
      switch (field) {
21114
      case NAME:
21165
      case NAME:
21115
        return isSetName();
21166
        return isSetName();
-
 
21167
      case ADDED_ON:
-
 
21168
        return isSetAddedOn();
21116
      }
21169
      }
21117
      throw new IllegalStateException();
21170
      throw new IllegalStateException();
21118
    }
21171
    }
21119
 
21172
 
21120
    public boolean isSet(int fieldID) {
21173
    public boolean isSet(int fieldID) {
Line 21141... Line 21194...
21141
          return false;
21194
          return false;
21142
        if (!this.name.equals(that.name))
21195
        if (!this.name.equals(that.name))
21143
          return false;
21196
          return false;
21144
      }
21197
      }
21145
 
21198
 
-
 
21199
      boolean this_present_addedOn = true;
-
 
21200
      boolean that_present_addedOn = true;
-
 
21201
      if (this_present_addedOn || that_present_addedOn) {
-
 
21202
        if (!(this_present_addedOn && that_present_addedOn))
-
 
21203
          return false;
-
 
21204
        if (this.addedOn != that.addedOn)
-
 
21205
          return false;
-
 
21206
      }
-
 
21207
 
21146
      return true;
21208
      return true;
21147
    }
21209
    }
21148
 
21210
 
21149
    @Override
21211
    @Override
21150
    public int hashCode() {
21212
    public int hashCode() {
Line 21165... Line 21227...
21165
      }
21227
      }
21166
      lastComparison = TBaseHelper.compareTo(name, typedOther.name);
21228
      lastComparison = TBaseHelper.compareTo(name, typedOther.name);
21167
      if (lastComparison != 0) {
21229
      if (lastComparison != 0) {
21168
        return lastComparison;
21230
        return lastComparison;
21169
      }
21231
      }
-
 
21232
      lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(isSetAddedOn());
-
 
21233
      if (lastComparison != 0) {
-
 
21234
        return lastComparison;
-
 
21235
      }
-
 
21236
      lastComparison = TBaseHelper.compareTo(addedOn, typedOther.addedOn);
-
 
21237
      if (lastComparison != 0) {
-
 
21238
        return lastComparison;
-
 
21239
      }
21170
      return 0;
21240
      return 0;
21171
    }
21241
    }
21172
 
21242
 
21173
    public void read(TProtocol iprot) throws TException {
21243
    public void read(TProtocol iprot) throws TException {
21174
      TField field;
21244
      TField field;
Line 21189... Line 21259...
21189
                this.name = iprot.readString();
21259
                this.name = iprot.readString();
21190
              } else { 
21260
              } else { 
21191
                TProtocolUtil.skip(iprot, field.type);
21261
                TProtocolUtil.skip(iprot, field.type);
21192
              }
21262
              }
21193
              break;
21263
              break;
-
 
21264
            case ADDED_ON:
-
 
21265
              if (field.type == TType.I64) {
-
 
21266
                this.addedOn = iprot.readI64();
-
 
21267
                setAddedOnIsSet(true);
-
 
21268
              } else { 
-
 
21269
                TProtocolUtil.skip(iprot, field.type);
-
 
21270
              }
-
 
21271
              break;
21194
          }
21272
          }
21195
          iprot.readFieldEnd();
21273
          iprot.readFieldEnd();
21196
        }
21274
        }
21197
      }
21275
      }
21198
      iprot.readStructEnd();
21276
      iprot.readStructEnd();
Line 21206... Line 21284...
21206
      if (this.name != null) {
21284
      if (this.name != null) {
21207
        oprot.writeFieldBegin(NAME_FIELD_DESC);
21285
        oprot.writeFieldBegin(NAME_FIELD_DESC);
21208
        oprot.writeString(this.name);
21286
        oprot.writeString(this.name);
21209
        oprot.writeFieldEnd();
21287
        oprot.writeFieldEnd();
21210
      }
21288
      }
-
 
21289
      oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
-
 
21290
      oprot.writeI64(this.addedOn);
-
 
21291
      oprot.writeFieldEnd();
21211
      oprot.writeFieldStop();
21292
      oprot.writeFieldStop();
21212
      oprot.writeStructEnd();
21293
      oprot.writeStructEnd();
21213
    }
21294
    }
21214
 
21295
 
21215
    @Override
21296
    @Override
Line 21222... Line 21303...
21222
        sb.append("null");
21303
        sb.append("null");
21223
      } else {
21304
      } else {
21224
        sb.append(this.name);
21305
        sb.append(this.name);
21225
      }
21306
      }
21226
      first = false;
21307
      first = false;
-
 
21308
      if (!first) sb.append(", ");
-
 
21309
      sb.append("addedOn:");
-
 
21310
      sb.append(this.addedOn);
-
 
21311
      first = false;
21227
      sb.append(")");
21312
      sb.append(")");
21228
      return sb.toString();
21313
      return sb.toString();
21229
    }
21314
    }
21230
 
21315
 
21231
    public void validate() throws TException {
21316
    public void validate() throws TException {
Line 22892... Line 22977...
22892
    private static final TStruct STRUCT_DESC = new TStruct("createAffiliate_args");
22977
    private static final TStruct STRUCT_DESC = new TStruct("createAffiliate_args");
22893
 
22978
 
22894
    private static final TField NAME_FIELD_DESC = new TField("name", TType.STRING, (short)1);
22979
    private static final TField NAME_FIELD_DESC = new TField("name", TType.STRING, (short)1);
22895
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)2);
22980
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)2);
22896
    private static final TField MASTER_AFFILIATE_ID_FIELD_DESC = new TField("masterAffiliateId", TType.I64, (short)3);
22981
    private static final TField MASTER_AFFILIATE_ID_FIELD_DESC = new TField("masterAffiliateId", TType.I64, (short)3);
-
 
22982
    private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)4);
22897
 
22983
 
22898
    private String name;
22984
    private String name;
22899
    private String url;
22985
    private String url;
22900
    private long masterAffiliateId;
22986
    private long masterAffiliateId;
-
 
22987
    private long addedOn;
22901
 
22988
 
22902
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22989
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
22903
    public enum _Fields implements TFieldIdEnum {
22990
    public enum _Fields implements TFieldIdEnum {
22904
      NAME((short)1, "name"),
22991
      NAME((short)1, "name"),
22905
      URL((short)2, "url"),
22992
      URL((short)2, "url"),
22906
      MASTER_AFFILIATE_ID((short)3, "masterAffiliateId");
22993
      MASTER_AFFILIATE_ID((short)3, "masterAffiliateId"),
-
 
22994
      ADDED_ON((short)4, "addedOn");
22907
 
22995
 
22908
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
22996
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
22909
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
22997
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
22910
 
22998
 
22911
      static {
22999
      static {
Line 22956... Line 23044...
22956
      }
23044
      }
22957
    }
23045
    }
22958
 
23046
 
22959
    // isset id assignments
23047
    // isset id assignments
22960
    private static final int __MASTERAFFILIATEID_ISSET_ID = 0;
23048
    private static final int __MASTERAFFILIATEID_ISSET_ID = 0;
-
 
23049
    private static final int __ADDEDON_ISSET_ID = 1;
22961
    private BitSet __isset_bit_vector = new BitSet(1);
23050
    private BitSet __isset_bit_vector = new BitSet(2);
22962
 
23051
 
22963
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
23052
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
22964
      put(_Fields.NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT, 
23053
      put(_Fields.NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT, 
22965
          new FieldValueMetaData(TType.STRING)));
23054
          new FieldValueMetaData(TType.STRING)));
22966
      put(_Fields.URL, new FieldMetaData("url", TFieldRequirementType.DEFAULT, 
23055
      put(_Fields.URL, new FieldMetaData("url", TFieldRequirementType.DEFAULT, 
22967
          new FieldValueMetaData(TType.STRING)));
23056
          new FieldValueMetaData(TType.STRING)));
22968
      put(_Fields.MASTER_AFFILIATE_ID, new FieldMetaData("masterAffiliateId", TFieldRequirementType.DEFAULT, 
23057
      put(_Fields.MASTER_AFFILIATE_ID, new FieldMetaData("masterAffiliateId", TFieldRequirementType.DEFAULT, 
22969
          new FieldValueMetaData(TType.I64)));
23058
          new FieldValueMetaData(TType.I64)));
-
 
23059
      put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
-
 
23060
          new FieldValueMetaData(TType.I64)));
22970
    }});
23061
    }});
22971
 
23062
 
22972
    static {
23063
    static {
22973
      FieldMetaData.addStructMetaDataMap(createAffiliate_args.class, metaDataMap);
23064
      FieldMetaData.addStructMetaDataMap(createAffiliate_args.class, metaDataMap);
22974
    }
23065
    }
Line 22977... Line 23068...
22977
    }
23068
    }
22978
 
23069
 
22979
    public createAffiliate_args(
23070
    public createAffiliate_args(
22980
      String name,
23071
      String name,
22981
      String url,
23072
      String url,
22982
      long masterAffiliateId)
23073
      long masterAffiliateId,
-
 
23074
      long addedOn)
22983
    {
23075
    {
22984
      this();
23076
      this();
22985
      this.name = name;
23077
      this.name = name;
22986
      this.url = url;
23078
      this.url = url;
22987
      this.masterAffiliateId = masterAffiliateId;
23079
      this.masterAffiliateId = masterAffiliateId;
22988
      setMasterAffiliateIdIsSet(true);
23080
      setMasterAffiliateIdIsSet(true);
-
 
23081
      this.addedOn = addedOn;
-
 
23082
      setAddedOnIsSet(true);
22989
    }
23083
    }
22990
 
23084
 
22991
    /**
23085
    /**
22992
     * Performs a deep copy on <i>other</i>.
23086
     * Performs a deep copy on <i>other</i>.
22993
     */
23087
     */
Line 22999... Line 23093...
22999
      }
23093
      }
23000
      if (other.isSetUrl()) {
23094
      if (other.isSetUrl()) {
23001
        this.url = other.url;
23095
        this.url = other.url;
23002
      }
23096
      }
23003
      this.masterAffiliateId = other.masterAffiliateId;
23097
      this.masterAffiliateId = other.masterAffiliateId;
-
 
23098
      this.addedOn = other.addedOn;
23004
    }
23099
    }
23005
 
23100
 
23006
    public createAffiliate_args deepCopy() {
23101
    public createAffiliate_args deepCopy() {
23007
      return new createAffiliate_args(this);
23102
      return new createAffiliate_args(this);
23008
    }
23103
    }
Line 23081... Line 23176...
23081
 
23176
 
23082
    public void setMasterAffiliateIdIsSet(boolean value) {
23177
    public void setMasterAffiliateIdIsSet(boolean value) {
23083
      __isset_bit_vector.set(__MASTERAFFILIATEID_ISSET_ID, value);
23178
      __isset_bit_vector.set(__MASTERAFFILIATEID_ISSET_ID, value);
23084
    }
23179
    }
23085
 
23180
 
-
 
23181
    public long getAddedOn() {
-
 
23182
      return this.addedOn;
-
 
23183
    }
-
 
23184
 
-
 
23185
    public createAffiliate_args setAddedOn(long addedOn) {
-
 
23186
      this.addedOn = addedOn;
-
 
23187
      setAddedOnIsSet(true);
-
 
23188
      return this;
-
 
23189
    }
-
 
23190
 
-
 
23191
    public void unsetAddedOn() {
-
 
23192
      __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
-
 
23193
    }
-
 
23194
 
-
 
23195
    /** Returns true if field addedOn is set (has been asigned a value) and false otherwise */
-
 
23196
    public boolean isSetAddedOn() {
-
 
23197
      return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
-
 
23198
    }
-
 
23199
 
-
 
23200
    public void setAddedOnIsSet(boolean value) {
-
 
23201
      __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
-
 
23202
    }
-
 
23203
 
23086
    public void setFieldValue(_Fields field, Object value) {
23204
    public void setFieldValue(_Fields field, Object value) {
23087
      switch (field) {
23205
      switch (field) {
23088
      case NAME:
23206
      case NAME:
23089
        if (value == null) {
23207
        if (value == null) {
23090
          unsetName();
23208
          unsetName();
Line 23107... Line 23225...
23107
        } else {
23225
        } else {
23108
          setMasterAffiliateId((Long)value);
23226
          setMasterAffiliateId((Long)value);
23109
        }
23227
        }
23110
        break;
23228
        break;
23111
 
23229
 
-
 
23230
      case ADDED_ON:
-
 
23231
        if (value == null) {
-
 
23232
          unsetAddedOn();
-
 
23233
        } else {
-
 
23234
          setAddedOn((Long)value);
-
 
23235
        }
-
 
23236
        break;
-
 
23237
 
23112
      }
23238
      }
23113
    }
23239
    }
23114
 
23240
 
23115
    public void setFieldValue(int fieldID, Object value) {
23241
    public void setFieldValue(int fieldID, Object value) {
23116
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
23242
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
Line 23125... Line 23251...
23125
        return getUrl();
23251
        return getUrl();
23126
 
23252
 
23127
      case MASTER_AFFILIATE_ID:
23253
      case MASTER_AFFILIATE_ID:
23128
        return new Long(getMasterAffiliateId());
23254
        return new Long(getMasterAffiliateId());
23129
 
23255
 
-
 
23256
      case ADDED_ON:
-
 
23257
        return new Long(getAddedOn());
-
 
23258
 
23130
      }
23259
      }
23131
      throw new IllegalStateException();
23260
      throw new IllegalStateException();
23132
    }
23261
    }
23133
 
23262
 
23134
    public Object getFieldValue(int fieldId) {
23263
    public Object getFieldValue(int fieldId) {
Line 23142... Line 23271...
23142
        return isSetName();
23271
        return isSetName();
23143
      case URL:
23272
      case URL:
23144
        return isSetUrl();
23273
        return isSetUrl();
23145
      case MASTER_AFFILIATE_ID:
23274
      case MASTER_AFFILIATE_ID:
23146
        return isSetMasterAffiliateId();
23275
        return isSetMasterAffiliateId();
-
 
23276
      case ADDED_ON:
-
 
23277
        return isSetAddedOn();
23147
      }
23278
      }
23148
      throw new IllegalStateException();
23279
      throw new IllegalStateException();
23149
    }
23280
    }
23150
 
23281
 
23151
    public boolean isSet(int fieldID) {
23282
    public boolean isSet(int fieldID) {
Line 23190... Line 23321...
23190
          return false;
23321
          return false;
23191
        if (this.masterAffiliateId != that.masterAffiliateId)
23322
        if (this.masterAffiliateId != that.masterAffiliateId)
23192
          return false;
23323
          return false;
23193
      }
23324
      }
23194
 
23325
 
-
 
23326
      boolean this_present_addedOn = true;
-
 
23327
      boolean that_present_addedOn = true;
-
 
23328
      if (this_present_addedOn || that_present_addedOn) {
-
 
23329
        if (!(this_present_addedOn && that_present_addedOn))
-
 
23330
          return false;
-
 
23331
        if (this.addedOn != that.addedOn)
-
 
23332
          return false;
-
 
23333
      }
-
 
23334
 
23195
      return true;
23335
      return true;
23196
    }
23336
    }
23197
 
23337
 
23198
    @Override
23338
    @Override
23199
    public int hashCode() {
23339
    public int hashCode() {
Line 23230... Line 23370...
23230
      }
23370
      }
23231
      lastComparison = TBaseHelper.compareTo(masterAffiliateId, typedOther.masterAffiliateId);
23371
      lastComparison = TBaseHelper.compareTo(masterAffiliateId, typedOther.masterAffiliateId);
23232
      if (lastComparison != 0) {
23372
      if (lastComparison != 0) {
23233
        return lastComparison;
23373
        return lastComparison;
23234
      }
23374
      }
-
 
23375
      lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(isSetAddedOn());
-
 
23376
      if (lastComparison != 0) {
-
 
23377
        return lastComparison;
-
 
23378
      }
-
 
23379
      lastComparison = TBaseHelper.compareTo(addedOn, typedOther.addedOn);
-
 
23380
      if (lastComparison != 0) {
-
 
23381
        return lastComparison;
-
 
23382
      }
23235
      return 0;
23383
      return 0;
23236
    }
23384
    }
23237
 
23385
 
23238
    public void read(TProtocol iprot) throws TException {
23386
    public void read(TProtocol iprot) throws TException {
23239
      TField field;
23387
      TField field;
Line 23269... Line 23417...
23269
                setMasterAffiliateIdIsSet(true);
23417
                setMasterAffiliateIdIsSet(true);
23270
              } else { 
23418
              } else { 
23271
                TProtocolUtil.skip(iprot, field.type);
23419
                TProtocolUtil.skip(iprot, field.type);
23272
              }
23420
              }
23273
              break;
23421
              break;
-
 
23422
            case ADDED_ON:
-
 
23423
              if (field.type == TType.I64) {
-
 
23424
                this.addedOn = iprot.readI64();
-
 
23425
                setAddedOnIsSet(true);
-
 
23426
              } else { 
-
 
23427
                TProtocolUtil.skip(iprot, field.type);
-
 
23428
              }
-
 
23429
              break;
23274
          }
23430
          }
23275
          iprot.readFieldEnd();
23431
          iprot.readFieldEnd();
23276
        }
23432
        }
23277
      }
23433
      }
23278
      iprot.readStructEnd();
23434
      iprot.readStructEnd();
Line 23294... Line 23450...
23294
        oprot.writeFieldEnd();
23450
        oprot.writeFieldEnd();
23295
      }
23451
      }
23296
      oprot.writeFieldBegin(MASTER_AFFILIATE_ID_FIELD_DESC);
23452
      oprot.writeFieldBegin(MASTER_AFFILIATE_ID_FIELD_DESC);
23297
      oprot.writeI64(this.masterAffiliateId);
23453
      oprot.writeI64(this.masterAffiliateId);
23298
      oprot.writeFieldEnd();
23454
      oprot.writeFieldEnd();
-
 
23455
      oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
-
 
23456
      oprot.writeI64(this.addedOn);
-
 
23457
      oprot.writeFieldEnd();
23299
      oprot.writeFieldStop();
23458
      oprot.writeFieldStop();
23300
      oprot.writeStructEnd();
23459
      oprot.writeStructEnd();
23301
    }
23460
    }
23302
 
23461
 
23303
    @Override
23462
    @Override
Line 23322... Line 23481...
23322
      first = false;
23481
      first = false;
23323
      if (!first) sb.append(", ");
23482
      if (!first) sb.append(", ");
23324
      sb.append("masterAffiliateId:");
23483
      sb.append("masterAffiliateId:");
23325
      sb.append(this.masterAffiliateId);
23484
      sb.append(this.masterAffiliateId);
23326
      first = false;
23485
      first = false;
-
 
23486
      if (!first) sb.append(", ");
-
 
23487
      sb.append("addedOn:");
-
 
23488
      sb.append(this.addedOn);
-
 
23489
      first = false;
23327
      sb.append(")");
23490
      sb.append(")");
23328
      return sb.toString();
23491
      return sb.toString();
23329
    }
23492
    }
23330
 
23493
 
23331
    public void validate() throws TException {
23494
    public void validate() throws TException {
Line 25670... Line 25833...
25670
 
25833
 
25671
  public static class createTracker_args implements TBase<createTracker_args._Fields>, java.io.Serializable, Cloneable, Comparable<createTracker_args>   {
25834
  public static class createTracker_args implements TBase<createTracker_args._Fields>, java.io.Serializable, Cloneable, Comparable<createTracker_args>   {
25672
    private static final TStruct STRUCT_DESC = new TStruct("createTracker_args");
25835
    private static final TStruct STRUCT_DESC = new TStruct("createTracker_args");
25673
 
25836
 
25674
    private static final TField AFFILIATE_ID_FIELD_DESC = new TField("affiliateId", TType.I64, (short)1);
25837
    private static final TField AFFILIATE_ID_FIELD_DESC = new TField("affiliateId", TType.I64, (short)1);
-
 
25838
    private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)2);
25675
 
25839
 
25676
    private long affiliateId;
25840
    private long affiliateId;
-
 
25841
    private long addedOn;
25677
 
25842
 
25678
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
25843
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
25679
    public enum _Fields implements TFieldIdEnum {
25844
    public enum _Fields implements TFieldIdEnum {
25680
      AFFILIATE_ID((short)1, "affiliateId");
25845
      AFFILIATE_ID((short)1, "affiliateId"),
-
 
25846
      ADDED_ON((short)2, "addedOn");
25681
 
25847
 
25682
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
25848
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
25683
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
25849
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
25684
 
25850
 
25685
      static {
25851
      static {
Line 25730... Line 25896...
25730
      }
25896
      }
25731
    }
25897
    }
25732
 
25898
 
25733
    // isset id assignments
25899
    // isset id assignments
25734
    private static final int __AFFILIATEID_ISSET_ID = 0;
25900
    private static final int __AFFILIATEID_ISSET_ID = 0;
-
 
25901
    private static final int __ADDEDON_ISSET_ID = 1;
25735
    private BitSet __isset_bit_vector = new BitSet(1);
25902
    private BitSet __isset_bit_vector = new BitSet(2);
25736
 
25903
 
25737
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
25904
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
25738
      put(_Fields.AFFILIATE_ID, new FieldMetaData("affiliateId", TFieldRequirementType.DEFAULT, 
25905
      put(_Fields.AFFILIATE_ID, new FieldMetaData("affiliateId", TFieldRequirementType.DEFAULT, 
25739
          new FieldValueMetaData(TType.I64)));
25906
          new FieldValueMetaData(TType.I64)));
-
 
25907
      put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
-
 
25908
          new FieldValueMetaData(TType.I64)));
25740
    }});
25909
    }});
25741
 
25910
 
25742
    static {
25911
    static {
25743
      FieldMetaData.addStructMetaDataMap(createTracker_args.class, metaDataMap);
25912
      FieldMetaData.addStructMetaDataMap(createTracker_args.class, metaDataMap);
25744
    }
25913
    }
25745
 
25914
 
25746
    public createTracker_args() {
25915
    public createTracker_args() {
25747
    }
25916
    }
25748
 
25917
 
25749
    public createTracker_args(
25918
    public createTracker_args(
25750
      long affiliateId)
25919
      long affiliateId,
-
 
25920
      long addedOn)
25751
    {
25921
    {
25752
      this();
25922
      this();
25753
      this.affiliateId = affiliateId;
25923
      this.affiliateId = affiliateId;
25754
      setAffiliateIdIsSet(true);
25924
      setAffiliateIdIsSet(true);
-
 
25925
      this.addedOn = addedOn;
-
 
25926
      setAddedOnIsSet(true);
25755
    }
25927
    }
25756
 
25928
 
25757
    /**
25929
    /**
25758
     * Performs a deep copy on <i>other</i>.
25930
     * Performs a deep copy on <i>other</i>.
25759
     */
25931
     */
25760
    public createTracker_args(createTracker_args other) {
25932
    public createTracker_args(createTracker_args other) {
25761
      __isset_bit_vector.clear();
25933
      __isset_bit_vector.clear();
25762
      __isset_bit_vector.or(other.__isset_bit_vector);
25934
      __isset_bit_vector.or(other.__isset_bit_vector);
25763
      this.affiliateId = other.affiliateId;
25935
      this.affiliateId = other.affiliateId;
-
 
25936
      this.addedOn = other.addedOn;
25764
    }
25937
    }
25765
 
25938
 
25766
    public createTracker_args deepCopy() {
25939
    public createTracker_args deepCopy() {
25767
      return new createTracker_args(this);
25940
      return new createTracker_args(this);
25768
    }
25941
    }
Line 25793... Line 25966...
25793
 
25966
 
25794
    public void setAffiliateIdIsSet(boolean value) {
25967
    public void setAffiliateIdIsSet(boolean value) {
25795
      __isset_bit_vector.set(__AFFILIATEID_ISSET_ID, value);
25968
      __isset_bit_vector.set(__AFFILIATEID_ISSET_ID, value);
25796
    }
25969
    }
25797
 
25970
 
-
 
25971
    public long getAddedOn() {
-
 
25972
      return this.addedOn;
-
 
25973
    }
-
 
25974
 
-
 
25975
    public createTracker_args setAddedOn(long addedOn) {
-
 
25976
      this.addedOn = addedOn;
-
 
25977
      setAddedOnIsSet(true);
-
 
25978
      return this;
-
 
25979
    }
-
 
25980
 
-
 
25981
    public void unsetAddedOn() {
-
 
25982
      __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
-
 
25983
    }
-
 
25984
 
-
 
25985
    /** Returns true if field addedOn is set (has been asigned a value) and false otherwise */
-
 
25986
    public boolean isSetAddedOn() {
-
 
25987
      return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
-
 
25988
    }
-
 
25989
 
-
 
25990
    public void setAddedOnIsSet(boolean value) {
-
 
25991
      __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
-
 
25992
    }
-
 
25993
 
25798
    public void setFieldValue(_Fields field, Object value) {
25994
    public void setFieldValue(_Fields field, Object value) {
25799
      switch (field) {
25995
      switch (field) {
25800
      case AFFILIATE_ID:
25996
      case AFFILIATE_ID:
25801
        if (value == null) {
25997
        if (value == null) {
25802
          unsetAffiliateId();
25998
          unsetAffiliateId();
25803
        } else {
25999
        } else {
25804
          setAffiliateId((Long)value);
26000
          setAffiliateId((Long)value);
25805
        }
26001
        }
25806
        break;
26002
        break;
25807
 
26003
 
-
 
26004
      case ADDED_ON:
-
 
26005
        if (value == null) {
-
 
26006
          unsetAddedOn();
-
 
26007
        } else {
-
 
26008
          setAddedOn((Long)value);
-
 
26009
        }
-
 
26010
        break;
-
 
26011
 
25808
      }
26012
      }
25809
    }
26013
    }
25810
 
26014
 
25811
    public void setFieldValue(int fieldID, Object value) {
26015
    public void setFieldValue(int fieldID, Object value) {
25812
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
26016
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
Line 25815... Line 26019...
25815
    public Object getFieldValue(_Fields field) {
26019
    public Object getFieldValue(_Fields field) {
25816
      switch (field) {
26020
      switch (field) {
25817
      case AFFILIATE_ID:
26021
      case AFFILIATE_ID:
25818
        return new Long(getAffiliateId());
26022
        return new Long(getAffiliateId());
25819
 
26023
 
-
 
26024
      case ADDED_ON:
-
 
26025
        return new Long(getAddedOn());
-
 
26026
 
25820
      }
26027
      }
25821
      throw new IllegalStateException();
26028
      throw new IllegalStateException();
25822
    }
26029
    }
25823
 
26030
 
25824
    public Object getFieldValue(int fieldId) {
26031
    public Object getFieldValue(int fieldId) {
Line 25828... Line 26035...
25828
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
26035
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
25829
    public boolean isSet(_Fields field) {
26036
    public boolean isSet(_Fields field) {
25830
      switch (field) {
26037
      switch (field) {
25831
      case AFFILIATE_ID:
26038
      case AFFILIATE_ID:
25832
        return isSetAffiliateId();
26039
        return isSetAffiliateId();
-
 
26040
      case ADDED_ON:
-
 
26041
        return isSetAddedOn();
25833
      }
26042
      }
25834
      throw new IllegalStateException();
26043
      throw new IllegalStateException();
25835
    }
26044
    }
25836
 
26045
 
25837
    public boolean isSet(int fieldID) {
26046
    public boolean isSet(int fieldID) {
Line 25858... Line 26067...
25858
          return false;
26067
          return false;
25859
        if (this.affiliateId != that.affiliateId)
26068
        if (this.affiliateId != that.affiliateId)
25860
          return false;
26069
          return false;
25861
      }
26070
      }
25862
 
26071
 
-
 
26072
      boolean this_present_addedOn = true;
-
 
26073
      boolean that_present_addedOn = true;
-
 
26074
      if (this_present_addedOn || that_present_addedOn) {
-
 
26075
        if (!(this_present_addedOn && that_present_addedOn))
-
 
26076
          return false;
-
 
26077
        if (this.addedOn != that.addedOn)
-
 
26078
          return false;
-
 
26079
      }
-
 
26080
 
25863
      return true;
26081
      return true;
25864
    }
26082
    }
25865
 
26083
 
25866
    @Override
26084
    @Override
25867
    public int hashCode() {
26085
    public int hashCode() {
Line 25882... Line 26100...
25882
      }
26100
      }
25883
      lastComparison = TBaseHelper.compareTo(affiliateId, typedOther.affiliateId);
26101
      lastComparison = TBaseHelper.compareTo(affiliateId, typedOther.affiliateId);
25884
      if (lastComparison != 0) {
26102
      if (lastComparison != 0) {
25885
        return lastComparison;
26103
        return lastComparison;
25886
      }
26104
      }
-
 
26105
      lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(isSetAddedOn());
-
 
26106
      if (lastComparison != 0) {
-
 
26107
        return lastComparison;
-
 
26108
      }
-
 
26109
      lastComparison = TBaseHelper.compareTo(addedOn, typedOther.addedOn);
-
 
26110
      if (lastComparison != 0) {
-
 
26111
        return lastComparison;
-
 
26112
      }
25887
      return 0;
26113
      return 0;
25888
    }
26114
    }
25889
 
26115
 
25890
    public void read(TProtocol iprot) throws TException {
26116
    public void read(TProtocol iprot) throws TException {
25891
      TField field;
26117
      TField field;
Line 25907... Line 26133...
25907
                setAffiliateIdIsSet(true);
26133
                setAffiliateIdIsSet(true);
25908
              } else { 
26134
              } else { 
25909
                TProtocolUtil.skip(iprot, field.type);
26135
                TProtocolUtil.skip(iprot, field.type);
25910
              }
26136
              }
25911
              break;
26137
              break;
-
 
26138
            case ADDED_ON:
-
 
26139
              if (field.type == TType.I64) {
-
 
26140
                this.addedOn = iprot.readI64();
-
 
26141
                setAddedOnIsSet(true);
-
 
26142
              } else { 
-
 
26143
                TProtocolUtil.skip(iprot, field.type);
-
 
26144
              }
-
 
26145
              break;
25912
          }
26146
          }
25913
          iprot.readFieldEnd();
26147
          iprot.readFieldEnd();
25914
        }
26148
        }
25915
      }
26149
      }
25916
      iprot.readStructEnd();
26150
      iprot.readStructEnd();
Line 25922... Line 26156...
25922
 
26156
 
25923
      oprot.writeStructBegin(STRUCT_DESC);
26157
      oprot.writeStructBegin(STRUCT_DESC);
25924
      oprot.writeFieldBegin(AFFILIATE_ID_FIELD_DESC);
26158
      oprot.writeFieldBegin(AFFILIATE_ID_FIELD_DESC);
25925
      oprot.writeI64(this.affiliateId);
26159
      oprot.writeI64(this.affiliateId);
25926
      oprot.writeFieldEnd();
26160
      oprot.writeFieldEnd();
-
 
26161
      oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
-
 
26162
      oprot.writeI64(this.addedOn);
-
 
26163
      oprot.writeFieldEnd();
25927
      oprot.writeFieldStop();
26164
      oprot.writeFieldStop();
25928
      oprot.writeStructEnd();
26165
      oprot.writeStructEnd();
25929
    }
26166
    }
25930
 
26167
 
25931
    @Override
26168
    @Override
Line 25934... Line 26171...
25934
      boolean first = true;
26171
      boolean first = true;
25935
 
26172
 
25936
      sb.append("affiliateId:");
26173
      sb.append("affiliateId:");
25937
      sb.append(this.affiliateId);
26174
      sb.append(this.affiliateId);
25938
      first = false;
26175
      first = false;
-
 
26176
      if (!first) sb.append(", ");
-
 
26177
      sb.append("addedOn:");
-
 
26178
      sb.append(this.addedOn);
-
 
26179
      first = false;
25939
      sb.append(")");
26180
      sb.append(")");
25940
      return sb.toString();
26181
      return sb.toString();
25941
    }
26182
    }
25942
 
26183
 
25943
    public void validate() throws TException {
26184
    public void validate() throws TException {
Line 27640... Line 27881...
27640
    private static final TField TRACKER_ID_FIELD_DESC = new TField("trackerId", TType.I64, (short)1);
27881
    private static final TField TRACKER_ID_FIELD_DESC = new TField("trackerId", TType.I64, (short)1);
27641
    private static final TField USER_ID_FIELD_DESC = new TField("userId", TType.I64, (short)2);
27882
    private static final TField USER_ID_FIELD_DESC = new TField("userId", TType.I64, (short)2);
27642
    private static final TField EVENT_FIELD_DESC = new TField("event", TType.STRING, (short)3);
27883
    private static final TField EVENT_FIELD_DESC = new TField("event", TType.STRING, (short)3);
27643
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)4);
27884
    private static final TField URL_FIELD_DESC = new TField("url", TType.STRING, (short)4);
27644
    private static final TField DATA_FIELD_DESC = new TField("data", TType.STRING, (short)5);
27885
    private static final TField DATA_FIELD_DESC = new TField("data", TType.STRING, (short)5);
-
 
27886
    private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)6);
27645
 
27887
 
27646
    private long trackerId;
27888
    private long trackerId;
27647
    private long userId;
27889
    private long userId;
27648
    private String event;
27890
    private String event;
27649
    private String url;
27891
    private String url;
27650
    private String data;
27892
    private String data;
-
 
27893
    private long addedOn;
27651
 
27894
 
27652
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
27895
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
27653
    public enum _Fields implements TFieldIdEnum {
27896
    public enum _Fields implements TFieldIdEnum {
27654
      TRACKER_ID((short)1, "trackerId"),
27897
      TRACKER_ID((short)1, "trackerId"),
27655
      USER_ID((short)2, "userId"),
27898
      USER_ID((short)2, "userId"),
27656
      EVENT((short)3, "event"),
27899
      EVENT((short)3, "event"),
27657
      URL((short)4, "url"),
27900
      URL((short)4, "url"),
27658
      DATA((short)5, "data");
27901
      DATA((short)5, "data"),
-
 
27902
      ADDED_ON((short)6, "addedOn");
27659
 
27903
 
27660
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
27904
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
27661
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
27905
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
27662
 
27906
 
27663
      static {
27907
      static {
Line 27709... Line 27953...
27709
    }
27953
    }
27710
 
27954
 
27711
    // isset id assignments
27955
    // isset id assignments
27712
    private static final int __TRACKERID_ISSET_ID = 0;
27956
    private static final int __TRACKERID_ISSET_ID = 0;
27713
    private static final int __USERID_ISSET_ID = 1;
27957
    private static final int __USERID_ISSET_ID = 1;
-
 
27958
    private static final int __ADDEDON_ISSET_ID = 2;
27714
    private BitSet __isset_bit_vector = new BitSet(2);
27959
    private BitSet __isset_bit_vector = new BitSet(3);
27715
 
27960
 
27716
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
27961
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
27717
      put(_Fields.TRACKER_ID, new FieldMetaData("trackerId", TFieldRequirementType.DEFAULT, 
27962
      put(_Fields.TRACKER_ID, new FieldMetaData("trackerId", TFieldRequirementType.DEFAULT, 
27718
          new FieldValueMetaData(TType.I64)));
27963
          new FieldValueMetaData(TType.I64)));
27719
      put(_Fields.USER_ID, new FieldMetaData("userId", TFieldRequirementType.DEFAULT, 
27964
      put(_Fields.USER_ID, new FieldMetaData("userId", TFieldRequirementType.DEFAULT, 
Line 27722... Line 27967...
27722
          new FieldValueMetaData(TType.STRING)));
27967
          new FieldValueMetaData(TType.STRING)));
27723
      put(_Fields.URL, new FieldMetaData("url", TFieldRequirementType.DEFAULT, 
27968
      put(_Fields.URL, new FieldMetaData("url", TFieldRequirementType.DEFAULT, 
27724
          new FieldValueMetaData(TType.STRING)));
27969
          new FieldValueMetaData(TType.STRING)));
27725
      put(_Fields.DATA, new FieldMetaData("data", TFieldRequirementType.DEFAULT, 
27970
      put(_Fields.DATA, new FieldMetaData("data", TFieldRequirementType.DEFAULT, 
27726
          new FieldValueMetaData(TType.STRING)));
27971
          new FieldValueMetaData(TType.STRING)));
-
 
27972
      put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
-
 
27973
          new FieldValueMetaData(TType.I64)));
27727
    }});
27974
    }});
27728
 
27975
 
27729
    static {
27976
    static {
27730
      FieldMetaData.addStructMetaDataMap(addTrackLog_args.class, metaDataMap);
27977
      FieldMetaData.addStructMetaDataMap(addTrackLog_args.class, metaDataMap);
27731
    }
27978
    }
Line 27736... Line 27983...
27736
    public addTrackLog_args(
27983
    public addTrackLog_args(
27737
      long trackerId,
27984
      long trackerId,
27738
      long userId,
27985
      long userId,
27739
      String event,
27986
      String event,
27740
      String url,
27987
      String url,
27741
      String data)
27988
      String data,
-
 
27989
      long addedOn)
27742
    {
27990
    {
27743
      this();
27991
      this();
27744
      this.trackerId = trackerId;
27992
      this.trackerId = trackerId;
27745
      setTrackerIdIsSet(true);
27993
      setTrackerIdIsSet(true);
27746
      this.userId = userId;
27994
      this.userId = userId;
27747
      setUserIdIsSet(true);
27995
      setUserIdIsSet(true);
27748
      this.event = event;
27996
      this.event = event;
27749
      this.url = url;
27997
      this.url = url;
27750
      this.data = data;
27998
      this.data = data;
-
 
27999
      this.addedOn = addedOn;
-
 
28000
      setAddedOnIsSet(true);
27751
    }
28001
    }
27752
 
28002
 
27753
    /**
28003
    /**
27754
     * Performs a deep copy on <i>other</i>.
28004
     * Performs a deep copy on <i>other</i>.
27755
     */
28005
     */
Line 27765... Line 28015...
27765
        this.url = other.url;
28015
        this.url = other.url;
27766
      }
28016
      }
27767
      if (other.isSetData()) {
28017
      if (other.isSetData()) {
27768
        this.data = other.data;
28018
        this.data = other.data;
27769
      }
28019
      }
-
 
28020
      this.addedOn = other.addedOn;
27770
    }
28021
    }
27771
 
28022
 
27772
    public addTrackLog_args deepCopy() {
28023
    public addTrackLog_args deepCopy() {
27773
      return new addTrackLog_args(this);
28024
      return new addTrackLog_args(this);
27774
    }
28025
    }
Line 27894... Line 28145...
27894
      if (!value) {
28145
      if (!value) {
27895
        this.data = null;
28146
        this.data = null;
27896
      }
28147
      }
27897
    }
28148
    }
27898
 
28149
 
-
 
28150
    public long getAddedOn() {
-
 
28151
      return this.addedOn;
-
 
28152
    }
-
 
28153
 
-
 
28154
    public addTrackLog_args setAddedOn(long addedOn) {
-
 
28155
      this.addedOn = addedOn;
-
 
28156
      setAddedOnIsSet(true);
-
 
28157
      return this;
-
 
28158
    }
-
 
28159
 
-
 
28160
    public void unsetAddedOn() {
-
 
28161
      __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
-
 
28162
    }
-
 
28163
 
-
 
28164
    /** Returns true if field addedOn is set (has been asigned a value) and false otherwise */
-
 
28165
    public boolean isSetAddedOn() {
-
 
28166
      return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
-
 
28167
    }
-
 
28168
 
-
 
28169
    public void setAddedOnIsSet(boolean value) {
-
 
28170
      __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
-
 
28171
    }
-
 
28172
 
27899
    public void setFieldValue(_Fields field, Object value) {
28173
    public void setFieldValue(_Fields field, Object value) {
27900
      switch (field) {
28174
      switch (field) {
27901
      case TRACKER_ID:
28175
      case TRACKER_ID:
27902
        if (value == null) {
28176
        if (value == null) {
27903
          unsetTrackerId();
28177
          unsetTrackerId();
Line 27936... Line 28210...
27936
        } else {
28210
        } else {
27937
          setData((String)value);
28211
          setData((String)value);
27938
        }
28212
        }
27939
        break;
28213
        break;
27940
 
28214
 
-
 
28215
      case ADDED_ON:
-
 
28216
        if (value == null) {
-
 
28217
          unsetAddedOn();
-
 
28218
        } else {
-
 
28219
          setAddedOn((Long)value);
-
 
28220
        }
-
 
28221
        break;
-
 
28222
 
27941
      }
28223
      }
27942
    }
28224
    }
27943
 
28225
 
27944
    public void setFieldValue(int fieldID, Object value) {
28226
    public void setFieldValue(int fieldID, Object value) {
27945
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
28227
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
Line 27960... Line 28242...
27960
        return getUrl();
28242
        return getUrl();
27961
 
28243
 
27962
      case DATA:
28244
      case DATA:
27963
        return getData();
28245
        return getData();
27964
 
28246
 
-
 
28247
      case ADDED_ON:
-
 
28248
        return new Long(getAddedOn());
-
 
28249
 
27965
      }
28250
      }
27966
      throw new IllegalStateException();
28251
      throw new IllegalStateException();
27967
    }
28252
    }
27968
 
28253
 
27969
    public Object getFieldValue(int fieldId) {
28254
    public Object getFieldValue(int fieldId) {
Line 27981... Line 28266...
27981
        return isSetEvent();
28266
        return isSetEvent();
27982
      case URL:
28267
      case URL:
27983
        return isSetUrl();
28268
        return isSetUrl();
27984
      case DATA:
28269
      case DATA:
27985
        return isSetData();
28270
        return isSetData();
-
 
28271
      case ADDED_ON:
-
 
28272
        return isSetAddedOn();
27986
      }
28273
      }
27987
      throw new IllegalStateException();
28274
      throw new IllegalStateException();
27988
    }
28275
    }
27989
 
28276
 
27990
    public boolean isSet(int fieldID) {
28277
    public boolean isSet(int fieldID) {
Line 28047... Line 28334...
28047
          return false;
28334
          return false;
28048
        if (!this.data.equals(that.data))
28335
        if (!this.data.equals(that.data))
28049
          return false;
28336
          return false;
28050
      }
28337
      }
28051
 
28338
 
-
 
28339
      boolean this_present_addedOn = true;
-
 
28340
      boolean that_present_addedOn = true;
-
 
28341
      if (this_present_addedOn || that_present_addedOn) {
-
 
28342
        if (!(this_present_addedOn && that_present_addedOn))
-
 
28343
          return false;
-
 
28344
        if (this.addedOn != that.addedOn)
-
 
28345
          return false;
-
 
28346
      }
-
 
28347
 
28052
      return true;
28348
      return true;
28053
    }
28349
    }
28054
 
28350
 
28055
    @Override
28351
    @Override
28056
    public int hashCode() {
28352
    public int hashCode() {
Line 28103... Line 28399...
28103
      }
28399
      }
28104
      lastComparison = TBaseHelper.compareTo(data, typedOther.data);
28400
      lastComparison = TBaseHelper.compareTo(data, typedOther.data);
28105
      if (lastComparison != 0) {
28401
      if (lastComparison != 0) {
28106
        return lastComparison;
28402
        return lastComparison;
28107
      }
28403
      }
-
 
28404
      lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(isSetAddedOn());
-
 
28405
      if (lastComparison != 0) {
-
 
28406
        return lastComparison;
-
 
28407
      }
-
 
28408
      lastComparison = TBaseHelper.compareTo(addedOn, typedOther.addedOn);
-
 
28409
      if (lastComparison != 0) {
-
 
28410
        return lastComparison;
-
 
28411
      }
28108
      return 0;
28412
      return 0;
28109
    }
28413
    }
28110
 
28414
 
28111
    public void read(TProtocol iprot) throws TException {
28415
    public void read(TProtocol iprot) throws TException {
28112
      TField field;
28416
      TField field;
Line 28157... Line 28461...
28157
                this.data = iprot.readString();
28461
                this.data = iprot.readString();
28158
              } else { 
28462
              } else { 
28159
                TProtocolUtil.skip(iprot, field.type);
28463
                TProtocolUtil.skip(iprot, field.type);
28160
              }
28464
              }
28161
              break;
28465
              break;
-
 
28466
            case ADDED_ON:
-
 
28467
              if (field.type == TType.I64) {
-
 
28468
                this.addedOn = iprot.readI64();
-
 
28469
                setAddedOnIsSet(true);
-
 
28470
              } else { 
-
 
28471
                TProtocolUtil.skip(iprot, field.type);
-
 
28472
              }
-
 
28473
              break;
28162
          }
28474
          }
28163
          iprot.readFieldEnd();
28475
          iprot.readFieldEnd();
28164
        }
28476
        }
28165
      }
28477
      }
28166
      iprot.readStructEnd();
28478
      iprot.readStructEnd();
Line 28190... Line 28502...
28190
      if (this.data != null) {
28502
      if (this.data != null) {
28191
        oprot.writeFieldBegin(DATA_FIELD_DESC);
28503
        oprot.writeFieldBegin(DATA_FIELD_DESC);
28192
        oprot.writeString(this.data);
28504
        oprot.writeString(this.data);
28193
        oprot.writeFieldEnd();
28505
        oprot.writeFieldEnd();
28194
      }
28506
      }
-
 
28507
      oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
-
 
28508
      oprot.writeI64(this.addedOn);
-
 
28509
      oprot.writeFieldEnd();
28195
      oprot.writeFieldStop();
28510
      oprot.writeFieldStop();
28196
      oprot.writeStructEnd();
28511
      oprot.writeStructEnd();
28197
    }
28512
    }
28198
 
28513
 
28199
    @Override
28514
    @Override
Line 28230... Line 28545...
28230
        sb.append("null");
28545
        sb.append("null");
28231
      } else {
28546
      } else {
28232
        sb.append(this.data);
28547
        sb.append(this.data);
28233
      }
28548
      }
28234
      first = false;
28549
      first = false;
-
 
28550
      if (!first) sb.append(", ");
-
 
28551
      sb.append("addedOn:");
-
 
28552
      sb.append(this.addedOn);
-
 
28553
      first = false;
28235
      sb.append(")");
28554
      sb.append(")");
28236
      return sb.toString();
28555
      return sb.toString();
28237
    }
28556
    }
28238
 
28557
 
28239
    public void validate() throws TException {
28558
    public void validate() throws TException {