Class AdminUsersSessionSetSettingsRequest
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersSessionSetSettingsRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersSessionSetSettingsRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.session.setSettings
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminUsersSessionSetSettingsRequest.AdminUsersSessionSetSettingsRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminUsersSessionSetSettingsRequest.AdminUsersSessionSetSettingsRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.BooleangetDesktopAppBrowserQuit()Terminate the session when the client—either the desktop app or a browser window—is closed.java.lang.IntegergetDuration()The session duration, in seconds.java.lang.StringgetToken()Authentication token bearing required scopes.java.util.List<java.lang.String>getUserIds()The list of user IDs to apply the session settings for.inthashCode()voidsetDesktopAppBrowserQuit(java.lang.Boolean desktopAppBrowserQuit)Terminate the session when the client—either the desktop app or a browser window—is closed.voidsetDuration(java.lang.Integer duration)The session duration, in seconds.voidsetToken(java.lang.String token)Authentication token bearing required scopes.voidsetUserIds(java.util.List<java.lang.String> userIds)The list of user IDs to apply the session settings for.java.lang.StringtoString()
-
Method Details
-
builder
public static AdminUsersSessionSetSettingsRequest.AdminUsersSessionSetSettingsRequestBuilder builder() -
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getUserIds
public java.util.List<java.lang.String> getUserIds()The list of user IDs to apply the session settings for. -
getDesktopAppBrowserQuit
public java.lang.Boolean getDesktopAppBrowserQuit()Terminate the session when the client—either the desktop app or a browser window—is closed. -
getDuration
public java.lang.Integer 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
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setUserIds
public void setUserIds(java.util.List<java.lang.String> userIds)The list of user IDs to apply the session settings for. -
setDesktopAppBrowserQuit
public void setDesktopAppBrowserQuit(java.lang.Boolean desktopAppBrowserQuit)Terminate the session when the client—either the desktop app or a browser window—is closed. -
setDuration
public void setDuration(java.lang.Integer duration)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
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-