Class MigrationExchangeRequest
- java.lang.Object
-
- com.slack.api.methods.request.migration.MigrationExchangeRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class MigrationExchangeRequest extends Object implements SlackApiRequest
For Enterprise Grid workspaces, map local user IDs to global user IDs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMigrationExchangeRequest.MigrationExchangeRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MigrationExchangeRequest.MigrationExchangeRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetToken()Authentication token.List<String>getUsers()A comma-separated list of user ids, up to 400 per requestinthashCode()booleanisToOld()Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs.voidsetToken(String token)Authentication token.voidsetToOld(boolean toOld)Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs.voidsetUsers(List<String> users)A comma-separated list of user ids, up to 400 per requestStringtoString()
-
-
-
Method Detail
-
builder
public static MigrationExchangeRequest.MigrationExchangeRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `tokens.basic`- Specified by:
getTokenin interfaceSlackApiRequest
-
isToOld
public boolean isToOld()
Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `tokens.basic`
-
setToOld
public void setToOld(boolean toOld)
Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`.
-
setUsers
public void setUsers(List<String> users)
A comma-separated list of user ids, up to 400 per request
-
canEqual
protected boolean canEqual(Object other)
-
-