Airship.Net
AirshipDotNet.MessageCenter.Message Class Reference

A Message model object. More...

Public Member Functions

 Message (string messageId, string title, DateTime? sentDate, DateTime? expirationDate, bool unread, string? iconUrl, Dictionary< string, string?>? extras)
 Initializes a new instance of the Message class.
 

Properties

string MessageId [get]
 Gets the message ID.
 
string Title [get]
 Gets the message title.
 
DateTime? SentDate [get]
 Gets the message sent date.
 
DateTime? ExpirationDate [get]
 Gets the message expiration date.
 
bool Unread [get]
 Gets the unread status boolean value.
 
string? IconUrl [get]
 Gets the message icon url.
 
Dictionary< string, string?>? Extras [get]
 Gets a dictionary of the message extras.
 

Detailed Description

A Message model object.

Constructor & Destructor Documentation

◆ Message()

AirshipDotNet.MessageCenter.Message.Message ( string messageId,
string title,
DateTime? sentDate,
DateTime? expirationDate,
bool unread,
string? iconUrl,
Dictionary< string, string?>? extras )
inline

Initializes a new instance of the Message class.

Property Documentation

◆ ExpirationDate

DateTime? AirshipDotNet.MessageCenter.Message.ExpirationDate
get

Gets the message expiration date.

The message expiration date.

◆ Extras

Dictionary<string, string?>? AirshipDotNet.MessageCenter.Message.Extras
get

Gets a dictionary of the message extras.

The dictionary of the message extras.

◆ IconUrl

string? AirshipDotNet.MessageCenter.Message.IconUrl
get

Gets the message icon url.

The message icon url.

◆ MessageId

string AirshipDotNet.MessageCenter.Message.MessageId
get

Gets the message ID.

The message ID.

◆ SentDate

DateTime? AirshipDotNet.MessageCenter.Message.SentDate
get

Gets the message sent date.

The message sent date.

◆ Title

string AirshipDotNet.MessageCenter.Message.Title
get

Gets the message title.

The message title.

◆ Unread

bool AirshipDotNet.MessageCenter.Message.Unread
get

Gets the unread status boolean value.

The unread status.