Class AdminUsersSetAdminRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.users.AdminUsersSetAdminRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersSetAdminRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.setAdmin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminUsersSetAdminRequest.AdminUsersSetAdminRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminUsersSetAdminRequest.AdminUsersSetAdminRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetTeamId()Workspace IdStringgetToken()Authentication token bearing required scopes.StringgetUserId()The ID of the user to designate as an admin.inthashCode()voidsetTeamId(String teamId)Workspace IdvoidsetToken(String token)Authentication token bearing required scopes.voidsetUserId(String userId)The ID of the user to designate as an admin.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminUsersSetAdminRequest.AdminUsersSetAdminRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamId
public String getTeamId()
Workspace Id
-
getUserId
public String getUserId()
The ID of the user to designate as an admin.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setTeamId
public void setTeamId(String teamId)
Workspace Id
-
setUserId
public void setUserId(String userId)
The ID of the user to designate as an admin.
-
canEqual
protected boolean canEqual(Object other)
-
-