Interface TemplatesServiceV1
public interface TemplatesServiceV1
Templates V1
Version 1 endpoints for managing message templates.
Currently maintained for existing users.
Version 2 is recommended.
- Since:
- 1.3
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(TemplateV1 template) Creates a templatevoid
Delete a templateGet a templatelist()
List all templates belonging to a project ID.update
(String templateId, TemplateV1 template) Updates a template
-
Method Details
-
list
Collection<TemplateV1> list()List all templates belonging to a project ID.- Returns:
- List of templates
- Since:
- 1.3
-
create
Creates a template- Parameters:
template
- Information for creation- Returns:
- Created template
- Since:
- 1.3
-
get
Get a template- Parameters:
templateId
- The ID of the template to fetch.- Returns:
- The template information
- Since:
- 1.3
-
delete
Delete a template- Parameters:
templateId
- The ID of the template to delete.- Since:
- 1.3
-
update
Updates a template- Parameters:
template
- Information to be updated- Returns:
- Updated template
- Since:
- 1.3
-