trinsic_api 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/docs/AadhaarLanguage.md +1 -1
- data/docs/AgeOverOutput.md +2 -2
- data/docs/AlaskaMobileIdProviderOutput.md +20 -0
- data/docs/AppleWalletDigitalIdBirthDate.md +20 -0
- data/docs/AppleWalletDigitalIdCredential.md +54 -0
- data/docs/AppleWalletProviderOutput.md +3 -1
- data/docs/AttachmentInfo.md +3 -1
- data/docs/AudkenniProviderOutput.md +3 -3
- data/docs/AustriaHandySignaturProviderOutput.md +2 -2
- data/docs/AustriaValeraEudiSandboxInput.md +18 -0
- data/docs/AustriaValeraEudiSandboxProviderOutput.md +22 -0
- data/docs/BelgiumIdCardProviderOutput.md +4 -4
- data/docs/BoliviaCiProviderOutput.md +4 -4
- data/docs/BrazilBiometricVerificationOutput.md +24 -0
- data/docs/BrazilCnhFacialBiometryOutput.md +24 -0
- data/docs/BrazilCnhMatchFieldDateOnly.md +20 -0
- data/docs/BrazilCnhMatchFieldString.md +20 -0
- data/docs/BrazilCnhProviderOutput.md +48 -0
- data/docs/BrazilCpfCheckInput.md +2 -0
- data/docs/BrazilCpfProviderOutput.md +38 -0
- data/docs/ClearProviderOutput.md +56 -0
- data/docs/ClearProviderOutputAddress.md +28 -0
- data/docs/ClearProviderOutputCheck.md +28 -0
- data/docs/ClearProviderOutputCheckAdditionalDetails.md +18 -0
- data/docs/ClearProviderOutputDocument.md +42 -0
- data/docs/ClearProviderOutputHealthInsurance.md +32 -0
- data/docs/ClearProviderOutputHistoricalAddress.md +36 -0
- data/docs/ClearProviderOutputHistoricalData.md +20 -0
- data/docs/ClearProviderOutputHistoricalName.md +28 -0
- data/docs/ClearProviderOutputLocationInfo.md +30 -0
- data/docs/ClearProviderOutputPartialDate.md +22 -0
- data/docs/ClearProviderOutputSessionInfo.md +28 -0
- data/docs/ClearProviderOutputTraits.md +50 -0
- data/docs/ClearProviderOutputVerifiedEmail.md +22 -0
- data/docs/ClearProviderOutputWatchlistHit.md +24 -0
- data/docs/ClearProviderOutputWatchlistHitDetails.md +48 -0
- data/docs/ClearProviderOutputWatchlistHits.md +20 -0
- data/docs/ClearProviderOutputWatchlistSource.md +22 -0
- data/docs/ColombiaCcProviderOutput.md +10 -10
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +6 -6
- data/docs/CreateDirectProviderSessionRequest.md +1 -1
- data/docs/CreateHostedProviderSessionRequest.md +1 -1
- data/docs/CreateHostedProviderSessionResponse.md +1 -1
- data/docs/CzechBankIdAddress.md +36 -0
- data/docs/CzechBankIdCard.md +30 -0
- data/docs/CzechBankIdProviderOutput.md +78 -0
- data/docs/CzechBankIdTitle.md +20 -0
- data/docs/CzechBankIdVerification.md +22 -0
- data/docs/CzechiaMojeIdProviderOutput.md +4 -4
- data/docs/DenmarkAltIdInput.md +18 -0
- data/docs/DenmarkAltIdProviderOutput.md +22 -0
- data/docs/DigilockerAadhaarProviderOutput.md +1 -1
- data/docs/DiiaIssuerOutput.md +28 -0
- data/docs/DiiaProviderOutput.md +20 -0
- data/docs/DiiaSubjectOutput.md +26 -0
- data/docs/ElSalvadorDuiProviderOutput.md +3 -3
- data/docs/EstoniaIdCardProviderOutput.md +4 -4
- data/docs/EudiAgeVerificationCredential.md +1 -5
- data/docs/EudiReferenceWalletProviderOutput.md +20 -0
- data/docs/EvrotrustAddressComponents.md +48 -0
- data/docs/EvrotrustInput.md +20 -0
- data/docs/EvrotrustProviderOutput.md +78 -0
- data/docs/FinlandIdCardProviderOutput.md +4 -4
- data/docs/FranceIdentiteProviderOutput.md +1 -1
- data/docs/FrejaIndirectProviderOutput.md +4 -4
- data/docs/FrenchNumeriqueProviderOutput.md +10 -4
- data/docs/{FrenchNumeriqueGivenName.md → FrenchNumeriqueSplittedGivenName.md} +2 -4
- data/docs/{FrenchNumeriquePhone.md → FrenchNumeriqueSplittedPhone.md} +2 -4
- data/docs/GermanyEudiSandboxInput.md +18 -0
- data/docs/GermanyEudiSandboxProviderOutput.md +20 -0
- data/docs/GetAttachmentResponse.md +1 -1
- data/docs/GetSessionResultResponse.md +2 -2
- data/docs/GoogleWalletProviderOutput.md +1 -1
- data/docs/GuatemalaCuiLookupInput.md +3 -1
- data/docs/GuatemalaCuiProviderOutput.md +9 -9
- data/docs/IdemiaMobileIdProviderOutput.md +64 -0
- data/docs/IdentityData.md +1 -1
- data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +20 -0
- data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +20 -0
- data/docs/IndiaDigilockerAadhaarMatchProviderOutput.md +20 -0
- data/docs/IndiaPanStructuredNumber.md +5 -5
- data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +20 -0
- data/docs/IndonesiaDukcapilMatchFullNameField.md +20 -0
- data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +20 -0
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +38 -0
- data/docs/IndonesiaNikMatch.md +34 -0
- data/docs/IndonesiaNikMatchField.md +20 -0
- data/docs/InteracAddress.md +26 -0
- data/docs/InteracProviderOutput.md +34 -0
- data/docs/Iso180132BiometricDataBlockProduct.md +2 -2
- data/docs/Iso180132BiometricGroupTemplate.md +1 -1
- data/docs/Iso180132BiometricTemplate.md +3 -3
- data/docs/Iso180132BiometricTemplateHeader.md +3 -3
- data/docs/Iso180132BiometricValidityPeriod.md +2 -2
- data/docs/Iso180135AamvaDomesticVehicleClass.md +2 -2
- data/docs/Iso180135AamvaDomesticVehicleEndorsement.md +1 -1
- data/docs/Iso180135AamvaDomesticVehicleRestriction.md +1 -1
- data/docs/Iso180135AamvaWeightRange.md +1 -1
- data/docs/Iso180135DrivingPrivilege.md +1 -1
- data/docs/Iso180135DrivingPrivilegeCode.md +1 -1
- data/docs/ItsmeAddress.md +28 -0
- data/docs/ItsmeAddressBase.md +22 -0
- data/docs/ItsmeBelgianIdentityCard.md +26 -0
- data/docs/ItsmeBelgianNationalNumber.md +22 -0
- data/docs/ItsmeDirectDevice.md +40 -0
- data/docs/ItsmeIdentityDocument.md +26 -0
- data/docs/ItsmeLoginProviderOutput.md +44 -0
- data/docs/ItsmePlaceOfBirth.md +20 -0
- data/docs/ItsmeProviderAddress.md +26 -0
- data/docs/ItsmeProviderOutput.md +40 -10
- data/docs/KenyaNidLookup2ProviderOutput.md +6 -6
- data/docs/KenyaNidLookup3Input.md +18 -0
- data/docs/KenyaNidLookup3ProviderOutput.md +32 -0
- data/docs/KenyaNidMatch2DateOfBirthField.md +20 -0
- data/docs/KenyaNidMatch2FullNameField.md +20 -0
- data/docs/KenyaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/KenyaNidMatch2ProviderOutput.md +24 -0
- data/docs/KenyaNidMatch2SexField.md +20 -0
- data/docs/KoreaTelcoMatchProviderOutput.md +3 -3
- data/docs/LaWalletProviderOutput.md +17 -17
- data/docs/LatviaEparakstsMobileProviderOutput.md +3 -3
- data/docs/LatviaEparakstsProviderOutput.md +3 -3
- data/docs/LithuaniaIdCardProviderOutput.md +4 -4
- data/docs/LloydsSmartIdProviderOutput.md +2 -2
- data/docs/MdlOutput.md +4 -4
- data/docs/MdlOutputCertificateData.md +7 -5
- data/docs/MdlOutputFieldData.md +2 -2
- data/docs/MexicoCurpProviderOutput.md +23 -1
- data/docs/MockOutputProviderInput.md +18 -0
- data/docs/MoldovaDriverLicenseCredential.md +42 -0
- data/docs/MoldovaEvoWalletInput.md +18 -0
- data/docs/MoldovaEvoWalletProviderOutput.md +26 -0
- data/docs/MoldovaIdentityCardCredential.md +60 -0
- data/docs/MoldovaVehicleRegistrationCertificateCredential.md +70 -0
- data/docs/NetherlandsEudiSandboxInput.md +18 -0
- data/docs/NetherlandsEudiSandboxProviderOutput.md +20 -0
- data/docs/NetherlandsIdinAddress.md +16 -6
- data/docs/NetherlandsIdinProviderOutput.md +8 -8
- data/docs/NigeriaNinLookup2Input.md +1 -1
- data/docs/NigeriaNinLookup2ProviderOutput.md +6 -6
- data/docs/NigeriaNinLookup3Input.md +18 -0
- data/docs/NigeriaNinLookup3ProviderOutput.md +50 -0
- data/docs/NigeriaNinMatch2DateOfBirthField.md +20 -0
- data/docs/NigeriaNinMatch2FullNameField.md +20 -0
- data/docs/NigeriaNinMatch2Input.md +1 -1
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +20 -0
- data/docs/NigeriaNinMatch2PhoneNumberField.md +20 -0
- data/docs/NigeriaNinMatch2ProviderOutput.md +26 -0
- data/docs/NigeriaNinMatch2SexField.md +20 -0
- data/docs/PanamaCedulaLookupInput.md +1 -3
- data/docs/PanamaCedulaProviderOutput.md +5 -7
- data/docs/PeruDniAddress.md +3 -3
- data/docs/PeruDniProviderOutput.md +8 -8
- data/docs/PhilippinesDigitalNidProviderOutput.md +1 -1
- data/docs/PhilippinesPhilsysMatchProviderOutput.md +26 -0
- data/docs/PhilippinesPhysicalNidProviderOutput.md +1 -1
- data/docs/PolandEdoAppProviderOutput.md +4 -4
- data/docs/PolandMobywatelMatchInput.md +3 -3
- data/docs/PolandMobywatelMatchProviderOutput.md +2 -2
- data/docs/PolandMojeIdProviderOutput.md +3 -3
- data/docs/PortugalIdCardProviderOutput.md +4 -4
- data/docs/PostOfficeEasyIdProviderOutput.md +2 -2
- data/docs/Provider.md +0 -4
- data/docs/ProviderInput.md +18 -6
- data/docs/ProviderOutput.md +62 -4
- data/docs/SamsungIdWithClearCredential.md +44 -0
- data/docs/SamsungWalletInput.md +1 -1
- data/docs/SamsungWalletProviderOutput.md +3 -1
- data/docs/SerbiaIdCardProviderOutput.md +4 -4
- data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +2 -2
- data/docs/SouthAfricaNidLookup2Input.md +1 -1
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +36 -0
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +20 -0
- data/docs/SouthAfricaNidMatch2FullNameField.md +20 -0
- data/docs/SouthAfricaNidMatch2Input.md +2 -4
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +26 -0
- data/docs/SouthAfricaNidMatch2SexField.md +20 -0
- data/docs/SpidBillingInformation.md +3 -3
- data/docs/SpidProviderOutput.md +2 -2
- data/docs/SubProviderMetadata.md +4 -2
- data/docs/UAEPassProviderOutput.md +62 -0
- data/docs/UgandaNidMatch2DateOfBirthField.md +20 -0
- data/docs/UgandaNidMatch2Input.md +1 -1
- data/docs/UgandaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/UgandaNidMatch2ProviderOutput.md +22 -0
- data/docs/UgandaNidMatch2SecondaryIdNumberField.md +20 -0
- data/docs/YotiDeeplinkProviderOutput.md +2 -2
- data/docs/YotiProviderOutput.md +2 -2
- data/docs/ZimbabweNidLookup2Input.md +1 -1
- data/docs/ZimbabweNidLookup2ProviderOutput.md +34 -0
- data/lib/trinsic_api/configuration.rb +4 -0
- data/lib/trinsic_api/models/aadhaar_language.rb +1 -17
- data/lib/trinsic_api/models/age_over_output.rb +2 -34
- data/lib/trinsic_api/models/alaska_mobile_id_provider_output.rb +161 -0
- data/lib/trinsic_api/models/{south_africa_nid_biometric2_input.rb → apple_wallet_digital_id_birth_date.rb} +21 -33
- data/lib/trinsic_api/models/apple_wallet_digital_id_credential.rb +350 -0
- data/lib/trinsic_api/models/apple_wallet_provider_output.rb +13 -18
- data/lib/trinsic_api/models/attachment_info.rb +15 -4
- data/lib/trinsic_api/models/audkenni_provider_output.rb +3 -51
- data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +2 -34
- data/lib/trinsic_api/models/austria_valera_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/austria_valera_eudi_sandbox_provider_output.rb +172 -0
- data/lib/trinsic_api/models/belgium_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/bolivia_ci_provider_output.rb +4 -68
- data/lib/trinsic_api/models/brazil_biometric_verification_output.rb +182 -0
- data/lib/trinsic_api/models/brazil_cnh_facial_biometry_output.rb +182 -0
- data/lib/trinsic_api/models/brazil_cnh_match_field_date_only.rb +176 -0
- data/lib/trinsic_api/models/brazil_cnh_match_field_string.rb +160 -0
- data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +315 -0
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +12 -1
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +262 -0
- data/lib/trinsic_api/models/clear_provider_output.rb +375 -0
- data/lib/trinsic_api/models/clear_provider_output_address.rb +204 -0
- data/lib/trinsic_api/models/clear_provider_output_check.rb +206 -0
- data/lib/trinsic_api/models/clear_provider_output_check_additional_details.rb +149 -0
- data/lib/trinsic_api/models/clear_provider_output_document.rb +281 -0
- data/lib/trinsic_api/models/clear_provider_output_health_insurance.rb +226 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_address.rb +255 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_data.rb +164 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_name.rb +204 -0
- data/lib/trinsic_api/models/clear_provider_output_location_info.rb +215 -0
- data/lib/trinsic_api/models/clear_provider_output_partial_date.rb +171 -0
- data/lib/trinsic_api/models/clear_provider_output_session_info.rb +204 -0
- data/lib/trinsic_api/models/clear_provider_output_traits.rb +325 -0
- data/lib/trinsic_api/models/clear_provider_output_verified_email.rb +171 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hit.rb +186 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hit_details.rb +346 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hits.rb +162 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_source.rb +171 -0
- data/lib/trinsic_api/models/colombia_cc_provider_output.rb +10 -170
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/models/create_direct_provider_session_request.rb +1 -1
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +1 -1
- data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +1 -1
- data/lib/trinsic_api/models/czech_bank_id_address.rb +248 -0
- data/lib/trinsic_api/models/czech_bank_id_card.rb +215 -0
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +488 -0
- data/lib/trinsic_api/models/czech_bank_id_title.rb +160 -0
- data/lib/trinsic_api/models/czech_bank_id_verification.rb +171 -0
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +4 -68
- data/lib/trinsic_api/models/denmark_alt_id_input.rb +149 -0
- data/lib/trinsic_api/models/denmark_alt_id_provider_output.rb +172 -0
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +1 -17
- data/lib/trinsic_api/models/diia_issuer_output.rb +204 -0
- data/lib/trinsic_api/models/diia_provider_output.rb +161 -0
- data/lib/trinsic_api/models/diia_subject_output.rb +193 -0
- data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +3 -51
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/eudi_age_verification_credential.rb +6 -28
- data/lib/trinsic_api/models/eudi_reference_wallet_provider_output.rb +161 -0
- data/lib/trinsic_api/models/evrotrust_address_components.rb +314 -0
- data/lib/trinsic_api/models/evrotrust_input.rb +160 -0
- data/lib/trinsic_api/models/evrotrust_provider_output.rb +484 -0
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/france_identite_provider_output.rb +1 -17
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +4 -68
- data/lib/trinsic_api/models/french_numerique_provider_output.rb +38 -5
- data/lib/trinsic_api/models/{french_numerique_given_name.rb → french_numerique_splitted_given_name.rb} +5 -16
- data/lib/trinsic_api/models/{french_numerique_phone.rb → french_numerique_splitted_phone.rb} +5 -16
- data/lib/trinsic_api/models/germany_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/germany_eudi_sandbox_provider_output.rb +161 -0
- data/lib/trinsic_api/models/get_attachment_response.rb +1 -1
- data/lib/trinsic_api/models/get_session_result_response.rb +2 -0
- data/lib/trinsic_api/models/google_wallet_id_pass_credential.rb +1 -1
- data/lib/trinsic_api/models/google_wallet_provider_output.rb +1 -17
- data/lib/trinsic_api/models/guatemala_cui_lookup_input.rb +16 -5
- data/lib/trinsic_api/models/guatemala_cui_provider_output.rb +9 -153
- data/lib/trinsic_api/models/idemia_mobile_id_provider_output.rb +403 -0
- data/lib/trinsic_api/models/identity_data.rb +17 -1
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_provider_output.rb +161 -0
- data/lib/trinsic_api/models/india_pan_structured_number.rb +5 -85
- data/lib/trinsic_api/models/indonesia_dukcapil_match_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +260 -0
- data/lib/trinsic_api/models/indonesia_nik_match.rb +238 -0
- data/lib/trinsic_api/models/indonesia_nik_match_field.rb +160 -0
- data/lib/trinsic_api/models/interac_address.rb +193 -0
- data/lib/trinsic_api/models/interac_provider_output.rb +237 -0
- data/lib/trinsic_api/models/iso180132_biometric_data_block_product.rb +2 -34
- data/lib/trinsic_api/models/iso180132_biometric_group_template.rb +1 -17
- data/lib/trinsic_api/models/iso180132_biometric_template.rb +3 -51
- data/lib/trinsic_api/models/iso180132_biometric_template_header.rb +3 -51
- data/lib/trinsic_api/models/iso180132_biometric_validity_period.rb +2 -34
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_class.rb +2 -34
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement.rb +1 -17
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction.rb +1 -17
- data/lib/trinsic_api/models/iso180135_aamva_weight_range.rb +1 -17
- data/lib/trinsic_api/models/iso180135_driving_privilege.rb +2 -18
- data/lib/trinsic_api/models/iso180135_driving_privilege_code.rb +1 -17
- data/lib/trinsic_api/models/itsme_address.rb +204 -0
- data/lib/trinsic_api/models/itsme_address_base.rb +171 -0
- data/lib/trinsic_api/models/itsme_belgian_identity_card.rb +193 -0
- data/lib/trinsic_api/models/itsme_belgian_national_number.rb +171 -0
- data/lib/trinsic_api/models/itsme_direct_device.rb +270 -0
- data/lib/trinsic_api/models/itsme_identity_document.rb +193 -0
- data/lib/trinsic_api/models/itsme_login_provider_output.rb +293 -0
- data/lib/trinsic_api/models/itsme_place_of_birth.rb +160 -0
- data/lib/trinsic_api/models/itsme_provider_address.rb +200 -0
- data/lib/trinsic_api/models/itsme_provider_output.rb +202 -85
- data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/models/kenya_nid_lookup3_input.rb +194 -0
- data/lib/trinsic_api/models/kenya_nid_lookup3_provider_output.rb +227 -0
- data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/{kenya_nid_biometric2_input.rb → kenya_nid_match2_national_id_number_field.rb} +20 -33
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +183 -0
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +160 -0
- data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +6 -54
- data/lib/trinsic_api/models/la_wallet_provider_output.rb +17 -289
- data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +3 -51
- data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +3 -51
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +8 -8
- data/lib/trinsic_api/models/mdl_output.rb +7 -71
- data/lib/trinsic_api/models/mdl_output_certificate_data.rb +18 -87
- data/lib/trinsic_api/models/mdl_output_field_data.rb +2 -34
- data/lib/trinsic_api/models/mexico_curp_provider_output.rb +126 -5
- data/lib/trinsic_api/models/mock_output_provider_input.rb +150 -0
- data/lib/trinsic_api/models/moldova_driver_license_credential.rb +284 -0
- data/lib/trinsic_api/models/moldova_evo_wallet_input.rb +149 -0
- data/lib/trinsic_api/models/moldova_evo_wallet_provider_output.rb +194 -0
- data/lib/trinsic_api/models/moldova_identity_card_credential.rb +381 -0
- data/lib/trinsic_api/models/moldova_vehicle_registration_certificate_credential.rb +438 -0
- data/lib/trinsic_api/models/netherlands_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/netherlands_eudi_sandbox_provider_output.rb +161 -0
- data/lib/trinsic_api/models/netherlands_idin_address.rb +68 -93
- data/lib/trinsic_api/models/netherlands_idin_provider_output.rb +9 -137
- data/lib/trinsic_api/models/nigeria_nin_lookup2_input.rb +1 -1
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +5 -53
- data/lib/trinsic_api/models/{nigeria_nin_biometric2_input.rb → nigeria_nin_lookup3_input.rb} +9 -33
- data/lib/trinsic_api/models/nigeria_nin_lookup3_provider_output.rb +326 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +1 -1
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +194 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +160 -0
- data/lib/trinsic_api/models/panama_cedula_lookup_input.rb +5 -16
- data/lib/trinsic_api/models/panama_cedula_provider_output.rb +6 -97
- data/lib/trinsic_api/models/peru_dni_address.rb +3 -51
- data/lib/trinsic_api/models/peru_dni_provider_output.rb +8 -136
- data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +1 -17
- data/lib/trinsic_api/models/philippines_philsys_match_provider_output.rb +194 -0
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +1 -17
- data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +4 -68
- data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +3 -3
- data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +1 -1
- data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +3 -51
- data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +8 -8
- data/lib/trinsic_api/models/provider.rb +1 -57
- data/lib/trinsic_api/models/provider_input.rb +94 -31
- data/lib/trinsic_api/models/provider_output.rb +336 -17
- data/lib/trinsic_api/models/raw18013_document_request.rb +9 -0
- data/lib/trinsic_api/models/samsung_id_with_clear_credential.rb +295 -0
- data/lib/trinsic_api/models/samsung_wallet_input.rb +1 -1
- data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +13 -18
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +1 -1
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +249 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +6 -17
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +194 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +160 -0
- data/lib/trinsic_api/models/spid_billing_information.rb +3 -51
- data/lib/trinsic_api/models/spid_provider_output.rb +2 -34
- data/lib/trinsic_api/models/sub_provider_metadata.rb +16 -5
- data/lib/trinsic_api/models/uae_pass_provider_output.rb +394 -0
- data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/uganda_nid_match2_input.rb +1 -1
- data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +172 -0
- data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +8 -8
- data/lib/trinsic_api/models/yoti_provider_output.rb +8 -8
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +1 -1
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +238 -0
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +105 -5
- data/spec/models/alaska_mobile_id_provider_output_spec.rb +42 -0
- data/spec/models/apple_wallet_digital_id_birth_date_spec.rb +42 -0
- data/spec/models/apple_wallet_digital_id_credential_spec.rb +144 -0
- data/spec/models/apple_wallet_provider_output_spec.rb +6 -0
- data/spec/models/attachment_info_spec.rb +6 -0
- data/spec/models/austria_valera_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/austria_valera_eudi_sandbox_provider_output_spec.rb +48 -0
- data/spec/models/brazil_biometric_verification_output_spec.rb +54 -0
- data/spec/models/brazil_cnh_facial_biometry_output_spec.rb +54 -0
- data/spec/models/brazil_cnh_match_field_date_only_spec.rb +42 -0
- data/spec/models/brazil_cnh_match_field_string_spec.rb +42 -0
- data/spec/models/brazil_cnh_provider_output_spec.rb +126 -0
- data/spec/models/brazil_cpf_check_input_spec.rb +6 -0
- data/spec/models/brazil_cpf_provider_output_spec.rb +96 -0
- data/spec/models/clear_provider_output_address_spec.rb +66 -0
- data/spec/models/clear_provider_output_check_additional_details_spec.rb +36 -0
- data/spec/models/clear_provider_output_check_spec.rb +66 -0
- data/spec/models/clear_provider_output_document_spec.rb +108 -0
- data/spec/models/clear_provider_output_health_insurance_spec.rb +78 -0
- data/spec/models/clear_provider_output_historical_address_spec.rb +90 -0
- data/spec/models/clear_provider_output_historical_data_spec.rb +42 -0
- data/spec/models/clear_provider_output_historical_name_spec.rb +66 -0
- data/spec/models/clear_provider_output_location_info_spec.rb +72 -0
- data/spec/models/clear_provider_output_partial_date_spec.rb +48 -0
- data/spec/models/clear_provider_output_session_info_spec.rb +66 -0
- data/spec/models/clear_provider_output_spec.rb +150 -0
- data/spec/models/clear_provider_output_traits_spec.rb +132 -0
- data/spec/models/clear_provider_output_verified_email_spec.rb +48 -0
- data/spec/models/clear_provider_output_watchlist_hit_details_spec.rb +126 -0
- data/spec/models/clear_provider_output_watchlist_hit_spec.rb +54 -0
- data/spec/models/clear_provider_output_watchlist_hits_spec.rb +42 -0
- data/spec/models/clear_provider_output_watchlist_source_spec.rb +48 -0
- data/spec/models/czech_bank_id_address_spec.rb +90 -0
- data/spec/models/czech_bank_id_card_spec.rb +72 -0
- data/spec/models/czech_bank_id_provider_output_spec.rb +216 -0
- data/spec/models/czech_bank_id_title_spec.rb +42 -0
- data/spec/models/{nigeria_nin_biometric2_input_spec.rb → czech_bank_id_verification_spec.rb} +9 -9
- data/spec/models/denmark_alt_id_input_spec.rb +36 -0
- data/spec/models/denmark_alt_id_provider_output_spec.rb +48 -0
- data/spec/models/diia_issuer_output_spec.rb +66 -0
- data/spec/models/diia_provider_output_spec.rb +42 -0
- data/spec/models/diia_subject_output_spec.rb +60 -0
- data/spec/models/eudi_age_verification_credential_spec.rb +0 -12
- data/spec/models/eudi_reference_wallet_provider_output_spec.rb +42 -0
- data/spec/models/evrotrust_address_components_spec.rb +126 -0
- data/spec/models/evrotrust_input_spec.rb +42 -0
- data/spec/models/evrotrust_provider_output_spec.rb +216 -0
- data/spec/models/french_numerique_provider_output_spec.rb +18 -0
- data/spec/models/{french_numerique_given_name_spec.rb → french_numerique_splitted_given_name_spec.rb} +6 -12
- data/spec/models/{french_numerique_phone_spec.rb → french_numerique_splitted_phone_spec.rb} +6 -12
- data/spec/models/germany_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/germany_eudi_sandbox_provider_output_spec.rb +42 -0
- data/spec/models/guatemala_cui_lookup_input_spec.rb +6 -0
- data/spec/models/idemia_mobile_id_provider_output_spec.rb +174 -0
- data/spec/models/india_digilocker_aadhaar_match_date_of_birth_field_spec.rb +42 -0
- data/spec/models/india_digilocker_aadhaar_match_full_name_field_spec.rb +42 -0
- data/spec/models/india_digilocker_aadhaar_match_provider_output_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_date_of_birth_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_full_name_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_national_id_number_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +96 -0
- data/spec/models/indonesia_nik_match_field_spec.rb +42 -0
- data/spec/models/indonesia_nik_match_spec.rb +84 -0
- data/spec/models/interac_address_spec.rb +60 -0
- data/spec/models/interac_provider_output_spec.rb +84 -0
- data/spec/models/{kenya_nid_biometric2_input_spec.rb → itsme_address_base_spec.rb} +9 -9
- data/spec/models/itsme_address_spec.rb +66 -0
- data/spec/models/itsme_belgian_identity_card_spec.rb +60 -0
- data/spec/models/itsme_belgian_national_number_spec.rb +48 -0
- data/spec/models/itsme_direct_device_spec.rb +102 -0
- data/spec/models/itsme_identity_document_spec.rb +60 -0
- data/spec/models/itsme_login_provider_output_spec.rb +114 -0
- data/spec/models/itsme_place_of_birth_spec.rb +42 -0
- data/spec/models/itsme_provider_address_spec.rb +60 -0
- data/spec/models/itsme_provider_output_spec.rb +95 -5
- data/spec/models/kenya_nid_lookup3_input_spec.rb +36 -0
- data/spec/models/kenya_nid_lookup3_provider_output_spec.rb +78 -0
- data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_full_name_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_provider_output_spec.rb +54 -0
- data/spec/models/kenya_nid_match2_sex_field_spec.rb +42 -0
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +1 -1
- data/spec/models/mdl_output_certificate_data_spec.rb +6 -0
- data/spec/models/mexico_curp_provider_output_spec.rb +66 -0
- data/spec/models/mock_output_provider_input_spec.rb +36 -0
- data/spec/models/moldova_driver_license_credential_spec.rb +108 -0
- data/spec/models/moldova_evo_wallet_input_spec.rb +36 -0
- data/spec/models/moldova_evo_wallet_provider_output_spec.rb +60 -0
- data/spec/models/moldova_identity_card_credential_spec.rb +162 -0
- data/spec/models/moldova_vehicle_registration_certificate_credential_spec.rb +192 -0
- data/spec/models/netherlands_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/netherlands_eudi_sandbox_provider_output_spec.rb +42 -0
- data/spec/models/netherlands_idin_address_spec.rb +30 -0
- data/spec/models/nigeria_nin_lookup3_input_spec.rb +36 -0
- data/spec/models/nigeria_nin_lookup3_provider_output_spec.rb +132 -0
- data/spec/models/nigeria_nin_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_provider_output_spec.rb +60 -0
- data/spec/models/nigeria_nin_match2_sex_field_spec.rb +42 -0
- data/spec/models/panama_cedula_lookup_input_spec.rb +0 -6
- data/spec/models/panama_cedula_provider_output_spec.rb +0 -6
- data/spec/models/philippines_philsys_match_provider_output_spec.rb +60 -0
- data/spec/models/post_office_easy_id_provider_output_spec.rb +1 -1
- data/spec/models/provider_input_spec.rb +44 -8
- data/spec/models/provider_output_spec.rb +180 -6
- data/spec/models/provider_spec.rb +0 -12
- data/spec/models/samsung_id_with_clear_credential_spec.rb +114 -0
- data/spec/models/samsung_wallet_provider_output_spec.rb +6 -0
- data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +90 -0
- data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_input_spec.rb +0 -6
- data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_provider_output_spec.rb +60 -0
- data/spec/models/south_africa_nid_match2_sex_field_spec.rb +42 -0
- data/spec/models/sub_provider_metadata_spec.rb +6 -0
- data/spec/models/uae_pass_provider_output_spec.rb +168 -0
- data/spec/models/uganda_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/uganda_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/{south_africa_nid_biometric2_input_spec.rb → uganda_nid_match2_provider_output_spec.rb} +9 -9
- data/spec/models/uganda_nid_match2_secondary_id_number_field_spec.rb +42 -0
- data/spec/models/yoti_deeplink_provider_output_spec.rb +1 -1
- data/spec/models/yoti_provider_output_spec.rb +1 -1
- data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +84 -0
- metadata +613 -213
- data/docs/KenyaNidBiometric2Input.md +0 -22
- data/docs/NigeriaNinBiometric2Input.md +0 -22
- data/docs/SouthAfricaNidBiometric2Input.md +0 -22
|
@@ -61,6 +61,10 @@ module TrinsicApi
|
|
|
61
61
|
# List of attributes with nullable: true
|
|
62
62
|
def self.openapi_nullable
|
|
63
63
|
Set.new([
|
|
64
|
+
:'first_name',
|
|
65
|
+
:'last_name',
|
|
66
|
+
:'date_of_birth',
|
|
67
|
+
:'personal_identification_code'
|
|
64
68
|
])
|
|
65
69
|
end
|
|
66
70
|
|
|
@@ -82,26 +86,18 @@ module TrinsicApi
|
|
|
82
86
|
|
|
83
87
|
if attributes.key?(:'first_name')
|
|
84
88
|
self.first_name = attributes[:'first_name']
|
|
85
|
-
else
|
|
86
|
-
self.first_name = nil
|
|
87
89
|
end
|
|
88
90
|
|
|
89
91
|
if attributes.key?(:'last_name')
|
|
90
92
|
self.last_name = attributes[:'last_name']
|
|
91
|
-
else
|
|
92
|
-
self.last_name = nil
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
if attributes.key?(:'date_of_birth')
|
|
96
96
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
97
|
-
else
|
|
98
|
-
self.date_of_birth = nil
|
|
99
97
|
end
|
|
100
98
|
|
|
101
99
|
if attributes.key?(:'personal_identification_code')
|
|
102
100
|
self.personal_identification_code = attributes[:'personal_identification_code']
|
|
103
|
-
else
|
|
104
|
-
self.personal_identification_code = nil
|
|
105
101
|
end
|
|
106
102
|
end
|
|
107
103
|
|
|
@@ -110,22 +106,6 @@ module TrinsicApi
|
|
|
110
106
|
def list_invalid_properties
|
|
111
107
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
112
108
|
invalid_properties = Array.new
|
|
113
|
-
if @first_name.nil?
|
|
114
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
if @last_name.nil?
|
|
118
|
-
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if @date_of_birth.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if @personal_identification_code.nil?
|
|
126
|
-
invalid_properties.push('invalid value for "personal_identification_code", personal_identification_code cannot be nil.')
|
|
127
|
-
end
|
|
128
|
-
|
|
129
109
|
invalid_properties
|
|
130
110
|
end
|
|
131
111
|
|
|
@@ -133,53 +113,9 @@ module TrinsicApi
|
|
|
133
113
|
# @return true if the model is valid
|
|
134
114
|
def valid?
|
|
135
115
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
136
|
-
return false if @first_name.nil?
|
|
137
|
-
return false if @last_name.nil?
|
|
138
|
-
return false if @date_of_birth.nil?
|
|
139
|
-
return false if @personal_identification_code.nil?
|
|
140
116
|
true
|
|
141
117
|
end
|
|
142
118
|
|
|
143
|
-
# Custom attribute writer method with validation
|
|
144
|
-
# @param [Object] first_name Value to be assigned
|
|
145
|
-
def first_name=(first_name)
|
|
146
|
-
if first_name.nil?
|
|
147
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
@first_name = first_name
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
# Custom attribute writer method with validation
|
|
154
|
-
# @param [Object] last_name Value to be assigned
|
|
155
|
-
def last_name=(last_name)
|
|
156
|
-
if last_name.nil?
|
|
157
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
@last_name = last_name
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
# Custom attribute writer method with validation
|
|
164
|
-
# @param [Object] date_of_birth Value to be assigned
|
|
165
|
-
def date_of_birth=(date_of_birth)
|
|
166
|
-
if date_of_birth.nil?
|
|
167
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
@date_of_birth = date_of_birth
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
# Custom attribute writer method with validation
|
|
174
|
-
# @param [Object] personal_identification_code Value to be assigned
|
|
175
|
-
def personal_identification_code=(personal_identification_code)
|
|
176
|
-
if personal_identification_code.nil?
|
|
177
|
-
fail ArgumentError, 'personal_identification_code cannot be nil'
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
@personal_identification_code = personal_identification_code
|
|
181
|
-
end
|
|
182
|
-
|
|
183
119
|
# Checks equality by comparing each attribute.
|
|
184
120
|
# @param [Object] Object to be compared
|
|
185
121
|
def ==(o)
|
|
@@ -14,23 +14,15 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
# An EUDI Age Verification credential, with document type `eu.europa.ec.
|
|
17
|
+
# An EUDI Age Verification credential, with document type `eu.europa.ec.av.1`.
|
|
18
18
|
class EudiAgeVerificationCredential < ApiModelBase
|
|
19
19
|
# Processed age-over claims returned by the credential.
|
|
20
20
|
attr_accessor :age_over
|
|
21
21
|
|
|
22
|
-
# Date when the age verification data expires.
|
|
23
|
-
attr_accessor :expiry_date
|
|
24
|
-
|
|
25
|
-
# ISO 3166-1 alpha-2 country code of the country or territory of the issuer of the credential.
|
|
26
|
-
attr_accessor :issuing_country
|
|
27
|
-
|
|
28
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
23
|
def self.attribute_map
|
|
30
24
|
{
|
|
31
|
-
:'age_over' => :'ageOver'
|
|
32
|
-
:'expiry_date' => :'expiryDate',
|
|
33
|
-
:'issuing_country' => :'issuingCountry'
|
|
25
|
+
:'age_over' => :'ageOver'
|
|
34
26
|
}
|
|
35
27
|
end
|
|
36
28
|
|
|
@@ -47,18 +39,14 @@ module TrinsicApi
|
|
|
47
39
|
# Attribute type mapping.
|
|
48
40
|
def self.openapi_types
|
|
49
41
|
{
|
|
50
|
-
:'age_over' => :'Array<AgeOverOutput>'
|
|
51
|
-
:'expiry_date' => :'Date',
|
|
52
|
-
:'issuing_country' => :'String'
|
|
42
|
+
:'age_over' => :'Array<AgeOverOutput>'
|
|
53
43
|
}
|
|
54
44
|
end
|
|
55
45
|
|
|
56
46
|
# List of attributes with nullable: true
|
|
57
47
|
def self.openapi_nullable
|
|
58
48
|
Set.new([
|
|
59
|
-
:'age_over'
|
|
60
|
-
:'expiry_date',
|
|
61
|
-
:'issuing_country'
|
|
49
|
+
:'age_over'
|
|
62
50
|
])
|
|
63
51
|
end
|
|
64
52
|
|
|
@@ -83,14 +71,6 @@ module TrinsicApi
|
|
|
83
71
|
self.age_over = value
|
|
84
72
|
end
|
|
85
73
|
end
|
|
86
|
-
|
|
87
|
-
if attributes.key?(:'expiry_date')
|
|
88
|
-
self.expiry_date = attributes[:'expiry_date']
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
if attributes.key?(:'issuing_country')
|
|
92
|
-
self.issuing_country = attributes[:'issuing_country']
|
|
93
|
-
end
|
|
94
74
|
end
|
|
95
75
|
|
|
96
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -113,9 +93,7 @@ module TrinsicApi
|
|
|
113
93
|
def ==(o)
|
|
114
94
|
return true if self.equal?(o)
|
|
115
95
|
self.class == o.class &&
|
|
116
|
-
age_over == o.age_over
|
|
117
|
-
expiry_date == o.expiry_date &&
|
|
118
|
-
issuing_country == o.issuing_country
|
|
96
|
+
age_over == o.age_over
|
|
119
97
|
end
|
|
120
98
|
|
|
121
99
|
# @see the `==` method
|
|
@@ -127,7 +105,7 @@ module TrinsicApi
|
|
|
127
105
|
# Calculates hash code according to all attributes.
|
|
128
106
|
# @return [Integer] Hash code
|
|
129
107
|
def hash
|
|
130
|
-
[age_over
|
|
108
|
+
[age_over].hash
|
|
131
109
|
end
|
|
132
110
|
|
|
133
111
|
# Builds the object from hash
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
# Exposed properties for the `eudi-reference-wallet` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class EudiReferenceWalletProviderOutput < ApiModelBase
|
|
19
|
+
# An EUDI Person Identification Data (PID) credential, retrieved from the individual's wallet.
|
|
20
|
+
attr_accessor :pid
|
|
21
|
+
|
|
22
|
+
# The raw output of the 18013-7 exchange performed through the EUDI Reference Wallet.
|
|
23
|
+
attr_accessor :raw18013_output
|
|
24
|
+
|
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
|
+
def self.attribute_map
|
|
27
|
+
{
|
|
28
|
+
:'pid' => :'pid',
|
|
29
|
+
:'raw18013_output' => :'raw18013Output'
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Returns attribute mapping this model knows about
|
|
34
|
+
def self.acceptable_attribute_map
|
|
35
|
+
attribute_map
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Returns all the JSON keys this model knows about
|
|
39
|
+
def self.acceptable_attributes
|
|
40
|
+
acceptable_attribute_map.values
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Attribute type mapping.
|
|
44
|
+
def self.openapi_types
|
|
45
|
+
{
|
|
46
|
+
:'pid' => :'EudiPidCredential',
|
|
47
|
+
:'raw18013_output' => :'MdlOutput'
|
|
48
|
+
}
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# List of attributes with nullable: true
|
|
52
|
+
def self.openapi_nullable
|
|
53
|
+
Set.new([
|
|
54
|
+
:'pid',
|
|
55
|
+
:'raw18013_output'
|
|
56
|
+
])
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Initializes the object
|
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
61
|
+
def initialize(attributes = {})
|
|
62
|
+
if (!attributes.is_a?(Hash))
|
|
63
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::EudiReferenceWalletProviderOutput` initialize method"
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
67
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
69
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::EudiReferenceWalletProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
71
|
+
end
|
|
72
|
+
h[k.to_sym] = v
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if attributes.key?(:'pid')
|
|
76
|
+
self.pid = attributes[:'pid']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'raw18013_output')
|
|
80
|
+
self.raw18013_output = attributes[:'raw18013_output']
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
85
|
+
# @return Array for valid properties with the reasons
|
|
86
|
+
def list_invalid_properties
|
|
87
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
88
|
+
invalid_properties = Array.new
|
|
89
|
+
invalid_properties
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Check to see if the all the properties in the model are valid
|
|
93
|
+
# @return true if the model is valid
|
|
94
|
+
def valid?
|
|
95
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
96
|
+
true
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Checks equality by comparing each attribute.
|
|
100
|
+
# @param [Object] Object to be compared
|
|
101
|
+
def ==(o)
|
|
102
|
+
return true if self.equal?(o)
|
|
103
|
+
self.class == o.class &&
|
|
104
|
+
pid == o.pid &&
|
|
105
|
+
raw18013_output == o.raw18013_output
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# @see the `==` method
|
|
109
|
+
# @param [Object] Object to be compared
|
|
110
|
+
def eql?(o)
|
|
111
|
+
self == o
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Calculates hash code according to all attributes.
|
|
115
|
+
# @return [Integer] Hash code
|
|
116
|
+
def hash
|
|
117
|
+
[pid, raw18013_output].hash
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Builds the object from hash
|
|
121
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
122
|
+
# @return [Object] Returns the model itself
|
|
123
|
+
def self.build_from_hash(attributes)
|
|
124
|
+
return nil unless attributes.is_a?(Hash)
|
|
125
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
126
|
+
transformed_hash = {}
|
|
127
|
+
openapi_types.each_pair do |key, type|
|
|
128
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
129
|
+
transformed_hash["#{key}"] = nil
|
|
130
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
131
|
+
# check to ensure the input is an array given that the attribute
|
|
132
|
+
# is documented as an array but the input is not
|
|
133
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
134
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
135
|
+
end
|
|
136
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
137
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
new(transformed_hash)
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Returns the object in the form of hash
|
|
144
|
+
# @return [Hash] Returns the object in the form of hash
|
|
145
|
+
def to_hash
|
|
146
|
+
hash = {}
|
|
147
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
148
|
+
value = self.send(attr)
|
|
149
|
+
if value.nil?
|
|
150
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
151
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
hash[param] = _to_hash(value)
|
|
155
|
+
end
|
|
156
|
+
hash
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
end
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
class EvrotrustAddressComponents < ApiModelBase
|
|
18
|
+
# The district fragment of the address.
|
|
19
|
+
attr_accessor :district
|
|
20
|
+
|
|
21
|
+
# The local-language district fragment of the address.
|
|
22
|
+
attr_accessor :district_local
|
|
23
|
+
|
|
24
|
+
# The municipality fragment of the address.
|
|
25
|
+
attr_accessor :municipality
|
|
26
|
+
|
|
27
|
+
# The local-language municipality fragment of the address.
|
|
28
|
+
attr_accessor :municipality_local
|
|
29
|
+
|
|
30
|
+
# The settlement fragment of the address.
|
|
31
|
+
attr_accessor :settlement
|
|
32
|
+
|
|
33
|
+
# The local-language settlement fragment of the address.
|
|
34
|
+
attr_accessor :settlement_local
|
|
35
|
+
|
|
36
|
+
# The location or street fragment of the address.
|
|
37
|
+
attr_accessor :location
|
|
38
|
+
|
|
39
|
+
# The local-language location or street fragment of the address.
|
|
40
|
+
attr_accessor :location_local
|
|
41
|
+
|
|
42
|
+
# The building number fragment of the address.
|
|
43
|
+
attr_accessor :building_number
|
|
44
|
+
|
|
45
|
+
# The local-language building number fragment of the address.
|
|
46
|
+
attr_accessor :building_number_local
|
|
47
|
+
|
|
48
|
+
# The entrance fragment of the address.
|
|
49
|
+
attr_accessor :entrance
|
|
50
|
+
|
|
51
|
+
# The local-language entrance fragment of the address.
|
|
52
|
+
attr_accessor :entrance_local
|
|
53
|
+
|
|
54
|
+
# The floor fragment of the address.
|
|
55
|
+
attr_accessor :floor
|
|
56
|
+
|
|
57
|
+
# The local-language floor fragment of the address.
|
|
58
|
+
attr_accessor :floor_local
|
|
59
|
+
|
|
60
|
+
# The apartment fragment of the address.
|
|
61
|
+
attr_accessor :apartment
|
|
62
|
+
|
|
63
|
+
# The local-language apartment fragment of the address.
|
|
64
|
+
attr_accessor :apartment_local
|
|
65
|
+
|
|
66
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
67
|
+
def self.attribute_map
|
|
68
|
+
{
|
|
69
|
+
:'district' => :'district',
|
|
70
|
+
:'district_local' => :'districtLocal',
|
|
71
|
+
:'municipality' => :'municipality',
|
|
72
|
+
:'municipality_local' => :'municipalityLocal',
|
|
73
|
+
:'settlement' => :'settlement',
|
|
74
|
+
:'settlement_local' => :'settlementLocal',
|
|
75
|
+
:'location' => :'location',
|
|
76
|
+
:'location_local' => :'locationLocal',
|
|
77
|
+
:'building_number' => :'buildingNumber',
|
|
78
|
+
:'building_number_local' => :'buildingNumberLocal',
|
|
79
|
+
:'entrance' => :'entrance',
|
|
80
|
+
:'entrance_local' => :'entranceLocal',
|
|
81
|
+
:'floor' => :'floor',
|
|
82
|
+
:'floor_local' => :'floorLocal',
|
|
83
|
+
:'apartment' => :'apartment',
|
|
84
|
+
:'apartment_local' => :'apartmentLocal'
|
|
85
|
+
}
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Returns attribute mapping this model knows about
|
|
89
|
+
def self.acceptable_attribute_map
|
|
90
|
+
attribute_map
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Returns all the JSON keys this model knows about
|
|
94
|
+
def self.acceptable_attributes
|
|
95
|
+
acceptable_attribute_map.values
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Attribute type mapping.
|
|
99
|
+
def self.openapi_types
|
|
100
|
+
{
|
|
101
|
+
:'district' => :'String',
|
|
102
|
+
:'district_local' => :'String',
|
|
103
|
+
:'municipality' => :'String',
|
|
104
|
+
:'municipality_local' => :'String',
|
|
105
|
+
:'settlement' => :'String',
|
|
106
|
+
:'settlement_local' => :'String',
|
|
107
|
+
:'location' => :'String',
|
|
108
|
+
:'location_local' => :'String',
|
|
109
|
+
:'building_number' => :'String',
|
|
110
|
+
:'building_number_local' => :'String',
|
|
111
|
+
:'entrance' => :'String',
|
|
112
|
+
:'entrance_local' => :'String',
|
|
113
|
+
:'floor' => :'String',
|
|
114
|
+
:'floor_local' => :'String',
|
|
115
|
+
:'apartment' => :'String',
|
|
116
|
+
:'apartment_local' => :'String'
|
|
117
|
+
}
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# List of attributes with nullable: true
|
|
121
|
+
def self.openapi_nullable
|
|
122
|
+
Set.new([
|
|
123
|
+
:'district',
|
|
124
|
+
:'district_local',
|
|
125
|
+
:'municipality',
|
|
126
|
+
:'municipality_local',
|
|
127
|
+
:'settlement',
|
|
128
|
+
:'settlement_local',
|
|
129
|
+
:'location',
|
|
130
|
+
:'location_local',
|
|
131
|
+
:'building_number',
|
|
132
|
+
:'building_number_local',
|
|
133
|
+
:'entrance',
|
|
134
|
+
:'entrance_local',
|
|
135
|
+
:'floor',
|
|
136
|
+
:'floor_local',
|
|
137
|
+
:'apartment',
|
|
138
|
+
:'apartment_local'
|
|
139
|
+
])
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Initializes the object
|
|
143
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
144
|
+
def initialize(attributes = {})
|
|
145
|
+
if (!attributes.is_a?(Hash))
|
|
146
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::EvrotrustAddressComponents` initialize method"
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
150
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
151
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
152
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
153
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::EvrotrustAddressComponents`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
154
|
+
end
|
|
155
|
+
h[k.to_sym] = v
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if attributes.key?(:'district')
|
|
159
|
+
self.district = attributes[:'district']
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
if attributes.key?(:'district_local')
|
|
163
|
+
self.district_local = attributes[:'district_local']
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if attributes.key?(:'municipality')
|
|
167
|
+
self.municipality = attributes[:'municipality']
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
if attributes.key?(:'municipality_local')
|
|
171
|
+
self.municipality_local = attributes[:'municipality_local']
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
if attributes.key?(:'settlement')
|
|
175
|
+
self.settlement = attributes[:'settlement']
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
if attributes.key?(:'settlement_local')
|
|
179
|
+
self.settlement_local = attributes[:'settlement_local']
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
if attributes.key?(:'location')
|
|
183
|
+
self.location = attributes[:'location']
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
if attributes.key?(:'location_local')
|
|
187
|
+
self.location_local = attributes[:'location_local']
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
if attributes.key?(:'building_number')
|
|
191
|
+
self.building_number = attributes[:'building_number']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'building_number_local')
|
|
195
|
+
self.building_number_local = attributes[:'building_number_local']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.key?(:'entrance')
|
|
199
|
+
self.entrance = attributes[:'entrance']
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
if attributes.key?(:'entrance_local')
|
|
203
|
+
self.entrance_local = attributes[:'entrance_local']
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
if attributes.key?(:'floor')
|
|
207
|
+
self.floor = attributes[:'floor']
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if attributes.key?(:'floor_local')
|
|
211
|
+
self.floor_local = attributes[:'floor_local']
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
if attributes.key?(:'apartment')
|
|
215
|
+
self.apartment = attributes[:'apartment']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes.key?(:'apartment_local')
|
|
219
|
+
self.apartment_local = attributes[:'apartment_local']
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
224
|
+
# @return Array for valid properties with the reasons
|
|
225
|
+
def list_invalid_properties
|
|
226
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
227
|
+
invalid_properties = Array.new
|
|
228
|
+
invalid_properties
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# Check to see if the all the properties in the model are valid
|
|
232
|
+
# @return true if the model is valid
|
|
233
|
+
def valid?
|
|
234
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
235
|
+
true
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Checks equality by comparing each attribute.
|
|
239
|
+
# @param [Object] Object to be compared
|
|
240
|
+
def ==(o)
|
|
241
|
+
return true if self.equal?(o)
|
|
242
|
+
self.class == o.class &&
|
|
243
|
+
district == o.district &&
|
|
244
|
+
district_local == o.district_local &&
|
|
245
|
+
municipality == o.municipality &&
|
|
246
|
+
municipality_local == o.municipality_local &&
|
|
247
|
+
settlement == o.settlement &&
|
|
248
|
+
settlement_local == o.settlement_local &&
|
|
249
|
+
location == o.location &&
|
|
250
|
+
location_local == o.location_local &&
|
|
251
|
+
building_number == o.building_number &&
|
|
252
|
+
building_number_local == o.building_number_local &&
|
|
253
|
+
entrance == o.entrance &&
|
|
254
|
+
entrance_local == o.entrance_local &&
|
|
255
|
+
floor == o.floor &&
|
|
256
|
+
floor_local == o.floor_local &&
|
|
257
|
+
apartment == o.apartment &&
|
|
258
|
+
apartment_local == o.apartment_local
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# @see the `==` method
|
|
262
|
+
# @param [Object] Object to be compared
|
|
263
|
+
def eql?(o)
|
|
264
|
+
self == o
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
# Calculates hash code according to all attributes.
|
|
268
|
+
# @return [Integer] Hash code
|
|
269
|
+
def hash
|
|
270
|
+
[district, district_local, municipality, municipality_local, settlement, settlement_local, location, location_local, building_number, building_number_local, entrance, entrance_local, floor, floor_local, apartment, apartment_local].hash
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# Builds the object from hash
|
|
274
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
275
|
+
# @return [Object] Returns the model itself
|
|
276
|
+
def self.build_from_hash(attributes)
|
|
277
|
+
return nil unless attributes.is_a?(Hash)
|
|
278
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
279
|
+
transformed_hash = {}
|
|
280
|
+
openapi_types.each_pair do |key, type|
|
|
281
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
282
|
+
transformed_hash["#{key}"] = nil
|
|
283
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
284
|
+
# check to ensure the input is an array given that the attribute
|
|
285
|
+
# is documented as an array but the input is not
|
|
286
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
287
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
288
|
+
end
|
|
289
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
290
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
new(transformed_hash)
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# Returns the object in the form of hash
|
|
297
|
+
# @return [Hash] Returns the object in the form of hash
|
|
298
|
+
def to_hash
|
|
299
|
+
hash = {}
|
|
300
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
301
|
+
value = self.send(attr)
|
|
302
|
+
if value.nil?
|
|
303
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
304
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
hash[param] = _to_hash(value)
|
|
308
|
+
end
|
|
309
|
+
hash
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
end
|