Table of Contents

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

id Id

The Id.

name string

The Description of the binary file.

subject string

The subject of the email.

body string

The body of the email.

exceptionsDetailTemplate ReportTemplate

The ExceptionDetail template.

Properties

Body

Gets or sets body of email.

public virtual string? Body { get; set; }

Property Value

string

string

ExceptionsDetailTemplate

Gets or sets report template.

public virtual ReportTemplate? ExceptionsDetailTemplate { get; set; }

Property Value

ReportTemplate

ReportTemplate

Subject

Gets or sets subject line of email.

public virtual string? Subject { get; set; }

Property Value

string

string

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.