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
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 Details
-
builder
-
getToken
Authentication token. Requires scope: `reminders:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getText
The content of the reminder -
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
The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. -
setToken
Authentication token. Requires scope: `reminders:write` -
setText
The content of the reminder -
setTime
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
The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-