|
|
|
@ -20,6 +20,11 @@ class GetNotificationsResponseModel {
|
|
|
|
String? isReadOn;
|
|
|
|
String? isReadOn;
|
|
|
|
int? channelID;
|
|
|
|
int? channelID;
|
|
|
|
int? projectID;
|
|
|
|
int? projectID;
|
|
|
|
|
|
|
|
String? isExternalRedirect;
|
|
|
|
|
|
|
|
String? externalRedirectURLAndroid;
|
|
|
|
|
|
|
|
String? externalRedirectURLIos;
|
|
|
|
|
|
|
|
String? redirectButtonTextEn;
|
|
|
|
|
|
|
|
String? redirectButtonTextAr;
|
|
|
|
|
|
|
|
|
|
|
|
GetNotificationsResponseModel(
|
|
|
|
GetNotificationsResponseModel(
|
|
|
|
{this.id,
|
|
|
|
{this.id,
|
|
|
|
@ -42,7 +47,10 @@ class GetNotificationsResponseModel {
|
|
|
|
this.isRead,
|
|
|
|
this.isRead,
|
|
|
|
this.isReadOn,
|
|
|
|
this.isReadOn,
|
|
|
|
this.channelID,
|
|
|
|
this.channelID,
|
|
|
|
this.projectID});
|
|
|
|
this.projectID,
|
|
|
|
|
|
|
|
this.isExternalRedirect,
|
|
|
|
|
|
|
|
this.externalRedirectURLAndroid,
|
|
|
|
|
|
|
|
this.externalRedirectURLIos, this.redirectButtonTextEn, this.redirectButtonTextAr});
|
|
|
|
|
|
|
|
|
|
|
|
GetNotificationsResponseModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
GetNotificationsResponseModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
id = json['Id'];
|
|
|
|
id = json['Id'];
|
|
|
|
@ -66,6 +74,11 @@ class GetNotificationsResponseModel {
|
|
|
|
isReadOn = json['IsReadOn'];
|
|
|
|
isReadOn = json['IsReadOn'];
|
|
|
|
channelID = json['ChannelID'];
|
|
|
|
channelID = json['ChannelID'];
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
|
|
|
isExternalRedirect = json['isExternalRedirect'];
|
|
|
|
|
|
|
|
externalRedirectURLAndroid = json['externalRedirectURLAndroid'];
|
|
|
|
|
|
|
|
externalRedirectURLIos = json['externalRedirectURLIos'];
|
|
|
|
|
|
|
|
redirectButtonTextEn = json['redirectButtonTextEn'];
|
|
|
|
|
|
|
|
redirectButtonTextAr = json['redirectButtonTextAr'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
@ -91,6 +104,11 @@ class GetNotificationsResponseModel {
|
|
|
|
data['IsReadOn'] = this.isReadOn;
|
|
|
|
data['IsReadOn'] = this.isReadOn;
|
|
|
|
data['ChannelID'] = this.channelID;
|
|
|
|
data['ChannelID'] = this.channelID;
|
|
|
|
data['ProjectID'] = this.projectID;
|
|
|
|
data['ProjectID'] = this.projectID;
|
|
|
|
|
|
|
|
data['isExternalRedirect'] = this.isExternalRedirect;
|
|
|
|
|
|
|
|
data['externalRedirectURLAndroid'] = this.externalRedirectURLAndroid;
|
|
|
|
|
|
|
|
data['externalRedirectURLIos'] = this.externalRedirectURLIos;
|
|
|
|
|
|
|
|
data['redirectButtonTextEn'] = this.redirectButtonTextEn;
|
|
|
|
|
|
|
|
data['redirectButtonTextAr'] = this.redirectButtonTextAr;
|
|
|
|
return data;
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|