Class UsersProfileSetRequest.UsersProfileSetRequestBuilder
java.lang.Object
com.slack.api.methods.request.users.profile.UsersProfileSetRequest.UsersProfileSetRequestBuilder
- Enclosing class:
- UsersProfileSetRequest
public static class UsersProfileSetRequest.UsersProfileSetRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description UsersProfileSetRequest
build()
UsersProfileSetRequest.UsersProfileSetRequestBuilder
name(String name)
Name of a single key to set.UsersProfileSetRequest.UsersProfileSetRequestBuilder
profile(User.Profile profile)
Collection of key:value pairs presented as a URL-encoded JSON hash.UsersProfileSetRequest.UsersProfileSetRequestBuilder
token(String token)
Authentication token.String
toString()
UsersProfileSetRequest.UsersProfileSetRequestBuilder
user(String user)
ID of user to change.UsersProfileSetRequest.UsersProfileSetRequestBuilder
value(String value)
Value to set a single key to.
-
Method Details
-
token
Authentication token. Requires scope: `users.profile:write`- Returns:
this
.
-
user
ID of user to change. This argument may only be specified by team admins on paid teams.- Returns:
this
.
-
profile
Collection of key:value pairs presented as a URL-encoded JSON hash.- Returns:
this
.
-
name
Name of a single key to set. Usable only if profile is not passed.- Returns:
this
.
-
value
Value to set a single key to. Usable only if profile is not passed.- Returns:
this
.
-
build
-
toString
-