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 classCallsAddRequest.CallsAddRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallsAddRequest.CallsAddRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetCreatedBy()The valid Slack user ID of the user who created this Call.IntegergetDateStart()Call start time in UTC UNIX timestamp formatStringgetDesktopAppJoinUrl()When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.StringgetExternalDisplayId()An optional, human-readable ID supplied by the 3rd-party Call provider.StringgetExternalUniqueId()An ID supplied by the 3rd-party Call provider.StringgetJoinUrl()The URL required for a client to join the Call.StringgetTitle()The name of the Call.StringgetToken()Authentication token bearing required scopes.List<CallParticipant>getUsers()The list of users to register as participants in the Call.inthashCode()voidsetCreatedBy(String createdBy)The valid Slack user ID of the user who created this Call.voidsetDateStart(Integer dateStart)Call start time in UTC UNIX timestamp formatvoidsetDesktopAppJoinUrl(String desktopAppJoinUrl)When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.voidsetExternalDisplayId(String externalDisplayId)An optional, human-readable ID supplied by the 3rd-party Call provider.voidsetExternalUniqueId(String externalUniqueId)An ID supplied by the 3rd-party Call provider.voidsetJoinUrl(String joinUrl)The URL required for a client to join the Call.voidsetTitle(String title)The name of the Call.voidsetToken(String token)Authentication token bearing required scopes.voidsetUsers(List<CallParticipant> users)The list of users to register as participants in the Call.StringtoString()
-
-
-
Method Detail
-
builder
public static CallsAddRequest.CallsAddRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
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.
-
canEqual
protected boolean canEqual(Object other)
-
-