Class User


  • public class User
    extends Object
    JSON body response for user directory api (User).
    • Field Detail

      • userId

        private String userId
        Required. The user's matrix user ID.
      • displayName

        private String displayName
        The display name of the user, if one exists.
      • avatarUrl

        private String avatarUrl
        The avatar url, as an MXC, if one exists.
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getUserId

        public String getUserId()
      • setUserId

        public void setUserId​(String userId)
      • getDisplayName

        public String getDisplayName()
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getAvatarUrl

        public String getAvatarUrl()
      • setAvatarUrl

        public void setAvatarUrl​(String avatarUrl)