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 class
UsersProfileSetRequest.UsersProfileSetRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsersProfileSetRequest.UsersProfileSetRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getName()
Name of a single key to set.User.Profile
getProfile()
Collection of key:value pairs presented as a URL-encoded JSON hash.String
getToken()
Authentication token.String
getUser()
ID of user to change.String
getValue()
Value to set a single key to.int
hashCode()
void
setName(String name)
Name of a single key to set.void
setProfile(User.Profile profile)
Collection of key:value pairs presented as a URL-encoded JSON hash.void
setToken(String token)
Authentication token.void
setUser(String user)
ID of user to change.void
setValue(String value)
Value to set a single key to.String
toString()
-
-
-
Method Detail
-
builder
public static UsersProfileSetRequest.UsersProfileSetRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `users.profile:write`- Specified by:
getToken
in 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)
-
-