Work with Migration Exchange
The following are Apex classes for the Slack migration.exchange
API method.
For Enterprise Grid workspaces, sends a request to map local user IDs to global user IDs.
MigrationExchangeRequest Methods
The following are methods for MigrationExchangeRequest
.
builder()
Builds a request object that's used when executing the API call.
Signature
Return Value
Type: Slack.MigrationExchangeRequest.Builder
Contains methods to build an instance of the Slack.MigrationExchangeRequest
class.
A Builder object is obtained by invoking one of the MigrationExchangeRequest.Builder
methods defined by the MigrationExchangeRequest class
.
MigrationExchangeRequest.Builder Methods
The following are methods for MigrationExchangeRequest.Builder
. These methods are optional unless specified otherwise.
build()
Required. Returns an instance of Slack.MigrationExchangeRequest
.
Signature
Return Value
Type: Slack.MigrationExchangeRequest
teamId(teamId)
Signature
Parameters
teamId
Type: String
Return Value
Type: Slack.MigrationExchangeRequest.Builder
toOld(toOld)
Signature
Parameters
toOld
Type: Boolean
Return Value
Type: Slack.MigrationExchangeRequest.Builder
users(users)
Required. A comma-separated list of user IDs, up to 400 per request.
Signature
Parameters
users
Type: List<String>
For Enterprise Grid workspaces, map local user IDs to global user IDs.
MigrationExchangeResponse Methods
This class contains standard response methods.
The following are methods for MigrationExchangeResponse
.
getEnterpriseId()
Signature
Return Value
Type: String
getInvalidUserIds()
Signature
Return Value
Type: List<String>
getTeamId()
Signature
Return Value
Type: String