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 class
MigrationExchangeRequest.MigrationExchangeRequestBuilder
-
Method Summary
Modifier and Type Method Description static MigrationExchangeRequest.MigrationExchangeRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getTeamId()
Required for org-wide apps.String
getToken()
Authentication token.List<String>
getUsers()
A comma-separated list of user ids, up to 400 per requestint
hashCode()
boolean
isToOld()
Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs.void
setTeamId(String teamId)
Required for org-wide apps.void
setToken(String token)
Authentication token.void
setToOld(boolean toOld)
Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs.void
setUsers(List<String> users)
A comma-separated list of user ids, up to 400 per requestString
toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `tokens.basic`- Specified by:
getToken
in 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
-