Class ConversationsRequestSharedInviteListRequest

java.lang.Object
com.slack.api.methods.request.conversations.request_shared_invite.ConversationsRequestSharedInviteListRequest
All Implemented Interfaces:
SlackApiRequest

public class ConversationsRequestSharedInviteListRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.list
  • Method Details

    • builder

    • getToken

      public String getToken()
      Description copied from interface: SlackApiRequest
      Returns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getCursor

      public String getCursor()
      Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection.
    • getIncludeApproved

      public Boolean getIncludeApproved()
      When true approved invitation requests will be returned, otherwise they will be excluded
    • getIncludeDenied

      public Boolean getIncludeDenied()
      When true denied invitation requests will be returned, otherwise they will be excluded
    • getIncludeExpired

      public Boolean getIncludeExpired()
      When true expired invitation requests will be returned, otherwise they will be excluded
    • getInviteIds

      public List<String> getInviteIds()
      An optional list of invitation ids to look up.
    • getLimit

      public Integer getLimit()
      The number of items to return. Must be between 1 - 1000 (inclusive). Defaults to 200.
    • getUserId

      public String getUserId()
      Optional filter to return invitation requests for the inviting user.
    • setToken

      public void setToken(String token)
      Description copied from interface: SlackApiRequest
      Updates the token in this request object.

      The default implementation throws UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.

      Specified by:
      setToken in interface SlackApiRequest
    • setCursor

      public void setCursor(String cursor)
      Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection.
    • setIncludeApproved

      public void setIncludeApproved(Boolean includeApproved)
      When true approved invitation requests will be returned, otherwise they will be excluded
    • setIncludeDenied

      public void setIncludeDenied(Boolean includeDenied)
      When true denied invitation requests will be returned, otherwise they will be excluded
    • setIncludeExpired

      public void setIncludeExpired(Boolean includeExpired)
      When true expired invitation requests will be returned, otherwise they will be excluded
    • setInviteIds

      public void setInviteIds(List<String> inviteIds)
      An optional list of invitation ids to look up.
    • setLimit

      public void setLimit(Integer limit)
      The number of items to return. Must be between 1 - 1000 (inclusive). Defaults to 200.
    • setUserId

      public void setUserId(String userId)
      Optional filter to return invitation requests for the inviting user.
    • 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