Interface TemplateTranslation
public interface TemplateTranslation
TemplateTranslation
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateTranslation.Builder
builder()
Getting builderThis is the definition of the template with the language specified in the language_code field.Timestamp when the translation was created.The BCP-47 language code, such asen-US
orsr-Latn
.Timestamp of when the translation was updated.List of expected variables.The version of template.
-
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 asen-US
orsr-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
Getting builder- Returns:
- New Builder instance
-