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 UsersProfileSetRequestbuild()UsersProfileSetRequest.UsersProfileSetRequestBuildername(String name)Name of a single key to set.UsersProfileSetRequest.UsersProfileSetRequestBuilderprofile(User.Profile profile)Collection of key:value pairs presented as a URL-encoded JSON hash.UsersProfileSetRequest.UsersProfileSetRequestBuildertoken(String token)Authentication token.StringtoString()UsersProfileSetRequest.UsersProfileSetRequestBuilderuser(String user)ID of user to change.UsersProfileSetRequest.UsersProfileSetRequestBuildervalue(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
-