class STPReferralFrequencyRequest {

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


  STPReferralFrequencyRequest(
      {this.languageID = 2,
      this.stamp = "2020-06-03T11:18:19.986Z",
      this.iPAdress = "11.11.11.11",
      this.channel = 9,
      this.tokenID,
      this.sessionID = "JBXRsDl37L",
      this.isLoginForDoctorApp = true,
      this.patientOutSA = false,
      this.patientTypeID = 1});

  STPReferralFrequencyRequest.fromJson(Map<String, dynamic> json) {
    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['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;
  }
}
