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
All Methods Instance Methods Concrete Methods 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 Detail
-
token
public UsersProfileSetRequest.UsersProfileSetRequestBuilder token(String token)
Authentication token. Requires scope: `users.profile:write`- Returns:
this.
-
user
public UsersProfileSetRequest.UsersProfileSetRequestBuilder user(String user)
ID of user to change. This argument may only be specified by team admins on paid teams.- Returns:
this.
-
profile
public UsersProfileSetRequest.UsersProfileSetRequestBuilder profile(User.Profile profile)
Collection of key:value pairs presented as a URL-encoded JSON hash.- Returns:
this.
-
name
public UsersProfileSetRequest.UsersProfileSetRequestBuilder name(String name)
Name of a single key to set. Usable only if profile is not passed.- Returns:
this.
-
value
public UsersProfileSetRequest.UsersProfileSetRequestBuilder value(String value)
Value to set a single key to. Usable only if profile is not passed.- Returns:
this.
-
build
public UsersProfileSetRequest build()
-
-