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.
PatientApp-KKUMC/lib/models/Authentication/registered_authenticated_us...

105 lines
3.1 KiB
Dart

class RegisteredAuthenticatedUserRequest {
double? versionID;
int? channel;
int? languageID;
String? iPAdress;
String? generalid;
int? patientOutSA;
String? sessionID;
bool? isDentalAllowedBackend;
int? deviceTypeID;
int? patientID;
String? tokenID;
String? voipToken;
int? patientTypeID;
int? patientType;
String? deviceToken;
String? deviceType;
String? patientMobileNumber;
String? nationalID;
int? gender;
int? loginType;
String? mACAddress;
int? latitude;
int? longitude;
RegisteredAuthenticatedUserRequest(
{this.versionID,
this.channel,
this.languageID,
this.iPAdress,
this.generalid,
this.patientOutSA,
this.sessionID,
this.isDentalAllowedBackend,
this.deviceTypeID,
this.patientID,
this.tokenID,
this.voipToken,
this.patientTypeID,
this.patientType,
this.deviceToken,
this.deviceType,
this.patientMobileNumber,
this.nationalID,
this.gender,
this.loginType,
this.mACAddress,
this.latitude,
this.longitude});
RegisteredAuthenticatedUserRequest.fromJson(Map<String, dynamic> json) {
versionID = json['VersionID'];
channel = json['Channel'];
languageID = json['LanguageID'];
iPAdress = json['IPAdress'];
generalid = json['generalid'];
patientOutSA = json['PatientOutSA'];
sessionID = json['SessionID'];
isDentalAllowedBackend = json['isDentalAllowedBackend'];
deviceTypeID = json['DeviceTypeID'];
patientID = json['PatientID'];
tokenID = json['TokenID'];
voipToken = json['VoipToken'];
patientTypeID = json['PatientTypeID'];
patientType = json['PatientType'];
deviceToken = json['DeviceToken'];
deviceType = json['DeviceType'];
patientMobileNumber = json['PatientMobileNumber'];
nationalID = json['NationalID'];
gender = json['Gender'];
loginType = json['LoginType'];
mACAddress = json['MACAddress'];
latitude = json['Latitude'];
longitude = json['Longitude'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['VersionID'] = this.versionID;
data['Channel'] = this.channel;
data['LanguageID'] = this.languageID;
data['IPAdress'] = this.iPAdress;
data['generalid'] = this.generalid;
data['PatientOutSA'] = this.patientOutSA;
data['SessionID'] = this.sessionID;
data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
data['DeviceTypeID'] = this.deviceTypeID;
data['PatientID'] = this.patientID;
data['TokenID'] = this.tokenID;
data['VoipToken'] = this.voipToken;
data['PatientTypeID'] = this.patientTypeID;
data['PatientType'] = this.patientType;
data['DeviceToken'] = this.deviceToken;
data['DeviceType'] = this.deviceType;
data['PatientMobileNumber'] = this.patientMobileNumber;
data['NationalID'] = this.nationalID;
data['Gender'] = this.gender;
data['LoginType'] = this.loginType;
data['MACAddress'] = this.mACAddress;
data['Latitude'] = this.latitude;
data['Longitude'] = this.longitude;
return data;
}
}