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
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 Details
-
builder
-
getToken
Authentication token. Requires scope: `users.profile:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
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` -
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
-