Class User


  • public class User
    extends Object
    - https://api.slack.com/types/user - https://api.slack.com/changelog/2017-09-the-one-about-usernames
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getId

        public String getId()
      • getTeamId

        public String getTeamId()
      • getName

        public String getName()
      • isDeleted

        public boolean isDeleted()
      • getColor

        public String getColor()
      • getRealName

        public String getRealName()
      • getTz

        public String getTz()
      • getTzLabel

        public String getTzLabel()
      • getTzOffset

        public Integer getTzOffset()
      • isAdmin

        public boolean isAdmin()
      • isOwner

        public boolean isOwner()
      • isPrimaryOwner

        public boolean isPrimaryOwner()
      • isInvitedUser

        public boolean isInvitedUser()
      • isRestricted

        public boolean isRestricted()
        is_restricted indicates the user is a multi-channel guest. see also: https://get.slack.help/hc/en-us/articles/201314026-roles-and-permissions-in-slack
      • isUltraRestricted

        public boolean isUltraRestricted()
        is_ultra_restricted indicates they are a single channel guest. see also: https://get.slack.help/hc/en-us/articles/201314026-roles-and-permissions-in-slack
      • isBot

        public boolean isBot()
      • isStranger

        public boolean isStranger()
      • isAppUser

        public boolean isAppUser()
      • getUpdated

        public Long getUpdated()
      • isHas2fa

        public boolean isHas2fa()
      • isEmailConfirmed

        public boolean isEmailConfirmed()
      • getPresence

        public String getPresence()
      • getTwoFactorType

        public String getTwoFactorType()
      • isHasFiles

        public boolean isHasFiles()
      • getLocale

        public String getLocale()
      • isWorkflowBot

        public boolean isWorkflowBot()
      • setId

        public void setId​(String id)
      • setTeamId

        public void setTeamId​(String teamId)
      • setName

        public void setName​(String name)
      • setDeleted

        public void setDeleted​(boolean deleted)
      • setColor

        public void setColor​(String color)
      • setRealName

        public void setRealName​(String realName)
      • setTz

        public void setTz​(String tz)
      • setTzLabel

        public void setTzLabel​(String tzLabel)
      • setTzOffset

        public void setTzOffset​(Integer tzOffset)
      • setProfile

        public void setProfile​(User.Profile profile)
      • setAdmin

        public void setAdmin​(boolean admin)
      • setOwner

        public void setOwner​(boolean owner)
      • setPrimaryOwner

        public void setPrimaryOwner​(boolean primaryOwner)
      • setInvitedUser

        public void setInvitedUser​(boolean invitedUser)
      • setRestricted

        public void setRestricted​(boolean restricted)
        is_restricted indicates the user is a multi-channel guest. see also: https://get.slack.help/hc/en-us/articles/201314026-roles-and-permissions-in-slack
      • setUltraRestricted

        public void setUltraRestricted​(boolean ultraRestricted)
        is_ultra_restricted indicates they are a single channel guest. see also: https://get.slack.help/hc/en-us/articles/201314026-roles-and-permissions-in-slack
      • setBot

        public void setBot​(boolean bot)
      • setStranger

        public void setStranger​(boolean stranger)
      • setAppUser

        public void setAppUser​(boolean appUser)
      • setUpdated

        public void setUpdated​(Long updated)
      • setHas2fa

        public void setHas2fa​(boolean has2fa)
      • setEmailConfirmed

        public void setEmailConfirmed​(boolean emailConfirmed)
      • setPresence

        public void setPresence​(String presence)
      • setTwoFactorType

        public void setTwoFactorType​(String twoFactorType)
      • setHasFiles

        public void setHasFiles​(boolean hasFiles)
      • setLocale

        public void setLocale​(String locale)
      • setWorkflowBot

        public void setWorkflowBot​(boolean workflowBot)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object