Class BotLibre.Query

java.lang.Object
org.vrspace.server.obj.BotLibre.Query
Enclosing class:
BotLibre

public static class BotLibre.Query extends Object
  • Constructor Details

    • Query

      public Query()
  • Method Details

    • getApplication

      public String getApplication()
      user id at botlibre.com/biz/local
    • getInstance

      public String getInstance()
      bot instance
    • getConversation

      public String getConversation()
      conversation id, initially empty, returned with each bots answer
    • getMessage

      public String getMessage()
    • getEmote

      public String getEmote()
      emotion to tag the message with. This is one of LOVE, LIKE, DISLIKE, HATE, RAGE, ANGER, CALM, SERENE, ECSTATIC, HAPPY, SAD, CRYING, PANIC, AFRAID, CONFIDENT, COURAGEOUS, SURPRISE, BORED, LAUGHTER, SERIOUS.
    • isCorrection

      public boolean isCorrection()
      boolean that defines the chat message is a correction to the bot's last answer.
    • isOffensive

      public boolean isOffensive()
    • isDisconnect

      public boolean isDisconnect()
    • isIncludeQuestion

      public boolean isIncludeQuestion()
    • setApplication

      public void setApplication(String application)
      user id at botlibre.com/biz/local
    • setInstance

      public void setInstance(String instance)
      bot instance
    • setConversation

      public void setConversation(String conversation)
      conversation id, initially empty, returned with each bots answer
    • setMessage

      public void setMessage(String message)
    • setEmote

      public void setEmote(String emote)
      emotion to tag the message with. This is one of LOVE, LIKE, DISLIKE, HATE, RAGE, ANGER, CALM, SERENE, ECSTATIC, HAPPY, SAD, CRYING, PANIC, AFRAID, CONFIDENT, COURAGEOUS, SURPRISE, BORED, LAUGHTER, SERIOUS.
    • setCorrection

      public void setCorrection(boolean correction)
      boolean that defines the chat message is a correction to the bot's last answer.
    • setOffensive

      public void setOffensive(boolean offensive)
    • setDisconnect

      public void setDisconnect(boolean disconnect)
    • setIncludeQuestion

      public void setIncludeQuestion(boolean includeQuestion)
    • 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