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,160 @@
|
|
|
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 SouthAfricaNidMatch2NationalIdNumberField < ApiModelBase
|
|
18
|
+
# The South African National Identity Number (13 digits) is issued for life by the Department of Home Affairs (DHA) and stored in the Home Affairs National Identification System (HANIS) database. The same number is mandatory for banking, employment, taxation, and voting, and is printed on both the legacy green ID book and the Smart ID Card (rolled out from 2013 onward). Format: - YYMMDD G(4) C A Z - YYMMDD is the date of birth - G(4) is the gender code (below 5000 female, 5000 or above male) - C is the citizenship indicator (0 citizen, 1 permanent resident) - A is reserved (it had a politically sensitive meaning in the past, but is currently semantically meaningless) - Z is a Luhn check digit
|
|
19
|
+
attr_accessor :input_value
|
|
20
|
+
|
|
21
|
+
# The outcome of verifying the national ID number. Possible values: - Verified - Not Verified - Not Done - Issuer Unavailable - Not Returned
|
|
22
|
+
attr_accessor :outcome
|
|
23
|
+
|
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
+
def self.attribute_map
|
|
26
|
+
{
|
|
27
|
+
:'input_value' => :'inputValue',
|
|
28
|
+
:'outcome' => :'outcome'
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Returns attribute mapping this model knows about
|
|
33
|
+
def self.acceptable_attribute_map
|
|
34
|
+
attribute_map
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Returns all the JSON keys this model knows about
|
|
38
|
+
def self.acceptable_attributes
|
|
39
|
+
acceptable_attribute_map.values
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Attribute type mapping.
|
|
43
|
+
def self.openapi_types
|
|
44
|
+
{
|
|
45
|
+
:'input_value' => :'String',
|
|
46
|
+
:'outcome' => :'String'
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# List of attributes with nullable: true
|
|
51
|
+
def self.openapi_nullable
|
|
52
|
+
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
55
|
+
])
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Initializes the object
|
|
59
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
60
|
+
def initialize(attributes = {})
|
|
61
|
+
if (!attributes.is_a?(Hash))
|
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::SouthAfricaNidMatch2NationalIdNumberField` initialize method"
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
66
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
67
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
68
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
69
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SouthAfricaNidMatch2NationalIdNumberField`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
70
|
+
end
|
|
71
|
+
h[k.to_sym] = v
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
if attributes.key?(:'input_value')
|
|
75
|
+
self.input_value = attributes[:'input_value']
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'outcome')
|
|
79
|
+
self.outcome = attributes[:'outcome']
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
84
|
+
# @return Array for valid properties with the reasons
|
|
85
|
+
def list_invalid_properties
|
|
86
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
87
|
+
invalid_properties = Array.new
|
|
88
|
+
invalid_properties
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Check to see if the all the properties in the model are valid
|
|
92
|
+
# @return true if the model is valid
|
|
93
|
+
def valid?
|
|
94
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
95
|
+
true
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Checks equality by comparing each attribute.
|
|
99
|
+
# @param [Object] Object to be compared
|
|
100
|
+
def ==(o)
|
|
101
|
+
return true if self.equal?(o)
|
|
102
|
+
self.class == o.class &&
|
|
103
|
+
input_value == o.input_value &&
|
|
104
|
+
outcome == o.outcome
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# @see the `==` method
|
|
108
|
+
# @param [Object] Object to be compared
|
|
109
|
+
def eql?(o)
|
|
110
|
+
self == o
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Calculates hash code according to all attributes.
|
|
114
|
+
# @return [Integer] Hash code
|
|
115
|
+
def hash
|
|
116
|
+
[input_value, outcome].hash
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Builds the object from hash
|
|
120
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
121
|
+
# @return [Object] Returns the model itself
|
|
122
|
+
def self.build_from_hash(attributes)
|
|
123
|
+
return nil unless attributes.is_a?(Hash)
|
|
124
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
125
|
+
transformed_hash = {}
|
|
126
|
+
openapi_types.each_pair do |key, type|
|
|
127
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
128
|
+
transformed_hash["#{key}"] = nil
|
|
129
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
130
|
+
# check to ensure the input is an array given that the attribute
|
|
131
|
+
# is documented as an array but the input is not
|
|
132
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
133
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
134
|
+
end
|
|
135
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
136
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
new(transformed_hash)
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Returns the object in the form of hash
|
|
143
|
+
# @return [Hash] Returns the object in the form of hash
|
|
144
|
+
def to_hash
|
|
145
|
+
hash = {}
|
|
146
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
147
|
+
value = self.send(attr)
|
|
148
|
+
if value.nil?
|
|
149
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
150
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
hash[param] = _to_hash(value)
|
|
154
|
+
end
|
|
155
|
+
hash
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
end
|
|
@@ -0,0 +1,194 @@
|
|
|
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 `south-africa-nid-match-2` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class SouthAfricaNidMatch2ProviderOutput < ApiModelBase
|
|
19
|
+
# Outcome of the verification of the national ID number.
|
|
20
|
+
attr_accessor :national_id_number
|
|
21
|
+
|
|
22
|
+
# Outcome of the verification of the full name.
|
|
23
|
+
attr_accessor :full_name
|
|
24
|
+
|
|
25
|
+
# Outcome of the verification of the date of birth.
|
|
26
|
+
attr_accessor :date_of_birth
|
|
27
|
+
|
|
28
|
+
# Outcome of the verification of the sex.
|
|
29
|
+
attr_accessor :sex
|
|
30
|
+
|
|
31
|
+
# Citizenship status of the individual, if the ID number is valid. Possible values: - Citizen - PermanentResident
|
|
32
|
+
attr_accessor :citizenship_status
|
|
33
|
+
|
|
34
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
|
+
def self.attribute_map
|
|
36
|
+
{
|
|
37
|
+
:'national_id_number' => :'nationalIdNumber',
|
|
38
|
+
:'full_name' => :'fullName',
|
|
39
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
40
|
+
:'sex' => :'sex',
|
|
41
|
+
:'citizenship_status' => :'citizenshipStatus'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Returns attribute mapping this model knows about
|
|
46
|
+
def self.acceptable_attribute_map
|
|
47
|
+
attribute_map
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Returns all the JSON keys this model knows about
|
|
51
|
+
def self.acceptable_attributes
|
|
52
|
+
acceptable_attribute_map.values
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Attribute type mapping.
|
|
56
|
+
def self.openapi_types
|
|
57
|
+
{
|
|
58
|
+
:'national_id_number' => :'SouthAfricaNidMatch2NationalIdNumberField',
|
|
59
|
+
:'full_name' => :'SouthAfricaNidMatch2FullNameField',
|
|
60
|
+
:'date_of_birth' => :'SouthAfricaNidMatch2DateOfBirthField',
|
|
61
|
+
:'sex' => :'SouthAfricaNidMatch2SexField',
|
|
62
|
+
:'citizenship_status' => :'String'
|
|
63
|
+
}
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# List of attributes with nullable: true
|
|
67
|
+
def self.openapi_nullable
|
|
68
|
+
Set.new([
|
|
69
|
+
:'national_id_number',
|
|
70
|
+
:'full_name',
|
|
71
|
+
:'date_of_birth',
|
|
72
|
+
:'sex',
|
|
73
|
+
:'citizenship_status'
|
|
74
|
+
])
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Initializes the object
|
|
78
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
79
|
+
def initialize(attributes = {})
|
|
80
|
+
if (!attributes.is_a?(Hash))
|
|
81
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::SouthAfricaNidMatch2ProviderOutput` initialize method"
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
85
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
86
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
87
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
88
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SouthAfricaNidMatch2ProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
89
|
+
end
|
|
90
|
+
h[k.to_sym] = v
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if attributes.key?(:'national_id_number')
|
|
94
|
+
self.national_id_number = attributes[:'national_id_number']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'full_name')
|
|
98
|
+
self.full_name = attributes[:'full_name']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'date_of_birth')
|
|
102
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
if attributes.key?(:'sex')
|
|
106
|
+
self.sex = attributes[:'sex']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'citizenship_status')
|
|
110
|
+
self.citizenship_status = attributes[:'citizenship_status']
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
115
|
+
# @return Array for valid properties with the reasons
|
|
116
|
+
def list_invalid_properties
|
|
117
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
118
|
+
invalid_properties = Array.new
|
|
119
|
+
invalid_properties
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Check to see if the all the properties in the model are valid
|
|
123
|
+
# @return true if the model is valid
|
|
124
|
+
def valid?
|
|
125
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
126
|
+
true
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Checks equality by comparing each attribute.
|
|
130
|
+
# @param [Object] Object to be compared
|
|
131
|
+
def ==(o)
|
|
132
|
+
return true if self.equal?(o)
|
|
133
|
+
self.class == o.class &&
|
|
134
|
+
national_id_number == o.national_id_number &&
|
|
135
|
+
full_name == o.full_name &&
|
|
136
|
+
date_of_birth == o.date_of_birth &&
|
|
137
|
+
sex == o.sex &&
|
|
138
|
+
citizenship_status == o.citizenship_status
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# @see the `==` method
|
|
142
|
+
# @param [Object] Object to be compared
|
|
143
|
+
def eql?(o)
|
|
144
|
+
self == o
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Calculates hash code according to all attributes.
|
|
148
|
+
# @return [Integer] Hash code
|
|
149
|
+
def hash
|
|
150
|
+
[national_id_number, full_name, date_of_birth, sex, citizenship_status].hash
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Builds the object from hash
|
|
154
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
155
|
+
# @return [Object] Returns the model itself
|
|
156
|
+
def self.build_from_hash(attributes)
|
|
157
|
+
return nil unless attributes.is_a?(Hash)
|
|
158
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
159
|
+
transformed_hash = {}
|
|
160
|
+
openapi_types.each_pair do |key, type|
|
|
161
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
162
|
+
transformed_hash["#{key}"] = nil
|
|
163
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
164
|
+
# check to ensure the input is an array given that the attribute
|
|
165
|
+
# is documented as an array but the input is not
|
|
166
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
167
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
168
|
+
end
|
|
169
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
170
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
new(transformed_hash)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Returns the object in the form of hash
|
|
177
|
+
# @return [Hash] Returns the object in the form of hash
|
|
178
|
+
def to_hash
|
|
179
|
+
hash = {}
|
|
180
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
181
|
+
value = self.send(attr)
|
|
182
|
+
if value.nil?
|
|
183
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
184
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
hash[param] = _to_hash(value)
|
|
188
|
+
end
|
|
189
|
+
hash
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
end
|
|
@@ -0,0 +1,160 @@
|
|
|
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 SouthAfricaNidMatch2SexField < ApiModelBase
|
|
18
|
+
# The sex value submitted for this check. Possible input values: - Male - Female
|
|
19
|
+
attr_accessor :input_value
|
|
20
|
+
|
|
21
|
+
# The outcome of comparing the submitted sex to the issuer record. Possible values: - Exact Match - No Match - Not Provided - Not Returned
|
|
22
|
+
attr_accessor :outcome
|
|
23
|
+
|
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
+
def self.attribute_map
|
|
26
|
+
{
|
|
27
|
+
:'input_value' => :'inputValue',
|
|
28
|
+
:'outcome' => :'outcome'
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Returns attribute mapping this model knows about
|
|
33
|
+
def self.acceptable_attribute_map
|
|
34
|
+
attribute_map
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Returns all the JSON keys this model knows about
|
|
38
|
+
def self.acceptable_attributes
|
|
39
|
+
acceptable_attribute_map.values
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Attribute type mapping.
|
|
43
|
+
def self.openapi_types
|
|
44
|
+
{
|
|
45
|
+
:'input_value' => :'String',
|
|
46
|
+
:'outcome' => :'String'
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# List of attributes with nullable: true
|
|
51
|
+
def self.openapi_nullable
|
|
52
|
+
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
55
|
+
])
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Initializes the object
|
|
59
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
60
|
+
def initialize(attributes = {})
|
|
61
|
+
if (!attributes.is_a?(Hash))
|
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::SouthAfricaNidMatch2SexField` initialize method"
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
66
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
67
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
68
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
69
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SouthAfricaNidMatch2SexField`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
70
|
+
end
|
|
71
|
+
h[k.to_sym] = v
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
if attributes.key?(:'input_value')
|
|
75
|
+
self.input_value = attributes[:'input_value']
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'outcome')
|
|
79
|
+
self.outcome = attributes[:'outcome']
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
84
|
+
# @return Array for valid properties with the reasons
|
|
85
|
+
def list_invalid_properties
|
|
86
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
87
|
+
invalid_properties = Array.new
|
|
88
|
+
invalid_properties
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Check to see if the all the properties in the model are valid
|
|
92
|
+
# @return true if the model is valid
|
|
93
|
+
def valid?
|
|
94
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
95
|
+
true
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Checks equality by comparing each attribute.
|
|
99
|
+
# @param [Object] Object to be compared
|
|
100
|
+
def ==(o)
|
|
101
|
+
return true if self.equal?(o)
|
|
102
|
+
self.class == o.class &&
|
|
103
|
+
input_value == o.input_value &&
|
|
104
|
+
outcome == o.outcome
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# @see the `==` method
|
|
108
|
+
# @param [Object] Object to be compared
|
|
109
|
+
def eql?(o)
|
|
110
|
+
self == o
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Calculates hash code according to all attributes.
|
|
114
|
+
# @return [Integer] Hash code
|
|
115
|
+
def hash
|
|
116
|
+
[input_value, outcome].hash
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Builds the object from hash
|
|
120
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
121
|
+
# @return [Object] Returns the model itself
|
|
122
|
+
def self.build_from_hash(attributes)
|
|
123
|
+
return nil unless attributes.is_a?(Hash)
|
|
124
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
125
|
+
transformed_hash = {}
|
|
126
|
+
openapi_types.each_pair do |key, type|
|
|
127
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
128
|
+
transformed_hash["#{key}"] = nil
|
|
129
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
130
|
+
# check to ensure the input is an array given that the attribute
|
|
131
|
+
# is documented as an array but the input is not
|
|
132
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
133
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
134
|
+
end
|
|
135
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
136
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
new(transformed_hash)
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Returns the object in the form of hash
|
|
143
|
+
# @return [Hash] Returns the object in the form of hash
|
|
144
|
+
def to_hash
|
|
145
|
+
hash = {}
|
|
146
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
147
|
+
value = self.send(attr)
|
|
148
|
+
if value.nil?
|
|
149
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
150
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
hash[param] = _to_hash(value)
|
|
154
|
+
end
|
|
155
|
+
hash
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
end
|
|
@@ -56,6 +56,9 @@ module TrinsicApi
|
|
|
56
56
|
# List of attributes with nullable: true
|
|
57
57
|
def self.openapi_nullable
|
|
58
58
|
Set.new([
|
|
59
|
+
:'is_billable',
|
|
60
|
+
:'verification_type',
|
|
61
|
+
:'verification_level'
|
|
59
62
|
])
|
|
60
63
|
end
|
|
61
64
|
|
|
@@ -77,20 +80,14 @@ module TrinsicApi
|
|
|
77
80
|
|
|
78
81
|
if attributes.key?(:'is_billable')
|
|
79
82
|
self.is_billable = attributes[:'is_billable']
|
|
80
|
-
else
|
|
81
|
-
self.is_billable = nil
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
if attributes.key?(:'verification_type')
|
|
85
86
|
self.verification_type = attributes[:'verification_type']
|
|
86
|
-
else
|
|
87
|
-
self.verification_type = nil
|
|
88
87
|
end
|
|
89
88
|
|
|
90
89
|
if attributes.key?(:'verification_level')
|
|
91
90
|
self.verification_level = attributes[:'verification_level']
|
|
92
|
-
else
|
|
93
|
-
self.verification_level = nil
|
|
94
91
|
end
|
|
95
92
|
end
|
|
96
93
|
|
|
@@ -99,18 +96,6 @@ module TrinsicApi
|
|
|
99
96
|
def list_invalid_properties
|
|
100
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
101
98
|
invalid_properties = Array.new
|
|
102
|
-
if @is_billable.nil?
|
|
103
|
-
invalid_properties.push('invalid value for "is_billable", is_billable cannot be nil.')
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if @verification_type.nil?
|
|
107
|
-
invalid_properties.push('invalid value for "verification_type", verification_type cannot be nil.')
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if @verification_level.nil?
|
|
111
|
-
invalid_properties.push('invalid value for "verification_level", verification_level cannot be nil.')
|
|
112
|
-
end
|
|
113
|
-
|
|
114
99
|
invalid_properties
|
|
115
100
|
end
|
|
116
101
|
|
|
@@ -118,42 +103,9 @@ module TrinsicApi
|
|
|
118
103
|
# @return true if the model is valid
|
|
119
104
|
def valid?
|
|
120
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
121
|
-
return false if @is_billable.nil?
|
|
122
|
-
return false if @verification_type.nil?
|
|
123
|
-
return false if @verification_level.nil?
|
|
124
106
|
true
|
|
125
107
|
end
|
|
126
108
|
|
|
127
|
-
# Custom attribute writer method with validation
|
|
128
|
-
# @param [Object] is_billable Value to be assigned
|
|
129
|
-
def is_billable=(is_billable)
|
|
130
|
-
if is_billable.nil?
|
|
131
|
-
fail ArgumentError, 'is_billable cannot be nil'
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
@is_billable = is_billable
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] verification_type Value to be assigned
|
|
139
|
-
def verification_type=(verification_type)
|
|
140
|
-
if verification_type.nil?
|
|
141
|
-
fail ArgumentError, 'verification_type cannot be nil'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@verification_type = verification_type
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] verification_level Value to be assigned
|
|
149
|
-
def verification_level=(verification_level)
|
|
150
|
-
if verification_level.nil?
|
|
151
|
-
fail ArgumentError, 'verification_level cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@verification_level = verification_level
|
|
155
|
-
end
|
|
156
|
-
|
|
157
109
|
# Checks equality by comparing each attribute.
|
|
158
110
|
# @param [Object] Object to be compared
|
|
159
111
|
def ==(o)
|
|
@@ -162,6 +162,8 @@ module TrinsicApi
|
|
|
162
162
|
def self.openapi_nullable
|
|
163
163
|
Set.new([
|
|
164
164
|
:'billing_information',
|
|
165
|
+
:'identity_provider_entity_id',
|
|
166
|
+
:'spid_code',
|
|
165
167
|
:'spid_credential_expiration_date',
|
|
166
168
|
:'raw_id_card',
|
|
167
169
|
:'given_name',
|
|
@@ -208,14 +210,10 @@ module TrinsicApi
|
|
|
208
210
|
|
|
209
211
|
if attributes.key?(:'identity_provider_entity_id')
|
|
210
212
|
self.identity_provider_entity_id = attributes[:'identity_provider_entity_id']
|
|
211
|
-
else
|
|
212
|
-
self.identity_provider_entity_id = nil
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
if attributes.key?(:'spid_code')
|
|
216
216
|
self.spid_code = attributes[:'spid_code']
|
|
217
|
-
else
|
|
218
|
-
self.spid_code = nil
|
|
219
217
|
end
|
|
220
218
|
|
|
221
219
|
if attributes.key?(:'spid_credential_expiration_date')
|
|
@@ -308,14 +306,6 @@ module TrinsicApi
|
|
|
308
306
|
def list_invalid_properties
|
|
309
307
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
310
308
|
invalid_properties = Array.new
|
|
311
|
-
if @identity_provider_entity_id.nil?
|
|
312
|
-
invalid_properties.push('invalid value for "identity_provider_entity_id", identity_provider_entity_id cannot be nil.')
|
|
313
|
-
end
|
|
314
|
-
|
|
315
|
-
if @spid_code.nil?
|
|
316
|
-
invalid_properties.push('invalid value for "spid_code", spid_code cannot be nil.')
|
|
317
|
-
end
|
|
318
|
-
|
|
319
309
|
invalid_properties
|
|
320
310
|
end
|
|
321
311
|
|
|
@@ -323,31 +313,9 @@ module TrinsicApi
|
|
|
323
313
|
# @return true if the model is valid
|
|
324
314
|
def valid?
|
|
325
315
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
326
|
-
return false if @identity_provider_entity_id.nil?
|
|
327
|
-
return false if @spid_code.nil?
|
|
328
316
|
true
|
|
329
317
|
end
|
|
330
318
|
|
|
331
|
-
# Custom attribute writer method with validation
|
|
332
|
-
# @param [Object] identity_provider_entity_id Value to be assigned
|
|
333
|
-
def identity_provider_entity_id=(identity_provider_entity_id)
|
|
334
|
-
if identity_provider_entity_id.nil?
|
|
335
|
-
fail ArgumentError, 'identity_provider_entity_id cannot be nil'
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
@identity_provider_entity_id = identity_provider_entity_id
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
# Custom attribute writer method with validation
|
|
342
|
-
# @param [Object] spid_code Value to be assigned
|
|
343
|
-
def spid_code=(spid_code)
|
|
344
|
-
if spid_code.nil?
|
|
345
|
-
fail ArgumentError, 'spid_code cannot be nil'
|
|
346
|
-
end
|
|
347
|
-
|
|
348
|
-
@spid_code = spid_code
|
|
349
|
-
end
|
|
350
|
-
|
|
351
319
|
# Checks equality by comparing each attribute.
|
|
352
320
|
# @param [Object] Object to be compared
|
|
353
321
|
def ==(o)
|