You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
2.7 KiB
Dart
97 lines
2.7 KiB
Dart
class GetNotificationsResponseModel {
|
|
int? id;
|
|
int? recordId;
|
|
int? patientID;
|
|
bool? projectOutSA;
|
|
String? deviceType;
|
|
String? deviceToken;
|
|
String? message;
|
|
String? messageType;
|
|
String? messageTypeData;
|
|
dynamic videoURL;
|
|
bool? isQueue;
|
|
String? isQueueOn;
|
|
String? createdOn;
|
|
String? createdBy;
|
|
String? notificationType;
|
|
bool? isSent;
|
|
String? isSentOn;
|
|
bool? isRead;
|
|
String? isReadOn;
|
|
int? channelID;
|
|
int? projectID;
|
|
|
|
GetNotificationsResponseModel(
|
|
{this.id,
|
|
this.recordId,
|
|
this.patientID,
|
|
this.projectOutSA,
|
|
this.deviceType,
|
|
this.deviceToken,
|
|
this.message,
|
|
this.messageType,
|
|
this.messageTypeData,
|
|
this.videoURL,
|
|
this.isQueue,
|
|
this.isQueueOn,
|
|
this.createdOn,
|
|
this.createdBy,
|
|
this.notificationType,
|
|
this.isSent,
|
|
this.isSentOn,
|
|
this.isRead,
|
|
this.isReadOn,
|
|
this.channelID,
|
|
this.projectID});
|
|
|
|
GetNotificationsResponseModel.fromJson(Map<String, dynamic> json) {
|
|
id = json['Id'];
|
|
recordId = json['RecordId'];
|
|
patientID = json['PatientID'];
|
|
projectOutSA = json['ProjectOutSA'];
|
|
deviceType = json['DeviceType'];
|
|
deviceToken = json['DeviceToken'];
|
|
message = json['Message'];
|
|
messageType = json['MessageType'];
|
|
messageTypeData = json['MessageTypeData'];
|
|
videoURL = json['VideoURL'];
|
|
isQueue = json['IsQueue'];
|
|
isQueueOn = json['IsQueueOn'];
|
|
createdOn = json['CreatedOn'];
|
|
createdBy = json['CreatedBy'];
|
|
notificationType = json['NotificationType'];
|
|
isSent = json['IsSent'];
|
|
isSentOn = json['IsSentOn'];
|
|
isRead = json['IsRead'];
|
|
isReadOn = json['IsReadOn'];
|
|
channelID = json['ChannelID'];
|
|
projectID = json['ProjectID'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['Id'] = this.id;
|
|
data['RecordId'] = this.recordId;
|
|
data['PatientID'] = this.patientID;
|
|
data['ProjectOutSA'] = this.projectOutSA;
|
|
data['DeviceType'] = this.deviceType;
|
|
data['DeviceToken'] = this.deviceToken;
|
|
data['Message'] = this.message;
|
|
data['MessageType'] = this.messageType;
|
|
data['MessageTypeData'] = this.messageTypeData;
|
|
data['VideoURL'] = this.videoURL;
|
|
data['IsQueue'] = this.isQueue;
|
|
data['IsQueueOn'] = this.isQueueOn;
|
|
data['CreatedOn'] = this.createdOn;
|
|
data['CreatedBy'] = this.createdBy;
|
|
data['NotificationType'] = this.notificationType;
|
|
data['IsSent'] = this.isSent;
|
|
data['IsSentOn'] = this.isSentOn;
|
|
data['IsRead'] = this.isRead;
|
|
data['IsReadOn'] = this.isReadOn;
|
|
data['ChannelID'] = this.channelID;
|
|
data['ProjectID'] = this.projectID;
|
|
return data;
|
|
}
|
|
}
|