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
Modifier and Type Method Description static MigrationExchangeRequest.MigrationExchangeRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetTeamId()Required for org-wide apps.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.voidsetTeamId(String teamId)Required for org-wide apps.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 Details
-
builder
-
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`. -
getUsers
A comma-separated list of user ids, up to 400 per request -
getTeamId
Required for org-wide apps. -
setToken
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
A comma-separated list of user ids, up to 400 per request -
setTeamId
Required for org-wide apps. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-