internal static VidalAPI.Domain.SummarizedPhysicoChemicalAlert dtoToNative(SummarizedPhysicoChemicalAlertDto? SummarizedPhysicoChemicalAlert) { switch (SummarizedPhysicoChemicalAlert) { case SummarizedPhysicoChemicalAlertDto.HAS_ALERT: return VidalAPI.Domain.SummarizedPhysicoChemicalAlert.SUMMARIZEDPHYSICOCHEMICALALERT_HAS_ALERT; case SummarizedPhysicoChemicalAlertDto.NO_ALERT: return VidalAPI.Domain.SummarizedPhysicoChemicalAlert.SUMMARIZEDPHYSICOCHEMICALALERT_NO_ALERT; case SummarizedPhysicoChemicalAlertDto.UNKNOWN_ALERT: return VidalAPI.Domain.SummarizedPhysicoChemicalAlert.SUMMARIZEDPHYSICOCHEMICALALERT_UNKNOWN_ALERT; } return VidalAPI.Domain.SummarizedPhysicoChemicalAlert.SUMMARIZEDPHYSICOCHEMICALALERT_JNULL; }
internal static ServiceAnalysis.SummarizedPhysicoChemicalAlert? dtoToAnalysisService(SummarizedPhysicoChemicalAlertDto? SummarizedPhysicoChemicalAlert) { switch (SummarizedPhysicoChemicalAlert) { case SummarizedPhysicoChemicalAlertDto.HAS_ALERT: return ServiceAnalysis.SummarizedPhysicoChemicalAlert.HAS_ALERT; case SummarizedPhysicoChemicalAlertDto.NO_ALERT: return ServiceAnalysis.SummarizedPhysicoChemicalAlert.NO_ALERT; case SummarizedPhysicoChemicalAlertDto.UNKNOWN_ALERT: return ServiceAnalysis.SummarizedPhysicoChemicalAlert.UNKNOWN_ALERT; } return null; }