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://docs.slack.dev/reference/methods/admin.users.session.setSettings
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getUserIds

      public List<String> getUserIds()
      The list of user IDs to apply the session settings for.
    • getDesktopAppBrowserQuit

      public Boolean getDesktopAppBrowserQuit()
      Terminate the session when the client—either the desktop app or a browser window—is closed.
    • getDuration

      public 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(String token)
      Authentication token bearing required scopes.
      Specified by:
      setToken in interface SlackApiRequest
    • setUserIds

      public void setUserIds(List<String> userIds)
      The list of user IDs to apply the session settings for.
    • setDesktopAppBrowserQuit

      public void setDesktopAppBrowserQuit(Boolean desktopAppBrowserQuit)
      Terminate the session when the client—either the desktop app or a browser window—is closed.
    • setDuration

      public void setDuration(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(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object