Class OAuthV2AccessRequest

java.lang.Object
com.slack.api.methods.request.oauth.OAuthV2AccessRequest
All Implemented Interfaces:
SlackApiRequest

public class OAuthV2AccessRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/authentication/basics https://api.slack.com/methods/oauth.v2.access
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  OAuthV2AccessRequest.OAuthV2AccessRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static OAuthV2AccessRequest.OAuthV2AccessRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getClientId()
    Issued when you created your application.
    java.lang.String getClientSecret()
    Issued when you created your application.
    java.lang.String getCode()
    The `code` param returned via the OAuth callback.
    java.lang.String getGrantType()
    The grant_type param as described in the OAuth spec.
    java.lang.String getRedirectUri()
    This must match the originally submitted URI (if one was sent).
    java.lang.String getRefreshToken()
    The refresh_token param as described in the OAuth spec.
    java.lang.String getToken()  
    int hashCode()  
    void setClientId​(java.lang.String clientId)
    Issued when you created your application.
    void setClientSecret​(java.lang.String clientSecret)
    Issued when you created your application.
    void setCode​(java.lang.String code)
    The `code` param returned via the OAuth callback.
    void setGrantType​(java.lang.String grantType)
    The grant_type param as described in the OAuth spec.
    void setRedirectUri​(java.lang.String redirectUri)
    This must match the originally submitted URI (if one was sent).
    void setRefreshToken​(java.lang.String refreshToken)
    The refresh_token param as described in the OAuth spec.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getToken

      public java.lang.String getToken()
      Specified by:
      getToken in interface SlackApiRequest
    • builder

    • getClientId

      public java.lang.String getClientId()
      Issued when you created your application.
    • getClientSecret

      public java.lang.String getClientSecret()
      Issued when you created your application.
    • getCode

      public java.lang.String getCode()
      The `code` param returned via the OAuth callback.
    • getRedirectUri

      public java.lang.String getRedirectUri()
      This must match the originally submitted URI (if one was sent).
    • getGrantType

      public java.lang.String getGrantType()
      The grant_type param as described in the OAuth spec.
    • getRefreshToken

      public java.lang.String getRefreshToken()
      The refresh_token param as described in the OAuth spec.
    • setClientId

      public void setClientId​(java.lang.String clientId)
      Issued when you created your application.
    • setClientSecret

      public void setClientSecret​(java.lang.String clientSecret)
      Issued when you created your application.
    • setCode

      public void setCode​(java.lang.String code)
      The `code` param returned via the OAuth callback.
    • setRedirectUri

      public void setRedirectUri​(java.lang.String redirectUri)
      This must match the originally submitted URI (if one was sent).
    • setGrantType

      public void setGrantType​(java.lang.String grantType)
      The grant_type param as described in the OAuth spec.
    • setRefreshToken

      public void setRefreshToken​(java.lang.String refreshToken)
      The refresh_token param as described in the OAuth spec.
    • 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