Class CallsAddRequest

java.lang.Object
com.slack.api.methods.request.calls.CallsAddRequest
All Implemented Interfaces:
SlackApiRequest

public class CallsAddRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/calls.add
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  CallsAddRequest.CallsAddRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static CallsAddRequest.CallsAddRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getCreatedBy()
    The valid Slack user ID of the user who created this Call.
    java.lang.Integer getDateStart()
    Call start time in UTC UNIX timestamp format
    java.lang.String getDesktopAppJoinUrl()
    When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.
    java.lang.String getExternalDisplayId()
    An optional, human-readable ID supplied by the 3rd-party Call provider.
    java.lang.String getExternalUniqueId()
    An ID supplied by the 3rd-party Call provider.
    java.lang.String getJoinUrl()
    The URL required for a client to join the Call.
    java.lang.String getTitle()
    The name of the Call.
    java.lang.String getToken()
    Authentication token bearing required scopes.
    java.util.List<CallParticipant> getUsers()
    The list of users to register as participants in the Call.
    int hashCode()  
    void setCreatedBy​(java.lang.String createdBy)
    The valid Slack user ID of the user who created this Call.
    void setDateStart​(java.lang.Integer dateStart)
    Call start time in UTC UNIX timestamp format
    void setDesktopAppJoinUrl​(java.lang.String desktopAppJoinUrl)
    When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.
    void setExternalDisplayId​(java.lang.String externalDisplayId)
    An optional, human-readable ID supplied by the 3rd-party Call provider.
    void setExternalUniqueId​(java.lang.String externalUniqueId)
    An ID supplied by the 3rd-party Call provider.
    void setJoinUrl​(java.lang.String joinUrl)
    The URL required for a client to join the Call.
    void setTitle​(java.lang.String title)
    The name of the Call.
    void setToken​(java.lang.String token)
    Authentication token bearing required scopes.
    void setUsers​(java.util.List<CallParticipant> users)
    The list of users to register as participants in the Call.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • builder

      public static CallsAddRequest.CallsAddRequestBuilder builder()
    • getToken

      public java.lang.String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
    • getExternalUniqueId

      public java.lang.String getExternalUniqueId()
      An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service.
    • getJoinUrl

      public java.lang.String getJoinUrl()
      The URL required for a client to join the Call.
    • getCreatedBy

      public java.lang.String getCreatedBy()
      The valid Slack user ID of the user who created this Call. When this method is called with a user token, the created_by field is optional and defaults to the authed user of the token. Otherwise, the field is required.
    • getDateStart

      public java.lang.Integer getDateStart()
      Call start time in UTC UNIX timestamp format
    • getDesktopAppJoinUrl

      public java.lang.String getDesktopAppJoinUrl()
      When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.
    • getExternalDisplayId

      public java.lang.String getExternalDisplayId()
      An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object.
    • getTitle

      public java.lang.String getTitle()
      The name of the Call.
    • getUsers

      public java.util.List<CallParticipant> getUsers()
      The list of users to register as participants in the Call.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token bearing required scopes.
    • setExternalUniqueId

      public void setExternalUniqueId​(java.lang.String externalUniqueId)
      An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service.
    • setJoinUrl

      public void setJoinUrl​(java.lang.String joinUrl)
      The URL required for a client to join the Call.
    • setCreatedBy

      public void setCreatedBy​(java.lang.String createdBy)
      The valid Slack user ID of the user who created this Call. When this method is called with a user token, the created_by field is optional and defaults to the authed user of the token. Otherwise, the field is required.
    • setDateStart

      public void setDateStart​(java.lang.Integer dateStart)
      Call start time in UTC UNIX timestamp format
    • setDesktopAppJoinUrl

      public void setDesktopAppJoinUrl​(java.lang.String desktopAppJoinUrl)
      When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.
    • setExternalDisplayId

      public void setExternalDisplayId​(java.lang.String externalDisplayId)
      An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object.
    • setTitle

      public void setTitle​(java.lang.String title)
      The name of the Call.
    • setUsers

      public void setUsers​(java.util.List<CallParticipant> users)
      The list of users to register as participants in the Call.
    • 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