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.
101 lines
3.0 KiB
Dart
101 lines
3.0 KiB
Dart
4 years ago
|
class SendActivationRequest {
|
||
4 years ago
|
int patientMobileNumber;
|
||
4 years ago
|
String mobileNo;
|
||
|
String deviceToken;
|
||
|
int projectOutSA;
|
||
|
int loginType;
|
||
4 years ago
|
String zipCode;
|
||
|
bool isRegister;
|
||
4 years ago
|
String logInTokenID;
|
||
4 years ago
|
int searchType;
|
||
|
int patientID;
|
||
4 years ago
|
String nationalID;
|
||
|
String patientIdentificationID;
|
||
|
int oTPSendType;
|
||
|
int languageID;
|
||
4 years ago
|
double versionID;
|
||
|
int channel;
|
||
|
String iPAdress;
|
||
|
String generalid;
|
||
|
int patientOutSA;
|
||
|
Null sessionID;
|
||
|
bool isDentalAllowedBackend;
|
||
|
int deviceTypeID;
|
||
|
|
||
4 years ago
|
SendActivationRequest(
|
||
4 years ago
|
{this.patientMobileNumber,
|
||
4 years ago
|
this.mobileNo,
|
||
|
this.deviceToken,
|
||
|
this.projectOutSA,
|
||
|
this.loginType,
|
||
4 years ago
|
this.zipCode,
|
||
|
this.isRegister,
|
||
4 years ago
|
this.logInTokenID,
|
||
4 years ago
|
this.searchType,
|
||
|
this.patientID,
|
||
4 years ago
|
this.nationalID,
|
||
|
this.patientIdentificationID,
|
||
|
this.oTPSendType,
|
||
|
this.languageID,
|
||
4 years ago
|
this.versionID,
|
||
|
this.channel,
|
||
|
this.iPAdress,
|
||
|
this.generalid,
|
||
|
this.patientOutSA,
|
||
|
this.sessionID,
|
||
|
this.isDentalAllowedBackend,
|
||
|
this.deviceTypeID});
|
||
|
|
||
4 years ago
|
SendActivationRequest.fromJson(Map<String, dynamic> json) {
|
||
4 years ago
|
patientMobileNumber = json['PatientMobileNumber'];
|
||
4 years ago
|
mobileNo = json['MobileNo'];
|
||
|
deviceToken = json['DeviceToken'];
|
||
|
projectOutSA = json['ProjectOutSA'];
|
||
|
loginType = json['LoginType'];
|
||
4 years ago
|
zipCode = json['ZipCode'];
|
||
|
isRegister = json['isRegister'];
|
||
4 years ago
|
logInTokenID = json['LogInTokenID'];
|
||
4 years ago
|
searchType = json['SearchType'];
|
||
|
patientID = json['PatientID'];
|
||
4 years ago
|
nationalID = json['NationalID'];
|
||
|
patientIdentificationID = json['PatientIdentificationID'];
|
||
|
oTPSendType = json['OTP_SendType'];
|
||
|
languageID = json['LanguageID'];
|
||
4 years ago
|
versionID = json['VersionID'];
|
||
|
channel = json['Channel'];
|
||
|
iPAdress = json['IPAdress'];
|
||
|
generalid = json['generalid'];
|
||
|
patientOutSA = json['PatientOutSA'];
|
||
|
sessionID = json['SessionID'];
|
||
|
isDentalAllowedBackend = json['isDentalAllowedBackend'];
|
||
|
deviceTypeID = json['DeviceTypeID'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||
|
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||
4 years ago
|
data['MobileNo'] = this.mobileNo;
|
||
|
data['DeviceToken'] = this.deviceToken;
|
||
|
data['ProjectOutSA'] = this.projectOutSA;
|
||
|
data['LoginType'] = this.loginType;
|
||
4 years ago
|
data['ZipCode'] = this.zipCode;
|
||
|
data['isRegister'] = this.isRegister;
|
||
4 years ago
|
data['LogInTokenID'] = this.logInTokenID;
|
||
4 years ago
|
data['SearchType'] = this.searchType;
|
||
|
data['PatientID'] = this.patientID;
|
||
4 years ago
|
data['NationalID'] = this.nationalID;
|
||
|
data['PatientIdentificationID'] = this.patientIdentificationID;
|
||
|
data['OTP_SendType'] = this.oTPSendType;
|
||
|
data['LanguageID'] = this.languageID;
|
||
4 years ago
|
data['VersionID'] = this.versionID;
|
||
|
data['Channel'] = this.channel;
|
||
|
data['IPAdress'] = this.iPAdress;
|
||
|
data['generalid'] = this.generalid;
|
||
|
data['PatientOutSA'] = this.patientOutSA;
|
||
|
data['SessionID'] = this.sessionID;
|
||
|
data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
|
||
|
data['DeviceTypeID'] = this.deviceTypeID;
|
||
|
return data;
|
||
|
}
|
||
|
}
|