Class EmailTemplate
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Stores custom email notifications.
public class EmailTemplate : NotificationBinaryFile, IEntity, IComparable, IIdentifiable
- Inheritance
-
EmailTemplate
- Implements
- Derived
- Inherited Members
Constructors
EmailTemplate()
Initializes a new instance of the EmailTemplate class.The constructor.
public EmailTemplate()
EmailTemplate(Id?, string?, string?, string?, ReportTemplate?)
Initializes a new instance of the EmailTemplate class.The constructor.
public EmailTemplate(Id? id, string? name, string? subject, string? body, ReportTemplate? exceptionsDetailTemplate)
Parameters
idIdThe Id.
namestringThe Description of the binary file.
subjectstringThe subject of the email.
bodystringThe body of the email.
exceptionsDetailTemplateReportTemplateThe ExceptionDetail template.
Properties
Body
Gets or sets body of email.
public virtual string? Body { get; set; }
Property Value
ExceptionsDetailTemplate
Gets or sets report template.
public virtual ReportTemplate? ExceptionsDetailTemplate { get; set; }
Property Value
Subject
Gets or sets subject line of email.
public virtual string? Subject { get; set; }
Property Value
Type
Gets or sets get the type of the binary data for notifications.
public override NotificationBinaryFileType? Type { get; set; }
Property Value
- NotificationBinaryFileType?
Get the type of the binary data for notifications.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.