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
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 Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamId
The ID (T1234) of the workspace. -
getUserId
The ID of the user to set an expiration for. -
getExpirationTs
Timestamp when guest account should be disabled. -
setToken
Authentication token bearing required scopes. -
setTeamId
The ID (T1234) of the workspace. -
setUserId
The ID of the user to set an expiration for. -
setExpirationTs
Timestamp when guest account should be disabled. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-