Class AdminUsersSessionSetSettingsRequest
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersSessionSetSettingsRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersSessionSetSettingsRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.session.setSettings
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminUsersSessionSetSettingsRequest.AdminUsersSessionSetSettingsRequestBuilder
-
Method Summary
Modifier and Type Method Description static AdminUsersSessionSetSettingsRequest.AdminUsersSessionSetSettingsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Boolean
getDesktopAppBrowserQuit()
Terminate the session when the client—either the desktop app or a browser window—is closed.Integer
getDuration()
The session duration, in seconds.String
getToken()
Authentication token bearing required scopes.List<String>
getUserIds()
The list of user IDs to apply the session settings for.int
hashCode()
void
setDesktopAppBrowserQuit(Boolean desktopAppBrowserQuit)
Terminate the session when the client—either the desktop app or a browser window—is closed.void
setDuration(Integer duration)
The session duration, in seconds.void
setToken(String token)
Authentication token bearing required scopes.void
setUserIds(List<String> userIds)
The list of user IDs to apply the session settings for.String
toString()
-
Method Details
-
builder
public static AdminUsersSessionSetSettingsRequest.AdminUsersSessionSetSettingsRequestBuilder builder() -
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
-
getUserIds
The list of user IDs to apply the session settings for. -
getDesktopAppBrowserQuit
Terminate the session when the client—either the desktop app or a browser window—is closed. -
getDuration
The session duration, in seconds. The minimum value is 28800, which represents 8 hours; the max value is 315569520 or 10 years (that's a long Slack session). -
setToken
Authentication token bearing required scopes. -
setUserIds
The list of user IDs to apply the session settings for. -
setDesktopAppBrowserQuit
Terminate the session when the client—either the desktop app or a browser window—is closed. -
setDuration
The session duration, in seconds. The minimum value is 28800, which represents 8 hours; the max value is 315569520 or 10 years (that's a long Slack session). -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-