Class TeamExternalTeamsListRequest

java.lang.Object
com.slack.api.methods.request.team.external_teams.TeamExternalTeamsListRequest
All Implemented Interfaces:
SlackApiRequest

public class TeamExternalTeamsListRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/team.externalTeams.list
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getConnectionStatusFilter

      public String getConnectionStatusFilter()
      Status of the connected team. Value should be one of "CONNECTED", "DISCONNECTED", "BLOCKED", and "IN_REVIEW"
    • getCursor

      public String getCursor()
      Encoded team ID to retrieve next page of connected teams, if absent will return first page
    • getLimit

      public Integer getLimit()
      The maximum number of items to return per page (default: 20)
    • getSlackConnectPrefFilter

      public List<String> getSlackConnectPrefFilter()
      Filters connected orgs by Slack Connect pref override(s)
    • getSortDirection

      public String getSortDirection()
      Direction to sort in asc or desc Value should be one of "asc" and "desc"
    • getSortField

      public String getSortField()
      Name of the parameter that we are sorting by

      Value should be one of "team_name", "last_active_timestamp", and "connection_status"

    • getWorkspaceFilter

      public List<String> getWorkspaceFilter()
      Shows connected orgs which are connected on a specified encoded workspace ID
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
      Specified by:
      setToken in interface SlackApiRequest
    • setConnectionStatusFilter

      public void setConnectionStatusFilter(String connectionStatusFilter)
      Status of the connected team. Value should be one of "CONNECTED", "DISCONNECTED", "BLOCKED", and "IN_REVIEW"
    • setCursor

      public void setCursor(String cursor)
      Encoded team ID to retrieve next page of connected teams, if absent will return first page
    • setLimit

      public void setLimit(Integer limit)
      The maximum number of items to return per page (default: 20)
    • setSlackConnectPrefFilter

      public void setSlackConnectPrefFilter(List<String> slackConnectPrefFilter)
      Filters connected orgs by Slack Connect pref override(s)
    • setSortDirection

      public void setSortDirection(String sortDirection)
      Direction to sort in asc or desc Value should be one of "asc" and "desc"
    • setSortField

      public void setSortField(String sortField)
      Name of the parameter that we are sorting by

      Value should be one of "team_name", "last_active_timestamp", and "connection_status"

    • setWorkspaceFilter

      public void setWorkspaceFilter(List<String> workspaceFilter)
      Shows connected orgs which are connected on a specified encoded workspace ID
    • 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