Class MailTemplateResponseDto
- Namespace
- GastroSky.Models.DTO.MailTemplate
- Assembly
- GastroSky.Models.dll
Full response body DTO of a GastroSky.Models.DTO.MailTemplate.
public sealed class MailTemplateResponseDto
- Inheritance
-
MailTemplateResponseDto
- Inherited Members
Properties
Comment
This should describe what the email template is and where it will be used and under what circumstances.
Not visible anywhere except in the mail templates admin dashboard.
public string? Comment { get; set; }
Property Value
Html
public required TranslatableFieldDto Html { get; set; }
Property Value
Id
GastroSky.Models.DTO.MailTemplate.MailTemplate.Id
public string Id { get; set; }
Property Value
LastModificationTimestampUTC
Unix-timestamp of when this GastroSky.Models.DTO.MailTemplate was last modified.
public long? LastModificationTimestampUTC { get; set; }
Property Value
- long?
PreventDeletion
Whether or not this GastroSky.Models.DTO.MailTemplate is delete-locked (e.g. it should not be possible to delete a built-in GastroSky.Models.DTO.MailTemplate).
public bool PreventDeletion { get; set; }
Property Value
Subject
public required TranslatableFieldDto Subject { get; set; }
Property Value
UsesMailBaseTemplate
public required bool UsesMailBaseTemplate { get; set; }