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 class  AdminAppsUninstallRequest.AdminAppsUninstallRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AdminAppsUninstallRequest.AdminAppsUninstallRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getAppId()
    The ID of the app to uninstall.
    java.lang.String getEnterpriseId()
    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.String getToken()
    Authentication token bearing required scopes.
    int hashCode()  
    void setAppId​(java.lang.String appId)
    The ID of the app to uninstall.
    void setEnterpriseId​(java.lang.String enterpriseId)
    The enterprise to completely uninstall the application from (across all workspaces).
    void setTeamIds​(java.util.List<java.lang.String> teamIds)
    Ds of the teams to uninstall from (max 100).
    void setToken​(java.lang.String token)
    Authentication token bearing required scopes.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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:
      getToken in interface SlackApiRequest
    • 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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object