Class UsersProfileSetRequest
java.lang.Object
com.slack.api.methods.request.users.profile.UsersProfileSetRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/users.profile.set
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetName()Name of a single key to set.Collection of key:value pairs presented as a URL-encoded JSON hash.getToken()Authentication token.getUser()ID of user to change.getValue()Value to set a single key to.inthashCode()voidName of a single key to set.voidsetProfile(User.Profile profile) Collection of key:value pairs presented as a URL-encoded JSON hash.voidAuthentication token.voidID of user to change.voidValue to set a single key to.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `users.profile:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getUser
ID of user to change. This argument may only be specified by team admins on paid teams. -
getProfile
Collection of key:value pairs presented as a URL-encoded JSON hash. -
getName
Name of a single key to set. Usable only if profile is not passed. -
getValue
Value to set a single key to. Usable only if profile is not passed. -
setToken
Authentication token. Requires scope: `users.profile:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setUser
ID of user to change. This argument may only be specified by team admins on paid teams. -
setProfile
Collection of key:value pairs presented as a URL-encoded JSON hash. -
setName
Name of a single key to set. Usable only if profile is not passed. -
setValue
Value to set a single key to. Usable only if profile is not passed. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-