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 class
AdminUsersSetExpirationRequest.AdminUsersSetExpirationRequestBuilder
-
Method Summary
Modifier and Type Method Description static AdminUsersSetExpirationRequest.AdminUsersSetExpirationRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Long
getExpirationTs()
Timestamp when guest account should be disabled.String
getTeamId()
The ID (T1234) of the workspace.String
getToken()
Authentication token bearing required scopes.String
getUserId()
The ID of the user to set an expiration for.int
hashCode()
void
setExpirationTs(Long expirationTs)
Timestamp when guest account should be disabled.void
setTeamId(String teamId)
The ID (T1234) of the workspace.void
setToken(String token)
Authentication token bearing required scopes.void
setUserId(String userId)
The ID of the user to set an expiration for.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in 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
-