Class CallsAddRequest.CallsAddRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.calls.CallsAddRequest.CallsAddRequestBuilder
-
- Enclosing class:
- CallsAddRequest
public static class CallsAddRequest.CallsAddRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallsAddRequest
build()
CallsAddRequest.CallsAddRequestBuilder
createdBy(String createdBy)
The valid Slack user ID of the user who created this Call.CallsAddRequest.CallsAddRequestBuilder
dateStart(Integer dateStart)
Call start time in UTC UNIX timestamp formatCallsAddRequest.CallsAddRequestBuilder
desktopAppJoinUrl(String desktopAppJoinUrl)
When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.CallsAddRequest.CallsAddRequestBuilder
externalDisplayId(String externalDisplayId)
An optional, human-readable ID supplied by the 3rd-party Call provider.CallsAddRequest.CallsAddRequestBuilder
externalUniqueId(String externalUniqueId)
An ID supplied by the 3rd-party Call provider.CallsAddRequest.CallsAddRequestBuilder
joinUrl(String joinUrl)
The URL required for a client to join the Call.CallsAddRequest.CallsAddRequestBuilder
title(String title)
The name of the Call.CallsAddRequest.CallsAddRequestBuilder
token(String token)
Authentication token bearing required scopes.String
toString()
CallsAddRequest.CallsAddRequestBuilder
users(List<CallParticipant> users)
The list of users to register as participants in the Call.
-
-
-
Method Detail
-
token
public CallsAddRequest.CallsAddRequestBuilder token(String token)
Authentication token bearing required scopes.- Returns:
this
.
-
externalUniqueId
public CallsAddRequest.CallsAddRequestBuilder externalUniqueId(String externalUniqueId)
An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service.- Returns:
this
.
-
joinUrl
public CallsAddRequest.CallsAddRequestBuilder joinUrl(String joinUrl)
The URL required for a client to join the Call.- Returns:
this
.
-
createdBy
public CallsAddRequest.CallsAddRequestBuilder createdBy(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.- Returns:
this
.
-
dateStart
public CallsAddRequest.CallsAddRequestBuilder dateStart(Integer dateStart)
Call start time in UTC UNIX timestamp format- Returns:
this
.
-
desktopAppJoinUrl
public CallsAddRequest.CallsAddRequestBuilder desktopAppJoinUrl(String desktopAppJoinUrl)
When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.- Returns:
this
.
-
externalDisplayId
public CallsAddRequest.CallsAddRequestBuilder externalDisplayId(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.- Returns:
this
.
-
title
public CallsAddRequest.CallsAddRequestBuilder title(String title)
The name of the Call.- Returns:
this
.
-
users
public CallsAddRequest.CallsAddRequestBuilder users(List<CallParticipant> users)
The list of users to register as participants in the Call.- Returns:
this
.
-
build
public CallsAddRequest build()
-
-