TemplateControllerApi class

Constructors

TemplateControllerApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTemplate(CreateTemplateOptions createTemplateOptions) Future<TemplateDto?>
Create a Template
createTemplateWithHttpInfo(CreateTemplateOptions createTemplateOptions) Future<Response>
Create a Template
deleteTemplate(String templateId) Future<void>
Delete email template
deleteTemplateWithHttpInfo(String templateId) Future<Response>
Delete email template
getAllTemplates({int? page, int? size, String? sort, DateTime? since, DateTime? before}) Future<PageTemplateProjection?>
List templates
getAllTemplatesWithHttpInfo({int? page, int? size, String? sort, DateTime? since, DateTime? before}) Future<Response>
List templates
getTemplate(String templateId) Future<TemplateDto?>
Get template
getTemplatePreviewHtml(String templateId) Future<String?>
Get template preview HTML
getTemplatePreviewHtmlWithHttpInfo(String templateId) Future<Response>
Get template preview HTML
getTemplatePreviewJson(String templateId) Future<TemplatePreview?>
Get template preview Json
getTemplatePreviewJsonWithHttpInfo(String templateId) Future<Response>
Get template preview Json
getTemplates() Future<List<TemplateProjection>?>
List templates
getTemplatesWithHttpInfo() Future<Response>
List templates
getTemplateWithHttpInfo(String templateId) Future<Response>
Get template
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateTemplate(String templateId, CreateTemplateOptions createTemplateOptions) Future<TemplateDto?>
Update template
updateTemplateWithHttpInfo(String templateId, CreateTemplateOptions createTemplateOptions) Future<Response>
Update template

Operators

operator ==(Object other) bool
The equality operator.
inherited