trinsic_api 3.1.0.pre.preview1 → 3.2.0

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.
Files changed (281) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AgeOverOutput.md +20 -0
  3. data/docs/AppleWalletDigitalIdBirthDate.md +20 -0
  4. data/docs/AppleWalletDigitalIdCredential.md +54 -0
  5. data/docs/AppleWalletProviderOutput.md +4 -0
  6. data/docs/BrazilCnhFacialBiometryOutput.md +24 -0
  7. data/docs/BrazilCnhMatchFieldDateOnly.md +20 -0
  8. data/docs/BrazilCnhMatchFieldString.md +20 -0
  9. data/docs/BrazilCnhProviderOutput.md +48 -0
  10. data/docs/CreateDirectProviderSessionRequest.md +1 -1
  11. data/docs/CreateHostedProviderSessionRequest.md +1 -1
  12. data/docs/CzechBankIdAddress.md +36 -0
  13. data/docs/CzechBankIdCard.md +30 -0
  14. data/docs/CzechBankIdProviderOutput.md +78 -0
  15. data/docs/CzechBankIdTitle.md +20 -0
  16. data/docs/CzechBankIdVerification.md +22 -0
  17. data/docs/DiiaIssuerOutput.md +28 -0
  18. data/docs/DiiaProviderOutput.md +20 -0
  19. data/docs/DiiaSubjectOutput.md +26 -0
  20. data/docs/EudiAgeVerificationCredential.md +22 -0
  21. data/docs/EudiPidCredential.md +70 -0
  22. data/docs/FranceIdentiteProviderOutput.md +4 -0
  23. data/docs/GoogleWalletIdPassCredential.md +40 -0
  24. data/docs/GoogleWalletProviderOutput.md +4 -0
  25. data/docs/IdemiaPreviewProviderAddress.md +32 -0
  26. data/docs/IdemiaPreviewProviderOutput.md +76 -0
  27. data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +20 -0
  28. data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +20 -0
  29. data/docs/IndiaDigilockerAadhaarMatchProviderOutput.md +20 -0
  30. data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +20 -0
  31. data/docs/IndonesiaDukcapilMatchFullNameField.md +20 -0
  32. data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +20 -0
  33. data/docs/IndonesiaDukcapilMatchProviderOutput.md +38 -0
  34. data/docs/IndonesiaNikMatch.md +34 -0
  35. data/docs/IndonesiaNikMatchField.md +20 -0
  36. data/docs/InteracAddress.md +26 -0
  37. data/docs/InteracProviderOutput.md +34 -0
  38. data/docs/Iso180132BiometricDataBlockProduct.md +20 -0
  39. data/docs/Iso180132BiometricGroupTemplate.md +18 -0
  40. data/docs/Iso180132BiometricTemplate.md +24 -0
  41. data/docs/Iso180132BiometricTemplateHeader.md +36 -0
  42. data/docs/Iso180132BiometricValidityPeriod.md +20 -0
  43. data/docs/Iso180135AamvaDomesticDrivingPrivilege.md +22 -0
  44. data/docs/Iso180135AamvaDomesticVehicleClass.md +24 -0
  45. data/docs/Iso180135AamvaDomesticVehicleEndorsement.md +20 -0
  46. data/docs/Iso180135AamvaDomesticVehicleRestriction.md +20 -0
  47. data/docs/Iso180135AamvaNamespaceOutput.md +70 -0
  48. data/docs/Iso180135AamvaWeightRange.md +20 -0
  49. data/docs/Iso180135DrivingPrivilege.md +24 -0
  50. data/docs/Iso180135DrivingPrivilegeCode.md +22 -0
  51. data/docs/Iso180135MobileDriversLicenseCredential.md +20 -0
  52. data/docs/Iso180135StandardNamespaceOutput.md +86 -0
  53. data/docs/ItsmeAddress.md +28 -0
  54. data/docs/ItsmeProviderOutput.md +19 -1
  55. data/docs/KenyaNidMatch2DateOfBirthField.md +20 -0
  56. data/docs/KenyaNidMatch2FullNameField.md +20 -0
  57. data/docs/KenyaNidMatch2NationalIdNumberField.md +20 -0
  58. data/docs/KenyaNidMatch2ProviderOutput.md +24 -0
  59. data/docs/KenyaNidMatch2SexField.md +20 -0
  60. data/docs/LloydsSmartIdProviderOutput.md +2 -2
  61. data/docs/MexicoCurpProviderOutput.md +23 -1
  62. data/docs/NigeriaNinLookup2Input.md +1 -1
  63. data/docs/NigeriaNinLookup2ProviderOutput.md +2 -2
  64. data/docs/NigeriaNinMatch2DateOfBirthField.md +20 -0
  65. data/docs/NigeriaNinMatch2FullNameField.md +20 -0
  66. data/docs/NigeriaNinMatch2Input.md +1 -1
  67. data/docs/NigeriaNinMatch2NationalIdNumberField.md +20 -0
  68. data/docs/NigeriaNinMatch2PhoneNumberField.md +20 -0
  69. data/docs/NigeriaNinMatch2ProviderOutput.md +26 -0
  70. data/docs/NigeriaNinMatch2SexField.md +20 -0
  71. data/docs/PhilippinesPhilsysMatchProviderOutput.md +26 -0
  72. data/docs/PostOfficeEasyIdProviderOutput.md +2 -2
  73. data/docs/ProviderInput.md +0 -6
  74. data/docs/ProviderOutput.md +37 -3
  75. data/docs/SamsungWalletProviderOutput.md +2 -0
  76. data/docs/SouthAfricaNidLookup2Input.md +1 -1
  77. data/docs/SouthAfricaNidLookup2ProviderOutput.md +36 -0
  78. data/docs/SouthAfricaNidMatch2DateOfBirthField.md +20 -0
  79. data/docs/SouthAfricaNidMatch2FullNameField.md +20 -0
  80. data/docs/SouthAfricaNidMatch2Input.md +2 -4
  81. data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +20 -0
  82. data/docs/SouthAfricaNidMatch2ProviderOutput.md +26 -0
  83. data/docs/SouthAfricaNidMatch2SexField.md +20 -0
  84. data/docs/UAEPassProviderOutput.md +62 -0
  85. data/docs/UgandaNidMatch2DateOfBirthField.md +20 -0
  86. data/docs/UgandaNidMatch2Input.md +1 -1
  87. data/docs/UgandaNidMatch2NationalIdNumberField.md +20 -0
  88. data/docs/UgandaNidMatch2ProviderOutput.md +22 -0
  89. data/docs/UgandaNidMatch2SecondaryIdNumberField.md +20 -0
  90. data/docs/VerimiAddressOutput.md +28 -0
  91. data/docs/VerimiProviderOutput.md +68 -0
  92. data/docs/YotiDeeplinkProviderOutput.md +2 -2
  93. data/docs/YotiProviderOutput.md +2 -2
  94. data/docs/ZimbabweNidLookup2Input.md +1 -1
  95. data/docs/ZimbabweNidLookup2ProviderOutput.md +34 -0
  96. data/lib/trinsic_api/models/age_over_output.rb +193 -0
  97. data/lib/trinsic_api/models/apple_wallet_digital_id_birth_date.rb +177 -0
  98. data/lib/trinsic_api/models/apple_wallet_digital_id_credential.rb +350 -0
  99. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +23 -1
  100. data/lib/trinsic_api/models/brazil_cnh_facial_biometry_output.rb +198 -0
  101. data/lib/trinsic_api/models/brazil_cnh_match_field_date_only.rb +176 -0
  102. data/lib/trinsic_api/models/brazil_cnh_match_field_string.rb +160 -0
  103. data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +315 -0
  104. data/lib/trinsic_api/models/create_direct_provider_session_request.rb +1 -1
  105. data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +1 -1
  106. data/lib/trinsic_api/models/czech_bank_id_address.rb +296 -0
  107. data/lib/trinsic_api/models/czech_bank_id_card.rb +279 -0
  108. data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +504 -0
  109. data/lib/trinsic_api/models/czech_bank_id_title.rb +160 -0
  110. data/lib/trinsic_api/models/czech_bank_id_verification.rb +203 -0
  111. data/lib/trinsic_api/models/diia_issuer_output.rb +204 -0
  112. data/lib/trinsic_api/models/diia_provider_output.rb +193 -0
  113. data/lib/trinsic_api/models/diia_subject_output.rb +193 -0
  114. data/lib/trinsic_api/models/{south_africa_nid_biometric2_input.rb → eudi_age_verification_credential.rb} +31 -30
  115. data/lib/trinsic_api/models/eudi_pid_credential.rb +438 -0
  116. data/lib/trinsic_api/models/france_identite_provider_output.rb +23 -1
  117. data/lib/trinsic_api/models/google_wallet_id_pass_credential.rb +273 -0
  118. data/lib/trinsic_api/models/google_wallet_provider_output.rb +23 -1
  119. data/lib/trinsic_api/models/idemia_preview_provider_address.rb +226 -0
  120. data/lib/trinsic_api/models/idemia_preview_provider_output.rb +469 -0
  121. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_date_of_birth_field.rb +192 -0
  122. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +192 -0
  123. data/lib/trinsic_api/models/india_digilocker_aadhaar_match_provider_output.rb +161 -0
  124. data/lib/trinsic_api/models/indonesia_dukcapil_match_date_of_birth_field.rb +192 -0
  125. data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +192 -0
  126. data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +192 -0
  127. data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +404 -0
  128. data/lib/trinsic_api/models/indonesia_nik_match.rb +238 -0
  129. data/lib/trinsic_api/models/indonesia_nik_match_field.rb +192 -0
  130. data/lib/trinsic_api/models/{kenya_nid_biometric2_input.rb → interac_address.rb} +50 -30
  131. data/lib/trinsic_api/models/interac_provider_output.rb +237 -0
  132. data/lib/trinsic_api/models/iso180132_biometric_data_block_product.rb +193 -0
  133. data/lib/trinsic_api/models/iso180132_biometric_group_template.rb +168 -0
  134. data/lib/trinsic_api/models/iso180132_biometric_template.rb +231 -0
  135. data/lib/trinsic_api/models/iso180132_biometric_template_header.rb +297 -0
  136. data/lib/trinsic_api/models/iso180132_biometric_validity_period.rb +193 -0
  137. data/lib/trinsic_api/models/iso180135_aamva_domestic_driving_privilege.rb +176 -0
  138. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_class.rb +215 -0
  139. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement.rb +177 -0
  140. data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction.rb +177 -0
  141. data/lib/trinsic_api/models/iso180135_aamva_namespace_output.rb +438 -0
  142. data/lib/trinsic_api/models/{nigeria_nin_biometric2_input.rb → iso180135_aamva_weight_range.rb} +37 -33
  143. data/lib/trinsic_api/models/iso180135_driving_privilege.rb +201 -0
  144. data/lib/trinsic_api/models/iso180135_driving_privilege_code.rb +188 -0
  145. data/lib/trinsic_api/models/iso180135_mobile_drivers_license_credential.rb +161 -0
  146. data/lib/trinsic_api/models/iso180135_standard_namespace_output.rb +528 -0
  147. data/lib/trinsic_api/models/itsme_address.rb +204 -0
  148. data/lib/trinsic_api/models/itsme_provider_output.rb +104 -5
  149. data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +192 -0
  150. data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +192 -0
  151. data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +192 -0
  152. data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +215 -0
  153. data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +192 -0
  154. data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +8 -8
  155. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +126 -5
  156. data/lib/trinsic_api/models/nigeria_nin_lookup2_input.rb +1 -1
  157. data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +1 -1
  158. data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +192 -0
  159. data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +192 -0
  160. data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +1 -1
  161. data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +192 -0
  162. data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +192 -0
  163. data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +226 -0
  164. data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +192 -0
  165. data/lib/trinsic_api/models/philippines_philsys_match_provider_output.rb +226 -0
  166. data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +8 -8
  167. data/lib/trinsic_api/models/provider_input.rb +1 -34
  168. data/lib/trinsic_api/models/provider_output.rb +203 -16
  169. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +12 -1
  170. data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +1 -1
  171. data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +377 -0
  172. data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +192 -0
  173. data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +192 -0
  174. data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +6 -17
  175. data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +192 -0
  176. data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +226 -0
  177. data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +192 -0
  178. data/lib/trinsic_api/models/uae_pass_provider_output.rb +394 -0
  179. data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +192 -0
  180. data/lib/trinsic_api/models/uganda_nid_match2_input.rb +1 -1
  181. data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +192 -0
  182. data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +220 -0
  183. data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +192 -0
  184. data/lib/trinsic_api/models/verimi_address_output.rb +204 -0
  185. data/lib/trinsic_api/models/verimi_provider_output.rb +425 -0
  186. data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +8 -8
  187. data/lib/trinsic_api/models/yoti_provider_output.rb +8 -8
  188. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +1 -1
  189. data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +334 -0
  190. data/lib/trinsic_api/version.rb +1 -1
  191. data/lib/trinsic_api.rb +73 -3
  192. data/spec/models/age_over_output_spec.rb +42 -0
  193. data/spec/models/apple_wallet_digital_id_birth_date_spec.rb +42 -0
  194. data/spec/models/apple_wallet_digital_id_credential_spec.rb +144 -0
  195. data/spec/models/apple_wallet_provider_output_spec.rb +12 -0
  196. data/spec/models/brazil_cnh_facial_biometry_output_spec.rb +54 -0
  197. data/spec/models/brazil_cnh_match_field_date_only_spec.rb +42 -0
  198. data/spec/models/brazil_cnh_match_field_string_spec.rb +42 -0
  199. data/spec/models/brazil_cnh_provider_output_spec.rb +126 -0
  200. data/spec/models/czech_bank_id_address_spec.rb +90 -0
  201. data/spec/models/czech_bank_id_card_spec.rb +72 -0
  202. data/spec/models/czech_bank_id_provider_output_spec.rb +216 -0
  203. data/spec/models/czech_bank_id_title_spec.rb +42 -0
  204. data/spec/models/{kenya_nid_biometric2_input_spec.rb → czech_bank_id_verification_spec.rb} +9 -9
  205. data/spec/models/diia_issuer_output_spec.rb +66 -0
  206. data/spec/models/diia_provider_output_spec.rb +42 -0
  207. data/spec/models/diia_subject_output_spec.rb +60 -0
  208. data/spec/models/{south_africa_nid_biometric2_input_spec.rb → eudi_age_verification_credential_spec.rb} +9 -9
  209. data/spec/models/eudi_pid_credential_spec.rb +192 -0
  210. data/spec/models/france_identite_provider_output_spec.rb +12 -0
  211. data/spec/models/google_wallet_id_pass_credential_spec.rb +102 -0
  212. data/spec/models/google_wallet_provider_output_spec.rb +12 -0
  213. data/spec/models/idemia_preview_provider_address_spec.rb +78 -0
  214. data/spec/models/idemia_preview_provider_output_spec.rb +210 -0
  215. data/spec/models/india_digilocker_aadhaar_match_date_of_birth_field_spec.rb +42 -0
  216. data/spec/models/india_digilocker_aadhaar_match_full_name_field_spec.rb +42 -0
  217. data/spec/models/india_digilocker_aadhaar_match_provider_output_spec.rb +42 -0
  218. data/spec/models/indonesia_dukcapil_match_date_of_birth_field_spec.rb +42 -0
  219. data/spec/models/indonesia_dukcapil_match_full_name_field_spec.rb +42 -0
  220. data/spec/models/indonesia_dukcapil_match_national_id_number_field_spec.rb +42 -0
  221. data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +96 -0
  222. data/spec/models/indonesia_nik_match_field_spec.rb +42 -0
  223. data/spec/models/indonesia_nik_match_spec.rb +84 -0
  224. data/spec/models/interac_address_spec.rb +60 -0
  225. data/spec/models/interac_provider_output_spec.rb +84 -0
  226. data/spec/models/iso180132_biometric_data_block_product_spec.rb +42 -0
  227. data/spec/models/iso180132_biometric_group_template_spec.rb +36 -0
  228. data/spec/models/iso180132_biometric_template_header_spec.rb +90 -0
  229. data/spec/models/iso180132_biometric_template_spec.rb +54 -0
  230. data/spec/models/iso180132_biometric_validity_period_spec.rb +42 -0
  231. data/spec/models/iso180135_aamva_domestic_driving_privilege_spec.rb +48 -0
  232. data/spec/models/iso180135_aamva_domestic_vehicle_class_spec.rb +54 -0
  233. data/spec/models/iso180135_aamva_domestic_vehicle_endorsement_spec.rb +42 -0
  234. data/spec/models/iso180135_aamva_domestic_vehicle_restriction_spec.rb +42 -0
  235. data/spec/models/iso180135_aamva_namespace_output_spec.rb +192 -0
  236. data/spec/models/iso180135_aamva_weight_range_spec.rb +42 -0
  237. data/spec/models/{nigeria_nin_biometric2_input_spec.rb → iso180135_driving_privilege_code_spec.rb} +9 -9
  238. data/spec/models/iso180135_driving_privilege_spec.rb +54 -0
  239. data/spec/models/iso180135_mobile_drivers_license_credential_spec.rb +42 -0
  240. data/spec/models/iso180135_standard_namespace_output_spec.rb +240 -0
  241. data/spec/models/itsme_address_spec.rb +66 -0
  242. data/spec/models/itsme_provider_output_spec.rb +54 -0
  243. data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +42 -0
  244. data/spec/models/kenya_nid_match2_full_name_field_spec.rb +42 -0
  245. data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +42 -0
  246. data/spec/models/kenya_nid_match2_provider_output_spec.rb +54 -0
  247. data/spec/models/kenya_nid_match2_sex_field_spec.rb +42 -0
  248. data/spec/models/lloyds_smart_id_provider_output_spec.rb +1 -1
  249. data/spec/models/mexico_curp_provider_output_spec.rb +66 -0
  250. data/spec/models/nigeria_nin_match2_date_of_birth_field_spec.rb +42 -0
  251. data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +42 -0
  252. data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +42 -0
  253. data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +42 -0
  254. data/spec/models/nigeria_nin_match2_provider_output_spec.rb +60 -0
  255. data/spec/models/nigeria_nin_match2_sex_field_spec.rb +42 -0
  256. data/spec/models/philippines_philsys_match_provider_output_spec.rb +60 -0
  257. data/spec/models/post_office_easy_id_provider_output_spec.rb +1 -1
  258. data/spec/models/provider_input_spec.rb +0 -18
  259. data/spec/models/provider_output_spec.rb +108 -6
  260. data/spec/models/samsung_wallet_provider_output_spec.rb +6 -0
  261. data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +90 -0
  262. data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +42 -0
  263. data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +42 -0
  264. data/spec/models/south_africa_nid_match2_input_spec.rb +0 -6
  265. data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +42 -0
  266. data/spec/models/south_africa_nid_match2_provider_output_spec.rb +60 -0
  267. data/spec/models/south_africa_nid_match2_sex_field_spec.rb +42 -0
  268. data/spec/models/uae_pass_provider_output_spec.rb +168 -0
  269. data/spec/models/uganda_nid_match2_date_of_birth_field_spec.rb +42 -0
  270. data/spec/models/uganda_nid_match2_national_id_number_field_spec.rb +42 -0
  271. data/spec/models/uganda_nid_match2_provider_output_spec.rb +48 -0
  272. data/spec/models/uganda_nid_match2_secondary_id_number_field_spec.rb +42 -0
  273. data/spec/models/verimi_address_output_spec.rb +66 -0
  274. data/spec/models/verimi_provider_output_spec.rb +186 -0
  275. data/spec/models/yoti_deeplink_provider_output_spec.rb +1 -1
  276. data/spec/models/yoti_provider_output_spec.rb +1 -1
  277. data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +84 -0
  278. metadata +466 -186
  279. data/docs/KenyaNidBiometric2Input.md +0 -22
  280. data/docs/NigeriaNinBiometric2Input.md +0 -22
  281. data/docs/SouthAfricaNidBiometric2Input.md +0 -22
@@ -0,0 +1,62 @@
1
+ # TrinsicApi::UAEPassProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sub** | **String** | OIDC subject (`sub`) returned by UAE Pass. This is an opaque identifier for the authenticated user in the UAE Pass OIDC transaction. It can be prefixed or unprefixed; do not parse this value or assume it matches the Emirates ID number, UAE Pass UUID, or UAE unified ID. | [optional] |
8
+ | **full_name_arabic** | **String** | Full name in Arabic. | [optional] |
9
+ | **gender** | **String** | Normalized sex parsed from the UAE Pass gender value. Possible values: - Male - Female - Unknown - NotApplicable This is null when the UAE Pass value cannot be parsed. | [optional] |
10
+ | **mobile** | **String** | Mobile number. | [optional] |
11
+ | **last_name_english** | **String** | Last name in the Latin-script value returned by UAE Pass. | [optional] |
12
+ | **full_name_english** | **String** | Full name in the Latin-script value returned by UAE Pass. | [optional] |
13
+ | **uae_pass_uuid** | **String** | UAE Pass UUID. The unique UAE Pass user identifier. It is separate from the OIDC subject identifier, Emirates ID number, and UAE unified ID. | [optional] |
14
+ | **smart_pass_uuid** | **String** | SmartPass unique user identifier, if returned. SmartPass was a previous UAE government single-sign-on identity system. UAE Pass can return this legacy identifier for SOP2 and SOP3 accounts that were verified through SmartPass. | [optional] |
15
+ | **last_name_arabic** | **String** | Last name in Arabic. | [optional] |
16
+ | **emirates_id_number** | **String** | Verified Emirates ID number, if returned for the user profile type and scope. The Emirates ID is issued by the Federal Authority for Identity, Citizenship, Customs and Port Security (ICP). The number is a 15-digit identifier following the format 784-YYYY-NNNNNNN-C: The number is a 15-digit identifier following the format 784-YYYY-NNNNNNN-C: - 784: UAE ISO 3166-1 numeric country code. - YYYY: A year value, which could be birth year, registration year, or another year value. This should not be relied upon to infer birth or registration details. - NNNNNNN: 7-digit random serial number for the individual. - C: Check digit. This field may not be returned for visitor profiles. | [optional] |
17
+ | **id_type** | **String** | ID type. Known values: - ID: Emirates ID or national identity document. Returned for SOP2 and SOP3 citizen or resident profiles and SOP3 visitor profiles. | [optional] |
18
+ | **nationality_english** | **String** | Nationality in the Latin-script value returned by UAE Pass. | [optional] |
19
+ | **first_name_english** | **String** | First name in the Latin-script value returned by UAE Pass. | [optional] |
20
+ | **user_type** | **String** | UAE Pass user type. Possible values: - SOP1: Basic account. Unverified account with verified email and mobile number. - SOP2: Advanced account. Verified account with Emirates ID verification through SmartPass, Dubai ID, or Emirates ID PIN registration. - SOP3: Qualified account. Verified account with Emirates ID verification through finger biometrics or face biometrics. | [optional] |
21
+ | **nationality_arabic** | **String** | Nationality in Arabic. | [optional] |
22
+ | **first_name_arabic** | **String** | First name in Arabic. | [optional] |
23
+ | **email** | **String** | Email address. | [optional] |
24
+ | **title_english** | **String** | Title in the Latin-script value returned by UAE Pass. Returned for SOP2 and SOP3 citizen or resident profiles and SOP3 visitor profiles. | [optional] |
25
+ | **title_arabic** | **String** | Title in Arabic. Returned for SOP2 and SOP3 citizen or resident profiles and SOP3 visitor profiles. | [optional] |
26
+ | **profile_type** | **Integer** | UAE Pass profile type, if returned for the requested scope. Possible values: - 1: Citizen or resident profile. - 2: Visitor profile. | [optional] |
27
+ | **unified_id** | **String** | UAE unified ID, if returned for the requested scope. A unique ID for the user. It is separate from the Emirates ID number, UAE Pass UUID, and OIDC subject identifier. | [optional] |
28
+ | **authentication_assurance_level** | **String** | UAE Pass authentication assurance level, if present. This classifies the authentication policy that was satisfied for the session. Known values include: - urn:safelayer:tws:policies:authentication:level:low - urn:safelayer:tws:policies:authentication:level:high | [optional] |
29
+ | **authentication_methods** | **Array<String>** | UAE Pass authentication methods, if present. This classifies the concrete methods used during authentication. Known values include: - urn:safelayer:tws:policies:authentication:adaptive:methods:mobileid - urn:uae:authentication:method:verified - urn:oasis:names:tc:SAML:1:0:am:password | [optional] |
30
+
31
+ ## Example
32
+
33
+ ```ruby
34
+ require 'trinsic_api'
35
+
36
+ instance = TrinsicApi::UAEPassProviderOutput.new(
37
+ sub: UAEPASS/7a05992e-3244-49d3-bcbc-7894c8fca25e,
38
+ full_name_arabic: محمد أحمد,
39
+ gender: Male,
40
+ mobile: +971501234567,
41
+ last_name_english: Ahmed,
42
+ full_name_english: Mohammed Ahmed,
43
+ uae_pass_uuid: 2f9c7bb1-1ef1-4cb8-a91f-ef5e6a8a4c16,
44
+ smart_pass_uuid: b1320896-fb2e-5140-baf0-fa915eb9be5d,
45
+ last_name_arabic: أحمد,
46
+ emirates_id_number: 784199012345676,
47
+ id_type: ID,
48
+ nationality_english: United Arab Emirates,
49
+ first_name_english: Mohammed,
50
+ user_type: SOP3,
51
+ nationality_arabic: الإمارات العربية المتحدة,
52
+ first_name_arabic: محمد,
53
+ email: mohammed.ahmed@example.ae,
54
+ title_english: Dr.,
55
+ title_arabic: .د,
56
+ profile_type: 1,
57
+ unified_id: 123456789,
58
+ authentication_assurance_level: urn:safelayer:tws:policies:authentication:level:high,
59
+ authentication_methods: ["urn:uae:authentication:method:verified"]
60
+ )
61
+ ```
62
+
@@ -0,0 +1,20 @@
1
+ # TrinsicApi::UgandaNidMatch2DateOfBirthField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **input_value** | **Date** | The date of birth submitted for this check. | |
8
+ | **outcome** | **String** | The outcome of comparing the submitted date of birth with NIRA database. For Uganda match, partial or transposed outcomes are not used; matching is exact or no match. Possible values: - Exact Match - No Match - Not Returned | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trinsic_api'
14
+
15
+ instance = TrinsicApi::UgandaNidMatch2DateOfBirthField.new(
16
+ input_value: Wed Sep 20 00:00:00 UTC 2000,
17
+ outcome: Exact Match
18
+ )
19
+ ```
20
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id_number** | **String** | The user's Uganda National ID number (NIN) - 14 alphanumeric characters | [optional] |
7
+ | **id_number** | **String** | Uganda National ID number (NID) assigned by the National Identification and Registration Authority (NIRA). Format: - 14 alphanumeric characters (A-Z, 0-9) - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by NIRA | [optional] |
8
8
  | **secondary_id_number** | **String** | The card number on the document (secondary ID number). Required for Uganda Basic KYC instead of first name and last name. | [optional] |
9
9
  | **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | [optional] |
10
10
 
@@ -0,0 +1,20 @@
1
+ # TrinsicApi::UgandaNidMatch2NationalIdNumberField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **input_value** | **String** | Uganda National ID number (NID) assigned by the National Identification and Registration Authority (NIRA). Format: - 14 alphanumeric characters (A-Z, 0-9) - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by NIRA | |
8
+ | **outcome** | **String** | The outcome of looking up the NID in NIRA database. Possible values: - Verified - Not Verified - Not Done - Issuer Unavailable - Not Returned | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trinsic_api'
14
+
15
+ instance = TrinsicApi::UgandaNidMatch2NationalIdNumberField.new(
16
+ input_value: AB12CD34EF5678,
17
+ outcome: Verified
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::UgandaNidMatch2ProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **national_id_number** | [**UgandaNidMatch2NationalIdNumberField**](UgandaNidMatch2NationalIdNumberField.md) | Outcome of verifying the national identification number in the NIRA database. | |
8
+ | **secondary_id_number** | [**UgandaNidMatch2SecondaryIdNumberField**](UgandaNidMatch2SecondaryIdNumberField.md) | Outcome of comparing the submitted card number with the NIRA database. | |
9
+ | **date_of_birth** | [**UgandaNidMatch2DateOfBirthField**](UgandaNidMatch2DateOfBirthField.md) | Outcome of comparing the submitted date of birth with the NIRA database. | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::UgandaNidMatch2ProviderOutput.new(
17
+ national_id_number: null,
18
+ secondary_id_number: null,
19
+ date_of_birth: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # TrinsicApi::UgandaNidMatch2SecondaryIdNumberField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **input_value** | **String** | The card number on the national ID document, distinct from the National ID number. Format: - 9 numeric digits - There is no publicly documented encoding scheme for encoding personal information in the card number - No check digit or algorithm has been publicly documented by NIRA | |
8
+ | **outcome** | **String** | The outcome of comparing the submitted card number with NIRA database. Possible values: - Exact Match - No Match - Not Returned | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trinsic_api'
14
+
15
+ instance = TrinsicApi::UgandaNidMatch2SecondaryIdNumberField.new(
16
+ input_value: 012345678,
17
+ outcome: Exact Match
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # TrinsicApi::VerimiAddressOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **full_address** | **String** | The formatted address. | [optional] |
8
+ | **country_code** | **String** | The ISO 3166-1 alpha-2 country code. | [optional] |
9
+ | **postal_code** | **String** | The postal code. | [optional] |
10
+ | **street** | **String** | The street name. | [optional] |
11
+ | **building_number** | **String** | The building number. | [optional] |
12
+ | **city** | **String** | The city. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'trinsic_api'
18
+
19
+ instance = TrinsicApi::VerimiAddressOutput.new(
20
+ full_address: Willy-Brandt-Strasse 1 10557 Berlin Deutschland,
21
+ country_code: DE,
22
+ postal_code: 10557,
23
+ street: Willy-Brandt-Strasse,
24
+ building_number: 1,
25
+ city: Berlin
26
+ )
27
+ ```
28
+
@@ -0,0 +1,68 @@
1
+ # TrinsicApi::VerimiProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **full_name** | **String** | The full name of the individual. | [optional] |
8
+ | **date_of_birth** | **Date** | The date of birth of the individual. | [optional] |
9
+ | **given_name** | **String** | The given name of the individual. | [optional] |
10
+ | **middle_name** | **String** | The middle name of the individual. | [optional] |
11
+ | **family_name** | **String** | The family name of the individual. | [optional] |
12
+ | **email** | **String** | The email address of the individual. | [optional] |
13
+ | **email_verified** | **Boolean** | Whether the email address has been verified by Verimi. | [optional] |
14
+ | **phone_number** | **String** | The phone number of the individual in E.164 format. | [optional] |
15
+ | **phone_number_verified** | **Boolean** | Whether the phone number has been verified by Verimi. | [optional] |
16
+ | **gender** | **String** | The gender of the individual. | [optional] |
17
+ | **zone_information** | **String** | The individual's time zone as an IANA Time Zone Database zoneinfo identifier. | [optional] |
18
+ | **locale** | **String** | The selected language or locale of the individual as a BCP 47 language tag. | [optional] |
19
+ | **citizenship** | **String** | The citizenship of the individual. This is an ISO-3166-1 alpha-2 country code. | [optional] |
20
+ | **place_of_birth** | **String** | The place of birth of the individual. | [optional] |
21
+ | **document_number** | **String** | The document number of the identity document used by the individual. | [optional] |
22
+ | **document_type** | **String** | The identity document type. Known values: - I: ID card. - P: Passport. | [optional] |
23
+ | **document_expiration_date** | **Date** | The expiration date of the identity document. | [optional] |
24
+ | **document_issue_date** | **Date** | The issue date of the identity document. | [optional] |
25
+ | **document_issuing_authority** | **String** | The authority that issued the identity document. | [optional] |
26
+ | **verification_method** | **String** | The verification method used to prove the individual's identity. | [optional] |
27
+ | **verification_date** | **Date** | The date when the individual proved their identity with Verimi. | [optional] |
28
+ | **level_of_assurance** | **String** | The level of assurance for the verification. Known values: - Low: The individual has self-asserted their identity. - Substantial: The individual has completed identity proofing and strong authentication. - High: The individual has completed identity proofing with stronger cryptographic authentication requirements. | [optional] |
29
+ | **authentication_method** | **String** | The authentication method for the completed identification. Known values: - email - loa.dipp.default - loa.dipp.2fa - idcard | [optional] |
30
+ | **pseudonym** | **String** | The pseudonymous identifier. For German eID, this is the restricted identifier (rID), scoped to the relying-party sector. | [optional] |
31
+ | **address** | [**VerimiAddressOutput**](VerimiAddressOutput.md) | The individual's structured address. | [optional] |
32
+ | **issuing_country** | **String** | The ISO 3166-1 alpha-2 country code for the country that issued the identity document. | [optional] |
33
+
34
+ ## Example
35
+
36
+ ```ruby
37
+ require 'trinsic_api'
38
+
39
+ instance = TrinsicApi::VerimiProviderOutput.new(
40
+ full_name: Ove Henriksen,
41
+ date_of_birth: Sun Aug 15 00:00:00 UTC 1943,
42
+ given_name: Erika,
43
+ middle_name: Maria,
44
+ family_name: Mustermann,
45
+ email: erika.mustermann@example.de,
46
+ email_verified: true,
47
+ phone_number: +4915112345678,
48
+ phone_number_verified: true,
49
+ gender: female,
50
+ zone_information: Europe/Berlin,
51
+ locale: de-DE,
52
+ citizenship: DE,
53
+ place_of_birth: Munich,
54
+ document_number: C01X00T47,
55
+ document_type: I,
56
+ document_expiration_date: Mon May 20 00:00:00 UTC 2030,
57
+ document_issue_date: Thu May 21 00:00:00 UTC 2020,
58
+ document_issuing_authority: Stadt Koln,
59
+ verification_method: EID,
60
+ verification_date: Wed Apr 23 00:00:00 UTC 2025,
61
+ level_of_assurance: Substantial,
62
+ authentication_method: idcard,
63
+ pseudonym: 9f6a5d89e2b741c0a7f8d3e4b5c6a91234567890abcdef1234567890abcdef12,
64
+ address: null,
65
+ issuing_country: DE
66
+ )
67
+ ```
68
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **remember_me_id** | **String** | A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party. | [optional] |
7
+ | **yoti_remember_me_id** | **String** | A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party. | [optional] |
8
8
  | **email** | **String** | The email address of the individual | [optional] |
9
9
  | **given_name** | **String** | The given name of the individual. This can correspond to first and middle names in English. | [optional] |
10
10
  | **family_name** | **String** | The family name of the individual | [optional] |
@@ -23,7 +23,7 @@
23
23
  require 'trinsic_api'
24
24
 
25
25
  instance = TrinsicApi::YotiDeeplinkProviderOutput.new(
26
- remember_me_id: 9f63ff98-e1e3-433c-9b86-7c697d0b4e5f,
26
+ yoti_remember_me_id: Ic3NCB/dWVB1k4QPOD98IpDJ8ut04 lPHPSNV0RWikAc+szH2NrZFK1 nG+cZgaXe8,
27
27
  email: johndoe@example.com,
28
28
  given_name: John Alvin,
29
29
  family_name: Doe,
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **remember_me_id** | **String** | A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party. | [optional] |
7
+ | **yoti_remember_me_id** | **String** | A Yoti-generated unique ID for this individual, consistent across repeat shares and different for each Relying Party. | [optional] |
8
8
  | **email** | **String** | The email address of the individual | [optional] |
9
9
  | **given_name** | **String** | The given name of the individual. This can correspond to first and middle names in English. | [optional] |
10
10
  | **family_name** | **String** | The family name of the individual | [optional] |
@@ -23,7 +23,7 @@
23
23
  require 'trinsic_api'
24
24
 
25
25
  instance = TrinsicApi::YotiProviderOutput.new(
26
- remember_me_id: 9f63ff98-e1e3-433c-9b86-7c697d0b4e5f,
26
+ yoti_remember_me_id: Ic3NCB/dWVB1k4QPOD98IpDJ8ut04 lPHPSNV0RWikAc+szH2NrZFK1 nG+cZgaXe8,
27
27
  email: johndoe@example.com,
28
28
  given_name: John Alvin,
29
29
  family_name: Doe,
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id_number** | **String** | The user's National ID number | [optional] |
7
+ | **id_number** | **String** | Zimbabwe National ID number (NID) issued by the Zimbabwean government. Format: - 8-9 digits followed by 1 letter and 2 digits - Regex: /^[0-9]{8,9}[A-Za-z]\\d{2}$/ - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by the Zimbabwean government | [optional] |
8
8
 
9
9
  ## Example
10
10
 
@@ -0,0 +1,34 @@
1
+ # TrinsicApi::ZimbabweNidLookup2ProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **national_id_number** | **String** | Zimbabwe National ID number (NID) issued by the Zimbabwean government. Format: - 8-9 digits followed by 1 letter and 2 digits - Regex: /^[0-9]{8,9}[A-Za-z]\\d{2}$/ - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by the Zimbabwean government | |
8
+ | **given_name** | **String** | Given name(s) of the individual. | |
9
+ | **family_name** | **String** | Family name of the individual. | |
10
+ | **full_name** | **String** | Full name of the individual. | |
11
+ | **sex** | **String** | Sex of the individual. Possible values: - Male - Female - Not Applicable - Unknown | |
12
+ | **date_of_birth** | **Date** | Date of birth of the individual. | |
13
+ | **place_of_birth** | **String** | Place of birth, typically a municipality or city within Zimbabwe. | [optional] |
14
+ | **is_alive** | **Boolean** | Whether individual is reported as alive by the Zimbabwean government. | [optional] |
15
+ | **date_of_death** | **Date** | Date of death of the individual, when available. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'trinsic_api'
21
+
22
+ instance = TrinsicApi::ZimbabweNidLookup2ProviderOutput.new(
23
+ national_id_number: 12345678A12,
24
+ given_name: ELIZABETH MARY,
25
+ family_name: MOYO,
26
+ full_name: ELIZABETH MARY MOYO,
27
+ sex: Female,
28
+ date_of_birth: Fri Nov 01 00:00:00 UTC 1940,
29
+ place_of_birth: Harare,
30
+ is_alive: false,
31
+ date_of_death: Wed Jan 10 00:00:00 UTC 2024
32
+ )
33
+ ```
34
+
@@ -0,0 +1,193 @@
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
+ # Processed result of an \"age over X\" claim present in a credential.
18
+ class AgeOverOutput < ApiModelBase
19
+ # The age threshold from the `age over X` claim.
20
+ attr_accessor :age
21
+
22
+ # Whether the individual is at least the given age.
23
+ attr_accessor :is_over
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'age' => :'age',
29
+ :'is_over' => :'isOver'
30
+ }
31
+ end
32
+
33
+ # Returns attribute mapping this model knows about
34
+ def self.acceptable_attribute_map
35
+ attribute_map
36
+ end
37
+
38
+ # Returns all the JSON keys this model knows about
39
+ def self.acceptable_attributes
40
+ acceptable_attribute_map.values
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ def self.openapi_types
45
+ {
46
+ :'age' => :'Integer',
47
+ :'is_over' => :'Boolean'
48
+ }
49
+ end
50
+
51
+ # List of attributes with nullable: true
52
+ def self.openapi_nullable
53
+ Set.new([
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::AgeOverOutput` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ acceptable_attribute_map = self.class.acceptable_attribute_map
66
+ attributes = attributes.each_with_object({}) { |(k, v), h|
67
+ if (!acceptable_attribute_map.key?(k.to_sym))
68
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::AgeOverOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
69
+ end
70
+ h[k.to_sym] = v
71
+ }
72
+
73
+ if attributes.key?(:'age')
74
+ self.age = attributes[:'age']
75
+ else
76
+ self.age = nil
77
+ end
78
+
79
+ if attributes.key?(:'is_over')
80
+ self.is_over = attributes[:'is_over']
81
+ else
82
+ self.is_over = nil
83
+ end
84
+ end
85
+
86
+ # Show invalid properties with the reasons. Usually used together with valid?
87
+ # @return Array for valid properties with the reasons
88
+ def list_invalid_properties
89
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
90
+ invalid_properties = Array.new
91
+ if @age.nil?
92
+ invalid_properties.push('invalid value for "age", age cannot be nil.')
93
+ end
94
+
95
+ if @is_over.nil?
96
+ invalid_properties.push('invalid value for "is_over", is_over cannot be nil.')
97
+ end
98
+
99
+ invalid_properties
100
+ end
101
+
102
+ # Check to see if the all the properties in the model are valid
103
+ # @return true if the model is valid
104
+ def valid?
105
+ warn '[DEPRECATED] the `valid?` method is obsolete'
106
+ return false if @age.nil?
107
+ return false if @is_over.nil?
108
+ true
109
+ end
110
+
111
+ # Custom attribute writer method with validation
112
+ # @param [Object] age Value to be assigned
113
+ def age=(age)
114
+ if age.nil?
115
+ fail ArgumentError, 'age cannot be nil'
116
+ end
117
+
118
+ @age = age
119
+ end
120
+
121
+ # Custom attribute writer method with validation
122
+ # @param [Object] is_over Value to be assigned
123
+ def is_over=(is_over)
124
+ if is_over.nil?
125
+ fail ArgumentError, 'is_over cannot be nil'
126
+ end
127
+
128
+ @is_over = is_over
129
+ end
130
+
131
+ # Checks equality by comparing each attribute.
132
+ # @param [Object] Object to be compared
133
+ def ==(o)
134
+ return true if self.equal?(o)
135
+ self.class == o.class &&
136
+ age == o.age &&
137
+ is_over == o.is_over
138
+ end
139
+
140
+ # @see the `==` method
141
+ # @param [Object] Object to be compared
142
+ def eql?(o)
143
+ self == o
144
+ end
145
+
146
+ # Calculates hash code according to all attributes.
147
+ # @return [Integer] Hash code
148
+ def hash
149
+ [age, is_over].hash
150
+ end
151
+
152
+ # Builds the object from hash
153
+ # @param [Hash] attributes Model attributes in the form of hash
154
+ # @return [Object] Returns the model itself
155
+ def self.build_from_hash(attributes)
156
+ return nil unless attributes.is_a?(Hash)
157
+ attributes = attributes.transform_keys(&:to_sym)
158
+ transformed_hash = {}
159
+ openapi_types.each_pair do |key, type|
160
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
161
+ transformed_hash["#{key}"] = nil
162
+ elsif type =~ /\AArray<(.*)>/i
163
+ # check to ensure the input is an array given that the attribute
164
+ # is documented as an array but the input is not
165
+ if attributes[attribute_map[key]].is_a?(Array)
166
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
167
+ end
168
+ elsif !attributes[attribute_map[key]].nil?
169
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
170
+ end
171
+ end
172
+ new(transformed_hash)
173
+ end
174
+
175
+ # Returns the object in the form of hash
176
+ # @return [Hash] Returns the object in the form of hash
177
+ def to_hash
178
+ hash = {}
179
+ self.class.attribute_map.each_pair do |attr, param|
180
+ value = self.send(attr)
181
+ if value.nil?
182
+ is_nullable = self.class.openapi_nullable.include?(attr)
183
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
184
+ end
185
+
186
+ hash[param] = _to_hash(value)
187
+ end
188
+ hash
189
+ end
190
+
191
+ end
192
+
193
+ end