class PatientShareResponse {
  int? advanceNumber;
  dynamic appointmentDate;
  int? appointmentNo;
  int? cashPrice;
  int? cashPriceTax;
  int? cashPriceWithTax;
  int? clinicID;
  dynamic clinicName;
  int? companyId;
  dynamic companyName;
  int? companyShareWithTax;
  dynamic doctorImageURL;
  dynamic doctorNameObj;
  int? doctorID;
  List<dynamic>? doctorSpeciality;
  dynamic errCode;
  int? groupID;
  bool? iSAllowOnlineCheckedIN;
  dynamic insurancePolicyNo;
  bool? isExcludedForOnlineCheckin;
  int? isFollowup;
  bool? isLiveCareAppointment;
  bool? isOnlineCheckedIN;
  dynamic message;
  int? nextAction;
  dynamic patientCardID;
  int? patientID;
  dynamic patientShare;
  dynamic patientShareWithTax;
  int? patientStatusType;
  dynamic patientTaxAmount;
  dynamic patientType;
  int? paymentAmount;
  dynamic paymentDate;
  dynamic paymentMethodName;
  dynamic paymentReferenceNumber;
  int? policyId;
  dynamic policyName;
  dynamic procedureName;
  int? projectID;
  dynamic projectName;
  dynamic setupID;
  int? sourceType;
  dynamic startTime;
  int? status;
  int? statusCode;
  dynamic statusDesc;
  dynamic subPolicyNo;
  int? userID;
  int? serviceID;

  PatientShareResponse(
      {this.advanceNumber,
      this.appointmentDate,
      this.appointmentNo,
      this.cashPrice,
      this.cashPriceTax,
      this.cashPriceWithTax,
      this.clinicID,
      this.clinicName,
      this.companyId,
      this.companyName,
      this.companyShareWithTax,
      this.doctorID,
      this.doctorImageURL,
      this.doctorNameObj,
      this.doctorSpeciality,
      this.errCode,
      this.groupID,
      this.iSAllowOnlineCheckedIN,
      this.insurancePolicyNo,
      this.isExcludedForOnlineCheckin,
      this.isFollowup,
      this.isLiveCareAppointment,
      this.isOnlineCheckedIN,
      this.message,
      this.nextAction,
      this.patientCardID,
      this.patientID,
      this.patientShare,
      this.patientShareWithTax,
      this.patientStatusType,
      this.patientTaxAmount,
      this.patientType,
      this.paymentAmount,
      this.paymentDate,
      this.paymentMethodName,
      this.paymentReferenceNumber,
      this.policyId,
      this.policyName,
      this.procedureName,
      this.projectID,
      this.projectName,
      this.setupID,
      this.sourceType,
      this.startTime,
      this.status,
      this.statusCode,
      this.statusDesc,
      this.subPolicyNo,
      this.userID,
      this.serviceID});

  PatientShareResponse.fromJson(Map<dynamic, dynamic> json) {
    advanceNumber = json['AdvanceNumber'];
    appointmentDate = json['AppointmentDate'];
    appointmentNo = json['AppointmentNo'];
    cashPrice = json['CashPrice'];
    cashPriceTax = json['CashPriceTax'];
    cashPriceWithTax = json['CashPriceWithTax'];
    clinicID = json['ClinicID'];
    clinicName = json['ClinicName'];
    companyId = json['CompanyId'];
    companyName = json['CompanyName'];
    companyShareWithTax = json['CompanyShareWithTax'];
    doctorID = json['DoctorID'];
    doctorImageURL = json['DoctorImageURL'];
    doctorNameObj = json['DoctorNameObj'];
//    doctorSpeciality = json['DoctorSpeciality'].cast<dynamic>();
    errCode = json['ErrCode'];
    groupID = json['GroupID'];
    iSAllowOnlineCheckedIN = json['ISAllowOnlineCheckedIN'];
    insurancePolicyNo = json['InsurancePolicyNo'];
    isExcludedForOnlineCheckin = json['IsExcludedForOnlineCheckin'];
    isFollowup = json['IsFollowup'];
    isLiveCareAppointment = json['IsLiveCareAppointment'];
    isOnlineCheckedIN = json['IsOnlineCheckedIN'];
    message = json['Message'];
    nextAction = json['NextAction'];
    patientCardID = json['PatientCardID'];
    patientID = json['PatientID'];
    patientShare = json['PatientShare'];
    patientShareWithTax = json['PatientShareWithTax'];
    patientStatusType = json['PatientStatusType'];
    patientTaxAmount = json['PatientTaxAmount'];
    patientType = json['PatientType'];
    paymentAmount = json['PaymentAmount'];
    paymentDate = json['PaymentDate'];
    paymentMethodName = json['PaymentMethodName'];
    paymentReferenceNumber = json['PaymentReferenceNumber'];
    policyId = json['PolicyId'];
    policyName = json['PolicyName'];
    procedureName = json['ProcedureName'];
    projectID = json['ProjectID'];
    projectName = json['ProjectName'];
    setupID = json['SetupID'];
    sourceType = json['SourceType'];
    startTime = json['StartTime'];
    status = json['Status'];
    statusCode = json['StatusCode'];
    statusDesc = json['StatusDesc'];
    subPolicyNo = json['SubPolicyNo'];
    userID = json['UserID'];
    serviceID = json['ServiceID'];
  }

  Map<dynamic, dynamic> toJson() {
    final Map<dynamic, dynamic> data = new Map<dynamic, dynamic>();
    data['AdvanceNumber'] = this.advanceNumber;
    data['AppointmentDate'] = this.appointmentDate;
    data['AppointmentNo'] = this.appointmentNo;
    data['CashPrice'] = this.cashPrice;
    data['CashPriceTax'] = this.cashPriceTax;
    data['CashPriceWithTax'] = this.cashPriceWithTax;
    data['ClinicID'] = this.clinicID;
    data['ClinicName'] = this.clinicName;
    data['CompanyId'] = this.companyId;
    data['CompanyName'] = this.companyName;
    data['CompanyShareWithTax'] = this.companyShareWithTax;
    data['DoctorID'] = this.doctorID;
    data['DoctorImageURL'] = this.doctorImageURL;
    data['DoctorNameObj'] = this.doctorNameObj;
    data['DoctorSpeciality'] = this.doctorSpeciality;
    data['ErrCode'] = this.errCode;
    data['GroupID'] = this.groupID;
    data['ISAllowOnlineCheckedIN'] = this.iSAllowOnlineCheckedIN;
    data['InsurancePolicyNo'] = this.insurancePolicyNo;
    data['IsExcludedForOnlineCheckin'] = this.isExcludedForOnlineCheckin;
    data['IsFollowup'] = this.isFollowup;
    data['IsLiveCareAppointment'] = this.isLiveCareAppointment;
    data['IsOnlineCheckedIN'] = this.isOnlineCheckedIN;
    data['Message'] = this.message;
    data['NextAction'] = this.nextAction;
    data['PatientCardID'] = this.patientCardID;
    data['PatientID'] = this.patientID;
    data['PatientShare'] = this.patientShare;
    data['PatientShareWithTax'] = this.patientShareWithTax;
    data['PatientStatusType'] = this.patientStatusType;
    data['PatientTaxAmount'] = this.patientTaxAmount;
    data['PatientType'] = this.patientType;
    data['PaymentAmount'] = this.paymentAmount;
    data['PaymentDate'] = this.paymentDate;
    data['PaymentMethodName'] = this.paymentMethodName;
    data['PaymentReferenceNumber'] = this.paymentReferenceNumber;
    data['PolicyId'] = this.policyId;
    data['PolicyName'] = this.policyName;
    data['ProcedureName'] = this.procedureName;
    data['ProjectID'] = this.projectID;
    data['ProjectName'] = this.projectName;
    data['SetupID'] = this.setupID;
    data['SourceType'] = this.sourceType;
    data['StartTime'] = this.startTime;
    data['Status'] = this.status;
    data['StatusCode'] = this.statusCode;
    data['StatusDesc'] = this.statusDesc;
    data['SubPolicyNo'] = this.subPolicyNo;
    data['UserID'] = this.userID;
    data['ServiceID'] = this.serviceID;
    return data;
  }
}
