Class UsersProfileSetRequest

    • Method Detail

      • getToken

        public String getToken()
        Authentication token. Requires scope: `users.profile:write`
        Specified by:
        getToken in interface SlackApiRequest
      • getUser

        public String getUser()
        ID of user to change. This argument may only be specified by team admins on paid teams.
      • getProfile

        public User.Profile getProfile()
        Collection of key:value pairs presented as a URL-encoded JSON hash.
      • getName

        public String getName()
        Name of a single key to set. Usable only if profile is not passed.
      • getValue

        public String getValue()
        Value to set a single key to. Usable only if profile is not passed.
      • setToken

        public void setToken​(String token)
        Authentication token. Requires scope: `users.profile:write`
      • setUser

        public void setUser​(String user)
        ID of user to change. This argument may only be specified by team admins on paid teams.
      • setProfile

        public void setProfile​(User.Profile profile)
        Collection of key:value pairs presented as a URL-encoded JSON hash.
      • setName

        public void setName​(String name)
        Name of a single key to set. Usable only if profile is not passed.
      • setValue

        public void setValue​(String value)
        Value to set a single key to. Usable only if profile is not passed.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object