Class UserData

    • Constructor Detail

      • UserData

        public UserData​(Long id,
                        String userName,
                        String primaryEmail,
                        boolean primaryEmailVerified,
                        String firstName,
                        String familyName)
        Creates a new UserData instance.
        Parameters:
        id - The unique ID of the user.
        userName - The username of the user.
        primaryEmail - The primary email of the user.
        primaryEmailVerified - Whether the primary email is verified.
        firstName - The first name of the user.
        familyName - The family name of the user.
    • Method Detail

      • getId

        public Long getId()
        The unique ID of the user.
      • getUserName

        public String getUserName()
        The username of the user.
      • getPrimaryEmail

        public String getPrimaryEmail()
        The primary email of the user.
      • isPrimaryEmailVerified

        public boolean isPrimaryEmailVerified()
        Whether the primary email is verified.
      • getFirstName

        public String getFirstName()
        The first name of the user.
      • getFamilyName

        public String getFamilyName()
        The family name of the user.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object