trinsic_api 2.3.0.pre.alpha2 → 3.0.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 (278) hide show
  1. checksums.yaml +4 -4
  2. data/docs/{EnvironmentRedirectUrisAddRequest.md → AddRedirectUriRequest.md} +2 -2
  3. data/docs/Address.md +2 -2
  4. data/docs/AppleWalletProviderOutput.md +18 -0
  5. data/docs/AttachmentInfo.md +24 -0
  6. data/docs/{MdlFieldDataType.md → AttributeAvailability.md} +2 -2
  7. data/docs/AustriaHandySignaturProviderOutput.md +20 -0
  8. data/docs/BelgiumIdCardProviderOutput.md +24 -0
  9. data/docs/ContractAttachment.md +20 -0
  10. data/docs/ContractAttribute.md +20 -0
  11. data/docs/CoteDIvoireNidLookup2Input.md +18 -0
  12. data/docs/CzechiaMojeIdProviderOutput.md +24 -0
  13. data/docs/DocumentData.md +12 -10
  14. data/docs/EstoniaIdCardProviderOutput.md +24 -0
  15. data/docs/FaydaProviderOutput.md +1 -1
  16. data/docs/FinlandIdCardProviderOutput.md +24 -0
  17. data/docs/FrejaProviderOutput.md +24 -0
  18. data/docs/FrenchNumeriqueGivenName.md +22 -0
  19. data/docs/FrenchNumeriqueNationality.md +20 -0
  20. data/docs/FrenchNumeriquePhone.md +22 -0
  21. data/docs/FrenchNumeriqueProviderOutput.md +66 -0
  22. data/docs/GetAttachmentRequest.md +2 -4
  23. data/docs/GoogleWalletProviderOutput.md +18 -0
  24. data/docs/IdentityData.md +9 -11
  25. data/docs/ItsmeProviderOutput.md +26 -0
  26. data/docs/KenyaNidMatch2Input.md +1 -1
  27. data/docs/{Language.md → KenyaNidMatch2InputSex.md} +2 -2
  28. data/docs/LaWalletProviderOutput.md +52 -0
  29. data/docs/LatviaEparakstsMobileProviderOutput.md +22 -0
  30. data/docs/LatviaEparakstsProviderOutput.md +22 -0
  31. data/docs/ListProvidersResponse.md +1 -1
  32. data/docs/{ListEnvironmentRedirectUrisResponse.md → ListRedirectUrisResponse.md} +2 -2
  33. data/docs/LithuaniaIdCardProviderOutput.md +24 -0
  34. data/docs/LloydsSmartIdProviderOutput.md +40 -0
  35. data/docs/Match.md +2 -2
  36. data/docs/MatchData.md +12 -10
  37. data/docs/MdlOutput.md +24 -0
  38. data/docs/MdlOutputCertificateData.md +26 -0
  39. data/docs/{ExternalMdlFieldData.md → MdlOutputFieldData.md} +3 -3
  40. data/docs/{FieldAvailability.md → MdlOutputFieldDataType.md} +2 -2
  41. data/docs/MexicoCurpProviderOutput.md +1 -1
  42. data/docs/MitIdProviderOutput.md +38 -0
  43. data/docs/MobileIdInput.md +1 -1
  44. data/docs/{SexV1.md → MobileIdLanguage.md} +2 -2
  45. data/docs/MobileIdProviderOutput.md +34 -0
  46. data/docs/NigeriaNinBiometric2Input.md +22 -0
  47. data/docs/NigeriaNinLookup2Input.md +18 -0
  48. data/docs/NigeriaNinMatch2Input.md +30 -0
  49. data/docs/NigeriaNinMatch2InputSex.md +15 -0
  50. data/docs/PersonData.md +10 -10
  51. data/docs/PeruDniAddress.md +22 -0
  52. data/docs/PeruDniLookupInput.md +18 -0
  53. data/docs/PeruDniProviderOutput.md +48 -0
  54. data/docs/PhilippinesDigitalNidProviderOutput.md +2 -2
  55. data/docs/PhilippinesPhysicalNidProviderOutput.md +2 -2
  56. data/docs/PolandEdoAppProviderOutput.md +24 -0
  57. data/docs/PolandMojeIdProviderOutput.md +22 -0
  58. data/docs/PortugalIdCardProviderOutput.md +24 -0
  59. data/docs/PostOfficeEasyIdProviderOutput.md +40 -0
  60. data/docs/{ProviderContract.md → Provider.md} +29 -25
  61. data/docs/ProviderInput.md +50 -32
  62. data/docs/ProviderOutput.md +61 -7
  63. data/docs/ProvidersApi.md +79 -0
  64. data/docs/RecommendProviderHealthOption.md +15 -0
  65. data/docs/{ProviderInformation.md → RecommendProviderInformation.md} +14 -14
  66. data/docs/{RecommendRequest.md → RecommendProvidersRequest.md} +3 -3
  67. data/docs/RecommendProvidersResponse.md +18 -0
  68. data/docs/{EnvironmentRedirectUrisApi.md → RedirectUrisApi.md} +21 -21
  69. data/docs/SamsungWalletProviderOutput.md +18 -0
  70. data/docs/SerbiaIdCardProviderOutput.md +24 -0
  71. data/docs/SessionsApi.md +149 -1
  72. data/docs/SmartIdInput.md +0 -2
  73. data/docs/SmartIdProviderOutput.md +42 -0
  74. data/docs/SouthAfricaNidBiometric2Input.md +22 -0
  75. data/docs/SouthAfricaNidMatch2Input.md +30 -0
  76. data/docs/SouthAfricaNidMatch2InputSex.md +15 -0
  77. data/docs/SpidProviderOutput.md +45 -25
  78. data/docs/SubProviderMetadata.md +0 -2
  79. data/docs/SwedenBankIdProviderOutput.md +42 -0
  80. data/docs/UgandaNidMatch2Input.md +22 -0
  81. data/docs/VerificationProfileResponse.md +3 -1
  82. data/docs/VerificationProfilesApi.md +3 -1
  83. data/docs/YotiDocumentDetails.md +26 -0
  84. data/docs/YotiProviderOutput.md +40 -0
  85. data/docs/YotiStructuredPostalAddress.md +56 -0
  86. data/docs/ZimbabweNidLookup2Input.md +18 -0
  87. data/lib/trinsic_api/api/providers_api.rb +82 -0
  88. data/lib/trinsic_api/api/{environment_redirect_uris_api.rb → redirect_uris_api.rb} +28 -28
  89. data/lib/trinsic_api/api/sessions_api.rb +142 -2
  90. data/lib/trinsic_api/api/verification_profiles_api.rb +3 -0
  91. data/lib/trinsic_api/models/{environment_redirect_uris_add_request.rb → add_redirect_uri_request.rb} +12 -3
  92. data/lib/trinsic_api/models/address.rb +3 -0
  93. data/lib/trinsic_api/models/apple_wallet_provider_output.rb +239 -0
  94. data/lib/trinsic_api/models/attachment_info.rb +319 -0
  95. data/lib/trinsic_api/models/{field_availability.rb → attribute_availability.rb} +3 -3
  96. data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +266 -0
  97. data/lib/trinsic_api/models/{bangladesh_nid_input.rb → belgium_id_card_provider_output.rb} +60 -90
  98. data/lib/trinsic_api/models/{contract_identifier_field.rb → contract_attachment.rb} +25 -52
  99. data/lib/trinsic_api/models/{contract_field.rb → contract_attribute.rb} +8 -35
  100. data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_input.rb +222 -0
  101. data/lib/trinsic_api/models/{finalize_mdl_exchange_response.rb → czechia_moje_id_provider_output.rb} +85 -52
  102. data/lib/trinsic_api/models/document_data.rb +18 -1
  103. data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +320 -0
  104. data/lib/trinsic_api/models/fayda_provider_output.rb +1 -0
  105. data/lib/trinsic_api/models/finland_id_card_provider_output.rb +320 -0
  106. data/lib/trinsic_api/models/freja_provider_output.rb +320 -0
  107. data/lib/trinsic_api/models/french_numerique_given_name.rb +245 -0
  108. data/lib/trinsic_api/models/french_numerique_nationality.rb +234 -0
  109. data/lib/trinsic_api/models/french_numerique_phone.rb +245 -0
  110. data/lib/trinsic_api/models/french_numerique_provider_output.rb +487 -0
  111. data/lib/trinsic_api/models/get_attachment_request.rb +22 -49
  112. data/lib/trinsic_api/models/google_wallet_provider_output.rb +239 -0
  113. data/lib/trinsic_api/models/identity_data.rb +30 -33
  114. data/lib/trinsic_api/models/itsme_provider_output.rb +315 -0
  115. data/lib/trinsic_api/models/kenya_nid_match2_input.rb +1 -1
  116. data/lib/trinsic_api/models/{sex_v1.rb → kenya_nid_match2_input_sex.rb} +4 -6
  117. data/lib/trinsic_api/models/la_wallet_provider_output.rb +682 -0
  118. data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +293 -0
  119. data/lib/trinsic_api/models/{create_mdl_exchange_response.rb → latvia_eparaksts_provider_output.rb} +53 -52
  120. data/lib/trinsic_api/models/list_providers_response.rb +2 -2
  121. data/lib/trinsic_api/models/{list_environment_redirect_uris_response.rb → list_redirect_uris_response.rb} +3 -3
  122. data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +320 -0
  123. data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +344 -0
  124. data/lib/trinsic_api/models/match.rb +2 -0
  125. data/lib/trinsic_api/models/match_data.rb +23 -1
  126. data/lib/trinsic_api/models/{mdl_identity_data.rb → mdl_output.rb} +35 -8
  127. data/lib/trinsic_api/models/{mdl_certificate_data.rb → mdl_output_certificate_data.rb} +4 -4
  128. data/lib/trinsic_api/models/{external_mdl_field_data.rb → mdl_output_field_data.rb} +4 -4
  129. data/lib/trinsic_api/models/{mdl_field_data_type.rb → mdl_output_field_data_type.rb} +5 -4
  130. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +1 -0
  131. data/lib/trinsic_api/models/mit_id_provider_output.rb +333 -0
  132. data/lib/trinsic_api/models/mobile_id_input.rb +1 -1
  133. data/lib/trinsic_api/models/{language.rb → mobile_id_language.rb} +3 -3
  134. data/lib/trinsic_api/models/mobile_id_provider_output.rb +311 -0
  135. data/lib/trinsic_api/models/nigeria_nin_biometric2_input.rb +246 -0
  136. data/lib/trinsic_api/models/{provider_attachments.rb → nigeria_nin_lookup2_input.rb} +12 -11
  137. data/lib/trinsic_api/models/{recommend_response.rb → nigeria_nin_match2_input.rb} +94 -82
  138. data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +40 -0
  139. data/lib/trinsic_api/models/person_data.rb +7 -0
  140. data/lib/trinsic_api/models/{identifier.rb → peru_dni_address.rb} +53 -49
  141. data/lib/trinsic_api/models/peru_dni_lookup_input.rb +222 -0
  142. data/lib/trinsic_api/models/peru_dni_provider_output.rb +518 -0
  143. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +2 -1
  144. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +2 -1
  145. data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +320 -0
  146. data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +293 -0
  147. data/lib/trinsic_api/models/{finalize_mdl_exchange_request.rb → portugal_id_card_provider_output.rb} +69 -68
  148. data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +344 -0
  149. data/lib/trinsic_api/models/{provider_contract.rb → provider.rb} +183 -125
  150. data/lib/trinsic_api/models/provider_input.rb +223 -124
  151. data/lib/trinsic_api/models/provider_output.rb +317 -15
  152. data/lib/trinsic_api/models/recommend_provider_health_option.rb +41 -0
  153. data/lib/trinsic_api/models/{provider_information.rb → recommend_provider_information.rb} +79 -73
  154. data/lib/trinsic_api/models/{recommend_request.rb → recommend_providers_request.rb} +27 -5
  155. data/lib/trinsic_api/models/{list_provider_contracts_response.rb → recommend_providers_response.rb} +20 -21
  156. data/lib/trinsic_api/models/redirect_uri_response.rb +9 -0
  157. data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +239 -0
  158. data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +320 -0
  159. data/lib/trinsic_api/models/smart_id_input.rb +1 -12
  160. data/lib/trinsic_api/models/smart_id_provider_output.rb +355 -0
  161. data/lib/trinsic_api/models/south_africa_nid_biometric2_input.rb +246 -0
  162. data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +310 -0
  163. data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +40 -0
  164. data/lib/trinsic_api/models/spid_provider_output.rb +131 -20
  165. data/lib/trinsic_api/models/sub_provider_metadata.rb +1 -28
  166. data/lib/trinsic_api/models/{provider_info.rb → sweden_bank_id_provider_output.rb} +121 -153
  167. data/lib/trinsic_api/models/uganda_nid_match2_input.rb +244 -0
  168. data/lib/trinsic_api/models/verification_profile_response.rb +31 -4
  169. data/lib/trinsic_api/models/yoti_document_details.rb +266 -0
  170. data/lib/trinsic_api/models/yoti_provider_output.rb +344 -0
  171. data/lib/trinsic_api/models/yoti_structured_postal_address.rb +431 -0
  172. data/lib/trinsic_api/models/{document_scan_attachments.rb → zimbabwe_nid_lookup2_input.rb} +12 -11
  173. data/lib/trinsic_api/version.rb +1 -1
  174. data/lib/trinsic_api.rb +63 -30
  175. data/spec/api/providers_api_spec.rb +47 -0
  176. data/spec/api/{environment_redirect_uris_api_spec.rb → redirect_uris_api_spec.rb} +10 -10
  177. data/spec/api/sessions_api_spec.rb +27 -1
  178. data/spec/api/verification_profiles_api_spec.rb +1 -0
  179. data/spec/models/{environment_redirect_uris_add_request_spec.rb → add_redirect_uri_request_spec.rb} +6 -6
  180. data/spec/models/{list_provider_contracts_response_spec.rb → apple_wallet_provider_output_spec.rb} +7 -7
  181. data/spec/models/attachment_info_spec.rb +54 -0
  182. data/spec/models/{mdl_field_data_type_spec.rb → attribute_availability_spec.rb} +6 -6
  183. data/spec/models/austria_handy_signatur_provider_output_spec.rb +42 -0
  184. data/spec/models/{finalize_mdl_exchange_response_spec.rb → belgium_id_card_provider_output_spec.rb} +10 -10
  185. data/spec/models/contract_attachment_spec.rb +42 -0
  186. data/spec/models/contract_attribute_spec.rb +42 -0
  187. data/spec/models/cote_d_ivoire_nid_lookup2_input_spec.rb +36 -0
  188. data/spec/models/czechia_moje_id_provider_output_spec.rb +54 -0
  189. data/spec/models/document_data_spec.rb +6 -0
  190. data/spec/models/estonia_id_card_provider_output_spec.rb +54 -0
  191. data/spec/models/finland_id_card_provider_output_spec.rb +54 -0
  192. data/spec/models/freja_provider_output_spec.rb +54 -0
  193. data/spec/models/french_numerique_given_name_spec.rb +48 -0
  194. data/spec/models/french_numerique_nationality_spec.rb +42 -0
  195. data/spec/models/{contract_identifier_field_spec.rb → french_numerique_phone_spec.rb} +9 -9
  196. data/spec/models/french_numerique_provider_output_spec.rb +180 -0
  197. data/spec/models/get_attachment_request_spec.rb +1 -7
  198. data/spec/models/google_wallet_provider_output_spec.rb +36 -0
  199. data/spec/models/identity_data_spec.rb +1 -7
  200. data/spec/models/{bangladesh_nid_input_spec.rb → itsme_provider_output_spec.rb} +11 -11
  201. data/spec/models/{sex_v1_spec.rb → kenya_nid_match2_input_sex_spec.rb} +6 -6
  202. data/spec/models/la_wallet_provider_output_spec.rb +138 -0
  203. data/spec/models/latvia_eparaksts_mobile_provider_output_spec.rb +48 -0
  204. data/spec/models/latvia_eparaksts_provider_output_spec.rb +48 -0
  205. data/spec/models/{list_environment_redirect_uris_response_spec.rb → list_redirect_uris_response_spec.rb} +6 -6
  206. data/spec/models/lithuania_id_card_provider_output_spec.rb +54 -0
  207. data/spec/models/lloyds_smart_id_provider_output_spec.rb +102 -0
  208. data/spec/models/match_data_spec.rb +6 -0
  209. data/spec/models/{mdl_certificate_data_spec.rb → mdl_output_certificate_data_spec.rb} +6 -6
  210. data/spec/models/{external_mdl_field_data_spec.rb → mdl_output_field_data_spec.rb} +6 -6
  211. data/spec/models/{field_availability_spec.rb → mdl_output_field_data_type_spec.rb} +6 -6
  212. data/spec/models/{mdl_identity_data_spec.rb → mdl_output_spec.rb} +12 -6
  213. data/spec/models/mit_id_provider_output_spec.rb +96 -0
  214. data/spec/models/{language_spec.rb → mobile_id_language_spec.rb} +6 -6
  215. data/spec/models/{create_mdl_exchange_request_spec.rb → mobile_id_provider_output_spec.rb} +20 -14
  216. data/spec/models/nigeria_nin_biometric2_input_spec.rb +48 -0
  217. data/spec/models/{document_scan_attachments_spec.rb → nigeria_nin_lookup2_input_spec.rb} +7 -7
  218. data/spec/models/nigeria_nin_match2_input_sex_spec.rb +30 -0
  219. data/spec/models/{provider_info_spec.rb → nigeria_nin_match2_input_spec.rb} +13 -13
  220. data/spec/models/{identifier_spec.rb → peru_dni_address_spec.rb} +9 -9
  221. data/spec/models/{provider_attachments_spec.rb → peru_dni_lookup_input_spec.rb} +7 -7
  222. data/spec/models/peru_dni_provider_output_spec.rb +126 -0
  223. data/spec/models/{finalize_mdl_exchange_request_spec.rb → poland_edo_app_provider_output_spec.rb} +10 -10
  224. data/spec/models/{create_mdl_exchange_response_spec.rb → poland_moje_id_provider_output_spec.rb} +9 -9
  225. data/spec/models/portugal_id_card_provider_output_spec.rb +54 -0
  226. data/spec/models/post_office_easy_id_provider_output_spec.rb +102 -0
  227. data/spec/models/provider_input_spec.rb +70 -16
  228. data/spec/models/provider_output_spec.rb +164 -2
  229. data/spec/models/{provider_contract_spec.rb → provider_spec.rb} +28 -16
  230. data/spec/models/recommend_provider_health_option_spec.rb +30 -0
  231. data/spec/models/{provider_information_spec.rb → recommend_provider_information_spec.rb} +11 -11
  232. data/spec/models/{recommend_request_spec.rb → recommend_providers_request_spec.rb} +6 -6
  233. data/spec/models/recommend_providers_response_spec.rb +36 -0
  234. data/spec/models/samsung_wallet_provider_output_spec.rb +36 -0
  235. data/spec/models/serbia_id_card_provider_output_spec.rb +54 -0
  236. data/spec/models/smart_id_input_spec.rb +0 -6
  237. data/spec/models/smart_id_provider_output_spec.rb +108 -0
  238. data/spec/models/south_africa_nid_biometric2_input_spec.rb +48 -0
  239. data/spec/models/south_africa_nid_match2_input_sex_spec.rb +30 -0
  240. data/spec/models/{attachment_access_keys_spec.rb → south_africa_nid_match2_input_spec.rb} +18 -12
  241. data/spec/models/spid_provider_output_spec.rb +61 -1
  242. data/spec/models/sub_provider_metadata_spec.rb +0 -6
  243. data/spec/models/sweden_bank_id_provider_output_spec.rb +108 -0
  244. data/spec/models/{contract_field_spec.rb → uganda_nid_match2_input_spec.rb} +9 -9
  245. data/spec/models/verification_profile_response_spec.rb +6 -0
  246. data/spec/models/yoti_document_details_spec.rb +60 -0
  247. data/spec/models/yoti_provider_output_spec.rb +102 -0
  248. data/spec/models/yoti_structured_postal_address_spec.rb +150 -0
  249. data/spec/models/zimbabwe_nid_lookup2_input_spec.rb +36 -0
  250. metadata +254 -122
  251. data/docs/AttachmentAccessKeys.md +0 -28
  252. data/docs/AttachmentsApi.md +0 -79
  253. data/docs/BangladeshNidInput.md +0 -26
  254. data/docs/ContractField.md +0 -22
  255. data/docs/ContractIdentifierField.md +0 -22
  256. data/docs/CreateMdlExchangeRequest.md +0 -32
  257. data/docs/CreateMdlExchangeResponse.md +0 -22
  258. data/docs/DocumentScanAttachments.md +0 -18
  259. data/docs/FinalizeMdlExchangeRequest.md +0 -24
  260. data/docs/FinalizeMdlExchangeResponse.md +0 -24
  261. data/docs/Identifier.md +0 -22
  262. data/docs/ListProviderContractsResponse.md +0 -18
  263. data/docs/MdlApi.md +0 -151
  264. data/docs/MdlCertificateData.md +0 -26
  265. data/docs/MdlIdentityData.md +0 -22
  266. data/docs/NetworkApi.md +0 -223
  267. data/docs/ProviderAttachments.md +0 -18
  268. data/docs/ProviderInfo.md +0 -30
  269. data/docs/RecommendResponse.md +0 -22
  270. data/lib/trinsic_api/api/attachments_api.rb +0 -86
  271. data/lib/trinsic_api/api/mdl_api.rb +0 -150
  272. data/lib/trinsic_api/api/network_api.rb +0 -215
  273. data/lib/trinsic_api/models/attachment_access_keys.rb +0 -287
  274. data/lib/trinsic_api/models/create_mdl_exchange_request.rb +0 -404
  275. data/spec/api/attachments_api_spec.rb +0 -47
  276. data/spec/api/mdl_api_spec.rb +0 -59
  277. data/spec/api/network_api_spec.rb +0 -72
  278. data/spec/models/recommend_response_spec.rb +0 -48
@@ -0,0 +1,310 @@
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.13.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ class SouthAfricaNidMatch2Input
18
+ # The user's South African National ID number
19
+ attr_accessor :id_number
20
+
21
+ # The user's first name as it appears in their National ID
22
+ attr_accessor :given_name
23
+
24
+ # The user's last name as it appears in their National ID
25
+ attr_accessor :family_name
26
+
27
+ # The user's middle name as it appears in their National ID (optional)
28
+ attr_accessor :middle_name
29
+
30
+ # The user's date of birth, in `YYYY-MM-DD` format
31
+ attr_accessor :date_of_birth
32
+
33
+ # The user's sex as it appears in their National ID
34
+ attr_accessor :sex
35
+
36
+ # The user's phone number as it appears in their National ID (optional). Must be in E.164 international format: \"+27XXXXXXXXX\"
37
+ attr_accessor :phone_number
38
+
39
+ class EnumAttributeValidator
40
+ attr_reader :datatype
41
+ attr_reader :allowable_values
42
+
43
+ def initialize(datatype, allowable_values)
44
+ @allowable_values = allowable_values.map do |value|
45
+ case datatype.to_s
46
+ when /Integer/i
47
+ value.to_i
48
+ when /Float/i
49
+ value.to_f
50
+ else
51
+ value
52
+ end
53
+ end
54
+ end
55
+
56
+ def valid?(value)
57
+ !value || allowable_values.include?(value)
58
+ end
59
+ end
60
+
61
+ # Attribute mapping from ruby-style variable name to JSON key.
62
+ def self.attribute_map
63
+ {
64
+ :'id_number' => :'idNumber',
65
+ :'given_name' => :'givenName',
66
+ :'family_name' => :'familyName',
67
+ :'middle_name' => :'middleName',
68
+ :'date_of_birth' => :'dateOfBirth',
69
+ :'sex' => :'sex',
70
+ :'phone_number' => :'phoneNumber'
71
+ }
72
+ end
73
+
74
+ # Returns attribute mapping this model knows about
75
+ def self.acceptable_attribute_map
76
+ attribute_map
77
+ end
78
+
79
+ # Returns all the JSON keys this model knows about
80
+ def self.acceptable_attributes
81
+ acceptable_attribute_map.values
82
+ end
83
+
84
+ # Attribute type mapping.
85
+ def self.openapi_types
86
+ {
87
+ :'id_number' => :'String',
88
+ :'given_name' => :'String',
89
+ :'family_name' => :'String',
90
+ :'middle_name' => :'String',
91
+ :'date_of_birth' => :'Date',
92
+ :'sex' => :'SouthAfricaNidMatch2InputSex',
93
+ :'phone_number' => :'String'
94
+ }
95
+ end
96
+
97
+ # List of attributes with nullable: true
98
+ def self.openapi_nullable
99
+ Set.new([
100
+ :'id_number',
101
+ :'given_name',
102
+ :'family_name',
103
+ :'middle_name',
104
+ :'date_of_birth',
105
+ :'sex',
106
+ :'phone_number'
107
+ ])
108
+ end
109
+
110
+ # Initializes the object
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ def initialize(attributes = {})
113
+ if (!attributes.is_a?(Hash))
114
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::SouthAfricaNidMatch2Input` initialize method"
115
+ end
116
+
117
+ # check to see if the attribute exists and convert string to symbol for hash key
118
+ acceptable_attribute_map = self.class.acceptable_attribute_map
119
+ attributes = attributes.each_with_object({}) { |(k, v), h|
120
+ if (!acceptable_attribute_map.key?(k.to_sym))
121
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SouthAfricaNidMatch2Input`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
122
+ end
123
+ h[k.to_sym] = v
124
+ }
125
+
126
+ if attributes.key?(:'id_number')
127
+ self.id_number = attributes[:'id_number']
128
+ end
129
+
130
+ if attributes.key?(:'given_name')
131
+ self.given_name = attributes[:'given_name']
132
+ end
133
+
134
+ if attributes.key?(:'family_name')
135
+ self.family_name = attributes[:'family_name']
136
+ end
137
+
138
+ if attributes.key?(:'middle_name')
139
+ self.middle_name = attributes[:'middle_name']
140
+ end
141
+
142
+ if attributes.key?(:'date_of_birth')
143
+ self.date_of_birth = attributes[:'date_of_birth']
144
+ end
145
+
146
+ if attributes.key?(:'sex')
147
+ self.sex = attributes[:'sex']
148
+ end
149
+
150
+ if attributes.key?(:'phone_number')
151
+ self.phone_number = attributes[:'phone_number']
152
+ end
153
+ end
154
+
155
+ # Show invalid properties with the reasons. Usually used together with valid?
156
+ # @return Array for valid properties with the reasons
157
+ def list_invalid_properties
158
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
159
+ invalid_properties = Array.new
160
+ invalid_properties
161
+ end
162
+
163
+ # Check to see if the all the properties in the model are valid
164
+ # @return true if the model is valid
165
+ def valid?
166
+ warn '[DEPRECATED] the `valid?` method is obsolete'
167
+ true
168
+ end
169
+
170
+ # Checks equality by comparing each attribute.
171
+ # @param [Object] Object to be compared
172
+ def ==(o)
173
+ return true if self.equal?(o)
174
+ self.class == o.class &&
175
+ id_number == o.id_number &&
176
+ given_name == o.given_name &&
177
+ family_name == o.family_name &&
178
+ middle_name == o.middle_name &&
179
+ date_of_birth == o.date_of_birth &&
180
+ sex == o.sex &&
181
+ phone_number == o.phone_number
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
+ [id_number, given_name, family_name, middle_name, date_of_birth, sex, phone_number].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
+ # Deserializes the data based on type
220
+ # @param string type Data type
221
+ # @param string value Value to be deserialized
222
+ # @return [Object] Deserialized data
223
+ def self._deserialize(type, value)
224
+ case type.to_sym
225
+ when :Time
226
+ Time.parse(value)
227
+ when :Date
228
+ Date.parse(value)
229
+ when :String
230
+ value.to_s
231
+ when :Integer
232
+ value.to_i
233
+ when :Float
234
+ value.to_f
235
+ when :Boolean
236
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
237
+ true
238
+ else
239
+ false
240
+ end
241
+ when :Object
242
+ # generic object (usually a Hash), return directly
243
+ value
244
+ when /\AArray<(?<inner_type>.+)>\z/
245
+ inner_type = Regexp.last_match[:inner_type]
246
+ value.map { |v| _deserialize(inner_type, v) }
247
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
248
+ k_type = Regexp.last_match[:k_type]
249
+ v_type = Regexp.last_match[:v_type]
250
+ {}.tap do |hash|
251
+ value.each do |k, v|
252
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
253
+ end
254
+ end
255
+ else # model
256
+ # models (e.g. Pet) or oneOf
257
+ klass = TrinsicApi.const_get(type)
258
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
259
+ end
260
+ end
261
+
262
+ # Returns the string representation of the object
263
+ # @return [String] String presentation of the object
264
+ def to_s
265
+ to_hash.to_s
266
+ end
267
+
268
+ # to_body is an alias to to_hash (backward compatibility)
269
+ # @return [Hash] Returns the object in the form of hash
270
+ def to_body
271
+ to_hash
272
+ end
273
+
274
+ # Returns the object in the form of hash
275
+ # @return [Hash] Returns the object in the form of hash
276
+ def to_hash
277
+ hash = {}
278
+ self.class.attribute_map.each_pair do |attr, param|
279
+ value = self.send(attr)
280
+ if value.nil?
281
+ is_nullable = self.class.openapi_nullable.include?(attr)
282
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
283
+ end
284
+
285
+ hash[param] = _to_hash(value)
286
+ end
287
+ hash
288
+ end
289
+
290
+ # Outputs non-array value in the form of hash
291
+ # For object, use to_hash. Otherwise, just return the value
292
+ # @param [Object] value Any valid value
293
+ # @return [Hash] Returns the value in the form of hash
294
+ def _to_hash(value)
295
+ if value.is_a?(Array)
296
+ value.compact.map { |v| _to_hash(v) }
297
+ elsif value.is_a?(Hash)
298
+ {}.tap do |hash|
299
+ value.each { |k, v| hash[k] = _to_hash(v) }
300
+ end
301
+ elsif value.respond_to? :to_hash
302
+ value.to_hash
303
+ else
304
+ value
305
+ end
306
+ end
307
+
308
+ end
309
+
310
+ end
@@ -0,0 +1,40 @@
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.13.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ class SouthAfricaNidMatch2InputSex
18
+ MALE = "Male".freeze
19
+ FEMALE = "Female".freeze
20
+
21
+ def self.all_vars
22
+ @all_vars ||= [MALE, FEMALE].freeze
23
+ end
24
+
25
+ # Builds the enum from string
26
+ # @param [String] The enum value in the form of the string
27
+ # @return [String] The enum value
28
+ def self.build_from_hash(value)
29
+ new.build_from_hash(value)
30
+ end
31
+
32
+ # Builds the enum from string
33
+ # @param [String] The enum value in the form of the string
34
+ # @return [String] The enum value
35
+ def build_from_hash(value)
36
+ return value if SouthAfricaNidMatch2InputSex.all_vars.include?(value)
37
+ raise "Invalid ENUM value #{value} for class #SouthAfricaNidMatch2InputSex"
38
+ end
39
+ end
40
+ end
@@ -14,6 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module TrinsicApi
17
+ # Exposed properties for the `italy-spid` Provider which do not directly map to the normalized IdentityData model.
17
18
  class SpidProviderOutput
18
19
  # Information about the billable status of this SPID Verification. Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this.
19
20
  attr_accessor :billing_information
@@ -21,40 +22,70 @@ module TrinsicApi
21
22
  # The SPID Entity ID of the Identity Provider which issued the SPID identity. This is an HTTPS URI which uniquely identifies the IdP within the SPID federation. A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model.
22
23
  attr_accessor :identity_provider_entity_id
23
24
 
24
- # The identifier of the user's SPID credential. This uniquely identifies the credential within the SPID federation.
25
+ # The identifier of the SPID credential, uniquely identifying it within the SPID federation. The format of this string is specific to each individual Identity Provider.
25
26
  attr_accessor :spid_code
26
27
 
27
- # Expiration date of the user's SPID credential. This is not the same as the expiration date of the underlying identity document (such as a passport) which was used to create the SPID identity.
28
+ # Expiration date of the SPID credential. This is not the same as the expiration date of the underlying identity document (such as a passport) which was used to create the SPID identity.
28
29
  attr_accessor :spid_credential_expiration_date
29
30
 
30
- # The user's place of birth.
31
+ # The raw, space-separated string value for the \"IdCard\" field from the SPID credential. Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model.
32
+ attr_accessor :raw_id_card
33
+
34
+ # The individual's first / given name(s)
35
+ attr_accessor :given_name
36
+
37
+ # The individual's last / family name(s)
38
+ attr_accessor :family_name
39
+
40
+ # The date of birth of the individual
41
+ attr_accessor :date_of_birth
42
+
43
+ # The gender of the individual. Possible values: \"M\" | \"F\"
44
+ attr_accessor :gender
45
+
46
+ # The individual's place of birth. This is a 4-digit Belfiore Code identifying either the municipality of birth (for births in Italy) or a foreign country (for births outside Italy).
31
47
  attr_accessor :place_of_birth
32
48
 
33
- # The user's county of birth.
49
+ # The individual's county (province) of birth, abbreviated. For foreign births, this is \"EE\".
34
50
  attr_accessor :county_of_birth
35
51
 
36
- # The raw, space-separated string value for the \"IdCard\" field from the SPID identity. Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model.
37
- attr_accessor :raw_id_card
52
+ # The street address of the individual's residence. This includes street name, street type, and house number, in the standard format for the given state.
53
+ attr_accessor :domicile_street_address
54
+
55
+ # The postal code of the individual's residence
56
+ attr_accessor :domicile_postal_code
57
+
58
+ # The municipality of the individual's residence
59
+ attr_accessor :domicile_municipality
60
+
61
+ # The province of the individual's residence
62
+ attr_accessor :domicile_province
63
+
64
+ # The 2-digit country code of the individual's residence
65
+ attr_accessor :domicile_nation
38
66
 
39
- # The email address of the user.
67
+ # The email address of the individual
40
68
  attr_accessor :email
41
69
 
42
- # The digital address of the user.
70
+ # The mobile phone number of the individual, in Italian format.
71
+ attr_accessor :mobile_phone
72
+
73
+ # The PEC (Italian Certified Email) address of the individual or organization.
43
74
  attr_accessor :digital_address
44
75
 
45
- # Fiscal tax number for the subject.
76
+ # Fiscal tax number for the individual.
46
77
  attr_accessor :fiscal_number
47
78
 
48
- # VAT number for the subject.
79
+ # The VAT number of the organization which was verified, or of the organization which the verified individual is associated with.
49
80
  attr_accessor :iva_code
50
81
 
51
- # The name of the company which the user is associated with.
82
+ # The name of the organization which was verified, or of the organization which the verified individual is associated with.
52
83
  attr_accessor :company_name
53
84
 
54
- # The fiscal tax number of the company which the user is associated with.
85
+ # The fiscal tax number of the organization which was verified, or of the organization which the verified individual is associated with.
55
86
  attr_accessor :company_fiscal_number
56
87
 
57
- # The registered office address of the company which the user is associated with.
88
+ # The registered office address of the organization which was verified, or of the organization which the verified individual is associated with.
58
89
  attr_accessor :registered_office
59
90
 
60
91
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -64,10 +95,20 @@ module TrinsicApi
64
95
  :'identity_provider_entity_id' => :'identityProviderEntityId',
65
96
  :'spid_code' => :'spidCode',
66
97
  :'spid_credential_expiration_date' => :'spidCredentialExpirationDate',
98
+ :'raw_id_card' => :'rawIdCard',
99
+ :'given_name' => :'givenName',
100
+ :'family_name' => :'familyName',
101
+ :'date_of_birth' => :'dateOfBirth',
102
+ :'gender' => :'gender',
67
103
  :'place_of_birth' => :'placeOfBirth',
68
104
  :'county_of_birth' => :'countyOfBirth',
69
- :'raw_id_card' => :'rawIdCard',
105
+ :'domicile_street_address' => :'domicileStreetAddress',
106
+ :'domicile_postal_code' => :'domicilePostalCode',
107
+ :'domicile_municipality' => :'domicileMunicipality',
108
+ :'domicile_province' => :'domicileProvince',
109
+ :'domicile_nation' => :'domicileNation',
70
110
  :'email' => :'email',
111
+ :'mobile_phone' => :'mobilePhone',
71
112
  :'digital_address' => :'digitalAddress',
72
113
  :'fiscal_number' => :'fiscalNumber',
73
114
  :'iva_code' => :'ivaCode',
@@ -94,10 +135,20 @@ module TrinsicApi
94
135
  :'identity_provider_entity_id' => :'String',
95
136
  :'spid_code' => :'String',
96
137
  :'spid_credential_expiration_date' => :'Date',
138
+ :'raw_id_card' => :'String',
139
+ :'given_name' => :'String',
140
+ :'family_name' => :'String',
141
+ :'date_of_birth' => :'Date',
142
+ :'gender' => :'String',
97
143
  :'place_of_birth' => :'String',
98
144
  :'county_of_birth' => :'String',
99
- :'raw_id_card' => :'String',
145
+ :'domicile_street_address' => :'String',
146
+ :'domicile_postal_code' => :'String',
147
+ :'domicile_municipality' => :'String',
148
+ :'domicile_province' => :'String',
149
+ :'domicile_nation' => :'String',
100
150
  :'email' => :'String',
151
+ :'mobile_phone' => :'String',
101
152
  :'digital_address' => :'String',
102
153
  :'fiscal_number' => :'String',
103
154
  :'iva_code' => :'String',
@@ -112,10 +163,20 @@ module TrinsicApi
112
163
  Set.new([
113
164
  :'billing_information',
114
165
  :'spid_credential_expiration_date',
166
+ :'raw_id_card',
167
+ :'given_name',
168
+ :'family_name',
169
+ :'date_of_birth',
170
+ :'gender',
115
171
  :'place_of_birth',
116
172
  :'county_of_birth',
117
- :'raw_id_card',
173
+ :'domicile_street_address',
174
+ :'domicile_postal_code',
175
+ :'domicile_municipality',
176
+ :'domicile_province',
177
+ :'domicile_nation',
118
178
  :'email',
179
+ :'mobile_phone',
119
180
  :'digital_address',
120
181
  :'fiscal_number',
121
182
  :'iva_code',
@@ -161,6 +222,26 @@ module TrinsicApi
161
222
  self.spid_credential_expiration_date = attributes[:'spid_credential_expiration_date']
162
223
  end
163
224
 
225
+ if attributes.key?(:'raw_id_card')
226
+ self.raw_id_card = attributes[:'raw_id_card']
227
+ end
228
+
229
+ if attributes.key?(:'given_name')
230
+ self.given_name = attributes[:'given_name']
231
+ end
232
+
233
+ if attributes.key?(:'family_name')
234
+ self.family_name = attributes[:'family_name']
235
+ end
236
+
237
+ if attributes.key?(:'date_of_birth')
238
+ self.date_of_birth = attributes[:'date_of_birth']
239
+ end
240
+
241
+ if attributes.key?(:'gender')
242
+ self.gender = attributes[:'gender']
243
+ end
244
+
164
245
  if attributes.key?(:'place_of_birth')
165
246
  self.place_of_birth = attributes[:'place_of_birth']
166
247
  end
@@ -169,14 +250,34 @@ module TrinsicApi
169
250
  self.county_of_birth = attributes[:'county_of_birth']
170
251
  end
171
252
 
172
- if attributes.key?(:'raw_id_card')
173
- self.raw_id_card = attributes[:'raw_id_card']
253
+ if attributes.key?(:'domicile_street_address')
254
+ self.domicile_street_address = attributes[:'domicile_street_address']
255
+ end
256
+
257
+ if attributes.key?(:'domicile_postal_code')
258
+ self.domicile_postal_code = attributes[:'domicile_postal_code']
259
+ end
260
+
261
+ if attributes.key?(:'domicile_municipality')
262
+ self.domicile_municipality = attributes[:'domicile_municipality']
263
+ end
264
+
265
+ if attributes.key?(:'domicile_province')
266
+ self.domicile_province = attributes[:'domicile_province']
267
+ end
268
+
269
+ if attributes.key?(:'domicile_nation')
270
+ self.domicile_nation = attributes[:'domicile_nation']
174
271
  end
175
272
 
176
273
  if attributes.key?(:'email')
177
274
  self.email = attributes[:'email']
178
275
  end
179
276
 
277
+ if attributes.key?(:'mobile_phone')
278
+ self.mobile_phone = attributes[:'mobile_phone']
279
+ end
280
+
180
281
  if attributes.key?(:'digital_address')
181
282
  self.digital_address = attributes[:'digital_address']
182
283
  end
@@ -256,10 +357,20 @@ module TrinsicApi
256
357
  identity_provider_entity_id == o.identity_provider_entity_id &&
257
358
  spid_code == o.spid_code &&
258
359
  spid_credential_expiration_date == o.spid_credential_expiration_date &&
360
+ raw_id_card == o.raw_id_card &&
361
+ given_name == o.given_name &&
362
+ family_name == o.family_name &&
363
+ date_of_birth == o.date_of_birth &&
364
+ gender == o.gender &&
259
365
  place_of_birth == o.place_of_birth &&
260
366
  county_of_birth == o.county_of_birth &&
261
- raw_id_card == o.raw_id_card &&
367
+ domicile_street_address == o.domicile_street_address &&
368
+ domicile_postal_code == o.domicile_postal_code &&
369
+ domicile_municipality == o.domicile_municipality &&
370
+ domicile_province == o.domicile_province &&
371
+ domicile_nation == o.domicile_nation &&
262
372
  email == o.email &&
373
+ mobile_phone == o.mobile_phone &&
263
374
  digital_address == o.digital_address &&
264
375
  fiscal_number == o.fiscal_number &&
265
376
  iva_code == o.iva_code &&
@@ -277,7 +388,7 @@ module TrinsicApi
277
388
  # Calculates hash code according to all attributes.
278
389
  # @return [Integer] Hash code
279
390
  def hash
280
- [billing_information, identity_provider_entity_id, spid_code, spid_credential_expiration_date, place_of_birth, county_of_birth, raw_id_card, email, digital_address, fiscal_number, iva_code, company_name, company_fiscal_number, registered_office].hash
391
+ [billing_information, identity_provider_entity_id, spid_code, spid_credential_expiration_date, raw_id_card, given_name, family_name, date_of_birth, gender, place_of_birth, county_of_birth, domicile_street_address, domicile_postal_code, domicile_municipality, domicile_province, domicile_nation, email, mobile_phone, digital_address, fiscal_number, iva_code, company_name, company_fiscal_number, registered_office].hash
281
392
  end
282
393
 
283
394
  # Builds the object from hash
@@ -25,9 +25,6 @@ module TrinsicApi
25
25
  # The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider.
26
26
  attr_accessor :subtext
27
27
 
28
- # The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider.
29
- attr_accessor :description
30
-
31
28
  # A URL pointing to the logo on Trinsic's CDN. May be a PNG, JPG, or SVG image.
32
29
  attr_accessor :logo_url
33
30
 
@@ -37,7 +34,6 @@ module TrinsicApi
37
34
  :'id' => :'id',
38
35
  :'name' => :'name',
39
36
  :'subtext' => :'subtext',
40
- :'description' => :'description',
41
37
  :'logo_url' => :'logoUrl'
42
38
  }
43
39
  end
@@ -58,7 +54,6 @@ module TrinsicApi
58
54
  :'id' => :'String',
59
55
  :'name' => :'String',
60
56
  :'subtext' => :'String',
61
- :'description' => :'String',
62
57
  :'logo_url' => :'String'
63
58
  }
64
59
  end
@@ -103,12 +98,6 @@ module TrinsicApi
103
98
  self.subtext = nil
104
99
  end
105
100
 
106
- if attributes.key?(:'description')
107
- self.description = attributes[:'description']
108
- else
109
- self.description = nil
110
- end
111
-
112
101
  if attributes.key?(:'logo_url')
113
102
  self.logo_url = attributes[:'logo_url']
114
103
  else
@@ -133,10 +122,6 @@ module TrinsicApi
133
122
  invalid_properties.push('invalid value for "subtext", subtext cannot be nil.')
134
123
  end
135
124
 
136
- if @description.nil?
137
- invalid_properties.push('invalid value for "description", description cannot be nil.')
138
- end
139
-
140
125
  if @logo_url.nil?
141
126
  invalid_properties.push('invalid value for "logo_url", logo_url cannot be nil.')
142
127
  end
@@ -151,7 +136,6 @@ module TrinsicApi
151
136
  return false if @id.nil?
152
137
  return false if @name.nil?
153
138
  return false if @subtext.nil?
154
- return false if @description.nil?
155
139
  return false if @logo_url.nil?
156
140
  true
157
141
  end
@@ -186,16 +170,6 @@ module TrinsicApi
186
170
  @subtext = subtext
187
171
  end
188
172
 
189
- # Custom attribute writer method with validation
190
- # @param [Object] description Value to be assigned
191
- def description=(description)
192
- if description.nil?
193
- fail ArgumentError, 'description cannot be nil'
194
- end
195
-
196
- @description = description
197
- end
198
-
199
173
  # Custom attribute writer method with validation
200
174
  # @param [Object] logo_url Value to be assigned
201
175
  def logo_url=(logo_url)
@@ -214,7 +188,6 @@ module TrinsicApi
214
188
  id == o.id &&
215
189
  name == o.name &&
216
190
  subtext == o.subtext &&
217
- description == o.description &&
218
191
  logo_url == o.logo_url
219
192
  end
220
193
 
@@ -227,7 +200,7 @@ module TrinsicApi
227
200
  # Calculates hash code according to all attributes.
228
201
  # @return [Integer] Hash code
229
202
  def hash
230
- [id, name, subtext, description, logo_url].hash
203
+ [id, name, subtext, logo_url].hash
231
204
  end
232
205
 
233
206
  # Builds the object from hash