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 class
RemindersAddRequest.RemindersAddRequestBuilder
-
Method Summary
Modifier and Type Method Description static RemindersAddRequest.RemindersAddRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getText()
The content of the reminderString
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.String
getToken()
Authentication token.String
getUser()
The user who will receive the reminder.int
hashCode()
void
setText(String text)
The content of the remindervoid
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.void
setToken(String token)
Authentication token.void
setUser(String user)
The user who will receive the reminder.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `reminders:write`- Specified by:
getToken
in 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
-