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
|
@@ -0,0 +1,350 @@
|
|
|
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
|
+
# An Apple Wallet Digital ID credential, with document type `org.iso.23220.photoid.1`. This is a passport-derived digital credential issued by Apple.
|
|
18
|
+
class AppleWalletDigitalIdCredential < ApiModelBase
|
|
19
|
+
# First name(s), other name(s), or secondary identifier of the individual. This field uses the full UTF-8 character set and can represent any name.
|
|
20
|
+
attr_accessor :given_name_unicode
|
|
21
|
+
|
|
22
|
+
# First name(s), other name(s), or secondary identifier of the individual. This field uses the Latin-1 character set and is limited to names represented by the English alphabet. represented using the English alphabet.
|
|
23
|
+
attr_accessor :given_name_latin1
|
|
24
|
+
|
|
25
|
+
# Last name, surname, or primary identifier of the individual. This field uses the full UTF-8 character set and can represent any name.
|
|
26
|
+
attr_accessor :family_name_unicode
|
|
27
|
+
|
|
28
|
+
# Last name, surname, or primary identifier of the individual. This field uses only the Latin-1 character set and is largely limited to names which can be represented using the English alphabet.
|
|
29
|
+
attr_accessor :family_name_latin1
|
|
30
|
+
|
|
31
|
+
# The individual's sex as an ISO/IEC 5218 code. Possible values: - 0: Unknown - 1: Male - 2: Female - 9: Not Applicable
|
|
32
|
+
attr_accessor :sex
|
|
33
|
+
|
|
34
|
+
# The date of birth of the individual, possibly with an \"approximate mask\" indicating uncertain digits.
|
|
35
|
+
attr_accessor :date_of_birth
|
|
36
|
+
|
|
37
|
+
# The document number of the underlying passport used to create the Digital ID.
|
|
38
|
+
attr_accessor :document_number
|
|
39
|
+
|
|
40
|
+
# Name or identifier of the issuing authority of the credential, using the full UTF-8 character set. This field's contents are arbitrary; it has no guaranteed format.
|
|
41
|
+
attr_accessor :issuing_authority_unicode
|
|
42
|
+
|
|
43
|
+
# ISO 3166-2 country-subdivision code for the jurisdiction that issued the credential.
|
|
44
|
+
attr_accessor :issuing_subdivision
|
|
45
|
+
|
|
46
|
+
# ISO 3166-1 alpha-2 country code of the issuing authority's country or territory.
|
|
47
|
+
attr_accessor :issuing_country
|
|
48
|
+
|
|
49
|
+
# Date when the underlying passport used to create the Digital ID was issued.
|
|
50
|
+
attr_accessor :issue_date
|
|
51
|
+
|
|
52
|
+
# Date when the underlying passport used to create the Digital ID expires.
|
|
53
|
+
attr_accessor :expiry_date
|
|
54
|
+
|
|
55
|
+
# The age of the individual, as of the issuance date of the credential.
|
|
56
|
+
attr_accessor :age_in_years
|
|
57
|
+
|
|
58
|
+
# Processed age-over claims returned by the credential.
|
|
59
|
+
attr_accessor :age_over
|
|
60
|
+
|
|
61
|
+
# The permanent address of the individual, using the full UTF-8 character set. This is only present if the underlying passport contained an address, which is uncommon.
|
|
62
|
+
attr_accessor :resident_address_unicode
|
|
63
|
+
|
|
64
|
+
# City of the individual's permanent address, using the full UTF-8 character set. This is only present if the underlying passport contained an address, which is uncommon.
|
|
65
|
+
attr_accessor :resident_city_unicode
|
|
66
|
+
|
|
67
|
+
# City of the individual's permanent address, using the Latin-1 character set. This is only present if the underlying passport contained an address, which is uncommon.
|
|
68
|
+
attr_accessor :resident_city_latin1
|
|
69
|
+
|
|
70
|
+
# Postal code of the individual's permanent address. This is only present if the underlying passport contained an address, which is uncommon.
|
|
71
|
+
attr_accessor :resident_postal_code
|
|
72
|
+
|
|
73
|
+
# ISO 3166-1 alpha-2 country code of the individual's permanent address. This is only present if the underlying passport contained an address, which is uncommon.
|
|
74
|
+
attr_accessor :resident_country
|
|
75
|
+
|
|
76
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
77
|
+
def self.attribute_map
|
|
78
|
+
{
|
|
79
|
+
:'given_name_unicode' => :'givenNameUnicode',
|
|
80
|
+
:'given_name_latin1' => :'givenNameLatin1',
|
|
81
|
+
:'family_name_unicode' => :'familyNameUnicode',
|
|
82
|
+
:'family_name_latin1' => :'familyNameLatin1',
|
|
83
|
+
:'sex' => :'sex',
|
|
84
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
85
|
+
:'document_number' => :'documentNumber',
|
|
86
|
+
:'issuing_authority_unicode' => :'issuingAuthorityUnicode',
|
|
87
|
+
:'issuing_subdivision' => :'issuingSubdivision',
|
|
88
|
+
:'issuing_country' => :'issuingCountry',
|
|
89
|
+
:'issue_date' => :'issueDate',
|
|
90
|
+
:'expiry_date' => :'expiryDate',
|
|
91
|
+
:'age_in_years' => :'ageInYears',
|
|
92
|
+
:'age_over' => :'ageOver',
|
|
93
|
+
:'resident_address_unicode' => :'residentAddressUnicode',
|
|
94
|
+
:'resident_city_unicode' => :'residentCityUnicode',
|
|
95
|
+
:'resident_city_latin1' => :'residentCityLatin1',
|
|
96
|
+
:'resident_postal_code' => :'residentPostalCode',
|
|
97
|
+
:'resident_country' => :'residentCountry'
|
|
98
|
+
}
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Returns attribute mapping this model knows about
|
|
102
|
+
def self.acceptable_attribute_map
|
|
103
|
+
attribute_map
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Returns all the JSON keys this model knows about
|
|
107
|
+
def self.acceptable_attributes
|
|
108
|
+
acceptable_attribute_map.values
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Attribute type mapping.
|
|
112
|
+
def self.openapi_types
|
|
113
|
+
{
|
|
114
|
+
:'given_name_unicode' => :'String',
|
|
115
|
+
:'given_name_latin1' => :'String',
|
|
116
|
+
:'family_name_unicode' => :'String',
|
|
117
|
+
:'family_name_latin1' => :'String',
|
|
118
|
+
:'sex' => :'Integer',
|
|
119
|
+
:'date_of_birth' => :'AppleWalletDigitalIdBirthDate',
|
|
120
|
+
:'document_number' => :'String',
|
|
121
|
+
:'issuing_authority_unicode' => :'String',
|
|
122
|
+
:'issuing_subdivision' => :'String',
|
|
123
|
+
:'issuing_country' => :'String',
|
|
124
|
+
:'issue_date' => :'Date',
|
|
125
|
+
:'expiry_date' => :'Date',
|
|
126
|
+
:'age_in_years' => :'Integer',
|
|
127
|
+
:'age_over' => :'Array<AgeOverOutput>',
|
|
128
|
+
:'resident_address_unicode' => :'String',
|
|
129
|
+
:'resident_city_unicode' => :'String',
|
|
130
|
+
:'resident_city_latin1' => :'String',
|
|
131
|
+
:'resident_postal_code' => :'String',
|
|
132
|
+
:'resident_country' => :'String'
|
|
133
|
+
}
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# List of attributes with nullable: true
|
|
137
|
+
def self.openapi_nullable
|
|
138
|
+
Set.new([
|
|
139
|
+
:'given_name_unicode',
|
|
140
|
+
:'given_name_latin1',
|
|
141
|
+
:'family_name_unicode',
|
|
142
|
+
:'family_name_latin1',
|
|
143
|
+
:'sex',
|
|
144
|
+
:'date_of_birth',
|
|
145
|
+
:'document_number',
|
|
146
|
+
:'issuing_authority_unicode',
|
|
147
|
+
:'issuing_subdivision',
|
|
148
|
+
:'issuing_country',
|
|
149
|
+
:'issue_date',
|
|
150
|
+
:'expiry_date',
|
|
151
|
+
:'age_in_years',
|
|
152
|
+
:'age_over',
|
|
153
|
+
:'resident_address_unicode',
|
|
154
|
+
:'resident_city_unicode',
|
|
155
|
+
:'resident_city_latin1',
|
|
156
|
+
:'resident_postal_code',
|
|
157
|
+
:'resident_country'
|
|
158
|
+
])
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Initializes the object
|
|
162
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
163
|
+
def initialize(attributes = {})
|
|
164
|
+
if (!attributes.is_a?(Hash))
|
|
165
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::AppleWalletDigitalIdCredential` initialize method"
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
169
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
170
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
171
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
172
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::AppleWalletDigitalIdCredential`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
173
|
+
end
|
|
174
|
+
h[k.to_sym] = v
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if attributes.key?(:'given_name_unicode')
|
|
178
|
+
self.given_name_unicode = attributes[:'given_name_unicode']
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
if attributes.key?(:'given_name_latin1')
|
|
182
|
+
self.given_name_latin1 = attributes[:'given_name_latin1']
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
if attributes.key?(:'family_name_unicode')
|
|
186
|
+
self.family_name_unicode = attributes[:'family_name_unicode']
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
if attributes.key?(:'family_name_latin1')
|
|
190
|
+
self.family_name_latin1 = attributes[:'family_name_latin1']
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
if attributes.key?(:'sex')
|
|
194
|
+
self.sex = attributes[:'sex']
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
if attributes.key?(:'date_of_birth')
|
|
198
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
if attributes.key?(:'document_number')
|
|
202
|
+
self.document_number = attributes[:'document_number']
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
if attributes.key?(:'issuing_authority_unicode')
|
|
206
|
+
self.issuing_authority_unicode = attributes[:'issuing_authority_unicode']
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
if attributes.key?(:'issuing_subdivision')
|
|
210
|
+
self.issuing_subdivision = attributes[:'issuing_subdivision']
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
if attributes.key?(:'issuing_country')
|
|
214
|
+
self.issuing_country = attributes[:'issuing_country']
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
if attributes.key?(:'issue_date')
|
|
218
|
+
self.issue_date = attributes[:'issue_date']
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
if attributes.key?(:'expiry_date')
|
|
222
|
+
self.expiry_date = attributes[:'expiry_date']
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
if attributes.key?(:'age_in_years')
|
|
226
|
+
self.age_in_years = attributes[:'age_in_years']
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
if attributes.key?(:'age_over')
|
|
230
|
+
if (value = attributes[:'age_over']).is_a?(Array)
|
|
231
|
+
self.age_over = value
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
if attributes.key?(:'resident_address_unicode')
|
|
236
|
+
self.resident_address_unicode = attributes[:'resident_address_unicode']
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if attributes.key?(:'resident_city_unicode')
|
|
240
|
+
self.resident_city_unicode = attributes[:'resident_city_unicode']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'resident_city_latin1')
|
|
244
|
+
self.resident_city_latin1 = attributes[:'resident_city_latin1']
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if attributes.key?(:'resident_postal_code')
|
|
248
|
+
self.resident_postal_code = attributes[:'resident_postal_code']
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if attributes.key?(:'resident_country')
|
|
252
|
+
self.resident_country = attributes[:'resident_country']
|
|
253
|
+
end
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
257
|
+
# @return Array for valid properties with the reasons
|
|
258
|
+
def list_invalid_properties
|
|
259
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
260
|
+
invalid_properties = Array.new
|
|
261
|
+
invalid_properties
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# Check to see if the all the properties in the model are valid
|
|
265
|
+
# @return true if the model is valid
|
|
266
|
+
def valid?
|
|
267
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
268
|
+
true
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# Checks equality by comparing each attribute.
|
|
272
|
+
# @param [Object] Object to be compared
|
|
273
|
+
def ==(o)
|
|
274
|
+
return true if self.equal?(o)
|
|
275
|
+
self.class == o.class &&
|
|
276
|
+
given_name_unicode == o.given_name_unicode &&
|
|
277
|
+
given_name_latin1 == o.given_name_latin1 &&
|
|
278
|
+
family_name_unicode == o.family_name_unicode &&
|
|
279
|
+
family_name_latin1 == o.family_name_latin1 &&
|
|
280
|
+
sex == o.sex &&
|
|
281
|
+
date_of_birth == o.date_of_birth &&
|
|
282
|
+
document_number == o.document_number &&
|
|
283
|
+
issuing_authority_unicode == o.issuing_authority_unicode &&
|
|
284
|
+
issuing_subdivision == o.issuing_subdivision &&
|
|
285
|
+
issuing_country == o.issuing_country &&
|
|
286
|
+
issue_date == o.issue_date &&
|
|
287
|
+
expiry_date == o.expiry_date &&
|
|
288
|
+
age_in_years == o.age_in_years &&
|
|
289
|
+
age_over == o.age_over &&
|
|
290
|
+
resident_address_unicode == o.resident_address_unicode &&
|
|
291
|
+
resident_city_unicode == o.resident_city_unicode &&
|
|
292
|
+
resident_city_latin1 == o.resident_city_latin1 &&
|
|
293
|
+
resident_postal_code == o.resident_postal_code &&
|
|
294
|
+
resident_country == o.resident_country
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# @see the `==` method
|
|
298
|
+
# @param [Object] Object to be compared
|
|
299
|
+
def eql?(o)
|
|
300
|
+
self == o
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Calculates hash code according to all attributes.
|
|
304
|
+
# @return [Integer] Hash code
|
|
305
|
+
def hash
|
|
306
|
+
[given_name_unicode, given_name_latin1, family_name_unicode, family_name_latin1, sex, date_of_birth, document_number, issuing_authority_unicode, issuing_subdivision, issuing_country, issue_date, expiry_date, age_in_years, age_over, resident_address_unicode, resident_city_unicode, resident_city_latin1, resident_postal_code, resident_country].hash
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Builds the object from hash
|
|
310
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
311
|
+
# @return [Object] Returns the model itself
|
|
312
|
+
def self.build_from_hash(attributes)
|
|
313
|
+
return nil unless attributes.is_a?(Hash)
|
|
314
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
315
|
+
transformed_hash = {}
|
|
316
|
+
openapi_types.each_pair do |key, type|
|
|
317
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
318
|
+
transformed_hash["#{key}"] = nil
|
|
319
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
320
|
+
# check to ensure the input is an array given that the attribute
|
|
321
|
+
# is documented as an array but the input is not
|
|
322
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
323
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
324
|
+
end
|
|
325
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
326
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
327
|
+
end
|
|
328
|
+
end
|
|
329
|
+
new(transformed_hash)
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# Returns the object in the form of hash
|
|
333
|
+
# @return [Hash] Returns the object in the form of hash
|
|
334
|
+
def to_hash
|
|
335
|
+
hash = {}
|
|
336
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
337
|
+
value = self.send(attr)
|
|
338
|
+
if value.nil?
|
|
339
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
340
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
hash[param] = _to_hash(value)
|
|
344
|
+
end
|
|
345
|
+
hash
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
end
|
|
@@ -19,6 +19,9 @@ module TrinsicApi
|
|
|
19
19
|
# A standard 18013-5 Mobile Driver's License credential, retrieved from the individual's wallet.
|
|
20
20
|
attr_accessor :mobile_drivers_license
|
|
21
21
|
|
|
22
|
+
# An Apple Wallet Digital ID credential (`org.iso.23220.photoid.1`), retrieved from the individual's wallet.
|
|
23
|
+
attr_accessor :digital_id
|
|
24
|
+
|
|
22
25
|
# The raw output of the mDL exchange performed through Apple Wallet.
|
|
23
26
|
attr_accessor :raw_mdl_output
|
|
24
27
|
|
|
@@ -26,6 +29,7 @@ module TrinsicApi
|
|
|
26
29
|
def self.attribute_map
|
|
27
30
|
{
|
|
28
31
|
:'mobile_drivers_license' => :'mobileDriversLicense',
|
|
32
|
+
:'digital_id' => :'digitalId',
|
|
29
33
|
:'raw_mdl_output' => :'rawMdlOutput'
|
|
30
34
|
}
|
|
31
35
|
end
|
|
@@ -44,6 +48,7 @@ module TrinsicApi
|
|
|
44
48
|
def self.openapi_types
|
|
45
49
|
{
|
|
46
50
|
:'mobile_drivers_license' => :'Iso180135MobileDriversLicenseCredential',
|
|
51
|
+
:'digital_id' => :'AppleWalletDigitalIdCredential',
|
|
47
52
|
:'raw_mdl_output' => :'MdlOutput'
|
|
48
53
|
}
|
|
49
54
|
end
|
|
@@ -52,6 +57,8 @@ module TrinsicApi
|
|
|
52
57
|
def self.openapi_nullable
|
|
53
58
|
Set.new([
|
|
54
59
|
:'mobile_drivers_license',
|
|
60
|
+
:'digital_id',
|
|
61
|
+
:'raw_mdl_output'
|
|
55
62
|
])
|
|
56
63
|
end
|
|
57
64
|
|
|
@@ -75,10 +82,12 @@ module TrinsicApi
|
|
|
75
82
|
self.mobile_drivers_license = attributes[:'mobile_drivers_license']
|
|
76
83
|
end
|
|
77
84
|
|
|
85
|
+
if attributes.key?(:'digital_id')
|
|
86
|
+
self.digital_id = attributes[:'digital_id']
|
|
87
|
+
end
|
|
88
|
+
|
|
78
89
|
if attributes.key?(:'raw_mdl_output')
|
|
79
90
|
self.raw_mdl_output = attributes[:'raw_mdl_output']
|
|
80
|
-
else
|
|
81
|
-
self.raw_mdl_output = nil
|
|
82
91
|
end
|
|
83
92
|
end
|
|
84
93
|
|
|
@@ -87,10 +96,6 @@ module TrinsicApi
|
|
|
87
96
|
def list_invalid_properties
|
|
88
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
98
|
invalid_properties = Array.new
|
|
90
|
-
if @raw_mdl_output.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "raw_mdl_output", raw_mdl_output cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
99
|
invalid_properties
|
|
95
100
|
end
|
|
96
101
|
|
|
@@ -98,26 +103,16 @@ module TrinsicApi
|
|
|
98
103
|
# @return true if the model is valid
|
|
99
104
|
def valid?
|
|
100
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
101
|
-
return false if @raw_mdl_output.nil?
|
|
102
106
|
true
|
|
103
107
|
end
|
|
104
108
|
|
|
105
|
-
# Custom attribute writer method with validation
|
|
106
|
-
# @param [Object] raw_mdl_output Value to be assigned
|
|
107
|
-
def raw_mdl_output=(raw_mdl_output)
|
|
108
|
-
if raw_mdl_output.nil?
|
|
109
|
-
fail ArgumentError, 'raw_mdl_output cannot be nil'
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
@raw_mdl_output = raw_mdl_output
|
|
113
|
-
end
|
|
114
|
-
|
|
115
109
|
# Checks equality by comparing each attribute.
|
|
116
110
|
# @param [Object] Object to be compared
|
|
117
111
|
def ==(o)
|
|
118
112
|
return true if self.equal?(o)
|
|
119
113
|
self.class == o.class &&
|
|
120
114
|
mobile_drivers_license == o.mobile_drivers_license &&
|
|
115
|
+
digital_id == o.digital_id &&
|
|
121
116
|
raw_mdl_output == o.raw_mdl_output
|
|
122
117
|
end
|
|
123
118
|
|
|
@@ -130,7 +125,7 @@ module TrinsicApi
|
|
|
130
125
|
# Calculates hash code according to all attributes.
|
|
131
126
|
# @return [Integer] Hash code
|
|
132
127
|
def hash
|
|
133
|
-
[mobile_drivers_license, raw_mdl_output].hash
|
|
128
|
+
[mobile_drivers_license, digital_id, raw_mdl_output].hash
|
|
134
129
|
end
|
|
135
130
|
|
|
136
131
|
# Builds the object from hash
|
|
@@ -27,13 +27,17 @@ module TrinsicApi
|
|
|
27
27
|
# The size in bytes of the attachment.
|
|
28
28
|
attr_accessor :size_bytes
|
|
29
29
|
|
|
30
|
+
# Whether the attachment contents are encrypted via HPKE and must be decrypted using your private key.
|
|
31
|
+
attr_accessor :hpke_encrypted
|
|
32
|
+
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
34
|
def self.attribute_map
|
|
32
35
|
{
|
|
33
36
|
:'id' => :'id',
|
|
34
37
|
:'type' => :'type',
|
|
35
38
|
:'content_type' => :'contentType',
|
|
36
|
-
:'size_bytes' => :'sizeBytes'
|
|
39
|
+
:'size_bytes' => :'sizeBytes',
|
|
40
|
+
:'hpke_encrypted' => :'hpkeEncrypted'
|
|
37
41
|
}
|
|
38
42
|
end
|
|
39
43
|
|
|
@@ -53,13 +57,15 @@ module TrinsicApi
|
|
|
53
57
|
:'id' => :'String',
|
|
54
58
|
:'type' => :'String',
|
|
55
59
|
:'content_type' => :'String',
|
|
56
|
-
:'size_bytes' => :'Integer'
|
|
60
|
+
:'size_bytes' => :'Integer',
|
|
61
|
+
:'hpke_encrypted' => :'Boolean'
|
|
57
62
|
}
|
|
58
63
|
end
|
|
59
64
|
|
|
60
65
|
# List of attributes with nullable: true
|
|
61
66
|
def self.openapi_nullable
|
|
62
67
|
Set.new([
|
|
68
|
+
:'hpke_encrypted'
|
|
63
69
|
])
|
|
64
70
|
end
|
|
65
71
|
|
|
@@ -102,6 +108,10 @@ module TrinsicApi
|
|
|
102
108
|
else
|
|
103
109
|
self.size_bytes = nil
|
|
104
110
|
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'hpke_encrypted')
|
|
113
|
+
self.hpke_encrypted = attributes[:'hpke_encrypted']
|
|
114
|
+
end
|
|
105
115
|
end
|
|
106
116
|
|
|
107
117
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -187,7 +197,8 @@ module TrinsicApi
|
|
|
187
197
|
id == o.id &&
|
|
188
198
|
type == o.type &&
|
|
189
199
|
content_type == o.content_type &&
|
|
190
|
-
size_bytes == o.size_bytes
|
|
200
|
+
size_bytes == o.size_bytes &&
|
|
201
|
+
hpke_encrypted == o.hpke_encrypted
|
|
191
202
|
end
|
|
192
203
|
|
|
193
204
|
# @see the `==` method
|
|
@@ -199,7 +210,7 @@ module TrinsicApi
|
|
|
199
210
|
# Calculates hash code according to all attributes.
|
|
200
211
|
# @return [Integer] Hash code
|
|
201
212
|
def hash
|
|
202
|
-
[id, type, content_type, size_bytes].hash
|
|
213
|
+
[id, type, content_type, size_bytes, hpke_encrypted].hash
|
|
203
214
|
end
|
|
204
215
|
|
|
205
216
|
# Builds the object from hash
|
|
@@ -61,6 +61,9 @@ module TrinsicApi
|
|
|
61
61
|
# List of attributes with nullable: true
|
|
62
62
|
def self.openapi_nullable
|
|
63
63
|
Set.new([
|
|
64
|
+
:'national_register_id',
|
|
65
|
+
:'subject_id',
|
|
66
|
+
:'name',
|
|
64
67
|
:'date_of_birth'
|
|
65
68
|
])
|
|
66
69
|
end
|
|
@@ -83,20 +86,14 @@ module TrinsicApi
|
|
|
83
86
|
|
|
84
87
|
if attributes.key?(:'national_register_id')
|
|
85
88
|
self.national_register_id = attributes[:'national_register_id']
|
|
86
|
-
else
|
|
87
|
-
self.national_register_id = nil
|
|
88
89
|
end
|
|
89
90
|
|
|
90
91
|
if attributes.key?(:'subject_id')
|
|
91
92
|
self.subject_id = attributes[:'subject_id']
|
|
92
|
-
else
|
|
93
|
-
self.subject_id = nil
|
|
94
93
|
end
|
|
95
94
|
|
|
96
95
|
if attributes.key?(:'name')
|
|
97
96
|
self.name = attributes[:'name']
|
|
98
|
-
else
|
|
99
|
-
self.name = nil
|
|
100
97
|
end
|
|
101
98
|
|
|
102
99
|
if attributes.key?(:'date_of_birth')
|
|
@@ -109,18 +106,6 @@ module TrinsicApi
|
|
|
109
106
|
def list_invalid_properties
|
|
110
107
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
111
108
|
invalid_properties = Array.new
|
|
112
|
-
if @national_register_id.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "national_register_id", national_register_id cannot be nil.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if @subject_id.nil?
|
|
117
|
-
invalid_properties.push('invalid value for "subject_id", subject_id cannot be nil.')
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if @name.nil?
|
|
121
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
122
|
-
end
|
|
123
|
-
|
|
124
109
|
invalid_properties
|
|
125
110
|
end
|
|
126
111
|
|
|
@@ -128,42 +113,9 @@ module TrinsicApi
|
|
|
128
113
|
# @return true if the model is valid
|
|
129
114
|
def valid?
|
|
130
115
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
131
|
-
return false if @national_register_id.nil?
|
|
132
|
-
return false if @subject_id.nil?
|
|
133
|
-
return false if @name.nil?
|
|
134
116
|
true
|
|
135
117
|
end
|
|
136
118
|
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] national_register_id Value to be assigned
|
|
139
|
-
def national_register_id=(national_register_id)
|
|
140
|
-
if national_register_id.nil?
|
|
141
|
-
fail ArgumentError, 'national_register_id cannot be nil'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@national_register_id = national_register_id
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] subject_id Value to be assigned
|
|
149
|
-
def subject_id=(subject_id)
|
|
150
|
-
if subject_id.nil?
|
|
151
|
-
fail ArgumentError, 'subject_id cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@subject_id = subject_id
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
# Custom attribute writer method with validation
|
|
158
|
-
# @param [Object] name Value to be assigned
|
|
159
|
-
def name=(name)
|
|
160
|
-
if name.nil?
|
|
161
|
-
fail ArgumentError, 'name cannot be nil'
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
@name = name
|
|
165
|
-
end
|
|
166
|
-
|
|
167
119
|
# Checks equality by comparing each attribute.
|
|
168
120
|
# @param [Object] Object to be compared
|
|
169
121
|
def ==(o)
|
|
@@ -51,6 +51,8 @@ module TrinsicApi
|
|
|
51
51
|
# List of attributes with nullable: true
|
|
52
52
|
def self.openapi_nullable
|
|
53
53
|
Set.new([
|
|
54
|
+
:'first_name',
|
|
55
|
+
:'last_name'
|
|
54
56
|
])
|
|
55
57
|
end
|
|
56
58
|
|
|
@@ -72,14 +74,10 @@ module TrinsicApi
|
|
|
72
74
|
|
|
73
75
|
if attributes.key?(:'first_name')
|
|
74
76
|
self.first_name = attributes[:'first_name']
|
|
75
|
-
else
|
|
76
|
-
self.first_name = nil
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'last_name')
|
|
80
80
|
self.last_name = attributes[:'last_name']
|
|
81
|
-
else
|
|
82
|
-
self.last_name = nil
|
|
83
81
|
end
|
|
84
82
|
end
|
|
85
83
|
|
|
@@ -88,14 +86,6 @@ module TrinsicApi
|
|
|
88
86
|
def list_invalid_properties
|
|
89
87
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
90
88
|
invalid_properties = Array.new
|
|
91
|
-
if @first_name.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @last_name.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
|
97
|
-
end
|
|
98
|
-
|
|
99
89
|
invalid_properties
|
|
100
90
|
end
|
|
101
91
|
|
|
@@ -103,31 +93,9 @@ module TrinsicApi
|
|
|
103
93
|
# @return true if the model is valid
|
|
104
94
|
def valid?
|
|
105
95
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
106
|
-
return false if @first_name.nil?
|
|
107
|
-
return false if @last_name.nil?
|
|
108
96
|
true
|
|
109
97
|
end
|
|
110
98
|
|
|
111
|
-
# Custom attribute writer method with validation
|
|
112
|
-
# @param [Object] first_name Value to be assigned
|
|
113
|
-
def first_name=(first_name)
|
|
114
|
-
if first_name.nil?
|
|
115
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
@first_name = first_name
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
# Custom attribute writer method with validation
|
|
122
|
-
# @param [Object] last_name Value to be assigned
|
|
123
|
-
def last_name=(last_name)
|
|
124
|
-
if last_name.nil?
|
|
125
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
@last_name = last_name
|
|
129
|
-
end
|
|
130
|
-
|
|
131
99
|
# Checks equality by comparing each attribute.
|
|
132
100
|
# @param [Object] Object to be compared
|
|
133
101
|
def ==(o)
|