ory-client 0.1.0.alpha10 → 0.2.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +14 -9
  4. data/docs/AdminUpdateIdentityBody.md +2 -0
  5. data/docs/{InlineResponse2001.md → GetVersion200Response.md} +2 -2
  6. data/docs/IdentitySchema.md +0 -2
  7. data/docs/IdentitySchemaContainer.md +20 -0
  8. data/docs/{InlineResponse200.md → IsAlive200Response.md} +2 -2
  9. data/docs/{InlineResponse503.md → IsReady503Response.md} +2 -2
  10. data/docs/JsonPatch.md +4 -2
  11. data/docs/MetadataApi.md +12 -12
  12. data/docs/Pagination.md +1 -1
  13. data/docs/QuotaCustomDomains.md +22 -0
  14. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +1 -1
  15. data/docs/TokenPagination.md +20 -0
  16. data/docs/TokenPaginationHeaders.md +20 -0
  17. data/docs/UiNodeInputAttributes.md +3 -1
  18. data/docs/V0alpha2Api.md +96 -22
  19. data/docs/VerifiableIdentityAddress.md +1 -1
  20. data/lib/ory-client/api/metadata_api.rb +11 -11
  21. data/lib/ory-client/api/read_api.rb +2 -2
  22. data/lib/ory-client/api/v0alpha2_api.rb +98 -28
  23. data/lib/ory-client/api/write_api.rb +2 -2
  24. data/lib/ory-client/api_client.rb +5 -3
  25. data/lib/ory-client/api_error.rb +2 -2
  26. data/lib/ory-client/configuration.rb +4 -3
  27. data/lib/ory-client/models/active_project.rb +3 -2
  28. data/lib/ory-client/models/admin_create_identity_body.rb +3 -2
  29. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +3 -2
  30. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +3 -2
  31. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +3 -2
  32. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +3 -2
  33. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +3 -2
  34. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +3 -2
  35. data/lib/ory-client/models/admin_identity_import_credentials.rb +3 -2
  36. data/lib/ory-client/models/admin_update_identity_body.rb +13 -3
  37. data/lib/ory-client/models/api_token.rb +3 -2
  38. data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
  39. data/lib/ory-client/models/cloud_account.rb +3 -2
  40. data/lib/ory-client/models/cname_settings.rb +3 -2
  41. data/lib/ory-client/models/create_custom_hostname_body.rb +3 -2
  42. data/lib/ory-client/models/create_project_body.rb +3 -2
  43. data/lib/ory-client/models/create_subscription_payload.rb +3 -2
  44. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +3 -2
  45. data/lib/ory-client/models/expand_tree.rb +3 -2
  46. data/lib/ory-client/models/generic_error.rb +3 -2
  47. data/lib/ory-client/models/generic_error_content.rb +3 -2
  48. data/lib/ory-client/models/get_check_response.rb +3 -2
  49. data/lib/ory-client/models/get_relation_tuples_response.rb +3 -2
  50. data/lib/ory-client/models/{inline_response2001.rb → get_version200_response.rb} +6 -5
  51. data/lib/ory-client/models/health_not_ready_status.rb +3 -2
  52. data/lib/ory-client/models/health_status.rb +3 -2
  53. data/lib/ory-client/models/identity.rb +3 -2
  54. data/lib/ory-client/models/identity_credentials.rb +3 -2
  55. data/lib/ory-client/models/identity_credentials_oidc.rb +3 -2
  56. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +3 -2
  57. data/lib/ory-client/models/identity_credentials_password.rb +3 -2
  58. data/lib/ory-client/models/identity_credentials_type.rb +2 -2
  59. data/lib/ory-client/models/identity_schema.rb +4 -13
  60. data/lib/ory-client/models/identity_schema_container.rb +229 -0
  61. data/lib/ory-client/models/identity_schema_location.rb +3 -2
  62. data/lib/ory-client/models/identity_schema_preset.rb +3 -2
  63. data/lib/ory-client/models/identity_schema_validation_result.rb +3 -2
  64. data/lib/ory-client/models/identity_state.rb +2 -2
  65. data/lib/ory-client/models/internal_relation_tuple.rb +3 -2
  66. data/lib/ory-client/models/invite_payload.rb +3 -2
  67. data/lib/ory-client/models/{inline_response200.rb → is_alive200_response.rb} +6 -5
  68. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +3 -2
  69. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +3 -2
  70. data/lib/ory-client/models/{inline_response503.rb → is_ready503_response.rb} +6 -5
  71. data/lib/ory-client/models/json_error.rb +3 -2
  72. data/lib/ory-client/models/json_patch.rb +14 -3
  73. data/lib/ory-client/models/keto_namespace.rb +3 -2
  74. data/lib/ory-client/models/needs_privileged_session_error.rb +3 -2
  75. data/lib/ory-client/models/normalized_project.rb +3 -2
  76. data/lib/ory-client/models/normalized_project_revision.rb +3 -2
  77. data/lib/ory-client/models/normalized_project_revision_hook.rb +3 -2
  78. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -2
  79. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +3 -2
  80. data/lib/ory-client/models/null_plan.rb +2 -2
  81. data/lib/ory-client/models/pagination.rb +4 -3
  82. data/lib/ory-client/models/patch_delta.rb +3 -2
  83. data/lib/ory-client/models/project.rb +3 -2
  84. data/lib/ory-client/models/project_host.rb +3 -2
  85. data/lib/ory-client/models/project_invite.rb +3 -2
  86. data/lib/ory-client/models/project_metadata.rb +3 -2
  87. data/lib/ory-client/models/project_service_identity.rb +3 -2
  88. data/lib/ory-client/models/project_service_permission.rb +3 -2
  89. data/lib/ory-client/models/project_services.rb +3 -2
  90. data/lib/ory-client/models/provision_mock_subscription_payload.rb +3 -2
  91. data/lib/ory-client/models/quota_custom_domains.rb +237 -0
  92. data/lib/ory-client/models/quota_project_member_seats.rb +3 -2
  93. data/lib/ory-client/models/recovery_address.rb +3 -2
  94. data/lib/ory-client/models/relation_query.rb +3 -2
  95. data/lib/ory-client/models/revoked_sessions.rb +3 -2
  96. data/lib/ory-client/models/schema_patch.rb +3 -2
  97. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +3 -2
  98. data/lib/ory-client/models/self_service_error.rb +3 -2
  99. data/lib/ory-client/models/self_service_flow_expired_error.rb +3 -2
  100. data/lib/ory-client/models/self_service_login_flow.rb +3 -2
  101. data/lib/ory-client/models/self_service_logout_url.rb +3 -2
  102. data/lib/ory-client/models/self_service_recovery_flow.rb +3 -2
  103. data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
  104. data/lib/ory-client/models/self_service_recovery_link.rb +3 -2
  105. data/lib/ory-client/models/self_service_registration_flow.rb +3 -2
  106. data/lib/ory-client/models/self_service_settings_flow.rb +3 -2
  107. data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
  108. data/lib/ory-client/models/self_service_verification_flow.rb +3 -2
  109. data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
  110. data/lib/ory-client/models/session.rb +3 -2
  111. data/lib/ory-client/models/session_authentication_method.rb +3 -2
  112. data/lib/ory-client/models/session_device.rb +3 -2
  113. data/lib/ory-client/models/settings_profile_form_config.rb +3 -2
  114. data/lib/ory-client/models/stripe_customer_response.rb +3 -2
  115. data/lib/ory-client/models/subject_set.rb +3 -2
  116. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +3 -2
  117. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +4 -4
  118. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +3 -2
  119. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +3 -2
  120. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +3 -2
  121. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +3 -2
  122. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +9 -3
  123. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +3 -2
  124. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +4 -4
  125. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +3 -2
  126. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +4 -4
  127. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +3 -2
  128. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +3 -2
  129. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +3 -2
  130. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +4 -4
  131. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +3 -2
  132. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +3 -2
  133. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +3 -2
  134. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +3 -2
  135. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +3 -2
  136. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +3 -2
  137. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +4 -4
  138. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +3 -2
  139. data/lib/ory-client/models/subscription.rb +3 -2
  140. data/lib/ory-client/models/successful_project_update.rb +3 -2
  141. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +3 -2
  142. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +3 -2
  143. data/lib/ory-client/models/token_pagination.rb +264 -0
  144. data/lib/ory-client/models/token_pagination_headers.rb +230 -0
  145. data/lib/ory-client/models/ui_container.rb +3 -2
  146. data/lib/ory-client/models/ui_node.rb +3 -2
  147. data/lib/ory-client/models/ui_node_anchor_attributes.rb +3 -2
  148. data/lib/ory-client/models/ui_node_attributes.rb +4 -4
  149. data/lib/ory-client/models/ui_node_image_attributes.rb +3 -2
  150. data/lib/ory-client/models/ui_node_input_attributes.rb +49 -3
  151. data/lib/ory-client/models/ui_node_meta.rb +3 -2
  152. data/lib/ory-client/models/ui_node_script_attributes.rb +3 -2
  153. data/lib/ory-client/models/ui_node_text_attributes.rb +3 -2
  154. data/lib/ory-client/models/ui_text.rb +3 -2
  155. data/lib/ory-client/models/update_custom_hostname_body.rb +3 -2
  156. data/lib/ory-client/models/update_project.rb +3 -2
  157. data/lib/ory-client/models/update_subscription_payload.rb +3 -2
  158. data/lib/ory-client/models/verifiable_identity_address.rb +3 -7
  159. data/lib/ory-client/models/version.rb +3 -2
  160. data/lib/ory-client/models/warning.rb +3 -2
  161. data/lib/ory-client/version.rb +3 -3
  162. data/lib/ory-client.rb +9 -5
  163. data/ory-client.gemspec +2 -2
  164. data/spec/api/metadata_api_spec.rb +5 -5
  165. data/spec/api/read_api_spec.rb +2 -2
  166. data/spec/api/v0alpha2_api_spec.rb +24 -11
  167. data/spec/api/write_api_spec.rb +2 -2
  168. data/spec/api_client_spec.rb +2 -2
  169. data/spec/configuration_spec.rb +2 -2
  170. data/spec/models/active_project_spec.rb +2 -2
  171. data/spec/models/admin_create_identity_body_spec.rb +2 -2
  172. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +2 -2
  173. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +2 -2
  174. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +2 -2
  175. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +2 -2
  176. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +2 -2
  177. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
  178. data/spec/models/admin_identity_import_credentials_spec.rb +2 -2
  179. data/spec/models/admin_update_identity_body_spec.rb +8 -2
  180. data/spec/models/api_token_spec.rb +2 -2
  181. data/spec/models/authenticator_assurance_level_spec.rb +2 -2
  182. data/spec/models/cloud_account_spec.rb +2 -2
  183. data/spec/models/cname_settings_spec.rb +2 -2
  184. data/spec/models/create_custom_hostname_body_spec.rb +2 -2
  185. data/spec/models/create_project_body_spec.rb +2 -2
  186. data/spec/models/create_subscription_payload_spec.rb +2 -2
  187. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
  188. data/spec/models/expand_tree_spec.rb +2 -2
  189. data/spec/models/generic_error_content_spec.rb +2 -2
  190. data/spec/models/generic_error_spec.rb +2 -2
  191. data/spec/models/get_check_response_spec.rb +2 -2
  192. data/spec/models/get_relation_tuples_response_spec.rb +2 -2
  193. data/spec/models/{inline_response2001_spec.rb → get_version200_response_spec.rb} +8 -8
  194. data/spec/models/health_not_ready_status_spec.rb +2 -2
  195. data/spec/models/health_status_spec.rb +2 -2
  196. data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
  197. data/spec/models/identity_credentials_oidc_spec.rb +2 -2
  198. data/spec/models/identity_credentials_password_spec.rb +2 -2
  199. data/spec/models/identity_credentials_spec.rb +2 -2
  200. data/spec/models/identity_credentials_type_spec.rb +2 -2
  201. data/spec/models/identity_schema_container_spec.rb +40 -0
  202. data/spec/models/identity_schema_location_spec.rb +2 -2
  203. data/spec/models/identity_schema_preset_spec.rb +2 -2
  204. data/spec/models/identity_schema_spec.rb +2 -8
  205. data/spec/models/identity_schema_validation_result_spec.rb +2 -2
  206. data/spec/models/identity_spec.rb +2 -2
  207. data/spec/models/identity_state_spec.rb +2 -2
  208. data/spec/models/internal_relation_tuple_spec.rb +2 -2
  209. data/spec/models/invite_payload_spec.rb +2 -2
  210. data/spec/models/{inline_response200_spec.rb → is_alive200_response_spec.rb} +8 -8
  211. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
  212. data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
  213. data/spec/models/{inline_response503_spec.rb → is_ready503_response_spec.rb} +8 -8
  214. data/spec/models/json_error_spec.rb +2 -2
  215. data/spec/models/json_patch_spec.rb +8 -2
  216. data/spec/models/keto_namespace_spec.rb +2 -2
  217. data/spec/models/needs_privileged_session_error_spec.rb +2 -2
  218. data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
  219. data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
  220. data/spec/models/normalized_project_revision_spec.rb +2 -2
  221. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
  222. data/spec/models/normalized_project_spec.rb +2 -2
  223. data/spec/models/null_plan_spec.rb +2 -2
  224. data/spec/models/pagination_spec.rb +2 -2
  225. data/spec/models/patch_delta_spec.rb +2 -2
  226. data/spec/models/project_host_spec.rb +2 -2
  227. data/spec/models/project_invite_spec.rb +2 -2
  228. data/spec/models/project_metadata_spec.rb +2 -2
  229. data/spec/models/project_service_identity_spec.rb +2 -2
  230. data/spec/models/project_service_permission_spec.rb +2 -2
  231. data/spec/models/project_services_spec.rb +2 -2
  232. data/spec/models/project_spec.rb +2 -2
  233. data/spec/models/provision_mock_subscription_payload_spec.rb +2 -2
  234. data/spec/models/quota_custom_domains_spec.rb +46 -0
  235. data/spec/models/quota_project_member_seats_spec.rb +2 -2
  236. data/spec/models/recovery_address_spec.rb +2 -2
  237. data/spec/models/relation_query_spec.rb +2 -2
  238. data/spec/models/revoked_sessions_spec.rb +2 -2
  239. data/spec/models/schema_patch_spec.rb +2 -2
  240. data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
  241. data/spec/models/self_service_error_spec.rb +2 -2
  242. data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
  243. data/spec/models/self_service_login_flow_spec.rb +2 -2
  244. data/spec/models/self_service_logout_url_spec.rb +2 -2
  245. data/spec/models/self_service_recovery_flow_spec.rb +2 -2
  246. data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
  247. data/spec/models/self_service_recovery_link_spec.rb +2 -2
  248. data/spec/models/self_service_registration_flow_spec.rb +2 -2
  249. data/spec/models/self_service_settings_flow_spec.rb +2 -2
  250. data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
  251. data/spec/models/self_service_verification_flow_spec.rb +2 -2
  252. data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
  253. data/spec/models/session_authentication_method_spec.rb +2 -2
  254. data/spec/models/session_device_spec.rb +2 -2
  255. data/spec/models/session_spec.rb +2 -2
  256. data/spec/models/settings_profile_form_config_spec.rb +2 -2
  257. data/spec/models/stripe_customer_response_spec.rb +2 -2
  258. data/spec/models/subject_set_spec.rb +2 -2
  259. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +2 -2
  260. data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
  261. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
  262. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
  263. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
  264. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
  265. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
  266. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
  267. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
  268. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
  269. data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
  270. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
  271. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
  272. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +2 -2
  273. data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
  274. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
  275. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
  276. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
  277. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
  278. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
  279. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
  280. data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
  281. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
  282. data/spec/models/subscription_spec.rb +2 -2
  283. data/spec/models/successful_project_update_spec.rb +2 -2
  284. data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
  285. data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
  286. data/spec/models/token_pagination_headers_spec.rb +40 -0
  287. data/spec/models/token_pagination_spec.rb +40 -0
  288. data/spec/models/ui_container_spec.rb +2 -2
  289. data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
  290. data/spec/models/ui_node_attributes_spec.rb +2 -2
  291. data/spec/models/ui_node_image_attributes_spec.rb +2 -2
  292. data/spec/models/ui_node_input_attributes_spec.rb +12 -2
  293. data/spec/models/ui_node_meta_spec.rb +2 -2
  294. data/spec/models/ui_node_script_attributes_spec.rb +2 -2
  295. data/spec/models/ui_node_spec.rb +2 -2
  296. data/spec/models/ui_node_text_attributes_spec.rb +2 -2
  297. data/spec/models/ui_text_spec.rb +2 -2
  298. data/spec/models/update_custom_hostname_body_spec.rb +2 -2
  299. data/spec/models/update_project_spec.rb +2 -2
  300. data/spec/models/update_subscription_payload_spec.rb +2 -2
  301. data/spec/models/verifiable_identity_address_spec.rb +2 -2
  302. data/spec/models/version_spec.rb +2 -2
  303. data/spec/models/warning_spec.rb +2 -2
  304. data/spec/spec_helper.rb +2 -2
  305. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  306. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  307. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  308. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
  309. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  310. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  311. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  312. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  313. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  314. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
  315. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  316. metadata +30 -14
@@ -0,0 +1,237 @@
1
+ =begin
2
+ #Ory APIs
3
+
4
+ #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
+
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OryClient
17
+ class QuotaCustomDomains
18
+ attr_accessor :available_domains
19
+
20
+ attr_accessor :can_use
21
+
22
+ attr_accessor :used_domains
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'available_domains' => :'available_domains',
28
+ :'can_use' => :'can_use',
29
+ :'used_domains' => :'used_domains'
30
+ }
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'available_domains' => :'Integer',
42
+ :'can_use' => :'Boolean',
43
+ :'used_domains' => :'Integer'
44
+ }
45
+ end
46
+
47
+ # List of attributes with nullable: true
48
+ def self.openapi_nullable
49
+ Set.new([
50
+ ])
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param [Hash] attributes Model attributes in the form of hash
55
+ def initialize(attributes = {})
56
+ if (!attributes.is_a?(Hash))
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::QuotaCustomDomains` initialize method"
58
+ end
59
+
60
+ # check to see if the attribute exists and convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!self.class.attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::QuotaCustomDomains`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'available_domains')
69
+ self.available_domains = attributes[:'available_domains']
70
+ end
71
+
72
+ if attributes.key?(:'can_use')
73
+ self.can_use = attributes[:'can_use']
74
+ end
75
+
76
+ if attributes.key?(:'used_domains')
77
+ self.used_domains = attributes[:'used_domains']
78
+ end
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properties with the reasons
83
+ def list_invalid_properties
84
+ invalid_properties = Array.new
85
+ invalid_properties
86
+ end
87
+
88
+ # Check to see if the all the properties in the model are valid
89
+ # @return true if the model is valid
90
+ def valid?
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ available_domains == o.available_domains &&
100
+ can_use == o.can_use &&
101
+ used_domains == o.used_domains
102
+ end
103
+
104
+ # @see the `==` method
105
+ # @param [Object] Object to be compared
106
+ def eql?(o)
107
+ self == o
108
+ end
109
+
110
+ # Calculates hash code according to all attributes.
111
+ # @return [Integer] Hash code
112
+ def hash
113
+ [available_domains, can_use, used_domains].hash
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def self.build_from_hash(attributes)
120
+ new.build_from_hash(attributes)
121
+ end
122
+
123
+ # Builds the object from hash
124
+ # @param [Hash] attributes Model attributes in the form of hash
125
+ # @return [Object] Returns the model itself
126
+ def build_from_hash(attributes)
127
+ return nil unless attributes.is_a?(Hash)
128
+ attributes = attributes.transform_keys(&:to_sym)
129
+ self.class.openapi_types.each_pair do |key, type|
130
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
131
+ self.send("#{key}=", nil)
132
+ elsif type =~ /\AArray<(.*)>/i
133
+ # check to ensure the input is an array given that the attribute
134
+ # is documented as an array but the input is not
135
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
136
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
137
+ end
138
+ elsif !attributes[self.class.attribute_map[key]].nil?
139
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
140
+ end
141
+ end
142
+
143
+ self
144
+ end
145
+
146
+ # Deserializes the data based on type
147
+ # @param string type Data type
148
+ # @param string value Value to be deserialized
149
+ # @return [Object] Deserialized data
150
+ def _deserialize(type, value)
151
+ case type.to_sym
152
+ when :Time
153
+ Time.parse(value)
154
+ when :Date
155
+ Date.parse(value)
156
+ when :String
157
+ value.to_s
158
+ when :Integer
159
+ value.to_i
160
+ when :Float
161
+ value.to_f
162
+ when :Boolean
163
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
164
+ true
165
+ else
166
+ false
167
+ end
168
+ when :Object
169
+ # generic object (usually a Hash), return directly
170
+ value
171
+ when /\AArray<(?<inner_type>.+)>\z/
172
+ inner_type = Regexp.last_match[:inner_type]
173
+ value.map { |v| _deserialize(inner_type, v) }
174
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
175
+ k_type = Regexp.last_match[:k_type]
176
+ v_type = Regexp.last_match[:v_type]
177
+ {}.tap do |hash|
178
+ value.each do |k, v|
179
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
180
+ end
181
+ end
182
+ else # model
183
+ # models (e.g. Pet) or oneOf
184
+ klass = OryClient.const_get(type)
185
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
186
+ end
187
+ end
188
+
189
+ # Returns the string representation of the object
190
+ # @return [String] String presentation of the object
191
+ def to_s
192
+ to_hash.to_s
193
+ end
194
+
195
+ # to_body is an alias to to_hash (backward compatibility)
196
+ # @return [Hash] Returns the object in the form of hash
197
+ def to_body
198
+ to_hash
199
+ end
200
+
201
+ # Returns the object in the form of hash
202
+ # @return [Hash] Returns the object in the form of hash
203
+ def to_hash
204
+ hash = {}
205
+ self.class.attribute_map.each_pair do |attr, param|
206
+ value = self.send(attr)
207
+ if value.nil?
208
+ is_nullable = self.class.openapi_nullable.include?(attr)
209
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
210
+ end
211
+
212
+ hash[param] = _to_hash(value)
213
+ end
214
+ hash
215
+ end
216
+
217
+ # Outputs non-array value in the form of hash
218
+ # For object, use to_hash. Otherwise, just return the value
219
+ # @param [Object] value Any valid value
220
+ # @return [Hash] Returns the value in the form of hash
221
+ def _to_hash(value)
222
+ if value.is_a?(Array)
223
+ value.compact.map { |v| _to_hash(v) }
224
+ elsif value.is_a?(Hash)
225
+ {}.tap do |hash|
226
+ value.each { |k, v| hash[k] = _to_hash(v) }
227
+ end
228
+ elsif value.respond_to? :to_hash
229
+ value.to_hash
230
+ else
231
+ value
232
+ end
233
+ end
234
+
235
+ end
236
+
237
+ end
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -125,6 +125,7 @@ module OryClient
125
125
  # @return [Object] Returns the model itself
126
126
  def build_from_hash(attributes)
127
127
  return nil unless attributes.is_a?(Hash)
128
+ attributes = attributes.transform_keys(&:to_sym)
128
129
  self.class.openapi_types.each_pair do |key, type|
129
130
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
130
131
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -160,6 +160,7 @@ module OryClient
160
160
  # @return [Object] Returns the model itself
161
161
  def build_from_hash(attributes)
162
162
  return nil unless attributes.is_a?(Hash)
163
+ attributes = attributes.transform_keys(&:to_sym)
163
164
  self.class.openapi_types.each_pair do |key, type|
164
165
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
165
166
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -147,6 +147,7 @@ module OryClient
147
147
  # @return [Object] Returns the model itself
148
148
  def build_from_hash(attributes)
149
149
  return nil unless attributes.is_a?(Hash)
150
+ attributes = attributes.transform_keys(&:to_sym)
150
151
  self.class.openapi_types.each_pair do |key, type|
151
152
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
152
153
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -108,6 +108,7 @@ module OryClient
108
108
  # @return [Object] Returns the model itself
109
109
  def build_from_hash(attributes)
110
110
  return nil unless attributes.is_a?(Hash)
111
+ attributes = attributes.transform_keys(&:to_sym)
111
112
  self.class.openapi_types.each_pair do |key, type|
112
113
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
113
114
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -128,6 +128,7 @@ module OryClient
128
128
  # @return [Object] Returns the model itself
129
129
  def build_from_hash(attributes)
130
130
  return nil unless attributes.is_a?(Hash)
131
+ attributes = attributes.transform_keys(&:to_sym)
131
132
  self.class.openapi_types.each_pair do |key, type|
132
133
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
133
134
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -195,6 +195,7 @@ module OryClient
195
195
  # @return [Object] Returns the model itself
196
196
  def build_from_hash(attributes)
197
197
  return nil unless attributes.is_a?(Hash)
198
+ attributes = attributes.transform_keys(&:to_sym)
198
199
  self.class.openapi_types.each_pair do |key, type|
199
200
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
200
201
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -141,6 +141,7 @@ module OryClient
141
141
  # @return [Object] Returns the model itself
142
142
  def build_from_hash(attributes)
143
143
  return nil unless attributes.is_a?(Hash)
144
+ attributes = attributes.transform_keys(&:to_sym)
144
145
  self.class.openapi_types.each_pair do |key, type|
145
146
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
146
147
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -205,6 +205,7 @@ module OryClient
205
205
  # @return [Object] Returns the model itself
206
206
  def build_from_hash(attributes)
207
207
  return nil unless attributes.is_a?(Hash)
208
+ attributes = attributes.transform_keys(&:to_sym)
208
209
  self.class.openapi_types.each_pair do |key, type|
209
210
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
210
211
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -245,6 +245,7 @@ module OryClient
245
245
  # @return [Object] Returns the model itself
246
246
  def build_from_hash(attributes)
247
247
  return nil unless attributes.is_a?(Hash)
248
+ attributes = attributes.transform_keys(&:to_sym)
248
249
  self.class.openapi_types.each_pair do |key, type|
249
250
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
250
251
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -128,6 +128,7 @@ module OryClient
128
128
  # @return [Object] Returns the model itself
129
129
  def build_from_hash(attributes)
130
130
  return nil unless attributes.is_a?(Hash)
131
+ attributes = attributes.transform_keys(&:to_sym)
131
132
  self.class.openapi_types.each_pair do |key, type|
132
133
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
133
134
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -221,6 +221,7 @@ module OryClient
221
221
  # @return [Object] Returns the model itself
222
222
  def build_from_hash(attributes)
223
223
  return nil unless attributes.is_a?(Hash)
224
+ attributes = attributes.transform_keys(&:to_sym)
224
225
  self.class.openapi_types.each_pair do |key, type|
225
226
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
226
227
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -123,6 +123,7 @@ module OryClient
123
123
  # @return [Object] Returns the model itself
124
124
  def build_from_hash(attributes)
125
125
  return nil unless attributes.is_a?(Hash)
126
+ attributes = attributes.transform_keys(&:to_sym)
126
127
  self.class.openapi_types.each_pair do |key, type|
127
128
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
128
129
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -205,6 +205,7 @@ module OryClient
205
205
  # @return [Object] Returns the model itself
206
206
  def build_from_hash(attributes)
207
207
  return nil unless attributes.is_a?(Hash)
208
+ attributes = attributes.transform_keys(&:to_sym)
208
209
  self.class.openapi_types.each_pair do |key, type|
209
210
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
210
211
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -235,6 +235,7 @@ module OryClient
235
235
  # @return [Object] Returns the model itself
236
236
  def build_from_hash(attributes)
237
237
  return nil unless attributes.is_a?(Hash)
238
+ attributes = attributes.transform_keys(&:to_sym)
238
239
  self.class.openapi_types.each_pair do |key, type|
239
240
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
240
241
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -206,6 +206,7 @@ module OryClient
206
206
  # @return [Object] Returns the model itself
207
207
  def build_from_hash(attributes)
208
208
  return nil unless attributes.is_a?(Hash)
209
+ attributes = attributes.transform_keys(&:to_sym)
209
210
  self.class.openapi_types.each_pair do |key, type|
210
211
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
211
212
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -188,6 +188,7 @@ module OryClient
188
188
  # @return [Object] Returns the model itself
189
189
  def build_from_hash(attributes)
190
190
  return nil unless attributes.is_a?(Hash)
191
+ attributes = attributes.transform_keys(&:to_sym)
191
192
  self.class.openapi_types.each_pair do |key, type|
192
193
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
193
194
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -161,6 +161,7 @@ module OryClient
161
161
  # @return [Object] Returns the model itself
162
162
  def build_from_hash(attributes)
163
163
  return nil unless attributes.is_a?(Hash)
164
+ attributes = attributes.transform_keys(&:to_sym)
164
165
  self.class.openapi_types.each_pair do |key, type|
165
166
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
166
167
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.10
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -108,6 +108,7 @@ module OryClient
108
108
  # @return [Object] Returns the model itself
109
109
  def build_from_hash(attributes)
110
110
  return nil unless attributes.is_a?(Hash)
111
+ attributes = attributes.transform_keys(&:to_sym)
111
112
  self.class.openapi_types.each_pair do |key, type|
112
113
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
113
114
  self.send("#{key}=", nil)