ory-keto-client 0.8.0.alpha2 → 0.9.0.alpha0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/LICENSE +201 -0
- data/README.md +17 -15
- data/docs/ExpandTree.md +3 -3
- data/docs/GetRelationTuplesResponse.md +1 -1
- data/docs/{InlineResponse2001.md → GetVersion200Response.md} +2 -2
- data/docs/{InlineResponse200.md → IsAlive200Response.md} +2 -2
- data/docs/{InlineResponse503.md → IsReady503Response.md} +2 -2
- data/docs/MetadataApi.md +12 -12
- data/docs/PatchDelta.md +1 -1
- data/docs/ReadApi.md +127 -3
- data/docs/RelationQuery.md +4 -4
- data/docs/{InternalRelationTuple.md → RelationTuple.md} +3 -3
- data/docs/WriteApi.md +3 -3
- data/lib/ory-keto-client/api/metadata_api.rb +11 -11
- data/lib/ory-keto-client/api/read_api.rb +119 -5
- data/lib/ory-keto-client/api/write_api.rb +5 -5
- data/lib/ory-keto-client/api_client.rb +5 -3
- data/lib/ory-keto-client/api_error.rb +2 -2
- data/lib/ory-keto-client/configuration.rb +4 -3
- data/lib/ory-keto-client/models/expand_tree.rb +8 -4
- data/lib/ory-keto-client/models/generic_error.rb +3 -2
- data/lib/ory-keto-client/models/get_check_response.rb +3 -2
- data/lib/ory-keto-client/models/get_relation_tuples_response.rb +4 -3
- data/lib/ory-keto-client/models/{inline_response2001.rb → get_version200_response.rb} +6 -5
- data/lib/ory-keto-client/models/health_not_ready_status.rb +3 -2
- data/lib/ory-keto-client/models/health_status.rb +3 -2
- data/lib/ory-keto-client/models/{inline_response200.rb → is_alive200_response.rb} +6 -5
- data/lib/ory-keto-client/models/{inline_response503.rb → is_ready503_response.rb} +6 -5
- data/lib/ory-keto-client/models/patch_delta.rb +4 -3
- data/lib/ory-keto-client/models/relation_query.rb +7 -6
- data/lib/ory-keto-client/models/{internal_relation_tuple.rb → relation_tuple.rb} +7 -6
- data/lib/ory-keto-client/models/subject_set.rb +3 -2
- data/lib/ory-keto-client/models/version.rb +3 -2
- data/lib/ory-keto-client/version.rb +3 -3
- data/lib/ory-keto-client.rb +6 -6
- data/ory-keto-client.gemspec +2 -2
- data/spec/api/metadata_api_spec.rb +5 -5
- data/spec/api/read_api_spec.rb +24 -2
- data/spec/api/write_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/expand_tree_spec.rb +3 -3
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/get_check_response_spec.rb +2 -2
- data/spec/models/get_relation_tuples_response_spec.rb +2 -2
- data/spec/models/{inline_response2001_spec.rb → get_version200_response_spec.rb} +8 -8
- data/spec/models/health_not_ready_status_spec.rb +2 -2
- data/spec/models/health_status_spec.rb +2 -2
- data/spec/models/{inline_response200_spec.rb → is_alive200_response_spec.rb} +8 -8
- data/spec/models/{inline_response503_spec.rb → is_ready503_response_spec.rb} +8 -8
- data/spec/models/patch_delta_spec.rb +2 -2
- data/spec/models/relation_query_spec.rb +2 -2
- data/spec/models/{internal_relation_tuple_spec.rb → relation_tuple_spec.rb} +8 -8
- data/spec/models/subject_set_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.22.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/mkmf.log +10 -10
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.4}/mkmf.log +15 -15
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/mkmf.log +5 -5
- data/vendor/bundle/ruby/2.5.0/{gems/stringio-3.0.1/lib → extensions/x86_64-linux/2.5.0/stringio-3.0.2}/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/MIT-LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel/processor_count.rb +2 -3
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.1/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel.rb +84 -4
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/gauntlet_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/all.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ast/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ast/processor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/base.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/builders/default.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/clobbering_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/color.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/current.rb +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/current_arg_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/deprecation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/diagnostic/engine.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/diagnostic.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/lexer/dedenter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/lexer/explanation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/lexer/literal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/lexer/stack_state.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/lexer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/macruby.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/max_numparam_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/meta.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby18.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby19.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby20.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby21.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby22.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby23.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby24.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby25.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby26.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby27.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby28.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby30.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby31.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/ruby32.rb +8 -4
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/rubymotion.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/runner/ruby_parse.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/buffer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/comment/associator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/comment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/collection.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/condition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/constant.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/for.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/heredoc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/index.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/keyword.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/method_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/operator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/rescue_body.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/send.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/ternary.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map/variable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/range.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/source/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/static_environment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/variables_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/lib/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.0}/parser.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/Mavenfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/bin/console +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/bin/setup +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/Makefile +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/depend +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3/lib → psych-4.0.4/ext/psych}/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_emitter.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_parser.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_to_ruby.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_to_ruby.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_yaml_tree.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_yaml_tree.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/api.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/config.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/dumper.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/loader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/reader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/scanner.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/writer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/yaml.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/ext/psych/yaml/yaml_private.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/class_loader.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/coder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/core_ext.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/exception.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/handlers/document_stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/handlers/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/ruby_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/json/yaml_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/alias.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/document.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/mapping.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/node.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/scalar.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/sequence.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/nodes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/omap.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/scalar_scanner.rb +17 -10
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/streaming.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/versions.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/depth_first.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/emitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/json_tree.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/to_ruby.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/visitor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors/yaml_tree.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/visitors.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych/y.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/lib/psych.rb +7 -7
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3/ext/psych → psych-4.0.4/lib}/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.4}/psych.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/Changelog.md +10 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_expectation.rb +13 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_double.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/proxy.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/Makefile +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.c +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/2.5.0/{extensions/x86_64-linux/2.5.0/stringio-3.0.1 → gems/stringio-3.0.2/ext/stringio}/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1/ext/stringio → stringio-3.0.2/lib}/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.21.0.gemspec → parallel-1.22.1.gemspec} +4 -4
- data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.1.0.gemspec → parser-3.1.2.0.gemspec} +4 -4
- data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.3.gemspec → psych-4.0.4.gemspec} +3 -3
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.1.gemspec → stringio-3.0.2.gemspec} +5 -5
- metadata +258 -257
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.21.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/version.rb +0 -4
data/docs/RelationQuery.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **namespace** | **String** | Namespace
|
8
|
-
| **object** | **String** | Object
|
9
|
-
| **relation** | **String** | Relation
|
10
|
-
| **subject_id** | **String** | SubjectID
|
7
|
+
| **namespace** | **String** | Namespace to query | [optional] |
|
8
|
+
| **object** | **String** | Object to query | [optional] |
|
9
|
+
| **relation** | **String** | Relation to query | [optional] |
|
10
|
+
| **subject_id** | **String** | SubjectID to query Either SubjectSet or SubjectID can be provided. | [optional] |
|
11
11
|
| **subject_set** | [**SubjectSet**](SubjectSet.md) | | [optional] |
|
12
12
|
|
13
13
|
## Example
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# OryKetoClient::
|
1
|
+
# OryKetoClient::RelationTuple
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
| **namespace** | **String** | Namespace of the Relation Tuple | |
|
8
8
|
| **object** | **String** | Object of the Relation Tuple | |
|
9
9
|
| **relation** | **String** | Relation of the Relation Tuple | |
|
10
|
-
| **subject_id** | **String** | SubjectID of the Relation Tuple Either SubjectSet or SubjectID
|
10
|
+
| **subject_id** | **String** | SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided. | [optional] |
|
11
11
|
| **subject_set** | [**SubjectSet**](SubjectSet.md) | | [optional] |
|
12
12
|
|
13
13
|
## Example
|
@@ -15,7 +15,7 @@
|
|
15
15
|
```ruby
|
16
16
|
require 'ory-keto-client'
|
17
17
|
|
18
|
-
instance = OryKetoClient::
|
18
|
+
instance = OryKetoClient::RelationTuple.new(
|
19
19
|
namespace: null,
|
20
20
|
object: null,
|
21
21
|
relation: null,
|
data/docs/WriteApi.md
CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *http://localhost*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**create_relation_tuple**](WriteApi.md#create_relation_tuple) | **PUT** /relation-tuples | Create a Relation Tuple |
|
8
|
-
| [**delete_relation_tuples**](WriteApi.md#delete_relation_tuples) | **DELETE** /relation-tuples | Delete Relation Tuples |
|
9
|
-
| [**patch_relation_tuples**](WriteApi.md#patch_relation_tuples) | **PATCH** /relation-tuples | Patch Multiple Relation Tuples |
|
7
|
+
| [**create_relation_tuple**](WriteApi.md#create_relation_tuple) | **PUT** /admin/relation-tuples | Create a Relation Tuple |
|
8
|
+
| [**delete_relation_tuples**](WriteApi.md#delete_relation_tuples) | **DELETE** /admin/relation-tuples | Delete Relation Tuples |
|
9
|
+
| [**patch_relation_tuples**](WriteApi.md#patch_relation_tuples) | **PATCH** /admin/relation-tuples | Patch Multiple Relation Tuples |
|
10
10
|
|
11
11
|
|
12
12
|
## create_relation_tuple
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,7 +22,7 @@ module OryKetoClient
|
|
22
22
|
# Return Running Software Version.
|
23
23
|
# This endpoint returns the version of Ory Keto. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @return [
|
25
|
+
# @return [GetVersion200Response]
|
26
26
|
def get_version(opts = {})
|
27
27
|
data, _status_code, _headers = get_version_with_http_info(opts)
|
28
28
|
data
|
@@ -31,7 +31,7 @@ module OryKetoClient
|
|
31
31
|
# Return Running Software Version.
|
32
32
|
# This endpoint returns the version of Ory Keto. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
|
-
# @return [Array<(
|
34
|
+
# @return [Array<(GetVersion200Response, Integer, Hash)>] GetVersion200Response data, response status code and response headers
|
35
35
|
def get_version_with_http_info(opts = {})
|
36
36
|
if @api_client.config.debugging
|
37
37
|
@api_client.config.logger.debug 'Calling API: MetadataApi.get_version ...'
|
@@ -54,7 +54,7 @@ module OryKetoClient
|
|
54
54
|
post_body = opts[:debug_body]
|
55
55
|
|
56
56
|
# return_type
|
57
|
-
return_type = opts[:debug_return_type] || '
|
57
|
+
return_type = opts[:debug_return_type] || 'GetVersion200Response'
|
58
58
|
|
59
59
|
# auth_names
|
60
60
|
auth_names = opts[:debug_auth_names] || []
|
@@ -79,7 +79,7 @@ module OryKetoClient
|
|
79
79
|
# Check HTTP Server Status
|
80
80
|
# This endpoint returns a HTTP 200 status code when Ory Keto is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
|
-
# @return [
|
82
|
+
# @return [IsAlive200Response]
|
83
83
|
def is_alive(opts = {})
|
84
84
|
data, _status_code, _headers = is_alive_with_http_info(opts)
|
85
85
|
data
|
@@ -88,7 +88,7 @@ module OryKetoClient
|
|
88
88
|
# Check HTTP Server Status
|
89
89
|
# This endpoint returns a HTTP 200 status code when Ory Keto is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
|
90
90
|
# @param [Hash] opts the optional parameters
|
91
|
-
# @return [Array<(
|
91
|
+
# @return [Array<(IsAlive200Response, Integer, Hash)>] IsAlive200Response data, response status code and response headers
|
92
92
|
def is_alive_with_http_info(opts = {})
|
93
93
|
if @api_client.config.debugging
|
94
94
|
@api_client.config.logger.debug 'Calling API: MetadataApi.is_alive ...'
|
@@ -111,7 +111,7 @@ module OryKetoClient
|
|
111
111
|
post_body = opts[:debug_body]
|
112
112
|
|
113
113
|
# return_type
|
114
|
-
return_type = opts[:debug_return_type] || '
|
114
|
+
return_type = opts[:debug_return_type] || 'IsAlive200Response'
|
115
115
|
|
116
116
|
# auth_names
|
117
117
|
auth_names = opts[:debug_auth_names] || []
|
@@ -136,7 +136,7 @@ module OryKetoClient
|
|
136
136
|
# Check HTTP Server and Database Status
|
137
137
|
# This endpoint returns a HTTP 200 status code when Ory Keto is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of Ory Keto, the health status will never refer to the cluster state, only to a single instance.
|
138
138
|
# @param [Hash] opts the optional parameters
|
139
|
-
# @return [
|
139
|
+
# @return [IsAlive200Response]
|
140
140
|
def is_ready(opts = {})
|
141
141
|
data, _status_code, _headers = is_ready_with_http_info(opts)
|
142
142
|
data
|
@@ -145,7 +145,7 @@ module OryKetoClient
|
|
145
145
|
# Check HTTP Server and Database Status
|
146
146
|
# This endpoint returns a HTTP 200 status code when Ory Keto is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of Ory Keto, the health status will never refer to the cluster state, only to a single instance.
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
|
-
# @return [Array<(
|
148
|
+
# @return [Array<(IsAlive200Response, Integer, Hash)>] IsAlive200Response data, response status code and response headers
|
149
149
|
def is_ready_with_http_info(opts = {})
|
150
150
|
if @api_client.config.debugging
|
151
151
|
@api_client.config.logger.debug 'Calling API: MetadataApi.is_ready ...'
|
@@ -168,7 +168,7 @@ module OryKetoClient
|
|
168
168
|
post_body = opts[:debug_body]
|
169
169
|
|
170
170
|
# return_type
|
171
|
-
return_type = opts[:debug_return_type] || '
|
171
|
+
return_type = opts[:debug_return_type] || 'IsAlive200Response'
|
172
172
|
|
173
173
|
# auth_names
|
174
174
|
auth_names = opts[:debug_auth_names] || []
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,7 +53,7 @@ module OryKetoClient
|
|
53
53
|
@api_client.config.logger.debug 'Calling API: ReadApi.get_check ...'
|
54
54
|
end
|
55
55
|
# resource path
|
56
|
-
local_var_path = '/check'
|
56
|
+
local_var_path = '/relation-tuples/check/openapi'
|
57
57
|
|
58
58
|
# query parameters
|
59
59
|
query_params = opts[:query_params] || {}
|
@@ -100,6 +100,63 @@ module OryKetoClient
|
|
100
100
|
return data, status_code, headers
|
101
101
|
end
|
102
102
|
|
103
|
+
# Check a relation tuple
|
104
|
+
# To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx).
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @return [GetCheckResponse]
|
107
|
+
def get_check_mirror_status(opts = {})
|
108
|
+
data, _status_code, _headers = get_check_mirror_status_with_http_info(opts)
|
109
|
+
data
|
110
|
+
end
|
111
|
+
|
112
|
+
# Check a relation tuple
|
113
|
+
# To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx).
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @return [Array<(GetCheckResponse, Integer, Hash)>] GetCheckResponse data, response status code and response headers
|
116
|
+
def get_check_mirror_status_with_http_info(opts = {})
|
117
|
+
if @api_client.config.debugging
|
118
|
+
@api_client.config.logger.debug 'Calling API: ReadApi.get_check_mirror_status ...'
|
119
|
+
end
|
120
|
+
# resource path
|
121
|
+
local_var_path = '/relation-tuples/check'
|
122
|
+
|
123
|
+
# query parameters
|
124
|
+
query_params = opts[:query_params] || {}
|
125
|
+
|
126
|
+
# header parameters
|
127
|
+
header_params = opts[:header_params] || {}
|
128
|
+
# HTTP header 'Accept' (if needed)
|
129
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
130
|
+
|
131
|
+
# form parameters
|
132
|
+
form_params = opts[:form_params] || {}
|
133
|
+
|
134
|
+
# http body (model)
|
135
|
+
post_body = opts[:debug_body]
|
136
|
+
|
137
|
+
# return_type
|
138
|
+
return_type = opts[:debug_return_type] || 'GetCheckResponse'
|
139
|
+
|
140
|
+
# auth_names
|
141
|
+
auth_names = opts[:debug_auth_names] || []
|
142
|
+
|
143
|
+
new_options = opts.merge(
|
144
|
+
:operation => :"ReadApi.get_check_mirror_status",
|
145
|
+
:header_params => header_params,
|
146
|
+
:query_params => query_params,
|
147
|
+
:form_params => form_params,
|
148
|
+
:body => post_body,
|
149
|
+
:auth_names => auth_names,
|
150
|
+
:return_type => return_type
|
151
|
+
)
|
152
|
+
|
153
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
154
|
+
if @api_client.config.debugging
|
155
|
+
@api_client.config.logger.debug "API called: ReadApi#get_check_mirror_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
156
|
+
end
|
157
|
+
return data, status_code, headers
|
158
|
+
end
|
159
|
+
|
103
160
|
# Expand a Relation Tuple
|
104
161
|
# Use this endpoint to expand a relation tuple.
|
105
162
|
# @param namespace [String] Namespace of the Subject Set
|
@@ -138,7 +195,7 @@ module OryKetoClient
|
|
138
195
|
fail ArgumentError, "Missing the required parameter 'relation' when calling ReadApi.get_expand"
|
139
196
|
end
|
140
197
|
# resource path
|
141
|
-
local_var_path = '/expand'
|
198
|
+
local_var_path = '/relation-tuples/expand'
|
142
199
|
|
143
200
|
# query parameters
|
144
201
|
query_params = opts[:query_params] || {}
|
@@ -287,7 +344,7 @@ module OryKetoClient
|
|
287
344
|
@api_client.config.logger.debug 'Calling API: ReadApi.post_check ...'
|
288
345
|
end
|
289
346
|
# resource path
|
290
|
-
local_var_path = '/check'
|
347
|
+
local_var_path = '/relation-tuples/check/openapi'
|
291
348
|
|
292
349
|
# query parameters
|
293
350
|
query_params = opts[:query_params] || {}
|
@@ -331,5 +388,62 @@ module OryKetoClient
|
|
331
388
|
end
|
332
389
|
return data, status_code, headers
|
333
390
|
end
|
391
|
+
|
392
|
+
# Check a relation tuple
|
393
|
+
# To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx).
|
394
|
+
# @param [Hash] opts the optional parameters
|
395
|
+
# @return [GetCheckResponse]
|
396
|
+
def post_check_mirror_status(opts = {})
|
397
|
+
data, _status_code, _headers = post_check_mirror_status_with_http_info(opts)
|
398
|
+
data
|
399
|
+
end
|
400
|
+
|
401
|
+
# Check a relation tuple
|
402
|
+
# To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx).
|
403
|
+
# @param [Hash] opts the optional parameters
|
404
|
+
# @return [Array<(GetCheckResponse, Integer, Hash)>] GetCheckResponse data, response status code and response headers
|
405
|
+
def post_check_mirror_status_with_http_info(opts = {})
|
406
|
+
if @api_client.config.debugging
|
407
|
+
@api_client.config.logger.debug 'Calling API: ReadApi.post_check_mirror_status ...'
|
408
|
+
end
|
409
|
+
# resource path
|
410
|
+
local_var_path = '/relation-tuples/check'
|
411
|
+
|
412
|
+
# query parameters
|
413
|
+
query_params = opts[:query_params] || {}
|
414
|
+
|
415
|
+
# header parameters
|
416
|
+
header_params = opts[:header_params] || {}
|
417
|
+
# HTTP header 'Accept' (if needed)
|
418
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
419
|
+
|
420
|
+
# form parameters
|
421
|
+
form_params = opts[:form_params] || {}
|
422
|
+
|
423
|
+
# http body (model)
|
424
|
+
post_body = opts[:debug_body]
|
425
|
+
|
426
|
+
# return_type
|
427
|
+
return_type = opts[:debug_return_type] || 'GetCheckResponse'
|
428
|
+
|
429
|
+
# auth_names
|
430
|
+
auth_names = opts[:debug_auth_names] || []
|
431
|
+
|
432
|
+
new_options = opts.merge(
|
433
|
+
:operation => :"ReadApi.post_check_mirror_status",
|
434
|
+
:header_params => header_params,
|
435
|
+
:query_params => query_params,
|
436
|
+
:form_params => form_params,
|
437
|
+
:body => post_body,
|
438
|
+
:auth_names => auth_names,
|
439
|
+
:return_type => return_type
|
440
|
+
)
|
441
|
+
|
442
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
443
|
+
if @api_client.config.debugging
|
444
|
+
@api_client.config.logger.debug "API called: ReadApi#post_check_mirror_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
445
|
+
end
|
446
|
+
return data, status_code, headers
|
447
|
+
end
|
334
448
|
end
|
335
449
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,7 +39,7 @@ module OryKetoClient
|
|
39
39
|
@api_client.config.logger.debug 'Calling API: WriteApi.create_relation_tuple ...'
|
40
40
|
end
|
41
41
|
# resource path
|
42
|
-
local_var_path = '/relation-tuples'
|
42
|
+
local_var_path = '/admin/relation-tuples'
|
43
43
|
|
44
44
|
# query parameters
|
45
45
|
query_params = opts[:query_params] || {}
|
@@ -115,7 +115,7 @@ module OryKetoClient
|
|
115
115
|
@api_client.config.logger.debug 'Calling API: WriteApi.delete_relation_tuples ...'
|
116
116
|
end
|
117
117
|
# resource path
|
118
|
-
local_var_path = '/relation-tuples'
|
118
|
+
local_var_path = '/admin/relation-tuples'
|
119
119
|
|
120
120
|
# query parameters
|
121
121
|
query_params = opts[:query_params] || {}
|
@@ -181,7 +181,7 @@ module OryKetoClient
|
|
181
181
|
@api_client.config.logger.debug 'Calling API: WriteApi.patch_relation_tuples ...'
|
182
182
|
end
|
183
183
|
# resource path
|
184
|
-
local_var_path = '/relation-tuples'
|
184
|
+
local_var_path = '/admin/relation-tuples'
|
185
185
|
|
186
186
|
# query parameters
|
187
187
|
query_params = opts[:query_params] || {}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -93,6 +93,7 @@ module OryKetoClient
|
|
93
93
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
94
94
|
query_params = opts[:query_params] || {}
|
95
95
|
form_params = opts[:form_params] || {}
|
96
|
+
follow_location = opts[:follow_location] || true
|
96
97
|
|
97
98
|
|
98
99
|
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
@@ -108,7 +109,8 @@ module OryKetoClient
|
|
108
109
|
:ssl_verifyhost => _verify_ssl_host,
|
109
110
|
:sslcert => @config.cert_file,
|
110
111
|
:sslkey => @config.key_file,
|
111
|
-
:verbose => @config.debugging
|
112
|
+
:verbose => @config.debugging,
|
113
|
+
:followlocation => follow_location
|
112
114
|
}
|
113
115
|
|
114
116
|
# set custom cert, if provided
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
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 of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -133,6 +133,7 @@ module OryKetoClient
|
|
133
133
|
# https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
|
134
134
|
attr_accessor :params_encoding
|
135
135
|
|
136
|
+
|
136
137
|
attr_accessor :inject_format
|
137
138
|
|
138
139
|
attr_accessor :force_ending_format
|
@@ -150,10 +151,10 @@ module OryKetoClient
|
|
150
151
|
@client_side_validation = true
|
151
152
|
@verify_ssl = true
|
152
153
|
@verify_ssl_host = true
|
153
|
-
@params_encoding = nil
|
154
154
|
@cert_file = nil
|
155
155
|
@key_file = nil
|
156
156
|
@timeout = 0
|
157
|
+
@params_encoding = nil
|
157
158
|
@debugging = false
|
158
159
|
@inject_format = false
|
159
160
|
@force_ending_format = false
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,12 +15,15 @@ require 'time'
|
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
17
|
class ExpandTree
|
18
|
+
# The children of the node, possibly none.
|
18
19
|
attr_accessor :children
|
19
20
|
|
21
|
+
# The subject ID the node represents. Either this field, or SubjectSet are set.
|
20
22
|
attr_accessor :subject_id
|
21
23
|
|
22
24
|
attr_accessor :subject_set
|
23
25
|
|
26
|
+
# The type of the node. union ExpandNodeUnion exclusion ExpandNodeExclusion intersection ExpandNodeIntersection leaf ExpandNodeLeaf unspecified ExpandNodeUnspecified
|
24
27
|
attr_accessor :type
|
25
28
|
|
26
29
|
class EnumAttributeValidator
|
@@ -125,7 +128,7 @@ module OryKetoClient
|
|
125
128
|
# @return true if the model is valid
|
126
129
|
def valid?
|
127
130
|
return false if @type.nil?
|
128
|
-
type_validator = EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf"])
|
131
|
+
type_validator = EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf", "unspecified"])
|
129
132
|
return false unless type_validator.valid?(@type)
|
130
133
|
true
|
131
134
|
end
|
@@ -133,7 +136,7 @@ module OryKetoClient
|
|
133
136
|
# Custom attribute writer method checking allowed values (enum).
|
134
137
|
# @param [Object] type Object to be assigned
|
135
138
|
def type=(type)
|
136
|
-
validator = EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf"])
|
139
|
+
validator = EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf", "unspecified"])
|
137
140
|
unless validator.valid?(type)
|
138
141
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
139
142
|
end
|
@@ -175,6 +178,7 @@ module OryKetoClient
|
|
175
178
|
# @return [Object] Returns the model itself
|
176
179
|
def build_from_hash(attributes)
|
177
180
|
return nil unless attributes.is_a?(Hash)
|
181
|
+
attributes = attributes.transform_keys(&:to_sym)
|
178
182
|
self.class.openapi_types.each_pair do |key, type|
|
179
183
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
180
184
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -155,6 +155,7 @@ module OryKetoClient
|
|
155
155
|
# @return [Object] Returns the model itself
|
156
156
|
def build_from_hash(attributes)
|
157
157
|
return nil unless attributes.is_a?(Hash)
|
158
|
+
attributes = attributes.transform_keys(&:to_sym)
|
158
159
|
self.class.openapi_types.each_pair do |key, type|
|
159
160
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
160
161
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -114,6 +114,7 @@ module OryKetoClient
|
|
114
114
|
# @return [Object] Returns the model itself
|
115
115
|
def build_from_hash(attributes)
|
116
116
|
return nil unless attributes.is_a?(Hash)
|
117
|
+
attributes = attributes.transform_keys(&:to_sym)
|
117
118
|
self.class.openapi_types.each_pair do |key, type|
|
118
119
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
119
120
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,7 +37,7 @@ module OryKetoClient
|
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
39
|
:'next_page_token' => :'String',
|
40
|
-
:'relation_tuples' => :'Array<
|
40
|
+
:'relation_tuples' => :'Array<RelationTuple>'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
@@ -119,6 +119,7 @@ module OryKetoClient
|
|
119
119
|
# @return [Object] Returns the model itself
|
120
120
|
def build_from_hash(attributes)
|
121
121
|
return nil unless attributes.is_a?(Hash)
|
122
|
+
attributes = attributes.transform_keys(&:to_sym)
|
122
123
|
self.class.openapi_types.each_pair do |key, type|
|
123
124
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
124
125
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
|
-
class
|
17
|
+
class GetVersion200Response
|
18
18
|
# The version of Ory Keto.
|
19
19
|
attr_accessor :version
|
20
20
|
|
@@ -47,13 +47,13 @@ module OryKetoClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryKetoClient::
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryKetoClient::GetVersion200Response` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryKetoClient::
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryKetoClient::GetVersion200Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -113,6 +113,7 @@ module OryKetoClient
|
|
113
113
|
# @return [Object] Returns the model itself
|
114
114
|
def build_from_hash(attributes)
|
115
115
|
return nil unless attributes.is_a?(Hash)
|
116
|
+
attributes = attributes.transform_keys(&:to_sym)
|
116
117
|
self.class.openapi_types.each_pair do |key, type|
|
117
118
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
118
119
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -110,6 +110,7 @@ module OryKetoClient
|
|
110
110
|
# @return [Object] Returns the model itself
|
111
111
|
def build_from_hash(attributes)
|
112
112
|
return nil unless attributes.is_a?(Hash)
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
113
114
|
self.class.openapi_types.each_pair do |key, type|
|
114
115
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
115
116
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.9.0-alpha.0
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -108,6 +108,7 @@ module OryKetoClient
|
|
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)
|