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
namestringName of the email template.
categorystringCategory of the email template.
subjectstringSubject 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.