Class MigrationExchangeResponse
java.lang.Object
com.slack.api.methods.response.migration.MigrationExchangeResponse
- All Implemented Interfaces:
SlackApiResponse,SlackApiTextResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe enterprise grid organization ID containing the workspace/team.getError()Returns all the HTTP response headers in the API response.A list of User IDs that cannot be mapped or foundThe workspace/team ID containing the mapped usersA mapping of provided user IDs with mapped user IDsinthashCode()booleanisOk()voidsetEnterpriseId(String enterpriseId) The enterprise grid organization ID containing the workspace/team.voidvoidsetHttpResponseHeaders(Map<String, List<String>> httpResponseHeaders) Sets the response headers.voidsetInvalidUserIds(List<String> invalidUserIds) A list of User IDs that cannot be mapped or foundvoidvoidsetOk(boolean ok) voidsetProvided(String provided) voidThe workspace/team ID containing the mapped usersvoidsetUserIdMap(Map<String, String> userIdMap) A mapping of provided user IDs with mapped user IDsvoidsetWarning(String warning) toString()
-
Constructor Details
-
MigrationExchangeResponse
public MigrationExchangeResponse()
-
-
Method Details
-
isOk
public boolean isOk()- Specified by:
isOkin interfaceSlackApiTextResponse
-
getWarning
- Specified by:
getWarningin interfaceSlackApiTextResponse
-
getError
- Specified by:
getErrorin interfaceSlackApiTextResponse
-
getNeeded
- Specified by:
getNeededin interfaceSlackApiTextResponse
-
getProvided
- Specified by:
getProvidedin interfaceSlackApiTextResponse
-
getHttpResponseHeaders
Description copied from interface:SlackApiResponseReturns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeadersin interfaceSlackApiResponse
-
getTeamId
The workspace/team ID containing the mapped users -
getEnterpriseId
The enterprise grid organization ID containing the workspace/team. -
getInvalidUserIds
A list of User IDs that cannot be mapped or found -
getUserIdMap
A mapping of provided user IDs with mapped user IDs -
setOk
public void setOk(boolean ok) - Specified by:
setOkin interfaceSlackApiTextResponse
-
setWarning
- Specified by:
setWarningin interfaceSlackApiTextResponse
-
setError
- Specified by:
setErrorin interfaceSlackApiTextResponse
-
setNeeded
- Specified by:
setNeededin interfaceSlackApiTextResponse
-
setProvided
- Specified by:
setProvidedin interfaceSlackApiTextResponse
-
setHttpResponseHeaders
Description copied from interface:SlackApiResponseSets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeadersin interfaceSlackApiResponse
-
setTeamId
The workspace/team ID containing the mapped users -
setEnterpriseId
The enterprise grid organization ID containing the workspace/team. -
setInvalidUserIds
A list of User IDs that cannot be mapped or found -
setUserIdMap
A mapping of provided user IDs with mapped user IDs -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-