public interface TemplateV1
TemplateV1
  • 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-47 language_code and the language_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

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