Class ImOpenRequest

java.lang.Object
com.slack.api.methods.request.im.ImOpenRequest
All Implemented Interfaces:
SlackApiRequest

@Deprecated
public class ImOpenRequest
extends java.lang.Object
implements SlackApiRequest
Deprecated.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ImOpenRequest.ImOpenRequestBuilder
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    static ImOpenRequest.ImOpenRequestBuilder builder()
    Deprecated.
     
    protected boolean canEqual​(java.lang.Object other)
    Deprecated.
     
    boolean equals​(java.lang.Object o)
    Deprecated.
     
    java.lang.String getToken()
    Deprecated.
    Authentication token.
    java.lang.String getUser()
    Deprecated.
    User to open a direct message channel with.
    int hashCode()
    Deprecated.
     
    boolean isIncludeLocale()
    Deprecated.
    Set this to `true` to receive the locale for this im.
    boolean isReturnIm()
    Deprecated.
    Boolean, indicates you want the full IM channel definition in the response.
    void setIncludeLocale​(boolean includeLocale)
    Deprecated.
    Set this to `true` to receive the locale for this im.
    void setReturnIm​(boolean returnIm)
    Deprecated.
    Boolean, indicates you want the full IM channel definition in the response.
    void setToken​(java.lang.String token)
    Deprecated.
    Authentication token.
    void setUser​(java.lang.String user)
    Deprecated.
    User to open a direct message channel with.
    java.lang.String toString()
    Deprecated.
     

    Methods inherited from class java.lang.Object

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

    • builder

      public static ImOpenRequest.ImOpenRequestBuilder builder()
      Deprecated.
    • getToken

      public java.lang.String getToken()
      Deprecated.
      Authentication token. Requires scope: `im:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getUser

      public java.lang.String getUser()
      Deprecated.
      User to open a direct message channel with.
    • isReturnIm

      public boolean isReturnIm()
      Deprecated.
      Boolean, indicates you want the full IM channel definition in the response.
    • isIncludeLocale

      public boolean isIncludeLocale()
      Deprecated.
      Set this to `true` to receive the locale for this im. Defaults to `false`
    • setToken

      public void setToken​(java.lang.String token)
      Deprecated.
      Authentication token. Requires scope: `im:write`
    • setUser

      public void setUser​(java.lang.String user)
      Deprecated.
      User to open a direct message channel with.
    • setReturnIm

      public void setReturnIm​(boolean returnIm)
      Deprecated.
      Boolean, indicates you want the full IM channel definition in the response.
    • setIncludeLocale

      public void setIncludeLocale​(boolean includeLocale)
      Deprecated.
      Set this to `true` to receive the locale for this im. Defaults to `false`
    • equals

      public boolean equals​(java.lang.Object o)
      Deprecated.
      Overrides:
      equals in class java.lang.Object
    • canEqual

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

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

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