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