Package app.ductape.sdk.sessions
Record Class SessionsTypes.SessionUser
java.lang.Object
java.lang.Record
app.ductape.sdk.sessions.SessionsTypes.SessionUser
- Enclosing class:
- SessionsTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_id()Returns the value of the_idrecord component.Returns the value of thecreatedAtrecord component.Returns the value of theductape_user_idrecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirst_seenrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.Returns the value of thelast_seenrecord component.Returns the value of theproduct_tagrecord component.Returns the value of thesession_tagrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
SessionUser
public SessionUser(String _id, String ductape_user_id, String product_tag, String session_tag, String identifier, String last_seen, String env, String first_seen, String createdAt, String updatedAt) Creates an instance of aSessionUserrecord class.- Parameters:
_id- the value for the_idrecord componentductape_user_id- the value for theductape_user_idrecord componentproduct_tag- the value for theproduct_tagrecord componentsession_tag- the value for thesession_tagrecord componentidentifier- the value for theidentifierrecord componentlast_seen- the value for thelast_seenrecord componentenv- the value for theenvrecord componentfirst_seen- the value for thefirst_seenrecord componentcreatedAt- the value for thecreatedAtrecord componentupdatedAt- the value for theupdatedAtrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
_id
Returns the value of the_idrecord component.- Returns:
- the value of the
_idrecord component
-
ductape_user_id
Returns the value of theductape_user_idrecord component.- Returns:
- the value of the
ductape_user_idrecord component
-
product_tag
Returns the value of theproduct_tagrecord component.- Returns:
- the value of the
product_tagrecord component
-
session_tag
Returns the value of thesession_tagrecord component.- Returns:
- the value of the
session_tagrecord component
-
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
last_seen
Returns the value of thelast_seenrecord component.- Returns:
- the value of the
last_seenrecord component
-
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
first_seen
Returns the value of thefirst_seenrecord component.- Returns:
- the value of the
first_seenrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
updatedAt
Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-