Class UsersProfileSetRequest
- java.lang.Object
-
- com.slack.api.methods.request.users.profile.UsersProfileSetRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class UsersProfileSetRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsersProfileSetRequest.UsersProfileSetRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsersProfileSetRequest.UsersProfileSetRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()Name of a single key to set.User.ProfilegetProfile()Collection of key:value pairs presented as a URL-encoded JSON hash.StringgetToken()Authentication token.StringgetUser()ID of user to change.StringgetValue()Value to set a single key to.inthashCode()voidsetName(String name)Name of a single key to set.voidsetProfile(User.Profile profile)Collection of key:value pairs presented as a URL-encoded JSON hash.voidsetToken(String token)Authentication token.voidsetUser(String user)ID of user to change.voidsetValue(String value)Value to set a single key to.StringtoString()
-
-
-
Method Detail
-
builder
public static UsersProfileSetRequest.UsersProfileSetRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `users.profile:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
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)
-
-