/// NotificationId : "string"
/// NotificationType : 0
/// Title : "string"
/// Message : "string"
/// CustomerId : 0
/// IsRead : true
/// CreateDate : "2021-09-12T03:57:40.751Z"
/// DeviceToken : "string"

class UpdateNotificationRequest {
  String? _notificationId;
  int? _notificationType;
  String? _title;
  String? _message;
  int? _customerId;
  bool? _isRead;
  String? _createDate;
  String? _deviceToken;

  String? get notificationId => _notificationId;
  int? get notificationType => _notificationType;
  String? get title => _title;
  String? get message => _message;
  int? get customerId => _customerId;
  bool? get isRead => _isRead;
  String? get createDate => _createDate;
  String? get deviceToken => _deviceToken;

  UpdateNotificationRequest({
      String? notificationId, 
      int? notificationType, 
      String? title, 
      String? message, 
      int? customerId, 
      bool? isRead, 
      String? createDate, 
      String? deviceToken}){
    _notificationId = notificationId;
    _notificationType = notificationType;
    _title = title;
    _message = message;
    _customerId = customerId;
    _isRead = isRead;
    _createDate = createDate;
    _deviceToken = deviceToken;
}

  UpdateNotificationRequest.fromJson(dynamic json) {
    _notificationId = json['NotificationId'];
    _notificationType = json['NotificationType'];
    _title = json['Title'];
    _message = json['Message'];
    _customerId = json['CustomerId'];
    _isRead = json['IsRead'];
    _createDate = json['CreateDate'];
    _deviceToken = json['DeviceToken'];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['NotificationId'] = _notificationId;
    map['NotificationType'] = _notificationType;
    map['Title'] = _title;
    map['Message'] = _message;
    map['CustomerId'] = _customerId;
    map['IsRead'] = _isRead;
    map['CreateDate'] = _createDate;
    map['DeviceToken'] = _deviceToken;
    return map;
  }

}