Class AdminEmojiAddRequest

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

public class AdminEmojiAddRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.emoji.add
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getName

      public 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 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(String token)
      Authentication token bearing required scopes.
      Specified by:
      setToken in interface SlackApiRequest
    • setName

      public void setName(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(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(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object