Interface TemplateReference
- All Superinterfaces:
OmniMessageOverride
Template (Reference)
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated BuilderNested classes/interfaces inherited from interface com.sinch.sdk.domains.conversation.models.v1.messages.OmniMessageOverride
OmniMessageOverride.ChannelSpecificTemplate
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateReference.Builder
builder()
Getting builderThe BCP-47 language code, such asen-US
orsr-Latn
.Required if the template has parameters.The ID of the template.Used to specify what version of a template to use.
-
Method Details
-
getLanguageCode
String getLanguageCode()The BCP-47 language code, such asen-US
orsr-Latn
. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. English is the default language_code.- Returns:
- languageCode
-
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 withlanguage_code
.- Returns:
- version
-
builder
Getting builder- Returns:
- New Builder instance
-