Class AdminAppsRestrictRequest

java.lang.Object
com.slack.api.methods.request.admin.apps.AdminAppsRestrictRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminAppsRestrictRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/admin.apps.restrict
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  AdminAppsRestrictRequest.AdminAppsRestrictRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AdminAppsRestrictRequest.AdminAppsRestrictRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getAppId()
    The id of the app to approve.
    java.lang.String getEnterpriseId()
    The ID of the enterprise to approve the app on
    java.lang.String getRequestId()
    The id of the request to approve.
    java.lang.String getTeamId()
    The ID of the workspace to approve the app on
    java.lang.String getToken()
    Authentication token bearing required scopes.
    int hashCode()  
    void setAppId​(java.lang.String appId)
    The id of the app to approve.
    void setEnterpriseId​(java.lang.String enterpriseId)
    The ID of the enterprise to approve the app on
    void setRequestId​(java.lang.String requestId)
    The id of the request to approve.
    void setTeamId​(java.lang.String teamId)
    The ID of the workspace to approve the app on
    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.
      Specified by:
      getToken in interface SlackApiRequest
    • getAppId

      public java.lang.String getAppId()
      The id of the app to approve.
    • getRequestId

      public java.lang.String getRequestId()
      The id of the request to approve.
    • getEnterpriseId

      public java.lang.String getEnterpriseId()
      The ID of the enterprise to approve the app on
    • getTeamId

      public java.lang.String getTeamId()
      The ID of the workspace to approve the app on
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token bearing required scopes.
    • setAppId

      public void setAppId​(java.lang.String appId)
      The id of the app to approve.
    • setRequestId

      public void setRequestId​(java.lang.String requestId)
      The id of the request to approve.
    • setEnterpriseId

      public void setEnterpriseId​(java.lang.String enterpriseId)
      The ID of the enterprise to approve the app on
    • setTeamId

      public void setTeamId​(java.lang.String teamId)
      The ID of the workspace to approve the app on
    • 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