import 'dart:convert';

class CheckUserStatusResponseNHIC {
  dynamic date;
  int? languageId;
  int? serviceName;
  dynamic time;
  dynamic androidLink;
  dynamic authenticationTokenId;
  dynamic data;
  bool? dataw;
  int? dietType;
  int? dietTypeId;
  dynamic errorCode;
  dynamic errorEndUserMessage;
  dynamic errorEndUserMessageN;
  dynamic errorMessage;
  int? errorStatusCode;
  int? errorType;
  int? foodCategory;
  dynamic iosLink;
  bool? isAuthenticated;
  int? mealOrderStatus;
  int? mealType;
  int? messageStatus;
  int? numberOfResultRecords;
  dynamic patientBlodType;
  dynamic successMsg;
  dynamic successMsgN;
  dynamic vidaUpdatedResponse;
  dynamic accessTokenObject;
  int? age;
  dynamic clientIdentifierId;
  int? createdBy;
  String? dateOfBirth;
  String? firstNameAr;
  String? firstNameEn;
  String? gender;
  dynamic genderAr;
  dynamic genderEn;
  String? healthId;
  String? idNumber;
  String? idType;
  bool? isHijri;
  int? isInstertedOrUpdated;
  int? isNull;
  int? isPatientExistNhic;
  bool? isRecordLockedByCurrentUser;
  String? lastNameAr;
  String? lastNameEn;
  dynamic listActiveAccessToken;
  String? maritalStatus;
  String? maritalStatusCode;
  String? nationalDateOfBirth;
  String? nationality;
  String? nationalityCode;
  String? occupation;
  dynamic pcdTransactionDataResultList;
  dynamic pcdGetVidaPatientForManualVerificationList;
  dynamic pcdNhicHmgPatientDetailsMatchCalulationList;
  int? pcdReturnValue;
  dynamic patientStatus;
  String? placeofBirth;
  dynamic practitionerStatusCode;
  dynamic practitionerStatusDescAr;
  dynamic practitionerStatusDescEn;
  int? rowCount;
  String? secondNameAr;
  String? secondNameEn;
  String? thirdNameAr;
  String? thirdNameEn;
  dynamic yakeenDoctorDataGetSourceList;
  dynamic yakeenVidaPatientDataStatisticsByPatientIdList;
  dynamic yakeenVidaPatientDataStatisticsList;
  dynamic yakeenVidaPatientDataStatisticsPrefferedList;
  dynamic accessToken;
  int? categoryCode;
  dynamic categoryNameAr;
  dynamic categoryNameEn;
  int? constraintCode;
  dynamic constraintNameAr;
  dynamic constraintNameEn;
  dynamic content;
  dynamic errorList;
  dynamic licenseExpiryDate;
  dynamic licenseIssuedDate;
  dynamic licenseStatusCode;
  dynamic licenseStatusDescAr;
  dynamic licenseStatusDescEn;
  dynamic organizations;
  dynamic registrationNumber;
  int? specialtyCode;
  dynamic specialtyNameAr;
  dynamic specialtyNameEn;

  CheckUserStatusResponseNHIC({
    this.date,
    this.languageId,
    this.serviceName,
    this.time,
    this.androidLink,
    this.authenticationTokenId,
    this.data,
    this.dataw,
    this.dietType,
    this.dietTypeId,
    this.errorCode,
    this.errorEndUserMessage,
    this.errorEndUserMessageN,
    this.errorMessage,
    this.errorStatusCode,
    this.errorType,
    this.foodCategory,
    this.iosLink,
    this.isAuthenticated,
    this.mealOrderStatus,
    this.mealType,
    this.messageStatus,
    this.numberOfResultRecords,
    this.patientBlodType,
    this.successMsg,
    this.successMsgN,
    this.vidaUpdatedResponse,
    this.accessTokenObject,
    this.age,
    this.clientIdentifierId,
    this.createdBy,
    this.dateOfBirth,
    this.firstNameAr,
    this.firstNameEn,
    this.gender,
    this.genderAr,
    this.genderEn,
    this.healthId,
    this.idNumber,
    this.idType,
    this.isHijri,
    this.isInstertedOrUpdated,
    this.isNull,
    this.isPatientExistNhic,
    this.isRecordLockedByCurrentUser,
    this.lastNameAr,
    this.lastNameEn,
    this.listActiveAccessToken,
    this.maritalStatus,
    this.maritalStatusCode,
    this.nationalDateOfBirth,
    this.nationality,
    this.nationalityCode,
    this.occupation,
    this.pcdTransactionDataResultList,
    this.pcdGetVidaPatientForManualVerificationList,
    this.pcdNhicHmgPatientDetailsMatchCalulationList,
    this.pcdReturnValue,
    this.patientStatus,
    this.placeofBirth,
    this.practitionerStatusCode,
    this.practitionerStatusDescAr,
    this.practitionerStatusDescEn,
    this.rowCount,
    this.secondNameAr,
    this.secondNameEn,
    this.thirdNameAr,
    this.thirdNameEn,
    this.yakeenDoctorDataGetSourceList,
    this.yakeenVidaPatientDataStatisticsByPatientIdList,
    this.yakeenVidaPatientDataStatisticsList,
    this.yakeenVidaPatientDataStatisticsPrefferedList,
    this.accessToken,
    this.categoryCode,
    this.categoryNameAr,
    this.categoryNameEn,
    this.constraintCode,
    this.constraintNameAr,
    this.constraintNameEn,
    this.content,
    this.errorList,
    this.licenseExpiryDate,
    this.licenseIssuedDate,
    this.licenseStatusCode,
    this.licenseStatusDescAr,
    this.licenseStatusDescEn,
    this.organizations,
    this.registrationNumber,
    this.specialtyCode,
    this.specialtyNameAr,
    this.specialtyNameEn,
  });

  factory CheckUserStatusResponseNHIC.fromRawJson(String str) => CheckUserStatusResponseNHIC.fromJson(json.decode(str));

  String toRawJson() => json.encode(toJson());

  factory CheckUserStatusResponseNHIC.fromJson(Map<String, dynamic> json) => CheckUserStatusResponseNHIC(
    date: json["Date"],
    languageId: json["LanguageID"],
    serviceName: json["ServiceName"],
    time: json["Time"],
    androidLink: json["AndroidLink"],
    authenticationTokenId: json["AuthenticationTokenID"],
    data: json["Data"],
    dataw: json["Dataw"],
    dietType: json["DietType"],
    dietTypeId: json["DietTypeID"],
    errorCode: json["ErrorCode"],
    errorEndUserMessage: json["ErrorEndUserMessage"],
    errorEndUserMessageN: json["ErrorEndUserMessageN"],
    errorMessage: json["ErrorMessage"],
    errorStatusCode: json["ErrorStatusCode"],
    errorType: json["ErrorType"],
    foodCategory: json["FoodCategory"],
    iosLink: json["IOSLink"],
    isAuthenticated: json["IsAuthenticated"],
    mealOrderStatus: json["MealOrderStatus"],
    mealType: json["MealType"],
    messageStatus: json["MessageStatus"],
    numberOfResultRecords: json["NumberOfResultRecords"],
    patientBlodType: json["PatientBlodType"],
    successMsg: json["SuccessMsg"],
    successMsgN: json["SuccessMsgN"],
    vidaUpdatedResponse: json["VidaUpdatedResponse"],
    accessTokenObject: json["AccessTokenObject"],
    age: json["Age"],
    clientIdentifierId: json["ClientIdentifierId"],
    createdBy: json["CreatedBy"],
    dateOfBirth: json["DateOfBirth"],
    firstNameAr: json["FirstNameAr"],
    firstNameEn: json["FirstNameEn"],
    gender: json["Gender"],
    genderAr: json["GenderAr"],
    genderEn: json["GenderEn"],
    healthId: json["HealthId"],
    idNumber: json["IdNumber"],
    idType: json["IdType"],
    isHijri: json["IsHijri"],
    isInstertedOrUpdated: json["IsInstertedOrUpdated"],
    isNull: json["IsNull"],
    isPatientExistNhic: json["IsPatientExistNHIC"],
    isRecordLockedByCurrentUser: json["IsRecordLockedByCurrentUser"],
    lastNameAr: json["LastNameAr"],
    lastNameEn: json["LastNameEn"],
    listActiveAccessToken: json["List_ActiveAccessToken"],
    maritalStatus: json["MaritalStatus"],
    maritalStatusCode: json["MaritalStatusCode"],
    nationalDateOfBirth: json["NationalDateOfBirth"],
    nationality: json["Nationality"],
    nationalityCode: json["NationalityCode"],
    occupation: json["Occupation"],
    pcdTransactionDataResultList: json["PCDTransactionDataResultList"],
    pcdGetVidaPatientForManualVerificationList: json["PCD_GetVidaPatientForManualVerificationList"],
    pcdNhicHmgPatientDetailsMatchCalulationList: json["PCD_NHIC_HMG_PatientDetailsMatchCalulationList"],
    pcdReturnValue: json["PCD_ReturnValue"],
    patientStatus: json["PatientStatus"],
    placeofBirth: json["PlaceofBirth"],
    practitionerStatusCode: json["PractitionerStatusCode"],
    practitionerStatusDescAr: json["PractitionerStatusDescAr"],
    practitionerStatusDescEn: json["PractitionerStatusDescEn"],
    rowCount: json["RowCount"],
    secondNameAr: json["SecondNameAr"],
    secondNameEn: json["SecondNameEn"],
    thirdNameAr: json["ThirdNameAr"],
    thirdNameEn: json["ThirdNameEn"],
    yakeenDoctorDataGetSourceList: json["YakeenDoctorData_GetSourceList"],
    yakeenVidaPatientDataStatisticsByPatientIdList: json["YakeenVidaPatientDataStatisticsByPatientIdList"],
    yakeenVidaPatientDataStatisticsList: json["YakeenVidaPatientDataStatisticsList"],
    yakeenVidaPatientDataStatisticsPrefferedList: json["YakeenVidaPatientDataStatisticsPrefferedList"],
    accessToken: json["accessToken"],
    categoryCode: json["categoryCode"],
    categoryNameAr: json["categoryNameAr"],
    categoryNameEn: json["categoryNameEn"],
    constraintCode: json["constraintCode"],
    constraintNameAr: json["constraintNameAr"],
    constraintNameEn: json["constraintNameEn"],
    content: json["content"],
    errorList: json["errorList"],
    licenseExpiryDate: json["licenseExpiryDate"],
    licenseIssuedDate: json["licenseIssuedDate"],
    licenseStatusCode: json["licenseStatusCode"],
    licenseStatusDescAr: json["licenseStatusDescAr"],
    licenseStatusDescEn: json["licenseStatusDescEn"],
    organizations: json["organizations"],
    registrationNumber: json["registrationNumber"],
    specialtyCode: json["specialtyCode"],
    specialtyNameAr: json["specialtyNameAr"],
    specialtyNameEn: json["specialtyNameEn"],
  );

  Map<String, dynamic> toJson() => {
    "Date": date,
    "LanguageID": languageId,
    "ServiceName": serviceName,
    "Time": time,
    "AndroidLink": androidLink,
    "AuthenticationTokenID": authenticationTokenId,
    "Data": data,
    "Dataw": dataw,
    "DietType": dietType,
    "DietTypeID": dietTypeId,
    "ErrorCode": errorCode,
    "ErrorEndUserMessage": errorEndUserMessage,
    "ErrorEndUserMessageN": errorEndUserMessageN,
    "ErrorMessage": errorMessage,
    "ErrorStatusCode": errorStatusCode,
    "ErrorType": errorType,
    "FoodCategory": foodCategory,
    "IOSLink": iosLink,
    "IsAuthenticated": isAuthenticated,
    "MealOrderStatus": mealOrderStatus,
    "MealType": mealType,
    "MessageStatus": messageStatus,
    "NumberOfResultRecords": numberOfResultRecords,
    "PatientBlodType": patientBlodType,
    "SuccessMsg": successMsg,
    "SuccessMsgN": successMsgN,
    "VidaUpdatedResponse": vidaUpdatedResponse,
    "AccessTokenObject": accessTokenObject,
    "Age": age,
    "ClientIdentifierId": clientIdentifierId,
    "CreatedBy": createdBy,
    "DateOfBirth": dateOfBirth,
    "FirstNameAr": firstNameAr,
    "FirstNameEn": firstNameEn,
    "Gender": gender,
    "GenderAr": genderAr,
    "GenderEn": genderEn,
    "HealthId": healthId,
    "IdNumber": idNumber,
    "IdType": idType,
    "IsHijri": isHijri,
    "IsInstertedOrUpdated": isInstertedOrUpdated,
    "IsNull": isNull,
    "IsPatientExistNHIC": isPatientExistNhic,
    "IsRecordLockedByCurrentUser": isRecordLockedByCurrentUser,
    "LastNameAr": lastNameAr,
    "LastNameEn": lastNameEn,
    "List_ActiveAccessToken": listActiveAccessToken,
    "MaritalStatus": maritalStatus,
    "MaritalStatusCode": maritalStatusCode,
    "NationalDateOfBirth": nationalDateOfBirth,
    "Nationality": nationality,
    "NationalityCode": nationalityCode,
    "Occupation": occupation,
    "PCDTransactionDataResultList": pcdTransactionDataResultList,
    "PCD_GetVidaPatientForManualVerificationList": pcdGetVidaPatientForManualVerificationList,
    "PCD_NHIC_HMG_PatientDetailsMatchCalulationList": pcdNhicHmgPatientDetailsMatchCalulationList,
    "PCD_ReturnValue": pcdReturnValue,
    "PatientStatus": patientStatus,
    "PlaceofBirth": placeofBirth,
    "PractitionerStatusCode": practitionerStatusCode,
    "PractitionerStatusDescAr": practitionerStatusDescAr,
    "PractitionerStatusDescEn": practitionerStatusDescEn,
    "RowCount": rowCount,
    "SecondNameAr": secondNameAr,
    "SecondNameEn": secondNameEn,
    "ThirdNameAr": thirdNameAr,
    "ThirdNameEn": thirdNameEn,
    "YakeenDoctorData_GetSourceList": yakeenDoctorDataGetSourceList,
    "YakeenVidaPatientDataStatisticsByPatientIdList": yakeenVidaPatientDataStatisticsByPatientIdList,
    "YakeenVidaPatientDataStatisticsList": yakeenVidaPatientDataStatisticsList,
    "YakeenVidaPatientDataStatisticsPrefferedList": yakeenVidaPatientDataStatisticsPrefferedList,
    "accessToken": accessToken,
    "categoryCode": categoryCode,
    "categoryNameAr": categoryNameAr,
    "categoryNameEn": categoryNameEn,
    "constraintCode": constraintCode,
    "constraintNameAr": constraintNameAr,
    "constraintNameEn": constraintNameEn,
    "content": content,
    "errorList": errorList,
    "licenseExpiryDate": licenseExpiryDate,
    "licenseIssuedDate": licenseIssuedDate,
    "licenseStatusCode": licenseStatusCode,
    "licenseStatusDescAr": licenseStatusDescAr,
    "licenseStatusDescEn": licenseStatusDescEn,
    "organizations": organizations,
    "registrationNumber": registrationNumber,
    "specialtyCode": specialtyCode,
    "specialtyNameAr": specialtyNameAr,
    "specialtyNameEn": specialtyNameEn,
  };
}
