Table of Contents

Class NotificationResponse

Namespace
Quilt4Net.Toolkit.Features.Notification
Assembly
Quilt4Net.Toolkit.dll

A notification as Quilt4Net stored it.

public record NotificationResponse : IEquatable<NotificationResponse>
Inheritance
NotificationResponse
Implements
Inherited Members

Constructors

NotificationResponse(string, string, string, string, string, string, DateTime)

A notification as Quilt4Net stored it.

public NotificationResponse(string Id, string Category, string Message, string Application, string Environment, string Instance, DateTime CreatedUtc)

Parameters

Id string

The notification's id, which a subscriber reads on from.

Category string

What kind of notification it is.

Message string

The text to show.

Application string

The sending application, if known.

Environment string

The sending environment, if known.

Instance string

The sending machine or instance, if known.

CreatedUtc DateTime

When the server stored it.

Properties

Application

The sending application, if known.

public string Application { get; init; }

Property Value

string

Category

What kind of notification it is.

public string Category { get; init; }

Property Value

string

CreatedUtc

When the server stored it.

public DateTime CreatedUtc { get; init; }

Property Value

DateTime

Environment

The sending environment, if known.

public string Environment { get; init; }

Property Value

string

Id

The notification's id, which a subscriber reads on from.

public string Id { get; init; }

Property Value

string

Instance

The sending machine or instance, if known.

public string Instance { get; init; }

Property Value

string

Message

The text to show.

public string Message { get; init; }

Property Value

string

Reached

How many phones and devices the send woke; zero says nobody will hear it. Null from a server that does not say.

public int? Reached { get; init; }

Property Value

int?