public class ConversationsListRequest extends Object implements SlackApiRequest
Modifier and Type | Class and Description |
---|---|
static class |
ConversationsListRequest.ConversationsListRequestBuilder |
Modifier and Type | Method and Description |
---|---|
static ConversationsListRequest.ConversationsListRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
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`.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getToken()
Authentication token.
|
List<ConversationType> |
getTypes()
Mix and match channel types by providing a comma-separated list of
any combination of `public_channel`, `private_channel`, `mpim`, `im`
|
int |
hashCode() |
boolean |
isExcludeArchived()
Set to `true` to exclude archived channels from the list
|
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`.
|
void |
setExcludeArchived(boolean excludeArchived)
Set to `true` to exclude archived channels from the list
|
void |
setLimit(Integer limit)
The maximum number of items to return.
|
void |
setToken(String token)
Authentication token.
|
void |
setTypes(List<ConversationType> types)
Mix and match channel types by providing a comma-separated list of
any combination of `public_channel`, `private_channel`, `mpim`, `im`
|
String |
toString() |
public static ConversationsListRequest.ConversationsListRequestBuilder builder()
public String getToken()
getToken
in interface SlackApiRequest
public String getCursor()
public boolean isExcludeArchived()
public Integer getLimit()
public List<ConversationType> getTypes()
public void setToken(String token)
public void setCursor(String cursor)
public void setExcludeArchived(boolean excludeArchived)
public void setLimit(Integer limit)
public void setTypes(List<ConversationType> types)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.