Interface TemplateV1
public interface TemplateV1
TemplateV1
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateV1.Builder
builder()
Getting builderGet channelTimestamp when the template was created.The default translation to use if not specified.The description of the template.getId()
The id of the template.List of translations for the template.Timestamp when the template was updated.
-
Method Details
-
getChannel
TemplateChannel getChannel()Get channel- Returns:
- channel
-
getCreateTime
Instant getCreateTime()Timestamp when the template was created.- Returns:
- createTime
-
getDefaultTranslation
String getDefaultTranslation()The default translation to use if not specified. Specified as a BCP-47language_code
and thelanguage_code
must exist in the translations list.- Returns:
- defaultTranslation
-
getDescription
String getDescription()The description of the template.- Returns:
- description
-
getId
String getId()The id of the template. Specify this yourself during creation otherwise we will generate an ID for you. This has to be unique for a given project.- Returns:
- id
-
getTranslations
List<TemplateTranslation> getTranslations()List of translations for the template.- Returns:
- translations
-
getUpdateTime
Instant getUpdateTime()Timestamp when the template was updated.- Returns:
- updateTime
-
builder
Getting builder- Returns:
- New Builder instance
-