Class AdminEmojiRenameRequest

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  AdminEmojiRenameRequest.AdminEmojiRenameRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AdminEmojiRenameRequest.AdminEmojiRenameRequestBuilder 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 renamed.
    java.lang.String getNewName()
    The new name of the emoji.
    java.lang.String getToken()
    Authentication token bearing required scopes.
    int hashCode()  
    void setName​(java.lang.String name)
    The name of the emoji to be renamed.
    void setNewName​(java.lang.String newName)
    The new name of the emoji.
    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
    • getName

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

      public java.lang.String getNewName()
      The new name of the emoji.
    • 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 renamed. Colons (:myemoji:) around the value are not required, although they may be included.
    • setNewName

      public void setNewName​(java.lang.String newName)
      The new name of the emoji.
    • 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