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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CallsAddRequest.CallsAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallsAddRequest.CallsAddRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCreatedBy()
The valid Slack user ID of the user who created this Call.Integer
getDateStart()
Call start time in UTC UNIX timestamp formatString
getDesktopAppJoinUrl()
When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.String
getExternalDisplayId()
An optional, human-readable ID supplied by the 3rd-party Call provider.String
getExternalUniqueId()
An ID supplied by the 3rd-party Call provider.String
getJoinUrl()
The URL required for a client to join the Call.String
getTitle()
The name of the Call.String
getToken()
Authentication token bearing required scopes.List<CallParticipant>
getUsers()
The list of users to register as participants in the Call.int
hashCode()
void
setCreatedBy(String createdBy)
The valid Slack user ID of the user who created this Call.void
setDateStart(Integer dateStart)
Call start time in UTC UNIX timestamp formatvoid
setDesktopAppJoinUrl(String desktopAppJoinUrl)
When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.void
setExternalDisplayId(String externalDisplayId)
An optional, human-readable ID supplied by the 3rd-party Call provider.void
setExternalUniqueId(String externalUniqueId)
An ID supplied by the 3rd-party Call provider.void
setJoinUrl(String joinUrl)
The URL required for a client to join the Call.void
setTitle(String title)
The name of the Call.void
setToken(String token)
Authentication token bearing required scopes.void
setUsers(List<CallParticipant> users)
The list of users to register as participants in the Call.String
toString()
-
-
-
Method Detail
-
builder
public static CallsAddRequest.CallsAddRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
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.- Specified by:
setToken
in interfaceSlackApiRequest
-
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.
-
canEqual
protected boolean canEqual(Object other)
-
-