Class AdminAppsUninstallRequest
java.lang.Object
com.slack.api.methods.request.admin.apps.AdminAppsUninstallRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminAppsUninstallRequest extends java.lang.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 classAdminAppsUninstallRequest.AdminAppsUninstallRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminAppsUninstallRequest.AdminAppsUninstallRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetAppId()The ID of the app to uninstall.java.lang.StringgetEnterpriseId()The enterprise to completely uninstall the application from (across all workspaces).java.util.List<java.lang.String>getTeamIds()Ds of the teams to uninstall from (max 100).java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetAppId(java.lang.String appId)The ID of the app to uninstall.voidsetEnterpriseId(java.lang.String enterpriseId)The enterprise to completely uninstall the application from (across all workspaces).voidsetTeamIds(java.util.List<java.lang.String> teamIds)Ds of the teams to uninstall from (max 100).voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
getTokenin interfaceSlackApiRequest
-
getAppId
public java.lang.String getAppId()The ID of the app to uninstall. -
getEnterpriseId
public java.lang.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 java.util.List<java.lang.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(java.lang.String token)Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. -
setAppId
public void setAppId(java.lang.String appId)The ID of the app to uninstall. -
setEnterpriseId
public void setEnterpriseId(java.lang.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(java.util.List<java.lang.String> teamIds)Ds of the teams to uninstall from (max 100). With an org-level token, this or enterprise_id is required. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-