Class CallsAddRequest

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

public class CallsAddRequest
extends Object
implements SlackApiRequest
https://api.slack.com/methods/calls.add
  • Method Details

    • builder

      public static CallsAddRequest.CallsAddRequestBuilder builder()
    • getToken

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

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

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

      public 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 Integer getDateStart()
      Call start time in UTC UNIX timestamp format
    • getDesktopAppJoinUrl

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

      public 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 String getTitle()
      The name of the Call.
    • getUsers

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

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

      public void setExternalUniqueId​(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​(String joinUrl)
      The URL required for a client to join the Call.
    • setCreatedBy

      public void setCreatedBy​(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​(Integer dateStart)
      Call start time in UTC UNIX timestamp format
    • setDesktopAppJoinUrl

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

      public void setExternalDisplayId​(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​(String title)
      The name of the Call.
    • setUsers

      public void setUsers​(List<CallParticipant> users)
      The list of users to register as participants in the Call.
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object