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.https://api.slack.com/methods/migration.exchange
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MigrationExchangeRequest.MigrationExchangeRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static MigrationExchangeRequest.MigrationExchangeRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `tokens.basic`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
isToOld
public boolean isToOld()
Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`.
-
getTeamId
public String getTeamId()
Required for org-wide apps.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `tokens.basic`- Specified by:
setToken
in interfaceSlackApiRequest
-
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
-
setTeamId
public void setTeamId(String teamId)
Required for org-wide apps.
-
canEqual
protected boolean canEqual(Object other)
-
-