Class MigrationExchangeRequest.MigrationExchangeRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.migration.MigrationExchangeRequest.MigrationExchangeRequestBuilder
-
- Enclosing class:
- MigrationExchangeRequest
public static class MigrationExchangeRequest.MigrationExchangeRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationExchangeRequest
build()
MigrationExchangeRequest.MigrationExchangeRequestBuilder
teamId(String teamId)
Required for org-wide apps.MigrationExchangeRequest.MigrationExchangeRequestBuilder
token(String token)
Authentication token.MigrationExchangeRequest.MigrationExchangeRequestBuilder
toOld(boolean toOld)
Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs.String
toString()
MigrationExchangeRequest.MigrationExchangeRequestBuilder
users(List<String> users)
A comma-separated list of user ids, up to 400 per request
-
-
-
Method Detail
-
token
public MigrationExchangeRequest.MigrationExchangeRequestBuilder token(String token)
Authentication token. Requires scope: `tokens.basic`- Returns:
this
.
-
toOld
public MigrationExchangeRequest.MigrationExchangeRequestBuilder toOld(boolean toOld)
Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`.- Returns:
this
.
-
users
public MigrationExchangeRequest.MigrationExchangeRequestBuilder users(List<String> users)
A comma-separated list of user ids, up to 400 per request- Returns:
this
.
-
teamId
public MigrationExchangeRequest.MigrationExchangeRequestBuilder teamId(String teamId)
Required for org-wide apps.- Returns:
this
.
-
build
public MigrationExchangeRequest build()
-
-