using System;
using xPushService.Constants;
namespace xPushService.Models {
public class XPushMessage {
///
/// Specify the Type of Push Notification ...
///
///
public string Type { get; set; }
///
/// Specify the Topic of PushNotification ...
/// NOTE: XPushTopic enum contains default Values and User can Extends it ...
///
///
public string Topic { get; set; }
///
/// Specify the Action Name by passing String Values ...
/// NOTE: XPushAction enum contains default Values for Actions ...
///
///
public string Action { get; set; }
///
/// if this is a User Push Action, we had to pass Actor ...
///
///
public string Actor { get; set; }
///
/// in CRUD actions or some Custom Actions, we can pass propper data
/// to clients ...
///
///
public string Payload { get; set; }
///
/// the message or additional Informations for passing to client ...
///
///
public string Message { get; set; }
///
/// Push notification date and time ...
///
///
public DateTime TimeStamp { get; set; }
}
}