Class AdminUsersSetOwnerRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.users.AdminUsersSetOwnerRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersSetOwnerRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.setOwner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminUsersSetOwnerRequest.AdminUsersSetOwnerRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminUsersSetOwnerRequest.AdminUsersSetOwnerRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetTeamId()Workspace IdStringgetToken()Authentication token bearing required scopes.StringgetUserId()Id of the user to promote to owner.inthashCode()voidsetTeamId(String teamId)Workspace IdvoidsetToken(String token)Authentication token bearing required scopes.voidsetUserId(String userId)Id of the user to promote to owner.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminUsersSetOwnerRequest.AdminUsersSetOwnerRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamId
public String getTeamId()
Workspace Id
-
getUserId
public String getUserId()
Id of the user to promote to owner.
-
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)
Id of the user to promote to owner.
-
canEqual
protected boolean canEqual(Object other)
-
-