Class UpdateEmailTemplateRequest
- Namespace
- Mailtrap.EmailTemplates.Requests
- Assembly
- Mailtrap.Abstractions.dll
Request object for updating email template.
public sealed record UpdateEmailTemplateRequest : EmailTemplateRequest, IValidatable, IEquatable<EmailTemplateRequest>, IEquatable<UpdateEmailTemplateRequest>
- Inheritance
-
UpdateEmailTemplateRequest
- Implements
- Inherited Members
Constructors
UpdateEmailTemplateRequest(string, string, string)
Primary instance constructor.
public UpdateEmailTemplateRequest(string name, string category, string subject)
Parameters
name
stringName of the email template.
category
stringCategory of the email template.
subject
stringSubject of the email template.
Remarks
The name
must be between 1 and 255 characters.
The category
must be between 1 and 255 characters.
The subject
must be between 1 and 255 characters.