Class AdminEmojiAddRequest

java.lang.Object
com.slack.api.methods.request.admin.emoji.AdminEmojiAddRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminEmojiAddRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/admin.emoji.add
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  AdminEmojiAddRequest.AdminEmojiAddRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AdminEmojiAddRequest.AdminEmojiAddRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getName()
    The name of the emoji to be removed.
    java.lang.String getToken()
    Authentication token bearing required scopes.
    java.lang.String getUrl()
    The URL of a file to use as an image for the emoji.
    int hashCode()  
    void setName​(java.lang.String name)
    The name of the emoji to be removed.
    void setToken​(java.lang.String token)
    Authentication token bearing required scopes.
    void setUrl​(java.lang.String url)
    The URL of a file to use as an image for the emoji.
    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
    • getName

      public java.lang.String getName()
      The name of the emoji to be removed. Colons (:myemoji:) around the value are not required, although they may be included.
    • getUrl

      public java.lang.String getUrl()
      The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best.
    • setToken

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

      public void setName​(java.lang.String name)
      The name of the emoji to be removed. Colons (:myemoji:) around the value are not required, although they may be included.
    • setUrl

      public void setUrl​(java.lang.String url)
      The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best.
    • 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