@@ -99,6 +99,7 @@ static UserUpdate buildFrom(User user) {
9999 userUpdate .lastSeenUserAgent = user .getUserAgentData ();
100100 userUpdate .companyCollection = buildUserUpdateCompanies (user );
101101 userUpdate .lastRequestAt = user .getLastRequestAt ();
102+ userUpdate .signedUpAt = user .getSignedUpAt ();
102103 userUpdate .unsubscribedFromEmails = user .getUnsubscribedFromEmails ();
103104 userUpdate .updateLastRequestAt = user .isUpdateLastRequestAt ();
104105 userUpdate .newSession = user .isNewSession ();
@@ -139,6 +140,9 @@ static UserUpdate buildFrom(User user) {
139140 @ JsonProperty ("last_request_at" )
140141 private long lastRequestAt ;
141142
143+ @ JsonProperty ("signed_up_at" )
144+ private long signedUpAt ;
145+
142146 /**
143147 * Making this a Boolean allows us to send true or false as set
144148 * values leaving null the ignored field for NON_DEFAULT. A
@@ -210,6 +214,10 @@ public long getLastRequestAt() {
210214 return lastRequestAt ;
211215 }
212216
217+ public long getSignedUpAt () {
218+ return signedUpAt ;
219+ }
220+
213221 public Boolean getUnsubscribedFromEmails () {
214222 return unsubscribedFromEmails ;
215223 }
@@ -259,6 +267,9 @@ public Boolean isNewSession() {
259267 @ JsonProperty ("last_request_at" )
260268 private long lastRequestAt ;
261269
270+ @ JsonProperty ("signed_up_at" )
271+ private long signedUpAt ;
272+
262273 @ JsonProperty ("last_seen_ip" )
263274 private String lastSeenIp ;
264275
@@ -392,6 +403,15 @@ public User setLastRequestAt(long lastRequestAt) {
392403 return this ;
393404 }
394405
406+ public long getSignedUpAt () {
407+ return signedUpAt ;
408+ }
409+
410+ public User setSignedUpAt (long signedUpAt ) {
411+ this .signedUpAt = signedUpAt ;
412+ return this ;
413+ }
414+
395415 public String getLastSeenIp () {
396416 return lastSeenIp ;
397417 }
@@ -483,6 +503,7 @@ public boolean equals(Object o) {
483503
484504 if (createdAt != user .createdAt ) return false ;
485505 if (lastRequestAt != user .lastRequestAt ) return false ;
506+ if (signedUpAt != user .signedUpAt ) return false ;
486507 if (newSession != user .newSession ) return false ;
487508 if (remoteCreatedAt != user .remoteCreatedAt ) return false ;
488509 if (sessionCount != user .sessionCount ) return false ;
@@ -529,6 +550,7 @@ public int hashCode() {
529550 result = 31 * result + (unsubscribedFromEmails ? 1 : 0 );
530551 result = 31 * result + sessionCount ;
531552 result = 31 * result + (int ) (lastRequestAt ^ (lastRequestAt >>> 32 ));
553+ result = 31 * result + (int ) (signedUpAt ^ (signedUpAt >>> 32 ));
532554 result = 31 * result + (lastSeenIp != null ? lastSeenIp .hashCode () : 0 );
533555 result = 31 * result + (customAttributes != null ? customAttributes .hashCode () : 0 );
534556 result = 31 * result + (userAgentData != null ? userAgentData .hashCode () : 0 );
@@ -557,6 +579,7 @@ public String toString() {
557579 ", unsubscribedFromEmails=" + unsubscribedFromEmails +
558580 ", sessionCount=" + sessionCount +
559581 ", lastRequestAt=" + lastRequestAt +
582+ ", signedUpAt=" + signedUpAt +
560583 ", lastSeenIp='" + lastSeenIp + '\'' +
561584 ", customAttributes=" + customAttributes +
562585 ", userAgentData='" + userAgentData + '\'' +
0 commit comments