Class EntityPresentDetailsRequest.Error

java.lang.Object
com.slack.api.methods.request.entity.EntityPresentDetailsRequest.Error
Enclosing class:
EntityPresentDetailsRequest

public static class EntityPresentDetailsRequest.Error extends Object
  • Constructor Details

    • Error

      public Error()
    • Error

      public Error(String status, String customMessage, String messageFormat, String customTitle, EntityPresentDetailsRequest.Error.ActionButton[] actions)
      Creates a new Error instance.
      Parameters:
      status - Standardized error status
      customMessage - Used when status is 'custom' to provide a specific message to the client
      messageFormat - Format of the message
      customTitle - Used when status is 'custom' to provide a specific title to the client
      actions - An action button to be shown in case of a specific error
  • Method Details

    • builder

    • getStatus

      public String getStatus()
      Standardized error status
    • getCustomMessage

      public String getCustomMessage()
      Used when status is 'custom' to provide a specific message to the client
    • getMessageFormat

      public String getMessageFormat()
      Format of the message
    • getCustomTitle

      public String getCustomTitle()
      Used when status is 'custom' to provide a specific title to the client
    • getActions

      An action button to be shown in case of a specific error
    • setStatus

      public void setStatus(String status)
      Standardized error status
    • setCustomMessage

      public void setCustomMessage(String customMessage)
      Used when status is 'custom' to provide a specific message to the client
    • setMessageFormat

      public void setMessageFormat(String messageFormat)
      Format of the message
    • setCustomTitle

      public void setCustomTitle(String customTitle)
      Used when status is 'custom' to provide a specific title to the client
    • setActions

      public void setActions(EntityPresentDetailsRequest.Error.ActionButton[] actions)
      An action button to be shown in case of a specific error
    • 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