Class AdminAppsUninstallRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.apps.AdminAppsUninstallRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminAppsUninstallRequest extends Object implements SlackApiRequest
Uninstall an app from one or many workspaces, or an entire enterprise organization.https://api.slack.com/methods/admin.apps.uninstall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminAppsUninstallRequest.AdminAppsUninstallRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminAppsUninstallRequest.AdminAppsUninstallRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAppId()
The ID of the app to uninstall.String
getEnterpriseId()
The enterprise to completely uninstall the application from (across all workspaces).List<String>
getTeamIds()
Ds of the teams to uninstall from (max 100).String
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setAppId(String appId)
The ID of the app to uninstall.void
setEnterpriseId(String enterpriseId)
The enterprise to completely uninstall the application from (across all workspaces).void
setTeamIds(List<String> teamIds)
Ds of the teams to uninstall from (max 100).void
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminAppsUninstallRequest.AdminAppsUninstallRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getAppId
public String getAppId()
The ID of the app to uninstall.
-
getEnterpriseId
public String getEnterpriseId()
The enterprise to completely uninstall the application from (across all workspaces). With an org-level token, this or team_ids is required.
-
getTeamIds
public List<String> getTeamIds()
Ds of the teams to uninstall from (max 100). With an org-level token, this or enterprise_id is required.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
setToken
in interfaceSlackApiRequest
-
setAppId
public void setAppId(String appId)
The ID of the app to uninstall.
-
setEnterpriseId
public void setEnterpriseId(String enterpriseId)
The enterprise to completely uninstall the application from (across all workspaces). With an org-level token, this or team_ids is required.
-
setTeamIds
public void setTeamIds(List<String> teamIds)
Ds of the teams to uninstall from (max 100). With an org-level token, this or enterprise_id is required.
-
canEqual
protected boolean canEqual(Object other)
-
-