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 MigrationExchangeRequestbuild()MigrationExchangeRequest.MigrationExchangeRequestBuildertoken(String token)Authentication token.MigrationExchangeRequest.MigrationExchangeRequestBuildertoOld(boolean toOld)Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs.StringtoString()MigrationExchangeRequest.MigrationExchangeRequestBuilderusers(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.
-
build
public MigrationExchangeRequest build()
-
-