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
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 Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamId
Workspace Id -
getUserId
The ID of the user to designate as an admin. -
setToken
Authentication token bearing required scopes. -
setTeamId
Workspace Id -
setUserId
The ID of the user to designate as an admin. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-