Table of Contents

Class NotificationDirectMessageRequest

Namespace
JJConsulting.Infinity.Domain.Notifications
Assembly
JJConsulting.Infinity.Domain.dll

Represents a request to create a direct notification message.

public class NotificationDirectMessageRequest : IValidatableObject

Inheritance

Implements

Inherited Members

Properties

Channels

public List<string> Channels { get; set; }

Property Value

List<string>

Description

public string? Description { get; set; }

Property Value

string?

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

bool

Recipients

public NotificationRecipients Recipients { get; set; }

Property Value

NotificationRecipients

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

string?

ValidFrom

public DateTime? ValidFrom { get; set; }

Property Value

DateTime?

ValidTo

public DateTime? ValidTo { get; set; }

Property Value

DateTime?

Methods

Validate(ValidationContext)

Determines whether the specified object is valid.

public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)

Parameters

validationContext ValidationContext

The validation context.

Returns

IEnumerable<ValidationResult>

A collection that holds failed-validation information.