ory-client 0.0.1.alpha169 → 0.0.1.alpha177

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +27 -5
  4. data/docs/AdminCreateIdentityBody.md +4 -0
  5. data/docs/AdminUpdateIdentityBody.md +4 -0
  6. data/docs/CnameSettings.md +4 -0
  7. data/docs/CreateCustomHostnameBody.md +4 -0
  8. data/docs/ExpandTree.md +24 -0
  9. data/docs/GenericError.md +1 -1
  10. data/docs/GetCheckResponse.md +18 -0
  11. data/docs/GetRelationTuplesResponse.md +20 -0
  12. data/docs/Identity.md +4 -0
  13. data/docs/InternalRelationTuple.md +26 -0
  14. data/docs/KetoNamespace.md +20 -0
  15. data/docs/MetadataApi.md +18 -3
  16. data/docs/NormalizedProject.md +1 -1
  17. data/docs/NormalizedProjectRevision.md +4 -0
  18. data/docs/PatchDelta.md +20 -0
  19. data/docs/Project.md +1 -1
  20. data/docs/ProjectMetadata.md +1 -1
  21. data/docs/ProjectServicePermission.md +18 -0
  22. data/docs/ProjectServices.md +4 -2
  23. data/docs/ReadApi.md +333 -0
  24. data/docs/RelationQuery.md +26 -0
  25. data/docs/SelfServiceRecoveryFlow.md +1 -1
  26. data/docs/SelfServiceRegistrationFlow.md +1 -1
  27. data/docs/SelfServiceSettingsFlow.md +1 -1
  28. data/docs/SubjectSet.md +22 -0
  29. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +1 -1
  30. data/docs/Subscription.md +1 -1
  31. data/docs/UiNode.md +2 -2
  32. data/docs/UiNodeAnchorAttributes.md +1 -1
  33. data/docs/UiNodeAttributes.md +2 -2
  34. data/docs/UiNodeImageAttributes.md +1 -1
  35. data/docs/UiNodeInputAttributes.md +1 -1
  36. data/docs/UiNodeScriptAttributes.md +1 -1
  37. data/docs/UiNodeTextAttributes.md +1 -1
  38. data/docs/UpdateCustomHostnameBody.md +4 -0
  39. data/docs/V0alpha2Api.md +5 -3
  40. data/docs/WriteApi.md +233 -0
  41. data/lib/ory-client/api/metadata_api.rb +4 -4
  42. data/lib/ory-client/api/read_api.rb +335 -0
  43. data/lib/ory-client/api/v0alpha2_api.rb +8 -5
  44. data/lib/ory-client/api/write_api.rb +228 -0
  45. data/lib/ory-client/api_client.rb +1 -1
  46. data/lib/ory-client/api_error.rb +1 -1
  47. data/lib/ory-client/configuration.rb +1 -1
  48. data/lib/ory-client/models/active_project.rb +1 -1
  49. data/lib/ory-client/models/admin_create_identity_body.rb +24 -2
  50. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
  51. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
  52. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
  53. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
  54. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
  55. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  56. data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
  57. data/lib/ory-client/models/admin_update_identity_body.rb +24 -2
  58. data/lib/ory-client/models/api_token.rb +1 -1
  59. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  60. data/lib/ory-client/models/cloud_account.rb +1 -1
  61. data/lib/ory-client/models/cname_settings.rb +22 -2
  62. data/lib/ory-client/models/create_custom_hostname_body.rb +24 -2
  63. data/lib/ory-client/models/create_project_body.rb +1 -1
  64. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  65. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  66. data/lib/ory-client/models/expand_tree.rb +286 -0
  67. data/lib/ory-client/models/generic_error.rb +5 -3
  68. data/lib/ory-client/models/generic_error_content.rb +1 -1
  69. data/lib/ory-client/models/get_check_response.rb +225 -0
  70. data/lib/ory-client/models/get_relation_tuples_response.rb +230 -0
  71. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  72. data/lib/ory-client/models/health_status.rb +1 -1
  73. data/lib/ory-client/models/identity.rb +22 -2
  74. data/lib/ory-client/models/identity_credentials.rb +1 -1
  75. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  76. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  77. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  78. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  79. data/lib/ory-client/models/identity_schema.rb +1 -1
  80. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  81. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  82. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  83. data/lib/ory-client/models/identity_state.rb +1 -1
  84. data/lib/ory-client/models/inline_response200.rb +1 -1
  85. data/lib/ory-client/models/inline_response2001.rb +1 -1
  86. data/lib/ory-client/models/inline_response503.rb +1 -1
  87. data/lib/ory-client/models/internal_relation_tuple.rb +273 -0
  88. data/lib/ory-client/models/invite_payload.rb +1 -1
  89. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  90. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  91. data/lib/ory-client/models/json_error.rb +1 -1
  92. data/lib/ory-client/models/json_patch.rb +1 -1
  93. data/lib/ory-client/models/keto_namespace.rb +227 -0
  94. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  95. data/lib/ory-client/models/normalized_project.rb +3 -2
  96. data/lib/ory-client/models/normalized_project_revision.rb +23 -2
  97. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
  98. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +2 -1
  99. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +3 -1
  100. data/lib/ory-client/models/null_plan.rb +1 -1
  101. data/lib/ory-client/models/pagination.rb +1 -1
  102. data/lib/ory-client/models/patch_delta.rb +261 -0
  103. data/lib/ory-client/models/project.rb +2 -2
  104. data/lib/ory-client/models/project_host.rb +1 -1
  105. data/lib/ory-client/models/project_invite.rb +2 -1
  106. data/lib/ory-client/models/project_metadata.rb +3 -2
  107. data/lib/ory-client/models/project_service_identity.rb +1 -1
  108. data/lib/ory-client/models/project_service_permission.rb +223 -0
  109. data/lib/ory-client/models/project_services.rb +14 -10
  110. data/lib/ory-client/models/provision_mock_subscription_payload.rb +1 -1
  111. data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
  112. data/lib/ory-client/models/recovery_address.rb +1 -1
  113. data/lib/ory-client/models/relation_query.rb +258 -0
  114. data/lib/ory-client/models/revoked_sessions.rb +1 -1
  115. data/lib/ory-client/models/schema_patch.rb +1 -1
  116. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  117. data/lib/ory-client/models/self_service_error.rb +1 -1
  118. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  119. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  120. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  121. data/lib/ory-client/models/self_service_recovery_flow.rb +6 -1
  122. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  123. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  124. data/lib/ory-client/models/self_service_registration_flow.rb +6 -1
  125. data/lib/ory-client/models/self_service_settings_flow.rb +6 -1
  126. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  127. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  128. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  129. data/lib/ory-client/models/session.rb +1 -1
  130. data/lib/ory-client/models/session_authentication_method.rb +3 -3
  131. data/lib/ory-client/models/session_device.rb +1 -1
  132. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  133. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  134. data/lib/ory-client/models/subject_set.rb +254 -0
  135. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
  136. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  137. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  138. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  139. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -6
  140. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  141. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  142. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  143. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  144. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  145. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  146. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  147. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  148. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
  149. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  150. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  151. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  152. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  153. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  154. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  155. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  156. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  157. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  158. data/lib/ory-client/models/subscription.rb +3 -2
  159. data/lib/ory-client/models/successful_project_update.rb +1 -1
  160. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  161. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  162. data/lib/ory-client/models/ui_container.rb +1 -1
  163. data/lib/ory-client/models/ui_node.rb +49 -1
  164. data/lib/ory-client/models/ui_node_anchor_attributes.rb +2 -1
  165. data/lib/ory-client/models/ui_node_attributes.rb +3 -3
  166. data/lib/ory-client/models/ui_node_image_attributes.rb +2 -1
  167. data/lib/ory-client/models/ui_node_input_attributes.rb +2 -1
  168. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  169. data/lib/ory-client/models/ui_node_script_attributes.rb +2 -1
  170. data/lib/ory-client/models/ui_node_text_attributes.rb +2 -1
  171. data/lib/ory-client/models/ui_text.rb +1 -1
  172. data/lib/ory-client/models/update_custom_hostname_body.rb +24 -2
  173. data/lib/ory-client/models/update_project.rb +1 -1
  174. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  175. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  176. data/lib/ory-client/models/version.rb +1 -1
  177. data/lib/ory-client/models/warning.rb +1 -1
  178. data/lib/ory-client/version.rb +2 -2
  179. data/lib/ory-client.rb +12 -1
  180. data/ory-client.gemspec +1 -1
  181. data/spec/api/metadata_api_spec.rb +1 -1
  182. data/spec/api/read_api_spec.rb +102 -0
  183. data/spec/api/v0alpha2_api_spec.rb +4 -3
  184. data/spec/api/write_api_spec.rb +77 -0
  185. data/spec/api_client_spec.rb +1 -1
  186. data/spec/configuration_spec.rb +1 -1
  187. data/spec/models/active_project_spec.rb +1 -1
  188. data/spec/models/admin_create_identity_body_spec.rb +13 -1
  189. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
  190. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
  191. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
  192. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
  193. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
  194. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  195. data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
  196. data/spec/models/admin_update_identity_body_spec.rb +13 -1
  197. data/spec/models/api_token_spec.rb +1 -1
  198. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  199. data/spec/models/cloud_account_spec.rb +1 -1
  200. data/spec/models/cname_settings_spec.rb +13 -1
  201. data/spec/models/create_custom_hostname_body_spec.rb +13 -1
  202. data/spec/models/create_project_body_spec.rb +1 -1
  203. data/spec/models/create_subscription_payload_spec.rb +1 -1
  204. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  205. data/spec/models/expand_tree_spec.rb +56 -0
  206. data/spec/models/generic_error_content_spec.rb +1 -1
  207. data/spec/models/generic_error_spec.rb +1 -1
  208. data/spec/models/get_check_response_spec.rb +34 -0
  209. data/spec/models/get_relation_tuples_response_spec.rb +40 -0
  210. data/spec/models/health_not_ready_status_spec.rb +1 -1
  211. data/spec/models/health_status_spec.rb +1 -1
  212. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  213. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  214. data/spec/models/identity_credentials_password_spec.rb +1 -1
  215. data/spec/models/identity_credentials_spec.rb +1 -1
  216. data/spec/models/identity_credentials_type_spec.rb +1 -1
  217. data/spec/models/identity_schema_location_spec.rb +1 -1
  218. data/spec/models/identity_schema_preset_spec.rb +1 -1
  219. data/spec/models/identity_schema_spec.rb +1 -1
  220. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  221. data/spec/models/identity_spec.rb +13 -1
  222. data/spec/models/identity_state_spec.rb +1 -1
  223. data/spec/models/inline_response2001_spec.rb +1 -1
  224. data/spec/models/inline_response200_spec.rb +1 -1
  225. data/spec/models/inline_response503_spec.rb +1 -1
  226. data/spec/models/internal_relation_tuple_spec.rb +58 -0
  227. data/spec/models/invite_payload_spec.rb +1 -1
  228. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  229. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  230. data/spec/models/json_error_spec.rb +1 -1
  231. data/spec/models/json_patch_spec.rb +1 -1
  232. data/spec/models/keto_namespace_spec.rb +40 -0
  233. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  234. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  235. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  236. data/spec/models/normalized_project_revision_spec.rb +13 -1
  237. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  238. data/spec/models/normalized_project_spec.rb +1 -1
  239. data/spec/models/null_plan_spec.rb +1 -1
  240. data/spec/models/pagination_spec.rb +1 -1
  241. data/spec/models/patch_delta_spec.rb +44 -0
  242. data/spec/models/project_host_spec.rb +1 -1
  243. data/spec/models/project_invite_spec.rb +1 -1
  244. data/spec/models/project_metadata_spec.rb +1 -1
  245. data/spec/models/project_service_identity_spec.rb +1 -1
  246. data/spec/models/project_service_permission_spec.rb +34 -0
  247. data/spec/models/project_services_spec.rb +7 -1
  248. data/spec/models/project_spec.rb +1 -1
  249. data/spec/models/provision_mock_subscription_payload_spec.rb +1 -1
  250. data/spec/models/quota_project_member_seats_spec.rb +1 -1
  251. data/spec/models/recovery_address_spec.rb +1 -1
  252. data/spec/models/relation_query_spec.rb +58 -0
  253. data/spec/models/revoked_sessions_spec.rb +1 -1
  254. data/spec/models/schema_patch_spec.rb +1 -1
  255. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  256. data/spec/models/self_service_error_spec.rb +1 -1
  257. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  258. data/spec/models/self_service_login_flow_spec.rb +1 -1
  259. data/spec/models/self_service_logout_url_spec.rb +1 -1
  260. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  261. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  262. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  263. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  264. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  265. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  266. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  267. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  268. data/spec/models/session_authentication_method_spec.rb +2 -2
  269. data/spec/models/session_device_spec.rb +1 -1
  270. data/spec/models/session_spec.rb +1 -1
  271. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  272. data/spec/models/stripe_customer_response_spec.rb +1 -1
  273. data/spec/models/subject_set_spec.rb +46 -0
  274. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
  275. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  276. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  277. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  278. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  279. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  280. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  281. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  282. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  283. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  284. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  285. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  286. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  287. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
  288. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  289. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  290. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  291. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  292. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  293. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  294. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  295. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  296. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  297. data/spec/models/subscription_spec.rb +1 -1
  298. data/spec/models/successful_project_update_spec.rb +1 -1
  299. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  300. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  301. data/spec/models/ui_container_spec.rb +1 -1
  302. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  303. data/spec/models/ui_node_attributes_spec.rb +1 -1
  304. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  305. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  306. data/spec/models/ui_node_meta_spec.rb +1 -1
  307. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  308. data/spec/models/ui_node_spec.rb +9 -1
  309. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  310. data/spec/models/ui_text_spec.rb +1 -1
  311. data/spec/models/update_custom_hostname_body_spec.rb +13 -1
  312. data/spec/models/update_project_spec.rb +1 -1
  313. data/spec/models/update_subscription_payload_spec.rb +1 -1
  314. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  315. data/spec/models/version_spec.rb +1 -1
  316. data/spec/models/warning_spec.rb +1 -1
  317. data/spec/spec_helper.rb +1 -1
  318. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.4.gem +0 -0
  319. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
  320. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  321. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  322. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  323. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.4}/gem.build_complete +0 -0
  324. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.4}/gem_make.out +6 -6
  325. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.4}/mkmf.log +0 -0
  326. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.4}/psych.so +0 -0
  327. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/gem.build_complete +0 -0
  328. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/gem_make.out +6 -6
  329. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/mkmf.log +2 -2
  330. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/stringio.so +0 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  332. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  333. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  334. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/.gitignore +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/Gemfile +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/LICENSE +0 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/Mavenfile +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/README.md +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/Rakefile +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/bin/console +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/bin/setup +0 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/.sitearchdir.time +0 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/Makefile +2 -2
  344. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/api.o +0 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/depend +0 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/dumper.o +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/emitter.o +0 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/extconf.rb +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/loader.o +0 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/parser.o +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych.c +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych.h +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych.o +0 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3/lib → psych-4.0.4/ext/psych}/psych.so +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_emitter.c +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_emitter.h +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_emitter.o +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_parser.c +0 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_parser.h +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_parser.o +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_to_ruby.c +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_to_ruby.h +0 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_to_ruby.o +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_yaml_tree.c +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_yaml_tree.h +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_yaml_tree.o +0 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/reader.o +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/scanner.o +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/writer.o +0 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/LICENSE +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/api.c +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/config.h +0 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/dumper.c +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/emitter.c +0 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/loader.c +0 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/parser.c +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/reader.c +0 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/scanner.c +0 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/writer.c +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/yaml.h +0 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/yaml_private.h +0 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/class_loader.rb +0 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/coder.rb +0 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/core_ext.rb +0 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/exception.rb +0 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/handler.rb +0 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/handlers/document_stream.rb +0 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/handlers/recorder.rb +0 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/ruby_events.rb +0 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/stream.rb +0 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/tree_builder.rb +0 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/yaml_events.rb +0 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/alias.rb +0 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/document.rb +0 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/mapping.rb +0 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/node.rb +2 -2
  397. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/scalar.rb +0 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/sequence.rb +0 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/stream.rb +0 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes.rb +0 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/omap.rb +0 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/parser.rb +0 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/scalar_scanner.rb +17 -10
  404. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/set.rb +0 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/stream.rb +0 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/streaming.rb +0 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/syntax_error.rb +0 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/tree_builder.rb +0 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/versions.rb +1 -1
  410. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/depth_first.rb +0 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/emitter.rb +0 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/json_tree.rb +0 -0
  413. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/to_ruby.rb +2 -2
  414. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/visitor.rb +0 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/yaml_tree.rb +0 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors.rb +0 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/y.rb +0 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych.rb +7 -7
  419. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3/ext/psych → psych-4.0.4/lib}/psych.so +0 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/psych.gemspec +0 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/README.md +0 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/.sitearchdir.time +0 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/Makefile +2 -2
  424. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/extconf.rb +0 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.c +1 -1
  426. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.o +0 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1/lib → stringio-3.0.2/ext/stringio}/stringio.so +0 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1/ext/stringio → stringio-3.0.2/lib}/stringio.so +0 -0
  429. data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.3.gemspec → psych-4.0.4.gemspec} +3 -3
  430. data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.1.gemspec → stringio-3.0.2.gemspec} +5 -5
  431. metadata +154 -110
  432. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.3.gem +0 -0
  433. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.1.gem +0 -0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -0,0 +1,258 @@
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.0.1-alpha.177
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OryClient
17
+ class RelationQuery
18
+ # Namespace of the Relation Tuple
19
+ attr_accessor :namespace
20
+
21
+ # Object of the Relation Tuple
22
+ attr_accessor :object
23
+
24
+ # Relation of the Relation Tuple
25
+ attr_accessor :relation
26
+
27
+ # SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided.
28
+ attr_accessor :subject_id
29
+
30
+ attr_accessor :subject_set
31
+
32
+ # Attribute mapping from ruby-style variable name to JSON key.
33
+ def self.attribute_map
34
+ {
35
+ :'namespace' => :'namespace',
36
+ :'object' => :'object',
37
+ :'relation' => :'relation',
38
+ :'subject_id' => :'subject_id',
39
+ :'subject_set' => :'subject_set'
40
+ }
41
+ end
42
+
43
+ # Returns all the JSON keys this model knows about
44
+ def self.acceptable_attributes
45
+ attribute_map.values
46
+ end
47
+
48
+ # Attribute type mapping.
49
+ def self.openapi_types
50
+ {
51
+ :'namespace' => :'String',
52
+ :'object' => :'String',
53
+ :'relation' => :'String',
54
+ :'subject_id' => :'String',
55
+ :'subject_set' => :'SubjectSet'
56
+ }
57
+ end
58
+
59
+ # List of attributes with nullable: true
60
+ def self.openapi_nullable
61
+ Set.new([
62
+ ])
63
+ end
64
+
65
+ # Initializes the object
66
+ # @param [Hash] attributes Model attributes in the form of hash
67
+ def initialize(attributes = {})
68
+ if (!attributes.is_a?(Hash))
69
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::RelationQuery` initialize method"
70
+ end
71
+
72
+ # check to see if the attribute exists and convert string to symbol for hash key
73
+ attributes = attributes.each_with_object({}) { |(k, v), h|
74
+ if (!self.class.attribute_map.key?(k.to_sym))
75
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::RelationQuery`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
76
+ end
77
+ h[k.to_sym] = v
78
+ }
79
+
80
+ if attributes.key?(:'namespace')
81
+ self.namespace = attributes[:'namespace']
82
+ end
83
+
84
+ if attributes.key?(:'object')
85
+ self.object = attributes[:'object']
86
+ end
87
+
88
+ if attributes.key?(:'relation')
89
+ self.relation = attributes[:'relation']
90
+ end
91
+
92
+ if attributes.key?(:'subject_id')
93
+ self.subject_id = attributes[:'subject_id']
94
+ end
95
+
96
+ if attributes.key?(:'subject_set')
97
+ self.subject_set = attributes[:'subject_set']
98
+ end
99
+ end
100
+
101
+ # Show invalid properties with the reasons. Usually used together with valid?
102
+ # @return Array for valid properties with the reasons
103
+ def list_invalid_properties
104
+ invalid_properties = Array.new
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ true
112
+ end
113
+
114
+ # Checks equality by comparing each attribute.
115
+ # @param [Object] Object to be compared
116
+ def ==(o)
117
+ return true if self.equal?(o)
118
+ self.class == o.class &&
119
+ namespace == o.namespace &&
120
+ object == o.object &&
121
+ relation == o.relation &&
122
+ subject_id == o.subject_id &&
123
+ subject_set == o.subject_set
124
+ end
125
+
126
+ # @see the `==` method
127
+ # @param [Object] Object to be compared
128
+ def eql?(o)
129
+ self == o
130
+ end
131
+
132
+ # Calculates hash code according to all attributes.
133
+ # @return [Integer] Hash code
134
+ def hash
135
+ [namespace, object, relation, subject_id, subject_set].hash
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def self.build_from_hash(attributes)
142
+ new.build_from_hash(attributes)
143
+ end
144
+
145
+ # Builds the object from hash
146
+ # @param [Hash] attributes Model attributes in the form of hash
147
+ # @return [Object] Returns the model itself
148
+ def build_from_hash(attributes)
149
+ return nil unless attributes.is_a?(Hash)
150
+ self.class.openapi_types.each_pair do |key, type|
151
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
152
+ self.send("#{key}=", nil)
153
+ elsif type =~ /\AArray<(.*)>/i
154
+ # check to ensure the input is an array given that the attribute
155
+ # is documented as an array but the input is not
156
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
157
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
158
+ end
159
+ elsif !attributes[self.class.attribute_map[key]].nil?
160
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
161
+ end
162
+ end
163
+
164
+ self
165
+ end
166
+
167
+ # Deserializes the data based on type
168
+ # @param string type Data type
169
+ # @param string value Value to be deserialized
170
+ # @return [Object] Deserialized data
171
+ def _deserialize(type, value)
172
+ case type.to_sym
173
+ when :Time
174
+ Time.parse(value)
175
+ when :Date
176
+ Date.parse(value)
177
+ when :String
178
+ value.to_s
179
+ when :Integer
180
+ value.to_i
181
+ when :Float
182
+ value.to_f
183
+ when :Boolean
184
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
185
+ true
186
+ else
187
+ false
188
+ end
189
+ when :Object
190
+ # generic object (usually a Hash), return directly
191
+ value
192
+ when /\AArray<(?<inner_type>.+)>\z/
193
+ inner_type = Regexp.last_match[:inner_type]
194
+ value.map { |v| _deserialize(inner_type, v) }
195
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
196
+ k_type = Regexp.last_match[:k_type]
197
+ v_type = Regexp.last_match[:v_type]
198
+ {}.tap do |hash|
199
+ value.each do |k, v|
200
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
201
+ end
202
+ end
203
+ else # model
204
+ # models (e.g. Pet) or oneOf
205
+ klass = OryClient.const_get(type)
206
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
207
+ end
208
+ end
209
+
210
+ # Returns the string representation of the object
211
+ # @return [String] String presentation of the object
212
+ def to_s
213
+ to_hash.to_s
214
+ end
215
+
216
+ # to_body is an alias to to_hash (backward compatibility)
217
+ # @return [Hash] Returns the object in the form of hash
218
+ def to_body
219
+ to_hash
220
+ end
221
+
222
+ # Returns the object in the form of hash
223
+ # @return [Hash] Returns the object in the form of hash
224
+ def to_hash
225
+ hash = {}
226
+ self.class.attribute_map.each_pair do |attr, param|
227
+ value = self.send(attr)
228
+ if value.nil?
229
+ is_nullable = self.class.openapi_nullable.include?(attr)
230
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
231
+ end
232
+
233
+ hash[param] = _to_hash(value)
234
+ end
235
+ hash
236
+ end
237
+
238
+ # Outputs non-array value in the form of hash
239
+ # For object, use to_hash. Otherwise, just return the value
240
+ # @param [Object] value Any valid value
241
+ # @return [Hash] Returns the value in the form of hash
242
+ def _to_hash(value)
243
+ if value.is_a?(Array)
244
+ value.compact.map { |v| _to_hash(v) }
245
+ elsif value.is_a?(Hash)
246
+ {}.tap do |hash|
247
+ value.each { |k, v| hash[k] = _to_hash(v) }
248
+ end
249
+ elsif value.respond_to? :to_hash
250
+ value.to_hash
251
+ else
252
+ value
253
+ end
254
+ end
255
+
256
+ end
257
+
258
+ end
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -157,6 +157,10 @@ module OryClient
157
157
  invalid_properties.push('invalid value for "state", state cannot be nil.')
158
158
  end
159
159
 
160
+ if @type.nil?
161
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
162
+ end
163
+
160
164
  if @ui.nil?
161
165
  invalid_properties.push('invalid value for "ui", ui cannot be nil.')
162
166
  end
@@ -172,6 +176,7 @@ module OryClient
172
176
  return false if @issued_at.nil?
173
177
  return false if @request_url.nil?
174
178
  return false if @state.nil?
179
+ return false if @type.nil?
175
180
  return false if @ui.nil?
176
181
  true
177
182
  end
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -143,6 +143,10 @@ module OryClient
143
143
  invalid_properties.push('invalid value for "request_url", request_url cannot be nil.')
144
144
  end
145
145
 
146
+ if @type.nil?
147
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
148
+ end
149
+
146
150
  if @ui.nil?
147
151
  invalid_properties.push('invalid value for "ui", ui cannot be nil.')
148
152
  end
@@ -157,6 +161,7 @@ module OryClient
157
161
  return false if @id.nil?
158
162
  return false if @issued_at.nil?
159
163
  return false if @request_url.nil?
164
+ return false if @type.nil?
160
165
  return false if @ui.nil?
161
166
  true
162
167
  end
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -169,6 +169,10 @@ module OryClient
169
169
  invalid_properties.push('invalid value for "state", state cannot be nil.')
170
170
  end
171
171
 
172
+ if @type.nil?
173
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
174
+ end
175
+
172
176
  if @ui.nil?
173
177
  invalid_properties.push('invalid value for "ui", ui cannot be nil.')
174
178
  end
@@ -185,6 +189,7 @@ module OryClient
185
189
  return false if @issued_at.nil?
186
190
  return false if @request_url.nil?
187
191
  return false if @state.nil?
192
+ return false if @type.nil?
188
193
  return false if @ui.nil?
189
194
  true
190
195
  end
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -112,7 +112,7 @@ module OryClient
112
112
  # Check to see if the all the properties in the model are valid
113
113
  # @return true if the model is valid
114
114
  def valid?
115
- method_validator = EnumAttributeValidator.new('String', ["link_recovery", "password", "totp", "oidc", "webauthn", "lookup_secret"])
115
+ method_validator = EnumAttributeValidator.new('String', ["link_recovery", "password", "totp", "oidc", "webauthn", "lookup_secret", "v0.6_legacy_session"])
116
116
  return false unless method_validator.valid?(@method)
117
117
  true
118
118
  end
@@ -120,7 +120,7 @@ module OryClient
120
120
  # Custom attribute writer method checking allowed values (enum).
121
121
  # @param [Object] method Object to be assigned
122
122
  def method=(method)
123
- validator = EnumAttributeValidator.new('String', ["link_recovery", "password", "totp", "oidc", "webauthn", "lookup_secret"])
123
+ validator = EnumAttributeValidator.new('String', ["link_recovery", "password", "totp", "oidc", "webauthn", "lookup_secret", "v0.6_legacy_session"])
124
124
  unless validator.valid?(method)
125
125
  fail ArgumentError, "invalid value for \"method\", must be one of #{validator.allowable_values}."
126
126
  end
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
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.0.1-alpha.169
6
+ The version of the OpenAPI document: v0.0.1-alpha.177
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0