Class RemindersAddRequest
java.lang.Object
com.slack.api.methods.request.reminders.RemindersAddRequest
- All Implemented Interfaces:
SlackApiRequest
public class RemindersAddRequest extends java.lang.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(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetTeamId()java.lang.StringgetText()The content of the reminderjava.lang.StringgetTime()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.java.lang.StringgetToken()Authentication token.java.lang.StringgetUser()The user who will receive the reminder.inthashCode()voidsetTeamId(java.lang.String teamId)voidsetText(java.lang.String text)The content of the remindervoidsetTime(java.lang.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(java.lang.String token)Authentication token.voidsetUser(java.lang.String user)The user who will receive the reminder.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `reminders:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getText
public java.lang.String getText()The content of the reminder -
getTime
public java.lang.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 java.lang.String getUser()The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. -
getTeamId
public java.lang.String getTeamId() -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `reminders:write` -
setText
public void setText(java.lang.String text)The content of the reminder -
setTime
public void setTime(java.lang.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(java.lang.String user)The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. -
setTeamId
public void setTeamId(java.lang.String teamId) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-