Table of Contents

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

string

Html

public required TranslatableFieldDto Html { get; set; }

Property Value

TranslatableFieldDto

Id

public string Id { get; set; }

Property Value

string

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

bool

Subject

public required TranslatableFieldDto Subject { get; set; }

Property Value

TranslatableFieldDto

UsesMailBaseTemplate

public required bool UsesMailBaseTemplate { get; set; }

Property Value

bool