Class NotificationDirectMessageRequest
- Assembly
- JJConsulting.Infinity.Domain.dll
Represents a request to create a direct notification message.
public class NotificationDirectMessageRequest : IValidatableObjectInheritance
Implements
Inherited Members
Properties
Channels
public List<string> Channels { get; set; }Property Value
Description
public string? Description { get; set; }Property Value
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?
Title
public string? Title { 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.