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
IdstringThe notification's id, which a subscriber reads on from.
CategorystringWhat kind of notification it is.
MessagestringThe text to show.
ApplicationstringThe sending application, if known.
EnvironmentstringThe sending environment, if known.
InstancestringThe sending machine or instance, if known.
CreatedUtcDateTimeWhen the server stored it.
Properties
Application
The sending application, if known.
public string Application { get; init; }
Property Value
Category
What kind of notification it is.
public string Category { get; init; }
Property Value
CreatedUtc
When the server stored it.
public DateTime CreatedUtc { get; init; }
Property Value
Environment
The sending environment, if known.
public string Environment { get; init; }
Property Value
Id
The notification's id, which a subscriber reads on from.
public string Id { get; init; }
Property Value
Instance
The sending machine or instance, if known.
public string Instance { get; init; }
Property Value
Message
The text to show.
public string Message { get; init; }
Property Value
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?