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 class  RemindersAddRequest.RemindersAddRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static RemindersAddRequest.RemindersAddRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getTeamId()  
    java.lang.String getText()
    The content of the reminder
    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.
    java.lang.String getToken()
    Authentication token.
    java.lang.String getUser()
    The user who will receive the reminder.
    int hashCode()  
    void setTeamId​(java.lang.String teamId)  
    void setText​(java.lang.String text)
    The content of the reminder
    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.
    void setToken​(java.lang.String token)
    Authentication token.
    void setUser​(java.lang.String user)
    The user who will receive the reminder.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `reminders:write`
      Specified by:
      getToken in interface SlackApiRequest
    • 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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object