Record Class SessionsTypes.SessionUser

java.lang.Object
java.lang.Record
app.ductape.sdk.sessions.SessionsTypes.SessionUser
Enclosing class:
SessionsTypes

public static record SessionsTypes.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) extends Record
  • 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 a SessionUser record class.
      Parameters:
      _id - the value for the _id record component
      ductape_user_id - the value for the ductape_user_id record component
      product_tag - the value for the product_tag record component
      session_tag - the value for the session_tag record component
      identifier - the value for the identifier record component
      last_seen - the value for the last_seen record component
      env - the value for the env record component
      first_seen - the value for the first_seen record component
      createdAt - the value for the createdAt record component
      updatedAt - the value for the updatedAt record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • _id

      public String _id()
      Returns the value of the _id record component.
      Returns:
      the value of the _id record component
    • ductape_user_id

      public String ductape_user_id()
      Returns the value of the ductape_user_id record component.
      Returns:
      the value of the ductape_user_id record component
    • product_tag

      public String product_tag()
      Returns the value of the product_tag record component.
      Returns:
      the value of the product_tag record component
    • session_tag

      public String session_tag()
      Returns the value of the session_tag record component.
      Returns:
      the value of the session_tag record component
    • identifier

      public String identifier()
      Returns the value of the identifier record component.
      Returns:
      the value of the identifier record component
    • last_seen

      public String last_seen()
      Returns the value of the last_seen record component.
      Returns:
      the value of the last_seen record component
    • env

      public String env()
      Returns the value of the env record component.
      Returns:
      the value of the env record component
    • first_seen

      public String first_seen()
      Returns the value of the first_seen record component.
      Returns:
      the value of the first_seen record component
    • createdAt

      public String createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component
    • updatedAt

      public String updatedAt()
      Returns the value of the updatedAt record component.
      Returns:
      the value of the updatedAt record component