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.
93 lines
2.7 KiB
Dart
93 lines
2.7 KiB
Dart
class insertVIDARequest {
|
|
int patientID;
|
|
int acceptedBy;
|
|
int appointmentNo;
|
|
String deviceToken;
|
|
double latitude;
|
|
double longitude;
|
|
int serviceID;
|
|
int projectID;
|
|
int clinicID;
|
|
String deviceType;
|
|
String voipToken;
|
|
double versionID;
|
|
int channel;
|
|
int languageID;
|
|
String iPAdress;
|
|
String generalid;
|
|
int patientOutSA;
|
|
String sessionID;
|
|
bool isDentalAllowedBackend;
|
|
int deviceTypeID;
|
|
|
|
insertVIDARequest(
|
|
{this.patientID,
|
|
this.acceptedBy,
|
|
this.appointmentNo,
|
|
this.deviceToken,
|
|
this.latitude,
|
|
this.longitude,
|
|
this.serviceID,
|
|
this.projectID,
|
|
this.clinicID,
|
|
this.deviceType,
|
|
this.voipToken,
|
|
this.versionID,
|
|
this.channel,
|
|
this.languageID,
|
|
this.iPAdress,
|
|
this.generalid,
|
|
this.patientOutSA,
|
|
this.sessionID,
|
|
this.isDentalAllowedBackend,
|
|
this.deviceTypeID});
|
|
|
|
insertVIDARequest.fromJson(Map<String, dynamic> json) {
|
|
patientID = json['PatientID'];
|
|
acceptedBy = json['AcceptedBy'];
|
|
appointmentNo = json['AppointmentNo'];
|
|
deviceToken = json['DeviceToken'];
|
|
latitude = json['Latitude'];
|
|
longitude = json['Longitude'];
|
|
serviceID = json['ServiceID'];
|
|
projectID = json['ProjectID'];
|
|
clinicID = json['ClinicID'];
|
|
deviceType = json['DeviceType'];
|
|
voipToken = json['VoipToken'];
|
|
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'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['PatientID'] = this.patientID;
|
|
data['AcceptedBy'] = this.acceptedBy;
|
|
data['AppointmentNo'] = this.appointmentNo;
|
|
data['DeviceToken'] = this.deviceToken;
|
|
data['Latitude'] = this.latitude;
|
|
data['Longitude'] = this.longitude;
|
|
data['ServiceID'] = this.serviceID;
|
|
data['ProjectID'] = this.projectID;
|
|
data['ClinicID'] = this.clinicID;
|
|
data['DeviceType'] = this.deviceType;
|
|
data['VoipToken'] = this.voipToken;
|
|
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;
|
|
return data;
|
|
}
|
|
}
|