Interface TemplateReference

All Superinterfaces:
OmniMessageOverride

public interface TemplateReference extends OmniMessageOverride
Template (Reference)
  • Method Details

    • getLanguageCode

      String getLanguageCode()
      The BCP-47 language code, such as en-US or sr-Latn. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. English is the default language_code.
      Returns:
      languageCode
    • getParameters

      Map<String,String> getParameters()
      Required if the template has parameters. Concrete values must be present for all defined parameters in the template. Parameters can be different for different versions and/or languages of the template.
      Returns:
      parameters
    • getTemplateId

      String getTemplateId()
      The ID of the template.
      Returns:
      templateId
    • getVersion

      String getVersion()
      Used to specify what version of a template to use. This will be used in conjunction with language_code.
      Returns:
      version
    • builder

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