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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static AdminUsersSetExpirationRequest.AdminUsersSetExpirationRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in 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)
-
-