Class AdminUsersSetExpirationRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.users.AdminUsersSetExpirationRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersSetExpirationRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.setExpiration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminUsersSetExpirationRequest.AdminUsersSetExpirationRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminUsersSetExpirationRequest.AdminUsersSetExpirationRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)LonggetExpirationTs()Timestamp when guest account should be disabled.StringgetTeamId()The ID (T1234) of the workspace.StringgetToken()Authentication token bearing required scopes.StringgetUserId()The ID of the user to set an expiration for.inthashCode()voidsetExpirationTs(Long expirationTs)Timestamp when guest account should be disabled.voidsetTeamId(String teamId)The ID (T1234) of the workspace.voidsetToken(String token)Authentication token bearing required scopes.voidsetUserId(String userId)The ID of the user to set an expiration for.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminUsersSetExpirationRequest.AdminUsersSetExpirationRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamId
public String getTeamId()
The ID (T1234) of the workspace.
-
getUserId
public String getUserId()
The ID of the user to set an expiration for.
-
getExpirationTs
public Long getExpirationTs()
Timestamp when guest account should be disabled.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setTeamId
public void setTeamId(String teamId)
The ID (T1234) of the workspace.
-
setUserId
public void setUserId(String userId)
The ID of the user to set an expiration for.
-
setExpirationTs
public void setExpirationTs(Long expirationTs)
Timestamp when guest account should be disabled.
-
canEqual
protected boolean canEqual(Object other)
-
-