Class AdminTeamsSettingsSetDiscoverabilityRequest

java.lang.Object
com.slack.api.methods.request.admin.teams.settings.AdminTeamsSettingsSetDiscoverabilityRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminTeamsSettingsSetDiscoverabilityRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.teams.settings.setDiscoverability
  • Method Details

    • builder

    • getToken

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

      public String getTeamId()
      Workspace Id.
    • getDiscoverability

      public String getDiscoverability()
      This workspace's discovery setting. It must be set to one of open, invite_only, closed, or unlisted.
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes.
      Specified by:
      setToken in interface SlackApiRequest
    • setTeamId

      public void setTeamId(String teamId)
      Workspace Id.
    • setDiscoverability

      public void setDiscoverability(String discoverability)
      This workspace's discovery setting. It must be set to one of open, invite_only, closed, or unlisted.
    • 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