class DoctorsByClinicIdRequest {

/* 
 *@author: Ibrahim Albitar 
 *@Date:03/06/2020  
 *@param: 
 *@return:
 *@desc:   DoctorsByClinicIdRequest
 */

  int projectID;
  String clinicID;
  int languageID;
  String stamp;
  String iPAdress;
  double versionID;
  int channel;
  String tokenID;
  String sessionID;
  bool isLoginForDoctorApp;
  bool patientOutSA;
  int patientTypeID;

  /*
  {
    "ProjectID": 21,
    "ClinicID": "0",
    "LanguageID": 2,
    "stamp": "2020-06-03T11:22:04.702Z",
    "IPAdress": "11.11.11.11",
    "VersionID": 1.2,
    "Channel": 9,
    "TokenID": "gyIQFH4WWEm2Tq7xjYMjsg==",
    "SessionID": "JBXRsDl37L",
    "IsLoginForDoctorApp": true,
    "PatientOutSA": false,
    "PatientTypeID": 1
}
  */

  DoctorsByClinicIdRequest(
      {this.projectID,
      this.clinicID,
      this.languageID = 2,
      this.stamp = "2020-06-03T11:22:04.702Z",
      this.iPAdress = "11.11.11.11",
      this.versionID = 1.2,
      this.channel = 9,
      this.tokenID,
      this.sessionID = "JBXRsDl37L",
      this.isLoginForDoctorApp = true,
      this.patientOutSA = false,
      this.patientTypeID = 1});

  DoctorsByClinicIdRequest.fromJson(Map<String, dynamic> json) {
    projectID = json['ProjectID'];
    clinicID = json['ClinicID'];
    languageID = json['LanguageID'];
    stamp = json['stamp'];
    iPAdress = json['IPAdress'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    tokenID = json['TokenID'];
    sessionID = json['SessionID'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
    patientOutSA = json['PatientOutSA'];
    patientTypeID = json['PatientTypeID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ProjectID'] = this.projectID;
    data['ClinicID'] = this.clinicID;
    data['LanguageID'] = this.languageID;
    data['stamp'] = this.stamp;
    data['IPAdress'] = this.iPAdress;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['TokenID'] = this.tokenID;
    data['SessionID'] = this.sessionID;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    data['PatientOutSA'] = this.patientOutSA;
    data['PatientTypeID'] = this.patientTypeID;
    return data;
  }
}
