class DoctorsByClinicIdRequest {

  int clinicID;
  int projectID;
  bool continueDentalPlan;
  bool isSearchAppointmnetByClinicID;
  int patientID;
  int gender;
  bool isGetNearAppointment;
  bool isVoiceCommand;
  int latitude;
  int longitude;
  bool license;
  bool isDentalAllowedBackend;


  DoctorsByClinicIdRequest(
      {
        this.clinicID,
        this.projectID,
        this.continueDentalPlan = false,
        this.isSearchAppointmnetByClinicID = true,
        this.patientID,
        this.gender,
        this.isGetNearAppointment = false,
        this.isVoiceCommand = true,
        this.latitude = 0,
        this.longitude = 0,
        this.license = true,
        this.isDentalAllowedBackend = false,
        });


  DoctorsByClinicIdRequest.fromJson(Map<String, dynamic> json) {
    clinicID = json['ClinicID'];
    projectID = json['ProjectID'];
    continueDentalPlan = json['ContinueDentalPlan'];
    isSearchAppointmnetByClinicID = json['IsSearchAppointmnetByClinicID'];
    patientID = json['PatientID'];
    gender = json['gender'];
    isGetNearAppointment = json['IsGetNearAppointment'];
    isVoiceCommand = json['IsVoiceCommand'];
    latitude = json['Latitude'];
    longitude = json['Longitude'];
    license = json['License'];
    isDentalAllowedBackend = json['isDentalAllowedBackend'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ClinicID'] = this.clinicID;
    data['ProjectID'] = this.projectID;
    data['ContinueDentalPlan'] = this.continueDentalPlan;
    data['IsSearchAppointmnetByClinicID'] = this.isSearchAppointmnetByClinicID;
    data['PatientID'] = this.patientID;
    data['gender'] = this.gender;
    data['IsGetNearAppointment'] = this.isGetNearAppointment;
    data['IsVoiceCommand'] = this.isVoiceCommand;
    data['Latitude'] = this.latitude;
    data['Longitude'] = this.longitude;
    data['License'] = this.license;
    data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
    return data;

  }
}
