Class Template
Represents Template details.
public sealed record Template : IEquatable<Template>
- Inheritance
-
Template
- Implements
Properties
BodyHtml
Gets or sets the template body HTML.
[JsonPropertyName("body_html")]
[JsonPropertyOrder(7)]
public string? BodyHtml { get; set; }
Property Value
Remarks
Template body HTML must be no longer than 10_000_000 characters.
BodyText
Gets or sets the template body text.
[JsonPropertyName("body_text")]
[JsonPropertyOrder(6)]
public string? BodyText { get; set; }
Property Value
Remarks
Template body text must be no longer than 10_000_000 characters.
Category
Gets or sets the template category.
[JsonPropertyName("category")]
[JsonPropertyOrder(4)]
public string Category { get; set; }
Property Value
- string
Template category.
Remarks
Template category must be no longer than 255 characters.
CreatedAt
Gets or sets the template creation date and time.
[JsonPropertyName("created_at")]
[JsonPropertyOrder(8)]
public DateTimeOffset? CreatedAt { get; set; }
Property Value
- DateTimeOffset?
Template creation date and time.
Id
Gets or sets template identifier.
[JsonPropertyName("id")]
[JsonPropertyOrder(1)]
public long Id { get; set; }
Property Value
- long
Template identifier.
Name
Gets or sets template name.
[JsonPropertyName("name")]
[JsonPropertyOrder(3)]
public string Name { get; set; }
Property Value
- string
Template name.
Remarks
Template name must be no longer than 255 characters.
Subject
Gets or sets the template subject.
[JsonPropertyName("subject")]
[JsonPropertyOrder(5)]
public string Subject { get; set; }
Property Value
- string
Template subject.
Remarks
Template subject must be no longer than 255 characters.
UpdatedAt
Gets or sets the template date and time of update.
[JsonPropertyName("updated_at")]
[JsonPropertyOrder(9)]
public DateTimeOffset? UpdatedAt { get; set; }
Property Value
- DateTimeOffset?
Template date and time of update.
Uuid
Gets or sets template unique identifier.
[JsonPropertyName("uuid")]
[JsonPropertyOrder(2)]
public string Uuid { get; set; }
Property Value
- string
Template unique identifier.