Class ChatScheduledMessagesListRequest
- java.lang.Object
-
- com.slack.api.methods.request.chat.scheduled_messages.ChatScheduledMessagesListRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ChatScheduledMessagesListRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/chat.scheduledMessages.list
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChatScheduledMessagesListRequest.ChatScheduledMessagesListRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChatScheduledMessagesListRequest.ChatScheduledMessagesListRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()The channel of the scheduled messagesStringgetCursor()For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.StringgetLatest()A UNIX timestamp of the latest value in the time rangeIntegergetLimit()Maximum number of original entries to return.StringgetOldest()A UNIX timestamp of the oldest value in the time rangeStringgetTeamId()Required for org-wide apps.StringgetToken()Returns a token in this request object.inthashCode()voidsetChannel(String channel)The channel of the scheduled messagesvoidsetCursor(String cursor)For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.voidsetLatest(String latest)A UNIX timestamp of the latest value in the time rangevoidsetLimit(Integer limit)Maximum number of original entries to return.voidsetOldest(String oldest)A UNIX timestamp of the oldest value in the time rangevoidsetTeamId(String teamId)Required for org-wide apps.voidsetToken(String token)Updates the token in this request object.StringtoString()
-
-
-
Method Detail
-
builder
public static ChatScheduledMessagesListRequest.ChatScheduledMessagesListRequestBuilder builder()
-
getToken
public String getToken()
Description copied from interface:SlackApiRequestReturns 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:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannel
public String getChannel()
The channel of the scheduled messages
-
getCursor
public String getCursor()
For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.
-
getLatest
public String getLatest()
A UNIX timestamp of the latest value in the time range
-
getLimit
public Integer getLimit()
Maximum number of original entries to return.
-
getOldest
public String getOldest()
A UNIX timestamp of the oldest value in the time range
-
getTeamId
public String getTeamId()
Required for org-wide apps.
-
setToken
public void setToken(String token)
Description copied from interface:SlackApiRequestUpdates 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:
setTokenin interfaceSlackApiRequest
-
setChannel
public void setChannel(String channel)
The channel of the scheduled messages
-
setCursor
public void setCursor(String cursor)
For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.
-
setLatest
public void setLatest(String latest)
A UNIX timestamp of the latest value in the time range
-
setLimit
public void setLimit(Integer limit)
Maximum number of original entries to return.
-
setOldest
public void setOldest(String oldest)
A UNIX timestamp of the oldest value in the time range
-
setTeamId
public void setTeamId(String teamId)
Required for org-wide apps.
-
canEqual
protected boolean canEqual(Object other)
-
-