Class NotificationTemplateMessageRequest
- Assembly
- JJConsulting.Infinity.Domain.dll
Represents a request to create a template notification message.
public class NotificationTemplateMessageRequest : IValidatableObjectInheritance
Implements
Inherited Members
Properties
Id
public Guid? Id { get; set; }Property Value
- Guid?
IsRequired
Gets or sets a value indicating whether the notification is required. This property specifies if the notification is mandatory when the channel is Infinity.
public bool IsRequired { get; set; }Property Value
Recipients
public NotificationRecipients Recipients { get; set; }Property Value
SenderId
Gets or sets the unique identifier of the sender of the notification. Represents the originator of the notification message. If null, the system will be the sender.
public Guid? SenderId { get; set; }Property Value
- Guid?
Source
public string? Source { get; set; }Property Value
TemplateName
public string? TemplateName { get; set; }Property Value
TemplateParameters
[JsonPropertyName("parameters")]
public Dictionary<string, string>? TemplateParameters { get; set; }Property Value
ValidFrom
public DateTime? ValidFrom { get; set; }Property Value
ValidTo
public DateTime? ValidTo { get; set; }Property Value
Methods
Validate(ValidationContext)
Determines whether the specified object is valid.
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)Parameters
validationContextValidationContext-
The validation context.
Returns
- IEnumerable<ValidationResult>
-
A collection that holds failed-validation information.