From 0a13221ed0e3630652a47646d1bd6069d61e1507 Mon Sep 17 00:00:00 2001 From: Craig Edmunds Date: Mon, 10 Feb 2025 15:31:09 +0000 Subject: [PATCH] Updated generated ipaffs schema code --- .../AccompanyingDocumentDocumentTypeEnum.g.cs | 1 + .../Ipaffs/AnimalCertificationEnum.g.cs | 1 + .../Ipaffs/ApplicantAnalysisTypeEnum.g.cs | 1 + .../ApplicantConservationOfSampleEnum.g.cs | 1 + ...cceptableReasonCommodityOrPackageEnum.g.cs | 1 + .../ChedppNotAcceptableReasonReasonEnum.g.cs | 1 + .../CommoditiesCommodityIntendedForEnum.g.cs | 1 + ...mmodityRiskResultExitRiskDecisionEnum.g.cs | 1 + .../CommodityRiskResultHmiDecisionEnum.g.cs | 1 + ...odityRiskResultPhsiClassificationEnum.g.cs | 1 + .../CommodityRiskResultPhsiDecisionEnum.g.cs | 1 + .../CommodityRiskResultRiskDecisionEnum.g.cs | 1 + ...ntCheckIdentityCheckNotDoneReasonEnum.g.cs | 1 + ...ConsignmentCheckIdentityCheckTypeEnum.g.cs | 1 + ...ntCheckPhysicalCheckNotDoneReasonEnum.g.cs | 1 + .../Ipaffs/ControlAuthorityIuuOptionEnum.g.cs | 1 + .../Ipaffs/ControlConsignmentLeaveEnum.g.cs | 1 + Btms.Model/Ipaffs/DecisionDecisionEnum.g.cs | 1 + .../DecisionDefinitiveImportPurposeEnum.g.cs | 1 + .../DecisionFreeCirculationPurposeEnum.g.cs | 1 + .../Ipaffs/DecisionIfChanneledOptionEnum.g.cs | 1 + ...AcceptableActionDestructionReasonEnum.g.cs | 1 + ...cceptableActionEntryRefusalReasonEnum.g.cs | 1 + .../DecisionNotAcceptableActionEnum.g.cs | 1 + ...eActionIndustrialProcessingReasonEnum.g.cs | 1 + ...ableActionQuarantineImposedReasonEnum.g.cs | 1 + ...tAcceptableActionReDispatchReasonEnum.g.cs | 1 + ...tableActionSpecialTreatmentReasonEnum.g.cs | 1 + ...leActionUseForOtherPurposesReasonEnum.g.cs | 1 + ...WarehouseNonConformingConsignmentEnum.g.cs | 1 + .../DetailsOnReExportTransportTypeEnum.g.cs | 1 + .../Ipaffs/EconomicOperatorStatusEnum.g.cs | 1 + .../Ipaffs/EconomicOperatorTypeEnum.g.cs | 1 + .../Ipaffs/ExternalReferenceSystemEnum.g.cs | 1 + .../FeedbackInformationAuthorityTypeEnum.g.cs | 1 + Btms.Model/Ipaffs/ImportNotification.g.cs | 2 +- .../Ipaffs/ImportNotificationStatusEnum.g.cs | 1 + .../Ipaffs/ImportNotificationTypeEnum.g.cs | 2 +- .../Ipaffs/InspectionCheckStatusEnum.g.cs | 1 + .../Ipaffs/InspectionCheckTypeEnum.g.cs | 1 + Btms.Model/Ipaffs/InspectionRequiredEnum.g.cs | 1 + ...RiskCategorisationResultRiskLevelEnum.g.cs | 1 + ...tegorisationResultRiskLevelMethodEnum.g.cs | 1 + .../LaboratoryTestResultConclusionEnum.g.cs | 1 + .../Ipaffs/LaboratoryTestsTestReasonEnum.g.cs | 1 + .../Ipaffs/MeansOfTransportTypeEnum.g.cs | 1 + .../Ipaffs/PartOneProvideCtcMrnEnum.g.cs | 1 + Btms.Model/Ipaffs/PartOneTypeOfImpEnum.g.cs | 1 + .../Ipaffs/PartThreeControlStatusEnum.g.cs | 1 + Btms.Model/Ipaffs/PartyTypeEnum.g.cs | 1 + Btms.Model/Ipaffs/Purpose.g.cs | 4 +- .../PurposeForImportOrAdmissionEnum.g.cs | 1 + .../Ipaffs/PurposeForNonConformingEnum.g.cs | 1 + .../PurposeInternalMarketPurposeEnum.g.cs | 1 + .../Ipaffs/PurposePurposeGroupEnum.g.cs | 5 +- Btms.Model/Ipaffs/ResultEnum.g.cs | 1 + Btms.Model/Ipaffs/TemperatureEnum.g.cs | 1 + Btms.Model/Ipaffs/UnitEnum.g.cs | 1 + ...panyingDocumentDocumentTypeEnumMapper.g.cs | 124 +++---- .../AccompanyingDocumentMapper.g.cs | 4 +- .../AddressMapper.g.cs | 45 ++- .../AnimalCertificationEnumMapper.g.cs | 4 +- .../ApplicantAnalysisTypeEnumMapper.g.cs | 4 +- ...plicantConservationOfSampleEnumMapper.g.cs | 4 +- .../ApplicantMapper.g.cs | 43 ++- .../ApprovedEstablishmentMapper.g.cs | 2 +- .../BillingInformationMapper.g.cs | 29 +- .../CatchCertificateAttachmentMapper.g.cs | 2 +- .../CatchCertificateDetailsMapper.g.cs | 2 +- .../CatchCertificatesMapper.g.cs | 2 +- ...bleReasonCommodityOrPackageEnumMapper.g.cs | 4 +- .../ChedppNotAcceptableReasonMapper.g.cs | 2 +- ...ppNotAcceptableReasonReasonEnumMapper.g.cs | 4 +- ...oditiesCommodityIntendedForEnumMapper.g.cs | 4 +- .../CommoditiesMapper.g.cs | 2 +- .../CommodityChecksMapper.g.cs | 2 +- .../CommodityComplementMapper.g.cs | 61 ++-- ...yRiskResultExitRiskDecisionEnumMapper.g.cs | 4 +- ...modityRiskResultHmiDecisionEnumMapper.g.cs | 4 +- .../CommodityRiskResultMapper.g.cs | 45 ++- ...iskResultPhsiClassificationEnumMapper.g.cs | 4 +- ...odityRiskResultPhsiDecisionEnumMapper.g.cs | 4 +- ...odityRiskResultRiskDecisionEnumMapper.g.cs | 4 +- .../CommonUserChargeMapper.g.cs | 2 +- .../ComplementParameterSetMapper.g.cs | 2 +- ...kIdentityCheckNotDoneReasonEnumMapper.g.cs | 4 +- ...nmentCheckIdentityCheckTypeEnumMapper.g.cs | 4 +- .../ConsignmentCheckMapper.g.cs | 2 +- ...kPhysicalCheckNotDoneReasonEnumMapper.g.cs | 4 +- .../ContactDetailsMapper.g.cs | 2 +- .../ControlAuthorityIuuOptionEnumMapper.g.cs | 4 +- .../ControlAuthorityMapper.g.cs | 33 +- .../ControlConsignmentLeaveEnumMapper.g.cs | 4 +- .../ControlMapper.g.cs | 27 +- .../DecisionDecisionEnumMapper.g.cs | 4 +- ...sionDefinitiveImportPurposeEnumMapper.g.cs | 4 +- ...isionFreeCirculationPurposeEnumMapper.g.cs | 4 +- .../DecisionIfChanneledOptionEnumMapper.g.cs | 4 +- .../DecisionMapper.g.cs | 107 +++--- ...ableActionDestructionReasonEnumMapper.g.cs | 4 +- ...bleActionEntryRefusalReasonEnumMapper.g.cs | 4 +- ...DecisionNotAcceptableActionEnumMapper.g.cs | 4 +- ...nIndustrialProcessingReasonEnumMapper.g.cs | 4 +- ...tionQuarantineImposedReasonEnumMapper.g.cs | 4 +- ...tableActionReDispatchReasonEnumMapper.g.cs | 4 +- ...ctionSpecialTreatmentReasonEnumMapper.g.cs | 4 +- ...onUseForOtherPurposesReasonEnumMapper.g.cs | 42 +-- ...useNonConformingConsignmentEnumMapper.g.cs | 39 +-- .../DetailsOnReExportMapper.g.cs | 2 +- ...ailsOnReExportTransportTypeEnumMapper.g.cs | 49 ++- .../EconomicOperatorMapper.g.cs | 37 +-- .../EconomicOperatorStatusEnumMapper.g.cs | 36 +- .../EconomicOperatorTypeEnumMapper.g.cs | 61 ++-- .../ExternalReferenceMapper.g.cs | 2 +- .../ExternalReferenceSystemEnumMapper.g.cs | 4 +- ...ackInformationAuthorityTypeEnumMapper.g.cs | 39 +-- .../FeedbackInformationMapper.g.cs | 29 +- .../IdentificationDetailsMapper.g.cs | 2 +- .../IdentifiersMapper.g.cs | 27 +- .../ImpactOfTransportOnAnimalsMapper.g.cs | 2 +- .../ImportNotificationMapper.g.cs | 85 +++-- .../ImportNotificationStatusEnumMapper.g.cs | 64 ++-- .../ImportNotificationTypeEnumMapper.g.cs | 37 +-- .../InspectionCheckMapper.g.cs | 2 +- .../InspectionCheckStatusEnumMapper.g.cs | 46 ++- .../InspectionCheckTypeEnumMapper.g.cs | 38 +-- .../InspectionOverrideMapper.g.cs | 25 +- .../InspectionRequiredEnumMapper.g.cs | 35 +- .../InspectorMapper.g.cs | 2 +- .../InternationalTelephoneMapper.g.cs | 2 +- ...JourneyRiskCategorisationResultMapper.g.cs | 26 +- ...tegorisationResultRiskLevelEnumMapper.g.cs | 37 +-- ...sationResultRiskLevelMethodEnumMapper.g.cs | 34 +- .../KeyDataPairMapper.g.cs | 2 +- ...oratoryTestResultConclusionEnumMapper.g.cs | 40 +-- .../LaboratoryTestResultMapper.g.cs | 31 +- .../LaboratoryTestsMapper.g.cs | 2 +- .../LaboratoryTestsTestReasonEnumMapper.g.cs | 46 ++- .../MeansOfTransportMapper.g.cs | 25 +- .../MeansOfTransportTypeEnumMapper.g.cs | 49 ++- .../NominatedContactMapper.g.cs | 2 +- .../OfficialInspectorMapper.g.cs | 4 +- .../OfficialVeterinarianMapper.g.cs | 2 +- .../PartOneMapper.g.cs | 119 ++++--- .../PartOneProvideCtcMrnEnumMapper.g.cs | 34 +- .../PartOneTypeOfImpEnumMapper.g.cs | 33 +- .../PartThreeControlStatusEnumMapper.g.cs | 33 +- .../PartThreeMapper.g.cs | 32 +- .../PartTwoMapper.g.cs | 64 ++-- Btms.Types.Ipaffs.Mapping.V1/PartyMapper.g.cs | 2 +- .../PartyTypeEnumMapper.g.cs | 32 +- Btms.Types.Ipaffs.Mapping.V1/PhsiMapper.g.cs | 2 +- .../PostalAddressMapper.g.cs | 2 +- ...PurposeForImportOrAdmissionEnumMapper.g.cs | 37 +-- .../PurposeForNonConformingEnumMapper.g.cs | 39 +-- ...urposeInternalMarketPurposeEnumMapper.g.cs | 82 ++--- .../PurposeMapper.g.cs | 49 ++- .../PurposePurposeGroupEnumMapper.g.cs | 52 ++- .../ResultEnumMapper.g.cs | 40 ++- .../RiskAssessmentResultMapper.g.cs | 23 +- Btms.Types.Ipaffs.Mapping.V1/RouteMapper.g.cs | 2 +- .../SealCheckMapper.g.cs | 27 +- .../SealContainerMapper.g.cs | 2 +- .../SingleLaboratoryTestMapper.g.cs | 31 +- .../SplitConsignmentMapper.g.cs | 2 +- .../TemperatureEnumMapper.g.cs | 33 +- .../UnitEnumMapper.g.cs | 31 +- .../UserInformationMapper.g.cs | 2 +- .../ValidationMessageCodeMapper.g.cs | 2 +- .../VeterinaryInformationMapper.g.cs | 40 +-- .../AccompanyingDocument.g.cs | 64 ++-- Btms.Types.Ipaffs.V1/Address.g.cs | 78 ++--- Btms.Types.Ipaffs.V1/Applicant.g.cs | 92 ++--- .../ApprovedEstablishment.g.cs | 38 +-- Btms.Types.Ipaffs.V1/BillingInformation.g.cs | 30 +- .../CatchCertificateAttachment.g.cs | 18 +- .../CatchCertificateDetails.g.cs | 30 +- Btms.Types.Ipaffs.V1/CatchCertificates.g.cs | 12 +- .../ChedppNotAcceptableReason.g.cs | 12 +- Btms.Types.Ipaffs.V1/Commodities.g.cs | 114 +++---- Btms.Types.Ipaffs.V1/CommodityChecks.g.cs | 18 +- Btms.Types.Ipaffs.V1/CommodityComplement.g.cs | 144 ++++---- Btms.Types.Ipaffs.V1/CommodityRiskResult.g.cs | 78 ++--- Btms.Types.Ipaffs.V1/CommonUserCharge.g.cs | 6 +- .../ComplementParameterSet.g.cs | 36 +- Btms.Types.Ipaffs.V1/ConsignmentCheck.g.cs | 96 +++--- Btms.Types.Ipaffs.V1/ContactDetails.g.cs | 33 +- Btms.Types.Ipaffs.V1/Control.g.cs | 24 +- Btms.Types.Ipaffs.V1/ControlAuthority.g.cs | 42 +-- Btms.Types.Ipaffs.V1/Decision.g.cs | 222 ++++++------- Btms.Types.Ipaffs.V1/DetailsOnReExport.g.cs | 36 +- Btms.Types.Ipaffs.V1/EconomicOperator.g.cs | 58 ++-- Btms.Types.Ipaffs.V1/ExternalReference.g.cs | 30 +- Btms.Types.Ipaffs.V1/FeedbackInformation.g.cs | 30 +- .../IdentificationDetails.g.cs | 16 +- Btms.Types.Ipaffs.V1/Identifiers.g.cs | 26 +- .../ImpactOfTransportOnAnimals.g.cs | 30 +- Btms.Types.Ipaffs.V1/ImportNotification.g.cs | 190 +++++------ Btms.Types.Ipaffs.V1/InspectionCheck.g.cs | 36 +- Btms.Types.Ipaffs.V1/InspectionOverride.g.cs | 18 +- Btms.Types.Ipaffs.V1/Inspector.g.cs | 24 +- .../InternationalTelephone.g.cs | 12 +- .../JourneyRiskCategorisationResult.g.cs | 18 +- Btms.Types.Ipaffs.V1/KeyDataPair.g.cs | 12 +- .../LaboratoryTestResult.g.cs | 40 +-- Btms.Types.Ipaffs.V1/LaboratoryTests.g.cs | 18 +- Btms.Types.Ipaffs.V1/MeansOfTransport.g.cs | 22 +- Btms.Types.Ipaffs.V1/NominatedContact.g.cs | 18 +- Btms.Types.Ipaffs.V1/OfficialInspector.g.cs | 42 +-- .../OfficialVeterinarian.g.cs | 36 +- Btms.Types.Ipaffs.V1/PartOne.g.cs | 314 +++++++++--------- Btms.Types.Ipaffs.V1/PartThree.g.cs | 36 +- Btms.Types.Ipaffs.V1/PartTwo.g.cs | 134 ++++---- Btms.Types.Ipaffs.V1/Party.g.cs | 96 +++--- Btms.Types.Ipaffs.V1/Phsi.g.cs | 18 +- Btms.Types.Ipaffs.V1/PostalAddress.g.cs | 42 +-- Btms.Types.Ipaffs.V1/Purpose.g.cs | 96 +++--- .../PurposePurposeGroupEnum.g.cs | 7 +- .../RiskAssessmentResult.g.cs | 12 +- Btms.Types.Ipaffs.V1/Route.g.cs | 6 +- Btms.Types.Ipaffs.V1/SealCheck.g.cs | 24 +- Btms.Types.Ipaffs.V1/SealContainer.g.cs | 30 +- .../SingleLaboratoryTest.g.cs | 36 +- Btms.Types.Ipaffs.V1/SplitConsignment.g.cs | 12 +- Btms.Types.Ipaffs.V1/UserInformation.g.cs | 18 +- .../ValidationMessageCode.g.cs | 12 +- .../VeterinaryInformation.g.cs | 48 +-- 227 files changed, 2610 insertions(+), 2799 deletions(-) diff --git a/Btms.Model/Ipaffs/AccompanyingDocumentDocumentTypeEnum.g.cs b/Btms.Model/Ipaffs/AccompanyingDocumentDocumentTypeEnum.g.cs index 08581ed5..c7cf8e84 100644 --- a/Btms.Model/Ipaffs/AccompanyingDocumentDocumentTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/AccompanyingDocumentDocumentTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum AccompanyingDocumentDocumentTypeEnum { diff --git a/Btms.Model/Ipaffs/AnimalCertificationEnum.g.cs b/Btms.Model/Ipaffs/AnimalCertificationEnum.g.cs index fb4e0692..6e0cc135 100644 --- a/Btms.Model/Ipaffs/AnimalCertificationEnum.g.cs +++ b/Btms.Model/Ipaffs/AnimalCertificationEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum AnimalCertificationEnum { diff --git a/Btms.Model/Ipaffs/ApplicantAnalysisTypeEnum.g.cs b/Btms.Model/Ipaffs/ApplicantAnalysisTypeEnum.g.cs index 898c265c..d3e643c4 100644 --- a/Btms.Model/Ipaffs/ApplicantAnalysisTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/ApplicantAnalysisTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ApplicantAnalysisTypeEnum { diff --git a/Btms.Model/Ipaffs/ApplicantConservationOfSampleEnum.g.cs b/Btms.Model/Ipaffs/ApplicantConservationOfSampleEnum.g.cs index 67990bc5..c258f228 100644 --- a/Btms.Model/Ipaffs/ApplicantConservationOfSampleEnum.g.cs +++ b/Btms.Model/Ipaffs/ApplicantConservationOfSampleEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ApplicantConservationOfSampleEnum { diff --git a/Btms.Model/Ipaffs/ChedppNotAcceptableReasonCommodityOrPackageEnum.g.cs b/Btms.Model/Ipaffs/ChedppNotAcceptableReasonCommodityOrPackageEnum.g.cs index e5533afc..b55fdf23 100644 --- a/Btms.Model/Ipaffs/ChedppNotAcceptableReasonCommodityOrPackageEnum.g.cs +++ b/Btms.Model/Ipaffs/ChedppNotAcceptableReasonCommodityOrPackageEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ChedppNotAcceptableReasonCommodityOrPackageEnum { diff --git a/Btms.Model/Ipaffs/ChedppNotAcceptableReasonReasonEnum.g.cs b/Btms.Model/Ipaffs/ChedppNotAcceptableReasonReasonEnum.g.cs index 24f0d15f..10f81cd9 100644 --- a/Btms.Model/Ipaffs/ChedppNotAcceptableReasonReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/ChedppNotAcceptableReasonReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ChedppNotAcceptableReasonReasonEnum { diff --git a/Btms.Model/Ipaffs/CommoditiesCommodityIntendedForEnum.g.cs b/Btms.Model/Ipaffs/CommoditiesCommodityIntendedForEnum.g.cs index a4b01414..0267b9ce 100644 --- a/Btms.Model/Ipaffs/CommoditiesCommodityIntendedForEnum.g.cs +++ b/Btms.Model/Ipaffs/CommoditiesCommodityIntendedForEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum CommoditiesCommodityIntendedForEnum { diff --git a/Btms.Model/Ipaffs/CommodityRiskResultExitRiskDecisionEnum.g.cs b/Btms.Model/Ipaffs/CommodityRiskResultExitRiskDecisionEnum.g.cs index dfc960f7..01f39a38 100644 --- a/Btms.Model/Ipaffs/CommodityRiskResultExitRiskDecisionEnum.g.cs +++ b/Btms.Model/Ipaffs/CommodityRiskResultExitRiskDecisionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum CommodityRiskResultExitRiskDecisionEnum { diff --git a/Btms.Model/Ipaffs/CommodityRiskResultHmiDecisionEnum.g.cs b/Btms.Model/Ipaffs/CommodityRiskResultHmiDecisionEnum.g.cs index 7faca926..9f4c85c3 100644 --- a/Btms.Model/Ipaffs/CommodityRiskResultHmiDecisionEnum.g.cs +++ b/Btms.Model/Ipaffs/CommodityRiskResultHmiDecisionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum CommodityRiskResultHmiDecisionEnum { diff --git a/Btms.Model/Ipaffs/CommodityRiskResultPhsiClassificationEnum.g.cs b/Btms.Model/Ipaffs/CommodityRiskResultPhsiClassificationEnum.g.cs index efdb1e3d..fc9f9c62 100644 --- a/Btms.Model/Ipaffs/CommodityRiskResultPhsiClassificationEnum.g.cs +++ b/Btms.Model/Ipaffs/CommodityRiskResultPhsiClassificationEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum CommodityRiskResultPhsiClassificationEnum { diff --git a/Btms.Model/Ipaffs/CommodityRiskResultPhsiDecisionEnum.g.cs b/Btms.Model/Ipaffs/CommodityRiskResultPhsiDecisionEnum.g.cs index 9e2a407c..3b385483 100644 --- a/Btms.Model/Ipaffs/CommodityRiskResultPhsiDecisionEnum.g.cs +++ b/Btms.Model/Ipaffs/CommodityRiskResultPhsiDecisionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum CommodityRiskResultPhsiDecisionEnum { diff --git a/Btms.Model/Ipaffs/CommodityRiskResultRiskDecisionEnum.g.cs b/Btms.Model/Ipaffs/CommodityRiskResultRiskDecisionEnum.g.cs index 473a4386..a99a5132 100644 --- a/Btms.Model/Ipaffs/CommodityRiskResultRiskDecisionEnum.g.cs +++ b/Btms.Model/Ipaffs/CommodityRiskResultRiskDecisionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum CommodityRiskResultRiskDecisionEnum { diff --git a/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckNotDoneReasonEnum.g.cs b/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckNotDoneReasonEnum.g.cs index 30cb3a6d..8f4dc4ed 100644 --- a/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckNotDoneReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckNotDoneReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ConsignmentCheckIdentityCheckNotDoneReasonEnum { diff --git a/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckTypeEnum.g.cs b/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckTypeEnum.g.cs index f1795ba0..b4416af4 100644 --- a/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/ConsignmentCheckIdentityCheckTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ConsignmentCheckIdentityCheckTypeEnum { diff --git a/Btms.Model/Ipaffs/ConsignmentCheckPhysicalCheckNotDoneReasonEnum.g.cs b/Btms.Model/Ipaffs/ConsignmentCheckPhysicalCheckNotDoneReasonEnum.g.cs index 394c0cfc..c1f60c2a 100644 --- a/Btms.Model/Ipaffs/ConsignmentCheckPhysicalCheckNotDoneReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/ConsignmentCheckPhysicalCheckNotDoneReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ConsignmentCheckPhysicalCheckNotDoneReasonEnum { diff --git a/Btms.Model/Ipaffs/ControlAuthorityIuuOptionEnum.g.cs b/Btms.Model/Ipaffs/ControlAuthorityIuuOptionEnum.g.cs index 94616d29..5ac37503 100644 --- a/Btms.Model/Ipaffs/ControlAuthorityIuuOptionEnum.g.cs +++ b/Btms.Model/Ipaffs/ControlAuthorityIuuOptionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ControlAuthorityIuuOptionEnum { diff --git a/Btms.Model/Ipaffs/ControlConsignmentLeaveEnum.g.cs b/Btms.Model/Ipaffs/ControlConsignmentLeaveEnum.g.cs index 8f621ad5..26bb4ed5 100644 --- a/Btms.Model/Ipaffs/ControlConsignmentLeaveEnum.g.cs +++ b/Btms.Model/Ipaffs/ControlConsignmentLeaveEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ControlConsignmentLeaveEnum { diff --git a/Btms.Model/Ipaffs/DecisionDecisionEnum.g.cs b/Btms.Model/Ipaffs/DecisionDecisionEnum.g.cs index f5943c54..e3eefd17 100644 --- a/Btms.Model/Ipaffs/DecisionDecisionEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionDecisionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionDecisionEnum { diff --git a/Btms.Model/Ipaffs/DecisionDefinitiveImportPurposeEnum.g.cs b/Btms.Model/Ipaffs/DecisionDefinitiveImportPurposeEnum.g.cs index 583b798d..131d16ac 100644 --- a/Btms.Model/Ipaffs/DecisionDefinitiveImportPurposeEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionDefinitiveImportPurposeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionDefinitiveImportPurposeEnum { diff --git a/Btms.Model/Ipaffs/DecisionFreeCirculationPurposeEnum.g.cs b/Btms.Model/Ipaffs/DecisionFreeCirculationPurposeEnum.g.cs index 5a2134bf..b2d4466c 100644 --- a/Btms.Model/Ipaffs/DecisionFreeCirculationPurposeEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionFreeCirculationPurposeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionFreeCirculationPurposeEnum { diff --git a/Btms.Model/Ipaffs/DecisionIfChanneledOptionEnum.g.cs b/Btms.Model/Ipaffs/DecisionIfChanneledOptionEnum.g.cs index 5f6fb616..0da3fcac 100644 --- a/Btms.Model/Ipaffs/DecisionIfChanneledOptionEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionIfChanneledOptionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionIfChanneledOptionEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionDestructionReasonEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionDestructionReasonEnum.g.cs index 1135ae11..7cdf6324 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionDestructionReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionDestructionReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionDestructionReasonEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionEntryRefusalReasonEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionEntryRefusalReasonEnum.g.cs index a108eaab..395f5619 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionEntryRefusalReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionEntryRefusalReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionEntryRefusalReasonEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionEnum.g.cs index e4b1974e..65dfcdea 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionIndustrialProcessingReasonEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionIndustrialProcessingReasonEnum.g.cs index c66c1c91..fb1c47fc 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionIndustrialProcessingReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionIndustrialProcessingReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionIndustrialProcessingReasonEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionQuarantineImposedReasonEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionQuarantineImposedReasonEnum.g.cs index 223ae18f..f426ee9e 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionQuarantineImposedReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionQuarantineImposedReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionQuarantineImposedReasonEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionReDispatchReasonEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionReDispatchReasonEnum.g.cs index daac44d9..9de53a0e 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionReDispatchReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionReDispatchReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionReDispatchReasonEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionSpecialTreatmentReasonEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionSpecialTreatmentReasonEnum.g.cs index 0a80936a..c96a68b7 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionSpecialTreatmentReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionSpecialTreatmentReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionSpecialTreatmentReasonEnum { diff --git a/Btms.Model/Ipaffs/DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.g.cs b/Btms.Model/Ipaffs/DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.g.cs index 2544924c..9dbdc2a7 100644 --- a/Btms.Model/Ipaffs/DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionNotAcceptableActionUseForOtherPurposesReasonEnum { diff --git a/Btms.Model/Ipaffs/DecisionSpecificWarehouseNonConformingConsignmentEnum.g.cs b/Btms.Model/Ipaffs/DecisionSpecificWarehouseNonConformingConsignmentEnum.g.cs index 66501efa..2bcf71cf 100644 --- a/Btms.Model/Ipaffs/DecisionSpecificWarehouseNonConformingConsignmentEnum.g.cs +++ b/Btms.Model/Ipaffs/DecisionSpecificWarehouseNonConformingConsignmentEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DecisionSpecificWarehouseNonConformingConsignmentEnum { diff --git a/Btms.Model/Ipaffs/DetailsOnReExportTransportTypeEnum.g.cs b/Btms.Model/Ipaffs/DetailsOnReExportTransportTypeEnum.g.cs index 60f67872..7a17a8a9 100644 --- a/Btms.Model/Ipaffs/DetailsOnReExportTransportTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/DetailsOnReExportTransportTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum DetailsOnReExportTransportTypeEnum { diff --git a/Btms.Model/Ipaffs/EconomicOperatorStatusEnum.g.cs b/Btms.Model/Ipaffs/EconomicOperatorStatusEnum.g.cs index e6f6abfb..5789b436 100644 --- a/Btms.Model/Ipaffs/EconomicOperatorStatusEnum.g.cs +++ b/Btms.Model/Ipaffs/EconomicOperatorStatusEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum EconomicOperatorStatusEnum { diff --git a/Btms.Model/Ipaffs/EconomicOperatorTypeEnum.g.cs b/Btms.Model/Ipaffs/EconomicOperatorTypeEnum.g.cs index aa3b781a..b3c2e215 100644 --- a/Btms.Model/Ipaffs/EconomicOperatorTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/EconomicOperatorTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum EconomicOperatorTypeEnum { diff --git a/Btms.Model/Ipaffs/ExternalReferenceSystemEnum.g.cs b/Btms.Model/Ipaffs/ExternalReferenceSystemEnum.g.cs index 427d284d..72f88de3 100644 --- a/Btms.Model/Ipaffs/ExternalReferenceSystemEnum.g.cs +++ b/Btms.Model/Ipaffs/ExternalReferenceSystemEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ExternalReferenceSystemEnum { diff --git a/Btms.Model/Ipaffs/FeedbackInformationAuthorityTypeEnum.g.cs b/Btms.Model/Ipaffs/FeedbackInformationAuthorityTypeEnum.g.cs index 43ea3191..06110180 100644 --- a/Btms.Model/Ipaffs/FeedbackInformationAuthorityTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/FeedbackInformationAuthorityTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum FeedbackInformationAuthorityTypeEnum { diff --git a/Btms.Model/Ipaffs/ImportNotification.g.cs b/Btms.Model/Ipaffs/ImportNotification.g.cs index d3e3fd2d..d9f8d498 100644 --- a/Btms.Model/Ipaffs/ImportNotification.g.cs +++ b/Btms.Model/Ipaffs/ImportNotification.g.cs @@ -18,7 +18,7 @@ namespace Btms.Model.Ipaffs; /// /// /// - public partial class ImportNotification //: CustomStringMongoIdentifiable +public partial class ImportNotification //: CustomStringMongoIdentifiable { diff --git a/Btms.Model/Ipaffs/ImportNotificationStatusEnum.g.cs b/Btms.Model/Ipaffs/ImportNotificationStatusEnum.g.cs index 456f841a..edf4ebaf 100644 --- a/Btms.Model/Ipaffs/ImportNotificationStatusEnum.g.cs +++ b/Btms.Model/Ipaffs/ImportNotificationStatusEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ImportNotificationStatusEnum { diff --git a/Btms.Model/Ipaffs/ImportNotificationTypeEnum.g.cs b/Btms.Model/Ipaffs/ImportNotificationTypeEnum.g.cs index 83583d72..40a002f3 100644 --- a/Btms.Model/Ipaffs/ImportNotificationTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/ImportNotificationTypeEnum.g.cs @@ -6,7 +6,7 @@ namespace Btms.Model.Ipaffs; -[JsonConverter(typeof(JsonStringEnumConverter))] +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ImportNotificationTypeEnum { diff --git a/Btms.Model/Ipaffs/InspectionCheckStatusEnum.g.cs b/Btms.Model/Ipaffs/InspectionCheckStatusEnum.g.cs index 52f88eec..a93b8061 100644 --- a/Btms.Model/Ipaffs/InspectionCheckStatusEnum.g.cs +++ b/Btms.Model/Ipaffs/InspectionCheckStatusEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum InspectionCheckStatusEnum { diff --git a/Btms.Model/Ipaffs/InspectionCheckTypeEnum.g.cs b/Btms.Model/Ipaffs/InspectionCheckTypeEnum.g.cs index 22c9a821..661d63b5 100644 --- a/Btms.Model/Ipaffs/InspectionCheckTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/InspectionCheckTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum InspectionCheckTypeEnum { diff --git a/Btms.Model/Ipaffs/InspectionRequiredEnum.g.cs b/Btms.Model/Ipaffs/InspectionRequiredEnum.g.cs index c85f3218..3e220ce4 100644 --- a/Btms.Model/Ipaffs/InspectionRequiredEnum.g.cs +++ b/Btms.Model/Ipaffs/InspectionRequiredEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum InspectionRequiredEnum { diff --git a/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelEnum.g.cs b/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelEnum.g.cs index 22708697..9530d75b 100644 --- a/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelEnum.g.cs +++ b/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum JourneyRiskCategorisationResultRiskLevelEnum { diff --git a/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelMethodEnum.g.cs b/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelMethodEnum.g.cs index e953679a..9609bee6 100644 --- a/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelMethodEnum.g.cs +++ b/Btms.Model/Ipaffs/JourneyRiskCategorisationResultRiskLevelMethodEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum JourneyRiskCategorisationResultRiskLevelMethodEnum { diff --git a/Btms.Model/Ipaffs/LaboratoryTestResultConclusionEnum.g.cs b/Btms.Model/Ipaffs/LaboratoryTestResultConclusionEnum.g.cs index a4d11d39..1e6e67bf 100644 --- a/Btms.Model/Ipaffs/LaboratoryTestResultConclusionEnum.g.cs +++ b/Btms.Model/Ipaffs/LaboratoryTestResultConclusionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum LaboratoryTestResultConclusionEnum { diff --git a/Btms.Model/Ipaffs/LaboratoryTestsTestReasonEnum.g.cs b/Btms.Model/Ipaffs/LaboratoryTestsTestReasonEnum.g.cs index 8f108204..c84876a2 100644 --- a/Btms.Model/Ipaffs/LaboratoryTestsTestReasonEnum.g.cs +++ b/Btms.Model/Ipaffs/LaboratoryTestsTestReasonEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum LaboratoryTestsTestReasonEnum { diff --git a/Btms.Model/Ipaffs/MeansOfTransportTypeEnum.g.cs b/Btms.Model/Ipaffs/MeansOfTransportTypeEnum.g.cs index 7561870c..c13f464d 100644 --- a/Btms.Model/Ipaffs/MeansOfTransportTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/MeansOfTransportTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum MeansOfTransportTypeEnum { diff --git a/Btms.Model/Ipaffs/PartOneProvideCtcMrnEnum.g.cs b/Btms.Model/Ipaffs/PartOneProvideCtcMrnEnum.g.cs index 0ca5b6c7..3b1c6ff8 100644 --- a/Btms.Model/Ipaffs/PartOneProvideCtcMrnEnum.g.cs +++ b/Btms.Model/Ipaffs/PartOneProvideCtcMrnEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PartOneProvideCtcMrnEnum { diff --git a/Btms.Model/Ipaffs/PartOneTypeOfImpEnum.g.cs b/Btms.Model/Ipaffs/PartOneTypeOfImpEnum.g.cs index 326cee12..2eb76952 100644 --- a/Btms.Model/Ipaffs/PartOneTypeOfImpEnum.g.cs +++ b/Btms.Model/Ipaffs/PartOneTypeOfImpEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PartOneTypeOfImpEnum { diff --git a/Btms.Model/Ipaffs/PartThreeControlStatusEnum.g.cs b/Btms.Model/Ipaffs/PartThreeControlStatusEnum.g.cs index 52ea90f9..16e35ea4 100644 --- a/Btms.Model/Ipaffs/PartThreeControlStatusEnum.g.cs +++ b/Btms.Model/Ipaffs/PartThreeControlStatusEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PartThreeControlStatusEnum { diff --git a/Btms.Model/Ipaffs/PartyTypeEnum.g.cs b/Btms.Model/Ipaffs/PartyTypeEnum.g.cs index ab211046..acb4d41a 100644 --- a/Btms.Model/Ipaffs/PartyTypeEnum.g.cs +++ b/Btms.Model/Ipaffs/PartyTypeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PartyTypeEnum { diff --git a/Btms.Model/Ipaffs/Purpose.g.cs b/Btms.Model/Ipaffs/Purpose.g.cs index 6db813aa..e71511ce 100644 --- a/Btms.Model/Ipaffs/Purpose.g.cs +++ b/Btms.Model/Ipaffs/Purpose.g.cs @@ -57,10 +57,10 @@ public partial class Purpose // /// - /// There are 3 types of registration number based on the purpose of consignment. Customs registration number, Free zone registration number and Shipping supplier registration number. + /// There are 3 types of registration number based on the purpose of consignment. Customs registration number, Free zone registration number and Shipping supplier registration number. /// [Attr] - [System.ComponentModel.Description("There are 3 types of registration number based on the purpose of consignment. Customs registration number, Free zone registration number and Shipping supplier registration number.")] + [System.ComponentModel.Description("There are 3 types of registration number based on the purpose of consignment. Customs registration number, Free zone registration number and Shipping supplier registration number. ")] public string? RegNumber { get; set; } diff --git a/Btms.Model/Ipaffs/PurposeForImportOrAdmissionEnum.g.cs b/Btms.Model/Ipaffs/PurposeForImportOrAdmissionEnum.g.cs index 1a8384ba..5536d113 100644 --- a/Btms.Model/Ipaffs/PurposeForImportOrAdmissionEnum.g.cs +++ b/Btms.Model/Ipaffs/PurposeForImportOrAdmissionEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PurposeForImportOrAdmissionEnum { diff --git a/Btms.Model/Ipaffs/PurposeForNonConformingEnum.g.cs b/Btms.Model/Ipaffs/PurposeForNonConformingEnum.g.cs index 8656b6f6..1f5cf0e6 100644 --- a/Btms.Model/Ipaffs/PurposeForNonConformingEnum.g.cs +++ b/Btms.Model/Ipaffs/PurposeForNonConformingEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PurposeForNonConformingEnum { diff --git a/Btms.Model/Ipaffs/PurposeInternalMarketPurposeEnum.g.cs b/Btms.Model/Ipaffs/PurposeInternalMarketPurposeEnum.g.cs index afbb9405..93bbd171 100644 --- a/Btms.Model/Ipaffs/PurposeInternalMarketPurposeEnum.g.cs +++ b/Btms.Model/Ipaffs/PurposeInternalMarketPurposeEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PurposeInternalMarketPurposeEnum { diff --git a/Btms.Model/Ipaffs/PurposePurposeGroupEnum.g.cs b/Btms.Model/Ipaffs/PurposePurposeGroupEnum.g.cs index 4ba6dd22..ec335723 100644 --- a/Btms.Model/Ipaffs/PurposePurposeGroupEnum.g.cs +++ b/Btms.Model/Ipaffs/PurposePurposeGroupEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum PurposePurposeGroupEnum { @@ -24,9 +25,7 @@ public enum PurposePurposeGroupEnum ForTransferTo, ForImportReConformityCheck, - - ForImportNonInternalMarket, - + } diff --git a/Btms.Model/Ipaffs/ResultEnum.g.cs b/Btms.Model/Ipaffs/ResultEnum.g.cs index 46348686..6f297fcf 100644 --- a/Btms.Model/Ipaffs/ResultEnum.g.cs +++ b/Btms.Model/Ipaffs/ResultEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum ResultEnum { diff --git a/Btms.Model/Ipaffs/TemperatureEnum.g.cs b/Btms.Model/Ipaffs/TemperatureEnum.g.cs index 175febf9..af7a8516 100644 --- a/Btms.Model/Ipaffs/TemperatureEnum.g.cs +++ b/Btms.Model/Ipaffs/TemperatureEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum TemperatureEnum { diff --git a/Btms.Model/Ipaffs/UnitEnum.g.cs b/Btms.Model/Ipaffs/UnitEnum.g.cs index 1888b42e..212be2a8 100644 --- a/Btms.Model/Ipaffs/UnitEnum.g.cs +++ b/Btms.Model/Ipaffs/UnitEnum.g.cs @@ -6,6 +6,7 @@ namespace Btms.Model.Ipaffs; +[JsonConverter(typeof(JsonStringEnumMemberConverter))] public enum UnitEnum { diff --git a/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentDocumentTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentDocumentTypeEnumMapper.g.cs index f1150c5d..d3858b8c 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentDocumentTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentDocumentTypeEnumMapper.g.cs @@ -11,85 +11,51 @@ namespace Btms.Types.Ipaffs.Mapping; public static class AccompanyingDocumentDocumentTypeEnumMapper { - public static Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum? Map( - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.AirWaybill => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.AirWaybill, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.BillOfLading => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.BillOfLading, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CargoManifest => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.CargoManifest, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CatchCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.CatchCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CommercialDocument => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.CommercialDocument, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CommercialInvoice => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.CommercialInvoice, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ConformityCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.ConformityCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ContainerManifest => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.ContainerManifest, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CustomsDeclaration => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.CustomsDeclaration, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Docom => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.Docom, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.HealthCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.HealthCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.HeatTreatmentCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.HeatTreatmentCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ImportPermit => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.ImportPermit, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.InspectionCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.InspectionCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Itahc => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.Itahc, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.JourneyLog => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.JourneyLog, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LaboratorySamplingResultsForAflatoxin => Btms.Model - .Ipaffs.AccompanyingDocumentDocumentTypeEnum.LaboratorySamplingResultsForAflatoxin, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LatestVeterinaryHealthCertificate => Btms.Model - .Ipaffs.AccompanyingDocumentDocumentTypeEnum.LatestVeterinaryHealthCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LetterOfAuthority => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.LetterOfAuthority, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LicenseOrAuthorisation => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.LicenseOrAuthorisation, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.MycotoxinCertification => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.MycotoxinCertification, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.OriginCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.OriginCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Other => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.Other, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.PhytosanitaryCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.PhytosanitaryCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ProcessingStatement => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.ProcessingStatement, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ProofOfStorage => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.ProofOfStorage, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.RailwayBill => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.RailwayBill, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.SeaWaybill => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.SeaWaybill, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.VeterinaryHealthCertificate => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.VeterinaryHealthCertificate, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ListOfIngredients => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.ListOfIngredients, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.PackingList => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.PackingList, - Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.RoadConsignmentNote => Btms.Model.Ipaffs - .AccompanyingDocumentDocumentTypeEnum.RoadConsignmentNote, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum? Map(Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.AirWaybill => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.AirWaybill, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.BillOfLading => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.BillOfLading, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CargoManifest => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CargoManifest, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CatchCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CatchCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CommercialDocument => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CommercialDocument, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CommercialInvoice => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CommercialInvoice, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ConformityCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ConformityCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ContainerManifest => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ContainerManifest, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CustomsDeclaration => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.CustomsDeclaration, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Docom => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Docom, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.HealthCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.HealthCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.HeatTreatmentCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.HeatTreatmentCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ImportPermit => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ImportPermit, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.InspectionCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.InspectionCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Itahc => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Itahc, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.JourneyLog => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.JourneyLog, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LaboratorySamplingResultsForAflatoxin => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LaboratorySamplingResultsForAflatoxin, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LatestVeterinaryHealthCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LatestVeterinaryHealthCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LetterOfAuthority => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LetterOfAuthority, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LicenseOrAuthorisation => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.LicenseOrAuthorisation, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.MycotoxinCertification => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.MycotoxinCertification, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.OriginCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.OriginCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Other => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.Other, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.PhytosanitaryCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.PhytosanitaryCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ProcessingStatement => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ProcessingStatement, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ProofOfStorage => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ProofOfStorage, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.RailwayBill => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.RailwayBill, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.SeaWaybill => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.SeaWaybill, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.VeterinaryHealthCertificate => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.VeterinaryHealthCertificate, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ListOfIngredients => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.ListOfIngredients, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.PackingList => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.PackingList, + Btms.Types.Ipaffs.AccompanyingDocumentDocumentTypeEnum.RoadConsignmentNote => Btms.Model.Ipaffs.AccompanyingDocumentDocumentTypeEnum.RoadConsignmentNote, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentMapper.g.cs index aae99e84..1af2a6d1 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/AccompanyingDocumentMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class AccompanyingDocumentMapper { - public static Btms.Model.Ipaffs.AccompanyingDocument Map(Btms.Types.Ipaffs.AccompanyingDocument from) + public static Btms.Model.Ipaffs.AccompanyingDocument Map(Btms.Types.Ipaffs.AccompanyingDocument? from) { if(from is null) { @@ -29,7 +29,7 @@ public static Btms.Model.Ipaffs.AccompanyingDocument Map(Btms.Types.Ipaffs.Accom to.AttachmentContentType = from?.AttachmentContentType; to.UploadUserId = from?.UploadUserId; to.UploadOrganisationId = from?.UploadOrganisationId; - to.ExternalReference = ExternalReferenceMapper.Map(from?.ExternalReference!); + to.ExternalReference = ExternalReferenceMapper.Map(from?.ExternalReference); return to; } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/AddressMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/AddressMapper.g.cs index b85d858d..73dec65a 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/AddressMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/AddressMapper.g.cs @@ -14,28 +14,27 @@ namespace Btms.Types.Ipaffs.Mapping; public static class AddressMapper { - public static Btms.Model.Ipaffs.Address Map(Btms.Types.Ipaffs.Address from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.Address(); - to.Street = from?.Street; - to.City = from?.City; - to.Country = from?.Country; - to.PostalCode = from?.PostalCode; - to.AddressLine1 = from?.AddressLine1; - to.AddressLine2 = from?.AddressLine2; - to.AddressLine3 = from?.AddressLine3; - to.PostalZipCode = from?.PostalZipCode; - to.CountryIsoCode = from?.CountryIsoCode; - to.Email = from?.Email; - to.UkTelephone = from?.UkTelephone; - to.Telephone = from?.Telephone; - to.InternationalTelephone = InternationalTelephoneMapper.Map(from?.InternationalTelephone!); - return to; - } + public static Btms.Model.Ipaffs.Address Map(Btms.Types.Ipaffs.Address? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.Address (); +to.Street = from?.Street; + to.City = from?.City; + to.Country = from?.Country; + to.PostalCode = from?.PostalCode; + to.AddressLine1 = from?.AddressLine1; + to.AddressLine2 = from?.AddressLine2; + to.AddressLine3 = from?.AddressLine3; + to.PostalZipCode = from?.PostalZipCode; + to.CountryIsoCode = from?.CountryIsoCode; + to.Email = from?.Email; + to.UkTelephone = from?.UkTelephone; + to.Telephone = from?.Telephone; + to.InternationalTelephone = InternationalTelephoneMapper.Map(from?.InternationalTelephone); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/AnimalCertificationEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/AnimalCertificationEnumMapper.g.cs index 2eb6fbb6..88976170 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/AnimalCertificationEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/AnimalCertificationEnumMapper.g.cs @@ -46,8 +46,8 @@ public static class AnimalCertificationEnumMapper Btms.Types.Ipaffs.AnimalCertificationEnum.TechnicalPharmaceuticalUse => Btms.Model.Ipaffs.AnimalCertificationEnum.TechnicalPharmaceuticalUse, Btms.Types.Ipaffs.AnimalCertificationEnum.Transit => Btms.Model.Ipaffs.AnimalCertificationEnum.Transit, Btms.Types.Ipaffs.AnimalCertificationEnum.ZooCollection => Btms.Model.Ipaffs.AnimalCertificationEnum.ZooCollection, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ApplicantAnalysisTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ApplicantAnalysisTypeEnumMapper.g.cs index 5a278b06..c421d1cd 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ApplicantAnalysisTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ApplicantAnalysisTypeEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class ApplicantAnalysisTypeEnumMapper Btms.Types.Ipaffs.ApplicantAnalysisTypeEnum.InitialAnalysis => Btms.Model.Ipaffs.ApplicantAnalysisTypeEnum.InitialAnalysis, Btms.Types.Ipaffs.ApplicantAnalysisTypeEnum.CounterAnalysis => Btms.Model.Ipaffs.ApplicantAnalysisTypeEnum.CounterAnalysis, Btms.Types.Ipaffs.ApplicantAnalysisTypeEnum.SecondExpertAnalysis => Btms.Model.Ipaffs.ApplicantAnalysisTypeEnum.SecondExpertAnalysis, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ApplicantConservationOfSampleEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ApplicantConservationOfSampleEnumMapper.g.cs index adbbb291..cfa618e6 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ApplicantConservationOfSampleEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ApplicantConservationOfSampleEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class ApplicantConservationOfSampleEnumMapper Btms.Types.Ipaffs.ApplicantConservationOfSampleEnum.Ambient => Btms.Model.Ipaffs.ApplicantConservationOfSampleEnum.Ambient, Btms.Types.Ipaffs.ApplicantConservationOfSampleEnum.Chilled => Btms.Model.Ipaffs.ApplicantConservationOfSampleEnum.Chilled, Btms.Types.Ipaffs.ApplicantConservationOfSampleEnum.Frozen => Btms.Model.Ipaffs.ApplicantConservationOfSampleEnum.Frozen, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ApplicantMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ApplicantMapper.g.cs index c38f6f65..69fd8bbe 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ApplicantMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ApplicantMapper.g.cs @@ -14,27 +14,26 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ApplicantMapper { - public static Btms.Model.Ipaffs.Applicant Map(Btms.Types.Ipaffs.Applicant from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.Applicant(); - to.Laboratory = from?.Laboratory; - to.LaboratoryAddress = from?.LaboratoryAddress; - to.LaboratoryIdentification = from?.LaboratoryIdentification; - to.LaboratoryPhoneNumber = from?.LaboratoryPhoneNumber; - to.LaboratoryEmail = from?.LaboratoryEmail; - to.SampleBatchNumber = from?.SampleBatchNumber; - to.AnalysisType = ApplicantAnalysisTypeEnumMapper.Map(from?.AnalysisType); - to.NumberOfSamples = from?.NumberOfSamples; - to.SampleType = from?.SampleType; - to.ConservationOfSample = ApplicantConservationOfSampleEnumMapper.Map(from?.ConservationOfSample); - to.Inspector = InspectorMapper.Map(from?.Inspector!); - to.SampledOn = DateTimeMapper.Map(from?.SampleDate, from?.SampleTime); - return to; - } + public static Btms.Model.Ipaffs.Applicant Map(Btms.Types.Ipaffs.Applicant? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.Applicant (); +to.Laboratory = from?.Laboratory; + to.LaboratoryAddress = from?.LaboratoryAddress; + to.LaboratoryIdentification = from?.LaboratoryIdentification; + to.LaboratoryPhoneNumber = from?.LaboratoryPhoneNumber; + to.LaboratoryEmail = from?.LaboratoryEmail; + to.SampleBatchNumber = from?.SampleBatchNumber; + to.AnalysisType = ApplicantAnalysisTypeEnumMapper.Map(from?.AnalysisType); + to.NumberOfSamples = from?.NumberOfSamples; + to.SampleType = from?.SampleType; + to.ConservationOfSample = ApplicantConservationOfSampleEnumMapper.Map(from?.ConservationOfSample); + to.Inspector = InspectorMapper.Map(from?.Inspector); + to.SampledOn = DateTimeMapper.Map(from?.SampleDate, from?.SampleTime); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ApprovedEstablishmentMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ApprovedEstablishmentMapper.g.cs index 41832597..b447fcf3 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ApprovedEstablishmentMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ApprovedEstablishmentMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ApprovedEstablishmentMapper { - public static Btms.Model.Ipaffs.ApprovedEstablishment Map(Btms.Types.Ipaffs.ApprovedEstablishment from) + public static Btms.Model.Ipaffs.ApprovedEstablishment Map(Btms.Types.Ipaffs.ApprovedEstablishment? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/BillingInformationMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/BillingInformationMapper.g.cs index ffc27ea3..38fa3ad8 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/BillingInformationMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/BillingInformationMapper.g.cs @@ -14,20 +14,19 @@ namespace Btms.Types.Ipaffs.Mapping; public static class BillingInformationMapper { - public static Btms.Model.Ipaffs.BillingInformation Map(Btms.Types.Ipaffs.BillingInformation from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.BillingInformation(); - to.IsConfirmed = from?.IsConfirmed; - to.EmailAddress = from?.EmailAddress; - to.PhoneNumber = from?.PhoneNumber; - to.ContactName = from?.ContactName; - to.PostalAddress = PostalAddressMapper.Map(from?.PostalAddress!); - return to; - } + public static Btms.Model.Ipaffs.BillingInformation Map(Btms.Types.Ipaffs.BillingInformation? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.BillingInformation (); +to.IsConfirmed = from?.IsConfirmed; + to.EmailAddress = from?.EmailAddress; + to.PhoneNumber = from?.PhoneNumber; + to.ContactName = from?.ContactName; + to.PostalAddress = PostalAddressMapper.Map(from?.PostalAddress); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateAttachmentMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateAttachmentMapper.g.cs index 16e7ac4b..bc476eff 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateAttachmentMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateAttachmentMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CatchCertificateAttachmentMapper { - public static Btms.Model.Ipaffs.CatchCertificateAttachment Map(Btms.Types.Ipaffs.CatchCertificateAttachment from) + public static Btms.Model.Ipaffs.CatchCertificateAttachment Map(Btms.Types.Ipaffs.CatchCertificateAttachment? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateDetailsMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateDetailsMapper.g.cs index 8b7b088c..af52f2ef 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateDetailsMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CatchCertificateDetailsMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CatchCertificateDetailsMapper { - public static Btms.Model.Ipaffs.CatchCertificateDetails Map(Btms.Types.Ipaffs.CatchCertificateDetails from) + public static Btms.Model.Ipaffs.CatchCertificateDetails Map(Btms.Types.Ipaffs.CatchCertificateDetails? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/CatchCertificatesMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CatchCertificatesMapper.g.cs index 16effa33..10621240 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CatchCertificatesMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CatchCertificatesMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CatchCertificatesMapper { - public static Btms.Model.Ipaffs.CatchCertificates Map(Btms.Types.Ipaffs.CatchCertificates from) + public static Btms.Model.Ipaffs.CatchCertificates Map(Btms.Types.Ipaffs.CatchCertificates? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonCommodityOrPackageEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonCommodityOrPackageEnumMapper.g.cs index b7e418f4..78d26d0d 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonCommodityOrPackageEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonCommodityOrPackageEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class ChedppNotAcceptableReasonCommodityOrPackageEnumMapper Btms.Types.Ipaffs.ChedppNotAcceptableReasonCommodityOrPackageEnum.C => Btms.Model.Ipaffs.ChedppNotAcceptableReasonCommodityOrPackageEnum.C, Btms.Types.Ipaffs.ChedppNotAcceptableReasonCommodityOrPackageEnum.P => Btms.Model.Ipaffs.ChedppNotAcceptableReasonCommodityOrPackageEnum.P, Btms.Types.Ipaffs.ChedppNotAcceptableReasonCommodityOrPackageEnum.Cp => Btms.Model.Ipaffs.ChedppNotAcceptableReasonCommodityOrPackageEnum.Cp, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonMapper.g.cs index 10b5d56a..89d73e70 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ChedppNotAcceptableReasonMapper { - public static Btms.Model.Ipaffs.ChedppNotAcceptableReason Map(Btms.Types.Ipaffs.ChedppNotAcceptableReason from) + public static Btms.Model.Ipaffs.ChedppNotAcceptableReason Map(Btms.Types.Ipaffs.ChedppNotAcceptableReason? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonReasonEnumMapper.g.cs index cdaad129..25368c15 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ChedppNotAcceptableReasonReasonEnumMapper.g.cs @@ -48,8 +48,8 @@ public static class ChedppNotAcceptableReasonReasonEnumMapper Btms.Types.Ipaffs.ChedppNotAcceptableReasonReasonEnum.PhyOrsr => Btms.Model.Ipaffs.ChedppNotAcceptableReasonReasonEnum.PhyOrsr, Btms.Types.Ipaffs.ChedppNotAcceptableReasonReasonEnum.OthCnl => Btms.Model.Ipaffs.ChedppNotAcceptableReasonReasonEnum.OthCnl, Btms.Types.Ipaffs.ChedppNotAcceptableReasonReasonEnum.OthO => Btms.Model.Ipaffs.ChedppNotAcceptableReasonReasonEnum.OthO, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommoditiesCommodityIntendedForEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommoditiesCommodityIntendedForEnumMapper.g.cs index 8db9dca4..a6a45af1 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommoditiesCommodityIntendedForEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommoditiesCommodityIntendedForEnumMapper.g.cs @@ -23,8 +23,8 @@ public static class CommoditiesCommodityIntendedForEnumMapper Btms.Types.Ipaffs.CommoditiesCommodityIntendedForEnum.Feedingstuff => Btms.Model.Ipaffs.CommoditiesCommodityIntendedForEnum.Feedingstuff, Btms.Types.Ipaffs.CommoditiesCommodityIntendedForEnum.Further => Btms.Model.Ipaffs.CommoditiesCommodityIntendedForEnum.Further, Btms.Types.Ipaffs.CommoditiesCommodityIntendedForEnum.Other => Btms.Model.Ipaffs.CommoditiesCommodityIntendedForEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommoditiesMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommoditiesMapper.g.cs index fe2de2ab..97195e01 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommoditiesMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommoditiesMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CommoditiesMapper { - public static Btms.Model.Ipaffs.Commodities Map(Btms.Types.Ipaffs.Commodities from) + public static Btms.Model.Ipaffs.Commodities Map(Btms.Types.Ipaffs.Commodities? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityChecksMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityChecksMapper.g.cs index 6a3863f4..b8f9c3f2 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityChecksMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityChecksMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CommodityChecksMapper { - public static Btms.Model.Ipaffs.CommodityChecks Map(Btms.Types.Ipaffs.CommodityChecks from) + public static Btms.Model.Ipaffs.CommodityChecks Map(Btms.Types.Ipaffs.CommodityChecks? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityComplementMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityComplementMapper.g.cs index f109eb1b..347d6c5e 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityComplementMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityComplementMapper.g.cs @@ -14,36 +14,35 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CommodityComplementMapper { - public static Btms.Model.Ipaffs.CommodityComplement Map(Btms.Types.Ipaffs.CommodityComplement from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.CommodityComplement(); - to.UniqueComplementId = from?.UniqueComplementId; - to.CommodityDescription = from?.CommodityDescription; - to.CommodityId = from?.CommodityId; - to.ComplementId = from?.ComplementId; - to.ComplementName = from?.ComplementName; - to.EppoCode = from?.EppoCode; - to.IsWoodPackaging = from?.IsWoodPackaging; - to.SpeciesId = from?.SpeciesId; - to.SpeciesName = from?.SpeciesName; - to.SpeciesNomination = from?.SpeciesNomination; - to.SpeciesTypeName = from?.SpeciesTypeName; - to.SpeciesType = from?.SpeciesType; - to.SpeciesClassName = from?.SpeciesClassName; - to.SpeciesClass = from?.SpeciesClass; - to.SpeciesFamilyName = from?.SpeciesFamilyName; - to.SpeciesFamily = from?.SpeciesFamily; - to.SpeciesCommonName = from?.SpeciesCommonName; - to.IsCdsMatched = from?.IsCdsMatched; - to.AdditionalData = from?.AdditionalData; - to.RiskAssesment = CommodityRiskResultMapper.Map(from?.RiskAssesment!); - to.Checks = from?.Checks?.Select(x => InspectionCheckMapper.Map(x)).ToArray(); - return to; - } + public static Btms.Model.Ipaffs.CommodityComplement Map(Btms.Types.Ipaffs.CommodityComplement? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.CommodityComplement (); +to.UniqueComplementId = from?.UniqueComplementId; + to.CommodityDescription = from?.CommodityDescription; + to.CommodityId = from?.CommodityId; + to.ComplementId = from?.ComplementId; + to.ComplementName = from?.ComplementName; + to.EppoCode = from?.EppoCode; + to.IsWoodPackaging = from?.IsWoodPackaging; + to.SpeciesId = from?.SpeciesId; + to.SpeciesName = from?.SpeciesName; + to.SpeciesNomination = from?.SpeciesNomination; + to.SpeciesTypeName = from?.SpeciesTypeName; + to.SpeciesType = from?.SpeciesType; + to.SpeciesClassName = from?.SpeciesClassName; + to.SpeciesClass = from?.SpeciesClass; + to.SpeciesFamilyName = from?.SpeciesFamilyName; + to.SpeciesFamily = from?.SpeciesFamily; + to.SpeciesCommonName = from?.SpeciesCommonName; + to.IsCdsMatched = from?.IsCdsMatched; + to.AdditionalData = from?.AdditionalData; + to.RiskAssesment = CommodityRiskResultMapper.Map(from?.RiskAssesment); + to.Checks = from?.Checks?.Select(x => InspectionCheckMapper.Map(x)).ToArray(); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultExitRiskDecisionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultExitRiskDecisionEnumMapper.g.cs index d1bc0495..8e32c5a9 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultExitRiskDecisionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultExitRiskDecisionEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class CommodityRiskResultExitRiskDecisionEnumMapper Btms.Types.Ipaffs.CommodityRiskResultExitRiskDecisionEnum.Required => Btms.Model.Ipaffs.CommodityRiskResultExitRiskDecisionEnum.Required, Btms.Types.Ipaffs.CommodityRiskResultExitRiskDecisionEnum.Notrequired => Btms.Model.Ipaffs.CommodityRiskResultExitRiskDecisionEnum.Notrequired, Btms.Types.Ipaffs.CommodityRiskResultExitRiskDecisionEnum.Inconclusive => Btms.Model.Ipaffs.CommodityRiskResultExitRiskDecisionEnum.Inconclusive, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultHmiDecisionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultHmiDecisionEnumMapper.g.cs index 349210a3..1bd43793 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultHmiDecisionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultHmiDecisionEnumMapper.g.cs @@ -21,8 +21,8 @@ public static class CommodityRiskResultHmiDecisionEnumMapper { Btms.Types.Ipaffs.CommodityRiskResultHmiDecisionEnum.Required => Btms.Model.Ipaffs.CommodityRiskResultHmiDecisionEnum.Required, Btms.Types.Ipaffs.CommodityRiskResultHmiDecisionEnum.Notrequired => Btms.Model.Ipaffs.CommodityRiskResultHmiDecisionEnum.Notrequired, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultMapper.g.cs index a9131631..e2839d22 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultMapper.g.cs @@ -14,28 +14,27 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CommodityRiskResultMapper { - public static Btms.Model.Ipaffs.CommodityRiskResult Map(Btms.Types.Ipaffs.CommodityRiskResult from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.CommodityRiskResult(); - to.RiskDecision = CommodityRiskResultRiskDecisionEnumMapper.Map(from?.RiskDecision); - to.ExitRiskDecision = CommodityRiskResultExitRiskDecisionEnumMapper.Map(from?.ExitRiskDecision); - to.HmiDecision = CommodityRiskResultHmiDecisionEnumMapper.Map(from?.HmiDecision); - to.PhsiDecision = CommodityRiskResultPhsiDecisionEnumMapper.Map(from?.PhsiDecision); - to.PhsiClassification = CommodityRiskResultPhsiClassificationEnumMapper.Map(from?.PhsiClassification); - to.Phsi = PhsiMapper.Map(from?.Phsi!); - to.UniqueId = from?.UniqueId; - to.EppoCode = from?.EppoCode; - to.Variety = from?.Variety; - to.IsWoody = from?.IsWoody; - to.IndoorOutdoor = from?.IndoorOutdoor; - to.Propagation = from?.Propagation; - to.PhsiRuleType = from?.PhsiRuleType; - return to; - } + public static Btms.Model.Ipaffs.CommodityRiskResult Map(Btms.Types.Ipaffs.CommodityRiskResult? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.CommodityRiskResult (); +to.RiskDecision = CommodityRiskResultRiskDecisionEnumMapper.Map(from?.RiskDecision); + to.ExitRiskDecision = CommodityRiskResultExitRiskDecisionEnumMapper.Map(from?.ExitRiskDecision); + to.HmiDecision = CommodityRiskResultHmiDecisionEnumMapper.Map(from?.HmiDecision); + to.PhsiDecision = CommodityRiskResultPhsiDecisionEnumMapper.Map(from?.PhsiDecision); + to.PhsiClassification = CommodityRiskResultPhsiClassificationEnumMapper.Map(from?.PhsiClassification); + to.Phsi = PhsiMapper.Map(from?.Phsi); + to.UniqueId = from?.UniqueId; + to.EppoCode = from?.EppoCode; + to.Variety = from?.Variety; + to.IsWoody = from?.IsWoody; + to.IndoorOutdoor = from?.IndoorOutdoor; + to.Propagation = from?.Propagation; + to.PhsiRuleType = from?.PhsiRuleType; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiClassificationEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiClassificationEnumMapper.g.cs index 5eb32d8b..5993e340 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiClassificationEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiClassificationEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class CommodityRiskResultPhsiClassificationEnumMapper Btms.Types.Ipaffs.CommodityRiskResultPhsiClassificationEnum.Mandatory => Btms.Model.Ipaffs.CommodityRiskResultPhsiClassificationEnum.Mandatory, Btms.Types.Ipaffs.CommodityRiskResultPhsiClassificationEnum.Reduced => Btms.Model.Ipaffs.CommodityRiskResultPhsiClassificationEnum.Reduced, Btms.Types.Ipaffs.CommodityRiskResultPhsiClassificationEnum.Controlled => Btms.Model.Ipaffs.CommodityRiskResultPhsiClassificationEnum.Controlled, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiDecisionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiDecisionEnumMapper.g.cs index 2b19d908..93838a4e 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiDecisionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultPhsiDecisionEnumMapper.g.cs @@ -21,8 +21,8 @@ public static class CommodityRiskResultPhsiDecisionEnumMapper { Btms.Types.Ipaffs.CommodityRiskResultPhsiDecisionEnum.Required => Btms.Model.Ipaffs.CommodityRiskResultPhsiDecisionEnum.Required, Btms.Types.Ipaffs.CommodityRiskResultPhsiDecisionEnum.Notrequired => Btms.Model.Ipaffs.CommodityRiskResultPhsiDecisionEnum.Notrequired, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultRiskDecisionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultRiskDecisionEnumMapper.g.cs index 8e0020ef..3f8bcd43 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultRiskDecisionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommodityRiskResultRiskDecisionEnumMapper.g.cs @@ -23,8 +23,8 @@ public static class CommodityRiskResultRiskDecisionEnumMapper Btms.Types.Ipaffs.CommodityRiskResultRiskDecisionEnum.Notrequired => Btms.Model.Ipaffs.CommodityRiskResultRiskDecisionEnum.Notrequired, Btms.Types.Ipaffs.CommodityRiskResultRiskDecisionEnum.Inconclusive => Btms.Model.Ipaffs.CommodityRiskResultRiskDecisionEnum.Inconclusive, Btms.Types.Ipaffs.CommodityRiskResultRiskDecisionEnum.ReenforcedCheck => Btms.Model.Ipaffs.CommodityRiskResultRiskDecisionEnum.ReenforcedCheck, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/CommonUserChargeMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/CommonUserChargeMapper.g.cs index e0f381c5..c2c288f9 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/CommonUserChargeMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/CommonUserChargeMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class CommonUserChargeMapper { - public static Btms.Model.Ipaffs.CommonUserCharge Map(Btms.Types.Ipaffs.CommonUserCharge from) + public static Btms.Model.Ipaffs.CommonUserCharge Map(Btms.Types.Ipaffs.CommonUserCharge? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ComplementParameterSetMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ComplementParameterSetMapper.g.cs index 9ec3ae24..009ab98e 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ComplementParameterSetMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ComplementParameterSetMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ComplementParameterSetMapper { - public static Btms.Model.Ipaffs.ComplementParameterSet Map(Btms.Types.Ipaffs.ComplementParameterSet from) + public static Btms.Model.Ipaffs.ComplementParameterSet Map(Btms.Types.Ipaffs.ComplementParameterSet? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckNotDoneReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckNotDoneReasonEnumMapper.g.cs index 35636664..3f8e26c6 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckNotDoneReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckNotDoneReasonEnumMapper.g.cs @@ -21,8 +21,8 @@ public static class ConsignmentCheckIdentityCheckNotDoneReasonEnumMapper { Btms.Types.Ipaffs.ConsignmentCheckIdentityCheckNotDoneReasonEnum.ReducedChecksRegime => Btms.Model.Ipaffs.ConsignmentCheckIdentityCheckNotDoneReasonEnum.ReducedChecksRegime, Btms.Types.Ipaffs.ConsignmentCheckIdentityCheckNotDoneReasonEnum.NotRequired => Btms.Model.Ipaffs.ConsignmentCheckIdentityCheckNotDoneReasonEnum.NotRequired, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckTypeEnumMapper.g.cs index 9ca39b36..b6f8fc13 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckIdentityCheckTypeEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class ConsignmentCheckIdentityCheckTypeEnumMapper Btms.Types.Ipaffs.ConsignmentCheckIdentityCheckTypeEnum.SealCheck => Btms.Model.Ipaffs.ConsignmentCheckIdentityCheckTypeEnum.SealCheck, Btms.Types.Ipaffs.ConsignmentCheckIdentityCheckTypeEnum.FullIdentityCheck => Btms.Model.Ipaffs.ConsignmentCheckIdentityCheckTypeEnum.FullIdentityCheck, Btms.Types.Ipaffs.ConsignmentCheckIdentityCheckTypeEnum.NotDone => Btms.Model.Ipaffs.ConsignmentCheckIdentityCheckTypeEnum.NotDone, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckMapper.g.cs index 4fb20305..e87d605e 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ConsignmentCheckMapper { - public static Btms.Model.Ipaffs.ConsignmentCheck Map(Btms.Types.Ipaffs.ConsignmentCheck from) + public static Btms.Model.Ipaffs.ConsignmentCheck Map(Btms.Types.Ipaffs.ConsignmentCheck? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckPhysicalCheckNotDoneReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckPhysicalCheckNotDoneReasonEnumMapper.g.cs index 821ce16a..7641b753 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckPhysicalCheckNotDoneReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ConsignmentCheckPhysicalCheckNotDoneReasonEnumMapper.g.cs @@ -21,8 +21,8 @@ public static class ConsignmentCheckPhysicalCheckNotDoneReasonEnumMapper { Btms.Types.Ipaffs.ConsignmentCheckPhysicalCheckNotDoneReasonEnum.ReducedChecksRegime => Btms.Model.Ipaffs.ConsignmentCheckPhysicalCheckNotDoneReasonEnum.ReducedChecksRegime, Btms.Types.Ipaffs.ConsignmentCheckPhysicalCheckNotDoneReasonEnum.Other => Btms.Model.Ipaffs.ConsignmentCheckPhysicalCheckNotDoneReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ContactDetailsMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ContactDetailsMapper.g.cs index 8c1fc509..f9b05800 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ContactDetailsMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ContactDetailsMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ContactDetailsMapper { - public static Btms.Model.Ipaffs.ContactDetails Map(Btms.Types.Ipaffs.ContactDetails from) + public static Btms.Model.Ipaffs.ContactDetails Map(Btms.Types.Ipaffs.ContactDetails? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityIuuOptionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityIuuOptionEnumMapper.g.cs index a9644ac9..a4f824b4 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityIuuOptionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityIuuOptionEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class ControlAuthorityIuuOptionEnumMapper Btms.Types.Ipaffs.ControlAuthorityIuuOptionEnum.Iuuok => Btms.Model.Ipaffs.ControlAuthorityIuuOptionEnum.Iuuok, Btms.Types.Ipaffs.ControlAuthorityIuuOptionEnum.Iuuna => Btms.Model.Ipaffs.ControlAuthorityIuuOptionEnum.Iuuna, Btms.Types.Ipaffs.ControlAuthorityIuuOptionEnum.IUUNotCompliant => Btms.Model.Ipaffs.ControlAuthorityIuuOptionEnum.IUUNotCompliant, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityMapper.g.cs index c0feb192..7e5043c4 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ControlAuthorityMapper.g.cs @@ -14,22 +14,21 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ControlAuthorityMapper { - public static Btms.Model.Ipaffs.ControlAuthority Map(Btms.Types.Ipaffs.ControlAuthority from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.ControlAuthority(); - to.OfficialVeterinarian = OfficialVeterinarianMapper.Map(from?.OfficialVeterinarian!); - to.CustomsReferenceNo = from?.CustomsReferenceNo; - to.ContainerResealed = from?.ContainerResealed; - to.NewSealNumber = from?.NewSealNumber; - to.IuuFishingReference = from?.IuuFishingReference; - to.IuuCheckRequired = from?.IuuCheckRequired; - to.IuuOption = ControlAuthorityIuuOptionEnumMapper.Map(from?.IuuOption); - return to; - } + public static Btms.Model.Ipaffs.ControlAuthority Map(Btms.Types.Ipaffs.ControlAuthority? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.ControlAuthority (); +to.OfficialVeterinarian = OfficialVeterinarianMapper.Map(from?.OfficialVeterinarian); + to.CustomsReferenceNo = from?.CustomsReferenceNo; + to.ContainerResealed = from?.ContainerResealed; + to.NewSealNumber = from?.NewSealNumber; + to.IuuFishingReference = from?.IuuFishingReference; + to.IuuCheckRequired = from?.IuuCheckRequired; + to.IuuOption = ControlAuthorityIuuOptionEnumMapper.Map(from?.IuuOption); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ControlConsignmentLeaveEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ControlConsignmentLeaveEnumMapper.g.cs index ae27c92b..8ea07952 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ControlConsignmentLeaveEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ControlConsignmentLeaveEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class ControlConsignmentLeaveEnumMapper Btms.Types.Ipaffs.ControlConsignmentLeaveEnum.Yes => Btms.Model.Ipaffs.ControlConsignmentLeaveEnum.Yes, Btms.Types.Ipaffs.ControlConsignmentLeaveEnum.No => Btms.Model.Ipaffs.ControlConsignmentLeaveEnum.No, Btms.Types.Ipaffs.ControlConsignmentLeaveEnum.ItHasBeenDestroyed => Btms.Model.Ipaffs.ControlConsignmentLeaveEnum.ItHasBeenDestroyed, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ControlMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ControlMapper.g.cs index 4b048587..0453a560 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ControlMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ControlMapper.g.cs @@ -14,19 +14,18 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ControlMapper { - public static Btms.Model.Ipaffs.Control Map(Btms.Types.Ipaffs.Control from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.Control(); - to.FeedbackInformation = FeedbackInformationMapper.Map(from?.FeedbackInformation!); - to.DetailsOnReExport = DetailsOnReExportMapper.Map(from?.DetailsOnReExport!); - to.OfficialInspector = OfficialInspectorMapper.Map(from?.OfficialInspector!); - to.ConsignmentLeave = ControlConsignmentLeaveEnumMapper.Map(from?.ConsignmentLeave); - return to; - } + public static Btms.Model.Ipaffs.Control Map(Btms.Types.Ipaffs.Control? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.Control (); +to.FeedbackInformation = FeedbackInformationMapper.Map(from?.FeedbackInformation); + to.DetailsOnReExport = DetailsOnReExportMapper.Map(from?.DetailsOnReExport); + to.OfficialInspector = OfficialInspectorMapper.Map(from?.OfficialInspector); + to.ConsignmentLeave = ControlConsignmentLeaveEnumMapper.Map(from?.ConsignmentLeave); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionDecisionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionDecisionEnumMapper.g.cs index 7c6d4d82..269ab7d4 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionDecisionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionDecisionEnumMapper.g.cs @@ -29,8 +29,8 @@ public static class DecisionDecisionEnumMapper Btms.Types.Ipaffs.DecisionDecisionEnum.AcceptableForPrivateImport => Btms.Model.Ipaffs.DecisionDecisionEnum.AcceptableForPrivateImport, Btms.Types.Ipaffs.DecisionDecisionEnum.AcceptableForTransfer => Btms.Model.Ipaffs.DecisionDecisionEnum.AcceptableForTransfer, Btms.Types.Ipaffs.DecisionDecisionEnum.HorseReEntry => Btms.Model.Ipaffs.DecisionDecisionEnum.HorseReEntry, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionDefinitiveImportPurposeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionDefinitiveImportPurposeEnumMapper.g.cs index 920f1b3e..d023a617 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionDefinitiveImportPurposeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionDefinitiveImportPurposeEnumMapper.g.cs @@ -22,8 +22,8 @@ public static class DecisionDefinitiveImportPurposeEnumMapper Btms.Types.Ipaffs.DecisionDefinitiveImportPurposeEnum.Slaughter => Btms.Model.Ipaffs.DecisionDefinitiveImportPurposeEnum.Slaughter, Btms.Types.Ipaffs.DecisionDefinitiveImportPurposeEnum.Approvedbodies => Btms.Model.Ipaffs.DecisionDefinitiveImportPurposeEnum.Approvedbodies, Btms.Types.Ipaffs.DecisionDefinitiveImportPurposeEnum.Quarantine => Btms.Model.Ipaffs.DecisionDefinitiveImportPurposeEnum.Quarantine, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionFreeCirculationPurposeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionFreeCirculationPurposeEnumMapper.g.cs index 1a4b8309..061bb548 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionFreeCirculationPurposeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionFreeCirculationPurposeEnumMapper.g.cs @@ -25,8 +25,8 @@ public static class DecisionFreeCirculationPurposeEnumMapper Btms.Types.Ipaffs.DecisionFreeCirculationPurposeEnum.TechnicalUse => Btms.Model.Ipaffs.DecisionFreeCirculationPurposeEnum.TechnicalUse, Btms.Types.Ipaffs.DecisionFreeCirculationPurposeEnum.FurtherProcess => Btms.Model.Ipaffs.DecisionFreeCirculationPurposeEnum.FurtherProcess, Btms.Types.Ipaffs.DecisionFreeCirculationPurposeEnum.Other => Btms.Model.Ipaffs.DecisionFreeCirculationPurposeEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionIfChanneledOptionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionIfChanneledOptionEnumMapper.g.cs index 91e55aad..80913b0f 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionIfChanneledOptionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionIfChanneledOptionEnumMapper.g.cs @@ -21,8 +21,8 @@ public static class DecisionIfChanneledOptionEnumMapper { Btms.Types.Ipaffs.DecisionIfChanneledOptionEnum.Article8 => Btms.Model.Ipaffs.DecisionIfChanneledOptionEnum.Article8, Btms.Types.Ipaffs.DecisionIfChanneledOptionEnum.Article15 => Btms.Model.Ipaffs.DecisionIfChanneledOptionEnum.Article15, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionMapper.g.cs index f57a625f..b5392081 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionMapper.g.cs @@ -14,66 +14,51 @@ namespace Btms.Types.Ipaffs.Mapping; public static class DecisionMapper { - public static Btms.Model.Ipaffs.Decision Map(Btms.Types.Ipaffs.Decision from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.Decision(); - to.ConsignmentAcceptable = from?.ConsignmentAcceptable; - to.NotAcceptableAction = DecisionNotAcceptableActionEnumMapper.Map(from?.NotAcceptableAction); - to.NotAcceptableActionDestructionReason = - DecisionNotAcceptableActionDestructionReasonEnumMapper.Map(from?.NotAcceptableActionDestructionReason); - to.NotAcceptableActionEntryRefusalReason = - DecisionNotAcceptableActionEntryRefusalReasonEnumMapper.Map(from?.NotAcceptableActionEntryRefusalReason); - to.NotAcceptableActionQuarantineImposedReason = - DecisionNotAcceptableActionQuarantineImposedReasonEnumMapper.Map(from - ?.NotAcceptableActionQuarantineImposedReason); - to.NotAcceptableActionSpecialTreatmentReason = - DecisionNotAcceptableActionSpecialTreatmentReasonEnumMapper.Map(from - ?.NotAcceptableActionSpecialTreatmentReason); - to.NotAcceptableActionIndustrialProcessingReason = - DecisionNotAcceptableActionIndustrialProcessingReasonEnumMapper.Map(from - ?.NotAcceptableActionIndustrialProcessingReason); - to.NotAcceptableActionReDispatchReason = - DecisionNotAcceptableActionReDispatchReasonEnumMapper.Map(from?.NotAcceptableActionReDispatchReason); - to.NotAcceptableActionUseForOtherPurposesReason = - DecisionNotAcceptableActionUseForOtherPurposesReasonEnumMapper.Map(from - ?.NotAcceptableActionUseForOtherPurposesReason); - to.NotAcceptableDestructionReason = from?.NotAcceptableDestructionReason; - to.NotAcceptableActionOtherReason = from?.NotAcceptableActionOtherReason; - to.NotAcceptableActionByDate = from?.NotAcceptableActionByDate; - to.ChedppNotAcceptableReasons = from?.ChedppNotAcceptableReasons - ?.Select(x => ChedppNotAcceptableReasonMapper.Map(x)).ToArray(); - to.NotAcceptableReasons = from?.NotAcceptableReasons; - to.NotAcceptableCountry = from?.NotAcceptableCountry; - to.NotAcceptableEstablishment = from?.NotAcceptableEstablishment; - to.NotAcceptableOtherReason = from?.NotAcceptableOtherReason; - to.DetailsOfControlledDestinations = PartyMapper.Map(from?.DetailsOfControlledDestinations!); - to.SpecificWarehouseNonConformingConsignment = - DecisionSpecificWarehouseNonConformingConsignmentEnumMapper.Map(from - ?.SpecificWarehouseNonConformingConsignment); - to.TemporaryDeadline = from?.TemporaryDeadline; - to.DecisionEnum = DecisionDecisionEnumMapper.Map(from?.DecisionEnum); - to.FreeCirculationPurpose = DecisionFreeCirculationPurposeEnumMapper.Map(from?.FreeCirculationPurpose); - to.DefinitiveImportPurpose = DecisionDefinitiveImportPurposeEnumMapper.Map(from?.DefinitiveImportPurpose); - to.IfChanneledOption = DecisionIfChanneledOptionEnumMapper.Map(from?.IfChanneledOption); - to.CustomWarehouseRegisteredNumber = from?.CustomWarehouseRegisteredNumber; - to.FreeWarehouseRegisteredNumber = from?.FreeWarehouseRegisteredNumber; - to.ShipName = from?.ShipName; - to.ShipPortOfExit = from?.ShipPortOfExit; - to.ShipSupplierRegisteredNumber = from?.ShipSupplierRegisteredNumber; - to.TranshipmentBip = from?.TranshipmentBip; - to.TranshipmentThirdCountry = from?.TranshipmentThirdCountry; - to.TransitExitBip = from?.TransitExitBip; - to.TransitThirdCountry = from?.TransitThirdCountry; - to.TransitDestinationThirdCountry = from?.TransitDestinationThirdCountry; - to.TemporaryExitBip = from?.TemporaryExitBip; - to.HorseReentry = from?.HorseReentry; - to.TranshipmentEuOrThirdCountry = from?.TranshipmentEuOrThirdCountry; - return to; - } + public static Btms.Model.Ipaffs.Decision Map(Btms.Types.Ipaffs.Decision? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.Decision (); +to.ConsignmentAcceptable = from?.ConsignmentAcceptable; + to.NotAcceptableAction = DecisionNotAcceptableActionEnumMapper.Map(from?.NotAcceptableAction); + to.NotAcceptableActionDestructionReason = DecisionNotAcceptableActionDestructionReasonEnumMapper.Map(from?.NotAcceptableActionDestructionReason); + to.NotAcceptableActionEntryRefusalReason = DecisionNotAcceptableActionEntryRefusalReasonEnumMapper.Map(from?.NotAcceptableActionEntryRefusalReason); + to.NotAcceptableActionQuarantineImposedReason = DecisionNotAcceptableActionQuarantineImposedReasonEnumMapper.Map(from?.NotAcceptableActionQuarantineImposedReason); + to.NotAcceptableActionSpecialTreatmentReason = DecisionNotAcceptableActionSpecialTreatmentReasonEnumMapper.Map(from?.NotAcceptableActionSpecialTreatmentReason); + to.NotAcceptableActionIndustrialProcessingReason = DecisionNotAcceptableActionIndustrialProcessingReasonEnumMapper.Map(from?.NotAcceptableActionIndustrialProcessingReason); + to.NotAcceptableActionReDispatchReason = DecisionNotAcceptableActionReDispatchReasonEnumMapper.Map(from?.NotAcceptableActionReDispatchReason); + to.NotAcceptableActionUseForOtherPurposesReason = DecisionNotAcceptableActionUseForOtherPurposesReasonEnumMapper.Map(from?.NotAcceptableActionUseForOtherPurposesReason); + to.NotAcceptableDestructionReason = from?.NotAcceptableDestructionReason; + to.NotAcceptableActionOtherReason = from?.NotAcceptableActionOtherReason; + to.NotAcceptableActionByDate = from?.NotAcceptableActionByDate; + to.ChedppNotAcceptableReasons = from?.ChedppNotAcceptableReasons?.Select(x => ChedppNotAcceptableReasonMapper.Map(x)).ToArray(); + to.NotAcceptableReasons = from?.NotAcceptableReasons; + to.NotAcceptableCountry = from?.NotAcceptableCountry; + to.NotAcceptableEstablishment = from?.NotAcceptableEstablishment; + to.NotAcceptableOtherReason = from?.NotAcceptableOtherReason; + to.DetailsOfControlledDestinations = PartyMapper.Map(from?.DetailsOfControlledDestinations); + to.SpecificWarehouseNonConformingConsignment = DecisionSpecificWarehouseNonConformingConsignmentEnumMapper.Map(from?.SpecificWarehouseNonConformingConsignment); + to.TemporaryDeadline = from?.TemporaryDeadline; + to.DecisionEnum = DecisionDecisionEnumMapper.Map(from?.DecisionEnum); + to.FreeCirculationPurpose = DecisionFreeCirculationPurposeEnumMapper.Map(from?.FreeCirculationPurpose); + to.DefinitiveImportPurpose = DecisionDefinitiveImportPurposeEnumMapper.Map(from?.DefinitiveImportPurpose); + to.IfChanneledOption = DecisionIfChanneledOptionEnumMapper.Map(from?.IfChanneledOption); + to.CustomWarehouseRegisteredNumber = from?.CustomWarehouseRegisteredNumber; + to.FreeWarehouseRegisteredNumber = from?.FreeWarehouseRegisteredNumber; + to.ShipName = from?.ShipName; + to.ShipPortOfExit = from?.ShipPortOfExit; + to.ShipSupplierRegisteredNumber = from?.ShipSupplierRegisteredNumber; + to.TranshipmentBip = from?.TranshipmentBip; + to.TranshipmentThirdCountry = from?.TranshipmentThirdCountry; + to.TransitExitBip = from?.TransitExitBip; + to.TransitThirdCountry = from?.TransitThirdCountry; + to.TransitDestinationThirdCountry = from?.TransitDestinationThirdCountry; + to.TemporaryExitBip = from?.TemporaryExitBip; + to.HorseReentry = from?.HorseReentry; + to.TranshipmentEuOrThirdCountry = from?.TranshipmentEuOrThirdCountry; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionDestructionReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionDestructionReasonEnumMapper.g.cs index 68c62147..7895bc81 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionDestructionReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionDestructionReasonEnumMapper.g.cs @@ -23,8 +23,8 @@ public static class DecisionNotAcceptableActionDestructionReasonEnumMapper Btms.Types.Ipaffs.DecisionNotAcceptableActionDestructionReasonEnum.InterceptedPart => Btms.Model.Ipaffs.DecisionNotAcceptableActionDestructionReasonEnum.InterceptedPart, Btms.Types.Ipaffs.DecisionNotAcceptableActionDestructionReasonEnum.PackagingMaterial => Btms.Model.Ipaffs.DecisionNotAcceptableActionDestructionReasonEnum.PackagingMaterial, Btms.Types.Ipaffs.DecisionNotAcceptableActionDestructionReasonEnum.Other => Btms.Model.Ipaffs.DecisionNotAcceptableActionDestructionReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEntryRefusalReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEntryRefusalReasonEnumMapper.g.cs index 1f46e69c..13004a6e 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEntryRefusalReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEntryRefusalReasonEnumMapper.g.cs @@ -24,8 +24,8 @@ public static class DecisionNotAcceptableActionEntryRefusalReasonEnumMapper Btms.Types.Ipaffs.DecisionNotAcceptableActionEntryRefusalReasonEnum.PackagingMaterial => Btms.Model.Ipaffs.DecisionNotAcceptableActionEntryRefusalReasonEnum.PackagingMaterial, Btms.Types.Ipaffs.DecisionNotAcceptableActionEntryRefusalReasonEnum.MeansOfTransport => Btms.Model.Ipaffs.DecisionNotAcceptableActionEntryRefusalReasonEnum.MeansOfTransport, Btms.Types.Ipaffs.DecisionNotAcceptableActionEntryRefusalReasonEnum.Other => Btms.Model.Ipaffs.DecisionNotAcceptableActionEntryRefusalReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEnumMapper.g.cs index 12f9df19..3a94b11a 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionEnumMapper.g.cs @@ -32,8 +32,8 @@ public static class DecisionNotAcceptableActionEnumMapper Btms.Types.Ipaffs.DecisionNotAcceptableActionEnum.IndustrialProcessing => Btms.Model.Ipaffs.DecisionNotAcceptableActionEnum.IndustrialProcessing, Btms.Types.Ipaffs.DecisionNotAcceptableActionEnum.ReDispatch => Btms.Model.Ipaffs.DecisionNotAcceptableActionEnum.ReDispatch, Btms.Types.Ipaffs.DecisionNotAcceptableActionEnum.UseForOtherPurposes => Btms.Model.Ipaffs.DecisionNotAcceptableActionEnum.UseForOtherPurposes, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionIndustrialProcessingReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionIndustrialProcessingReasonEnumMapper.g.cs index 73ef503c..ac7f2f15 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionIndustrialProcessingReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionIndustrialProcessingReasonEnumMapper.g.cs @@ -23,8 +23,8 @@ public static class DecisionNotAcceptableActionIndustrialProcessingReasonEnumMap Btms.Types.Ipaffs.DecisionNotAcceptableActionIndustrialProcessingReasonEnum.InterceptedPart => Btms.Model.Ipaffs.DecisionNotAcceptableActionIndustrialProcessingReasonEnum.InterceptedPart, Btms.Types.Ipaffs.DecisionNotAcceptableActionIndustrialProcessingReasonEnum.PackagingMaterial => Btms.Model.Ipaffs.DecisionNotAcceptableActionIndustrialProcessingReasonEnum.PackagingMaterial, Btms.Types.Ipaffs.DecisionNotAcceptableActionIndustrialProcessingReasonEnum.Other => Btms.Model.Ipaffs.DecisionNotAcceptableActionIndustrialProcessingReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionQuarantineImposedReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionQuarantineImposedReasonEnumMapper.g.cs index f3223a31..15f6d37a 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionQuarantineImposedReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionQuarantineImposedReasonEnumMapper.g.cs @@ -23,8 +23,8 @@ public static class DecisionNotAcceptableActionQuarantineImposedReasonEnumMapper Btms.Types.Ipaffs.DecisionNotAcceptableActionQuarantineImposedReasonEnum.InterceptedPart => Btms.Model.Ipaffs.DecisionNotAcceptableActionQuarantineImposedReasonEnum.InterceptedPart, Btms.Types.Ipaffs.DecisionNotAcceptableActionQuarantineImposedReasonEnum.PackagingMaterial => Btms.Model.Ipaffs.DecisionNotAcceptableActionQuarantineImposedReasonEnum.PackagingMaterial, Btms.Types.Ipaffs.DecisionNotAcceptableActionQuarantineImposedReasonEnum.Other => Btms.Model.Ipaffs.DecisionNotAcceptableActionQuarantineImposedReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionReDispatchReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionReDispatchReasonEnumMapper.g.cs index 406e31a7..66870e7c 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionReDispatchReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionReDispatchReasonEnumMapper.g.cs @@ -24,8 +24,8 @@ public static class DecisionNotAcceptableActionReDispatchReasonEnumMapper Btms.Types.Ipaffs.DecisionNotAcceptableActionReDispatchReasonEnum.PackagingMaterial => Btms.Model.Ipaffs.DecisionNotAcceptableActionReDispatchReasonEnum.PackagingMaterial, Btms.Types.Ipaffs.DecisionNotAcceptableActionReDispatchReasonEnum.MeansOfTransport => Btms.Model.Ipaffs.DecisionNotAcceptableActionReDispatchReasonEnum.MeansOfTransport, Btms.Types.Ipaffs.DecisionNotAcceptableActionReDispatchReasonEnum.Other => Btms.Model.Ipaffs.DecisionNotAcceptableActionReDispatchReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionSpecialTreatmentReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionSpecialTreatmentReasonEnumMapper.g.cs index fe53d160..78a23e7f 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionSpecialTreatmentReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionSpecialTreatmentReasonEnumMapper.g.cs @@ -23,8 +23,8 @@ public static class DecisionNotAcceptableActionSpecialTreatmentReasonEnumMapper Btms.Types.Ipaffs.DecisionNotAcceptableActionSpecialTreatmentReasonEnum.InterceptedPart => Btms.Model.Ipaffs.DecisionNotAcceptableActionSpecialTreatmentReasonEnum.InterceptedPart, Btms.Types.Ipaffs.DecisionNotAcceptableActionSpecialTreatmentReasonEnum.PackagingMaterial => Btms.Model.Ipaffs.DecisionNotAcceptableActionSpecialTreatmentReasonEnum.PackagingMaterial, Btms.Types.Ipaffs.DecisionNotAcceptableActionSpecialTreatmentReasonEnum.Other => Btms.Model.Ipaffs.DecisionNotAcceptableActionSpecialTreatmentReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionUseForOtherPurposesReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionUseForOtherPurposesReasonEnumMapper.g.cs index 1d665e69..1d4d4bd8 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionUseForOtherPurposesReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionNotAcceptableActionUseForOtherPurposesReasonEnumMapper.g.cs @@ -11,30 +11,24 @@ namespace Btms.Types.Ipaffs.Mapping; public static class DecisionNotAcceptableActionUseForOtherPurposesReasonEnumMapper { - public static Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum? Map( - Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.ContaminatedProducts => Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.ContaminatedProducts, - Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.InterceptedPart => Btms.Model - .Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.InterceptedPart, - Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.PackagingMaterial => Btms.Model - .Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.PackagingMaterial, - Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.MeansOfTransport => Btms.Model - .Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.MeansOfTransport, - Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.Other => Btms.Model.Ipaffs - .DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.Other, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum? Map(Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.ContaminatedProducts => Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.ContaminatedProducts, + Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.InterceptedPart => Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.InterceptedPart, + Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.PackagingMaterial => Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.PackagingMaterial, + Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.MeansOfTransport => Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.MeansOfTransport, + Btms.Types.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.Other => Btms.Model.Ipaffs.DecisionNotAcceptableActionUseForOtherPurposesReasonEnum.Other, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DecisionSpecificWarehouseNonConformingConsignmentEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DecisionSpecificWarehouseNonConformingConsignmentEnumMapper.g.cs index 0c284b41..a5531c66 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DecisionSpecificWarehouseNonConformingConsignmentEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DecisionSpecificWarehouseNonConformingConsignmentEnumMapper.g.cs @@ -11,28 +11,23 @@ namespace Btms.Types.Ipaffs.Mapping; public static class DecisionSpecificWarehouseNonConformingConsignmentEnumMapper { - public static Btms.Model.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum? Map( - Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.CustomWarehouse => Btms.Model.Ipaffs - .DecisionSpecificWarehouseNonConformingConsignmentEnum.CustomWarehouse, - Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.FreeZoneOrFreeWarehouse => Btms.Model.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.FreeZoneOrFreeWarehouse, - Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.ShipSupplier => Btms.Model.Ipaffs - .DecisionSpecificWarehouseNonConformingConsignmentEnum.ShipSupplier, - Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.Ship => Btms.Model.Ipaffs - .DecisionSpecificWarehouseNonConformingConsignmentEnum.Ship, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum? Map(Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.CustomWarehouse => Btms.Model.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.CustomWarehouse, + Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.FreeZoneOrFreeWarehouse => Btms.Model.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.FreeZoneOrFreeWarehouse, + Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.ShipSupplier => Btms.Model.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.ShipSupplier, + Btms.Types.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.Ship => Btms.Model.Ipaffs.DecisionSpecificWarehouseNonConformingConsignmentEnum.Ship, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportMapper.g.cs index f304af99..f6734987 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class DetailsOnReExportMapper { - public static Btms.Model.Ipaffs.DetailsOnReExport Map(Btms.Types.Ipaffs.DetailsOnReExport from) + public static Btms.Model.Ipaffs.DetailsOnReExport Map(Btms.Types.Ipaffs.DetailsOnReExport? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportTransportTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportTransportTypeEnumMapper.g.cs index 950640f0..1ece4417 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportTransportTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/DetailsOnReExportTransportTypeEnumMapper.g.cs @@ -11,35 +11,26 @@ namespace Btms.Types.Ipaffs.Mapping; public static class DetailsOnReExportTransportTypeEnumMapper { - public static Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum? Map( - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Rail => Btms.Model.Ipaffs - .DetailsOnReExportTransportTypeEnum.Rail, - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Plane => Btms.Model.Ipaffs - .DetailsOnReExportTransportTypeEnum.Plane, - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Ship => Btms.Model.Ipaffs - .DetailsOnReExportTransportTypeEnum.Ship, - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Road => Btms.Model.Ipaffs - .DetailsOnReExportTransportTypeEnum.Road, - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Other => Btms.Model.Ipaffs - .DetailsOnReExportTransportTypeEnum.Other, - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.CShipRoad => Btms.Model.Ipaffs - .DetailsOnReExportTransportTypeEnum.CShipRoad, - Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.CShipRail => Btms.Model.Ipaffs - .DetailsOnReExportTransportTypeEnum.CShipRail, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum? Map(Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Rail => Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum.Rail, + Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Plane => Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum.Plane, + Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Ship => Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum.Ship, + Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Road => Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum.Road, + Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.Other => Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum.Other, + Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.CShipRoad => Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum.CShipRoad, + Btms.Types.Ipaffs.DetailsOnReExportTransportTypeEnum.CShipRail => Btms.Model.Ipaffs.DetailsOnReExportTransportTypeEnum.CShipRail, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorMapper.g.cs index 09dacd7f..cc58b1f3 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorMapper.g.cs @@ -14,24 +14,23 @@ namespace Btms.Types.Ipaffs.Mapping; public static class EconomicOperatorMapper { - public static Btms.Model.Ipaffs.EconomicOperator Map(Btms.Types.Ipaffs.EconomicOperator from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.EconomicOperator(); - to.Id = from?.Id; - to.Type = EconomicOperatorTypeEnumMapper.Map(from?.Type); - to.Status = EconomicOperatorStatusEnumMapper.Map(from?.Status); - to.CompanyName = from?.CompanyName; - to.IndividualName = from?.IndividualName; - to.Address = AddressMapper.Map(from?.Address!); - to.ApprovalNumber = from?.ApprovalNumber; - to.OtherIdentifier = from?.OtherIdentifier; - to.TracesId = from?.TracesId; - return to; - } + public static Btms.Model.Ipaffs.EconomicOperator Map(Btms.Types.Ipaffs.EconomicOperator? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.EconomicOperator (); +to.Id = from?.Id; + to.Type = EconomicOperatorTypeEnumMapper.Map(from?.Type); + to.Status = EconomicOperatorStatusEnumMapper.Map(from?.Status); + to.CompanyName = from?.CompanyName; + to.IndividualName = from?.IndividualName; + to.Address = AddressMapper.Map(from?.Address); + to.ApprovalNumber = from?.ApprovalNumber; + to.OtherIdentifier = from?.OtherIdentifier; + to.TracesId = from?.TracesId; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorStatusEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorStatusEnumMapper.g.cs index 06b61ad3..0b7b3e11 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorStatusEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorStatusEnumMapper.g.cs @@ -11,26 +11,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class EconomicOperatorStatusEnumMapper { - public static Btms.Model.Ipaffs.EconomicOperatorStatusEnum? Map(Btms.Types.Ipaffs.EconomicOperatorStatusEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.EconomicOperatorStatusEnum.Approved => Btms.Model.Ipaffs.EconomicOperatorStatusEnum - .Approved, - Btms.Types.Ipaffs.EconomicOperatorStatusEnum.Nonapproved => Btms.Model.Ipaffs.EconomicOperatorStatusEnum - .Nonapproved, - Btms.Types.Ipaffs.EconomicOperatorStatusEnum.Suspended => Btms.Model.Ipaffs.EconomicOperatorStatusEnum - .Suspended, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.EconomicOperatorStatusEnum? Map(Btms.Types.Ipaffs.EconomicOperatorStatusEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.EconomicOperatorStatusEnum.Approved => Btms.Model.Ipaffs.EconomicOperatorStatusEnum.Approved, + Btms.Types.Ipaffs.EconomicOperatorStatusEnum.Nonapproved => Btms.Model.Ipaffs.EconomicOperatorStatusEnum.Nonapproved, + Btms.Types.Ipaffs.EconomicOperatorStatusEnum.Suspended => Btms.Model.Ipaffs.EconomicOperatorStatusEnum.Suspended, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorTypeEnumMapper.g.cs index 2b6eb596..999e4ce0 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/EconomicOperatorTypeEnumMapper.g.cs @@ -11,41 +11,32 @@ namespace Btms.Types.Ipaffs.Mapping; public static class EconomicOperatorTypeEnumMapper { - public static Btms.Model.Ipaffs.EconomicOperatorTypeEnum? Map(Btms.Types.Ipaffs.EconomicOperatorTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Consignee => - Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Consignee, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Destination => Btms.Model.Ipaffs.EconomicOperatorTypeEnum - .Destination, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Exporter => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Exporter, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Importer => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Importer, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Charity => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Charity, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.CommercialTransporter => Btms.Model.Ipaffs - .EconomicOperatorTypeEnum.CommercialTransporter, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.CommercialTransporterUserAdded => Btms.Model.Ipaffs - .EconomicOperatorTypeEnum.CommercialTransporterUserAdded, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.PrivateTransporter => Btms.Model.Ipaffs.EconomicOperatorTypeEnum - .PrivateTransporter, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.TemporaryAddress => Btms.Model.Ipaffs.EconomicOperatorTypeEnum - .TemporaryAddress, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.PremisesOfOrigin => Btms.Model.Ipaffs.EconomicOperatorTypeEnum - .PremisesOfOrigin, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.OrganisationBranchAddress => Btms.Model.Ipaffs - .EconomicOperatorTypeEnum.OrganisationBranchAddress, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Packer => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Packer, - Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Pod => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Pod, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.EconomicOperatorTypeEnum? Map(Btms.Types.Ipaffs.EconomicOperatorTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Consignee => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Consignee, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Destination => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Destination, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Exporter => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Exporter, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Importer => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Importer, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Charity => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Charity, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.CommercialTransporter => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.CommercialTransporter, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.CommercialTransporterUserAdded => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.CommercialTransporterUserAdded, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.PrivateTransporter => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.PrivateTransporter, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.TemporaryAddress => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.TemporaryAddress, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.PremisesOfOrigin => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.PremisesOfOrigin, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.OrganisationBranchAddress => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.OrganisationBranchAddress, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Packer => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Packer, + Btms.Types.Ipaffs.EconomicOperatorTypeEnum.Pod => Btms.Model.Ipaffs.EconomicOperatorTypeEnum.Pod, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceMapper.g.cs index 55b2ccbe..da493d7e 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ExternalReferenceMapper { - public static Btms.Model.Ipaffs.ExternalReference Map(Btms.Types.Ipaffs.ExternalReference from) + public static Btms.Model.Ipaffs.ExternalReference Map(Btms.Types.Ipaffs.ExternalReference? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceSystemEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceSystemEnumMapper.g.cs index 13ad7bf8..4a0fc195 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceSystemEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ExternalReferenceSystemEnumMapper.g.cs @@ -23,8 +23,8 @@ public static class ExternalReferenceSystemEnumMapper Btms.Types.Ipaffs.ExternalReferenceSystemEnum.Ephyto => Btms.Model.Ipaffs.ExternalReferenceSystemEnum.Ephyto, Btms.Types.Ipaffs.ExternalReferenceSystemEnum.Enotification => Btms.Model.Ipaffs.ExternalReferenceSystemEnum.Enotification, Btms.Types.Ipaffs.ExternalReferenceSystemEnum.Ncts => Btms.Model.Ipaffs.ExternalReferenceSystemEnum.Ncts, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) }; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationAuthorityTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationAuthorityTypeEnumMapper.g.cs index a080a138..d74d5255 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationAuthorityTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationAuthorityTypeEnumMapper.g.cs @@ -11,28 +11,23 @@ namespace Btms.Types.Ipaffs.Mapping; public static class FeedbackInformationAuthorityTypeEnumMapper { - public static Btms.Model.Ipaffs.FeedbackInformationAuthorityTypeEnum? Map( - Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Exitbip => Btms.Model.Ipaffs - .FeedbackInformationAuthorityTypeEnum.Exitbip, - Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Finalbip => Btms.Model.Ipaffs - .FeedbackInformationAuthorityTypeEnum.Finalbip, - Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Localvetunit => Btms.Model.Ipaffs - .FeedbackInformationAuthorityTypeEnum.Localvetunit, - Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Inspunit => Btms.Model.Ipaffs - .FeedbackInformationAuthorityTypeEnum.Inspunit, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } +public static Btms.Model.Ipaffs.FeedbackInformationAuthorityTypeEnum? Map(Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Exitbip => Btms.Model.Ipaffs.FeedbackInformationAuthorityTypeEnum.Exitbip, + Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Finalbip => Btms.Model.Ipaffs.FeedbackInformationAuthorityTypeEnum.Finalbip, + Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Localvetunit => Btms.Model.Ipaffs.FeedbackInformationAuthorityTypeEnum.Localvetunit, + Btms.Types.Ipaffs.FeedbackInformationAuthorityTypeEnum.Inspunit => Btms.Model.Ipaffs.FeedbackInformationAuthorityTypeEnum.Inspunit, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationMapper.g.cs index 48fd94b7..655829a6 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/FeedbackInformationMapper.g.cs @@ -14,20 +14,19 @@ namespace Btms.Types.Ipaffs.Mapping; public static class FeedbackInformationMapper { - public static Btms.Model.Ipaffs.FeedbackInformation Map(Btms.Types.Ipaffs.FeedbackInformation from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.FeedbackInformation(); - to.AuthorityType = FeedbackInformationAuthorityTypeEnumMapper.Map(from?.AuthorityType); - to.ConsignmentArrival = from?.ConsignmentArrival; - to.ConsignmentConformity = from?.ConsignmentConformity; - to.ConsignmentNoArrivalReason = from?.ConsignmentNoArrivalReason; - to.DestructionDate = from?.DestructionDate; - return to; - } + public static Btms.Model.Ipaffs.FeedbackInformation Map(Btms.Types.Ipaffs.FeedbackInformation? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.FeedbackInformation (); +to.AuthorityType = FeedbackInformationAuthorityTypeEnumMapper.Map(from?.AuthorityType); + to.ConsignmentArrival = from?.ConsignmentArrival; + to.ConsignmentConformity = from?.ConsignmentConformity; + to.ConsignmentNoArrivalReason = from?.ConsignmentNoArrivalReason; + to.DestructionDate = from?.DestructionDate; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/IdentificationDetailsMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/IdentificationDetailsMapper.g.cs index 32e00851..f202b8da 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/IdentificationDetailsMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/IdentificationDetailsMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class IdentificationDetailsMapper { - public static Btms.Model.Ipaffs.IdentificationDetails Map(Btms.Types.Ipaffs.IdentificationDetails from) + public static Btms.Model.Ipaffs.IdentificationDetails Map(Btms.Types.Ipaffs.IdentificationDetails? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/IdentifiersMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/IdentifiersMapper.g.cs index 66922384..a4ba300a 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/IdentifiersMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/IdentifiersMapper.g.cs @@ -14,19 +14,18 @@ namespace Btms.Types.Ipaffs.Mapping; public static class IdentifiersMapper { - public static Btms.Model.Ipaffs.Identifiers Map(Btms.Types.Ipaffs.Identifiers from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.Identifiers(); - to.SpeciesNumber = from?.SpeciesNumber; - to.Data = from?.Data; - to.IsPlaceOfDestinationThePermanentAddress = from?.IsPlaceOfDestinationThePermanentAddress; - to.PermanentAddress = EconomicOperatorMapper.Map(from?.PermanentAddress!); - return to; - } + public static Btms.Model.Ipaffs.Identifiers Map(Btms.Types.Ipaffs.Identifiers? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.Identifiers (); +to.SpeciesNumber = from?.SpeciesNumber; + to.Data = from?.Data; + to.IsPlaceOfDestinationThePermanentAddress = from?.IsPlaceOfDestinationThePermanentAddress; + to.PermanentAddress = EconomicOperatorMapper.Map(from?.PermanentAddress); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ImpactOfTransportOnAnimalsMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ImpactOfTransportOnAnimalsMapper.g.cs index 13300301..b231d9fa 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ImpactOfTransportOnAnimalsMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ImpactOfTransportOnAnimalsMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ImpactOfTransportOnAnimalsMapper { - public static Btms.Model.Ipaffs.ImpactOfTransportOnAnimals Map(Btms.Types.Ipaffs.ImpactOfTransportOnAnimals from) + public static Btms.Model.Ipaffs.ImpactOfTransportOnAnimals Map(Btms.Types.Ipaffs.ImpactOfTransportOnAnimals? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationMapper.g.cs index 3880d259..755ed338 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationMapper.g.cs @@ -10,54 +10,49 @@ #nullable enable -using Btms.Model.Ipaffs; - namespace Btms.Types.Ipaffs.Mapping; public static class ImportNotificationMapper { - public static Btms.Model.Ipaffs.ImportNotification Map(Btms.Types.Ipaffs.ImportNotification from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.ImportNotification(); - - to.IpaffsId = from?.IpaffsId; - to.Etag = from?.Etag; - to.ExternalReferences = from?.ExternalReferences?.Select(x => ExternalReferenceMapper.Map(x)).ToArray(); - to.ReferenceNumber = from?.ReferenceNumber; - to.Version = from?.Version; - to.UpdatedSource = from?.LastUpdated; - to.LastUpdatedBy = UserInformationMapper.Map(from?.LastUpdatedBy!); - to.ImportNotificationType = ImportNotificationTypeEnumMapper.Map(from?.ImportNotificationType); - to.Replaces = from?.Replaces; - to.ReplacedBy = from?.ReplacedBy; - to.Status = ImportNotificationStatusEnumMapper.Map(from?.Status); - to.SplitConsignment = SplitConsignmentMapper.Map(from?.SplitConsignment!); - to.ChildNotification = from?.ChildNotification; - to.RiskAssessment = RiskAssessmentResultMapper.Map(from?.RiskAssessment!); - to.JourneyRiskCategorisation = JourneyRiskCategorisationResultMapper.Map(from?.JourneyRiskCategorisation!); - to.IsHighRiskEuImport = from?.IsHighRiskEuImport; - to.PartOne = PartOneMapper.Map(from?.PartOne!); - to.DecisionBy = UserInformationMapper.Map(from?.DecisionBy!); - to.DecisionDate = from?.DecisionDate; - to.PartTwo = PartTwoMapper.Map(from?.PartTwo!); - to.PartThree = PartThreeMapper.Map(from?.PartThree!); - to.OfficialVeterinarian = from?.OfficialVeterinarian; - to.ConsignmentValidations = - from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); - to.AgencyOrganisationId = from?.AgencyOrganisationId; - to.RiskDecisionLockedOn = from?.RiskDecisionLockedOn; - to.IsRiskDecisionLocked = from?.IsRiskDecisionLocked; - to.IsBulkUploadInProgress = from?.IsBulkUploadInProgress; - to.RequestId = from?.RequestId; - to.IsCdsFullMatched = from?.IsCdsFullMatched; - to.ChedTypeVersion = from?.ChedTypeVersion; - to.IsGMRMatched = from?.IsGMRMatched; - return to; - } + public static Btms.Model.Ipaffs.ImportNotification Map(Btms.Types.Ipaffs.ImportNotification? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.ImportNotification (); +to.IpaffsId = from?.IpaffsId; + to.Etag = from?.Etag; + to.ExternalReferences = from?.ExternalReferences?.Select(x => ExternalReferenceMapper.Map(x)).ToArray(); + to.ReferenceNumber = from?.ReferenceNumber; + to.Version = from?.Version; + to.UpdatedSource = from?.LastUpdated; + to.LastUpdatedBy = UserInformationMapper.Map(from?.LastUpdatedBy); + to.ImportNotificationType = ImportNotificationTypeEnumMapper.Map(from?.ImportNotificationType); + to.Replaces = from?.Replaces; + to.ReplacedBy = from?.ReplacedBy; + to.Status = ImportNotificationStatusEnumMapper.Map(from?.Status); + to.SplitConsignment = SplitConsignmentMapper.Map(from?.SplitConsignment); + to.ChildNotification = from?.ChildNotification; + to.RiskAssessment = RiskAssessmentResultMapper.Map(from?.RiskAssessment); + to.JourneyRiskCategorisation = JourneyRiskCategorisationResultMapper.Map(from?.JourneyRiskCategorisation); + to.IsHighRiskEuImport = from?.IsHighRiskEuImport; + to.PartOne = PartOneMapper.Map(from?.PartOne); + to.DecisionBy = UserInformationMapper.Map(from?.DecisionBy); + to.DecisionDate = from?.DecisionDate; + to.PartTwo = PartTwoMapper.Map(from?.PartTwo); + to.PartThree = PartThreeMapper.Map(from?.PartThree); + to.OfficialVeterinarian = from?.OfficialVeterinarian; + to.ConsignmentValidations = from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); + to.AgencyOrganisationId = from?.AgencyOrganisationId; + to.RiskDecisionLockedOn = from?.RiskDecisionLockedOn; + to.IsRiskDecisionLocked = from?.IsRiskDecisionLocked; + to.IsBulkUploadInProgress = from?.IsBulkUploadInProgress; + to.RequestId = from?.RequestId; + to.IsCdsFullMatched = from?.IsCdsFullMatched; + to.ChedTypeVersion = from?.ChedTypeVersion; + to.IsGMRMatched = from?.IsGMRMatched; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationStatusEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationStatusEnumMapper.g.cs index e510bbbf..75e28639 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationStatusEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationStatusEnumMapper.g.cs @@ -11,45 +11,31 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ImportNotificationStatusEnumMapper { - public static Btms.Model.Ipaffs.ImportNotificationStatusEnum? Map( - Btms.Types.Ipaffs.ImportNotificationStatusEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Draft => - Btms.Model.Ipaffs.ImportNotificationStatusEnum.Draft, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Submitted => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .Submitted, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Validated => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .Validated, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Rejected => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .Rejected, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.InProgress => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .InProgress, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Amend => - Btms.Model.Ipaffs.ImportNotificationStatusEnum.Amend, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Modify => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .Modify, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Replaced => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .Replaced, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Cancelled => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .Cancelled, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.Deleted => Btms.Model.Ipaffs.ImportNotificationStatusEnum - .Deleted, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.PartiallyRejected => Btms.Model.Ipaffs - .ImportNotificationStatusEnum.PartiallyRejected, - Btms.Types.Ipaffs.ImportNotificationStatusEnum.SplitConsignment => Btms.Model.Ipaffs - .ImportNotificationStatusEnum.SplitConsignment, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.ImportNotificationStatusEnum? Map(Btms.Types.Ipaffs.ImportNotificationStatusEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.ImportNotificationStatusEnum.Draft => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Draft, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Submitted => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Submitted, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Validated => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Validated, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Rejected => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Rejected, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.InProgress => Btms.Model.Ipaffs.ImportNotificationStatusEnum.InProgress, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Amend => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Amend, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Modify => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Modify, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Replaced => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Replaced, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Cancelled => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Cancelled, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.Deleted => Btms.Model.Ipaffs.ImportNotificationStatusEnum.Deleted, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.PartiallyRejected => Btms.Model.Ipaffs.ImportNotificationStatusEnum.PartiallyRejected, + Btms.Types.Ipaffs.ImportNotificationStatusEnum.SplitConsignment => Btms.Model.Ipaffs.ImportNotificationStatusEnum.SplitConsignment, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationTypeEnumMapper.g.cs index 4734fa5b..01ee67f0 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ImportNotificationTypeEnumMapper.g.cs @@ -11,25 +11,24 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ImportNotificationTypeEnumMapper { - public static Btms.Model.Ipaffs.ImportNotificationTypeEnum? Map(Btms.Types.Ipaffs.ImportNotificationTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.ImportNotificationTypeEnum.Cveda => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Cveda, - Btms.Types.Ipaffs.ImportNotificationTypeEnum.Cvedp => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Cvedp, - Btms.Types.Ipaffs.ImportNotificationTypeEnum.Chedpp => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Chedpp, - Btms.Types.Ipaffs.ImportNotificationTypeEnum.Ced => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Ced, - Btms.Types.Ipaffs.ImportNotificationTypeEnum.Imp => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Imp, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.ImportNotificationTypeEnum? Map(Btms.Types.Ipaffs.ImportNotificationTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.ImportNotificationTypeEnum.Cveda => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Cveda, + Btms.Types.Ipaffs.ImportNotificationTypeEnum.Cvedp => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Cvedp, + Btms.Types.Ipaffs.ImportNotificationTypeEnum.Chedpp => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Chedpp, + Btms.Types.Ipaffs.ImportNotificationTypeEnum.Ced => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Ced, + Btms.Types.Ipaffs.ImportNotificationTypeEnum.Imp => Btms.Model.Ipaffs.ImportNotificationTypeEnum.Imp, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckMapper.g.cs index d4137651..97237db4 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class InspectionCheckMapper { - public static Btms.Model.Ipaffs.InspectionCheck Map(Btms.Types.Ipaffs.InspectionCheck from) + public static Btms.Model.Ipaffs.InspectionCheck Map(Btms.Types.Ipaffs.InspectionCheck? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckStatusEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckStatusEnumMapper.g.cs index 3f46e6c3..b281e16a 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckStatusEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckStatusEnumMapper.g.cs @@ -11,32 +11,26 @@ namespace Btms.Types.Ipaffs.Mapping; public static class InspectionCheckStatusEnumMapper { - public static Btms.Model.Ipaffs.InspectionCheckStatusEnum? Map(Btms.Types.Ipaffs.InspectionCheckStatusEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.InspectionCheckStatusEnum.ToDo => Btms.Model.Ipaffs.InspectionCheckStatusEnum.ToDo, - Btms.Types.Ipaffs.InspectionCheckStatusEnum.Compliant => Btms.Model.Ipaffs.InspectionCheckStatusEnum - .Compliant, - Btms.Types.Ipaffs.InspectionCheckStatusEnum.AutoCleared => Btms.Model.Ipaffs.InspectionCheckStatusEnum - .AutoCleared, - Btms.Types.Ipaffs.InspectionCheckStatusEnum.NonCompliant => Btms.Model.Ipaffs.InspectionCheckStatusEnum - .NonCompliant, - Btms.Types.Ipaffs.InspectionCheckStatusEnum.NotInspected => Btms.Model.Ipaffs.InspectionCheckStatusEnum - .NotInspected, - Btms.Types.Ipaffs.InspectionCheckStatusEnum.ToBeInspected => Btms.Model.Ipaffs.InspectionCheckStatusEnum - .ToBeInspected, - Btms.Types.Ipaffs.InspectionCheckStatusEnum.Hold => Btms.Model.Ipaffs.InspectionCheckStatusEnum.Hold, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.InspectionCheckStatusEnum? Map(Btms.Types.Ipaffs.InspectionCheckStatusEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.InspectionCheckStatusEnum.ToDo => Btms.Model.Ipaffs.InspectionCheckStatusEnum.ToDo, + Btms.Types.Ipaffs.InspectionCheckStatusEnum.Compliant => Btms.Model.Ipaffs.InspectionCheckStatusEnum.Compliant, + Btms.Types.Ipaffs.InspectionCheckStatusEnum.AutoCleared => Btms.Model.Ipaffs.InspectionCheckStatusEnum.AutoCleared, + Btms.Types.Ipaffs.InspectionCheckStatusEnum.NonCompliant => Btms.Model.Ipaffs.InspectionCheckStatusEnum.NonCompliant, + Btms.Types.Ipaffs.InspectionCheckStatusEnum.NotInspected => Btms.Model.Ipaffs.InspectionCheckStatusEnum.NotInspected, + Btms.Types.Ipaffs.InspectionCheckStatusEnum.ToBeInspected => Btms.Model.Ipaffs.InspectionCheckStatusEnum.ToBeInspected, + Btms.Types.Ipaffs.InspectionCheckStatusEnum.Hold => Btms.Model.Ipaffs.InspectionCheckStatusEnum.Hold, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckTypeEnumMapper.g.cs index 18e54329..d7eac7c9 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/InspectionCheckTypeEnumMapper.g.cs @@ -11,27 +11,23 @@ namespace Btms.Types.Ipaffs.Mapping; public static class InspectionCheckTypeEnumMapper { - public static Btms.Model.Ipaffs.InspectionCheckTypeEnum? Map(Btms.Types.Ipaffs.InspectionCheckTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.InspectionCheckTypeEnum.PhsiDocument => Btms.Model.Ipaffs.InspectionCheckTypeEnum - .PhsiDocument, - Btms.Types.Ipaffs.InspectionCheckTypeEnum.PhsiIdentity => Btms.Model.Ipaffs.InspectionCheckTypeEnum - .PhsiIdentity, - Btms.Types.Ipaffs.InspectionCheckTypeEnum.PhsiPhysical => Btms.Model.Ipaffs.InspectionCheckTypeEnum - .PhsiPhysical, - Btms.Types.Ipaffs.InspectionCheckTypeEnum.Hmi => Btms.Model.Ipaffs.InspectionCheckTypeEnum.Hmi, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.InspectionCheckTypeEnum? Map(Btms.Types.Ipaffs.InspectionCheckTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.InspectionCheckTypeEnum.PhsiDocument => Btms.Model.Ipaffs.InspectionCheckTypeEnum.PhsiDocument, + Btms.Types.Ipaffs.InspectionCheckTypeEnum.PhsiIdentity => Btms.Model.Ipaffs.InspectionCheckTypeEnum.PhsiIdentity, + Btms.Types.Ipaffs.InspectionCheckTypeEnum.PhsiPhysical => Btms.Model.Ipaffs.InspectionCheckTypeEnum.PhsiPhysical, + Btms.Types.Ipaffs.InspectionCheckTypeEnum.Hmi => Btms.Model.Ipaffs.InspectionCheckTypeEnum.Hmi, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/InspectionOverrideMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/InspectionOverrideMapper.g.cs index d24ecb57..287335ab 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/InspectionOverrideMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/InspectionOverrideMapper.g.cs @@ -14,18 +14,17 @@ namespace Btms.Types.Ipaffs.Mapping; public static class InspectionOverrideMapper { - public static Btms.Model.Ipaffs.InspectionOverride Map(Btms.Types.Ipaffs.InspectionOverride from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.InspectionOverride(); - to.OriginalDecision = from?.OriginalDecision; - to.OverriddenOn = from?.OverriddenOn; - to.OverriddenBy = UserInformationMapper.Map(from?.OverriddenBy!); - return to; - } + public static Btms.Model.Ipaffs.InspectionOverride Map(Btms.Types.Ipaffs.InspectionOverride? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.InspectionOverride (); +to.OriginalDecision = from?.OriginalDecision; + to.OverriddenOn = from?.OverriddenOn; + to.OverriddenBy = UserInformationMapper.Map(from?.OverriddenBy); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/InspectionRequiredEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/InspectionRequiredEnumMapper.g.cs index fca1f893..65ca0d47 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/InspectionRequiredEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/InspectionRequiredEnumMapper.g.cs @@ -11,25 +11,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class InspectionRequiredEnumMapper { - public static Btms.Model.Ipaffs.InspectionRequiredEnum? Map(Btms.Types.Ipaffs.InspectionRequiredEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.InspectionRequiredEnum.Required => Btms.Model.Ipaffs.InspectionRequiredEnum.Required, - Btms.Types.Ipaffs.InspectionRequiredEnum.Inconclusive => Btms.Model.Ipaffs.InspectionRequiredEnum - .Inconclusive, - Btms.Types.Ipaffs.InspectionRequiredEnum.NotRequired => - Btms.Model.Ipaffs.InspectionRequiredEnum.NotRequired, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.InspectionRequiredEnum? Map(Btms.Types.Ipaffs.InspectionRequiredEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.InspectionRequiredEnum.Required => Btms.Model.Ipaffs.InspectionRequiredEnum.Required, + Btms.Types.Ipaffs.InspectionRequiredEnum.Inconclusive => Btms.Model.Ipaffs.InspectionRequiredEnum.Inconclusive, + Btms.Types.Ipaffs.InspectionRequiredEnum.NotRequired => Btms.Model.Ipaffs.InspectionRequiredEnum.NotRequired, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/InspectorMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/InspectorMapper.g.cs index 0b75b845..1940990f 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/InspectorMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/InspectorMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class InspectorMapper { - public static Btms.Model.Ipaffs.Inspector Map(Btms.Types.Ipaffs.Inspector from) + public static Btms.Model.Ipaffs.Inspector Map(Btms.Types.Ipaffs.Inspector? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/InternationalTelephoneMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/InternationalTelephoneMapper.g.cs index b36fe8c0..06e7540b 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/InternationalTelephoneMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/InternationalTelephoneMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class InternationalTelephoneMapper { - public static Btms.Model.Ipaffs.InternationalTelephone Map(Btms.Types.Ipaffs.InternationalTelephone from) + public static Btms.Model.Ipaffs.InternationalTelephone Map(Btms.Types.Ipaffs.InternationalTelephone? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultMapper.g.cs index 4e2e1c21..e31d0ed5 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultMapper.g.cs @@ -14,19 +14,17 @@ namespace Btms.Types.Ipaffs.Mapping; public static class JourneyRiskCategorisationResultMapper { - public static Btms.Model.Ipaffs.JourneyRiskCategorisationResult Map( - Btms.Types.Ipaffs.JourneyRiskCategorisationResult from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.JourneyRiskCategorisationResult(); - to.RiskLevel = JourneyRiskCategorisationResultRiskLevelEnumMapper.Map(from?.RiskLevel); - to.RiskLevelMethod = JourneyRiskCategorisationResultRiskLevelMethodEnumMapper.Map(from?.RiskLevelMethod); - to.RiskLevelSetFor = from?.RiskLevelSetFor; - return to; - } + public static Btms.Model.Ipaffs.JourneyRiskCategorisationResult Map(Btms.Types.Ipaffs.JourneyRiskCategorisationResult? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.JourneyRiskCategorisationResult (); +to.RiskLevel = JourneyRiskCategorisationResultRiskLevelEnumMapper.Map(from?.RiskLevel); + to.RiskLevelMethod = JourneyRiskCategorisationResultRiskLevelMethodEnumMapper.Map(from?.RiskLevelMethod); + to.RiskLevelSetFor = from?.RiskLevelSetFor; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelEnumMapper.g.cs index 47b0e57a..c080c7b1 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelEnumMapper.g.cs @@ -11,27 +11,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class JourneyRiskCategorisationResultRiskLevelEnumMapper { - public static Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum? Map( - Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.High => Btms.Model.Ipaffs - .JourneyRiskCategorisationResultRiskLevelEnum.High, - Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.Medium => Btms.Model.Ipaffs - .JourneyRiskCategorisationResultRiskLevelEnum.Medium, - Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.Low => Btms.Model.Ipaffs - .JourneyRiskCategorisationResultRiskLevelEnum.Low, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum? Map(Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.High => Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.High, + Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.Medium => Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.Medium, + Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.Low => Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelEnum.Low, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelMethodEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelMethodEnumMapper.g.cs index 6aeb6308..bd78b23c 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelMethodEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/JourneyRiskCategorisationResultRiskLevelMethodEnumMapper.g.cs @@ -11,25 +11,21 @@ namespace Btms.Types.Ipaffs.Mapping; public static class JourneyRiskCategorisationResultRiskLevelMethodEnumMapper { - public static Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum? Map( - Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum.System => Btms.Model.Ipaffs - .JourneyRiskCategorisationResultRiskLevelMethodEnum.System, - Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum.User => Btms.Model.Ipaffs - .JourneyRiskCategorisationResultRiskLevelMethodEnum.User, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum? Map(Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum.System => Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum.System, + Btms.Types.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum.User => Btms.Model.Ipaffs.JourneyRiskCategorisationResultRiskLevelMethodEnum.User, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/KeyDataPairMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/KeyDataPairMapper.g.cs index a3c050bc..334f2e50 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/KeyDataPairMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/KeyDataPairMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class KeyDataPairMapper { - public static Btms.Model.Ipaffs.KeyDataPair Map(Btms.Types.Ipaffs.KeyDataPair from) + public static Btms.Model.Ipaffs.KeyDataPair Map(Btms.Types.Ipaffs.KeyDataPair? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultConclusionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultConclusionEnumMapper.g.cs index 82aab8fd..bd907947 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultConclusionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultConclusionEnumMapper.g.cs @@ -11,29 +11,23 @@ namespace Btms.Types.Ipaffs.Mapping; public static class LaboratoryTestResultConclusionEnumMapper { - public static Btms.Model.Ipaffs.LaboratoryTestResultConclusionEnum? Map( - Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.Satisfactory => Btms.Model.Ipaffs - .LaboratoryTestResultConclusionEnum.Satisfactory, - Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.NotSatisfactory => Btms.Model.Ipaffs - .LaboratoryTestResultConclusionEnum.NotSatisfactory, - Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.NotInterpretable => Btms.Model.Ipaffs - .LaboratoryTestResultConclusionEnum.NotInterpretable, - Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.Pending => Btms.Model.Ipaffs - .LaboratoryTestResultConclusionEnum.Pending, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.LaboratoryTestResultConclusionEnum? Map(Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.Satisfactory => Btms.Model.Ipaffs.LaboratoryTestResultConclusionEnum.Satisfactory, + Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.NotSatisfactory => Btms.Model.Ipaffs.LaboratoryTestResultConclusionEnum.NotSatisfactory, + Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.NotInterpretable => Btms.Model.Ipaffs.LaboratoryTestResultConclusionEnum.NotInterpretable, + Btms.Types.Ipaffs.LaboratoryTestResultConclusionEnum.Pending => Btms.Model.Ipaffs.LaboratoryTestResultConclusionEnum.Pending, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultMapper.g.cs index 513a618d..8c4001fa 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestResultMapper.g.cs @@ -14,21 +14,20 @@ namespace Btms.Types.Ipaffs.Mapping; public static class LaboratoryTestResultMapper { - public static Btms.Model.Ipaffs.LaboratoryTestResult Map(Btms.Types.Ipaffs.LaboratoryTestResult from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.LaboratoryTestResult(); - to.SampleUseByDate = from?.SampleUseByDate; - to.ReleasedOn = from?.ReleasedDate; - to.LaboratoryTestMethod = from?.LaboratoryTestMethod; - to.Results = from?.Results; - to.Conclusion = LaboratoryTestResultConclusionEnumMapper.Map(from?.Conclusion); - to.LabTestCreatedOn = from?.LabTestCreatedDate; - return to; - } + public static Btms.Model.Ipaffs.LaboratoryTestResult Map(Btms.Types.Ipaffs.LaboratoryTestResult? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.LaboratoryTestResult (); +to.SampleUseByDate = from?.SampleUseByDate; + to.ReleasedOn = from?.ReleasedDate; + to.LaboratoryTestMethod = from?.LaboratoryTestMethod; + to.Results = from?.Results; + to.Conclusion = LaboratoryTestResultConclusionEnumMapper.Map(from?.Conclusion); + to.LabTestCreatedOn = from?.LabTestCreatedDate; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsMapper.g.cs index 5700c6b5..fe40618f 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class LaboratoryTestsMapper { - public static Btms.Model.Ipaffs.LaboratoryTests Map(Btms.Types.Ipaffs.LaboratoryTests from) + public static Btms.Model.Ipaffs.LaboratoryTests Map(Btms.Types.Ipaffs.LaboratoryTests? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsTestReasonEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsTestReasonEnumMapper.g.cs index ca6d1f25..e24a9285 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsTestReasonEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/LaboratoryTestsTestReasonEnumMapper.g.cs @@ -11,33 +11,25 @@ namespace Btms.Types.Ipaffs.Mapping; public static class LaboratoryTestsTestReasonEnumMapper { - public static Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum? Map( - Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.Random => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum - .Random, - Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.Suspicious => Btms.Model.Ipaffs - .LaboratoryTestsTestReasonEnum.Suspicious, - Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.ReEnforced => Btms.Model.Ipaffs - .LaboratoryTestsTestReasonEnum.ReEnforced, - Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.IntensifiedControls => Btms.Model.Ipaffs - .LaboratoryTestsTestReasonEnum.IntensifiedControls, - Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.Required => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum - .Required, - Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.LatentInfectionSampling => Btms.Model.Ipaffs - .LaboratoryTestsTestReasonEnum.LatentInfectionSampling, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum? Map(Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.Random => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum.Random, + Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.Suspicious => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum.Suspicious, + Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.ReEnforced => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum.ReEnforced, + Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.IntensifiedControls => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum.IntensifiedControls, + Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.Required => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum.Required, + Btms.Types.Ipaffs.LaboratoryTestsTestReasonEnum.LatentInfectionSampling => Btms.Model.Ipaffs.LaboratoryTestsTestReasonEnum.LatentInfectionSampling, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportMapper.g.cs index 64ad1555..ee9aa230 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportMapper.g.cs @@ -14,18 +14,17 @@ namespace Btms.Types.Ipaffs.Mapping; public static class MeansOfTransportMapper { - public static Btms.Model.Ipaffs.MeansOfTransport Map(Btms.Types.Ipaffs.MeansOfTransport from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.MeansOfTransport(); - to.Type = MeansOfTransportTypeEnumMapper.Map(from?.Type); - to.Document = from?.Document; - to.Id = from?.Id; - return to; - } + public static Btms.Model.Ipaffs.MeansOfTransport Map(Btms.Types.Ipaffs.MeansOfTransport? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.MeansOfTransport (); +to.Type = MeansOfTransportTypeEnumMapper.Map(from?.Type); + to.Document = from?.Document; + to.Id = from?.Id; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportTypeEnumMapper.g.cs index 82d9319b..f16966c0 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/MeansOfTransportTypeEnumMapper.g.cs @@ -11,34 +11,27 @@ namespace Btms.Types.Ipaffs.Mapping; public static class MeansOfTransportTypeEnumMapper { - public static Btms.Model.Ipaffs.MeansOfTransportTypeEnum? Map(Btms.Types.Ipaffs.MeansOfTransportTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.Aeroplane => - Btms.Model.Ipaffs.MeansOfTransportTypeEnum.Aeroplane, - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.RoadVehicle => Btms.Model.Ipaffs.MeansOfTransportTypeEnum - .RoadVehicle, - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.RailwayWagon => Btms.Model.Ipaffs.MeansOfTransportTypeEnum - .RailwayWagon, - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.Ship => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.Ship, - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.Other => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.Other, - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.RoadVehicleAeroplane => Btms.Model.Ipaffs - .MeansOfTransportTypeEnum.RoadVehicleAeroplane, - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.ShipRailwayWagon => Btms.Model.Ipaffs.MeansOfTransportTypeEnum - .ShipRailwayWagon, - Btms.Types.Ipaffs.MeansOfTransportTypeEnum.ShipRoadVehicle => Btms.Model.Ipaffs.MeansOfTransportTypeEnum - .ShipRoadVehicle, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.MeansOfTransportTypeEnum? Map(Btms.Types.Ipaffs.MeansOfTransportTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.MeansOfTransportTypeEnum.Aeroplane => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.Aeroplane, + Btms.Types.Ipaffs.MeansOfTransportTypeEnum.RoadVehicle => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.RoadVehicle, + Btms.Types.Ipaffs.MeansOfTransportTypeEnum.RailwayWagon => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.RailwayWagon, + Btms.Types.Ipaffs.MeansOfTransportTypeEnum.Ship => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.Ship, + Btms.Types.Ipaffs.MeansOfTransportTypeEnum.Other => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.Other, + Btms.Types.Ipaffs.MeansOfTransportTypeEnum.RoadVehicleAeroplane => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.RoadVehicleAeroplane, + Btms.Types.Ipaffs.MeansOfTransportTypeEnum.ShipRailwayWagon => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.ShipRailwayWagon, + Btms.Types.Ipaffs.MeansOfTransportTypeEnum.ShipRoadVehicle => Btms.Model.Ipaffs.MeansOfTransportTypeEnum.ShipRoadVehicle, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/NominatedContactMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/NominatedContactMapper.g.cs index 92424754..84d2a7a2 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/NominatedContactMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/NominatedContactMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class NominatedContactMapper { - public static Btms.Model.Ipaffs.NominatedContact Map(Btms.Types.Ipaffs.NominatedContact from) + public static Btms.Model.Ipaffs.NominatedContact Map(Btms.Types.Ipaffs.NominatedContact? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/OfficialInspectorMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/OfficialInspectorMapper.g.cs index 66b0c04e..e6959dd8 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/OfficialInspectorMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/OfficialInspectorMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class OfficialInspectorMapper { - public static Btms.Model.Ipaffs.OfficialInspector Map(Btms.Types.Ipaffs.OfficialInspector from) + public static Btms.Model.Ipaffs.OfficialInspector Map(Btms.Types.Ipaffs.OfficialInspector? from) { if(from is null) { @@ -26,7 +26,7 @@ public static Btms.Model.Ipaffs.OfficialInspector Map(Btms.Types.Ipaffs.Official to.Email = from?.Email; to.Phone = from?.Phone; to.Fax = from?.Fax; - to.Address = AddressMapper.Map(from?.Address!); + to.Address = AddressMapper.Map(from?.Address); to.Signed = from?.Signed; return to; } diff --git a/Btms.Types.Ipaffs.Mapping.V1/OfficialVeterinarianMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/OfficialVeterinarianMapper.g.cs index 919bc927..e96af4e8 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/OfficialVeterinarianMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/OfficialVeterinarianMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class OfficialVeterinarianMapper { - public static Btms.Model.Ipaffs.OfficialVeterinarian Map(Btms.Types.Ipaffs.OfficialVeterinarian from) + public static Btms.Model.Ipaffs.OfficialVeterinarian Map(Btms.Types.Ipaffs.OfficialVeterinarian? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartOneMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartOneMapper.g.cs index 0a9de949..b814ee02 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartOneMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartOneMapper.g.cs @@ -14,66 +14,63 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartOneMapper { - public static Btms.Model.Ipaffs.PartOne Map(Btms.Types.Ipaffs.PartOne from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.PartOne(); - to.TypeOfImp = PartOneTypeOfImpEnumMapper.Map(from?.TypeOfImp); - to.PersonResponsible = PartyMapper.Map(from?.PersonResponsible!); - to.CustomsReferenceNumber = from?.CustomsReferenceNumber; - to.ContainsWoodPackaging = from?.ContainsWoodPackaging; - to.ConsignmentArrived = from?.ConsignmentArrived; - to.Consignor = EconomicOperatorMapper.Map(from?.Consignor!); - to.ConsignorTwo = EconomicOperatorMapper.Map(from?.ConsignorTwo!); - to.Packer = EconomicOperatorMapper.Map(from?.Packer!); - to.Consignee = EconomicOperatorMapper.Map(from?.Consignee!); - to.Importer = EconomicOperatorMapper.Map(from?.Importer!); - to.PlaceOfDestination = EconomicOperatorMapper.Map(from?.PlaceOfDestination!); - to.Pod = EconomicOperatorMapper.Map(from?.Pod!); - to.PlaceOfOriginHarvest = EconomicOperatorMapper.Map(from?.PlaceOfOriginHarvest!); - to.AdditionalPermanentAddresses = - from?.AdditionalPermanentAddresses?.Select(x => EconomicOperatorMapper.Map(x)).ToArray(); - to.CphNumber = from?.CphNumber; - to.ImportingFromCharity = from?.ImportingFromCharity; - to.IsPlaceOfDestinationThePermanentAddress = from?.IsPlaceOfDestinationThePermanentAddress; - to.IsCatchCertificateRequired = from?.IsCatchCertificateRequired; - to.IsGvmsRoute = from?.IsGvmsRoute; - to.Purpose = PurposeMapper.Map(from?.Purpose!); - to.PointOfEntry = from?.PointOfEntry; - to.PointOfEntryControlPoint = from?.PointOfEntryControlPoint; - to.MeansOfTransport = MeansOfTransportMapper.Map(from?.MeansOfTransport!); - to.Transporter = EconomicOperatorMapper.Map(from?.Transporter!); - to.TransporterDetailsRequired = from?.TransporterDetailsRequired; - to.MeansOfTransportFromEntryPoint = MeansOfTransportMapper.Map(from?.MeansOfTransportFromEntryPoint!); - to.EstimatedJourneyTimeInMinutes = from?.EstimatedJourneyTimeInMinutes; - to.ResponsibleForTransport = from?.ResponsibleForTransport; - to.VeterinaryInformation = VeterinaryInformationMapper.Map(from?.VeterinaryInformation!); - to.ImporterLocalReferenceNumber = from?.ImporterLocalReferenceNumber; - to.Route = RouteMapper.Map(from?.Route!); - to.SealsContainers = from?.SealsContainers?.Select(x => SealContainerMapper.Map(x)).ToArray(); - to.SubmittedOn = from?.SubmittedOn; - to.SubmittedBy = UserInformationMapper.Map(from?.SubmittedBy!); - to.ConsignmentValidations = - from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); - to.ComplexCommoditySelected = from?.ComplexCommoditySelected; - to.PortOfEntry = from?.PortOfEntry; - to.PortOfExit = from?.PortOfExit; - to.ExitedPortOfOn = from?.PortOfExitDate; - to.ContactDetails = ContactDetailsMapper.Map(from?.ContactDetails!); - to.NominatedContacts = from?.NominatedContacts?.Select(x => NominatedContactMapper.Map(x)).ToArray(); - to.OriginalEstimatedOn = from?.OriginalEstimatedOn; - to.BillingInformation = BillingInformationMapper.Map(from?.BillingInformation!); - to.IsChargeable = from?.IsChargeable; - to.WasChargeable = from?.WasChargeable; - to.CommonUserCharge = CommonUserChargeMapper.Map(from?.CommonUserCharge!); - to.ProvideCtcMrn = PartOneProvideCtcMrnEnumMapper.Map(from?.ProvideCtcMrn); - to.ArrivesAt = DateTimeMapper.Map(from?.ArrivalDate, from?.ArrivalTime); - to.DepartedOn = DateTimeMapper.Map(from?.DepartureDate, from?.DepartureTime); - return to; - } + public static Btms.Model.Ipaffs.PartOne Map(Btms.Types.Ipaffs.PartOne? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.PartOne (); +to.TypeOfImp = PartOneTypeOfImpEnumMapper.Map(from?.TypeOfImp); + to.PersonResponsible = PartyMapper.Map(from?.PersonResponsible); + to.CustomsReferenceNumber = from?.CustomsReferenceNumber; + to.ContainsWoodPackaging = from?.ContainsWoodPackaging; + to.ConsignmentArrived = from?.ConsignmentArrived; + to.Consignor = EconomicOperatorMapper.Map(from?.Consignor); + to.ConsignorTwo = EconomicOperatorMapper.Map(from?.ConsignorTwo); + to.Packer = EconomicOperatorMapper.Map(from?.Packer); + to.Consignee = EconomicOperatorMapper.Map(from?.Consignee); + to.Importer = EconomicOperatorMapper.Map(from?.Importer); + to.PlaceOfDestination = EconomicOperatorMapper.Map(from?.PlaceOfDestination); + to.Pod = EconomicOperatorMapper.Map(from?.Pod); + to.PlaceOfOriginHarvest = EconomicOperatorMapper.Map(from?.PlaceOfOriginHarvest); + to.AdditionalPermanentAddresses = from?.AdditionalPermanentAddresses?.Select(x => EconomicOperatorMapper.Map(x)).ToArray(); + to.CphNumber = from?.CphNumber; + to.ImportingFromCharity = from?.ImportingFromCharity; + to.IsPlaceOfDestinationThePermanentAddress = from?.IsPlaceOfDestinationThePermanentAddress; + to.IsCatchCertificateRequired = from?.IsCatchCertificateRequired; + to.IsGvmsRoute = from?.IsGvmsRoute; + to.Purpose = PurposeMapper.Map(from?.Purpose); + to.PointOfEntry = from?.PointOfEntry; + to.PointOfEntryControlPoint = from?.PointOfEntryControlPoint; + to.MeansOfTransport = MeansOfTransportMapper.Map(from?.MeansOfTransport); + to.Transporter = EconomicOperatorMapper.Map(from?.Transporter); + to.TransporterDetailsRequired = from?.TransporterDetailsRequired; + to.MeansOfTransportFromEntryPoint = MeansOfTransportMapper.Map(from?.MeansOfTransportFromEntryPoint); + to.EstimatedJourneyTimeInMinutes = from?.EstimatedJourneyTimeInMinutes; + to.ResponsibleForTransport = from?.ResponsibleForTransport; + to.VeterinaryInformation = VeterinaryInformationMapper.Map(from?.VeterinaryInformation); + to.ImporterLocalReferenceNumber = from?.ImporterLocalReferenceNumber; + to.Route = RouteMapper.Map(from?.Route); + to.SealsContainers = from?.SealsContainers?.Select(x => SealContainerMapper.Map(x)).ToArray(); + to.SubmittedOn = from?.SubmittedOn; + to.SubmittedBy = UserInformationMapper.Map(from?.SubmittedBy); + to.ConsignmentValidations = from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); + to.ComplexCommoditySelected = from?.ComplexCommoditySelected; + to.PortOfEntry = from?.PortOfEntry; + to.PortOfExit = from?.PortOfExit; + to.ExitedPortOfOn = from?.PortOfExitDate; + to.ContactDetails = ContactDetailsMapper.Map(from?.ContactDetails); + to.NominatedContacts = from?.NominatedContacts?.Select(x => NominatedContactMapper.Map(x)).ToArray(); + to.OriginalEstimatedOn = from?.OriginalEstimatedOn; + to.BillingInformation = BillingInformationMapper.Map(from?.BillingInformation); + to.IsChargeable = from?.IsChargeable; + to.WasChargeable = from?.WasChargeable; + to.CommonUserCharge = CommonUserChargeMapper.Map(from?.CommonUserCharge); + to.ProvideCtcMrn = PartOneProvideCtcMrnEnumMapper.Map(from?.ProvideCtcMrn); + to.ArrivesAt = DateTimeMapper.Map(from?.ArrivalDate, from?.ArrivalTime); + to.DepartedOn = DateTimeMapper.Map(from?.DepartureDate, from?.DepartureTime); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartOneProvideCtcMrnEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartOneProvideCtcMrnEnumMapper.g.cs index 5dc508fc..9f82c7e9 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartOneProvideCtcMrnEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartOneProvideCtcMrnEnumMapper.g.cs @@ -11,24 +11,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartOneProvideCtcMrnEnumMapper { - public static Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum? Map(Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum.Yes => Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum.Yes, - Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum.YesAddLater => Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum - .YesAddLater, - Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum.No => Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum.No, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum? Map(Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum.Yes => Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum.Yes, + Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum.YesAddLater => Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum.YesAddLater, + Btms.Types.Ipaffs.PartOneProvideCtcMrnEnum.No => Btms.Model.Ipaffs.PartOneProvideCtcMrnEnum.No, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartOneTypeOfImpEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartOneTypeOfImpEnumMapper.g.cs index 79ec3f5f..2e96cf15 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartOneTypeOfImpEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartOneTypeOfImpEnumMapper.g.cs @@ -11,23 +11,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartOneTypeOfImpEnumMapper { - public static Btms.Model.Ipaffs.PartOneTypeOfImpEnum? Map(Btms.Types.Ipaffs.PartOneTypeOfImpEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PartOneTypeOfImpEnum.A => Btms.Model.Ipaffs.PartOneTypeOfImpEnum.A, - Btms.Types.Ipaffs.PartOneTypeOfImpEnum.P => Btms.Model.Ipaffs.PartOneTypeOfImpEnum.P, - Btms.Types.Ipaffs.PartOneTypeOfImpEnum.D => Btms.Model.Ipaffs.PartOneTypeOfImpEnum.D, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PartOneTypeOfImpEnum? Map(Btms.Types.Ipaffs.PartOneTypeOfImpEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PartOneTypeOfImpEnum.A => Btms.Model.Ipaffs.PartOneTypeOfImpEnum.A, + Btms.Types.Ipaffs.PartOneTypeOfImpEnum.P => Btms.Model.Ipaffs.PartOneTypeOfImpEnum.P, + Btms.Types.Ipaffs.PartOneTypeOfImpEnum.D => Btms.Model.Ipaffs.PartOneTypeOfImpEnum.D, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartThreeControlStatusEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartThreeControlStatusEnumMapper.g.cs index 6b6b8a7e..8cc90ef4 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartThreeControlStatusEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartThreeControlStatusEnumMapper.g.cs @@ -11,24 +11,21 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartThreeControlStatusEnumMapper { - public static Btms.Model.Ipaffs.PartThreeControlStatusEnum? Map(Btms.Types.Ipaffs.PartThreeControlStatusEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PartThreeControlStatusEnum.Required => Btms.Model.Ipaffs.PartThreeControlStatusEnum - .Required, - Btms.Types.Ipaffs.PartThreeControlStatusEnum.Completed => Btms.Model.Ipaffs.PartThreeControlStatusEnum - .Completed, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PartThreeControlStatusEnum? Map(Btms.Types.Ipaffs.PartThreeControlStatusEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PartThreeControlStatusEnum.Required => Btms.Model.Ipaffs.PartThreeControlStatusEnum.Required, + Btms.Types.Ipaffs.PartThreeControlStatusEnum.Completed => Btms.Model.Ipaffs.PartThreeControlStatusEnum.Completed, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartThreeMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartThreeMapper.g.cs index 7d2a6cd1..6ece7302 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartThreeMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartThreeMapper.g.cs @@ -14,22 +14,20 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartThreeMapper { - public static Btms.Model.Ipaffs.PartThree Map(Btms.Types.Ipaffs.PartThree from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.PartThree(); - to.ControlStatus = PartThreeControlStatusEnumMapper.Map(from?.ControlStatus); - to.Control = ControlMapper.Map(from?.Control!); - to.ConsignmentValidations = - from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); - to.SealCheckRequired = from?.SealCheckRequired; - to.SealCheck = SealCheckMapper.Map(from?.SealCheck!); - to.SealCheckOverride = InspectionOverrideMapper.Map(from?.SealCheckOverride!); - return to; - } + public static Btms.Model.Ipaffs.PartThree Map(Btms.Types.Ipaffs.PartThree? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.PartThree (); +to.ControlStatus = PartThreeControlStatusEnumMapper.Map(from?.ControlStatus); + to.Control = ControlMapper.Map(from?.Control); + to.ConsignmentValidations = from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); + to.SealCheckRequired = from?.SealCheckRequired; + to.SealCheck = SealCheckMapper.Map(from?.SealCheck); + to.SealCheckOverride = InspectionOverrideMapper.Map(from?.SealCheckOverride); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartTwoMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartTwoMapper.g.cs index 691d9c4d..f8a3ca27 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartTwoMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartTwoMapper.g.cs @@ -14,39 +14,35 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartTwoMapper { - public static Btms.Model.Ipaffs.PartTwo Map(Btms.Types.Ipaffs.PartTwo from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.PartTwo(); - to.Decision = DecisionMapper.Map(from?.Decision!); - to.ConsignmentCheck = ConsignmentCheckMapper.Map(from?.ConsignmentCheck!); - to.ImpactOfTransportOnAnimals = ImpactOfTransportOnAnimalsMapper.Map(from?.ImpactOfTransportOnAnimals!); - to.LaboratoryTestsRequired = from?.LaboratoryTestsRequired; - to.LaboratoryTests = LaboratoryTestsMapper.Map(from?.LaboratoryTests!); - to.ResealedContainersIncluded = from?.ResealedContainersIncluded; - to.ResealedContainers = from?.ResealedContainers; - to.ResealedContainersMappings = - from?.ResealedContainersMappings?.Select(x => SealContainerMapper.Map(x)).ToArray(); - to.ControlAuthority = ControlAuthorityMapper.Map(from?.ControlAuthority!); - to.ControlledDestination = EconomicOperatorMapper.Map(from?.ControlledDestination!); - to.BipLocalReferenceNumber = from?.BipLocalReferenceNumber; - to.SignedOnBehalfOf = from?.SignedOnBehalfOf; - to.OnwardTransportation = from?.OnwardTransportation; - to.ConsignmentValidations = - from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); - to.CheckedOn = from?.CheckDate; - to.AccompanyingDocuments = - from?.AccompanyingDocuments?.Select(x => AccompanyingDocumentMapper.Map(x)).ToArray(); - to.PhsiAutoCleared = from?.PhsiAutoCleared; - to.HmiAutoCleared = from?.HmiAutoCleared; - to.InspectionRequired = InspectionRequiredEnumMapper.Map(from?.InspectionRequired); - to.InspectionOverride = InspectionOverrideMapper.Map(from?.InspectionOverride!); - to.AutoClearedOn = from?.AutoClearedDateTime; - return to; - } + public static Btms.Model.Ipaffs.PartTwo Map(Btms.Types.Ipaffs.PartTwo? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.PartTwo (); +to.Decision = DecisionMapper.Map(from?.Decision); + to.ConsignmentCheck = ConsignmentCheckMapper.Map(from?.ConsignmentCheck); + to.ImpactOfTransportOnAnimals = ImpactOfTransportOnAnimalsMapper.Map(from?.ImpactOfTransportOnAnimals); + to.LaboratoryTestsRequired = from?.LaboratoryTestsRequired; + to.LaboratoryTests = LaboratoryTestsMapper.Map(from?.LaboratoryTests); + to.ResealedContainersIncluded = from?.ResealedContainersIncluded; + to.ResealedContainers = from?.ResealedContainers; + to.ResealedContainersMappings = from?.ResealedContainersMappings?.Select(x => SealContainerMapper.Map(x)).ToArray(); + to.ControlAuthority = ControlAuthorityMapper.Map(from?.ControlAuthority); + to.ControlledDestination = EconomicOperatorMapper.Map(from?.ControlledDestination); + to.BipLocalReferenceNumber = from?.BipLocalReferenceNumber; + to.SignedOnBehalfOf = from?.SignedOnBehalfOf; + to.OnwardTransportation = from?.OnwardTransportation; + to.ConsignmentValidations = from?.ConsignmentValidations?.Select(x => ValidationMessageCodeMapper.Map(x)).ToArray(); + to.CheckedOn = from?.CheckDate; + to.AccompanyingDocuments = from?.AccompanyingDocuments?.Select(x => AccompanyingDocumentMapper.Map(x)).ToArray(); + to.PhsiAutoCleared = from?.PhsiAutoCleared; + to.HmiAutoCleared = from?.HmiAutoCleared; + to.InspectionRequired = InspectionRequiredEnumMapper.Map(from?.InspectionRequired); + to.InspectionOverride = InspectionOverrideMapper.Map(from?.InspectionOverride); + to.AutoClearedOn = from?.AutoClearedDateTime; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartyMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartyMapper.g.cs index ea1ec4bf..8ecdb4b2 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartyMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartyMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartyMapper { - public static Btms.Model.Ipaffs.Party Map(Btms.Types.Ipaffs.Party from) + public static Btms.Model.Ipaffs.Party Map(Btms.Types.Ipaffs.Party? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/PartyTypeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PartyTypeEnumMapper.g.cs index 51b02007..dda295e2 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PartyTypeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PartyTypeEnumMapper.g.cs @@ -11,23 +11,21 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PartyTypeEnumMapper { - public static Btms.Model.Ipaffs.PartyTypeEnum? Map(Btms.Types.Ipaffs.PartyTypeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PartyTypeEnum.CommercialTransporter => Btms.Model.Ipaffs.PartyTypeEnum - .CommercialTransporter, - Btms.Types.Ipaffs.PartyTypeEnum.PrivateTransporter => Btms.Model.Ipaffs.PartyTypeEnum.PrivateTransporter, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PartyTypeEnum? Map(Btms.Types.Ipaffs.PartyTypeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PartyTypeEnum.CommercialTransporter => Btms.Model.Ipaffs.PartyTypeEnum.CommercialTransporter, + Btms.Types.Ipaffs.PartyTypeEnum.PrivateTransporter => Btms.Model.Ipaffs.PartyTypeEnum.PrivateTransporter, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PhsiMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PhsiMapper.g.cs index dc78d691..6b1b1055 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PhsiMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PhsiMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PhsiMapper { - public static Btms.Model.Ipaffs.Phsi Map(Btms.Types.Ipaffs.Phsi from) + public static Btms.Model.Ipaffs.Phsi Map(Btms.Types.Ipaffs.Phsi? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/PostalAddressMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PostalAddressMapper.g.cs index c445abb0..0c086201 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PostalAddressMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PostalAddressMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PostalAddressMapper { - public static Btms.Model.Ipaffs.PostalAddress Map(Btms.Types.Ipaffs.PostalAddress from) + public static Btms.Model.Ipaffs.PostalAddress Map(Btms.Types.Ipaffs.PostalAddress? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/PurposeForImportOrAdmissionEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PurposeForImportOrAdmissionEnumMapper.g.cs index 6e5eae0f..8aeee86c 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PurposeForImportOrAdmissionEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PurposeForImportOrAdmissionEnumMapper.g.cs @@ -11,27 +11,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PurposeForImportOrAdmissionEnumMapper { - public static Btms.Model.Ipaffs.PurposeForImportOrAdmissionEnum? Map( - Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum.DefinitiveImport => Btms.Model.Ipaffs - .PurposeForImportOrAdmissionEnum.DefinitiveImport, - Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum.HorsesReEntry => Btms.Model.Ipaffs - .PurposeForImportOrAdmissionEnum.HorsesReEntry, - Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum.TemporaryAdmissionHorses => Btms.Model.Ipaffs - .PurposeForImportOrAdmissionEnum.TemporaryAdmissionHorses, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PurposeForImportOrAdmissionEnum? Map(Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum.DefinitiveImport => Btms.Model.Ipaffs.PurposeForImportOrAdmissionEnum.DefinitiveImport, + Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum.HorsesReEntry => Btms.Model.Ipaffs.PurposeForImportOrAdmissionEnum.HorsesReEntry, + Btms.Types.Ipaffs.PurposeForImportOrAdmissionEnum.TemporaryAdmissionHorses => Btms.Model.Ipaffs.PurposeForImportOrAdmissionEnum.TemporaryAdmissionHorses, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PurposeForNonConformingEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PurposeForNonConformingEnumMapper.g.cs index bd0bf9ac..92c344dc 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PurposeForNonConformingEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PurposeForNonConformingEnumMapper.g.cs @@ -11,28 +11,23 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PurposeForNonConformingEnumMapper { - public static Btms.Model.Ipaffs.PurposeForNonConformingEnum? Map( - Btms.Types.Ipaffs.PurposeForNonConformingEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PurposeForNonConformingEnum.CustomsWarehouse => Btms.Model.Ipaffs - .PurposeForNonConformingEnum.CustomsWarehouse, - Btms.Types.Ipaffs.PurposeForNonConformingEnum.FreeZoneOrFreeWarehouse => Btms.Model.Ipaffs - .PurposeForNonConformingEnum.FreeZoneOrFreeWarehouse, - Btms.Types.Ipaffs.PurposeForNonConformingEnum.ShipSupplier => Btms.Model.Ipaffs.PurposeForNonConformingEnum - .ShipSupplier, - Btms.Types.Ipaffs.PurposeForNonConformingEnum.Ship => Btms.Model.Ipaffs.PurposeForNonConformingEnum.Ship, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PurposeForNonConformingEnum? Map(Btms.Types.Ipaffs.PurposeForNonConformingEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PurposeForNonConformingEnum.CustomsWarehouse => Btms.Model.Ipaffs.PurposeForNonConformingEnum.CustomsWarehouse, + Btms.Types.Ipaffs.PurposeForNonConformingEnum.FreeZoneOrFreeWarehouse => Btms.Model.Ipaffs.PurposeForNonConformingEnum.FreeZoneOrFreeWarehouse, + Btms.Types.Ipaffs.PurposeForNonConformingEnum.ShipSupplier => Btms.Model.Ipaffs.PurposeForNonConformingEnum.ShipSupplier, + Btms.Types.Ipaffs.PurposeForNonConformingEnum.Ship => Btms.Model.Ipaffs.PurposeForNonConformingEnum.Ship, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PurposeInternalMarketPurposeEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PurposeInternalMarketPurposeEnumMapper.g.cs index 0c43881e..8f6fb4ed 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PurposeInternalMarketPurposeEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PurposeInternalMarketPurposeEnumMapper.g.cs @@ -11,57 +11,37 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PurposeInternalMarketPurposeEnumMapper { - public static Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum? Map( - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.AnimalFeedingStuff => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.AnimalFeedingStuff, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.HumanConsumption => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.HumanConsumption, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.PharmaceuticalUse => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.PharmaceuticalUse, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.TechnicalUse => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.TechnicalUse, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Other => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.Other, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.CommercialSale => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.CommercialSale, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.CommercialSaleOrChangeOfOwnership => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.CommercialSaleOrChangeOfOwnership, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Rescue => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.Rescue, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Breeding => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.Breeding, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Research => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.Research, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.RacingOrCompetition => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.RacingOrCompetition, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.ApprovedPremisesOrBody => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.ApprovedPremisesOrBody, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.CompanionAnimalNotForResaleOrRehoming => Btms.Model - .Ipaffs.PurposeInternalMarketPurposeEnum.CompanionAnimalNotForResaleOrRehoming, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Production => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.Production, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Slaughter => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.Slaughter, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Fattening => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.Fattening, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.GameRestocking => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.GameRestocking, - Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.RegisteredHorses => Btms.Model.Ipaffs - .PurposeInternalMarketPurposeEnum.RegisteredHorses, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum? Map(Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.AnimalFeedingStuff => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.AnimalFeedingStuff, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.HumanConsumption => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.HumanConsumption, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.PharmaceuticalUse => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.PharmaceuticalUse, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.TechnicalUse => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.TechnicalUse, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Other => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.Other, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.CommercialSale => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.CommercialSale, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.CommercialSaleOrChangeOfOwnership => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.CommercialSaleOrChangeOfOwnership, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Rescue => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.Rescue, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Breeding => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.Breeding, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Research => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.Research, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.RacingOrCompetition => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.RacingOrCompetition, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.ApprovedPremisesOrBody => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.ApprovedPremisesOrBody, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.CompanionAnimalNotForResaleOrRehoming => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.CompanionAnimalNotForResaleOrRehoming, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Production => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.Production, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Slaughter => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.Slaughter, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.Fattening => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.Fattening, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.GameRestocking => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.GameRestocking, + Btms.Types.Ipaffs.PurposeInternalMarketPurposeEnum.RegisteredHorses => Btms.Model.Ipaffs.PurposeInternalMarketPurposeEnum.RegisteredHorses, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PurposeMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PurposeMapper.g.cs index 89ca6295..3ac0bbcd 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PurposeMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PurposeMapper.g.cs @@ -14,30 +14,29 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PurposeMapper { - public static Btms.Model.Ipaffs.Purpose Map(Btms.Types.Ipaffs.Purpose from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.Purpose(); - to.ConformsToEU = from?.ConformsToEU; - to.InternalMarketPurpose = PurposeInternalMarketPurposeEnumMapper.Map(from?.InternalMarketPurpose); - to.ThirdCountryTranshipment = from?.ThirdCountryTranshipment; - to.ForNonConforming = PurposeForNonConformingEnumMapper.Map(from?.ForNonConforming); - to.RegNumber = from?.RegNumber; - to.ShipName = from?.ShipName; - to.ShipPort = from?.ShipPort; - to.ExitBip = from?.ExitBip; - to.ThirdCountry = from?.ThirdCountry; - to.TransitThirdCountries = from?.TransitThirdCountries; - to.ForImportOrAdmission = PurposeForImportOrAdmissionEnumMapper.Map(from?.ForImportOrAdmission); - to.ExitDate = from?.ExitDate; - to.FinalBip = from?.FinalBip; - to.PurposeGroup = PurposePurposeGroupEnumMapper.Map(from?.PurposeGroup); - to.EstimatedArrivesAtPortOfExit = DateTimeMapper.Map(from?.EstimatedArrivalDateAtPortOfExit, from?.EstimatedArrivalTimeAtPortOfExit); - return to; - } + public static Btms.Model.Ipaffs.Purpose Map(Btms.Types.Ipaffs.Purpose? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.Purpose (); +to.ConformsToEU = from?.ConformsToEU; + to.InternalMarketPurpose = PurposeInternalMarketPurposeEnumMapper.Map(from?.InternalMarketPurpose); + to.ThirdCountryTranshipment = from?.ThirdCountryTranshipment; + to.ForNonConforming = PurposeForNonConformingEnumMapper.Map(from?.ForNonConforming); + to.RegNumber = from?.RegNumber; + to.ShipName = from?.ShipName; + to.ShipPort = from?.ShipPort; + to.ExitBip = from?.ExitBip; + to.ThirdCountry = from?.ThirdCountry; + to.TransitThirdCountries = from?.TransitThirdCountries; + to.ForImportOrAdmission = PurposeForImportOrAdmissionEnumMapper.Map(from?.ForImportOrAdmission); + to.ExitDate = from?.ExitDate; + to.FinalBip = from?.FinalBip; + to.PurposeGroup = PurposePurposeGroupEnumMapper.Map(from?.PurposeGroup); + to.EstimatedArrivesAtPortOfExit = DateTimeMapper.Map(from?.EstimatedArrivalDateAtPortOfExit, from?.EstimatedArrivalTimeAtPortOfExit); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/PurposePurposeGroupEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/PurposePurposeGroupEnumMapper.g.cs index d926504a..88627c60 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/PurposePurposeGroupEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/PurposePurposeGroupEnumMapper.g.cs @@ -11,37 +11,27 @@ namespace Btms.Types.Ipaffs.Mapping; public static class PurposePurposeGroupEnumMapper { - public static Btms.Model.Ipaffs.PurposePurposeGroupEnum? Map(Btms.Types.Ipaffs.PurposePurposeGroupEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForImport => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForImport, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForNONConformingConsignments => Btms.Model.Ipaffs - .PurposePurposeGroupEnum.ForNONConformingConsignments, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForTranshipmentTo => Btms.Model.Ipaffs.PurposePurposeGroupEnum - .ForTranshipmentTo, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForTransitTo3rdCountry => Btms.Model.Ipaffs - .PurposePurposeGroupEnum.ForTransitTo3rdCountry, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForReImport => Btms.Model.Ipaffs.PurposePurposeGroupEnum - .ForReImport, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForPrivateImport => Btms.Model.Ipaffs.PurposePurposeGroupEnum - .ForPrivateImport, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForTransferTo => Btms.Model.Ipaffs.PurposePurposeGroupEnum - .ForTransferTo, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForImportReConformityCheck => Btms.Model.Ipaffs - .PurposePurposeGroupEnum.ForImportReConformityCheck, - Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForImportNonInternalMarket => Btms.Model.Ipaffs - .PurposePurposeGroupEnum.ForImportNonInternalMarket, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.PurposePurposeGroupEnum? Map(Btms.Types.Ipaffs.PurposePurposeGroupEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForImport => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForImport, + Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForNONConformingConsignments => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForNONConformingConsignments, + Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForTranshipmentTo => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForTranshipmentTo, + Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForTransitTo3rdCountry => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForTransitTo3rdCountry, + Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForReImport => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForReImport, + Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForPrivateImport => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForPrivateImport, + Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForTransferTo => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForTransferTo, + Btms.Types.Ipaffs.PurposePurposeGroupEnum.ForImportReConformityCheck => Btms.Model.Ipaffs.PurposePurposeGroupEnum.ForImportReConformityCheck, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/ResultEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ResultEnumMapper.g.cs index 2f342f98..fe83d803 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ResultEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ResultEnumMapper.g.cs @@ -11,27 +11,25 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ResultEnumMapper { - public static Btms.Model.Ipaffs.ResultEnum? Map(Btms.Types.Ipaffs.ResultEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.ResultEnum.Satisfactory => Btms.Model.Ipaffs.ResultEnum.Satisfactory, - Btms.Types.Ipaffs.ResultEnum.SatisfactoryFollowingOfficialIntervention => Btms.Model.Ipaffs.ResultEnum - .SatisfactoryFollowingOfficialIntervention, - Btms.Types.Ipaffs.ResultEnum.NotSatisfactory => Btms.Model.Ipaffs.ResultEnum.NotSatisfactory, - Btms.Types.Ipaffs.ResultEnum.NotDone => Btms.Model.Ipaffs.ResultEnum.NotDone, - Btms.Types.Ipaffs.ResultEnum.Derogation => Btms.Model.Ipaffs.ResultEnum.Derogation, - Btms.Types.Ipaffs.ResultEnum.NotSet => Btms.Model.Ipaffs.ResultEnum.NotSet, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.ResultEnum? Map(Btms.Types.Ipaffs.ResultEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.ResultEnum.Satisfactory => Btms.Model.Ipaffs.ResultEnum.Satisfactory, + Btms.Types.Ipaffs.ResultEnum.SatisfactoryFollowingOfficialIntervention => Btms.Model.Ipaffs.ResultEnum.SatisfactoryFollowingOfficialIntervention, + Btms.Types.Ipaffs.ResultEnum.NotSatisfactory => Btms.Model.Ipaffs.ResultEnum.NotSatisfactory, + Btms.Types.Ipaffs.ResultEnum.NotDone => Btms.Model.Ipaffs.ResultEnum.NotDone, + Btms.Types.Ipaffs.ResultEnum.Derogation => Btms.Model.Ipaffs.ResultEnum.Derogation, + Btms.Types.Ipaffs.ResultEnum.NotSet => Btms.Model.Ipaffs.ResultEnum.NotSet, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/RiskAssessmentResultMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/RiskAssessmentResultMapper.g.cs index 3bdf61b8..f7007fb6 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/RiskAssessmentResultMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/RiskAssessmentResultMapper.g.cs @@ -14,17 +14,16 @@ namespace Btms.Types.Ipaffs.Mapping; public static class RiskAssessmentResultMapper { - public static Btms.Model.Ipaffs.RiskAssessmentResult Map(Btms.Types.Ipaffs.RiskAssessmentResult from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.RiskAssessmentResult(); - to.CommodityResults = from?.CommodityResults?.Select(x => CommodityRiskResultMapper.Map(x)).ToArray(); - to.AssessedOn = from?.AssessmentDateTime; - return to; - } + public static Btms.Model.Ipaffs.RiskAssessmentResult Map(Btms.Types.Ipaffs.RiskAssessmentResult? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.RiskAssessmentResult (); +to.CommodityResults = from?.CommodityResults?.Select(x => CommodityRiskResultMapper.Map(x)).ToArray(); + to.AssessedOn = from?.AssessmentDateTime; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/RouteMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/RouteMapper.g.cs index e27a784a..9c78790f 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/RouteMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/RouteMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class RouteMapper { - public static Btms.Model.Ipaffs.Route Map(Btms.Types.Ipaffs.Route from) + public static Btms.Model.Ipaffs.Route Map(Btms.Types.Ipaffs.Route? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/SealCheckMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/SealCheckMapper.g.cs index 9f31a161..9bf044fa 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/SealCheckMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/SealCheckMapper.g.cs @@ -14,19 +14,18 @@ namespace Btms.Types.Ipaffs.Mapping; public static class SealCheckMapper { - public static Btms.Model.Ipaffs.SealCheck Map(Btms.Types.Ipaffs.SealCheck from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.SealCheck(); - to.Satisfactory = from?.Satisfactory; - to.Reason = from?.Reason; - to.OfficialInspector = OfficialInspectorMapper.Map(from?.OfficialInspector!); - to.CheckedOn = from?.DateTimeOfCheck; - return to; - } + public static Btms.Model.Ipaffs.SealCheck Map(Btms.Types.Ipaffs.SealCheck? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.SealCheck (); +to.Satisfactory = from?.Satisfactory; + to.Reason = from?.Reason; + to.OfficialInspector = OfficialInspectorMapper.Map(from?.OfficialInspector); + to.CheckedOn = from?.DateTimeOfCheck; + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/SealContainerMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/SealContainerMapper.g.cs index 50a593df..a3a2405d 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/SealContainerMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/SealContainerMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class SealContainerMapper { - public static Btms.Model.Ipaffs.SealContainer Map(Btms.Types.Ipaffs.SealContainer from) + public static Btms.Model.Ipaffs.SealContainer Map(Btms.Types.Ipaffs.SealContainer? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/SingleLaboratoryTestMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/SingleLaboratoryTestMapper.g.cs index c20a4f9e..029e393e 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/SingleLaboratoryTestMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/SingleLaboratoryTestMapper.g.cs @@ -14,21 +14,20 @@ namespace Btms.Types.Ipaffs.Mapping; public static class SingleLaboratoryTestMapper { - public static Btms.Model.Ipaffs.SingleLaboratoryTest Map(Btms.Types.Ipaffs.SingleLaboratoryTest from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.SingleLaboratoryTest(); - to.CommodityCode = from?.CommodityCode; - to.SpeciesId = from?.SpeciesId; - to.TracesId = from?.TracesId; - to.TestName = from?.TestName; - to.Applicant = ApplicantMapper.Map(from?.Applicant!); - to.LaboratoryTestResult = LaboratoryTestResultMapper.Map(from?.LaboratoryTestResult!); - return to; - } + public static Btms.Model.Ipaffs.SingleLaboratoryTest Map(Btms.Types.Ipaffs.SingleLaboratoryTest? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.SingleLaboratoryTest (); +to.CommodityCode = from?.CommodityCode; + to.SpeciesId = from?.SpeciesId; + to.TracesId = from?.TracesId; + to.TestName = from?.TestName; + to.Applicant = ApplicantMapper.Map(from?.Applicant); + to.LaboratoryTestResult = LaboratoryTestResultMapper.Map(from?.LaboratoryTestResult); + return to; + } } diff --git a/Btms.Types.Ipaffs.Mapping.V1/SplitConsignmentMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/SplitConsignmentMapper.g.cs index 26277122..e3a0baea 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/SplitConsignmentMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/SplitConsignmentMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class SplitConsignmentMapper { - public static Btms.Model.Ipaffs.SplitConsignment Map(Btms.Types.Ipaffs.SplitConsignment from) + public static Btms.Model.Ipaffs.SplitConsignment Map(Btms.Types.Ipaffs.SplitConsignment? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/TemperatureEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/TemperatureEnumMapper.g.cs index 74b1cdf7..21c48782 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/TemperatureEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/TemperatureEnumMapper.g.cs @@ -11,23 +11,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class TemperatureEnumMapper { - public static Btms.Model.Ipaffs.TemperatureEnum? Map(Btms.Types.Ipaffs.TemperatureEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.TemperatureEnum.Ambient => Btms.Model.Ipaffs.TemperatureEnum.Ambient, - Btms.Types.Ipaffs.TemperatureEnum.Chilled => Btms.Model.Ipaffs.TemperatureEnum.Chilled, - Btms.Types.Ipaffs.TemperatureEnum.Frozen => Btms.Model.Ipaffs.TemperatureEnum.Frozen, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.TemperatureEnum? Map(Btms.Types.Ipaffs.TemperatureEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.TemperatureEnum.Ambient => Btms.Model.Ipaffs.TemperatureEnum.Ambient, + Btms.Types.Ipaffs.TemperatureEnum.Chilled => Btms.Model.Ipaffs.TemperatureEnum.Chilled, + Btms.Types.Ipaffs.TemperatureEnum.Frozen => Btms.Model.Ipaffs.TemperatureEnum.Frozen, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/UnitEnumMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/UnitEnumMapper.g.cs index 28efbe65..e43a1000 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/UnitEnumMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/UnitEnumMapper.g.cs @@ -11,22 +11,21 @@ namespace Btms.Types.Ipaffs.Mapping; public static class UnitEnumMapper { - public static Btms.Model.Ipaffs.UnitEnum? Map(Btms.Types.Ipaffs.UnitEnum? from) - { - if (from == null) - { - return default!; - } - - return from switch - { - Btms.Types.Ipaffs.UnitEnum.Percent => Btms.Model.Ipaffs.UnitEnum.Percent, - Btms.Types.Ipaffs.UnitEnum.Number => Btms.Model.Ipaffs.UnitEnum.Number, - - _ => throw new ArgumentOutOfRangeException(nameof(from), from, null) - }; - } - +public static Btms.Model.Ipaffs.UnitEnum? Map(Btms.Types.Ipaffs.UnitEnum? from) +{ +if(from == null) +{ +return default!; +} +return from switch +{ +Btms.Types.Ipaffs.UnitEnum.Percent => Btms.Model.Ipaffs.UnitEnum.Percent, + Btms.Types.Ipaffs.UnitEnum.Number => Btms.Model.Ipaffs.UnitEnum.Number, + +_ => throw new ArgumentOutOfRangeException(nameof(from), from, null) +}; +} + } diff --git a/Btms.Types.Ipaffs.Mapping.V1/UserInformationMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/UserInformationMapper.g.cs index 67de4228..448832ea 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/UserInformationMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/UserInformationMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class UserInformationMapper { - public static Btms.Model.Ipaffs.UserInformation Map(Btms.Types.Ipaffs.UserInformation from) + public static Btms.Model.Ipaffs.UserInformation Map(Btms.Types.Ipaffs.UserInformation? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/ValidationMessageCodeMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/ValidationMessageCodeMapper.g.cs index 871fea95..4a1d1167 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/ValidationMessageCodeMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/ValidationMessageCodeMapper.g.cs @@ -14,7 +14,7 @@ namespace Btms.Types.Ipaffs.Mapping; public static class ValidationMessageCodeMapper { - public static Btms.Model.Ipaffs.ValidationMessageCode Map(Btms.Types.Ipaffs.ValidationMessageCode from) + public static Btms.Model.Ipaffs.ValidationMessageCode Map(Btms.Types.Ipaffs.ValidationMessageCode? from) { if(from is null) { diff --git a/Btms.Types.Ipaffs.Mapping.V1/VeterinaryInformationMapper.g.cs b/Btms.Types.Ipaffs.Mapping.V1/VeterinaryInformationMapper.g.cs index 47013564..88255fbe 100644 --- a/Btms.Types.Ipaffs.Mapping.V1/VeterinaryInformationMapper.g.cs +++ b/Btms.Types.Ipaffs.Mapping.V1/VeterinaryInformationMapper.g.cs @@ -14,28 +14,22 @@ namespace Btms.Types.Ipaffs.Mapping; public static class VeterinaryInformationMapper { - public static Btms.Model.Ipaffs.VeterinaryInformation Map(Btms.Types.Ipaffs.VeterinaryInformation from) - { - if (from is null) - { - return default!; - } - - var to = new Btms.Model.Ipaffs.VeterinaryInformation(); - to.EstablishmentsOfOriginExternalReference = - ExternalReferenceMapper.Map(from?.EstablishmentsOfOriginExternalReference!); - to.EstablishmentsOfOrigins = - from?.EstablishmentsOfOrigins?.Select(x => ApprovedEstablishmentMapper.Map(x)).ToArray(); - to.VeterinaryDocument = from?.VeterinaryDocument; - to.VeterinaryDocumentIssuedOn = from?.VeterinaryDocumentIssueDate; - to.AccompanyingDocumentNumbers = from?.AccompanyingDocumentNumbers; - to.AccompanyingDocuments = - from?.AccompanyingDocuments?.Select(x => AccompanyingDocumentMapper.Map(x)).ToArray(); - to.CatchCertificateAttachments = from?.CatchCertificateAttachments - ?.Select(x => CatchCertificateAttachmentMapper.Map(x)).ToArray(); - to.IdentificationDetails = - from?.IdentificationDetails?.Select(x => IdentificationDetailsMapper.Map(x)).ToArray(); - return to; - } + public static Btms.Model.Ipaffs.VeterinaryInformation Map(Btms.Types.Ipaffs.VeterinaryInformation? from) + { + if(from is null) + { + return default!; + } + var to = new Btms.Model.Ipaffs.VeterinaryInformation (); +to.EstablishmentsOfOriginExternalReference = ExternalReferenceMapper.Map(from?.EstablishmentsOfOriginExternalReference); + to.EstablishmentsOfOrigins = from?.EstablishmentsOfOrigins?.Select(x => ApprovedEstablishmentMapper.Map(x)).ToArray(); + to.VeterinaryDocument = from?.VeterinaryDocument; + to.VeterinaryDocumentIssuedOn = from?.VeterinaryDocumentIssueDate; + to.AccompanyingDocumentNumbers = from?.AccompanyingDocumentNumbers; + to.AccompanyingDocuments = from?.AccompanyingDocuments?.Select(x => AccompanyingDocumentMapper.Map(x)).ToArray(); + to.CatchCertificateAttachments = from?.CatchCertificateAttachments?.Select(x => CatchCertificateAttachmentMapper.Map(x)).ToArray(); + to.IdentificationDetails = from?.IdentificationDetails?.Select(x => IdentificationDetailsMapper.Map(x)).ToArray(); + return to; + } } diff --git a/Btms.Types.Ipaffs.V1/AccompanyingDocument.g.cs b/Btms.Types.Ipaffs.V1/AccompanyingDocument.g.cs index 4a337e3d..9f61c47a 100644 --- a/Btms.Types.Ipaffs.V1/AccompanyingDocument.g.cs +++ b/Btms.Types.Ipaffs.V1/AccompanyingDocument.g.cs @@ -21,70 +21,70 @@ public partial class AccompanyingDocument // { - /// - /// Additional document type - /// +/// +/// Additional document type +/// [JsonPropertyName("documentType")] public AccompanyingDocumentDocumentTypeEnum? DocumentType { get; set; } - /// - /// Additional document reference - /// +/// +/// Additional document reference +/// [JsonPropertyName("documentReference")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? DocumentReference { get; set; } - /// - /// Additional document issue date - /// +/// +/// Additional document issue date +/// [JsonPropertyName("documentIssueDate")] public DateTime? DocumentIssueDate { get; set; } - /// - /// The UUID used for the uploaded file in blob storage - /// +/// +/// The UUID used for the uploaded file in blob storage +/// [JsonPropertyName("attachmentId")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? AttachmentId { get; set; } - /// - /// The original filename of the uploaded file - /// +/// +/// The original filename of the uploaded file +/// [JsonPropertyName("attachmentFilename")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? AttachmentFilename { get; set; } - /// - /// The MIME type of the uploaded file - /// +/// +/// The MIME type of the uploaded file +/// [JsonPropertyName("attachmentContentType")] public string? AttachmentContentType { get; set; } - /// - /// The UUID for the user that uploaded the file - /// +/// +/// The UUID for the user that uploaded the file +/// [JsonPropertyName("uploadUserId")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? UploadUserId { get; set; } - /// - /// The UUID for the organisation that the upload user is associated with - /// +/// +/// The UUID for the organisation that the upload user is associated with +/// [JsonPropertyName("uploadOrganisationId")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? UploadOrganisationId { get; set; } - /// - /// External reference of accompanying document, which relates to a downstream service - /// +/// +/// External reference of accompanying document, which relates to a downstream service +/// [JsonPropertyName("externalReference")] public ExternalReference? ExternalReference { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Address.g.cs b/Btms.Types.Ipaffs.V1/Address.g.cs index 715da5c3..a9ce5a0d 100644 --- a/Btms.Types.Ipaffs.V1/Address.g.cs +++ b/Btms.Types.Ipaffs.V1/Address.g.cs @@ -21,104 +21,104 @@ public partial class Address // { - /// - /// Street - /// +/// +/// Street +/// [JsonPropertyName("street")] [Btms.SensitiveData.SensitiveData] public string? Street { get; set; } - /// - /// City - /// +/// +/// City +/// [JsonPropertyName("city")] [Btms.SensitiveData.SensitiveData] public string? City { get; set; } - /// - /// Country - /// +/// +/// Country +/// [JsonPropertyName("country")] public string? Country { get; set; } - /// - /// Postal Code - /// +/// +/// Postal Code +/// [JsonPropertyName("postalCode")] [Btms.SensitiveData.SensitiveData] public string? PostalCode { get; set; } - /// - /// 1st line of address - /// +/// +/// 1st line of address +/// [JsonPropertyName("addressLine1")] [Btms.SensitiveData.SensitiveData] public string? AddressLine1 { get; set; } - /// - /// 2nd line of address - /// +/// +/// 2nd line of address +/// [JsonPropertyName("addressLine2")] [Btms.SensitiveData.SensitiveData] public string? AddressLine2 { get; set; } - /// - /// 3rd line of address - /// +/// +/// 3rd line of address +/// [JsonPropertyName("addressLine3")] [Btms.SensitiveData.SensitiveData] public string? AddressLine3 { get; set; } - /// - /// Post / zip code - /// +/// +/// Post / zip code +/// [JsonPropertyName("postalZipCode")] [Btms.SensitiveData.SensitiveData] public string? PostalZipCode { get; set; } - /// - /// country 2-digits ISO code - /// +/// +/// country 2-digits ISO code +/// [JsonPropertyName("countryISOCode")] [Btms.SensitiveData.SensitiveData] public string? CountryIsoCode { get; set; } - /// - /// Email address - /// +/// +/// Email address +/// [JsonPropertyName("email")] [Btms.SensitiveData.SensitiveData] public string? Email { get; set; } - /// - /// UK phone number - /// +/// +/// UK phone number +/// [JsonPropertyName("ukTelephone")] [Btms.SensitiveData.SensitiveData] public string? UkTelephone { get; set; } - /// - /// Telephone number - /// +/// +/// Telephone number +/// [JsonPropertyName("telephone")] [Btms.SensitiveData.SensitiveData] public string? Telephone { get; set; } - /// - /// International phone number - /// +/// +/// International phone number +/// [JsonPropertyName("internationalTelephone")] public InternationalTelephone? InternationalTelephone { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Applicant.g.cs b/Btms.Types.Ipaffs.V1/Applicant.g.cs index e8717dc7..88b2ea23 100644 --- a/Btms.Types.Ipaffs.V1/Applicant.g.cs +++ b/Btms.Types.Ipaffs.V1/Applicant.g.cs @@ -21,100 +21,100 @@ public partial class Applicant // { - /// - /// Name of laboratory - /// +/// +/// Name of laboratory +/// [JsonPropertyName("laboratory")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Laboratory { get; set; } - /// - /// Laboratory address - /// +/// +/// Laboratory address +/// [JsonPropertyName("laboratoryAddress")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? LaboratoryAddress { get; set; } - /// - /// Laboratory identification - /// +/// +/// Laboratory identification +/// [JsonPropertyName("laboratoryIdentification")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? LaboratoryIdentification { get; set; } - /// - /// Laboratory phone number - /// +/// +/// Laboratory phone number +/// [JsonPropertyName("laboratoryPhoneNumber")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? LaboratoryPhoneNumber { get; set; } - /// - /// Laboratory email - /// +/// +/// Laboratory email +/// [JsonPropertyName("laboratoryEmail")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? LaboratoryEmail { get; set; } - /// - /// Sample batch number - /// +/// +/// Sample batch number +/// [JsonPropertyName("sampleBatchNumber")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SampleBatchNumber { get; set; } - /// - /// Type of analysis - /// +/// +/// Type of analysis +/// [JsonPropertyName("analysisType")] public ApplicantAnalysisTypeEnum? AnalysisType { get; set; } - /// - /// Number of samples analysed - /// +/// +/// Number of samples analysed +/// [JsonPropertyName("numberOfSamples")] public int? NumberOfSamples { get; set; } - /// - /// Type of sample - /// +/// +/// Type of sample +/// [JsonPropertyName("sampleType")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SampleType { get; set; } - /// - /// Conservation of sample - /// +/// +/// Conservation of sample +/// [JsonPropertyName("conservationOfSample")] public ApplicantConservationOfSampleEnum? ConservationOfSample { get; set; } - /// - /// inspector - /// +/// +/// inspector +/// [JsonPropertyName("inspector")] public Inspector? Inspector { get; set; } - /// - /// Date the sample is taken - /// +/// +/// Date the sample is taken +/// [JsonPropertyName("sampleDate")] public DateOnly? SampleDate { get; set; } - /// - /// Time the sample is taken - /// +/// +/// Time the sample is taken +/// [JsonPropertyName("sampleTime")] public TimeOnly? SampleTime { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ApprovedEstablishment.g.cs b/Btms.Types.Ipaffs.V1/ApprovedEstablishment.g.cs index 21c8ad18..e0c65441 100644 --- a/Btms.Types.Ipaffs.V1/ApprovedEstablishment.g.cs +++ b/Btms.Types.Ipaffs.V1/ApprovedEstablishment.g.cs @@ -21,46 +21,46 @@ public partial class ApprovedEstablishment // { - /// - /// ID - /// +/// +/// ID +/// [JsonPropertyName("id")] public string? Id { get; set; } - /// - /// Name of approved establishment - /// +/// +/// Name of approved establishment +/// [JsonPropertyName("name")] [Btms.SensitiveData.SensitiveData] public string? Name { get; set; } - /// - /// Country of approved establishment - /// +/// +/// Country of approved establishment +/// [JsonPropertyName("country")] public string? Country { get; set; } - /// - /// Types of approved establishment - /// +/// +/// Types of approved establishment +/// [JsonPropertyName("types")] public string[]? Types { get; set; } - /// - /// Approval number - /// +/// +/// Approval number +/// [JsonPropertyName("approvalNumber")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? ApprovalNumber { get; set; } - /// - /// Section of approved establishment - /// +/// +/// Section of approved establishment +/// [JsonPropertyName("section")] public string? Section { get; set; } diff --git a/Btms.Types.Ipaffs.V1/BillingInformation.g.cs b/Btms.Types.Ipaffs.V1/BillingInformation.g.cs index 3e3b3634..1f706b06 100644 --- a/Btms.Types.Ipaffs.V1/BillingInformation.g.cs +++ b/Btms.Types.Ipaffs.V1/BillingInformation.g.cs @@ -21,40 +21,40 @@ public partial class BillingInformation // { - /// - /// Indicates whether user has confirmed their billing information - /// +/// +/// Indicates whether user has confirmed their billing information +/// [JsonPropertyName("isConfirmed")] public bool? IsConfirmed { get; set; } - /// - /// Billing email address - /// +/// +/// Billing email address +/// [JsonPropertyName("emailAddress")] [Btms.SensitiveData.SensitiveData] public string? EmailAddress { get; set; } - /// - /// Billing phone number - /// +/// +/// Billing phone number +/// [JsonPropertyName("phoneNumber")] [Btms.SensitiveData.SensitiveData] public string? PhoneNumber { get; set; } - /// - /// Billing Contact Name - /// +/// +/// Billing Contact Name +/// [JsonPropertyName("contactName")] [Btms.SensitiveData.SensitiveData] public string? ContactName { get; set; } - /// - /// Billing postal address - /// +/// +/// Billing postal address +/// [JsonPropertyName("postalAddress")] public PostalAddress? PostalAddress { get; set; } diff --git a/Btms.Types.Ipaffs.V1/CatchCertificateAttachment.g.cs b/Btms.Types.Ipaffs.V1/CatchCertificateAttachment.g.cs index 0a154aad..32dcc985 100644 --- a/Btms.Types.Ipaffs.V1/CatchCertificateAttachment.g.cs +++ b/Btms.Types.Ipaffs.V1/CatchCertificateAttachment.g.cs @@ -21,23 +21,23 @@ public partial class CatchCertificateAttachment // { - /// - /// The UUID of the uploaded catch certificate file in blob storage - /// +/// +/// The UUID of the uploaded catch certificate file in blob storage +/// [JsonPropertyName("attachmentId")] public string? AttachmentId { get; set; } - /// - /// The total number of catch certificates on the attachment - /// +/// +/// The total number of catch certificates on the attachment +/// [JsonPropertyName("numberOfCatchCertificates")] public int? NumberOfCatchCertificates { get; set; } - /// - /// List of catch certificate details - /// +/// +/// List of catch certificate details +/// [JsonPropertyName("CatchCertificateDetails")] public CatchCertificateDetails[]? CatchCertificateDetails { get; set; } diff --git a/Btms.Types.Ipaffs.V1/CatchCertificateDetails.g.cs b/Btms.Types.Ipaffs.V1/CatchCertificateDetails.g.cs index 57c1bc56..696a883d 100644 --- a/Btms.Types.Ipaffs.V1/CatchCertificateDetails.g.cs +++ b/Btms.Types.Ipaffs.V1/CatchCertificateDetails.g.cs @@ -21,37 +21,37 @@ public partial class CatchCertificateDetails // { - /// - /// The UUID of the catch certificate - /// +/// +/// The UUID of the catch certificate +/// [JsonPropertyName("catchCertificateId")] public string? CatchCertificateId { get; set; } - /// - /// Catch certificate reference - /// +/// +/// Catch certificate reference +/// [JsonPropertyName("catchCertificateReference")] public string? CatchCertificateReference { get; set; } - /// - /// Catch certificate date of issue - /// +/// +/// Catch certificate date of issue +/// [JsonPropertyName("dateOfIssue")] public DateTime? DateOfIssue { get; set; } - /// - /// Catch certificate flag state of catching vessel(s) - /// +/// +/// Catch certificate flag state of catching vessel(s) +/// [JsonPropertyName("flagState")] public string? FlagState { get; set; } - /// - /// List of species imported under this catch certificate - /// +/// +/// List of species imported under this catch certificate +/// [JsonPropertyName("species")] public string[]? Species { get; set; } diff --git a/Btms.Types.Ipaffs.V1/CatchCertificates.g.cs b/Btms.Types.Ipaffs.V1/CatchCertificates.g.cs index 156b21cc..a24837de 100644 --- a/Btms.Types.Ipaffs.V1/CatchCertificates.g.cs +++ b/Btms.Types.Ipaffs.V1/CatchCertificates.g.cs @@ -21,16 +21,16 @@ public partial class CatchCertificates // { - /// - /// The catch certificate number - /// +/// +/// The catch certificate number +/// [JsonPropertyName("certificateNumber")] public string? CertificateNumber { get; set; } - /// - /// The catch certificate weight number - /// +/// +/// The catch certificate weight number +/// [JsonPropertyName("weight")] public double? Weight { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ChedppNotAcceptableReason.g.cs b/Btms.Types.Ipaffs.V1/ChedppNotAcceptableReason.g.cs index 3b2e99b6..743cb4b2 100644 --- a/Btms.Types.Ipaffs.V1/ChedppNotAcceptableReason.g.cs +++ b/Btms.Types.Ipaffs.V1/ChedppNotAcceptableReason.g.cs @@ -21,16 +21,16 @@ public partial class ChedppNotAcceptableReason // { - /// - /// reason for refusal - /// +/// +/// reason for refusal +/// [JsonPropertyName("reason")] public ChedppNotAcceptableReasonReasonEnum? Reason { get; set; } - /// - /// commodity or package - /// +/// +/// commodity or package +/// [JsonPropertyName("commodityOrPackage")] public ChedppNotAcceptableReasonCommodityOrPackageEnum? CommodityOrPackage { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Commodities.g.cs b/Btms.Types.Ipaffs.V1/Commodities.g.cs index 78f55289..562406c7 100644 --- a/Btms.Types.Ipaffs.V1/Commodities.g.cs +++ b/Btms.Types.Ipaffs.V1/Commodities.g.cs @@ -21,135 +21,135 @@ public partial class Commodities // { - /// - /// Flag to record when the GMS declaration has been accepted - /// +/// +/// Flag to record when the GMS declaration has been accepted +/// [JsonPropertyName("gmsDeclarationAccepted")] public bool? GmsDeclarationAccepted { get; set; } - /// - /// Flag to record whether the consigned country is in an ipaffs charge group - /// +/// +/// Flag to record whether the consigned country is in an ipaffs charge group +/// [JsonPropertyName("consignedCountryInChargeGroup")] public bool? ConsignedCountryInChargeGroup { get; set; } - /// - /// The total gross weight of the consignment. It must be bigger than the total net weight of the commodities - /// +/// +/// The total gross weight of the consignment. It must be bigger than the total net weight of the commodities +/// [JsonPropertyName("totalGrossWeight")] public double? TotalGrossWeight { get; set; } - /// - /// The total net weight of the commodities within this consignment - /// +/// +/// The total net weight of the commodities within this consignment +/// [JsonPropertyName("totalNetWeight")] public double? TotalNetWeight { get; set; } - /// - /// The total gross volume of the commodities within this consignment - /// +/// +/// The total gross volume of the commodities within this consignment +/// [JsonPropertyName("totalGrossVolume")] public double? TotalGrossVolume { get; set; } - /// - /// Unit used for specifying total gross volume of this consignment (litres or metres cubed) - /// +/// +/// Unit used for specifying total gross volume of this consignment (litres or metres cubed) +/// [JsonPropertyName("totalGrossVolumeUnit")] public string? TotalGrossVolumeUnit { get; set; } - /// - /// The total number of packages within this consignment - /// +/// +/// The total number of packages within this consignment +/// [JsonPropertyName("numberOfPackages")] public int? NumberOfPackages { get; set; } - /// - /// Temperature (type) of commodity - /// +/// +/// Temperature (type) of commodity +/// [JsonPropertyName("temperature")] public string? Temperature { get; set; } - /// - /// The total number of animals within this consignment - /// +/// +/// The total number of animals within this consignment +/// [JsonPropertyName("numberOfAnimals")] public int? NumberOfAnimals { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("commodityComplement")] public CommodityComplement[]? CommodityComplements { get; set; } - /// - /// Additional data for commodityComplement part containing such data as net weight - /// +/// +/// Additional data for commodityComplement part containing such data as net weight +/// [JsonPropertyName("complementParameterSet")] public ComplementParameterSet[]? ComplementParameterSets { get; set; } - /// - /// Does consignment contain ablacted animals - /// +/// +/// Does consignment contain ablacted animals +/// [JsonPropertyName("includeNonAblactedAnimals")] public bool? IncludeNonAblactedAnimals { get; set; } - /// - /// Consignments country of origin - /// +/// +/// Consignments country of origin +/// [JsonPropertyName("countryOfOrigin")] public string? CountryOfOrigin { get; set; } - /// - /// Flag to record whether country of origin is a temporary PoD country - /// +/// +/// Flag to record whether country of origin is a temporary PoD country +/// [JsonPropertyName("countryOfOriginIsPodCountry")] public bool? CountryOfOriginIsPodCountry { get; set; } - /// - /// Flag to record whether country of origin is a low risk article 72 country - /// +/// +/// Flag to record whether country of origin is a low risk article 72 country +/// [JsonPropertyName("isLowRiskArticle72Country")] public bool? IsLowRiskArticle72Country { get; set; } - /// - /// Region of country - /// +/// +/// Region of country +/// [JsonPropertyName("regionOfOrigin")] public string? RegionOfOrigin { get; set; } - /// - /// Country from where commodity was sent - /// +/// +/// Country from where commodity was sent +/// [JsonPropertyName("consignedCountry")] public string? ConsignedCountry { get; set; } - /// - /// Certification of animals (Breeding, slaughter etc.) - /// +/// +/// Certification of animals (Breeding, slaughter etc.) +/// [JsonPropertyName("animalsCertifiedAs")] public string? AnimalsCertifiedAs { get; set; } - /// - /// What the commodity is intended for - /// +/// +/// What the commodity is intended for +/// [JsonPropertyName("commodityIntendedFor")] public CommoditiesCommodityIntendedForEnum? CommodityIntendedFor { get; set; } diff --git a/Btms.Types.Ipaffs.V1/CommodityChecks.g.cs b/Btms.Types.Ipaffs.V1/CommodityChecks.g.cs index 31d54cc2..59c74e20 100644 --- a/Btms.Types.Ipaffs.V1/CommodityChecks.g.cs +++ b/Btms.Types.Ipaffs.V1/CommodityChecks.g.cs @@ -21,23 +21,23 @@ public partial class CommodityChecks // { - /// - /// UUID used to match the commodityChecks to the commodityComplement - /// +/// +/// UUID used to match the commodityChecks to the commodityComplement +/// [JsonPropertyName("uniqueComplementId")] public string? UniqueComplementId { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("checks")] public InspectionCheck[]? Checks { get; set; } - /// - /// Manually entered validity period, allowed if risk decision is INSPECTION_REQUIRED and HMI check status 'Compliant' or 'Not inspected' - /// +/// +/// Manually entered validity period, allowed if risk decision is INSPECTION_REQUIRED and HMI check status 'Compliant' or 'Not inspected' +/// [JsonPropertyName("validityPeriod")] public int? ValidityPeriod { get; set; } diff --git a/Btms.Types.Ipaffs.V1/CommodityComplement.g.cs b/Btms.Types.Ipaffs.V1/CommodityComplement.g.cs index f3a4ac1c..43467305 100644 --- a/Btms.Types.Ipaffs.V1/CommodityComplement.g.cs +++ b/Btms.Types.Ipaffs.V1/CommodityComplement.g.cs @@ -21,158 +21,158 @@ public partial class CommodityComplement // { - /// - /// UUID used to match commodityComplement to its complementParameter set. CHEDPP only - /// +/// +/// UUID used to match commodityComplement to its complementParameter set. CHEDPP only +/// [JsonPropertyName("uniqueComplementID")] public string? UniqueComplementId { get; set; } - /// - /// Description of the commodity - /// +/// +/// Description of the commodity +/// [JsonPropertyName("commodityDescription")] public string? CommodityDescription { get; set; } - /// - /// The unique commodity ID - /// +/// +/// The unique commodity ID +/// [JsonPropertyName("commodityID")] public string? CommodityId { get; set; } - /// - /// Identifier of complement chosen from speciesFamily,speciesClass and speciesType'. This is also used to link to the complementParameterSet - /// +/// +/// Identifier of complement chosen from speciesFamily,speciesClass and speciesType'. This is also used to link to the complementParameterSet +/// [JsonPropertyName("complementID")] public int? ComplementId { get; set; } - /// - /// Represents the lowest granularity - either type, class, family or species name - for the commodity selected. This is also used to drive behaviour for EU Import journeys - /// +/// +/// Represents the lowest granularity - either type, class, family or species name - for the commodity selected. This is also used to drive behaviour for EU Import journeys +/// [JsonPropertyName("complementName")] public string? ComplementName { get; set; } - /// - /// EPPO Code related to plant commodities and wood packaging - /// +/// +/// EPPO Code related to plant commodities and wood packaging +/// [JsonPropertyName("eppoCode")] public string? EppoCode { get; set; } - /// - /// (Deprecated in IMTA-11832) Is this commodity wood packaging? - /// +/// +/// (Deprecated in IMTA-11832) Is this commodity wood packaging? +/// [JsonPropertyName("isWoodPackaging")] public bool? IsWoodPackaging { get; set; } - /// - /// The species ID of the commodity that is imported. Not every commodity has a species ID. This is also used to link to the complementParameterSet. The species ID can change over time - /// +/// +/// The species ID of the commodity that is imported. Not every commodity has a species ID. This is also used to link to the complementParameterSet. The species ID can change over time +/// [JsonPropertyName("speciesID")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesId { get; set; } - /// - /// Species name - /// +/// +/// Species name +/// [JsonPropertyName("speciesName")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesName { get; set; } - /// - /// Species nomination - /// +/// +/// Species nomination +/// [JsonPropertyName("speciesNomination")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesNomination { get; set; } - /// - /// Species type name - /// +/// +/// Species type name +/// [JsonPropertyName("speciesTypeName")] - [Btms.SensitiveData.SensitiveData] public string? SpeciesTypeName { get; set; } - /// - /// Species type identifier of commodity - /// +/// +/// Species type identifier of commodity +/// [JsonPropertyName("speciesType")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesType { get; set; } - /// - /// Species class name - /// +/// +/// Species class name +/// [JsonPropertyName("speciesClassName")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesClassName { get; set; } - /// - /// Species class identifier of commodity - /// +/// +/// Species class identifier of commodity +/// [JsonPropertyName("speciesClass")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesClass { get; set; } - /// - /// Species family name of commodity - /// +/// +/// Species family name of commodity +/// [JsonPropertyName("speciesFamilyName")] + [Btms.SensitiveData.SensitiveData] public string? SpeciesFamilyName { get; set; } - /// - /// Species family identifier of commodity - /// +/// +/// Species family identifier of commodity +/// [JsonPropertyName("speciesFamily")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesFamily { get; set; } - /// - /// Species common name of commodity for IMP notification simple commodity selection - /// +/// +/// Species common name of commodity for IMP notification simple commodity selection +/// [JsonPropertyName("speciesCommonName")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SpeciesCommonName { get; set; } - /// - /// Has commodity been matched with corresponding CDS declaration - /// +/// +/// Has commodity been matched with corresponding CDS declaration +/// [JsonPropertyName("isCdsMatched")] public bool? IsCdsMatched { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("additionalData")] public IDictionary? AdditionalData { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("riskAssesment")] public CommodityRiskResult? RiskAssesment { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("checks")] public InspectionCheck[]? Checks { get; set; } diff --git a/Btms.Types.Ipaffs.V1/CommodityRiskResult.g.cs b/Btms.Types.Ipaffs.V1/CommodityRiskResult.g.cs index 67915f35..ff48d97b 100644 --- a/Btms.Types.Ipaffs.V1/CommodityRiskResult.g.cs +++ b/Btms.Types.Ipaffs.V1/CommodityRiskResult.g.cs @@ -21,93 +21,93 @@ public partial class CommodityRiskResult // { - /// - /// CHED-A, CHED-D, CHED-P - what is the commodity complement risk decision - /// +/// +/// CHED-A, CHED-D, CHED-P - what is the commodity complement risk decision +/// [JsonPropertyName("riskDecision")] public CommodityRiskResultRiskDecisionEnum? RiskDecision { get; set; } - /// - /// Transit CHED - what is the commodity complement exit risk decision - /// +/// +/// Transit CHED - what is the commodity complement exit risk decision +/// [JsonPropertyName("exitRiskDecision")] public CommodityRiskResultExitRiskDecisionEnum? ExitRiskDecision { get; set; } - /// - /// HMI decision required - /// +/// +/// HMI decision required +/// [JsonPropertyName("hmiDecision")] public CommodityRiskResultHmiDecisionEnum? HmiDecision { get; set; } - /// - /// PHSI decision required - /// +/// +/// PHSI decision required +/// [JsonPropertyName("phsiDecision")] public CommodityRiskResultPhsiDecisionEnum? PhsiDecision { get; set; } - /// - /// PHSI classification - /// +/// +/// PHSI classification +/// [JsonPropertyName("phsiClassification")] public CommodityRiskResultPhsiClassificationEnum? PhsiClassification { get; set; } - /// - /// PHSI Decision Breakdown - /// +/// +/// PHSI Decision Breakdown +/// [JsonPropertyName("phsi")] public Phsi? Phsi { get; set; } - /// - /// UUID used to match to the complement parameter set - /// +/// +/// UUID used to match to the complement parameter set +/// [JsonPropertyName("uniqueId")] public string? UniqueId { get; set; } - /// - /// EPPO Code for the species - /// +/// +/// EPPO Code for the species +/// [JsonPropertyName("eppoCode")] public string? EppoCode { get; set; } - /// - /// Name or ID of the variety - /// +/// +/// Name or ID of the variety +/// [JsonPropertyName("variety")] public string? Variety { get; set; } - /// - /// Whether or not a plant is woody - /// +/// +/// Whether or not a plant is woody +/// [JsonPropertyName("isWoody")] public bool? IsWoody { get; set; } - /// - /// Indoor or Outdoor for a plant - /// +/// +/// Indoor or Outdoor for a plant +/// [JsonPropertyName("indoorOutdoor")] public string? IndoorOutdoor { get; set; } - /// - /// Whether the propagation is considered a Plant, Bulb, Seed or None - /// +/// +/// Whether the propagation is considered a Plant, Bulb, Seed or None +/// [JsonPropertyName("propagation")] public string? Propagation { get; set; } - /// - /// Rule type for PHSI checks - /// +/// +/// Rule type for PHSI checks +/// [JsonPropertyName("phsiRuleType")] public string? PhsiRuleType { get; set; } diff --git a/Btms.Types.Ipaffs.V1/CommonUserCharge.g.cs b/Btms.Types.Ipaffs.V1/CommonUserCharge.g.cs index c9f79faf..0762f0eb 100644 --- a/Btms.Types.Ipaffs.V1/CommonUserCharge.g.cs +++ b/Btms.Types.Ipaffs.V1/CommonUserCharge.g.cs @@ -21,9 +21,9 @@ public partial class CommonUserCharge // { - /// - /// Indicates whether the last applicable change was successfully send over the interface to Trade Charge - /// +/// +/// Indicates whether the last applicable change was successfully send over the interface to Trade Charge +/// [JsonPropertyName("wasSentToTradeCharge")] public bool? WasSentToTradeCharge { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ComplementParameterSet.g.cs b/Btms.Types.Ipaffs.V1/ComplementParameterSet.g.cs index 92a15445..724a8bbb 100644 --- a/Btms.Types.Ipaffs.V1/ComplementParameterSet.g.cs +++ b/Btms.Types.Ipaffs.V1/ComplementParameterSet.g.cs @@ -21,45 +21,45 @@ public partial class ComplementParameterSet // { - /// - /// UUID used to match commodityComplement to its complementParameter set. CHEDPP only - /// +/// +/// UUID used to match commodityComplement to its complementParameter set. CHEDPP only +/// [JsonPropertyName("uniqueComplementID")] public string? UniqueComplementId { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("complementID")] public int? ComplementId { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("speciesID")] public string? SpeciesId { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("keyDataPair")] [JsonConverter(typeof(KeyDataPairsToDictionaryStringObjectJsonConverter))] public IDictionary? KeyDataPairs { get; set; } - /// - /// Catch certificate details - /// +/// +/// Catch certificate details +/// [JsonPropertyName("catchCertificates")] public CatchCertificates[]? CatchCertificates { get; set; } - /// - /// Data used to identify the complements inside an IMP consignment - /// +/// +/// Data used to identify the complements inside an IMP consignment +/// [JsonPropertyName("identifiers")] public Identifiers[]? Identifiers { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ConsignmentCheck.g.cs b/Btms.Types.Ipaffs.V1/ConsignmentCheck.g.cs index 6073b01d..996e714e 100644 --- a/Btms.Types.Ipaffs.V1/ConsignmentCheck.g.cs +++ b/Btms.Types.Ipaffs.V1/ConsignmentCheck.g.cs @@ -21,114 +21,114 @@ public partial class ConsignmentCheck // { - /// - /// Does it conform EU standards - /// +/// +/// Does it conform EU standards +/// [JsonPropertyName("euStandard")] public string? EuStandard { get; set; } - /// - /// Result of additional guarantees - /// +/// +/// Result of additional guarantees +/// [JsonPropertyName("additionalGuarantees")] public string? AdditionalGuarantees { get; set; } - /// - /// Result of document check - /// +/// +/// Result of document check +/// [JsonPropertyName("documentCheckResult")] public string? DocumentCheckResult { get; set; } - /// - /// Result of national requirements check - /// +/// +/// Result of national requirements check +/// [JsonPropertyName("nationalRequirements")] public string? NationalRequirements { get; set; } - /// - /// Was identity check done - /// +/// +/// Was identity check done +/// [JsonPropertyName("identityCheckDone")] public bool? IdentityCheckDone { get; set; } - /// - /// Type of identity check performed - /// +/// +/// Type of identity check performed +/// [JsonPropertyName("identityCheckType")] public ConsignmentCheckIdentityCheckTypeEnum? IdentityCheckType { get; set; } - /// - /// Result of identity check - /// +/// +/// Result of identity check +/// [JsonPropertyName("identityCheckResult")] public string? IdentityCheckResult { get; set; } - /// - /// What was the reason for skipping identity check - /// +/// +/// What was the reason for skipping identity check +/// [JsonPropertyName("identityCheckNotDoneReason")] public ConsignmentCheckIdentityCheckNotDoneReasonEnum? IdentityCheckNotDoneReason { get; set; } - /// - /// Was physical check done - /// +/// +/// Was physical check done +/// [JsonPropertyName("physicalCheckDone")] public bool? PhysicalCheckDone { get; set; } - /// - /// Result of physical check - /// +/// +/// Result of physical check +/// [JsonPropertyName("physicalCheckResult")] public string? PhysicalCheckResult { get; set; } - /// - /// What was the reason for skipping physical check - /// +/// +/// What was the reason for skipping physical check +/// [JsonPropertyName("physicalCheckNotDoneReason")] public ConsignmentCheckPhysicalCheckNotDoneReasonEnum? PhysicalCheckNotDoneReason { get; set; } - /// - /// Other reason to not do physical check - /// +/// +/// Other reason to not do physical check +/// [JsonPropertyName("physicalCheckOtherText")] public string? PhysicalCheckOtherText { get; set; } - /// - /// Welfare check - /// +/// +/// Welfare check +/// [JsonPropertyName("welfareCheck")] public string? WelfareCheck { get; set; } - /// - /// Number of animals checked - /// +/// +/// Number of animals checked +/// [JsonPropertyName("numberOfAnimalsChecked")] public int? NumberOfAnimalsChecked { get; set; } - /// - /// Were laboratory tests done - /// +/// +/// Were laboratory tests done +/// [JsonPropertyName("laboratoryCheckDone")] public bool? LaboratoryCheckDone { get; set; } - /// - /// Result of laboratory tests - /// +/// +/// Result of laboratory tests +/// [JsonPropertyName("laboratoryCheckResult")] public string? LaboratoryCheckResult { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ContactDetails.g.cs b/Btms.Types.Ipaffs.V1/ContactDetails.g.cs index 61f33bdb..7b9402b4 100644 --- a/Btms.Types.Ipaffs.V1/ContactDetails.g.cs +++ b/Btms.Types.Ipaffs.V1/ContactDetails.g.cs @@ -10,7 +10,6 @@ using System.Text.Json.Serialization; using System.Dynamic; -using Btms.SensitiveData; namespace Btms.Types.Ipaffs; @@ -22,35 +21,35 @@ public partial class ContactDetails // { - /// - /// Name of designated contact - /// +/// +/// Name of designated contact +/// [JsonPropertyName("name")] - [SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Name { get; set; } - /// - /// Telephone number of designated contact - /// +/// +/// Telephone number of designated contact +/// [JsonPropertyName("telephone")] - [SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Telephone { get; set; } - /// - /// Email address of designated contact - /// +/// +/// Email address of designated contact +/// [JsonPropertyName("email")] - [SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Email { get; set; } - /// - /// Name of agent representing designated contact - /// +/// +/// Name of agent representing designated contact +/// [JsonPropertyName("agent")] - [SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Agent { get; set; } } diff --git a/Btms.Types.Ipaffs.V1/Control.g.cs b/Btms.Types.Ipaffs.V1/Control.g.cs index adedb18f..e02c6698 100644 --- a/Btms.Types.Ipaffs.V1/Control.g.cs +++ b/Btms.Types.Ipaffs.V1/Control.g.cs @@ -21,30 +21,30 @@ public partial class Control // { - /// - /// Feedback information of Control - /// +/// +/// Feedback information of Control +/// [JsonPropertyName("feedbackInformation")] public FeedbackInformation? FeedbackInformation { get; set; } - /// - /// Details on re-export - /// +/// +/// Details on re-export +/// [JsonPropertyName("detailsOnReExport")] public DetailsOnReExport? DetailsOnReExport { get; set; } - /// - /// Official inspector - /// +/// +/// Official inspector +/// [JsonPropertyName("officialInspector")] public OfficialInspector? OfficialInspector { get; set; } - /// - /// Is the consignment leaving UK borders? - /// +/// +/// Is the consignment leaving UK borders? +/// [JsonPropertyName("consignmentLeave")] public ControlConsignmentLeaveEnum? ConsignmentLeave { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ControlAuthority.g.cs b/Btms.Types.Ipaffs.V1/ControlAuthority.g.cs index 68a3cf2f..f6cb6824 100644 --- a/Btms.Types.Ipaffs.V1/ControlAuthority.g.cs +++ b/Btms.Types.Ipaffs.V1/ControlAuthority.g.cs @@ -21,51 +21,51 @@ public partial class ControlAuthority // { - /// - /// Official veterinarian - /// +/// +/// Official veterinarian +/// [JsonPropertyName("officialVeterinarian")] public OfficialVeterinarian? OfficialVeterinarian { get; set; } - /// - /// Customs reference number - /// +/// +/// Customs reference number +/// [JsonPropertyName("customsReferenceNo")] public string? CustomsReferenceNo { get; set; } - /// - /// Were containers resealed? - /// +/// +/// Were containers resealed? +/// [JsonPropertyName("containerResealed")] public bool? ContainerResealed { get; set; } - /// - /// When the containers are resealed they need new seal numbers - /// +/// +/// When the containers are resealed they need new seal numbers +/// [JsonPropertyName("newSealNumber")] public string? NewSealNumber { get; set; } - /// - /// Illegal, Unreported and Unregulated (IUU) fishing reference number - /// +/// +/// Illegal, Unreported and Unregulated (IUU) fishing reference number +/// [JsonPropertyName("iuuFishingReference")] public string? IuuFishingReference { get; set; } - /// - /// Was Illegal, Unreported and Unregulated (IUU) check required - /// +/// +/// Was Illegal, Unreported and Unregulated (IUU) check required +/// [JsonPropertyName("iuuCheckRequired")] public bool? IuuCheckRequired { get; set; } - /// - /// Result of Illegal, Unreported and Unregulated (IUU) check - /// +/// +/// Result of Illegal, Unreported and Unregulated (IUU) check +/// [JsonPropertyName("iuuOption")] public ControlAuthorityIuuOptionEnum? IuuOption { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Decision.g.cs b/Btms.Types.Ipaffs.V1/Decision.g.cs index 8549666c..85d06673 100644 --- a/Btms.Types.Ipaffs.V1/Decision.g.cs +++ b/Btms.Types.Ipaffs.V1/Decision.g.cs @@ -21,261 +21,261 @@ public partial class Decision // { - /// - /// Is consignment acceptable or not - /// +/// +/// Is consignment acceptable or not +/// [JsonPropertyName("consignmentAcceptable")] public bool? ConsignmentAcceptable { get; set; } - /// - /// Filled if consignmentAcceptable is set to false - /// +/// +/// Filled if consignmentAcceptable is set to false +/// [JsonPropertyName("notAcceptableAction")] public DecisionNotAcceptableActionEnum? NotAcceptableAction { get; set; } - /// - /// Filled if not acceptable action is set to destruction - /// +/// +/// Filled if not acceptable action is set to destruction +/// [JsonPropertyName("notAcceptableActionDestructionReason")] public DecisionNotAcceptableActionDestructionReasonEnum? NotAcceptableActionDestructionReason { get; set; } - /// - /// Filled if not acceptable action is set to entry refusal - /// +/// +/// Filled if not acceptable action is set to entry refusal +/// [JsonPropertyName("notAcceptableActionEntryRefusalReason")] public DecisionNotAcceptableActionEntryRefusalReasonEnum? NotAcceptableActionEntryRefusalReason { get; set; } - /// - /// Filled if not acceptable action is set to quarantine imposed - /// +/// +/// Filled if not acceptable action is set to quarantine imposed +/// [JsonPropertyName("notAcceptableActionQuarantineImposedReason")] public DecisionNotAcceptableActionQuarantineImposedReasonEnum? NotAcceptableActionQuarantineImposedReason { get; set; } - /// - /// Filled if not acceptable action is set to special treatment - /// +/// +/// Filled if not acceptable action is set to special treatment +/// [JsonPropertyName("notAcceptableActionSpecialTreatmentReason")] public DecisionNotAcceptableActionSpecialTreatmentReasonEnum? NotAcceptableActionSpecialTreatmentReason { get; set; } - /// - /// Filled if not acceptable action is set to industrial processing - /// +/// +/// Filled if not acceptable action is set to industrial processing +/// [JsonPropertyName("notAcceptableActionIndustrialProcessingReason")] public DecisionNotAcceptableActionIndustrialProcessingReasonEnum? NotAcceptableActionIndustrialProcessingReason { get; set; } - /// - /// Filled if not acceptable action is set to re-dispatch - /// +/// +/// Filled if not acceptable action is set to re-dispatch +/// [JsonPropertyName("notAcceptableActionReDispatchReason")] public DecisionNotAcceptableActionReDispatchReasonEnum? NotAcceptableActionReDispatchReason { get; set; } - /// - /// Filled if not acceptable action is set to use for other purposes - /// +/// +/// Filled if not acceptable action is set to use for other purposes +/// [JsonPropertyName("notAcceptableActionUseForOtherPurposesReason")] public DecisionNotAcceptableActionUseForOtherPurposesReasonEnum? NotAcceptableActionUseForOtherPurposesReason { get; set; } - /// - /// Filled when notAcceptableAction is equal to destruction - /// +/// +/// Filled when notAcceptableAction is equal to destruction +/// [JsonPropertyName("notAcceptableDestructionReason")] public string? NotAcceptableDestructionReason { get; set; } - /// - /// Filled when notAcceptableAction is equal to other - /// +/// +/// Filled when notAcceptableAction is equal to other +/// [JsonPropertyName("notAcceptableActionOtherReason")] public string? NotAcceptableActionOtherReason { get; set; } - /// - /// Filled when consignmentAcceptable is set to false - /// +/// +/// Filled when consignmentAcceptable is set to false +/// [JsonPropertyName("notAcceptableActionByDate")] public DateOnly? NotAcceptableActionByDate { get; set; } - /// - /// List of details for individual chedpp not acceptable reasons - /// +/// +/// List of details for individual chedpp not acceptable reasons +/// [JsonPropertyName("chedppNotAcceptableReasons")] public ChedppNotAcceptableReason[]? ChedppNotAcceptableReasons { get; set; } - /// - /// If the consignment was not accepted what was the reason - /// +/// +/// If the consignment was not accepted what was the reason +/// [JsonPropertyName("notAcceptableReasons")] public string[]? NotAcceptableReasons { get; set; } - /// - /// 2 digits ISO code of country (not acceptable country can be empty) - /// +/// +/// 2 digits ISO code of country (not acceptable country can be empty) +/// [JsonPropertyName("notAcceptableCountry")] public string? NotAcceptableCountry { get; set; } - /// - /// Filled if consignmentAcceptable is set to false - /// +/// +/// Filled if consignmentAcceptable is set to false +/// [JsonPropertyName("notAcceptableEstablishment")] public string? NotAcceptableEstablishment { get; set; } - /// - /// Filled if consignmentAcceptable is set to false - /// +/// +/// Filled if consignmentAcceptable is set to false +/// [JsonPropertyName("notAcceptableOtherReason")] public string? NotAcceptableOtherReason { get; set; } - /// - /// Details of controlled destinations - /// +/// +/// Details of controlled destinations +/// [JsonPropertyName("detailsOfControlledDestinations")] public Party? DetailsOfControlledDestinations { get; set; } - /// - /// Filled if consignment is set to acceptable and decision type is Specific Warehouse - /// +/// +/// Filled if consignment is set to acceptable and decision type is Specific Warehouse +/// [JsonPropertyName("specificWarehouseNonConformingConsignment")] public DecisionSpecificWarehouseNonConformingConsignmentEnum? SpecificWarehouseNonConformingConsignment { get; set; } - /// - /// Deadline when consignment has to leave borders - /// +/// +/// Deadline when consignment has to leave borders +/// [JsonPropertyName("temporaryDeadline")] public string? TemporaryDeadline { get; set; } - /// - /// Detailed decision for consignment - /// +/// +/// Detailed decision for consignment +/// [JsonPropertyName("decision")] public DecisionDecisionEnum? DecisionEnum { get; set; } - /// - /// Decision over purpose of free circulation in country - /// +/// +/// Decision over purpose of free circulation in country +/// [JsonPropertyName("freeCirculationPurpose")] public DecisionFreeCirculationPurposeEnum? FreeCirculationPurpose { get; set; } - /// - /// Decision over purpose of definitive import - /// +/// +/// Decision over purpose of definitive import +/// [JsonPropertyName("definitiveImportPurpose")] public DecisionDefinitiveImportPurposeEnum? DefinitiveImportPurpose { get; set; } - /// - /// Decision channeled option based on (article8, article15) - /// +/// +/// Decision channeled option based on (article8, article15) +/// [JsonPropertyName("ifChanneledOption")] public DecisionIfChanneledOptionEnum? IfChanneledOption { get; set; } - /// - /// Custom warehouse registered number - /// +/// +/// Custom warehouse registered number +/// [JsonPropertyName("customWarehouseRegisteredNumber")] public string? CustomWarehouseRegisteredNumber { get; set; } - /// - /// Free warehouse registered number - /// +/// +/// Free warehouse registered number +/// [JsonPropertyName("freeWarehouseRegisteredNumber")] public string? FreeWarehouseRegisteredNumber { get; set; } - /// - /// Ship name - /// +/// +/// Ship name +/// [JsonPropertyName("shipName")] public string? ShipName { get; set; } - /// - /// Port of exit - /// +/// +/// Port of exit +/// [JsonPropertyName("shipPortOfExit")] public string? ShipPortOfExit { get; set; } - /// - /// Ship supplier registered number - /// +/// +/// Ship supplier registered number +/// [JsonPropertyName("shipSupplierRegisteredNumber")] public string? ShipSupplierRegisteredNumber { get; set; } - /// - /// Transhipment BIP - /// +/// +/// Transhipment BIP +/// [JsonPropertyName("transhipmentBip")] public string? TranshipmentBip { get; set; } - /// - /// Transhipment third country - /// +/// +/// Transhipment third country +/// [JsonPropertyName("transhipmentThirdCountry")] public string? TranshipmentThirdCountry { get; set; } - /// - /// Transit exit BIP - /// +/// +/// Transit exit BIP +/// [JsonPropertyName("transitExitBip")] public string? TransitExitBip { get; set; } - /// - /// Transit third country - /// +/// +/// Transit third country +/// [JsonPropertyName("transitThirdCountry")] public string? TransitThirdCountry { get; set; } - /// - /// Transit destination third country - /// +/// +/// Transit destination third country +/// [JsonPropertyName("transitDestinationThirdCountry")] public string? TransitDestinationThirdCountry { get; set; } - /// - /// Temporary exit BIP - /// +/// +/// Temporary exit BIP +/// [JsonPropertyName("temporaryExitBip")] public string? TemporaryExitBip { get; set; } - /// - /// Horse re-entry - /// +/// +/// Horse re-entry +/// [JsonPropertyName("horseReentry")] public string? HorseReentry { get; set; } - /// - /// Is it transshipped to EU or third country (values EU / country name) - /// +/// +/// Is it transshipped to EU or third country (values EU / country name) +/// [JsonPropertyName("transhipmentEuOrThirdCountry")] public string? TranshipmentEuOrThirdCountry { get; set; } diff --git a/Btms.Types.Ipaffs.V1/DetailsOnReExport.g.cs b/Btms.Types.Ipaffs.V1/DetailsOnReExport.g.cs index a37413df..7389c9f2 100644 --- a/Btms.Types.Ipaffs.V1/DetailsOnReExport.g.cs +++ b/Btms.Types.Ipaffs.V1/DetailsOnReExport.g.cs @@ -21,44 +21,44 @@ public partial class DetailsOnReExport // { - /// - /// Date of re-export - /// +/// +/// Date of re-export +/// [JsonPropertyName("date")] public DateTime? Date { get; set; } - /// - /// Number of vehicle - /// +/// +/// Number of vehicle +/// [JsonPropertyName("meansOfTransportNo")] public string? MeansOfTransportNo { get; set; } - /// - /// Type of transport to be used - /// +/// +/// Type of transport to be used +/// [JsonPropertyName("transportType")] public DetailsOnReExportTransportTypeEnum? TransportType { get; set; } - /// - /// Document issued for re-export - /// +/// +/// Document issued for re-export +/// [JsonPropertyName("document")] public string? Document { get; set; } - /// - /// Two letter ISO code for country of re-dispatching - /// +/// +/// Two letter ISO code for country of re-dispatching +/// [JsonPropertyName("countryOfReDispatching")] public string? CountryOfReDispatching { get; set; } - /// - /// Exit BIP (where consignment will leave the country) - /// +/// +/// Exit BIP (where consignment will leave the country) +/// [JsonPropertyName("exitBIP")] public string? ExitBip { get; set; } diff --git a/Btms.Types.Ipaffs.V1/EconomicOperator.g.cs b/Btms.Types.Ipaffs.V1/EconomicOperator.g.cs index c5d36921..cea1d0f0 100644 --- a/Btms.Types.Ipaffs.V1/EconomicOperator.g.cs +++ b/Btms.Types.Ipaffs.V1/EconomicOperator.g.cs @@ -21,69 +21,69 @@ public partial class EconomicOperator // { - /// - /// The unique identifier of this organisation - /// +/// +/// The unique identifier of this organisation +/// [JsonPropertyName("id")] public string? Id { get; set; } - /// - /// Type of organisation - /// +/// +/// Type of organisation +/// [JsonPropertyName("type")] public EconomicOperatorTypeEnum? Type { get; set; } - /// - /// Status of organisation - /// +/// +/// Status of organisation +/// [JsonPropertyName("status")] public EconomicOperatorStatusEnum? Status { get; set; } - /// - /// Name of organisation - /// +/// +/// Name of organisation +/// [JsonPropertyName("companyName")] [Btms.SensitiveData.SensitiveData] public string? CompanyName { get; set; } - /// - /// Individual name - /// +/// +/// Individual name +/// [JsonPropertyName("individualName")] [Btms.SensitiveData.SensitiveData] public string? IndividualName { get; set; } - /// - /// Address of economic operator - /// +/// +/// Address of economic operator +/// [JsonPropertyName("address")] public Address? Address { get; set; } - /// - /// Approval Number which identifies an Economic Operator unambiguously per type of organisation per country. - /// +/// +/// Approval Number which identifies an Economic Operator unambiguously per type of organisation per country. +/// [JsonPropertyName("approvalNumber")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? ApprovalNumber { get; set; } - /// - /// Optional Business General Number, often named Aggregation Code, which identifies an Economic Operator. - /// +/// +/// Optional Business General Number, often named Aggregation Code, which identifies an Economic Operator. +/// [JsonPropertyName("otherIdentifier")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? OtherIdentifier { get; set; } - /// - /// Traces Id of the economic operator generated by IPAFFS - /// +/// +/// Traces Id of the economic operator generated by IPAFFS +/// [JsonPropertyName("tracesId")] public int? TracesId { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ExternalReference.g.cs b/Btms.Types.Ipaffs.V1/ExternalReference.g.cs index b12fade3..db1610e2 100644 --- a/Btms.Types.Ipaffs.V1/ExternalReference.g.cs +++ b/Btms.Types.Ipaffs.V1/ExternalReference.g.cs @@ -21,37 +21,37 @@ public partial class ExternalReference // { - /// - /// Identifier of the external system to which the reference relates - /// +/// +/// Identifier of the external system to which the reference relates +/// [JsonPropertyName("system")] public ExternalReferenceSystemEnum? System { get; set; } - /// - /// Reference which is added to the notification when either sent to the downstream system or received from it - /// +/// +/// Reference which is added to the notification when either sent to the downstream system or received from it +/// [JsonPropertyName("reference")] public string? Reference { get; set; } - /// - /// Details whether there's an exact match between the external source and IPAFFS data - /// +/// +/// Details whether there's an exact match between the external source and IPAFFS data +/// [JsonPropertyName("exactMatch")] public bool? ExactMatch { get; set; } - /// - /// Details whether an importer has verified the data from an external source - /// +/// +/// Details whether an importer has verified the data from an external source +/// [JsonPropertyName("verifiedByImporter")] public bool? VerifiedByImporter { get; set; } - /// - /// Details whether an inspector has verified the data from an external source - /// +/// +/// Details whether an inspector has verified the data from an external source +/// [JsonPropertyName("verifiedByInspector")] public bool? VerifiedByInspector { get; set; } diff --git a/Btms.Types.Ipaffs.V1/FeedbackInformation.g.cs b/Btms.Types.Ipaffs.V1/FeedbackInformation.g.cs index 9db098e5..c379f1d2 100644 --- a/Btms.Types.Ipaffs.V1/FeedbackInformation.g.cs +++ b/Btms.Types.Ipaffs.V1/FeedbackInformation.g.cs @@ -21,37 +21,37 @@ public partial class FeedbackInformation // { - /// - /// Type of authority - /// +/// +/// Type of authority +/// [JsonPropertyName("authorityType")] public FeedbackInformationAuthorityTypeEnum? AuthorityType { get; set; } - /// - /// Did the consignment arrive - /// +/// +/// Did the consignment arrive +/// [JsonPropertyName("consignmentArrival")] public bool? ConsignmentArrival { get; set; } - /// - /// Does the consignment conform - /// +/// +/// Does the consignment conform +/// [JsonPropertyName("consignmentConformity")] public bool? ConsignmentConformity { get; set; } - /// - /// Reason for consignment not arriving at the entry point - /// +/// +/// Reason for consignment not arriving at the entry point +/// [JsonPropertyName("consignmentNoArrivalReason")] public string? ConsignmentNoArrivalReason { get; set; } - /// - /// Date of consignment destruction - /// +/// +/// Date of consignment destruction +/// [JsonPropertyName("destructionDate")] public string? DestructionDate { get; set; } diff --git a/Btms.Types.Ipaffs.V1/IdentificationDetails.g.cs b/Btms.Types.Ipaffs.V1/IdentificationDetails.g.cs index b421658a..a296f356 100644 --- a/Btms.Types.Ipaffs.V1/IdentificationDetails.g.cs +++ b/Btms.Types.Ipaffs.V1/IdentificationDetails.g.cs @@ -21,19 +21,19 @@ public partial class IdentificationDetails // { - /// - /// Identification detail - /// +/// +/// Identification detail +/// [JsonPropertyName("identificationDetail")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? IdentificationDetail { get; set; } - /// - /// Identification description - /// +/// +/// Identification description +/// [JsonPropertyName("identificationDescription")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? IdentificationDescription { get; set; } } diff --git a/Btms.Types.Ipaffs.V1/Identifiers.g.cs b/Btms.Types.Ipaffs.V1/Identifiers.g.cs index 770f56a2..a5fa62b1 100644 --- a/Btms.Types.Ipaffs.V1/Identifiers.g.cs +++ b/Btms.Types.Ipaffs.V1/Identifiers.g.cs @@ -21,31 +21,31 @@ public partial class Identifiers // { - /// - /// Number used to identify which item the identifiers are related to - /// +/// +/// Number used to identify which item the identifiers are related to +/// [JsonPropertyName("speciesNumber")] public int? SpeciesNumber { get; set; } - /// - /// List of identifiers and their keys - /// +/// +/// List of identifiers and their keys +/// [JsonPropertyName("data")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public IDictionary? Data { get; set; } - /// - /// Is the place of destination the permanent address? - /// +/// +/// Is the place of destination the permanent address? +/// [JsonPropertyName("isPlaceOfDestinationThePermanentAddress")] public bool? IsPlaceOfDestinationThePermanentAddress { get; set; } - /// - /// Permanent address of the species - /// +/// +/// Permanent address of the species +/// [JsonPropertyName("permanentAddress")] public EconomicOperator? PermanentAddress { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ImpactOfTransportOnAnimals.g.cs b/Btms.Types.Ipaffs.V1/ImpactOfTransportOnAnimals.g.cs index 55a068b7..0d695a35 100644 --- a/Btms.Types.Ipaffs.V1/ImpactOfTransportOnAnimals.g.cs +++ b/Btms.Types.Ipaffs.V1/ImpactOfTransportOnAnimals.g.cs @@ -21,37 +21,37 @@ public partial class ImpactOfTransportOnAnimals // { - /// - /// Number of dead animals specified by units - /// +/// +/// Number of dead animals specified by units +/// [JsonPropertyName("numberOfDeadAnimals")] public int? NumberOfDeadAnimals { get; set; } - /// - /// Unit used for specifying number of dead animals (percent or units) - /// +/// +/// Unit used for specifying number of dead animals (percent or units) +/// [JsonPropertyName("numberOfDeadAnimalsUnit")] public string? NumberOfDeadAnimalsUnit { get; set; } - /// - /// Number of unfit animals - /// +/// +/// Number of unfit animals +/// [JsonPropertyName("numberOfUnfitAnimals")] public int? NumberOfUnfitAnimals { get; set; } - /// - /// Unit used for specifying number of unfit animals (percent or units) - /// +/// +/// Unit used for specifying number of unfit animals (percent or units) +/// [JsonPropertyName("numberOfUnfitAnimalsUnit")] public string? NumberOfUnfitAnimalsUnit { get; set; } - /// - /// Number of births or abortions (unit) - /// +/// +/// Number of births or abortions (unit) +/// [JsonPropertyName("numberOfBirthOrAbortion")] public int? NumberOfBirthOrAbortion { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ImportNotification.g.cs b/Btms.Types.Ipaffs.V1/ImportNotification.g.cs index 80613bd1..b1923a89 100644 --- a/Btms.Types.Ipaffs.V1/ImportNotification.g.cs +++ b/Btms.Types.Ipaffs.V1/ImportNotification.g.cs @@ -21,222 +21,222 @@ public partial class ImportNotification //: CustomStringMongoIdentifiable { - /// - /// The IPAFFS ID number for this notification. - /// +/// +/// The IPAFFS ID number for this notification. +/// [JsonPropertyName("id")] public int? IpaffsId { get; set; } - + - /// - /// The etag for this notification. - /// +/// +/// The etag for this notification. +/// [JsonPropertyName("etag")] public string? Etag { get; set; } - /// - /// List of external references, which relate to downstream services - /// +/// +/// List of external references, which relate to downstream services +/// [JsonPropertyName("externalReferences")] public ExternalReference[]? ExternalReferences { get; set; } - /// - /// Reference number of the notification - /// +/// +/// Reference number of the notification +/// [JsonPropertyName("referenceNumber")] public string? ReferenceNumber { get; set; } - /// - /// Current version of the notification - /// +/// +/// Current version of the notification +/// [JsonPropertyName("version")] public int? Version { get; set; } - /// - /// Date when the notification was last updated. - /// +/// +/// Date when the notification was last updated. +/// [JsonPropertyName("lastUpdated")] public DateTime? LastUpdated { get; set; } - /// - /// User entity whose update was last - /// +/// +/// User entity whose update was last +/// [JsonPropertyName("lastUpdatedBy")] public UserInformation? LastUpdatedBy { get; set; } - /// - /// The Type of notification that has been submitted - /// +/// +/// The Type of notification that has been submitted +/// [JsonPropertyName("type")] public ImportNotificationTypeEnum? ImportNotificationType { get; set; } - /// - /// Reference number of notification that was replaced by this one - /// +/// +/// Reference number of notification that was replaced by this one +/// [JsonPropertyName("replaces")] public string? Replaces { get; set; } - /// - /// Reference number of notification that replaced this one - /// +/// +/// Reference number of notification that replaced this one +/// [JsonPropertyName("replacedBy")] public string? ReplacedBy { get; set; } - /// - /// Current status of the notification. When created by an importer, the notification has the status 'SUBMITTED'. Before submission of the notification it has the status 'DRAFT'. When the BIP starts validation of the notification it has the status 'IN PROGRESS' Once the BIP validates the notification, it gets the status 'VALIDATED'. 'AMEND' is set when the Part-1 user is modifying the notification. 'MODIFY' is set when Part-2 user is modifying the notification. Replaced - When the notification is replaced by another notification. Rejected - Notification moves to Rejected status when rejected by a Part-2 user. - /// +/// +/// Current status of the notification. When created by an importer, the notification has the status 'SUBMITTED'. Before submission of the notification it has the status 'DRAFT'. When the BIP starts validation of the notification it has the status 'IN PROGRESS' Once the BIP validates the notification, it gets the status 'VALIDATED'. 'AMEND' is set when the Part-1 user is modifying the notification. 'MODIFY' is set when Part-2 user is modifying the notification. Replaced - When the notification is replaced by another notification. Rejected - Notification moves to Rejected status when rejected by a Part-2 user. +/// [JsonPropertyName("status")] public ImportNotificationStatusEnum? Status { get; set; } - /// - /// Present if the consignment has been split - /// +/// +/// Present if the consignment has been split +/// [JsonPropertyName("splitConsignment")] public SplitConsignment? SplitConsignment { get; set; } - /// - /// Is this notification a child of a split consignment? - /// +/// +/// Is this notification a child of a split consignment? +/// [JsonPropertyName("childNotification")] public bool? ChildNotification { get; set; } - /// - /// Result of risk assessment by the risk scorer - /// +/// +/// Result of risk assessment by the risk scorer +/// [JsonPropertyName("riskAssessment")] public RiskAssessmentResult? RiskAssessment { get; set; } - /// - /// Details of the risk categorisation level for a notification - /// +/// +/// Details of the risk categorisation level for a notification +/// [JsonPropertyName("journeyRiskCategorisation")] public JourneyRiskCategorisationResult? JourneyRiskCategorisation { get; set; } - /// - /// Is this notification a high risk notification from the EU/EEA? - /// +/// +/// Is this notification a high risk notification from the EU/EEA? +/// [JsonPropertyName("isHighRiskEuImport")] public bool? IsHighRiskEuImport { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("partOne")] public PartOne? PartOne { get; set; } - /// - /// Information about the user who set the decision in Part 2 - /// +/// +/// Information about the user who set the decision in Part 2 +/// [JsonPropertyName("decisionBy")] public UserInformation? DecisionBy { get; set; } - /// - /// Date when the notification was validated or rejected - /// +/// +/// Date when the notification was validated or rejected +/// [JsonPropertyName("decisionDate")] public string? DecisionDate { get; set; } - /// - /// Part of the notification which contains information filled by inspector at BIP/DPE - /// +/// +/// Part of the notification which contains information filled by inspector at BIP/DPE +/// [JsonPropertyName("partTwo")] public PartTwo? PartTwo { get; set; } - /// - /// Part of the notification which contains information filled by LVU if control of consignment is needed. - /// +/// +/// Part of the notification which contains information filled by LVU if control of consignment is needed. +/// [JsonPropertyName("partThree")] public PartThree? PartThree { get; set; } - /// - /// Official veterinarian - /// +/// +/// Official veterinarian +/// [JsonPropertyName("officialVeterinarian")] public string? OfficialVeterinarian { get; set; } - /// - /// Validation messages for whole notification - /// +/// +/// Validation messages for whole notification +/// [JsonPropertyName("consignmentValidation")] public ValidationMessageCode[]? ConsignmentValidations { get; set; } - /// - /// Organisation id which the agent user belongs to, stored against each notification which has been raised on behalf of another organisation - /// +/// +/// Organisation id which the agent user belongs to, stored against each notification which has been raised on behalf of another organisation +/// [JsonPropertyName("agencyOrganisationId")] public string? AgencyOrganisationId { get; set; } - /// - /// Date and Time when risk decision was locked - /// +/// +/// Date and Time when risk decision was locked +/// [JsonPropertyName("riskDecisionLockingTime")] public DateTime? RiskDecisionLockedOn { get; set; } - /// - /// is the risk decision locked? - /// +/// +/// is the risk decision locked? +/// [JsonPropertyName("isRiskDecisionLocked")] public bool? IsRiskDecisionLocked { get; set; } - /// - /// Boolean flag that indicates whether a bulk upload is in progress - /// +/// +/// Boolean flag that indicates whether a bulk upload is in progress +/// [JsonPropertyName("isBulkUploadInProgress")] public bool? IsBulkUploadInProgress { get; set; } - /// - /// Request UUID to trace bulk upload - /// +/// +/// Request UUID to trace bulk upload +/// [JsonPropertyName("requestId")] public string? RequestId { get; set; } - /// - /// Have all commodities been matched with corresponding CDS declaration(s) - /// +/// +/// Have all commodities been matched with corresponding CDS declaration(s) +/// [JsonPropertyName("isCdsFullMatched")] public bool? IsCdsFullMatched { get; set; } - /// - /// The version of the ched type the notification was created with - /// +/// +/// The version of the ched type the notification was created with +/// [JsonPropertyName("chedTypeVersion")] public int? ChedTypeVersion { get; set; } - /// - /// Indicates whether a CHED has been matched with a GVMS GMR via DMP - /// +/// +/// Indicates whether a CHED has been matched with a GVMS GMR via DMP +/// [JsonPropertyName("isGMRMatched")] public bool? IsGMRMatched { get; set; } -} + } diff --git a/Btms.Types.Ipaffs.V1/InspectionCheck.g.cs b/Btms.Types.Ipaffs.V1/InspectionCheck.g.cs index 57b494a2..bd187ebe 100644 --- a/Btms.Types.Ipaffs.V1/InspectionCheck.g.cs +++ b/Btms.Types.Ipaffs.V1/InspectionCheck.g.cs @@ -21,44 +21,44 @@ public partial class InspectionCheck // { - /// - /// Type of check - /// +/// +/// Type of check +/// [JsonPropertyName("type")] public InspectionCheckTypeEnum? Type { get; set; } - /// - /// Status of the check - /// +/// +/// Status of the check +/// [JsonPropertyName("status")] public InspectionCheckStatusEnum? Status { get; set; } - /// - /// Reason for the status if applicable - /// +/// +/// Reason for the status if applicable +/// [JsonPropertyName("reason")] public string? Reason { get; set; } - /// - /// Other reason text when selected reason is 'Other' - /// +/// +/// Other reason text when selected reason is 'Other' +/// [JsonPropertyName("otherReason")] public string? OtherReason { get; set; } - /// - /// Has commodity been selected for checks? - /// +/// +/// Has commodity been selected for checks? +/// [JsonPropertyName("isSelectedForChecks")] public bool? IsSelectedForChecks { get; set; } - /// - /// Has commodity completed this type of check - /// +/// +/// Has commodity completed this type of check +/// [JsonPropertyName("hasChecksComplete")] public bool? HasChecksComplete { get; set; } diff --git a/Btms.Types.Ipaffs.V1/InspectionOverride.g.cs b/Btms.Types.Ipaffs.V1/InspectionOverride.g.cs index fcafa661..9bb6e5f5 100644 --- a/Btms.Types.Ipaffs.V1/InspectionOverride.g.cs +++ b/Btms.Types.Ipaffs.V1/InspectionOverride.g.cs @@ -21,23 +21,23 @@ public partial class InspectionOverride // { - /// - /// Original inspection decision - /// +/// +/// Original inspection decision +/// [JsonPropertyName("originalDecision")] public string? OriginalDecision { get; set; } - /// - /// The time the risk decision is overridden - /// +/// +/// The time the risk decision is overridden +/// [JsonPropertyName("overriddenOn")] public DateTime? OverriddenOn { get; set; } - /// - /// User entity who has manually overridden the inspection - /// +/// +/// User entity who has manually overridden the inspection +/// [JsonPropertyName("overriddenBy")] public UserInformation? OverriddenBy { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Inspector.g.cs b/Btms.Types.Ipaffs.V1/Inspector.g.cs index ee7d36ae..c9312c4c 100644 --- a/Btms.Types.Ipaffs.V1/Inspector.g.cs +++ b/Btms.Types.Ipaffs.V1/Inspector.g.cs @@ -21,27 +21,27 @@ public partial class Inspector // { - /// - /// Name of inspector - /// +/// +/// Name of inspector +/// [JsonPropertyName("name")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Name { get; set; } - /// - /// Phone number of inspector - /// +/// +/// Phone number of inspector +/// [JsonPropertyName("phone")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Phone { get; set; } - /// - /// Email address of inspector - /// +/// +/// Email address of inspector +/// [JsonPropertyName("email")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Email { get; set; } } diff --git a/Btms.Types.Ipaffs.V1/InternationalTelephone.g.cs b/Btms.Types.Ipaffs.V1/InternationalTelephone.g.cs index dd6704da..f05031c3 100644 --- a/Btms.Types.Ipaffs.V1/InternationalTelephone.g.cs +++ b/Btms.Types.Ipaffs.V1/InternationalTelephone.g.cs @@ -21,16 +21,16 @@ public partial class InternationalTelephone // { - /// - /// Country code of phone number - /// +/// +/// Country code of phone number +/// [JsonPropertyName("countryCode")] public string? CountryCode { get; set; } - /// - /// Phone number - /// +/// +/// Phone number +/// [JsonPropertyName("subscriberNumber")] public string? SubscriberNumber { get; set; } diff --git a/Btms.Types.Ipaffs.V1/JourneyRiskCategorisationResult.g.cs b/Btms.Types.Ipaffs.V1/JourneyRiskCategorisationResult.g.cs index cb06cb6e..babcd944 100644 --- a/Btms.Types.Ipaffs.V1/JourneyRiskCategorisationResult.g.cs +++ b/Btms.Types.Ipaffs.V1/JourneyRiskCategorisationResult.g.cs @@ -21,23 +21,23 @@ public partial class JourneyRiskCategorisationResult // { - /// - /// Risk Level is defined using enum values High,Medium,Low - /// +/// +/// Risk Level is defined using enum values High,Medium,Low +/// [JsonPropertyName("riskLevel")] public JourneyRiskCategorisationResultRiskLevelEnum? RiskLevel { get; set; } - /// - /// Indicator of whether the risk level was determined by the system or by the user - /// +/// +/// Indicator of whether the risk level was determined by the system or by the user +/// [JsonPropertyName("riskLevelMethod")] public JourneyRiskCategorisationResultRiskLevelMethodEnum? RiskLevelMethod { get; set; } - /// - /// The date and time the risk level has been set for a notification - /// +/// +/// The date and time the risk level has been set for a notification +/// [JsonPropertyName("riskLevelDateTime")] public DateTime? RiskLevelSetFor { get; set; } diff --git a/Btms.Types.Ipaffs.V1/KeyDataPair.g.cs b/Btms.Types.Ipaffs.V1/KeyDataPair.g.cs index e21448f5..dd474f74 100644 --- a/Btms.Types.Ipaffs.V1/KeyDataPair.g.cs +++ b/Btms.Types.Ipaffs.V1/KeyDataPair.g.cs @@ -21,16 +21,16 @@ public partial class KeyDataPair // { - /// - /// - /// +/// +/// +/// [JsonPropertyName("key")] public string? Key { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("data")] public string? Data { get; set; } diff --git a/Btms.Types.Ipaffs.V1/LaboratoryTestResult.g.cs b/Btms.Types.Ipaffs.V1/LaboratoryTestResult.g.cs index f02a539f..4435c645 100644 --- a/Btms.Types.Ipaffs.V1/LaboratoryTestResult.g.cs +++ b/Btms.Types.Ipaffs.V1/LaboratoryTestResult.g.cs @@ -21,46 +21,46 @@ public partial class LaboratoryTestResult // { - /// - /// When sample was used - /// +/// +/// When sample was used +/// [JsonPropertyName("sampleUseByDate")] public string? SampleUseByDate { get; set; } - /// - /// When it was released - /// +/// +/// When it was released +/// [JsonPropertyName("releasedDate")] public DateTime? ReleasedDate { get; set; } - /// - /// Laboratory test method - /// +/// +/// Laboratory test method +/// [JsonPropertyName("laboratoryTestMethod")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? LaboratoryTestMethod { get; set; } - /// - /// Result of test - /// +/// +/// Result of test +/// [JsonPropertyName("results")] - [SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Results { get; set; } - /// - /// Conclusion of laboratory test - /// +/// +/// Conclusion of laboratory test +/// [JsonPropertyName("conclusion")] public LaboratoryTestResultConclusionEnum? Conclusion { get; set; } - /// - /// Date of lab test created in IPAFFS - /// +/// +/// Date of lab test created in IPAFFS +/// [JsonPropertyName("labTestCreatedDate")] public DateTime? LabTestCreatedDate { get; set; } diff --git a/Btms.Types.Ipaffs.V1/LaboratoryTests.g.cs b/Btms.Types.Ipaffs.V1/LaboratoryTests.g.cs index 66d5f928..088c437f 100644 --- a/Btms.Types.Ipaffs.V1/LaboratoryTests.g.cs +++ b/Btms.Types.Ipaffs.V1/LaboratoryTests.g.cs @@ -21,23 +21,23 @@ public partial class LaboratoryTests // { - /// - /// Date of tests - /// +/// +/// Date of tests +/// [JsonPropertyName("testDate")] public DateTime? TestDate { get; set; } - /// - /// Reason for test - /// +/// +/// Reason for test +/// [JsonPropertyName("testReason")] public LaboratoryTestsTestReasonEnum? TestReason { get; set; } - /// - /// List of details of individual tests performed or to be performed - /// +/// +/// List of details of individual tests performed or to be performed +/// [JsonPropertyName("singleLaboratoryTests")] public SingleLaboratoryTest[]? SingleLaboratoryTests { get; set; } diff --git a/Btms.Types.Ipaffs.V1/MeansOfTransport.g.cs b/Btms.Types.Ipaffs.V1/MeansOfTransport.g.cs index 56f309da..488b5665 100644 --- a/Btms.Types.Ipaffs.V1/MeansOfTransport.g.cs +++ b/Btms.Types.Ipaffs.V1/MeansOfTransport.g.cs @@ -21,26 +21,26 @@ public partial class MeansOfTransport // { - /// - /// Type of transport - /// +/// +/// Type of transport +/// [JsonPropertyName("type")] public MeansOfTransportTypeEnum? Type { get; set; } - /// - /// Document for transport - /// +/// +/// Document for transport +/// [JsonPropertyName("document")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Document { get; set; } - /// - /// ID of transport - /// +/// +/// ID of transport +/// [JsonPropertyName("id")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? Id { get; set; } } diff --git a/Btms.Types.Ipaffs.V1/NominatedContact.g.cs b/Btms.Types.Ipaffs.V1/NominatedContact.g.cs index c20c3a39..e8316058 100644 --- a/Btms.Types.Ipaffs.V1/NominatedContact.g.cs +++ b/Btms.Types.Ipaffs.V1/NominatedContact.g.cs @@ -21,25 +21,25 @@ public partial class NominatedContact // { - /// - /// Name of nominated contact - /// +/// +/// Name of nominated contact +/// [JsonPropertyName("name")] [Btms.SensitiveData.SensitiveData] public string? Name { get; set; } - /// - /// Email address of nominated contact - /// +/// +/// Email address of nominated contact +/// [JsonPropertyName("email")] [Btms.SensitiveData.SensitiveData] public string? Email { get; set; } - /// - /// Telephone number of nominated contact - /// +/// +/// Telephone number of nominated contact +/// [JsonPropertyName("telephone")] [Btms.SensitiveData.SensitiveData] public string? Telephone { get; set; } diff --git a/Btms.Types.Ipaffs.V1/OfficialInspector.g.cs b/Btms.Types.Ipaffs.V1/OfficialInspector.g.cs index 910b49c8..441b7e5c 100644 --- a/Btms.Types.Ipaffs.V1/OfficialInspector.g.cs +++ b/Btms.Types.Ipaffs.V1/OfficialInspector.g.cs @@ -21,56 +21,56 @@ public partial class OfficialInspector // { - /// - /// First name of inspector - /// +/// +/// First name of inspector +/// [JsonPropertyName("firstName")] [Btms.SensitiveData.SensitiveData] public string? FirstName { get; set; } - /// - /// Last name of inspector - /// +/// +/// Last name of inspector +/// [JsonPropertyName("lastName")] [Btms.SensitiveData.SensitiveData] public string? LastName { get; set; } - /// - /// Email of inspector - /// +/// +/// Email of inspector +/// [JsonPropertyName("email")] [Btms.SensitiveData.SensitiveData] public string? Email { get; set; } - /// - /// Phone number of inspector - /// +/// +/// Phone number of inspector +/// [JsonPropertyName("phone")] [Btms.SensitiveData.SensitiveData] public string? Phone { get; set; } - /// - /// Fax number of inspector - /// +/// +/// Fax number of inspector +/// [JsonPropertyName("fax")] [Btms.SensitiveData.SensitiveData] public string? Fax { get; set; } - /// - /// Address of inspector - /// +/// +/// Address of inspector +/// [JsonPropertyName("address")] public Address? Address { get; set; } - /// - /// Date of sign - /// +/// +/// Date of sign +/// [JsonPropertyName("signed")] public string? Signed { get; set; } diff --git a/Btms.Types.Ipaffs.V1/OfficialVeterinarian.g.cs b/Btms.Types.Ipaffs.V1/OfficialVeterinarian.g.cs index 396813b3..80f27415 100644 --- a/Btms.Types.Ipaffs.V1/OfficialVeterinarian.g.cs +++ b/Btms.Types.Ipaffs.V1/OfficialVeterinarian.g.cs @@ -21,49 +21,49 @@ public partial class OfficialVeterinarian // { - /// - /// First name of official veterinarian - /// +/// +/// First name of official veterinarian +/// [JsonPropertyName("firstName")] [Btms.SensitiveData.SensitiveData] public string? FirstName { get; set; } - /// - /// Last name of official veterinarian - /// +/// +/// Last name of official veterinarian +/// [JsonPropertyName("lastName")] [Btms.SensitiveData.SensitiveData] public string? LastName { get; set; } - /// - /// Email address of official veterinarian - /// +/// +/// Email address of official veterinarian +/// [JsonPropertyName("email")] [Btms.SensitiveData.SensitiveData] public string? Email { get; set; } - /// - /// Phone number of official veterinarian - /// +/// +/// Phone number of official veterinarian +/// [JsonPropertyName("phone")] [Btms.SensitiveData.SensitiveData] public string? Phone { get; set; } - /// - /// Fax number of official veterinarian - /// +/// +/// Fax number of official veterinarian +/// [JsonPropertyName("fax")] [Btms.SensitiveData.SensitiveData] public string? Fax { get; set; } - /// - /// Date of sign - /// +/// +/// Date of sign +/// [JsonPropertyName("signed")] public string? Signed { get; set; } diff --git a/Btms.Types.Ipaffs.V1/PartOne.g.cs b/Btms.Types.Ipaffs.V1/PartOne.g.cs index a32ee17b..2c935a89 100644 --- a/Btms.Types.Ipaffs.V1/PartOne.g.cs +++ b/Btms.Types.Ipaffs.V1/PartOne.g.cs @@ -21,367 +21,367 @@ public partial class PartOne // { - /// - /// Used to indicate what type of EU Import the notification is - Live Animals, Product Of Animal Origin or High Risk Food Not Of Animal Origin - /// +/// +/// Used to indicate what type of EU Import the notification is - Live Animals, Product Of Animal Origin or High Risk Food Not Of Animal Origin +/// [JsonPropertyName("typeOfImp")] public PartOneTypeOfImpEnum? TypeOfImp { get; set; } - /// - /// The individual who has submitted the notification - /// +/// +/// The individual who has submitted the notification +/// [JsonPropertyName("personResponsible")] public Party? PersonResponsible { get; set; } - /// - /// Customs reference number - /// +/// +/// Customs reference number +/// [JsonPropertyName("customsReferenceNumber")] public string? CustomsReferenceNumber { get; set; } - /// - /// (Deprecated in IMTA-11832) Does the consignment contain wood packaging? - /// +/// +/// (Deprecated in IMTA-11832) Does the consignment contain wood packaging? +/// [JsonPropertyName("containsWoodPackaging")] public bool? ContainsWoodPackaging { get; set; } - /// - /// Has the consignment arrived at the BCP? - /// +/// +/// Has the consignment arrived at the BCP? +/// [JsonPropertyName("consignmentArrived")] public bool? ConsignmentArrived { get; set; } - /// - /// Person or Company that sends shipment - /// +/// +/// Person or Company that sends shipment +/// [JsonPropertyName("consignor")] public EconomicOperator? Consignor { get; set; } - /// - /// Person or Company that sends shipment - /// +/// +/// Person or Company that sends shipment +/// [JsonPropertyName("consignorTwo")] public EconomicOperator? ConsignorTwo { get; set; } - /// - /// Person or Company that packs the shipment - /// +/// +/// Person or Company that packs the shipment +/// [JsonPropertyName("packer")] public EconomicOperator? Packer { get; set; } - /// - /// Person or Company that receives shipment - /// +/// +/// Person or Company that receives shipment +/// [JsonPropertyName("consignee")] public EconomicOperator? Consignee { get; set; } - /// - /// Person or Company that is importing the consignment - /// +/// +/// Person or Company that is importing the consignment +/// [JsonPropertyName("importer")] public EconomicOperator? Importer { get; set; } - /// - /// Where the shipment is to be sent? For IMP minimum 48 hour accommodation/holding location. - /// +/// +/// Where the shipment is to be sent? For IMP minimum 48 hour accommodation/holding location. +/// [JsonPropertyName("placeOfDestination")] public EconomicOperator? PlaceOfDestination { get; set; } - /// - /// A temporary place of destination for plants - /// +/// +/// A temporary place of destination for plants +/// [JsonPropertyName("pod")] public EconomicOperator? Pod { get; set; } - /// - /// Place in which the animals or products originate - /// +/// +/// Place in which the animals or products originate +/// [JsonPropertyName("placeOfOriginHarvest")] public EconomicOperator? PlaceOfOriginHarvest { get; set; } - /// - /// List of additional permanent addresses - /// +/// +/// List of additional permanent addresses +/// [JsonPropertyName("additionalPermanentAddresses")] public EconomicOperator[]? AdditionalPermanentAddresses { get; set; } - /// - /// Charity Parish Holding number - /// +/// +/// Charity Parish Holding number +/// [JsonPropertyName("cphNumber")] public string? CphNumber { get; set; } - /// - /// Is the importer importing from a charity? - /// +/// +/// Is the importer importing from a charity? +/// [JsonPropertyName("importingFromCharity")] public bool? ImportingFromCharity { get; set; } - /// - /// Is the place of destination the permanent address? - /// +/// +/// Is the place of destination the permanent address? +/// [JsonPropertyName("isPlaceOfDestinationThePermanentAddress")] public bool? IsPlaceOfDestinationThePermanentAddress { get; set; } - /// - /// Is this catch certificate required? - /// +/// +/// Is this catch certificate required? +/// [JsonPropertyName("isCatchCertificateRequired")] public bool? IsCatchCertificateRequired { get; set; } - /// - /// Is GVMS route? - /// +/// +/// Is GVMS route? +/// [JsonPropertyName("isGVMSRoute")] public bool? IsGvmsRoute { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("commodities")] public Commodities? Commodities { get; set; } - /// - /// Purpose of consignment details - /// +/// +/// Purpose of consignment details +/// [JsonPropertyName("purpose")] public Purpose? Purpose { get; set; } - /// - /// Either a Border-Inspection-Post or Designated-Point-Of-Entry, e.g. GBFXT1 - /// +/// +/// Either a Border-Inspection-Post or Designated-Point-Of-Entry, e.g. GBFXT1 +/// [JsonPropertyName("pointOfEntry")] public string? PointOfEntry { get; set; } - /// - /// A control point at the point of entry - /// +/// +/// A control point at the point of entry +/// [JsonPropertyName("pointOfEntryControlPoint")] public string? PointOfEntryControlPoint { get; set; } - /// - /// Date when consignment arrives - /// +/// +/// Date when consignment arrives +/// [JsonPropertyName("arrivalDate")] public DateOnly? ArrivalDate { get; set; } - /// - /// Time (HH:MM) when consignment arrives - /// +/// +/// Time (HH:MM) when consignment arrives +/// [JsonPropertyName("arrivalTime")] public TimeOnly? ArrivalTime { get; set; } - /// - /// How consignment is transported after BIP - /// +/// +/// How consignment is transported after BIP +/// [JsonPropertyName("meansOfTransport")] public MeansOfTransport? MeansOfTransport { get; set; } - /// - /// Transporter of consignment details - /// +/// +/// Transporter of consignment details +/// [JsonPropertyName("transporter")] public EconomicOperator? Transporter { get; set; } - /// - /// Are transporter details required for this consignment - /// +/// +/// Are transporter details required for this consignment +/// [JsonPropertyName("transporterDetailsRequired")] public bool? TransporterDetailsRequired { get; set; } - /// - /// Transport to BIP - /// +/// +/// Transport to BIP +/// [JsonPropertyName("meansOfTransportFromEntryPoint")] public MeansOfTransport? MeansOfTransportFromEntryPoint { get; set; } - /// - /// Date of consignment departure - /// +/// +/// Date of consignment departure +/// [JsonPropertyName("departureDate")] public DateOnly? DepartureDate { get; set; } - /// - /// Time (HH:MM) of consignment departure - /// +/// +/// Time (HH:MM) of consignment departure +/// [JsonPropertyName("departureTime")] public TimeOnly? DepartureTime { get; set; } - /// - /// Estimated journey time in minutes to point of entry - /// +/// +/// Estimated journey time in minutes to point of entry +/// [JsonPropertyName("estimatedJourneyTimeInMinutes")] public double? EstimatedJourneyTimeInMinutes { get; set; } - /// - /// (Deprecated in IMTA-12139) Person who is responsible for transport - /// +/// +/// (Deprecated in IMTA-12139) Person who is responsible for transport +/// [JsonPropertyName("responsibleForTransport")] public string? ResponsibleForTransport { get; set; } - /// - /// Part 1 - Holds the information related to veterinary checks and details - /// +/// +/// Part 1 - Holds the information related to veterinary checks and details +/// [JsonPropertyName("veterinaryInformation")] public VeterinaryInformation? VeterinaryInformation { get; set; } - /// - /// Reference number added by the importer - /// +/// +/// Reference number added by the importer +/// [JsonPropertyName("importerLocalReferenceNumber")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? ImporterLocalReferenceNumber { get; set; } - /// - /// Contains countries and transfer points that consignment is going through - /// +/// +/// Contains countries and transfer points that consignment is going through +/// [JsonPropertyName("route")] public Route? Route { get; set; } - /// - /// Array that contains pair of seal number and container number - /// +/// +/// Array that contains pair of seal number and container number +/// [JsonPropertyName("sealsContainers")] public SealContainer[]? SealsContainers { get; set; } - /// - /// Date and time when the notification was submitted - /// +/// +/// Date and time when the notification was submitted +/// [JsonPropertyName("submissionDate")] public DateTime? SubmittedOn { get; set; } - /// - /// Information about user who submitted notification - /// +/// +/// Information about user who submitted notification +/// [JsonPropertyName("submittedBy")] public UserInformation? SubmittedBy { get; set; } - /// - /// Validation messages for whole notification - /// +/// +/// Validation messages for whole notification +/// [JsonPropertyName("consignmentValidation")] public ValidationMessageCode[]? ConsignmentValidations { get; set; } - /// - /// Was complex commodity selected. Indicating if importer provided commodity code. - /// +/// +/// Was complex commodity selected. Indicating if importer provided commodity code. +/// [JsonPropertyName("complexCommoditySelected")] public bool? ComplexCommoditySelected { get; set; } - /// - /// Entry port for EU Import notification. - /// +/// +/// Entry port for EU Import notification. +/// [JsonPropertyName("portOfEntry")] public string? PortOfEntry { get; set; } - /// - /// Exit Port for EU Import Notification. - /// +/// +/// Exit Port for EU Import Notification. +/// [JsonPropertyName("portOfExit")] public string? PortOfExit { get; set; } - /// - /// Date of Port Exit for EU Import Notification. - /// +/// +/// Date of Port Exit for EU Import Notification. +/// [JsonPropertyName("portOfExitDate")] public DateTime? PortOfExitDate { get; set; } - /// - /// Person to be contacted if there is an issue with the consignment - /// +/// +/// Person to be contacted if there is an issue with the consignment +/// [JsonPropertyName("contactDetails")] public ContactDetails? ContactDetails { get; set; } - /// - /// List of nominated contacts to receive text and email notifications - /// +/// +/// List of nominated contacts to receive text and email notifications +/// [JsonPropertyName("nominatedContacts")] public NominatedContact[]? NominatedContacts { get; set; } - /// - /// Original estimated date time of arrival - /// +/// +/// Original estimated date time of arrival +/// [JsonPropertyName("originalEstimatedDateTime")] public DateTime? OriginalEstimatedOn { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("billingInformation")] public BillingInformation? BillingInformation { get; set; } - /// - /// Indicates whether CUC applies to the notification - /// +/// +/// Indicates whether CUC applies to the notification +/// [JsonPropertyName("isChargeable")] public bool? IsChargeable { get; set; } - /// - /// Indicates whether CUC previously applied to the notification - /// +/// +/// Indicates whether CUC previously applied to the notification +/// [JsonPropertyName("wasChargeable")] public bool? WasChargeable { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("commonUserCharge")] public CommonUserCharge? CommonUserCharge { get; set; } - /// - /// When the NCTS MRN will be added for the Common Transit Convention (CTC) - /// +/// +/// When the NCTS MRN will be added for the Common Transit Convention (CTC) +/// [JsonPropertyName("provideCtcMrn")] public PartOneProvideCtcMrnEnum? ProvideCtcMrn { get; set; } diff --git a/Btms.Types.Ipaffs.V1/PartThree.g.cs b/Btms.Types.Ipaffs.V1/PartThree.g.cs index 51e63431..1826bb68 100644 --- a/Btms.Types.Ipaffs.V1/PartThree.g.cs +++ b/Btms.Types.Ipaffs.V1/PartThree.g.cs @@ -21,44 +21,44 @@ public partial class PartThree // { - /// - /// Control status enum - /// +/// +/// Control status enum +/// [JsonPropertyName("controlStatus")] public PartThreeControlStatusEnum? ControlStatus { get; set; } - /// - /// Control details - /// +/// +/// Control details +/// [JsonPropertyName("control")] public Control? Control { get; set; } - /// - /// Validation messages for Part 3 - Control - /// +/// +/// Validation messages for Part 3 - Control +/// [JsonPropertyName("consignmentValidation")] public ValidationMessageCode[]? ConsignmentValidations { get; set; } - /// - /// Is the seal check required - /// +/// +/// Is the seal check required +/// [JsonPropertyName("sealCheckRequired")] public bool? SealCheckRequired { get; set; } - /// - /// Seal check details - /// +/// +/// Seal check details +/// [JsonPropertyName("sealCheck")] public SealCheck? SealCheck { get; set; } - /// - /// Seal check override details - /// +/// +/// Seal check override details +/// [JsonPropertyName("sealCheckOverride")] public InspectionOverride? SealCheckOverride { get; set; } diff --git a/Btms.Types.Ipaffs.V1/PartTwo.g.cs b/Btms.Types.Ipaffs.V1/PartTwo.g.cs index 56a9e134..84f08eb5 100644 --- a/Btms.Types.Ipaffs.V1/PartTwo.g.cs +++ b/Btms.Types.Ipaffs.V1/PartTwo.g.cs @@ -21,157 +21,157 @@ public partial class PartTwo // { - /// - /// Decision on the consignment - /// +/// +/// Decision on the consignment +/// [JsonPropertyName("decision")] public Decision? Decision { get; set; } - /// - /// Consignment check - /// +/// +/// Consignment check +/// [JsonPropertyName("consignmentCheck")] public ConsignmentCheck? ConsignmentCheck { get; set; } - /// - /// Checks of impact of transport on animals - /// +/// +/// Checks of impact of transport on animals +/// [JsonPropertyName("impactOfTransportOnAnimals")] public ImpactOfTransportOnAnimals? ImpactOfTransportOnAnimals { get; set; } - /// - /// Are laboratory tests required - /// +/// +/// Are laboratory tests required +/// [JsonPropertyName("laboratoryTestsRequired")] public bool? LaboratoryTestsRequired { get; set; } - /// - /// Laboratory tests information details - /// +/// +/// Laboratory tests information details +/// [JsonPropertyName("laboratoryTests")] public LaboratoryTests? LaboratoryTests { get; set; } - /// - /// Are the containers resealed - /// +/// +/// Are the containers resealed +/// [JsonPropertyName("resealedContainersIncluded")] public bool? ResealedContainersIncluded { get; set; } - /// - /// (Deprecated - To be removed as part of IMTA-6256) Resealed containers information details - /// +/// +/// (Deprecated - To be removed as part of IMTA-6256) Resealed containers information details +/// [JsonPropertyName("resealedContainers")] public string[]? ResealedContainers { get; set; } - /// - /// Resealed containers information details - /// +/// +/// Resealed containers information details +/// [JsonPropertyName("resealedContainersMapping")] public SealContainer[]? ResealedContainersMappings { get; set; } - /// - /// Control Authority information details - /// +/// +/// Control Authority information details +/// [JsonPropertyName("controlAuthority")] public ControlAuthority? ControlAuthority { get; set; } - /// - /// Controlled destination - /// +/// +/// Controlled destination +/// [JsonPropertyName("controlledDestination")] public EconomicOperator? ControlledDestination { get; set; } - /// - /// Local reference number at BIP - /// +/// +/// Local reference number at BIP +/// [JsonPropertyName("bipLocalReferenceNumber")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? BipLocalReferenceNumber { get; set; } - /// - /// Part 2 - Sometimes other user can sign decision on behalf of another user - /// +/// +/// Part 2 - Sometimes other user can sign decision on behalf of another user +/// [JsonPropertyName("signedOnBehalfOf")] public string? SignedOnBehalfOf { get; set; } - /// - /// Onward transportation - /// +/// +/// Onward transportation +/// [JsonPropertyName("onwardTransportation")] public string? OnwardTransportation { get; set; } - /// - /// Validation messages for Part 2 - Decision - /// +/// +/// Validation messages for Part 2 - Decision +/// [JsonPropertyName("consignmentValidation")] public ValidationMessageCode[]? ConsignmentValidations { get; set; } - /// - /// User entered date when the checks were completed - /// +/// +/// User entered date when the checks were completed +/// [JsonPropertyName("checkDate")] public DateTime? CheckDate { get; set; } - /// - /// Accompanying documents - /// +/// +/// Accompanying documents +/// [JsonPropertyName("accompanyingDocuments")] public AccompanyingDocument[]? AccompanyingDocuments { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("commodityChecks")] public CommodityChecks[]? CommodityChecks { get; set; } - /// - /// Have the PHSI regulated commodities been auto cleared? - /// +/// +/// Have the PHSI regulated commodities been auto cleared? +/// [JsonPropertyName("phsiAutoCleared")] public bool? PhsiAutoCleared { get; set; } - /// - /// Have the HMI regulated commodities been auto cleared? - /// +/// +/// Have the HMI regulated commodities been auto cleared? +/// [JsonPropertyName("hmiAutoCleared")] public bool? HmiAutoCleared { get; set; } - /// - /// Inspection required - /// +/// +/// Inspection required +/// [JsonPropertyName("inspectionRequired")] public InspectionRequiredEnum? InspectionRequired { get; set; } - /// - /// Details about the manual inspection override - /// +/// +/// Details about the manual inspection override +/// [JsonPropertyName("inspectionOverride")] public InspectionOverride? InspectionOverride { get; set; } - /// - /// Date of autoclearance - /// +/// +/// Date of autoclearance +/// [JsonPropertyName("autoClearedDateTime")] public DateTime? AutoClearedDateTime { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Party.g.cs b/Btms.Types.Ipaffs.V1/Party.g.cs index b1b2b97b..24e56255 100644 --- a/Btms.Types.Ipaffs.V1/Party.g.cs +++ b/Btms.Types.Ipaffs.V1/Party.g.cs @@ -21,121 +21,121 @@ public partial class Party // { - /// - /// IPAFFS ID of party - /// +/// +/// IPAFFS ID of party +/// [JsonPropertyName("id")] public string? Id { get; set; } - /// - /// Name of party - /// +/// +/// Name of party +/// [JsonPropertyName("name")] [Btms.SensitiveData.SensitiveData] public string? Name { get; set; } - /// - /// Company ID - /// +/// +/// Company ID +/// [JsonPropertyName("companyId")] public string? CompanyId { get; set; } - /// - /// Contact ID (B2C) - /// +/// +/// Contact ID (B2C) +/// [JsonPropertyName("contactId")] public string? ContactId { get; set; } - /// - /// Company name - /// +/// +/// Company name +/// [JsonPropertyName("companyName")] [Btms.SensitiveData.SensitiveData] public string? CompanyName { get; set; } - /// - /// Addresses - /// +/// +/// Addresses +/// [JsonPropertyName("address")] [Btms.SensitiveData.SensitiveData] public string[]? Addresses { get; set; } - /// - /// County - /// +/// +/// County +/// [JsonPropertyName("county")] public string? County { get; set; } - /// - /// Post code of party - /// +/// +/// Post code of party +/// [JsonPropertyName("postCode")] [Btms.SensitiveData.SensitiveData] public string? PostCode { get; set; } - /// - /// Country of party - /// +/// +/// Country of party +/// [JsonPropertyName("country")] public string? Country { get; set; } - /// - /// City - /// +/// +/// City +/// [JsonPropertyName("city")] [Btms.SensitiveData.SensitiveData] public string? City { get; set; } - /// - /// TRACES ID - /// +/// +/// TRACES ID +/// [JsonPropertyName("tracesID")] public int? TracesId { get; set; } - /// - /// Type of party - /// +/// +/// Type of party +/// [JsonPropertyName("type")] public PartyTypeEnum? Type { get; set; } - /// - /// Approval number - /// +/// +/// Approval number +/// [JsonPropertyName("approvalNumber")] public string? ApprovalNumber { get; set; } - /// - /// Phone number of party - /// +/// +/// Phone number of party +/// [JsonPropertyName("phone")] [Btms.SensitiveData.SensitiveData] public string? Phone { get; set; } - /// - /// Fax number of party - /// +/// +/// Fax number of party +/// [JsonPropertyName("fax")] [Btms.SensitiveData.SensitiveData] public string? Fax { get; set; } - /// - /// Email number of party - /// +/// +/// Email number of party +/// [JsonPropertyName("email")] [Btms.SensitiveData.SensitiveData] public string? Email { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Phsi.g.cs b/Btms.Types.Ipaffs.V1/Phsi.g.cs index 0a030625..120fb18b 100644 --- a/Btms.Types.Ipaffs.V1/Phsi.g.cs +++ b/Btms.Types.Ipaffs.V1/Phsi.g.cs @@ -21,23 +21,23 @@ public partial class Phsi // { - /// - /// Whether or not a documentary check is required for PHSI - /// +/// +/// Whether or not a documentary check is required for PHSI +/// [JsonPropertyName("documentCheck")] public bool? DocumentCheck { get; set; } - /// - /// Whether or not an identity check is required for PHSI - /// +/// +/// Whether or not an identity check is required for PHSI +/// [JsonPropertyName("identityCheck")] public bool? IdentityCheck { get; set; } - /// - /// Whether or not a physical check is required for PHSI - /// +/// +/// Whether or not a physical check is required for PHSI +/// [JsonPropertyName("physicalCheck")] public bool? PhysicalCheck { get; set; } diff --git a/Btms.Types.Ipaffs.V1/PostalAddress.g.cs b/Btms.Types.Ipaffs.V1/PostalAddress.g.cs index 7af1aebd..f23f4f7c 100644 --- a/Btms.Types.Ipaffs.V1/PostalAddress.g.cs +++ b/Btms.Types.Ipaffs.V1/PostalAddress.g.cs @@ -21,57 +21,57 @@ public partial class PostalAddress // { - /// - /// 1st line of address - /// +/// +/// 1st line of address +/// [JsonPropertyName("addressLine1")] [Btms.SensitiveData.SensitiveData] public string? AddressLine1 { get; set; } - /// - /// 2nd line of address - /// +/// +/// 2nd line of address +/// [JsonPropertyName("addressLine2")] [Btms.SensitiveData.SensitiveData] public string? AddressLine2 { get; set; } - /// - /// 3rd line of address - /// +/// +/// 3rd line of address +/// [JsonPropertyName("addressLine3")] [Btms.SensitiveData.SensitiveData] public string? AddressLine3 { get; set; } - /// - /// 4th line of address - /// +/// +/// 4th line of address +/// [JsonPropertyName("addressLine4")] [Btms.SensitiveData.SensitiveData] public string? AddressLine4 { get; set; } - /// - /// 3rd line of address - /// +/// +/// 3rd line of address +/// [JsonPropertyName("county")] [Btms.SensitiveData.SensitiveData] public string? County { get; set; } - /// - /// City or town name - /// +/// +/// City or town name +/// [JsonPropertyName("cityOrTown")] [Btms.SensitiveData.SensitiveData] public string? CityOrTown { get; set; } - /// - /// Post code - /// +/// +/// Post code +/// [JsonPropertyName("postalCode")] [Btms.SensitiveData.SensitiveData] public string? PostalCode { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Purpose.g.cs b/Btms.Types.Ipaffs.V1/Purpose.g.cs index b2d5eaee..24418039 100644 --- a/Btms.Types.Ipaffs.V1/Purpose.g.cs +++ b/Btms.Types.Ipaffs.V1/Purpose.g.cs @@ -21,114 +21,114 @@ public partial class Purpose // { - /// - /// Does consignment conforms to UK laws - /// +/// +/// Does consignment conforms to UK laws +/// [JsonPropertyName("conformsToEU")] public bool? ConformsToEU { get; set; } - /// - /// Detailed purpose of internal market purpose group - /// +/// +/// Detailed purpose of internal market purpose group +/// [JsonPropertyName("internalMarketPurpose")] public PurposeInternalMarketPurposeEnum? InternalMarketPurpose { get; set; } - /// - /// Country that consignment is transshipped through - /// +/// +/// Country that consignment is transshipped through +/// [JsonPropertyName("thirdCountryTranshipment")] public string? ThirdCountryTranshipment { get; set; } - /// - /// Detailed purpose for non conforming purpose group - /// +/// +/// Detailed purpose for non conforming purpose group +/// [JsonPropertyName("forNonConforming")] public PurposeForNonConformingEnum? ForNonConforming { get; set; } - /// - /// There are 3 types of registration number based on the purpose of consignment. Customs registration number, Free zone registration number and Shipping supplier registration number. - /// +/// +/// There are 3 types of registration number based on the purpose of consignment. Customs registration number, Free zone registration number and Shipping supplier registration number. +/// [JsonPropertyName("regNumber")] public string? RegNumber { get; set; } - /// - /// Ship name - /// +/// +/// Ship name +/// [JsonPropertyName("shipName")] public string? ShipName { get; set; } - /// - /// Destination Ship port - /// +/// +/// Destination Ship port +/// [JsonPropertyName("shipPort")] public string? ShipPort { get; set; } - /// - /// Exit Border Inspection Post - /// +/// +/// Exit Border Inspection Post +/// [JsonPropertyName("exitBIP")] public string? ExitBip { get; set; } - /// - /// Country to which consignment is transited - /// +/// +/// Country to which consignment is transited +/// [JsonPropertyName("thirdCountry")] public string? ThirdCountry { get; set; } - /// - /// Countries that consignment is transited through - /// +/// +/// Countries that consignment is transited through +/// [JsonPropertyName("transitThirdCountries")] public string[]? TransitThirdCountries { get; set; } - /// - /// Specification of Import or admission purpose - /// +/// +/// Specification of Import or admission purpose +/// [JsonPropertyName("forImportOrAdmission")] public PurposeForImportOrAdmissionEnum? ForImportOrAdmission { get; set; } - /// - /// Exit date when import or admission - /// +/// +/// Exit date when import or admission +/// [JsonPropertyName("exitDate")] public DateOnly? ExitDate { get; set; } - /// - /// Final Border Inspection Post - /// +/// +/// Final Border Inspection Post +/// [JsonPropertyName("finalBIP")] public string? FinalBip { get; set; } - /// - /// Purpose group of consignment (general purpose) - /// +/// +/// Purpose group of consignment (general purpose) +/// [JsonPropertyName("purposeGroup")] public PurposePurposeGroupEnum? PurposeGroup { get; set; } - /// - /// Estimated date at port of exit - /// +/// +/// Estimated date at port of exit +/// [JsonPropertyName("estimatedArrivalDateAtPortOfExit")] public DateOnly? EstimatedArrivalDateAtPortOfExit { get; set; } - /// - /// Estimated time at port of exit - /// +/// +/// Estimated time at port of exit +/// [JsonPropertyName("estimatedArrivalTimeAtPortOfExit")] public TimeOnly? EstimatedArrivalTimeAtPortOfExit { get; set; } diff --git a/Btms.Types.Ipaffs.V1/PurposePurposeGroupEnum.g.cs b/Btms.Types.Ipaffs.V1/PurposePurposeGroupEnum.g.cs index 1ad3a211..07d3e073 100644 --- a/Btms.Types.Ipaffs.V1/PurposePurposeGroupEnum.g.cs +++ b/Btms.Types.Ipaffs.V1/PurposePurposeGroupEnum.g.cs @@ -33,12 +33,7 @@ public enum PurposePurposeGroupEnum [EnumMember(Value = "For Import Re-Conformity Check")] ForImportReConformityCheck, - - [EnumMember(Value = "For Import Non-Internal Market")] - ForImportNonInternalMarket, - - - + } diff --git a/Btms.Types.Ipaffs.V1/RiskAssessmentResult.g.cs b/Btms.Types.Ipaffs.V1/RiskAssessmentResult.g.cs index 630dfeb5..4c23e625 100644 --- a/Btms.Types.Ipaffs.V1/RiskAssessmentResult.g.cs +++ b/Btms.Types.Ipaffs.V1/RiskAssessmentResult.g.cs @@ -21,16 +21,16 @@ public partial class RiskAssessmentResult // { - /// - /// List of risk assessed commodities - /// +/// +/// List of risk assessed commodities +/// [JsonPropertyName("commodityResults")] public CommodityRiskResult[]? CommodityResults { get; set; } - /// - /// Date and time of assessment - /// +/// +/// Date and time of assessment +/// [JsonPropertyName("assessmentDateTime")] public DateTime? AssessmentDateTime { get; set; } diff --git a/Btms.Types.Ipaffs.V1/Route.g.cs b/Btms.Types.Ipaffs.V1/Route.g.cs index 0a6dedfa..24e552ac 100644 --- a/Btms.Types.Ipaffs.V1/Route.g.cs +++ b/Btms.Types.Ipaffs.V1/Route.g.cs @@ -21,9 +21,9 @@ public partial class Route // { - /// - /// - /// +/// +/// +/// [JsonPropertyName("transitingStates")] public string[]? TransitingStates { get; set; } diff --git a/Btms.Types.Ipaffs.V1/SealCheck.g.cs b/Btms.Types.Ipaffs.V1/SealCheck.g.cs index 42c177ed..e3e8e174 100644 --- a/Btms.Types.Ipaffs.V1/SealCheck.g.cs +++ b/Btms.Types.Ipaffs.V1/SealCheck.g.cs @@ -21,30 +21,30 @@ public partial class SealCheck // { - /// - /// Is seal check satisfactory - /// +/// +/// Is seal check satisfactory +/// [JsonPropertyName("satisfactory")] public bool? Satisfactory { get; set; } - /// - /// reason for not satisfactory - /// +/// +/// reason for not satisfactory +/// [JsonPropertyName("reason")] public string? Reason { get; set; } - /// - /// Official inspector - /// +/// +/// Official inspector +/// [JsonPropertyName("officialInspector")] public OfficialInspector? OfficialInspector { get; set; } - /// - /// date and time of seal check - /// +/// +/// date and time of seal check +/// [JsonPropertyName("dateTimeOfCheck")] public DateTime? DateTimeOfCheck { get; set; } diff --git a/Btms.Types.Ipaffs.V1/SealContainer.g.cs b/Btms.Types.Ipaffs.V1/SealContainer.g.cs index 8b38e29d..c8699ee4 100644 --- a/Btms.Types.Ipaffs.V1/SealContainer.g.cs +++ b/Btms.Types.Ipaffs.V1/SealContainer.g.cs @@ -21,34 +21,34 @@ public partial class SealContainer // { - /// - /// - /// +/// +/// +/// [JsonPropertyName("sealNumber")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? SealNumber { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("containerNumber")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? ContainerNumber { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("officialSeal")] public bool? OfficialSeal { get; set; } - /// - /// - /// +/// +/// +/// [JsonPropertyName("resealedSealNumber")] - [Btms.SensitiveData.SensitiveData] + [Btms.SensitiveData.SensitiveData] public string? ResealedSealNumber { get; set; } } diff --git a/Btms.Types.Ipaffs.V1/SingleLaboratoryTest.g.cs b/Btms.Types.Ipaffs.V1/SingleLaboratoryTest.g.cs index 51ad7ed1..b1cba9f4 100644 --- a/Btms.Types.Ipaffs.V1/SingleLaboratoryTest.g.cs +++ b/Btms.Types.Ipaffs.V1/SingleLaboratoryTest.g.cs @@ -21,44 +21,44 @@ public partial class SingleLaboratoryTest // { - /// - /// Commodity code for which lab test was ordered - /// +/// +/// Commodity code for which lab test was ordered +/// [JsonPropertyName("commodityCode")] public string? CommodityCode { get; set; } - /// - /// Species id of commodity for which lab test was ordered - /// +/// +/// Species id of commodity for which lab test was ordered +/// [JsonPropertyName("speciesID")] public int? SpeciesId { get; set; } - /// - /// TRACES ID - /// +/// +/// TRACES ID +/// [JsonPropertyName("tracesID")] public int? TracesId { get; set; } - /// - /// Test name - /// +/// +/// Test name +/// [JsonPropertyName("testName")] public string? TestName { get; set; } - /// - /// Laboratory tests information details and information about laboratory - /// +/// +/// Laboratory tests information details and information about laboratory +/// [JsonPropertyName("applicant")] public Applicant? Applicant { get; set; } - /// - /// Information about results of test - /// +/// +/// Information about results of test +/// [JsonPropertyName("laboratoryTestResult")] public LaboratoryTestResult? LaboratoryTestResult { get; set; } diff --git a/Btms.Types.Ipaffs.V1/SplitConsignment.g.cs b/Btms.Types.Ipaffs.V1/SplitConsignment.g.cs index baf4a8e0..7b27bf42 100644 --- a/Btms.Types.Ipaffs.V1/SplitConsignment.g.cs +++ b/Btms.Types.Ipaffs.V1/SplitConsignment.g.cs @@ -21,16 +21,16 @@ public partial class SplitConsignment // { - /// - /// Reference number of the valid split consignment - /// +/// +/// Reference number of the valid split consignment +/// [JsonPropertyName("validReferenceNumber")] public string? ValidReferenceNumber { get; set; } - /// - /// Reference number of the rejected split consignment - /// +/// +/// Reference number of the rejected split consignment +/// [JsonPropertyName("rejectedReferenceNumber")] public string? RejectedReferenceNumber { get; set; } diff --git a/Btms.Types.Ipaffs.V1/UserInformation.g.cs b/Btms.Types.Ipaffs.V1/UserInformation.g.cs index 31d10b8a..c86ebd26 100644 --- a/Btms.Types.Ipaffs.V1/UserInformation.g.cs +++ b/Btms.Types.Ipaffs.V1/UserInformation.g.cs @@ -21,24 +21,24 @@ public partial class UserInformation // { - /// - /// Display name - /// +/// +/// Display name +/// [JsonPropertyName("displayName")] [Btms.SensitiveData.SensitiveData] public string? DisplayName { get; set; } - /// - /// User ID - /// +/// +/// User ID +/// [JsonPropertyName("userId")] public string? UserId { get; set; } - /// - /// Is this user a control - /// +/// +/// Is this user a control +/// [JsonPropertyName("isControlUser")] public bool? IsControlUser { get; set; } diff --git a/Btms.Types.Ipaffs.V1/ValidationMessageCode.g.cs b/Btms.Types.Ipaffs.V1/ValidationMessageCode.g.cs index 4fe28ad0..26171f3a 100644 --- a/Btms.Types.Ipaffs.V1/ValidationMessageCode.g.cs +++ b/Btms.Types.Ipaffs.V1/ValidationMessageCode.g.cs @@ -21,16 +21,16 @@ public partial class ValidationMessageCode // { - /// - /// Field - /// +/// +/// Field +/// [JsonPropertyName("field")] public string? Field { get; set; } - /// - /// Code - /// +/// +/// Code +/// [JsonPropertyName("code")] public string? Code { get; set; } diff --git a/Btms.Types.Ipaffs.V1/VeterinaryInformation.g.cs b/Btms.Types.Ipaffs.V1/VeterinaryInformation.g.cs index 59a9bd07..b6c7c7c9 100644 --- a/Btms.Types.Ipaffs.V1/VeterinaryInformation.g.cs +++ b/Btms.Types.Ipaffs.V1/VeterinaryInformation.g.cs @@ -21,58 +21,58 @@ public partial class VeterinaryInformation // { - /// - /// External reference of approved establishments, which relates to a downstream service - /// +/// +/// External reference of approved establishments, which relates to a downstream service +/// [JsonPropertyName("establishmentsOfOriginExternalReference")] public ExternalReference? EstablishmentsOfOriginExternalReference { get; set; } - /// - /// List of establishments which were approved by UK to issue veterinary documents - /// +/// +/// List of establishments which were approved by UK to issue veterinary documents +/// [JsonPropertyName("establishmentsOfOrigin")] public ApprovedEstablishment[]? EstablishmentsOfOrigins { get; set; } - /// - /// Veterinary document identification - /// +/// +/// Veterinary document identification +/// [JsonPropertyName("veterinaryDocument")] public string? VeterinaryDocument { get; set; } - /// - /// Veterinary document issue date - /// +/// +/// Veterinary document issue date +/// [JsonPropertyName("veterinaryDocumentIssueDate")] public DateOnly? VeterinaryDocumentIssueDate { get; set; } - /// - /// Additional documents - /// +/// +/// Additional documents +/// [JsonPropertyName("accompanyingDocumentNumbers")] public string[]? AccompanyingDocumentNumbers { get; set; } - /// - /// Accompanying documents - /// +/// +/// Accompanying documents +/// [JsonPropertyName("accompanyingDocuments")] public AccompanyingDocument[]? AccompanyingDocuments { get; set; } - /// - /// Catch certificate attachments - /// +/// +/// Catch certificate attachments +/// [JsonPropertyName("catchCertificateAttachments")] public CatchCertificateAttachment[]? CatchCertificateAttachments { get; set; } - /// - /// Details helpful for identification - /// +/// +/// Details helpful for identification +/// [JsonPropertyName("identificationDetails")] public IdentificationDetails[]? IdentificationDetails { get; set; }