Interface TemplateTranslation


public interface TemplateTranslation
TemplateTranslation
  • Method Details

    • getContent

      String getContent()
      This is the definition of the template with the language specified in the language_code field.
      Returns:
      content
    • getCreateTime

      Instant getCreateTime()
      Timestamp when the translation was created.
      Returns:
      createTime
    • getLanguageCode

      String getLanguageCode()
      The BCP-47 language code, such as en-US or sr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
      Returns:
      languageCode
    • getUpdateTime

      Instant getUpdateTime()
      Timestamp of when the translation was updated.
      Returns:
      updateTime
    • getVariables

      List<TemplateVariable> getVariables()
      List of expected variables. Can be used for request validation.
      Returns:
      variables
    • getVersion

      String getVersion()
      The version of template.
      Returns:
      version
    • builder

      static TemplateTranslation.Builder builder()
      Getting builder
      Returns:
      New Builder instance