class AddFamilyFileReq {
  int searchType;
  int sharedPatientID;
  String sharedPatientIdentificationID;
  String sharedPatientMobileNumber;
  String zipCode;
  bool isRegister;
  int patientStatus;
  double versionID;
  int channel;
  int languageID;
  String iPAdress;
  String generalid;
  int patientOutSA;
  String sessionID;
  bool isDentalAllowedBackend;
  int deviceTypeID;
  int patientID;
  String tokenID;
  int patientTypeID;
  int patientType;

  AddFamilyFileReq(
      {this.searchType,
      this.sharedPatientID,
      this.sharedPatientIdentificationID,
      this.sharedPatientMobileNumber,
      this.zipCode,
      this.isRegister,
      this.patientStatus,
      this.versionID,
      this.channel,
      this.languageID,
      this.iPAdress,
      this.generalid,
      this.patientOutSA,
      this.sessionID,
      this.isDentalAllowedBackend,
      this.deviceTypeID,
      this.patientID,
      this.tokenID,
      this.patientTypeID,
      this.patientType});

  AddFamilyFileReq.fromJson(Map<String, dynamic> json) {
    searchType = json['SearchType'];
    sharedPatientID = json['SharedPatientID'];
    sharedPatientIdentificationID = json['SharedPatientIdentificationID'];
    sharedPatientMobileNumber = json['SharedPatientMobileNumber'];
    zipCode = json['ZipCode'];
    isRegister = json['isRegister'];
    patientStatus = json['PatientStatus'];
    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'];
    patientTypeID = json['PatientTypeID'];
    patientType = json['PatientType'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['SearchType'] = this.searchType;
    data['SharedPatientID'] = this.sharedPatientID;
    data['SharedPatientIdentificationID'] = this.sharedPatientIdentificationID;
    data['SharedPatientMobileNumber'] = this.sharedPatientMobileNumber;
    data['ZipCode'] = this.zipCode;
    data['isRegister'] = this.isRegister;
    data['PatientStatus'] = this.patientStatus;
    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['PatientTypeID'] = this.patientTypeID;
    data['PatientType'] = this.patientType;
    return data;
  }
}
