class PostParamsModel {
  String? imei;
  String? tokenID;
  int? languageID;
  String? stamp;
  String? iPAdress;
  double? versionID;
  int? channel;
  String? sessionID;
  bool? isLoginForDoctorApp;
  bool? patientOutSA;
  String? vidaAuthTokenID;
  String? vidaRefreshTokenID;
  int? deviceTypeID;

  PostParamsModel({
    this.imei,
    this.tokenID,
    this.languageID,
    this.stamp,
    this.iPAdress,
    this.versionID,
    this.channel,
    this.sessionID,
    this.isLoginForDoctorApp,
    this.patientOutSA,
    this.vidaAuthTokenID,
    this.vidaRefreshTokenID,
    this.deviceTypeID,
  });

  PostParamsModel.fromJson(Map<String, dynamic> json) {
    imei = json['IMEI'];
    tokenID = json['TokenID'];
    languageID = json['LanguageID'];
    stamp = json['stamp'];
    iPAdress = json['IPAdress'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    sessionID = json['SessionID'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
    patientOutSA = json['PatientOutSA'];
    vidaAuthTokenID = json['VidaAuthTokenID'];
    vidaRefreshTokenID = json['VidaRefreshTokenID'];
    deviceTypeID = json['DeviceTypeID'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = new Map<String, dynamic>();
    data['TokenID'] = this.tokenID;
    data['LanguageID'] = this.languageID;
    data['stamp'] = this.stamp;
    data['IPAdress'] = this.iPAdress;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['SessionID'] = this.sessionID;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    data['PatientOutSA'] = this.patientOutSA;
    data['VidaAuthTokenID'] = this.vidaAuthTokenID;
    data['VidaRefreshTokenID'] = this.vidaRefreshTokenID;
    data['DeviceTypeID'] = this.deviceTypeID;
    return data;
  }

  // Map<String, dynamic> toJsonAfterLogin() {
  //   Map<String, dynamic> data = new Map<String, dynamic>();
  //   data['VersionID'] = this.versionID;
  //   data['Channel'] = this.channel;
  //   data['LanguageID'] = this.languageID;
  //   data['MobileType'] = this.mobileType;
  //   data['LogInTokenID'] = this.logInTokenID;
  //   data['TokenID'] = this.tokenID;
  //   data['MobileNumber'] = this.mobileNumber;
  //   data['UserName'] = this.userName;
  //   data['P_EMAIL_ADDRESS'] = this.pEmailAddress;
  //   data['P_SESSION_ID'] = this.pSessionId;
  //   data['PayrollCodeStr'] = this.payrollCodeStr;
  //   data['LegislationCodeStr'] = this.pLegislationCode;
  //   data['P_SELECTED_EMPLOYEE_NUMBER'] = this.pSelectedEmployeeNumber;
  //   data['P_USER_NAME'] = this.pUserName;
  //   return data;
  // }
  //
  // set setLogInTokenID(String? token) => logInTokenID = token;
  //
  // set setTokenID(String? token) => tokenID = token;
  //
  // set setMobileNumer(String? v) => mobileNumber = v;
  //
  // set setUserName(String? v) => userName = v;
  //
  // set setPEmailAddress(String? v) => pEmailAddress = v;
  //
  // set setPSessionId(int? v) => pSessionId = v;
  //
  // set setPUserName(String? v) => pUserName = v;
  //
  // set setPSelectedEmployeeNumber(String? v) => pSelectedEmployeeNumber = v;
  //
  // set setPLegislationCode(String? v) => pLegislationCode = v;
  //
  // set setPayrollCodeStr(String? v) => payrollCodeStr = v;
}
