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,237 @@
|
|
|
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 InteracProviderOutput < ApiModelBase
|
|
18
|
+
# The OpenID Connect subject identifier for the verified individual.
|
|
19
|
+
attr_accessor :sub
|
|
20
|
+
|
|
21
|
+
# The given name of the verified individual.
|
|
22
|
+
attr_accessor :given_name
|
|
23
|
+
|
|
24
|
+
# The middle name of the verified individual.
|
|
25
|
+
attr_accessor :middle_name
|
|
26
|
+
|
|
27
|
+
# The family name of the verified individual.
|
|
28
|
+
attr_accessor :family_name
|
|
29
|
+
|
|
30
|
+
# The title or honorific of the verified individual, when supplied by the source.
|
|
31
|
+
attr_accessor :title
|
|
32
|
+
|
|
33
|
+
# The date of birth of the verified individual.
|
|
34
|
+
attr_accessor :date_of_birth
|
|
35
|
+
|
|
36
|
+
# The email address of the verified individual.
|
|
37
|
+
attr_accessor :email
|
|
38
|
+
|
|
39
|
+
# The phone number of the verified individual in E.164 format.
|
|
40
|
+
attr_accessor :phone_number
|
|
41
|
+
|
|
42
|
+
# The verified address.
|
|
43
|
+
attr_accessor :address
|
|
44
|
+
|
|
45
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
|
+
def self.attribute_map
|
|
47
|
+
{
|
|
48
|
+
:'sub' => :'sub',
|
|
49
|
+
:'given_name' => :'givenName',
|
|
50
|
+
:'middle_name' => :'middleName',
|
|
51
|
+
:'family_name' => :'familyName',
|
|
52
|
+
:'title' => :'title',
|
|
53
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
54
|
+
:'email' => :'email',
|
|
55
|
+
:'phone_number' => :'phoneNumber',
|
|
56
|
+
:'address' => :'address'
|
|
57
|
+
}
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Returns attribute mapping this model knows about
|
|
61
|
+
def self.acceptable_attribute_map
|
|
62
|
+
attribute_map
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Returns all the JSON keys this model knows about
|
|
66
|
+
def self.acceptable_attributes
|
|
67
|
+
acceptable_attribute_map.values
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Attribute type mapping.
|
|
71
|
+
def self.openapi_types
|
|
72
|
+
{
|
|
73
|
+
:'sub' => :'String',
|
|
74
|
+
:'given_name' => :'String',
|
|
75
|
+
:'middle_name' => :'String',
|
|
76
|
+
:'family_name' => :'String',
|
|
77
|
+
:'title' => :'String',
|
|
78
|
+
:'date_of_birth' => :'Date',
|
|
79
|
+
:'email' => :'String',
|
|
80
|
+
:'phone_number' => :'String',
|
|
81
|
+
:'address' => :'InteracAddress'
|
|
82
|
+
}
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# List of attributes with nullable: true
|
|
86
|
+
def self.openapi_nullable
|
|
87
|
+
Set.new([
|
|
88
|
+
:'sub',
|
|
89
|
+
:'given_name',
|
|
90
|
+
:'middle_name',
|
|
91
|
+
:'family_name',
|
|
92
|
+
:'title',
|
|
93
|
+
:'date_of_birth',
|
|
94
|
+
:'email',
|
|
95
|
+
:'phone_number',
|
|
96
|
+
:'address'
|
|
97
|
+
])
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Initializes the object
|
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
102
|
+
def initialize(attributes = {})
|
|
103
|
+
if (!attributes.is_a?(Hash))
|
|
104
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::InteracProviderOutput` initialize method"
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
108
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
109
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
110
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
111
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::InteracProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
112
|
+
end
|
|
113
|
+
h[k.to_sym] = v
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'sub')
|
|
117
|
+
self.sub = attributes[:'sub']
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'given_name')
|
|
121
|
+
self.given_name = attributes[:'given_name']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'middle_name')
|
|
125
|
+
self.middle_name = attributes[:'middle_name']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
if attributes.key?(:'family_name')
|
|
129
|
+
self.family_name = attributes[:'family_name']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'title')
|
|
133
|
+
self.title = attributes[:'title']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'date_of_birth')
|
|
137
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
if attributes.key?(:'email')
|
|
141
|
+
self.email = attributes[:'email']
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.key?(:'phone_number')
|
|
145
|
+
self.phone_number = attributes[:'phone_number']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.key?(:'address')
|
|
149
|
+
self.address = attributes[:'address']
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
154
|
+
# @return Array for valid properties with the reasons
|
|
155
|
+
def list_invalid_properties
|
|
156
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
157
|
+
invalid_properties = Array.new
|
|
158
|
+
invalid_properties
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Check to see if the all the properties in the model are valid
|
|
162
|
+
# @return true if the model is valid
|
|
163
|
+
def valid?
|
|
164
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
165
|
+
true
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Checks equality by comparing each attribute.
|
|
169
|
+
# @param [Object] Object to be compared
|
|
170
|
+
def ==(o)
|
|
171
|
+
return true if self.equal?(o)
|
|
172
|
+
self.class == o.class &&
|
|
173
|
+
sub == o.sub &&
|
|
174
|
+
given_name == o.given_name &&
|
|
175
|
+
middle_name == o.middle_name &&
|
|
176
|
+
family_name == o.family_name &&
|
|
177
|
+
title == o.title &&
|
|
178
|
+
date_of_birth == o.date_of_birth &&
|
|
179
|
+
email == o.email &&
|
|
180
|
+
phone_number == o.phone_number &&
|
|
181
|
+
address == o.address
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# @see the `==` method
|
|
185
|
+
# @param [Object] Object to be compared
|
|
186
|
+
def eql?(o)
|
|
187
|
+
self == o
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# Calculates hash code according to all attributes.
|
|
191
|
+
# @return [Integer] Hash code
|
|
192
|
+
def hash
|
|
193
|
+
[sub, given_name, middle_name, family_name, title, date_of_birth, email, phone_number, address].hash
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Builds the object from hash
|
|
197
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
198
|
+
# @return [Object] Returns the model itself
|
|
199
|
+
def self.build_from_hash(attributes)
|
|
200
|
+
return nil unless attributes.is_a?(Hash)
|
|
201
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
202
|
+
transformed_hash = {}
|
|
203
|
+
openapi_types.each_pair do |key, type|
|
|
204
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
205
|
+
transformed_hash["#{key}"] = nil
|
|
206
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
207
|
+
# check to ensure the input is an array given that the attribute
|
|
208
|
+
# is documented as an array but the input is not
|
|
209
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
210
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
211
|
+
end
|
|
212
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
213
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
new(transformed_hash)
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# Returns the object in the form of hash
|
|
220
|
+
# @return [Hash] Returns the object in the form of hash
|
|
221
|
+
def to_hash
|
|
222
|
+
hash = {}
|
|
223
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
224
|
+
value = self.send(attr)
|
|
225
|
+
if value.nil?
|
|
226
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
227
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
hash[param] = _to_hash(value)
|
|
231
|
+
end
|
|
232
|
+
hash
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
end
|
|
@@ -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
|
+
:'product_owner',
|
|
55
|
+
:'product_type'
|
|
54
56
|
])
|
|
55
57
|
end
|
|
56
58
|
|
|
@@ -72,14 +74,10 @@ module TrinsicApi
|
|
|
72
74
|
|
|
73
75
|
if attributes.key?(:'product_owner')
|
|
74
76
|
self.product_owner = attributes[:'product_owner']
|
|
75
|
-
else
|
|
76
|
-
self.product_owner = nil
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'product_type')
|
|
80
80
|
self.product_type = attributes[:'product_type']
|
|
81
|
-
else
|
|
82
|
-
self.product_type = 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 @product_owner.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "product_owner", product_owner cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @product_type.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "product_type", product_type 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 @product_owner.nil?
|
|
107
|
-
return false if @product_type.nil?
|
|
108
96
|
true
|
|
109
97
|
end
|
|
110
98
|
|
|
111
|
-
# Custom attribute writer method with validation
|
|
112
|
-
# @param [Object] product_owner Value to be assigned
|
|
113
|
-
def product_owner=(product_owner)
|
|
114
|
-
if product_owner.nil?
|
|
115
|
-
fail ArgumentError, 'product_owner cannot be nil'
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
@product_owner = product_owner
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
# Custom attribute writer method with validation
|
|
122
|
-
# @param [Object] product_type Value to be assigned
|
|
123
|
-
def product_type=(product_type)
|
|
124
|
-
if product_type.nil?
|
|
125
|
-
fail ArgumentError, 'product_type cannot be nil'
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
@product_type = product_type
|
|
129
|
-
end
|
|
130
|
-
|
|
131
99
|
# Checks equality by comparing each attribute.
|
|
132
100
|
# @param [Object] Object to be compared
|
|
133
101
|
def ==(o)
|
|
@@ -46,6 +46,7 @@ module TrinsicApi
|
|
|
46
46
|
# List of attributes with nullable: true
|
|
47
47
|
def self.openapi_nullable
|
|
48
48
|
Set.new([
|
|
49
|
+
:'templates'
|
|
49
50
|
])
|
|
50
51
|
end
|
|
51
52
|
|
|
@@ -69,8 +70,6 @@ module TrinsicApi
|
|
|
69
70
|
if (value = attributes[:'templates']).is_a?(Array)
|
|
70
71
|
self.templates = value
|
|
71
72
|
end
|
|
72
|
-
else
|
|
73
|
-
self.templates = nil
|
|
74
73
|
end
|
|
75
74
|
end
|
|
76
75
|
|
|
@@ -79,10 +78,6 @@ module TrinsicApi
|
|
|
79
78
|
def list_invalid_properties
|
|
80
79
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
81
80
|
invalid_properties = Array.new
|
|
82
|
-
if @templates.nil?
|
|
83
|
-
invalid_properties.push('invalid value for "templates", templates cannot be nil.')
|
|
84
|
-
end
|
|
85
|
-
|
|
86
81
|
invalid_properties
|
|
87
82
|
end
|
|
88
83
|
|
|
@@ -90,20 +85,9 @@ module TrinsicApi
|
|
|
90
85
|
# @return true if the model is valid
|
|
91
86
|
def valid?
|
|
92
87
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
93
|
-
return false if @templates.nil?
|
|
94
88
|
true
|
|
95
89
|
end
|
|
96
90
|
|
|
97
|
-
# Custom attribute writer method with validation
|
|
98
|
-
# @param [Object] templates Value to be assigned
|
|
99
|
-
def templates=(templates)
|
|
100
|
-
if templates.nil?
|
|
101
|
-
fail ArgumentError, 'templates cannot be nil'
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
@templates = templates
|
|
105
|
-
end
|
|
106
|
-
|
|
107
91
|
# Checks equality by comparing each attribute.
|
|
108
92
|
# @param [Object] Object to be compared
|
|
109
93
|
def ==(o)
|
|
@@ -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
|
+
:'header',
|
|
65
|
+
:'data_block',
|
|
66
|
+
:'data_is_encrypted',
|
|
64
67
|
:'biometric_information_record_payload'
|
|
65
68
|
])
|
|
66
69
|
end
|
|
@@ -83,20 +86,14 @@ module TrinsicApi
|
|
|
83
86
|
|
|
84
87
|
if attributes.key?(:'header')
|
|
85
88
|
self.header = attributes[:'header']
|
|
86
|
-
else
|
|
87
|
-
self.header = nil
|
|
88
89
|
end
|
|
89
90
|
|
|
90
91
|
if attributes.key?(:'data_block')
|
|
91
92
|
self.data_block = attributes[:'data_block']
|
|
92
|
-
else
|
|
93
|
-
self.data_block = nil
|
|
94
93
|
end
|
|
95
94
|
|
|
96
95
|
if attributes.key?(:'data_is_encrypted')
|
|
97
96
|
self.data_is_encrypted = attributes[:'data_is_encrypted']
|
|
98
|
-
else
|
|
99
|
-
self.data_is_encrypted = nil
|
|
100
97
|
end
|
|
101
98
|
|
|
102
99
|
if attributes.key?(:'biometric_information_record_payload')
|
|
@@ -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 @header.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "header", header cannot be nil.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if @data_block.nil?
|
|
117
|
-
invalid_properties.push('invalid value for "data_block", data_block cannot be nil.')
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if @data_is_encrypted.nil?
|
|
121
|
-
invalid_properties.push('invalid value for "data_is_encrypted", data_is_encrypted 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 @header.nil?
|
|
132
|
-
return false if @data_block.nil?
|
|
133
|
-
return false if @data_is_encrypted.nil?
|
|
134
116
|
true
|
|
135
117
|
end
|
|
136
118
|
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] header Value to be assigned
|
|
139
|
-
def header=(header)
|
|
140
|
-
if header.nil?
|
|
141
|
-
fail ArgumentError, 'header cannot be nil'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@header = header
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] data_block Value to be assigned
|
|
149
|
-
def data_block=(data_block)
|
|
150
|
-
if data_block.nil?
|
|
151
|
-
fail ArgumentError, 'data_block cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@data_block = data_block
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
# Custom attribute writer method with validation
|
|
158
|
-
# @param [Object] data_is_encrypted Value to be assigned
|
|
159
|
-
def data_is_encrypted=(data_is_encrypted)
|
|
160
|
-
if data_is_encrypted.nil?
|
|
161
|
-
fail ArgumentError, 'data_is_encrypted cannot be nil'
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
@data_is_encrypted = data_is_encrypted
|
|
165
|
-
end
|
|
166
|
-
|
|
167
119
|
# Checks equality by comparing each attribute.
|
|
168
120
|
# @param [Object] Object to be compared
|
|
169
121
|
def ==(o)
|
|
@@ -91,12 +91,15 @@ module TrinsicApi
|
|
|
91
91
|
# List of attributes with nullable: true
|
|
92
92
|
def self.openapi_nullable
|
|
93
93
|
Set.new([
|
|
94
|
+
:'patron_header_version',
|
|
94
95
|
:'biometric_type',
|
|
95
96
|
:'biometric_sub_type',
|
|
96
97
|
:'creation_date',
|
|
97
98
|
:'biometric_information_record_creator',
|
|
98
99
|
:'validity_period',
|
|
99
100
|
:'biometric_data_block_product',
|
|
101
|
+
:'biometric_data_block_format_owner',
|
|
102
|
+
:'biometric_data_block_format_type',
|
|
100
103
|
:'biometric_information_record_index'
|
|
101
104
|
])
|
|
102
105
|
end
|
|
@@ -119,8 +122,6 @@ module TrinsicApi
|
|
|
119
122
|
|
|
120
123
|
if attributes.key?(:'patron_header_version')
|
|
121
124
|
self.patron_header_version = attributes[:'patron_header_version']
|
|
122
|
-
else
|
|
123
|
-
self.patron_header_version = nil
|
|
124
125
|
end
|
|
125
126
|
|
|
126
127
|
if attributes.key?(:'biometric_type')
|
|
@@ -149,14 +150,10 @@ module TrinsicApi
|
|
|
149
150
|
|
|
150
151
|
if attributes.key?(:'biometric_data_block_format_owner')
|
|
151
152
|
self.biometric_data_block_format_owner = attributes[:'biometric_data_block_format_owner']
|
|
152
|
-
else
|
|
153
|
-
self.biometric_data_block_format_owner = nil
|
|
154
153
|
end
|
|
155
154
|
|
|
156
155
|
if attributes.key?(:'biometric_data_block_format_type')
|
|
157
156
|
self.biometric_data_block_format_type = attributes[:'biometric_data_block_format_type']
|
|
158
|
-
else
|
|
159
|
-
self.biometric_data_block_format_type = nil
|
|
160
157
|
end
|
|
161
158
|
|
|
162
159
|
if attributes.key?(:'biometric_information_record_index')
|
|
@@ -169,18 +166,6 @@ module TrinsicApi
|
|
|
169
166
|
def list_invalid_properties
|
|
170
167
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
171
168
|
invalid_properties = Array.new
|
|
172
|
-
if @patron_header_version.nil?
|
|
173
|
-
invalid_properties.push('invalid value for "patron_header_version", patron_header_version cannot be nil.')
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
if @biometric_data_block_format_owner.nil?
|
|
177
|
-
invalid_properties.push('invalid value for "biometric_data_block_format_owner", biometric_data_block_format_owner cannot be nil.')
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
if @biometric_data_block_format_type.nil?
|
|
181
|
-
invalid_properties.push('invalid value for "biometric_data_block_format_type", biometric_data_block_format_type cannot be nil.')
|
|
182
|
-
end
|
|
183
|
-
|
|
184
169
|
invalid_properties
|
|
185
170
|
end
|
|
186
171
|
|
|
@@ -188,42 +173,9 @@ module TrinsicApi
|
|
|
188
173
|
# @return true if the model is valid
|
|
189
174
|
def valid?
|
|
190
175
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
191
|
-
return false if @patron_header_version.nil?
|
|
192
|
-
return false if @biometric_data_block_format_owner.nil?
|
|
193
|
-
return false if @biometric_data_block_format_type.nil?
|
|
194
176
|
true
|
|
195
177
|
end
|
|
196
178
|
|
|
197
|
-
# Custom attribute writer method with validation
|
|
198
|
-
# @param [Object] patron_header_version Value to be assigned
|
|
199
|
-
def patron_header_version=(patron_header_version)
|
|
200
|
-
if patron_header_version.nil?
|
|
201
|
-
fail ArgumentError, 'patron_header_version cannot be nil'
|
|
202
|
-
end
|
|
203
|
-
|
|
204
|
-
@patron_header_version = patron_header_version
|
|
205
|
-
end
|
|
206
|
-
|
|
207
|
-
# Custom attribute writer method with validation
|
|
208
|
-
# @param [Object] biometric_data_block_format_owner Value to be assigned
|
|
209
|
-
def biometric_data_block_format_owner=(biometric_data_block_format_owner)
|
|
210
|
-
if biometric_data_block_format_owner.nil?
|
|
211
|
-
fail ArgumentError, 'biometric_data_block_format_owner cannot be nil'
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
@biometric_data_block_format_owner = biometric_data_block_format_owner
|
|
215
|
-
end
|
|
216
|
-
|
|
217
|
-
# Custom attribute writer method with validation
|
|
218
|
-
# @param [Object] biometric_data_block_format_type Value to be assigned
|
|
219
|
-
def biometric_data_block_format_type=(biometric_data_block_format_type)
|
|
220
|
-
if biometric_data_block_format_type.nil?
|
|
221
|
-
fail ArgumentError, 'biometric_data_block_format_type cannot be nil'
|
|
222
|
-
end
|
|
223
|
-
|
|
224
|
-
@biometric_data_block_format_type = biometric_data_block_format_type
|
|
225
|
-
end
|
|
226
|
-
|
|
227
179
|
# Checks equality by comparing each attribute.
|
|
228
180
|
# @param [Object] Object to be compared
|
|
229
181
|
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
|
+
:'not_before',
|
|
55
|
+
:'not_after'
|
|
54
56
|
])
|
|
55
57
|
end
|
|
56
58
|
|
|
@@ -72,14 +74,10 @@ module TrinsicApi
|
|
|
72
74
|
|
|
73
75
|
if attributes.key?(:'not_before')
|
|
74
76
|
self.not_before = attributes[:'not_before']
|
|
75
|
-
else
|
|
76
|
-
self.not_before = nil
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'not_after')
|
|
80
80
|
self.not_after = attributes[:'not_after']
|
|
81
|
-
else
|
|
82
|
-
self.not_after = 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 @not_before.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "not_before", not_before cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @not_after.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "not_after", not_after 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 @not_before.nil?
|
|
107
|
-
return false if @not_after.nil?
|
|
108
96
|
true
|
|
109
97
|
end
|
|
110
98
|
|
|
111
|
-
# Custom attribute writer method with validation
|
|
112
|
-
# @param [Object] not_before Value to be assigned
|
|
113
|
-
def not_before=(not_before)
|
|
114
|
-
if not_before.nil?
|
|
115
|
-
fail ArgumentError, 'not_before cannot be nil'
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
@not_before = not_before
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
# Custom attribute writer method with validation
|
|
122
|
-
# @param [Object] not_after Value to be assigned
|
|
123
|
-
def not_after=(not_after)
|
|
124
|
-
if not_after.nil?
|
|
125
|
-
fail ArgumentError, 'not_after cannot be nil'
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
@not_after = not_after
|
|
129
|
-
end
|
|
130
|
-
|
|
131
99
|
# Checks equality by comparing each attribute.
|
|
132
100
|
# @param [Object] Object to be compared
|
|
133
101
|
def ==(o)
|
|
@@ -61,6 +61,8 @@ module TrinsicApi
|
|
|
61
61
|
# List of attributes with nullable: true
|
|
62
62
|
def self.openapi_nullable
|
|
63
63
|
Set.new([
|
|
64
|
+
:'code',
|
|
65
|
+
:'description',
|
|
64
66
|
:'issue_date',
|
|
65
67
|
:'expiry_date'
|
|
66
68
|
])
|
|
@@ -84,14 +86,10 @@ module TrinsicApi
|
|
|
84
86
|
|
|
85
87
|
if attributes.key?(:'code')
|
|
86
88
|
self.code = attributes[:'code']
|
|
87
|
-
else
|
|
88
|
-
self.code = nil
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
if attributes.key?(:'description')
|
|
92
92
|
self.description = attributes[:'description']
|
|
93
|
-
else
|
|
94
|
-
self.description = nil
|
|
95
93
|
end
|
|
96
94
|
|
|
97
95
|
if attributes.key?(:'issue_date')
|
|
@@ -108,14 +106,6 @@ module TrinsicApi
|
|
|
108
106
|
def list_invalid_properties
|
|
109
107
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
110
108
|
invalid_properties = Array.new
|
|
111
|
-
if @code.nil?
|
|
112
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
if @description.nil?
|
|
116
|
-
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
|
117
|
-
end
|
|
118
|
-
|
|
119
109
|
invalid_properties
|
|
120
110
|
end
|
|
121
111
|
|
|
@@ -123,31 +113,9 @@ module TrinsicApi
|
|
|
123
113
|
# @return true if the model is valid
|
|
124
114
|
def valid?
|
|
125
115
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
126
|
-
return false if @code.nil?
|
|
127
|
-
return false if @description.nil?
|
|
128
116
|
true
|
|
129
117
|
end
|
|
130
118
|
|
|
131
|
-
# Custom attribute writer method with validation
|
|
132
|
-
# @param [Object] code Value to be assigned
|
|
133
|
-
def code=(code)
|
|
134
|
-
if code.nil?
|
|
135
|
-
fail ArgumentError, 'code cannot be nil'
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
@code = code
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
# Custom attribute writer method with validation
|
|
142
|
-
# @param [Object] description Value to be assigned
|
|
143
|
-
def description=(description)
|
|
144
|
-
if description.nil?
|
|
145
|
-
fail ArgumentError, 'description cannot be nil'
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
@description = description
|
|
149
|
-
end
|
|
150
|
-
|
|
151
119
|
# Checks equality by comparing each attribute.
|
|
152
120
|
# @param [Object] Object to be compared
|
|
153
121
|
def ==(o)
|