ory-keto-client 0.8.0.alpha1 → 0.8.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -24
- data/docs/ExpandTree.md +3 -3
- data/docs/GenericError.md +6 -6
- data/docs/GetRelationTuplesResponse.md +1 -1
- data/docs/PatchDelta.md +1 -1
- data/lib/ory-keto-client/api/metadata_api.rb +3 -3
- data/lib/ory-keto-client/api/read_api.rb +3 -3
- data/lib/ory-keto-client/api/write_api.rb +3 -3
- data/lib/ory-keto-client/api_client.rb +3 -3
- data/lib/ory-keto-client/api_error.rb +3 -3
- data/lib/ory-keto-client/configuration.rb +3 -3
- data/lib/ory-keto-client/models/expand_tree.rb +5 -9
- data/lib/ory-keto-client/models/generic_error.rb +4 -10
- data/lib/ory-keto-client/models/get_check_response.rb +3 -3
- data/lib/ory-keto-client/models/get_relation_tuples_response.rb +3 -5
- data/lib/ory-keto-client/models/health_not_ready_status.rb +3 -3
- data/lib/ory-keto-client/models/health_status.rb +3 -4
- data/lib/ory-keto-client/models/inline_response200.rb +3 -3
- data/lib/ory-keto-client/models/inline_response2001.rb +3 -3
- data/lib/ory-keto-client/models/inline_response503.rb +3 -3
- data/lib/ory-keto-client/models/internal_relation_tuple.rb +3 -3
- data/lib/ory-keto-client/models/patch_delta.rb +5 -7
- data/lib/ory-keto-client/models/relation_query.rb +3 -4
- data/lib/ory-keto-client/models/subject_set.rb +3 -3
- data/lib/ory-keto-client/models/version.rb +3 -3
- data/lib/ory-keto-client/version.rb +4 -4
- data/lib/ory-keto-client.rb +3 -20
- data/ory-keto-client.gemspec +5 -5
- data/spec/api/metadata_api_spec.rb +3 -3
- data/spec/api/read_api_spec.rb +3 -3
- data/spec/api/write_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/expand_tree_spec.rb +4 -4
- data/spec/models/generic_error_spec.rb +3 -3
- data/spec/models/get_check_response_spec.rb +3 -3
- data/spec/models/get_relation_tuples_response_spec.rb +3 -3
- data/spec/models/health_not_ready_status_spec.rb +3 -3
- data/spec/models/health_status_spec.rb +3 -3
- data/spec/models/inline_response2001_spec.rb +3 -3
- data/spec/models/inline_response200_spec.rb +3 -3
- data/spec/models/inline_response503_spec.rb +3 -3
- data/spec/models/internal_relation_tuple_spec.rb +3 -3
- data/spec/models/patch_delta_spec.rb +4 -4
- data/spec/models/relation_query_spec.rb +3 -3
- data/spec/models/subject_set_spec.rb +3 -3
- data/spec/models/version_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- 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/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/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- metadata +4 -72
- data/docs/CreateRelationTupleBadRequestBody.md +0 -28
- data/docs/CreateRelationTupleInternalServerErrorBody.md +0 -28
- data/docs/DeleteRelationTuplesBadRequestBody.md +0 -28
- data/docs/DeleteRelationTuplesInternalServerErrorBody.md +0 -28
- data/docs/GetCheckBadRequestBody.md +0 -28
- data/docs/GetCheckInternalServerErrorBody.md +0 -28
- data/docs/GetExpandBadRequestBody.md +0 -28
- data/docs/GetExpandInternalServerErrorBody.md +0 -28
- data/docs/GetExpandNotFoundBody.md +0 -28
- data/docs/GetRelationTuplesInternalServerErrorBody.md +0 -28
- data/docs/GetRelationTuplesNotFoundBody.md +0 -28
- data/docs/IsInstanceAliveInternalServerErrorBody.md +0 -28
- data/docs/PatchRelationTuplesBadRequestBody.md +0 -28
- data/docs/PatchRelationTuplesInternalServerErrorBody.md +0 -28
- data/docs/PatchRelationTuplesNotFoundBody.md +0 -28
- data/docs/PostCheckBadRequestBody.md +0 -28
- data/docs/PostCheckInternalServerErrorBody.md +0 -28
- data/lib/ory-keto-client/models/create_relation_tuple_bad_request_body.rb +0 -272
- data/lib/ory-keto-client/models/create_relation_tuple_internal_server_error_body.rb +0 -272
- data/lib/ory-keto-client/models/delete_relation_tuples_bad_request_body.rb +0 -272
- data/lib/ory-keto-client/models/delete_relation_tuples_internal_server_error_body.rb +0 -272
- data/lib/ory-keto-client/models/get_check_bad_request_body.rb +0 -272
- data/lib/ory-keto-client/models/get_check_internal_server_error_body.rb +0 -272
- data/lib/ory-keto-client/models/get_expand_bad_request_body.rb +0 -272
- data/lib/ory-keto-client/models/get_expand_internal_server_error_body.rb +0 -272
- data/lib/ory-keto-client/models/get_expand_not_found_body.rb +0 -272
- data/lib/ory-keto-client/models/get_relation_tuples_internal_server_error_body.rb +0 -272
- data/lib/ory-keto-client/models/get_relation_tuples_not_found_body.rb +0 -272
- data/lib/ory-keto-client/models/is_instance_alive_internal_server_error_body.rb +0 -272
- data/lib/ory-keto-client/models/patch_relation_tuples_bad_request_body.rb +0 -272
- data/lib/ory-keto-client/models/patch_relation_tuples_internal_server_error_body.rb +0 -272
- data/lib/ory-keto-client/models/patch_relation_tuples_not_found_body.rb +0 -272
- data/lib/ory-keto-client/models/post_check_bad_request_body.rb +0 -272
- data/lib/ory-keto-client/models/post_check_internal_server_error_body.rb +0 -272
- data/spec/models/create_relation_tuple_bad_request_body_spec.rb +0 -64
- data/spec/models/create_relation_tuple_internal_server_error_body_spec.rb +0 -64
- data/spec/models/delete_relation_tuples_bad_request_body_spec.rb +0 -64
- data/spec/models/delete_relation_tuples_internal_server_error_body_spec.rb +0 -64
- data/spec/models/get_check_bad_request_body_spec.rb +0 -64
- data/spec/models/get_check_internal_server_error_body_spec.rb +0 -64
- data/spec/models/get_expand_bad_request_body_spec.rb +0 -64
- data/spec/models/get_expand_internal_server_error_body_spec.rb +0 -64
- data/spec/models/get_expand_not_found_body_spec.rb +0 -64
- data/spec/models/get_relation_tuples_internal_server_error_body_spec.rb +0 -64
- data/spec/models/get_relation_tuples_not_found_body_spec.rb +0 -64
- data/spec/models/is_instance_alive_internal_server_error_body_spec.rb +0 -64
- data/spec/models/patch_relation_tuples_bad_request_body_spec.rb +0 -64
- data/spec/models/patch_relation_tuples_internal_server_error_body_spec.rb +0 -64
- data/spec/models/patch_relation_tuples_not_found_body_spec.rb +0 -64
- data/spec/models/post_check_bad_request_body_spec.rb +0 -64
- data/spec/models/post_check_internal_server_error_body_spec.rb +0 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92948b9ea62d96b8472713c010e52946d10860423d87e9c511de086b5ed786d4
|
4
|
+
data.tar.gz: aec56d549603b865f6bf185e8211462b4ee79cd0fbb5c3a737d10a71f139c36a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8896560d62793218281dfa945735e272c72b89feccd9a8f1fb80df05e767fa42af4f9118a3842be31740a99bf58cd1779a3ec55a38f402b112e1270bd5f990ed
|
7
|
+
data.tar.gz: 3b8cc68de0968af40d770ecd0d110c75398a136a330408b5b4cb62b70faed9d1a08469ee14cc13230ed5885522fcf5a6f36d6f25713e107368ff569a86cae3c9
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# ory-keto-client
|
2
2
|
|
3
|
-
OryKetoClient - the Ruby gem for the Ory
|
3
|
+
OryKetoClient - the Ruby gem for the Ory Keto API
|
4
4
|
|
5
|
-
Documentation for all of Ory
|
5
|
+
Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
6
6
|
|
7
7
|
|
8
8
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
9
9
|
|
10
|
-
- API version: v0.8.0-alpha.
|
11
|
-
- Package version: v0.8.0-alpha.
|
10
|
+
- API version: v0.8.0-alpha.2
|
11
|
+
- Package version: v0.8.0-alpha.2
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
|
14
14
|
## Installation
|
@@ -24,16 +24,16 @@ gem build ory-keto-client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ory-keto-client-v0.8.0-alpha.
|
27
|
+
gem install ./ory-keto-client-v0.8.0-alpha.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ory-keto-client-v0.8.0-alpha.
|
30
|
+
(for development, run `gem install --dev ./ory-keto-client-v0.8.0-alpha.2.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ory-keto-client', '~> v0.8.0-alpha.
|
36
|
+
gem 'ory-keto-client', '~> v0.8.0-alpha.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -89,20 +89,9 @@ Class | Method | HTTP request | Description
|
|
89
89
|
|
90
90
|
## Documentation for Models
|
91
91
|
|
92
|
-
- [OryKetoClient::CreateRelationTupleBadRequestBody](docs/CreateRelationTupleBadRequestBody.md)
|
93
|
-
- [OryKetoClient::CreateRelationTupleInternalServerErrorBody](docs/CreateRelationTupleInternalServerErrorBody.md)
|
94
|
-
- [OryKetoClient::DeleteRelationTuplesBadRequestBody](docs/DeleteRelationTuplesBadRequestBody.md)
|
95
|
-
- [OryKetoClient::DeleteRelationTuplesInternalServerErrorBody](docs/DeleteRelationTuplesInternalServerErrorBody.md)
|
96
92
|
- [OryKetoClient::ExpandTree](docs/ExpandTree.md)
|
97
93
|
- [OryKetoClient::GenericError](docs/GenericError.md)
|
98
|
-
- [OryKetoClient::GetCheckBadRequestBody](docs/GetCheckBadRequestBody.md)
|
99
|
-
- [OryKetoClient::GetCheckInternalServerErrorBody](docs/GetCheckInternalServerErrorBody.md)
|
100
94
|
- [OryKetoClient::GetCheckResponse](docs/GetCheckResponse.md)
|
101
|
-
- [OryKetoClient::GetExpandBadRequestBody](docs/GetExpandBadRequestBody.md)
|
102
|
-
- [OryKetoClient::GetExpandInternalServerErrorBody](docs/GetExpandInternalServerErrorBody.md)
|
103
|
-
- [OryKetoClient::GetExpandNotFoundBody](docs/GetExpandNotFoundBody.md)
|
104
|
-
- [OryKetoClient::GetRelationTuplesInternalServerErrorBody](docs/GetRelationTuplesInternalServerErrorBody.md)
|
105
|
-
- [OryKetoClient::GetRelationTuplesNotFoundBody](docs/GetRelationTuplesNotFoundBody.md)
|
106
95
|
- [OryKetoClient::GetRelationTuplesResponse](docs/GetRelationTuplesResponse.md)
|
107
96
|
- [OryKetoClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
|
108
97
|
- [OryKetoClient::HealthStatus](docs/HealthStatus.md)
|
@@ -110,13 +99,7 @@ Class | Method | HTTP request | Description
|
|
110
99
|
- [OryKetoClient::InlineResponse2001](docs/InlineResponse2001.md)
|
111
100
|
- [OryKetoClient::InlineResponse503](docs/InlineResponse503.md)
|
112
101
|
- [OryKetoClient::InternalRelationTuple](docs/InternalRelationTuple.md)
|
113
|
-
- [OryKetoClient::IsInstanceAliveInternalServerErrorBody](docs/IsInstanceAliveInternalServerErrorBody.md)
|
114
102
|
- [OryKetoClient::PatchDelta](docs/PatchDelta.md)
|
115
|
-
- [OryKetoClient::PatchRelationTuplesBadRequestBody](docs/PatchRelationTuplesBadRequestBody.md)
|
116
|
-
- [OryKetoClient::PatchRelationTuplesInternalServerErrorBody](docs/PatchRelationTuplesInternalServerErrorBody.md)
|
117
|
-
- [OryKetoClient::PatchRelationTuplesNotFoundBody](docs/PatchRelationTuplesNotFoundBody.md)
|
118
|
-
- [OryKetoClient::PostCheckBadRequestBody](docs/PostCheckBadRequestBody.md)
|
119
|
-
- [OryKetoClient::PostCheckInternalServerErrorBody](docs/PostCheckInternalServerErrorBody.md)
|
120
103
|
- [OryKetoClient::RelationQuery](docs/RelationQuery.md)
|
121
104
|
- [OryKetoClient::SubjectSet](docs/SubjectSet.md)
|
122
105
|
- [OryKetoClient::Version](docs/Version.md)
|
data/docs/ExpandTree.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **children** | [**Array<ExpandTree>**](ExpandTree.md) |
|
8
|
-
| **subject_id** | **String** |
|
7
|
+
| **children** | [**Array<ExpandTree>**](ExpandTree.md) | | [optional] |
|
8
|
+
| **subject_id** | **String** | | [optional] |
|
9
9
|
| **subject_set** | [**SubjectSet**](SubjectSet.md) | | [optional] |
|
10
|
-
| **type** | **String** |
|
10
|
+
| **type** | **String** | | |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
data/docs/GenericError.md
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **code** | **Integer** |
|
8
|
-
| **details** | **Array<Hash<String, Object>>** |
|
9
|
-
| **message** | **String** |
|
10
|
-
| **reason** | **String** |
|
11
|
-
| **request** | **String** |
|
12
|
-
| **status** | **String** |
|
7
|
+
| **code** | **Integer** | | [optional] |
|
8
|
+
| **details** | **Array<Hash<String, Object>>** | | [optional] |
|
9
|
+
| **message** | **String** | | [optional] |
|
10
|
+
| **reason** | **String** | | [optional] |
|
11
|
+
| **request** | **String** | | [optional] |
|
12
|
+
| **status** | **String** | | [optional] |
|
13
13
|
|
14
14
|
## Example
|
15
15
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **next_page_token** | **String** | The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page. | [optional] |
|
8
|
-
| **relation_tuples** | [**Array<InternalRelationTuple>**](InternalRelationTuple.md) |
|
8
|
+
| **relation_tuples** | [**Array<InternalRelationTuple>**](InternalRelationTuple.md) | | [optional] |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
data/docs/PatchDelta.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **action** | **String** |
|
7
|
+
| **action** | **String** | | [optional] |
|
8
8
|
| **relation_tuple** | [**InternalRelationTuple**](InternalRelationTuple.md) | | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,17 +14,13 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
|
-
# ExpandTree ExpandTree ExpandTree expand tree
|
18
17
|
class ExpandTree
|
19
|
-
# children
|
20
18
|
attr_accessor :children
|
21
19
|
|
22
|
-
# subject id
|
23
20
|
attr_accessor :subject_id
|
24
21
|
|
25
22
|
attr_accessor :subject_set
|
26
23
|
|
27
|
-
# type
|
28
24
|
attr_accessor :type
|
29
25
|
|
30
26
|
class EnumAttributeValidator
|
@@ -129,7 +125,7 @@ module OryKetoClient
|
|
129
125
|
# @return true if the model is valid
|
130
126
|
def valid?
|
131
127
|
return false if @type.nil?
|
132
|
-
type_validator = EnumAttributeValidator.new('String', ["
|
128
|
+
type_validator = EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf"])
|
133
129
|
return false unless type_validator.valid?(@type)
|
134
130
|
true
|
135
131
|
end
|
@@ -137,7 +133,7 @@ module OryKetoClient
|
|
137
133
|
# Custom attribute writer method checking allowed values (enum).
|
138
134
|
# @param [Object] type Object to be assigned
|
139
135
|
def type=(type)
|
140
|
-
validator = EnumAttributeValidator.new('String', ["
|
136
|
+
validator = EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf"])
|
141
137
|
unless validator.valid?(type)
|
142
138
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
143
139
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,24 +14,18 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
|
-
#
|
17
|
+
# The standard error format
|
18
18
|
class GenericError
|
19
|
-
# code
|
20
19
|
attr_accessor :code
|
21
20
|
|
22
|
-
# details
|
23
21
|
attr_accessor :details
|
24
22
|
|
25
|
-
# message
|
26
23
|
attr_accessor :message
|
27
24
|
|
28
|
-
# reason
|
29
25
|
attr_accessor :reason
|
30
26
|
|
31
|
-
# request
|
32
27
|
attr_accessor :request
|
33
28
|
|
34
|
-
# status
|
35
29
|
attr_accessor :status
|
36
30
|
|
37
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,12 +14,10 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
|
-
# GetRelationTuplesResponse GetRelationTuplesResponse get relation tuples response
|
18
17
|
class GetRelationTuplesResponse
|
19
18
|
# The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page.
|
20
19
|
attr_accessor :next_page_token
|
21
20
|
|
22
|
-
# relation tuples
|
23
21
|
attr_accessor :relation_tuples
|
24
22
|
|
25
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,7 +14,6 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
|
-
# HealthStatus health status
|
18
17
|
class HealthStatus
|
19
18
|
# Status always contains \"ok\".
|
20
19
|
attr_accessor :status
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,9 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
|
-
# PatchDelta PatchDelta PatchDelta PatchDelta PatchDelta PatchDelta PatchDelta PatchDelta PatchDelta PatchDelta patch delta
|
18
17
|
class PatchDelta
|
19
|
-
# action
|
20
18
|
attr_accessor :action
|
21
19
|
|
22
20
|
attr_accessor :relation_tuple
|
@@ -104,7 +102,7 @@ module OryKetoClient
|
|
104
102
|
# Check to see if the all the properties in the model are valid
|
105
103
|
# @return true if the model is valid
|
106
104
|
def valid?
|
107
|
-
action_validator = EnumAttributeValidator.new('String', ["
|
105
|
+
action_validator = EnumAttributeValidator.new('String', ["insert", "delete"])
|
108
106
|
return false unless action_validator.valid?(@action)
|
109
107
|
true
|
110
108
|
end
|
@@ -112,7 +110,7 @@ module OryKetoClient
|
|
112
110
|
# Custom attribute writer method checking allowed values (enum).
|
113
111
|
# @param [Object] action Object to be assigned
|
114
112
|
def action=(action)
|
115
|
-
validator = EnumAttributeValidator.new('String', ["
|
113
|
+
validator = EnumAttributeValidator.new('String', ["insert", "delete"])
|
116
114
|
unless validator.valid?(action)
|
117
115
|
fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
|
118
116
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,7 +14,6 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryKetoClient
|
17
|
-
# RelationQuery RelationQuery RelationQuery RelationQuery RelationQuery RelationQuery RelationQuery RelationQuery RelationQuery RelationQuery relation query
|
18
17
|
class RelationQuery
|
19
18
|
# Namespace of the Relation Tuple
|
20
19
|
attr_accessor :namespace
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.8.0.
|
6
|
+
The version of the OpenAPI document: 0.8.0.alpha2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module OryKetoClient
|
14
|
-
VERSION = '0.8.0.
|
14
|
+
VERSION = '0.8.0.alpha2'
|
15
15
|
end
|
data/lib/ory-keto-client.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory
|
2
|
+
#Ory Keto API
|
3
3
|
|
4
|
-
#Documentation for all of Ory
|
4
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
7
7
|
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -17,20 +17,9 @@ require 'ory-keto-client/version'
|
|
17
17
|
require 'ory-keto-client/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
-
require 'ory-keto-client/models/create_relation_tuple_bad_request_body'
|
21
|
-
require 'ory-keto-client/models/create_relation_tuple_internal_server_error_body'
|
22
|
-
require 'ory-keto-client/models/delete_relation_tuples_bad_request_body'
|
23
|
-
require 'ory-keto-client/models/delete_relation_tuples_internal_server_error_body'
|
24
20
|
require 'ory-keto-client/models/expand_tree'
|
25
21
|
require 'ory-keto-client/models/generic_error'
|
26
|
-
require 'ory-keto-client/models/get_check_bad_request_body'
|
27
|
-
require 'ory-keto-client/models/get_check_internal_server_error_body'
|
28
22
|
require 'ory-keto-client/models/get_check_response'
|
29
|
-
require 'ory-keto-client/models/get_expand_bad_request_body'
|
30
|
-
require 'ory-keto-client/models/get_expand_internal_server_error_body'
|
31
|
-
require 'ory-keto-client/models/get_expand_not_found_body'
|
32
|
-
require 'ory-keto-client/models/get_relation_tuples_internal_server_error_body'
|
33
|
-
require 'ory-keto-client/models/get_relation_tuples_not_found_body'
|
34
23
|
require 'ory-keto-client/models/get_relation_tuples_response'
|
35
24
|
require 'ory-keto-client/models/health_not_ready_status'
|
36
25
|
require 'ory-keto-client/models/health_status'
|
@@ -38,13 +27,7 @@ require 'ory-keto-client/models/inline_response200'
|
|
38
27
|
require 'ory-keto-client/models/inline_response2001'
|
39
28
|
require 'ory-keto-client/models/inline_response503'
|
40
29
|
require 'ory-keto-client/models/internal_relation_tuple'
|
41
|
-
require 'ory-keto-client/models/is_instance_alive_internal_server_error_body'
|
42
30
|
require 'ory-keto-client/models/patch_delta'
|
43
|
-
require 'ory-keto-client/models/patch_relation_tuples_bad_request_body'
|
44
|
-
require 'ory-keto-client/models/patch_relation_tuples_internal_server_error_body'
|
45
|
-
require 'ory-keto-client/models/patch_relation_tuples_not_found_body'
|
46
|
-
require 'ory-keto-client/models/post_check_bad_request_body'
|
47
|
-
require 'ory-keto-client/models/post_check_internal_server_error_body'
|
48
31
|
require 'ory-keto-client/models/relation_query'
|
49
32
|
require 'ory-keto-client/models/subject_set'
|
50
33
|
require 'ory-keto-client/models/version'
|
data/ory-keto-client.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
=begin
|
4
|
-
#Ory
|
4
|
+
#Ory Keto API
|
5
5
|
|
6
|
-
#Documentation for all of Ory
|
6
|
+
#Documentation for all of Ory Keto's REST APIs. gRPC is documented separately.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v0.8.0-alpha.
|
8
|
+
The version of the OpenAPI document: v0.8.0-alpha.2
|
9
9
|
Contact: hi@ory.sh
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 5.4.0
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.authors = ["ORY GmbH"]
|
23
23
|
s.email = ["opensource@ory.sh"]
|
24
24
|
s.homepage = "https://www.ory.sh"
|
25
|
-
s.summary = "Ory
|
26
|
-
s.description = "Documentation for all of Ory
|
25
|
+
s.summary = "Ory Keto API Ruby Gem"
|
26
|
+
s.description = "Documentation for all of Ory Keto's REST APIs. gRPC is documented separately. "
|
27
27
|
s.license = "Apache-2.0"
|
28
28
|
s.required_ruby_version = ">= 2.4"
|
29
29
|
|