|
|
|
@ -5,16 +5,19 @@ class CheckActivationCodeForDoctorAppResponseModel {
|
|
|
|
late List<ListDoctorsClinic>? listDoctorsClinic;
|
|
|
|
late List<ListDoctorsClinic>? listDoctorsClinic;
|
|
|
|
List<DoctorProfileModel>? listDoctorProfile;
|
|
|
|
List<DoctorProfileModel>? listDoctorProfile;
|
|
|
|
late MemberInformation? memberInformation;
|
|
|
|
late MemberInformation? memberInformation;
|
|
|
|
String vidaAuthTokenID;
|
|
|
|
String? vidaAuthTokenID;
|
|
|
|
String vidaRefreshTokenID;
|
|
|
|
String? vidaRefreshTokenID;
|
|
|
|
|
|
|
|
|
|
|
|
CheckActivationCodeForDoctorAppResponseModel(
|
|
|
|
CheckActivationCodeForDoctorAppResponseModel(
|
|
|
|
{this.authenticationTokenID, this.listDoctorsClinic, this.memberInformation,
|
|
|
|
{this.authenticationTokenID,
|
|
|
|
|
|
|
|
this.listDoctorsClinic,
|
|
|
|
|
|
|
|
this.memberInformation,
|
|
|
|
this.listDoctorProfile,
|
|
|
|
this.listDoctorProfile,
|
|
|
|
this.vidaAuthTokenID,
|
|
|
|
this.vidaAuthTokenID,
|
|
|
|
this.vidaRefreshTokenID});
|
|
|
|
this.vidaRefreshTokenID});
|
|
|
|
|
|
|
|
|
|
|
|
CheckActivationCodeForDoctorAppResponseModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
CheckActivationCodeForDoctorAppResponseModel.fromJson(
|
|
|
|
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
authenticationTokenID = json['AuthenticationTokenID'];
|
|
|
|
authenticationTokenID = json['AuthenticationTokenID'];
|
|
|
|
if (json['List_DoctorsClinic'] != null) {
|
|
|
|
if (json['List_DoctorsClinic'] != null) {
|
|
|
|
listDoctorsClinic = [];
|
|
|
|
listDoctorsClinic = [];
|
|
|
|
@ -32,19 +35,22 @@ class CheckActivationCodeForDoctorAppResponseModel {
|
|
|
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
|
|
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
|
|
|
vidaRefreshTokenID = json['VidaRefreshTokenID'];
|
|
|
|
vidaRefreshTokenID = json['VidaRefreshTokenID'];
|
|
|
|
|
|
|
|
|
|
|
|
memberInformation =
|
|
|
|
memberInformation = json['memberInformation'] != null
|
|
|
|
json['memberInformation'] != null ? new MemberInformation.fromJson(json['memberInformation']) : null;
|
|
|
|
? new MemberInformation.fromJson(json['memberInformation'])
|
|
|
|
|
|
|
|
: null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
data['AuthenticationTokenID'] = this.authenticationTokenID;
|
|
|
|
data['AuthenticationTokenID'] = this.authenticationTokenID;
|
|
|
|
if (this.listDoctorsClinic != null) {
|
|
|
|
if (this.listDoctorsClinic != null) {
|
|
|
|
data['List_DoctorsClinic'] = this.listDoctorsClinic!.map((v) => v.toJson()).toList();
|
|
|
|
data['List_DoctorsClinic'] =
|
|
|
|
|
|
|
|
this.listDoctorsClinic!.map((v) => v.toJson()).toList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.listDoctorProfile != null) {
|
|
|
|
if (this.listDoctorProfile != null) {
|
|
|
|
data['List_DoctorProfile'] = this.listDoctorProfile!.map((v) => v.toJson()).toList();
|
|
|
|
data['List_DoctorProfile'] =
|
|
|
|
|
|
|
|
this.listDoctorProfile!.map((v) => v.toJson()).toList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (this.memberInformation != null) {
|
|
|
|
if (this.memberInformation != null) {
|
|
|
|
data['memberInformation'] = this.memberInformation!.toJson();
|
|
|
|
data['memberInformation'] = this.memberInformation!.toJson();
|
|
|
|
@ -61,7 +67,13 @@ class ListDoctorsClinic {
|
|
|
|
late bool? isActive;
|
|
|
|
late bool? isActive;
|
|
|
|
late String? clinicName;
|
|
|
|
late String? clinicName;
|
|
|
|
|
|
|
|
|
|
|
|
ListDoctorsClinic({this.setupID, this.projectID, this.doctorID, this.clinicID, this.isActive, this.clinicName});
|
|
|
|
ListDoctorsClinic(
|
|
|
|
|
|
|
|
{this.setupID,
|
|
|
|
|
|
|
|
this.projectID,
|
|
|
|
|
|
|
|
this.doctorID,
|
|
|
|
|
|
|
|
this.clinicID,
|
|
|
|
|
|
|
|
this.isActive,
|
|
|
|
|
|
|
|
this.clinicName});
|
|
|
|
|
|
|
|
|
|
|
|
ListDoctorsClinic.fromJson(Map<String, dynamic> json) {
|
|
|
|
ListDoctorsClinic.fromJson(Map<String, dynamic> json) {
|
|
|
|
setupID = json['SetupID'];
|
|
|
|
setupID = json['SetupID'];
|
|
|
|
|