Class RemindersAddRequest
- java.lang.Object
-
- com.slack.api.methods.request.reminders.RemindersAddRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class RemindersAddRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemindersAddRequest.RemindersAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemindersAddRequest.RemindersAddRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetText()The content of the reminderStringgetTime()When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex.StringgetToken()Authentication token.StringgetUser()The user who will receive the reminder.inthashCode()voidsetText(String text)The content of the remindervoidsetTime(String time)When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex.voidsetToken(String token)Authentication token.voidsetUser(String user)The user who will receive the reminder.StringtoString()
-
-
-
Method Detail
-
builder
public static RemindersAddRequest.RemindersAddRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `reminders:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getText
public String getText()
The content of the reminder
-
getTime
public String getTime()
When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. \"in 15 minutes,\" or \"every Thursday\")
-
getUser
public String getUser()
The user who will receive the reminder. If no user is specified, the reminder will go to user who created it.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `reminders:write`
-
setText
public void setText(String text)
The content of the reminder
-
setTime
public void setTime(String time)
When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. \"in 15 minutes,\" or \"every Thursday\")
-
setUser
public void setUser(String user)
The user who will receive the reminder. If no user is specified, the reminder will go to user who created it.
-
canEqual
protected boolean canEqual(Object other)
-
-