treezor_client 1.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 (422) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +11 -0
  3. data/Gemfile.lock +71 -0
  4. data/README.md +275 -0
  5. data/Rakefile +13 -0
  6. data/doc/TreezorClient.html +251 -0
  7. data/doc/TreezorClient/ApiClient.html +2600 -0
  8. data/doc/TreezorClient/ApiError.html +464 -0
  9. data/doc/TreezorClient/Balance.html +2042 -0
  10. data/doc/TreezorClient/BalanceApi.html +760 -0
  11. data/doc/TreezorClient/Bankaccount.html +2560 -0
  12. data/doc/TreezorClient/Bankaccount/EnumAttributeValidator.html +455 -0
  13. data/doc/TreezorClient/BankaccountApi.html +2450 -0
  14. data/doc/TreezorClient/BeneficiariesApi.html +2387 -0
  15. data/doc/TreezorClient/BeneficiariesSddB2bWhitelist.html +1816 -0
  16. data/doc/TreezorClient/Beneficiary.html +2574 -0
  17. data/doc/TreezorClient/Body.html +1826 -0
  18. data/doc/TreezorClient/Body/EnumAttributeValidator.html +455 -0
  19. data/doc/TreezorClient/Body1.html +2596 -0
  20. data/doc/TreezorClient/Body10.html +2069 -0
  21. data/doc/TreezorClient/Body10/EnumAttributeValidator.html +455 -0
  22. data/doc/TreezorClient/Body2.html +2492 -0
  23. data/doc/TreezorClient/Body3.html +1726 -0
  24. data/doc/TreezorClient/Body4.html +1726 -0
  25. data/doc/TreezorClient/Body5.html +2001 -0
  26. data/doc/TreezorClient/Body5/EnumAttributeValidator.html +455 -0
  27. data/doc/TreezorClient/Body6.html +2069 -0
  28. data/doc/TreezorClient/Body6/EnumAttributeValidator.html +455 -0
  29. data/doc/TreezorClient/Body7.html +2002 -0
  30. data/doc/TreezorClient/Body7/EnumAttributeValidator.html +455 -0
  31. data/doc/TreezorClient/Body8.html +1981 -0
  32. data/doc/TreezorClient/Body8/EnumAttributeValidator.html +455 -0
  33. data/doc/TreezorClient/Body9.html +2001 -0
  34. data/doc/TreezorClient/Body9/EnumAttributeValidator.html +455 -0
  35. data/doc/TreezorClient/BusinessApi.html +1548 -0
  36. data/doc/TreezorClient/BusinesssearchsBusinessinformations.html +2822 -0
  37. data/doc/TreezorClient/BusinesssearchsBusinessinformations/EnumAttributeValidator.html +455 -0
  38. data/doc/TreezorClient/Card.html +6928 -0
  39. data/doc/TreezorClient/Card/EnumAttributeValidator.html +455 -0
  40. data/doc/TreezorClient/CardApi.html +9907 -0
  41. data/doc/TreezorClient/CardDigitalization.html +2126 -0
  42. data/doc/TreezorClient/CardDigitalizationDetailsFromGPS.html +4343 -0
  43. data/doc/TreezorClient/CardDigitalizationsApi.html +1542 -0
  44. data/doc/TreezorClient/CardReserveApi.html +1622 -0
  45. data/doc/TreezorClient/CardtransactionApi.html +1243 -0
  46. data/doc/TreezorClient/Configuration.html +2459 -0
  47. data/doc/TreezorClient/CountryRestrictionGroupsApi.html +2602 -0
  48. data/doc/TreezorClient/Document.html +2812 -0
  49. data/doc/TreezorClient/Document/EnumAttributeValidator.html +455 -0
  50. data/doc/TreezorClient/DocumentApi.html +2878 -0
  51. data/doc/TreezorClient/Error.html +1794 -0
  52. data/doc/TreezorClient/HeartbeatApi.html +702 -0
  53. data/doc/TreezorClient/InlineResponse200.html +1626 -0
  54. data/doc/TreezorClient/InlineResponse2001.html +1626 -0
  55. data/doc/TreezorClient/InlineResponse20010.html +1626 -0
  56. data/doc/TreezorClient/InlineResponse20010Cardtransactions.html +5844 -0
  57. data/doc/TreezorClient/InlineResponse20011.html +1626 -0
  58. data/doc/TreezorClient/InlineResponse20012.html +1626 -0
  59. data/doc/TreezorClient/InlineResponse20013.html +1626 -0
  60. data/doc/TreezorClient/InlineResponse20014.html +1626 -0
  61. data/doc/TreezorClient/InlineResponse20015.html +1626 -0
  62. data/doc/TreezorClient/InlineResponse20016.html +1626 -0
  63. data/doc/TreezorClient/InlineResponse20017.html +1626 -0
  64. data/doc/TreezorClient/InlineResponse20018.html +1626 -0
  65. data/doc/TreezorClient/InlineResponse20019.html +1626 -0
  66. data/doc/TreezorClient/InlineResponse2002.html +1626 -0
  67. data/doc/TreezorClient/InlineResponse20020.html +1626 -0
  68. data/doc/TreezorClient/InlineResponse20021.html +1626 -0
  69. data/doc/TreezorClient/InlineResponse20022.html +1626 -0
  70. data/doc/TreezorClient/InlineResponse20023.html +1626 -0
  71. data/doc/TreezorClient/InlineResponse20024.html +1626 -0
  72. data/doc/TreezorClient/InlineResponse20025.html +1626 -0
  73. data/doc/TreezorClient/InlineResponse2003.html +1626 -0
  74. data/doc/TreezorClient/InlineResponse2004.html +1626 -0
  75. data/doc/TreezorClient/InlineResponse2005.html +1626 -0
  76. data/doc/TreezorClient/InlineResponse2005Businessinformations.html +3561 -0
  77. data/doc/TreezorClient/InlineResponse2005Businessinformations/EnumAttributeValidator.html +455 -0
  78. data/doc/TreezorClient/InlineResponse2005Users.html +1972 -0
  79. data/doc/TreezorClient/InlineResponse2005Users/EnumAttributeValidator.html +455 -0
  80. data/doc/TreezorClient/InlineResponse2006.html +1626 -0
  81. data/doc/TreezorClient/InlineResponse2007.html +1626 -0
  82. data/doc/TreezorClient/InlineResponse2007Cardimages.html +1800 -0
  83. data/doc/TreezorClient/InlineResponse2008.html +1626 -0
  84. data/doc/TreezorClient/InlineResponse2009.html +1790 -0
  85. data/doc/TreezorClient/InlineResponseDefault.html +1626 -0
  86. data/doc/TreezorClient/IssuerInitiatedDigitizationDataApi.html +1371 -0
  87. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalData.html +1803 -0
  88. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.html +1804 -0
  89. data/doc/TreezorClient/Mandate.html +4584 -0
  90. data/doc/TreezorClient/Mandate/EnumAttributeValidator.html +455 -0
  91. data/doc/TreezorClient/MandateApi.html +3787 -0
  92. data/doc/TreezorClient/MccRestrictionGroup.html +2144 -0
  93. data/doc/TreezorClient/MccRestrictionGroup/EnumAttributeValidator.html +455 -0
  94. data/doc/TreezorClient/MccRestrictionGroupsApi.html +2598 -0
  95. data/doc/TreezorClient/MerchantIdRestrictionGroup.html +2144 -0
  96. data/doc/TreezorClient/MerchantIdRestrictionGroup/EnumAttributeValidator.html +455 -0
  97. data/doc/TreezorClient/MerchantIdRestrictionGroupsApi.html +2638 -0
  98. data/doc/TreezorClient/Payin.html +5584 -0
  99. data/doc/TreezorClient/Payin/EnumAttributeValidator.html +455 -0
  100. data/doc/TreezorClient/PayinApi.html +2963 -0
  101. data/doc/TreezorClient/Payinrefund.html +2476 -0
  102. data/doc/TreezorClient/Payinrefund/EnumAttributeValidator.html +455 -0
  103. data/doc/TreezorClient/PayinrefundApi.html +2449 -0
  104. data/doc/TreezorClient/Payout.html +3488 -0
  105. data/doc/TreezorClient/Payout/EnumAttributeValidator.html +455 -0
  106. data/doc/TreezorClient/PayoutApi.html +2737 -0
  107. data/doc/TreezorClient/Tav.html +2130 -0
  108. data/doc/TreezorClient/Transaction.html +2798 -0
  109. data/doc/TreezorClient/TransactionApi.html +1491 -0
  110. data/doc/TreezorClient/Transfer.html +3158 -0
  111. data/doc/TreezorClient/Transfer/EnumAttributeValidator.html +455 -0
  112. data/doc/TreezorClient/TransferApi.html +2725 -0
  113. data/doc/TreezorClient/Transferrefund.html +2644 -0
  114. data/doc/TreezorClient/Transferrefund/EnumAttributeValidator.html +455 -0
  115. data/doc/TreezorClient/TransferrefundApi.html +2450 -0
  116. data/doc/TreezorClient/User.html +5844 -0
  117. data/doc/TreezorClient/User/EnumAttributeValidator.html +455 -0
  118. data/doc/TreezorClient/UserApi.html +6647 -0
  119. data/doc/TreezorClient/Virtualiban.html +2462 -0
  120. data/doc/TreezorClient/VirtualibansApi.html +2845 -0
  121. data/doc/TreezorClient/Wallet.html +4076 -0
  122. data/doc/TreezorClient/Wallet/EnumAttributeValidator.html +455 -0
  123. data/doc/TreezorClient/WalletApi.html +3944 -0
  124. data/doc/_index.html +1025 -0
  125. data/doc/class_list.html +51 -0
  126. data/doc/css/common.css +1 -0
  127. data/doc/css/full_list.css +58 -0
  128. data/doc/css/style.css +496 -0
  129. data/doc/file.README.html +636 -0
  130. data/doc/file_list.html +56 -0
  131. data/doc/frames.html +17 -0
  132. data/doc/index.html +636 -0
  133. data/doc/js/app.js +292 -0
  134. data/doc/js/full_list.js +216 -0
  135. data/doc/js/jquery.js +4 -0
  136. data/doc/method_list.html +15699 -0
  137. data/doc/top-level-namespace.html +110 -0
  138. data/docs/Balance.md +13 -0
  139. data/docs/BalanceApi.md +74 -0
  140. data/docs/Bankaccount.md +19 -0
  141. data/docs/BankaccountApi.md +288 -0
  142. data/docs/BeneficiariesApi.md +284 -0
  143. data/docs/BeneficiariesSddB2bWhitelist.md +10 -0
  144. data/docs/Beneficiary.md +19 -0
  145. data/docs/Body.md +10 -0
  146. data/docs/Body1.md +19 -0
  147. data/docs/Body10.md +13 -0
  148. data/docs/Body2.md +18 -0
  149. data/docs/Body3.md +9 -0
  150. data/docs/Body4.md +9 -0
  151. data/docs/Body5.md +12 -0
  152. data/docs/Body6.md +13 -0
  153. data/docs/Body7.md +12 -0
  154. data/docs/Body8.md +12 -0
  155. data/docs/Body9.md +12 -0
  156. data/docs/BusinessApi.md +162 -0
  157. data/docs/BusinesssearchsBusinessinformations.md +22 -0
  158. data/docs/Card.md +71 -0
  159. data/docs/CardApi.md +1202 -0
  160. data/docs/CardDigitalization.md +14 -0
  161. data/docs/CardDigitalizationDetailsFromGPS.md +40 -0
  162. data/docs/CardDigitalizationsApi.md +195 -0
  163. data/docs/CardReserveApi.md +201 -0
  164. data/docs/CardtransactionApi.md +141 -0
  165. data/docs/CountryRestrictionGroupsApi.md +333 -0
  166. data/docs/Document.md +22 -0
  167. data/docs/DocumentApi.md +351 -0
  168. data/docs/Error.md +10 -0
  169. data/docs/HeartbeatApi.md +69 -0
  170. data/docs/InlineResponse200.md +8 -0
  171. data/docs/InlineResponse2001.md +8 -0
  172. data/docs/InlineResponse20010.md +8 -0
  173. data/docs/InlineResponse20010Cardtransactions.md +58 -0
  174. data/docs/InlineResponse20011.md +8 -0
  175. data/docs/InlineResponse20012.md +8 -0
  176. data/docs/InlineResponse20013.md +8 -0
  177. data/docs/InlineResponse20014.md +8 -0
  178. data/docs/InlineResponse20015.md +8 -0
  179. data/docs/InlineResponse20016.md +8 -0
  180. data/docs/InlineResponse20017.md +8 -0
  181. data/docs/InlineResponse20018.md +8 -0
  182. data/docs/InlineResponse20019.md +8 -0
  183. data/docs/InlineResponse2002.md +8 -0
  184. data/docs/InlineResponse20020.md +8 -0
  185. data/docs/InlineResponse20021.md +8 -0
  186. data/docs/InlineResponse20022.md +8 -0
  187. data/docs/InlineResponse20023.md +8 -0
  188. data/docs/InlineResponse20024.md +8 -0
  189. data/docs/InlineResponse20025.md +8 -0
  190. data/docs/InlineResponse2003.md +8 -0
  191. data/docs/InlineResponse2004.md +8 -0
  192. data/docs/InlineResponse2005.md +8 -0
  193. data/docs/InlineResponse2005Businessinformations.md +26 -0
  194. data/docs/InlineResponse2005Users.md +12 -0
  195. data/docs/InlineResponse2006.md +8 -0
  196. data/docs/InlineResponse2007.md +8 -0
  197. data/docs/InlineResponse2007Cardimages.md +10 -0
  198. data/docs/InlineResponse2008.md +8 -0
  199. data/docs/InlineResponse2009.md +10 -0
  200. data/docs/InlineResponseDefault.md +8 -0
  201. data/docs/IssuerInitiatedDigitizationDataApi.md +146 -0
  202. data/docs/IssuerInitiatedDigitizationDatasAdditionnalData.md +10 -0
  203. data/docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md +10 -0
  204. data/docs/Mandate.md +43 -0
  205. data/docs/MandateApi.md +443 -0
  206. data/docs/MccRestrictionGroup.md +14 -0
  207. data/docs/MccRestrictionGroupsApi.md +333 -0
  208. data/docs/MerchantIdRestrictionGroup.md +14 -0
  209. data/docs/MerchantIdRestrictionGroupsApi.md +335 -0
  210. data/docs/Payin.md +55 -0
  211. data/docs/PayinApi.md +321 -0
  212. data/docs/Payinrefund.md +18 -0
  213. data/docs/PayinrefundApi.md +289 -0
  214. data/docs/Payout.md +30 -0
  215. data/docs/PayoutApi.md +309 -0
  216. data/docs/Tav.md +14 -0
  217. data/docs/Transaction.md +22 -0
  218. data/docs/TransactionApi.md +157 -0
  219. data/docs/Transfer.md +26 -0
  220. data/docs/TransferApi.md +308 -0
  221. data/docs/Transferrefund.md +20 -0
  222. data/docs/TransferrefundApi.md +289 -0
  223. data/docs/User.md +58 -0
  224. data/docs/UserApi.md +568 -0
  225. data/docs/Virtualiban.md +18 -0
  226. data/docs/VirtualibansApi.md +315 -0
  227. data/docs/Wallet.md +37 -0
  228. data/docs/WalletApi.md +423 -0
  229. data/git_push.sh +55 -0
  230. data/lib/treezor_client.rb +130 -0
  231. data/lib/treezor_client/api/balance_api.rb +90 -0
  232. data/lib/treezor_client/api/bankaccount_api.rb +343 -0
  233. data/lib/treezor_client/api/beneficiaries_api.rb +310 -0
  234. data/lib/treezor_client/api/business_api.rb +187 -0
  235. data/lib/treezor_client/api/card_api.rb +1321 -0
  236. data/lib/treezor_client/api/card_digitalizations_api.rb +213 -0
  237. data/lib/treezor_client/api/card_reserve_api.rb +216 -0
  238. data/lib/treezor_client/api/cardtransaction_api.rb +163 -0
  239. data/lib/treezor_client/api/country_restriction_groups_api.rb +353 -0
  240. data/lib/treezor_client/api/document_api.rb +404 -0
  241. data/lib/treezor_client/api/heartbeat_api.rb +83 -0
  242. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +165 -0
  243. data/lib/treezor_client/api/mandate_api.rb +543 -0
  244. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +353 -0
  245. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +356 -0
  246. data/lib/treezor_client/api/payin_api.rb +389 -0
  247. data/lib/treezor_client/api/payinrefund_api.rb +333 -0
  248. data/lib/treezor_client/api/payout_api.rb +363 -0
  249. data/lib/treezor_client/api/transaction_api.rb +187 -0
  250. data/lib/treezor_client/api/transfer_api.rb +364 -0
  251. data/lib/treezor_client/api/transferrefund_api.rb +333 -0
  252. data/lib/treezor_client/api/user_api.rb +708 -0
  253. data/lib/treezor_client/api/virtualibans_api.rb +369 -0
  254. data/lib/treezor_client/api/wallet_api.rb +505 -0
  255. data/lib/treezor_client/api_client.rb +389 -0
  256. data/lib/treezor_client/api_error.rb +38 -0
  257. data/lib/treezor_client/configuration.rb +209 -0
  258. data/lib/treezor_client/models/balance.rb +234 -0
  259. data/lib/treezor_client/models/bankaccount.rb +322 -0
  260. data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +219 -0
  261. data/lib/treezor_client/models/beneficiary.rb +306 -0
  262. data/lib/treezor_client/models/body.rb +251 -0
  263. data/lib/treezor_client/models/body_1.rb +317 -0
  264. data/lib/treezor_client/models/body_10.rb +278 -0
  265. data/lib/treezor_client/models/body_2.rb +297 -0
  266. data/lib/treezor_client/models/body_3.rb +209 -0
  267. data/lib/treezor_client/models/body_4.rb +209 -0
  268. data/lib/treezor_client/models/body_5.rb +276 -0
  269. data/lib/treezor_client/models/body_6.rb +278 -0
  270. data/lib/treezor_client/models/body_7.rb +276 -0
  271. data/lib/treezor_client/models/body_8.rb +266 -0
  272. data/lib/treezor_client/models/body_9.rb +276 -0
  273. data/lib/treezor_client/models/businesssearchs_businessinformations.rb +362 -0
  274. data/lib/treezor_client/models/card.rb +793 -0
  275. data/lib/treezor_client/models/card_digitalization.rb +242 -0
  276. data/lib/treezor_client/models/card_digitalization_details_from_gps.rb +509 -0
  277. data/lib/treezor_client/models/document.rb +349 -0
  278. data/lib/treezor_client/models/error.rb +208 -0
  279. data/lib/treezor_client/models/inline_response_200.rb +190 -0
  280. data/lib/treezor_client/models/inline_response_200_1.rb +190 -0
  281. data/lib/treezor_client/models/inline_response_200_10.rb +190 -0
  282. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +642 -0
  283. data/lib/treezor_client/models/inline_response_200_11.rb +190 -0
  284. data/lib/treezor_client/models/inline_response_200_12.rb +190 -0
  285. data/lib/treezor_client/models/inline_response_200_13.rb +190 -0
  286. data/lib/treezor_client/models/inline_response_200_14.rb +190 -0
  287. data/lib/treezor_client/models/inline_response_200_15.rb +190 -0
  288. data/lib/treezor_client/models/inline_response_200_16.rb +190 -0
  289. data/lib/treezor_client/models/inline_response_200_17.rb +190 -0
  290. data/lib/treezor_client/models/inline_response_200_18.rb +190 -0
  291. data/lib/treezor_client/models/inline_response_200_19.rb +190 -0
  292. data/lib/treezor_client/models/inline_response_200_2.rb +190 -0
  293. data/lib/treezor_client/models/inline_response_200_20.rb +190 -0
  294. data/lib/treezor_client/models/inline_response_200_21.rb +190 -0
  295. data/lib/treezor_client/models/inline_response_200_22.rb +190 -0
  296. data/lib/treezor_client/models/inline_response_200_23.rb +190 -0
  297. data/lib/treezor_client/models/inline_response_200_24.rb +190 -0
  298. data/lib/treezor_client/models/inline_response_200_25.rb +190 -0
  299. data/lib/treezor_client/models/inline_response_200_3.rb +190 -0
  300. data/lib/treezor_client/models/inline_response_200_4.rb +190 -0
  301. data/lib/treezor_client/models/inline_response_200_5.rb +190 -0
  302. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +451 -0
  303. data/lib/treezor_client/models/inline_response_200_5_users.rb +262 -0
  304. data/lib/treezor_client/models/inline_response_200_6.rb +190 -0
  305. data/lib/treezor_client/models/inline_response_200_7.rb +190 -0
  306. data/lib/treezor_client/models/inline_response_200_7_cardimages.rb +225 -0
  307. data/lib/treezor_client/models/inline_response_200_8.rb +190 -0
  308. data/lib/treezor_client/models/inline_response_200_9.rb +209 -0
  309. data/lib/treezor_client/models/inline_response_default.rb +190 -0
  310. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +208 -0
  311. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates.rb +209 -0
  312. data/lib/treezor_client/models/mandate.rb +564 -0
  313. data/lib/treezor_client/models/mcc_restriction_group.rb +284 -0
  314. data/lib/treezor_client/models/merchant_id_restriction_group.rb +284 -0
  315. data/lib/treezor_client/models/payin.rb +646 -0
  316. data/lib/treezor_client/models/payinrefund.rb +313 -0
  317. data/lib/treezor_client/models/payout.rb +434 -0
  318. data/lib/treezor_client/models/tav.rb +246 -0
  319. data/lib/treezor_client/models/transaction.rb +317 -0
  320. data/lib/treezor_client/models/transfer.rb +389 -0
  321. data/lib/treezor_client/models/transferrefund.rb +331 -0
  322. data/lib/treezor_client/models/user.rb +688 -0
  323. data/lib/treezor_client/models/virtualiban.rb +278 -0
  324. data/lib/treezor_client/models/wallet.rb +488 -0
  325. data/lib/treezor_client/version.rb +15 -0
  326. data/pkg/treezor_client-1.0.0.gem +0 -0
  327. data/spec/api/balance_api_spec.rb +52 -0
  328. data/spec/api/bankaccount_api_spec.rb +109 -0
  329. data/spec/api/beneficiaries_api_spec.rb +108 -0
  330. data/spec/api/business_api_spec.rb +79 -0
  331. data/spec/api/card_api_spec.rb +365 -0
  332. data/spec/api/card_digitalizations_api_spec.rb +79 -0
  333. data/spec/api/card_reserve_api_spec.rb +83 -0
  334. data/spec/api/cardtransaction_api_spec.rb +70 -0
  335. data/spec/api/country_restriction_groups_api_spec.rb +116 -0
  336. data/spec/api/document_api_spec.rb +126 -0
  337. data/spec/api/heartbeat_api_spec.rb +50 -0
  338. data/spec/api/issuer_initiated_digitization_data_api_spec.rb +72 -0
  339. data/spec/api/mandate_api_spec.rb +147 -0
  340. data/spec/api/mcc_restriction_groups_api_spec.rb +116 -0
  341. data/spec/api/merchant_id_restriction_groups_api_spec.rb +117 -0
  342. data/spec/api/payin_api_spec.rb +126 -0
  343. data/spec/api/payinrefund_api_spec.rb +111 -0
  344. data/spec/api/payout_api_spec.rb +121 -0
  345. data/spec/api/transaction_api_spec.rb +78 -0
  346. data/spec/api/transfer_api_spec.rb +120 -0
  347. data/spec/api/transferrefund_api_spec.rb +111 -0
  348. data/spec/api/user_api_spec.rb +216 -0
  349. data/spec/api/virtualibans_api_spec.rb +123 -0
  350. data/spec/api/wallet_api_spec.rb +158 -0
  351. data/spec/api_client_spec.rb +226 -0
  352. data/spec/configuration_spec.rb +42 -0
  353. data/spec/models/balance_spec.rb +72 -0
  354. data/spec/models/bankaccount_spec.rb +112 -0
  355. data/spec/models/beneficiaries_sdd_b2b_whitelist_spec.rb +54 -0
  356. data/spec/models/beneficiary_spec.rb +108 -0
  357. data/spec/models/body_10_spec.rb +76 -0
  358. data/spec/models/body_1_spec.rb +108 -0
  359. data/spec/models/body_2_spec.rb +102 -0
  360. data/spec/models/body_3_spec.rb +48 -0
  361. data/spec/models/body_4_spec.rb +48 -0
  362. data/spec/models/body_5_spec.rb +70 -0
  363. data/spec/models/body_6_spec.rb +76 -0
  364. data/spec/models/body_7_spec.rb +70 -0
  365. data/spec/models/body_8_spec.rb +70 -0
  366. data/spec/models/body_9_spec.rb +70 -0
  367. data/spec/models/body_spec.rb +58 -0
  368. data/spec/models/businesssearchs_businessinformations_spec.rb +130 -0
  369. data/spec/models/card_digitalization_details_from_gps_spec.rb +234 -0
  370. data/spec/models/card_digitalization_spec.rb +78 -0
  371. data/spec/models/card_spec.rb +424 -0
  372. data/spec/models/document_spec.rb +130 -0
  373. data/spec/models/error_spec.rb +54 -0
  374. data/spec/models/inline_response_200_10_cardtransactions_spec.rb +342 -0
  375. data/spec/models/inline_response_200_10_spec.rb +42 -0
  376. data/spec/models/inline_response_200_11_spec.rb +42 -0
  377. data/spec/models/inline_response_200_12_spec.rb +42 -0
  378. data/spec/models/inline_response_200_13_spec.rb +42 -0
  379. data/spec/models/inline_response_200_14_spec.rb +42 -0
  380. data/spec/models/inline_response_200_15_spec.rb +42 -0
  381. data/spec/models/inline_response_200_16_spec.rb +42 -0
  382. data/spec/models/inline_response_200_17_spec.rb +42 -0
  383. data/spec/models/inline_response_200_18_spec.rb +42 -0
  384. data/spec/models/inline_response_200_19_spec.rb +42 -0
  385. data/spec/models/inline_response_200_1_spec.rb +42 -0
  386. data/spec/models/inline_response_200_20_spec.rb +42 -0
  387. data/spec/models/inline_response_200_21_spec.rb +42 -0
  388. data/spec/models/inline_response_200_22_spec.rb +42 -0
  389. data/spec/models/inline_response_200_23_spec.rb +42 -0
  390. data/spec/models/inline_response_200_24_spec.rb +42 -0
  391. data/spec/models/inline_response_200_25_spec.rb +42 -0
  392. data/spec/models/inline_response_200_2_spec.rb +42 -0
  393. data/spec/models/inline_response_200_3_spec.rb +42 -0
  394. data/spec/models/inline_response_200_4_spec.rb +42 -0
  395. data/spec/models/inline_response_200_5_businessinformations_spec.rb +170 -0
  396. data/spec/models/inline_response_200_5_spec.rb +42 -0
  397. data/spec/models/inline_response_200_5_users_spec.rb +70 -0
  398. data/spec/models/inline_response_200_6_spec.rb +42 -0
  399. data/spec/models/inline_response_200_7_cardimages_spec.rb +54 -0
  400. data/spec/models/inline_response_200_7_spec.rb +42 -0
  401. data/spec/models/inline_response_200_8_spec.rb +42 -0
  402. data/spec/models/inline_response_200_9_spec.rb +54 -0
  403. data/spec/models/inline_response_200_spec.rb +42 -0
  404. data/spec/models/inline_response_default_spec.rb +42 -0
  405. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +54 -0
  406. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +54 -0
  407. data/spec/models/mandate_spec.rb +264 -0
  408. data/spec/models/mcc_restriction_group_spec.rb +82 -0
  409. data/spec/models/merchant_id_restriction_group_spec.rb +82 -0
  410. data/spec/models/payin_spec.rb +328 -0
  411. data/spec/models/payinrefund_spec.rb +106 -0
  412. data/spec/models/payout_spec.rb +182 -0
  413. data/spec/models/tav_spec.rb +78 -0
  414. data/spec/models/transaction_spec.rb +126 -0
  415. data/spec/models/transfer_spec.rb +154 -0
  416. data/spec/models/transferrefund_spec.rb +118 -0
  417. data/spec/models/user_spec.rb +350 -0
  418. data/spec/models/virtualiban_spec.rb +102 -0
  419. data/spec/models/wallet_spec.rb +220 -0
  420. data/spec/spec_helper.rb +111 -0
  421. data/treezor_client.gemspec +47 -0
  422. metadata +739 -0
@@ -0,0 +1,1972 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: TreezorClient::InlineResponse2005Users
8
+
9
+ &mdash; Documentation by YARD 0.9.15
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "TreezorClient::InlineResponse2005Users";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (I)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../TreezorClient.html" title="TreezorClient (module)">TreezorClient</a></span></span>
41
+ &raquo;
42
+ <span class="title">InlineResponse2005Users</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: TreezorClient::InlineResponse2005Users
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">TreezorClient::InlineResponse2005Users</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/treezor_client/models/inline_response_200_5_users.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Defined Under Namespace</h2>
103
+ <p class="children">
104
+
105
+
106
+
107
+
108
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="InlineResponse2005Users/EnumAttributeValidator.html" title="TreezorClient::InlineResponse2005Users::EnumAttributeValidator (class)">EnumAttributeValidator</a></span>
109
+
110
+
111
+ </p>
112
+
113
+
114
+
115
+
116
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
117
+ <ul class="summary">
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#birthday-instance_method" title="#birthday (instance method)">#<strong>birthday</strong> &#x21d2; Object </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <span class="summary_desc"><div class='inline'>
140
+ <p>Representative&#39;s birthdate.</p>
141
+ </div></span>
142
+
143
+ </li>
144
+
145
+
146
+ <li class="public ">
147
+ <span class="summary_signature">
148
+
149
+ <a href="#firstname-instance_method" title="#firstname (instance method)">#<strong>firstname</strong> &#x21d2; Object </a>
150
+
151
+
152
+
153
+ </span>
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+ <span class="summary_desc"><div class='inline'>
167
+ <p>Representative&#39;s first name.</p>
168
+ </div></span>
169
+
170
+ </li>
171
+
172
+
173
+ <li class="public ">
174
+ <span class="summary_signature">
175
+
176
+ <a href="#fullnames-instance_method" title="#fullnames (instance method)">#<strong>fullnames</strong> &#x21d2; Object </a>
177
+
178
+
179
+
180
+ </span>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+ <span class="summary_desc"><div class='inline'>
194
+ <p>Representative&#39;s full names.</p>
195
+ </div></span>
196
+
197
+ </li>
198
+
199
+
200
+ <li class="public ">
201
+ <span class="summary_signature">
202
+
203
+ <a href="#lastname-instance_method" title="#lastname (instance method)">#<strong>lastname</strong> &#x21d2; Object </a>
204
+
205
+
206
+
207
+ </span>
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+ <span class="summary_desc"><div class='inline'>
221
+ <p>Representative&#39;s last name.</p>
222
+ </div></span>
223
+
224
+ </li>
225
+
226
+
227
+ <li class="public ">
228
+ <span class="summary_signature">
229
+
230
+ <a href="#parent_type-instance_method" title="#parent_type (instance method)">#<strong>parent_type</strong> &#x21d2; Object </a>
231
+
232
+
233
+
234
+ </span>
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+ <span class="summary_desc"><div class='inline'>
248
+ <p>Representative&#39;s position in company.</p>
249
+ </div></span>
250
+
251
+ </li>
252
+
253
+
254
+ </ul>
255
+
256
+
257
+
258
+
259
+
260
+ <h2>
261
+ Class Method Summary
262
+ <small><a href="#" class="summary_toggle">collapse</a></small>
263
+ </h2>
264
+
265
+ <ul class="summary">
266
+
267
+ <li class="public ">
268
+ <span class="summary_signature">
269
+
270
+ <a href="#attribute_map-class_method" title="attribute_map (class method)">.<strong>attribute_map</strong> &#x21d2; Object </a>
271
+
272
+
273
+
274
+ </span>
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+ <span class="summary_desc"><div class='inline'>
285
+ <p>Attribute mapping from ruby-style variable name to JSON key.</p>
286
+ </div></span>
287
+
288
+ </li>
289
+
290
+
291
+ <li class="public ">
292
+ <span class="summary_signature">
293
+
294
+ <a href="#swagger_types-class_method" title="swagger_types (class method)">.<strong>swagger_types</strong> &#x21d2; Object </a>
295
+
296
+
297
+
298
+ </span>
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+ <span class="summary_desc"><div class='inline'>
309
+ <p>Attribute type mapping.</p>
310
+ </div></span>
311
+
312
+ </li>
313
+
314
+
315
+ </ul>
316
+
317
+ <h2>
318
+ Instance Method Summary
319
+ <small><a href="#" class="summary_toggle">collapse</a></small>
320
+ </h2>
321
+
322
+ <ul class="summary">
323
+
324
+ <li class="public ">
325
+ <span class="summary_signature">
326
+
327
+ <a href="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(o) &#x21d2; Object </a>
328
+
329
+
330
+
331
+ </span>
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+ <span class="summary_desc"><div class='inline'>
342
+ <p>Checks equality by comparing each attribute.</p>
343
+ </div></span>
344
+
345
+ </li>
346
+
347
+
348
+ <li class="public ">
349
+ <span class="summary_signature">
350
+
351
+ <a href="#_deserialize-instance_method" title="#_deserialize (instance method)">#<strong>_deserialize</strong>(type, value) &#x21d2; Object </a>
352
+
353
+
354
+
355
+ </span>
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+ <span class="summary_desc"><div class='inline'>
366
+ <p>Deserializes the data based on type.</p>
367
+ </div></span>
368
+
369
+ </li>
370
+
371
+
372
+ <li class="public ">
373
+ <span class="summary_signature">
374
+
375
+ <a href="#_to_hash-instance_method" title="#_to_hash (instance method)">#<strong>_to_hash</strong>(value) &#x21d2; Hash </a>
376
+
377
+
378
+
379
+ </span>
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+ <span class="summary_desc"><div class='inline'>
390
+ <p>Outputs non-array value in the form of hash For object, use to_hash.</p>
391
+ </div></span>
392
+
393
+ </li>
394
+
395
+
396
+ <li class="public ">
397
+ <span class="summary_signature">
398
+
399
+ <a href="#build_from_hash-instance_method" title="#build_from_hash (instance method)">#<strong>build_from_hash</strong>(attributes) &#x21d2; Object </a>
400
+
401
+
402
+
403
+ </span>
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+ <span class="summary_desc"><div class='inline'>
414
+ <p>Builds the object from hash.</p>
415
+ </div></span>
416
+
417
+ </li>
418
+
419
+
420
+ <li class="public ">
421
+ <span class="summary_signature">
422
+
423
+ <a href="#eql%3F-instance_method" title="#eql? (instance method)">#<strong>eql?</strong>(o) &#x21d2; Boolean </a>
424
+
425
+
426
+
427
+ </span>
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+ <span class="summary_desc"><div class='inline'></div></span>
438
+
439
+ </li>
440
+
441
+
442
+ <li class="public ">
443
+ <span class="summary_signature">
444
+
445
+ <a href="#hash-instance_method" title="#hash (instance method)">#<strong>hash</strong> &#x21d2; Fixnum </a>
446
+
447
+
448
+
449
+ </span>
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+ <span class="summary_desc"><div class='inline'>
460
+ <p>Calculates hash code according to all attributes.</p>
461
+ </div></span>
462
+
463
+ </li>
464
+
465
+
466
+ <li class="public ">
467
+ <span class="summary_signature">
468
+
469
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(attributes = {}) &#x21d2; InlineResponse2005Users </a>
470
+
471
+
472
+
473
+ </span>
474
+
475
+
476
+ <span class="note title constructor">constructor</span>
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+ <span class="summary_desc"><div class='inline'>
486
+ <p>Initializes the object.</p>
487
+ </div></span>
488
+
489
+ </li>
490
+
491
+
492
+ <li class="public ">
493
+ <span class="summary_signature">
494
+
495
+ <a href="#list_invalid_properties-instance_method" title="#list_invalid_properties (instance method)">#<strong>list_invalid_properties</strong> &#x21d2; Object </a>
496
+
497
+
498
+
499
+ </span>
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+ <span class="summary_desc"><div class='inline'>
510
+ <p>Show invalid properties with the reasons.</p>
511
+ </div></span>
512
+
513
+ </li>
514
+
515
+
516
+ <li class="public ">
517
+ <span class="summary_signature">
518
+
519
+ <a href="#to_body-instance_method" title="#to_body (instance method)">#<strong>to_body</strong> &#x21d2; Hash </a>
520
+
521
+
522
+
523
+ </span>
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+ <span class="summary_desc"><div class='inline'>
534
+ <p>to_body is an alias to to_hash (backward compatibility).</p>
535
+ </div></span>
536
+
537
+ </li>
538
+
539
+
540
+ <li class="public ">
541
+ <span class="summary_signature">
542
+
543
+ <a href="#to_hash-instance_method" title="#to_hash (instance method)">#<strong>to_hash</strong> &#x21d2; Hash </a>
544
+
545
+
546
+
547
+ </span>
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+ <span class="summary_desc"><div class='inline'>
558
+ <p>Returns the object in the form of hash.</p>
559
+ </div></span>
560
+
561
+ </li>
562
+
563
+
564
+ <li class="public ">
565
+ <span class="summary_signature">
566
+
567
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; String </a>
568
+
569
+
570
+
571
+ </span>
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+ <span class="summary_desc"><div class='inline'>
582
+ <p>Returns the string representation of the object.</p>
583
+ </div></span>
584
+
585
+ </li>
586
+
587
+
588
+ <li class="public ">
589
+ <span class="summary_signature">
590
+
591
+ <a href="#valid%3F-instance_method" title="#valid? (instance method)">#<strong>valid?</strong> &#x21d2; Boolean </a>
592
+
593
+
594
+
595
+ </span>
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+ <span class="summary_desc"><div class='inline'>
606
+ <p>Check to see if the all the properties in the model are valid.</p>
607
+ </div></span>
608
+
609
+ </li>
610
+
611
+
612
+ </ul>
613
+
614
+
615
+ <div id="constructor_details" class="method_details_list">
616
+ <h2>Constructor Details</h2>
617
+
618
+ <div class="method_details first">
619
+ <h3 class="signature first" id="initialize-instance_method">
620
+
621
+ #<strong>initialize</strong>(attributes = {}) &#x21d2; <tt><span class='object_link'><a href="" title="TreezorClient::InlineResponse2005Users (class)">InlineResponse2005Users</a></span></tt>
622
+
623
+
624
+
625
+
626
+
627
+ </h3><div class="docstring">
628
+ <div class="discussion">
629
+
630
+ <p>Initializes the object</p>
631
+
632
+
633
+ </div>
634
+ </div>
635
+ <div class="tags">
636
+ <p class="tag_title">Parameters:</p>
637
+ <ul class="param">
638
+
639
+ <li>
640
+
641
+ <span class='name'>attributes</span>
642
+
643
+
644
+ <span class='type'>(<tt>Hash</tt>)</span>
645
+
646
+
647
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
648
+
649
+
650
+ &mdash;
651
+ <div class='inline'>
652
+ <p>Model attributes in the form of hash</p>
653
+ </div>
654
+
655
+ </li>
656
+
657
+ </ul>
658
+
659
+
660
+ </div><table class="source_code">
661
+ <tr>
662
+ <td>
663
+ <pre class="lines">
664
+
665
+
666
+ 79
667
+ 80
668
+ 81
669
+ 82
670
+ 83
671
+ 84
672
+ 85
673
+ 86
674
+ 87
675
+ 88
676
+ 89
677
+ 90
678
+ 91
679
+ 92
680
+ 93
681
+ 94
682
+ 95
683
+ 96
684
+ 97
685
+ 98
686
+ 99
687
+ 100
688
+ 101
689
+ 102
690
+ 103
691
+ 104
692
+ 105</pre>
693
+ </td>
694
+ <td>
695
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 79</span>
696
+
697
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
698
+ <span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
699
+
700
+ <span class='comment'># convert string to symbol for hash key
701
+ </span> <span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_each_with_object'>each_with_object</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='lbrace'>{</span><span class='op'>|</span><span class='lparen'>(</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span><span class='rbrace'>}</span>
702
+
703
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;firstname&#39;</span><span class='rparen'>)</span>
704
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_firstname'>firstname</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;firstname&#39;</span><span class='rbracket'>]</span>
705
+ <span class='kw'>end</span>
706
+
707
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;lastname&#39;</span><span class='rparen'>)</span>
708
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_lastname'>lastname</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;lastname&#39;</span><span class='rbracket'>]</span>
709
+ <span class='kw'>end</span>
710
+
711
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;fullnames&#39;</span><span class='rparen'>)</span>
712
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_fullnames'>fullnames</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;fullnames&#39;</span><span class='rbracket'>]</span>
713
+ <span class='kw'>end</span>
714
+
715
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;birthday&#39;</span><span class='rparen'>)</span>
716
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_birthday'>birthday</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;birthday&#39;</span><span class='rbracket'>]</span>
717
+ <span class='kw'>end</span>
718
+
719
+ <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:&#39;parentType&#39;</span><span class='rparen'>)</span>
720
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parent_type'>parent_type</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:&#39;parentType&#39;</span><span class='rbracket'>]</span>
721
+ <span class='kw'>end</span>
722
+
723
+ <span class='kw'>end</span></pre>
724
+ </td>
725
+ </tr>
726
+ </table>
727
+ </div>
728
+
729
+ </div>
730
+
731
+ <div id="instance_attr_details" class="attr_details">
732
+ <h2>Instance Attribute Details</h2>
733
+
734
+
735
+ <span id="birthday=-instance_method"></span>
736
+ <div class="method_details first">
737
+ <h3 class="signature first" id="birthday-instance_method">
738
+
739
+ #<strong>birthday</strong> &#x21d2; <tt>Object</tt>
740
+
741
+
742
+
743
+
744
+
745
+ </h3><div class="docstring">
746
+ <div class="discussion">
747
+
748
+ <p>Representative&#39;s birthdate. Format YYYY-MM-DD</p>
749
+
750
+
751
+ </div>
752
+ </div>
753
+ <div class="tags">
754
+
755
+
756
+ </div><table class="source_code">
757
+ <tr>
758
+ <td>
759
+ <pre class="lines">
760
+
761
+
762
+ 28
763
+ 29
764
+ 30</pre>
765
+ </td>
766
+ <td>
767
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 28</span>
768
+
769
+ <span class='kw'>def</span> <span class='id identifier rubyid_birthday'>birthday</span>
770
+ <span class='ivar'>@birthday</span>
771
+ <span class='kw'>end</span></pre>
772
+ </td>
773
+ </tr>
774
+ </table>
775
+ </div>
776
+
777
+
778
+ <span id="firstname=-instance_method"></span>
779
+ <div class="method_details ">
780
+ <h3 class="signature " id="firstname-instance_method">
781
+
782
+ #<strong>firstname</strong> &#x21d2; <tt>Object</tt>
783
+
784
+
785
+
786
+
787
+
788
+ </h3><div class="docstring">
789
+ <div class="discussion">
790
+
791
+ <p>Representative&#39;s first name.</p>
792
+
793
+
794
+ </div>
795
+ </div>
796
+ <div class="tags">
797
+
798
+
799
+ </div><table class="source_code">
800
+ <tr>
801
+ <td>
802
+ <pre class="lines">
803
+
804
+
805
+ 19
806
+ 20
807
+ 21</pre>
808
+ </td>
809
+ <td>
810
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 19</span>
811
+
812
+ <span class='kw'>def</span> <span class='id identifier rubyid_firstname'>firstname</span>
813
+ <span class='ivar'>@firstname</span>
814
+ <span class='kw'>end</span></pre>
815
+ </td>
816
+ </tr>
817
+ </table>
818
+ </div>
819
+
820
+
821
+ <span id="fullnames=-instance_method"></span>
822
+ <div class="method_details ">
823
+ <h3 class="signature " id="fullnames-instance_method">
824
+
825
+ #<strong>fullnames</strong> &#x21d2; <tt>Object</tt>
826
+
827
+
828
+
829
+
830
+
831
+ </h3><div class="docstring">
832
+ <div class="discussion">
833
+
834
+ <p>Representative&#39;s full names.</p>
835
+
836
+
837
+ </div>
838
+ </div>
839
+ <div class="tags">
840
+
841
+
842
+ </div><table class="source_code">
843
+ <tr>
844
+ <td>
845
+ <pre class="lines">
846
+
847
+
848
+ 25
849
+ 26
850
+ 27</pre>
851
+ </td>
852
+ <td>
853
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 25</span>
854
+
855
+ <span class='kw'>def</span> <span class='id identifier rubyid_fullnames'>fullnames</span>
856
+ <span class='ivar'>@fullnames</span>
857
+ <span class='kw'>end</span></pre>
858
+ </td>
859
+ </tr>
860
+ </table>
861
+ </div>
862
+
863
+
864
+ <span id="lastname=-instance_method"></span>
865
+ <div class="method_details ">
866
+ <h3 class="signature " id="lastname-instance_method">
867
+
868
+ #<strong>lastname</strong> &#x21d2; <tt>Object</tt>
869
+
870
+
871
+
872
+
873
+
874
+ </h3><div class="docstring">
875
+ <div class="discussion">
876
+
877
+ <p>Representative&#39;s last name.</p>
878
+
879
+
880
+ </div>
881
+ </div>
882
+ <div class="tags">
883
+
884
+
885
+ </div><table class="source_code">
886
+ <tr>
887
+ <td>
888
+ <pre class="lines">
889
+
890
+
891
+ 22
892
+ 23
893
+ 24</pre>
894
+ </td>
895
+ <td>
896
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 22</span>
897
+
898
+ <span class='kw'>def</span> <span class='id identifier rubyid_lastname'>lastname</span>
899
+ <span class='ivar'>@lastname</span>
900
+ <span class='kw'>end</span></pre>
901
+ </td>
902
+ </tr>
903
+ </table>
904
+ </div>
905
+
906
+
907
+ <span id="parent_type=-instance_method"></span>
908
+ <div class="method_details ">
909
+ <h3 class="signature " id="parent_type-instance_method">
910
+
911
+ #<strong>parent_type</strong> &#x21d2; <tt>Object</tt>
912
+
913
+
914
+
915
+
916
+
917
+ </h3><div class="docstring">
918
+ <div class="discussion">
919
+
920
+ <p>Representative&#39;s position in company</p>
921
+
922
+
923
+ </div>
924
+ </div>
925
+ <div class="tags">
926
+
927
+
928
+ </div><table class="source_code">
929
+ <tr>
930
+ <td>
931
+ <pre class="lines">
932
+
933
+
934
+ 31
935
+ 32
936
+ 33</pre>
937
+ </td>
938
+ <td>
939
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 31</span>
940
+
941
+ <span class='kw'>def</span> <span class='id identifier rubyid_parent_type'>parent_type</span>
942
+ <span class='ivar'>@parent_type</span>
943
+ <span class='kw'>end</span></pre>
944
+ </td>
945
+ </tr>
946
+ </table>
947
+ </div>
948
+
949
+ </div>
950
+
951
+
952
+ <div id="class_method_details" class="method_details_list">
953
+ <h2>Class Method Details</h2>
954
+
955
+
956
+ <div class="method_details first">
957
+ <h3 class="signature first" id="attribute_map-class_method">
958
+
959
+ .<strong>attribute_map</strong> &#x21d2; <tt>Object</tt>
960
+
961
+
962
+
963
+
964
+
965
+ </h3><div class="docstring">
966
+ <div class="discussion">
967
+
968
+ <p>Attribute mapping from ruby-style variable name to JSON key.</p>
969
+
970
+
971
+ </div>
972
+ </div>
973
+ <div class="tags">
974
+
975
+
976
+ </div><table class="source_code">
977
+ <tr>
978
+ <td>
979
+ <pre class="lines">
980
+
981
+
982
+ 56
983
+ 57
984
+ 58
985
+ 59
986
+ 60
987
+ 61
988
+ 62
989
+ 63
990
+ 64</pre>
991
+ </td>
992
+ <td>
993
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 56</span>
994
+
995
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span>
996
+ <span class='lbrace'>{</span>
997
+ <span class='symbol'>:&#39;firstname&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;firstname&#39;</span><span class='comma'>,</span>
998
+ <span class='symbol'>:&#39;lastname&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;lastname&#39;</span><span class='comma'>,</span>
999
+ <span class='symbol'>:&#39;fullnames&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;fullnames&#39;</span><span class='comma'>,</span>
1000
+ <span class='symbol'>:&#39;birthday&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;birthday&#39;</span><span class='comma'>,</span>
1001
+ <span class='symbol'>:&#39;parent_type&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;parentType&#39;</span>
1002
+ <span class='rbrace'>}</span>
1003
+ <span class='kw'>end</span></pre>
1004
+ </td>
1005
+ </tr>
1006
+ </table>
1007
+ </div>
1008
+
1009
+ <div class="method_details ">
1010
+ <h3 class="signature " id="swagger_types-class_method">
1011
+
1012
+ .<strong>swagger_types</strong> &#x21d2; <tt>Object</tt>
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+ </h3><div class="docstring">
1019
+ <div class="discussion">
1020
+
1021
+ <p>Attribute type mapping.</p>
1022
+
1023
+
1024
+ </div>
1025
+ </div>
1026
+ <div class="tags">
1027
+
1028
+
1029
+ </div><table class="source_code">
1030
+ <tr>
1031
+ <td>
1032
+ <pre class="lines">
1033
+
1034
+
1035
+ 67
1036
+ 68
1037
+ 69
1038
+ 70
1039
+ 71
1040
+ 72
1041
+ 73
1042
+ 74
1043
+ 75</pre>
1044
+ </td>
1045
+ <td>
1046
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 67</span>
1047
+
1048
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_swagger_types'>swagger_types</span>
1049
+ <span class='lbrace'>{</span>
1050
+ <span class='symbol'>:&#39;firstname&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1051
+ <span class='symbol'>:&#39;lastname&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1052
+ <span class='symbol'>:&#39;fullnames&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1053
+ <span class='symbol'>:&#39;birthday&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span><span class='comma'>,</span>
1054
+ <span class='symbol'>:&#39;parent_type&#39;</span> <span class='op'>=&gt;</span> <span class='symbol'>:&#39;String&#39;</span>
1055
+ <span class='rbrace'>}</span>
1056
+ <span class='kw'>end</span></pre>
1057
+ </td>
1058
+ </tr>
1059
+ </table>
1060
+ </div>
1061
+
1062
+ </div>
1063
+
1064
+ <div id="instance_method_details" class="method_details_list">
1065
+ <h2>Instance Method Details</h2>
1066
+
1067
+
1068
+ <div class="method_details first">
1069
+ <h3 class="signature first" id="==-instance_method">
1070
+
1071
+ #<strong>==</strong>(o) &#x21d2; <tt>Object</tt>
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+ </h3><div class="docstring">
1078
+ <div class="discussion">
1079
+
1080
+ <p>Checks equality by comparing each attribute.</p>
1081
+
1082
+
1083
+ </div>
1084
+ </div>
1085
+ <div class="tags">
1086
+ <p class="tag_title">Parameters:</p>
1087
+ <ul class="param">
1088
+
1089
+ <li>
1090
+
1091
+ <span class='name'>Object</span>
1092
+
1093
+
1094
+ <span class='type'>(<tt>Object</tt>)</span>
1095
+
1096
+
1097
+
1098
+ &mdash;
1099
+ <div class='inline'>
1100
+ <p>to be compared</p>
1101
+ </div>
1102
+
1103
+ </li>
1104
+
1105
+ </ul>
1106
+
1107
+
1108
+ </div><table class="source_code">
1109
+ <tr>
1110
+ <td>
1111
+ <pre class="lines">
1112
+
1113
+
1114
+ 134
1115
+ 135
1116
+ 136
1117
+ 137
1118
+ 138
1119
+ 139
1120
+ 140
1121
+ 141
1122
+ 142</pre>
1123
+ </td>
1124
+ <td>
1125
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 134</span>
1126
+
1127
+ <span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span>
1128
+ <span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_equal?'>equal?</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span>
1129
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span> <span class='op'>&amp;&amp;</span>
1130
+ <span class='id identifier rubyid_firstname'>firstname</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_firstname'>firstname</span> <span class='op'>&amp;&amp;</span>
1131
+ <span class='id identifier rubyid_lastname'>lastname</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_lastname'>lastname</span> <span class='op'>&amp;&amp;</span>
1132
+ <span class='id identifier rubyid_fullnames'>fullnames</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_fullnames'>fullnames</span> <span class='op'>&amp;&amp;</span>
1133
+ <span class='id identifier rubyid_birthday'>birthday</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_birthday'>birthday</span> <span class='op'>&amp;&amp;</span>
1134
+ <span class='id identifier rubyid_parent_type'>parent_type</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_parent_type'>parent_type</span>
1135
+ <span class='kw'>end</span></pre>
1136
+ </td>
1137
+ </tr>
1138
+ </table>
1139
+ </div>
1140
+
1141
+ <div class="method_details ">
1142
+ <h3 class="signature " id="_deserialize-instance_method">
1143
+
1144
+ #<strong>_deserialize</strong>(type, value) &#x21d2; <tt>Object</tt>
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+ </h3><div class="docstring">
1151
+ <div class="discussion">
1152
+
1153
+ <p>Deserializes the data based on type</p>
1154
+
1155
+
1156
+ </div>
1157
+ </div>
1158
+ <div class="tags">
1159
+ <p class="tag_title">Parameters:</p>
1160
+ <ul class="param">
1161
+
1162
+ <li>
1163
+
1164
+ <span class='name'>string</span>
1165
+
1166
+
1167
+ <span class='type'></span>
1168
+
1169
+
1170
+
1171
+ &mdash;
1172
+ <div class='inline'>
1173
+ <p>type Data type</p>
1174
+ </div>
1175
+
1176
+ </li>
1177
+
1178
+ <li>
1179
+
1180
+ <span class='name'>string</span>
1181
+
1182
+
1183
+ <span class='type'></span>
1184
+
1185
+
1186
+
1187
+ &mdash;
1188
+ <div class='inline'>
1189
+ <p>value Value to be deserialized</p>
1190
+ </div>
1191
+
1192
+ </li>
1193
+
1194
+ </ul>
1195
+
1196
+ <p class="tag_title">Returns:</p>
1197
+ <ul class="return">
1198
+
1199
+ <li>
1200
+
1201
+
1202
+ <span class='type'>(<tt>Object</tt>)</span>
1203
+
1204
+
1205
+
1206
+ &mdash;
1207
+ <div class='inline'>
1208
+ <p>Deserialized data</p>
1209
+ </div>
1210
+
1211
+ </li>
1212
+
1213
+ </ul>
1214
+
1215
+ </div><table class="source_code">
1216
+ <tr>
1217
+ <td>
1218
+ <pre class="lines">
1219
+
1220
+
1221
+ 180
1222
+ 181
1223
+ 182
1224
+ 183
1225
+ 184
1226
+ 185
1227
+ 186
1228
+ 187
1229
+ 188
1230
+ 189
1231
+ 190
1232
+ 191
1233
+ 192
1234
+ 193
1235
+ 194
1236
+ 195
1237
+ 196
1238
+ 197
1239
+ 198
1240
+ 199
1241
+ 200
1242
+ 201
1243
+ 202
1244
+ 203
1245
+ 204
1246
+ 205
1247
+ 206
1248
+ 207
1249
+ 208
1250
+ 209
1251
+ 210
1252
+ 211
1253
+ 212
1254
+ 213
1255
+ 214
1256
+ 215
1257
+ 216</pre>
1258
+ </td>
1259
+ <td>
1260
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 180</span>
1261
+
1262
+ <span class='kw'>def</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1263
+ <span class='kw'>case</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
1264
+ <span class='kw'>when</span> <span class='symbol'>:DateTime</span>
1265
+ <span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1266
+ <span class='kw'>when</span> <span class='symbol'>:Date</span>
1267
+ <span class='const'>Date</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1268
+ <span class='kw'>when</span> <span class='symbol'>:String</span>
1269
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
1270
+ <span class='kw'>when</span> <span class='symbol'>:Integer</span>
1271
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
1272
+ <span class='kw'>when</span> <span class='symbol'>:Float</span>
1273
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span>
1274
+ <span class='kw'>when</span> <span class='symbol'>:BOOLEAN</span>
1275
+ <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\A(true|t|yes|y|1)\z</span><span class='regexp_end'>/i</span></span>
1276
+ <span class='kw'>true</span>
1277
+ <span class='kw'>else</span>
1278
+ <span class='kw'>false</span>
1279
+ <span class='kw'>end</span>
1280
+ <span class='kw'>when</span> <span class='symbol'>:Object</span>
1281
+ <span class='comment'># generic object (usually a Hash), return directly
1282
+ </span> <span class='id identifier rubyid_value'>value</span>
1283
+ <span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\AArray&lt;(?&lt;inner_type&gt;.+)&gt;\z</span><span class='regexp_end'>/</span></span>
1284
+ <span class='id identifier rubyid_inner_type'>inner_type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lbracket'>[</span><span class='symbol'>:inner_type</span><span class='rbracket'>]</span>
1285
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_inner_type'>inner_type</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1286
+ <span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\AHash&lt;(?&lt;k_type&gt;.+?), (?&lt;v_type&gt;.+)&gt;\z</span><span class='regexp_end'>/</span></span>
1287
+ <span class='id identifier rubyid_k_type'>k_type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lbracket'>[</span><span class='symbol'>:k_type</span><span class='rbracket'>]</span>
1288
+ <span class='id identifier rubyid_v_type'>v_type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lbracket'>[</span><span class='symbol'>:v_type</span><span class='rbracket'>]</span>
1289
+ <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_hash'>hash</span><span class='op'>|</span>
1290
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
1291
+ <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_k_type'>k_type</span><span class='comma'>,</span> <span class='id identifier rubyid_k'>k</span><span class='rparen'>)</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_v_type'>v_type</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span>
1292
+ <span class='kw'>end</span>
1293
+ <span class='kw'>end</span>
1294
+ <span class='kw'>else</span> <span class='comment'># model
1295
+ </span> <span class='id identifier rubyid_temp_model'>temp_model</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../TreezorClient.html" title="TreezorClient (module)">TreezorClient</a></span></span><span class='period'>.</span><span class='id identifier rubyid_const_get'>const_get</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
1296
+ <span class='id identifier rubyid_temp_model'>temp_model</span><span class='period'>.</span><span class='id identifier rubyid_build_from_hash'>build_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1297
+ <span class='kw'>end</span>
1298
+ <span class='kw'>end</span></pre>
1299
+ </td>
1300
+ </tr>
1301
+ </table>
1302
+ </div>
1303
+
1304
+ <div class="method_details ">
1305
+ <h3 class="signature " id="_to_hash-instance_method">
1306
+
1307
+ #<strong>_to_hash</strong>(value) &#x21d2; <tt>Hash</tt>
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+ </h3><div class="docstring">
1314
+ <div class="discussion">
1315
+
1316
+ <p>Outputs non-array value in the form of hash For object, use to_hash.
1317
+ Otherwise, just return the value</p>
1318
+
1319
+
1320
+ </div>
1321
+ </div>
1322
+ <div class="tags">
1323
+ <p class="tag_title">Parameters:</p>
1324
+ <ul class="param">
1325
+
1326
+ <li>
1327
+
1328
+ <span class='name'>value</span>
1329
+
1330
+
1331
+ <span class='type'>(<tt>Object</tt>)</span>
1332
+
1333
+
1334
+
1335
+ &mdash;
1336
+ <div class='inline'>
1337
+ <p>Any valid value</p>
1338
+ </div>
1339
+
1340
+ </li>
1341
+
1342
+ </ul>
1343
+
1344
+ <p class="tag_title">Returns:</p>
1345
+ <ul class="return">
1346
+
1347
+ <li>
1348
+
1349
+
1350
+ <span class='type'>(<tt>Hash</tt>)</span>
1351
+
1352
+
1353
+
1354
+ &mdash;
1355
+ <div class='inline'>
1356
+ <p>Returns the value in the form of hash</p>
1357
+ </div>
1358
+
1359
+ </li>
1360
+
1361
+ </ul>
1362
+
1363
+ </div><table class="source_code">
1364
+ <tr>
1365
+ <td>
1366
+ <pre class="lines">
1367
+
1368
+
1369
+ 246
1370
+ 247
1371
+ 248
1372
+ 249
1373
+ 250
1374
+ 251
1375
+ 252
1376
+ 253
1377
+ 254
1378
+ 255
1379
+ 256
1380
+ 257
1381
+ 258</pre>
1382
+ </td>
1383
+ <td>
1384
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 246</span>
1385
+
1386
+ <span class='kw'>def</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1387
+ <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Array</span><span class='rparen'>)</span>
1388
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1389
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
1390
+ <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_hash'>hash</span><span class='op'>|</span>
1391
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1392
+ <span class='kw'>end</span>
1393
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span> <span class='symbol'>:to_hash</span>
1394
+ <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
1395
+ <span class='kw'>else</span>
1396
+ <span class='id identifier rubyid_value'>value</span>
1397
+ <span class='kw'>end</span>
1398
+ <span class='kw'>end</span></pre>
1399
+ </td>
1400
+ </tr>
1401
+ </table>
1402
+ </div>
1403
+
1404
+ <div class="method_details ">
1405
+ <h3 class="signature " id="build_from_hash-instance_method">
1406
+
1407
+ #<strong>build_from_hash</strong>(attributes) &#x21d2; <tt>Object</tt>
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+ </h3><div class="docstring">
1414
+ <div class="discussion">
1415
+
1416
+ <p>Builds the object from hash</p>
1417
+
1418
+
1419
+ </div>
1420
+ </div>
1421
+ <div class="tags">
1422
+ <p class="tag_title">Parameters:</p>
1423
+ <ul class="param">
1424
+
1425
+ <li>
1426
+
1427
+ <span class='name'>attributes</span>
1428
+
1429
+
1430
+ <span class='type'>(<tt>Hash</tt>)</span>
1431
+
1432
+
1433
+
1434
+ &mdash;
1435
+ <div class='inline'>
1436
+ <p>Model attributes in the form of hash</p>
1437
+ </div>
1438
+
1439
+ </li>
1440
+
1441
+ </ul>
1442
+
1443
+ <p class="tag_title">Returns:</p>
1444
+ <ul class="return">
1445
+
1446
+ <li>
1447
+
1448
+
1449
+ <span class='type'>(<tt>Object</tt>)</span>
1450
+
1451
+
1452
+
1453
+ &mdash;
1454
+ <div class='inline'>
1455
+ <p>Returns the model itself</p>
1456
+ </div>
1457
+
1458
+ </li>
1459
+
1460
+ </ul>
1461
+
1462
+ </div><table class="source_code">
1463
+ <tr>
1464
+ <td>
1465
+ <pre class="lines">
1466
+
1467
+
1468
+ 159
1469
+ 160
1470
+ 161
1471
+ 162
1472
+ 163
1473
+ 164
1474
+ 165
1475
+ 166
1476
+ 167
1477
+ 168
1478
+ 169
1479
+ 170
1480
+ 171
1481
+ 172
1482
+ 173
1483
+ 174</pre>
1484
+ </td>
1485
+ <td>
1486
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 159</span>
1487
+
1488
+ <span class='kw'>def</span> <span class='id identifier rubyid_build_from_hash'>build_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
1489
+ <span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
1490
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_swagger_types'>swagger_types</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='op'>|</span>
1491
+ <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\AArray&lt;(.*)&gt;</span><span class='regexp_end'>/i</span></span>
1492
+ <span class='comment'># check to ensure the input is an array given that the the attribute
1493
+ </span> <span class='comment'># is documented as an array but the input is not
1494
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Array</span><span class='rparen'>)</span>
1495
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='embexpr_end'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='backref'>$1</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='rbrace'>}</span> <span class='rparen'>)</span>
1496
+ <span class='kw'>end</span>
1497
+ <span class='kw'>elsif</span> <span class='op'>!</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1498
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='embexpr_end'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid__deserialize'>_deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='rparen'>)</span>
1499
+ <span class='kw'>end</span> <span class='comment'># or else data not found in attributes(hash), not an issue as the data can be optional
1500
+ </span> <span class='kw'>end</span>
1501
+
1502
+ <span class='kw'>self</span>
1503
+ <span class='kw'>end</span></pre>
1504
+ </td>
1505
+ </tr>
1506
+ </table>
1507
+ </div>
1508
+
1509
+ <div class="method_details ">
1510
+ <h3 class="signature " id="eql?-instance_method">
1511
+
1512
+ #<strong>eql?</strong>(o) &#x21d2; <tt>Boolean</tt>
1513
+
1514
+
1515
+
1516
+
1517
+
1518
+ </h3><div class="docstring">
1519
+ <div class="discussion">
1520
+
1521
+
1522
+ </div>
1523
+ </div>
1524
+ <div class="tags">
1525
+ <p class="tag_title">Parameters:</p>
1526
+ <ul class="param">
1527
+
1528
+ <li>
1529
+
1530
+ <span class='name'>Object</span>
1531
+
1532
+
1533
+ <span class='type'>(<tt>Object</tt>)</span>
1534
+
1535
+
1536
+
1537
+ &mdash;
1538
+ <div class='inline'>
1539
+ <p>to be compared</p>
1540
+ </div>
1541
+
1542
+ </li>
1543
+
1544
+ </ul>
1545
+
1546
+ <p class="tag_title">Returns:</p>
1547
+ <ul class="return">
1548
+
1549
+ <li>
1550
+
1551
+
1552
+ <span class='type'>(<tt>Boolean</tt>)</span>
1553
+
1554
+
1555
+
1556
+ </li>
1557
+
1558
+ </ul>
1559
+
1560
+ <p class="tag_title">See Also:</p>
1561
+ <ul class="see">
1562
+
1563
+ <li>`==` method</li>
1564
+
1565
+ </ul>
1566
+
1567
+ </div><table class="source_code">
1568
+ <tr>
1569
+ <td>
1570
+ <pre class="lines">
1571
+
1572
+
1573
+ 146
1574
+ 147
1575
+ 148</pre>
1576
+ </td>
1577
+ <td>
1578
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 146</span>
1579
+
1580
+ <span class='kw'>def</span> <span class='id identifier rubyid_eql?'>eql?</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span>
1581
+ <span class='kw'>self</span> <span class='op'>==</span> <span class='id identifier rubyid_o'>o</span>
1582
+ <span class='kw'>end</span></pre>
1583
+ </td>
1584
+ </tr>
1585
+ </table>
1586
+ </div>
1587
+
1588
+ <div class="method_details ">
1589
+ <h3 class="signature " id="hash-instance_method">
1590
+
1591
+ #<strong>hash</strong> &#x21d2; <tt>Fixnum</tt>
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+ </h3><div class="docstring">
1598
+ <div class="discussion">
1599
+
1600
+ <p>Calculates hash code according to all attributes.</p>
1601
+
1602
+
1603
+ </div>
1604
+ </div>
1605
+ <div class="tags">
1606
+
1607
+ <p class="tag_title">Returns:</p>
1608
+ <ul class="return">
1609
+
1610
+ <li>
1611
+
1612
+
1613
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1614
+
1615
+
1616
+
1617
+ &mdash;
1618
+ <div class='inline'>
1619
+ <p>Hash code</p>
1620
+ </div>
1621
+
1622
+ </li>
1623
+
1624
+ </ul>
1625
+
1626
+ </div><table class="source_code">
1627
+ <tr>
1628
+ <td>
1629
+ <pre class="lines">
1630
+
1631
+
1632
+ 152
1633
+ 153
1634
+ 154</pre>
1635
+ </td>
1636
+ <td>
1637
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 152</span>
1638
+
1639
+ <span class='kw'>def</span> <span class='id identifier rubyid_hash'>hash</span>
1640
+ <span class='lbracket'>[</span><span class='id identifier rubyid_firstname'>firstname</span><span class='comma'>,</span> <span class='id identifier rubyid_lastname'>lastname</span><span class='comma'>,</span> <span class='id identifier rubyid_fullnames'>fullnames</span><span class='comma'>,</span> <span class='id identifier rubyid_birthday'>birthday</span><span class='comma'>,</span> <span class='id identifier rubyid_parent_type'>parent_type</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span>
1641
+ <span class='kw'>end</span></pre>
1642
+ </td>
1643
+ </tr>
1644
+ </table>
1645
+ </div>
1646
+
1647
+ <div class="method_details ">
1648
+ <h3 class="signature " id="list_invalid_properties-instance_method">
1649
+
1650
+ #<strong>list_invalid_properties</strong> &#x21d2; <tt>Object</tt>
1651
+
1652
+
1653
+
1654
+
1655
+
1656
+ </h3><div class="docstring">
1657
+ <div class="discussion">
1658
+
1659
+ <p>Show invalid properties with the reasons. Usually used together with valid?</p>
1660
+
1661
+
1662
+ </div>
1663
+ </div>
1664
+ <div class="tags">
1665
+
1666
+ <p class="tag_title">Returns:</p>
1667
+ <ul class="return">
1668
+
1669
+ <li>
1670
+
1671
+
1672
+ <span class='type'></span>
1673
+
1674
+
1675
+
1676
+
1677
+ <div class='inline'>
1678
+ <p>Array for valid properties with the reasons</p>
1679
+ </div>
1680
+
1681
+ </li>
1682
+
1683
+ </ul>
1684
+
1685
+ </div><table class="source_code">
1686
+ <tr>
1687
+ <td>
1688
+ <pre class="lines">
1689
+
1690
+
1691
+ 109
1692
+ 110
1693
+ 111
1694
+ 112</pre>
1695
+ </td>
1696
+ <td>
1697
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 109</span>
1698
+
1699
+ <span class='kw'>def</span> <span class='id identifier rubyid_list_invalid_properties'>list_invalid_properties</span>
1700
+ <span class='id identifier rubyid_invalid_properties'>invalid_properties</span> <span class='op'>=</span> <span class='const'>Array</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
1701
+ <span class='kw'>return</span> <span class='id identifier rubyid_invalid_properties'>invalid_properties</span>
1702
+ <span class='kw'>end</span></pre>
1703
+ </td>
1704
+ </tr>
1705
+ </table>
1706
+ </div>
1707
+
1708
+ <div class="method_details ">
1709
+ <h3 class="signature " id="to_body-instance_method">
1710
+
1711
+ #<strong>to_body</strong> &#x21d2; <tt>Hash</tt>
1712
+
1713
+
1714
+
1715
+
1716
+
1717
+ </h3><div class="docstring">
1718
+ <div class="discussion">
1719
+
1720
+ <p>to_body is an alias to to_hash (backward compatibility)</p>
1721
+
1722
+
1723
+ </div>
1724
+ </div>
1725
+ <div class="tags">
1726
+
1727
+ <p class="tag_title">Returns:</p>
1728
+ <ul class="return">
1729
+
1730
+ <li>
1731
+
1732
+
1733
+ <span class='type'>(<tt>Hash</tt>)</span>
1734
+
1735
+
1736
+
1737
+ &mdash;
1738
+ <div class='inline'>
1739
+ <p>Returns the object in the form of hash</p>
1740
+ </div>
1741
+
1742
+ </li>
1743
+
1744
+ </ul>
1745
+
1746
+ </div><table class="source_code">
1747
+ <tr>
1748
+ <td>
1749
+ <pre class="lines">
1750
+
1751
+
1752
+ 226
1753
+ 227
1754
+ 228</pre>
1755
+ </td>
1756
+ <td>
1757
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 226</span>
1758
+
1759
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_body'>to_body</span>
1760
+ <span class='id identifier rubyid_to_hash'>to_hash</span>
1761
+ <span class='kw'>end</span></pre>
1762
+ </td>
1763
+ </tr>
1764
+ </table>
1765
+ </div>
1766
+
1767
+ <div class="method_details ">
1768
+ <h3 class="signature " id="to_hash-instance_method">
1769
+
1770
+ #<strong>to_hash</strong> &#x21d2; <tt>Hash</tt>
1771
+
1772
+
1773
+
1774
+
1775
+
1776
+ </h3><div class="docstring">
1777
+ <div class="discussion">
1778
+
1779
+ <p>Returns the object in the form of hash</p>
1780
+
1781
+
1782
+ </div>
1783
+ </div>
1784
+ <div class="tags">
1785
+
1786
+ <p class="tag_title">Returns:</p>
1787
+ <ul class="return">
1788
+
1789
+ <li>
1790
+
1791
+
1792
+ <span class='type'>(<tt>Hash</tt>)</span>
1793
+
1794
+
1795
+
1796
+ &mdash;
1797
+ <div class='inline'>
1798
+ <p>Returns the object in the form of hash</p>
1799
+ </div>
1800
+
1801
+ </li>
1802
+
1803
+ </ul>
1804
+
1805
+ </div><table class="source_code">
1806
+ <tr>
1807
+ <td>
1808
+ <pre class="lines">
1809
+
1810
+
1811
+ 232
1812
+ 233
1813
+ 234
1814
+ 235
1815
+ 236
1816
+ 237
1817
+ 238
1818
+ 239
1819
+ 240</pre>
1820
+ </td>
1821
+ <td>
1822
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 232</span>
1823
+
1824
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
1825
+ <span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1826
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_attr'>attr</span><span class='comma'>,</span> <span class='id identifier rubyid_param'>param</span><span class='op'>|</span>
1827
+ <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_attr'>attr</span><span class='rparen'>)</span>
1828
+ <span class='kw'>next</span> <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1829
+ <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1830
+ <span class='kw'>end</span>
1831
+ <span class='id identifier rubyid_hash'>hash</span>
1832
+ <span class='kw'>end</span></pre>
1833
+ </td>
1834
+ </tr>
1835
+ </table>
1836
+ </div>
1837
+
1838
+ <div class="method_details ">
1839
+ <h3 class="signature " id="to_s-instance_method">
1840
+
1841
+ #<strong>to_s</strong> &#x21d2; <tt>String</tt>
1842
+
1843
+
1844
+
1845
+
1846
+
1847
+ </h3><div class="docstring">
1848
+ <div class="discussion">
1849
+
1850
+ <p>Returns the string representation of the object</p>
1851
+
1852
+
1853
+ </div>
1854
+ </div>
1855
+ <div class="tags">
1856
+
1857
+ <p class="tag_title">Returns:</p>
1858
+ <ul class="return">
1859
+
1860
+ <li>
1861
+
1862
+
1863
+ <span class='type'>(<tt>String</tt>)</span>
1864
+
1865
+
1866
+
1867
+ &mdash;
1868
+ <div class='inline'>
1869
+ <p>String presentation of the object</p>
1870
+ </div>
1871
+
1872
+ </li>
1873
+
1874
+ </ul>
1875
+
1876
+ </div><table class="source_code">
1877
+ <tr>
1878
+ <td>
1879
+ <pre class="lines">
1880
+
1881
+
1882
+ 220
1883
+ 221
1884
+ 222</pre>
1885
+ </td>
1886
+ <td>
1887
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 220</span>
1888
+
1889
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
1890
+ <span class='id identifier rubyid_to_hash'>to_hash</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
1891
+ <span class='kw'>end</span></pre>
1892
+ </td>
1893
+ </tr>
1894
+ </table>
1895
+ </div>
1896
+
1897
+ <div class="method_details ">
1898
+ <h3 class="signature " id="valid?-instance_method">
1899
+
1900
+ #<strong>valid?</strong> &#x21d2; <tt>Boolean</tt>
1901
+
1902
+
1903
+
1904
+
1905
+
1906
+ </h3><div class="docstring">
1907
+ <div class="discussion">
1908
+
1909
+ <p>Check to see if the all the properties in the model are valid</p>
1910
+
1911
+
1912
+ </div>
1913
+ </div>
1914
+ <div class="tags">
1915
+
1916
+ <p class="tag_title">Returns:</p>
1917
+ <ul class="return">
1918
+
1919
+ <li>
1920
+
1921
+
1922
+ <span class='type'>(<tt>Boolean</tt>)</span>
1923
+
1924
+
1925
+
1926
+ &mdash;
1927
+ <div class='inline'>
1928
+ <p>true if the model is valid</p>
1929
+ </div>
1930
+
1931
+ </li>
1932
+
1933
+ </ul>
1934
+
1935
+ </div><table class="source_code">
1936
+ <tr>
1937
+ <td>
1938
+ <pre class="lines">
1939
+
1940
+
1941
+ 116
1942
+ 117
1943
+ 118
1944
+ 119
1945
+ 120</pre>
1946
+ </td>
1947
+ <td>
1948
+ <pre class="code"><span class="info file"># File 'lib/treezor_client/models/inline_response_200_5_users.rb', line 116</span>
1949
+
1950
+ <span class='kw'>def</span> <span class='id identifier rubyid_valid?'>valid?</span>
1951
+ <span class='id identifier rubyid_parent_type_validator'>parent_type_validator</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="InlineResponse2005Users/EnumAttributeValidator.html" title="TreezorClient::InlineResponse2005Users::EnumAttributeValidator (class)">EnumAttributeValidator</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="InlineResponse2005Users/EnumAttributeValidator.html#initialize-instance_method" title="TreezorClient::InlineResponse2005Users::EnumAttributeValidator#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>String</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Honorary president</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Not associated manager</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>President of the control council</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Member of the management board</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Member of the supervisory council</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Member of the control committee</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Partner</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Management advisor </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Deputy managing director</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Vice-president of the management board</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Vice-president of the supervisory council</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Developer</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Other manager</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Receiver</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Authorized agent</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Person in charge abroad</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Representative in France</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Member of the management council</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Member of the control council</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Treasurer</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Secretary</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Member</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Administrative director</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Sales director</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Financial director</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Chief Technical Officer</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>General secretary</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Chief accountant</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Guardian</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Plan commissioner </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Management agent</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Concordat commissioner</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Representative of the creditors</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Judicial representative</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Substitute judge-commissioner</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Judge-commissioner</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Receiver/representative of the creditors</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Conciliator</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Auditor</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Statutory auditor</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Supervision commissioner</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Deputy auditor</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Spouse-associate</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Accounts controller</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Censor</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Chief Executive Officer</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>President</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Chairman of the Board</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Governor</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Deputy governor</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Person having the power to usually involve the company</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Manager</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Co-managing partner</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Managing director</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Managing director not administrator</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Unique managing director</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Delegated managing director</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Vice-president</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Administrator</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Delegated administrator</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>President of the management board</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>President of the supervisory council</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Active partner</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Management controller</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Liquidator</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Temporary administrator</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Representative in France of a foreign company</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Personal business manager</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
1952
+ <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='id identifier rubyid_parent_type_validator'>parent_type_validator</span><span class='period'>.</span><span class='id identifier rubyid_valid?'>valid?</span><span class='lparen'>(</span><span class='ivar'>@parent_type</span><span class='rparen'>)</span>
1953
+ <span class='kw'>return</span> <span class='kw'>true</span>
1954
+ <span class='kw'>end</span></pre>
1955
+ </td>
1956
+ </tr>
1957
+ </table>
1958
+ </div>
1959
+
1960
+ </div>
1961
+
1962
+ </div>
1963
+
1964
+ <div id="footer">
1965
+ Generated on Wed Aug 8 17:39:26 2018 by
1966
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1967
+ 0.9.15 (ruby-2.5.1).
1968
+ </div>
1969
+
1970
+ </div>
1971
+ </body>
1972
+ </html>