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 class
AdminUsersSetAdminRequest.AdminUsersSetAdminRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminUsersSetAdminRequest.AdminUsersSetAdminRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getTeamId()
Workspace IdString
getToken()
Authentication token bearing required scopes.String
getUserId()
The ID of the user to designate as an admin.int
hashCode()
void
setTeamId(String teamId)
Workspace Idvoid
setToken(String token)
Authentication token bearing required scopes.void
setUserId(String userId)
The ID of the user to designate as an admin.String
toString()
-
-
-
Method Detail
-
builder
public static AdminUsersSetAdminRequest.AdminUsersSetAdminRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in 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)
-
-