Class BotVersion

java.lang.Object
com.mypurecloud.sdk.v2.model.BotVersion
All Implemented Interfaces:
Serializable

public class BotVersion extends Object implements Serializable
A version description for a Bot.
See Also:
  • Constructor Details

    • BotVersion

      public BotVersion()
    • BotVersion

      public BotVersion(Boolean initWithEmptyList)
  • Method Details

    • version

      public BotVersion version(String version)
      The name of the version.
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • supportedLanguages

      public BotVersion supportedLanguages(List<String> supportedLanguages)
      The supported languages for this bot. EG 'en-us' or 'es', etc; These language codes are W3C language identification tags (ISO 639-1 for the language name and ISO 3166 for the country code)
    • getSupportedLanguages

      public List<String> getSupportedLanguages()
    • setSupportedLanguages

      public void setSupportedLanguages(List<String> supportedLanguages)
    • intents

      public BotVersion intents(List<BotConnectorIntent> intents)
      A list of potential intents this bot will return, limit of 50
    • getIntents

      public List<BotConnectorIntent> getIntents()
    • setIntents

      public void setIntents(List<BotConnectorIntent> intents)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object