Class UserProfile

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String userId
      private final String name
      private final String portraitUri
      private final String uniqueId
      private final String email
      private final String birthday
      private final Integer gender
      private final String location
      private final Integer role
      private final Integer level
      private final Map<String, String> extProfile
    • Constructor Summary

      Constructors 
      Constructor Description
      UserProfile(String userId, String name, String portraitUri, String uniqueId, String email, String birthday, Integer gender, String location, Integer role, Integer level, Map<String, String> extProfile)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • UserProfile

        UserProfile(String userId, String name, String portraitUri, String uniqueId, String email, String birthday, Integer gender, String location, Integer role, Integer level, Map<String, String> extProfile)
        Parameters:
        userId - user ID
        name - Nickname, Max length 32 characters
        portraitUri - Avatar URL, Max length 128 characters
        uniqueId - User app ID, Supports Size letters, digit, Max length 32 characters
        email - Email, Max length 128 characters
        birthday - Birthday, Max length 32 characters
        gender - Gender (0: unknown, 1: male, 2: female)
        location - Location, Max length 32 characters
        role - Role, Supports 0~100 Within range
        level - Level, Supports 0~100 Within range
        extProfile - User extended info