keynetra-client 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +49 -0
- data/Rakefile +10 -0
- data/docs/ACLCreate.md +28 -0
- data/docs/ACLOut.md +34 -0
- data/docs/AccessApi.md +234 -0
- data/docs/AccessDecisionResponse.md +30 -0
- data/docs/AccessRequest.md +28 -0
- data/docs/AdminLoginRequest.md +20 -0
- data/docs/AdminLoginResponse.md +26 -0
- data/docs/AuditRecordOut.md +42 -0
- data/docs/AuthApi.md +133 -0
- data/docs/AuthModelCreate.md +18 -0
- data/docs/AuthModelOut.md +26 -0
- data/docs/BatchAccessItem.md +20 -0
- data/docs/BatchAccessRequest.md +24 -0
- data/docs/BatchAccessResponse.md +20 -0
- data/docs/BatchAccessResult.md +22 -0
- data/docs/DataValue.md +15 -0
- data/docs/DevApi.md +132 -0
- data/docs/HTTPValidationError.md +18 -0
- data/docs/HealthApi.md +187 -0
- data/docs/ImpactAnalysisRequest.md +18 -0
- data/docs/ImpactAnalysisResponse.md +20 -0
- data/docs/LocationInner.md +15 -0
- data/docs/ManagementApi.md +2096 -0
- data/docs/MetaBody.md +24 -0
- data/docs/PermissionCreate.md +18 -0
- data/docs/PermissionOut.md +20 -0
- data/docs/PermissionUpdate.md +18 -0
- data/docs/PlaygroundApi.md +80 -0
- data/docs/PlaygroundEvaluateRequest.md +20 -0
- data/docs/PlaygroundInput.md +24 -0
- data/docs/PlaygroundPolicy.md +26 -0
- data/docs/PolicyCreate.md +26 -0
- data/docs/PolicyOut.md +28 -0
- data/docs/PolicySimulationInput.md +22 -0
- data/docs/PolicySimulationRequest.md +20 -0
- data/docs/PolicySimulationResponse.md +20 -0
- data/docs/RelationshipCreate.md +26 -0
- data/docs/RelationshipOut.md +28 -0
- data/docs/RoleCreate.md +18 -0
- data/docs/RoleOut.md +20 -0
- data/docs/RoleUpdate.md +18 -0
- data/docs/SimulationResponse.md +30 -0
- data/docs/SuccessResponseACLOut.md +22 -0
- data/docs/SuccessResponseAccessDecisionResponse.md +22 -0
- data/docs/SuccessResponseAdminLoginResponse.md +22 -0
- data/docs/SuccessResponseAuthModelOut.md +22 -0
- data/docs/SuccessResponseBatchAccessResponse.md +22 -0
- data/docs/SuccessResponseDictStrAny.md +22 -0
- data/docs/SuccessResponseDictStrInt.md +22 -0
- data/docs/SuccessResponseDictStrObject.md +22 -0
- data/docs/SuccessResponseDictStrStr.md +22 -0
- data/docs/SuccessResponseDictStrUnionIntStr.md +22 -0
- data/docs/SuccessResponseImpactAnalysisResponse.md +22 -0
- data/docs/SuccessResponseListACLOut.md +22 -0
- data/docs/SuccessResponseListAuditRecordOut.md +22 -0
- data/docs/SuccessResponseListDictStrStr.md +22 -0
- data/docs/SuccessResponseListPermissionOut.md +22 -0
- data/docs/SuccessResponseListPolicyOut.md +22 -0
- data/docs/SuccessResponseListRoleOut.md +22 -0
- data/docs/SuccessResponsePermissionOut.md +22 -0
- data/docs/SuccessResponsePolicyOut.md +22 -0
- data/docs/SuccessResponsePolicySimulationResponse.md +22 -0
- data/docs/SuccessResponseRelationshipOut.md +22 -0
- data/docs/SuccessResponseSimulationResponse.md +22 -0
- data/docs/ValidationError.md +26 -0
- data/git_push.sh +57 -0
- data/keynetra-client.gemspec +39 -0
- data/lib/keynetra-client/api/access_api.rb +226 -0
- data/lib/keynetra-client/api/auth_api.rb +154 -0
- data/lib/keynetra-client/api/dev_api.rb +135 -0
- data/lib/keynetra-client/api/health_api.rb +187 -0
- data/lib/keynetra-client/api/management_api.rb +1851 -0
- data/lib/keynetra-client/api/playground_api.rb +88 -0
- data/lib/keynetra-client/api_client.rb +397 -0
- data/lib/keynetra-client/api_error.rb +58 -0
- data/lib/keynetra-client/api_model_base.rb +88 -0
- data/lib/keynetra-client/configuration.rb +315 -0
- data/lib/keynetra-client/models/access_decision_response.rb +242 -0
- data/lib/keynetra-client/models/access_request.rb +219 -0
- data/lib/keynetra-client/models/acl_create.rb +294 -0
- data/lib/keynetra-client/models/acl_out.rb +356 -0
- data/lib/keynetra-client/models/admin_login_request.rb +190 -0
- data/lib/keynetra-client/models/admin_login_response.rb +238 -0
- data/lib/keynetra-client/models/audit_record_out.rb +454 -0
- data/lib/keynetra-client/models/auth_model_create.rb +164 -0
- data/lib/keynetra-client/models/auth_model_out.rb +272 -0
- data/lib/keynetra-client/models/batch_access_item.rb +175 -0
- data/lib/keynetra-client/models/batch_access_request.rb +198 -0
- data/lib/keynetra-client/models/batch_access_response.rb +176 -0
- data/lib/keynetra-client/models/batch_access_result.rb +200 -0
- data/lib/keynetra-client/models/data_value.rb +103 -0
- data/lib/keynetra-client/models/http_validation_error.rb +149 -0
- data/lib/keynetra-client/models/impact_analysis_request.rb +164 -0
- data/lib/keynetra-client/models/impact_analysis_response.rb +160 -0
- data/lib/keynetra-client/models/location_inner.rb +103 -0
- data/lib/keynetra-client/models/meta_body.rb +179 -0
- data/lib/keynetra-client/models/permission_create.rb +164 -0
- data/lib/keynetra-client/models/permission_out.rb +190 -0
- data/lib/keynetra-client/models/permission_update.rb +164 -0
- data/lib/keynetra-client/models/playground_evaluate_request.rb +192 -0
- data/lib/keynetra-client/models/playground_input.rb +182 -0
- data/lib/keynetra-client/models/playground_policy.rb +207 -0
- data/lib/keynetra-client/models/policy_create.rb +208 -0
- data/lib/keynetra-client/models/policy_out.rb +281 -0
- data/lib/keynetra-client/models/policy_simulation_input.rb +172 -0
- data/lib/keynetra-client/models/policy_simulation_request.rb +158 -0
- data/lib/keynetra-client/models/policy_simulation_response.rb +194 -0
- data/lib/keynetra-client/models/relationship_create.rb +268 -0
- data/lib/keynetra-client/models/relationship_out.rb +294 -0
- data/lib/keynetra-client/models/role_create.rb +164 -0
- data/lib/keynetra-client/models/role_out.rb +190 -0
- data/lib/keynetra-client/models/role_update.rb +164 -0
- data/lib/keynetra-client/models/simulation_response.rb +244 -0
- data/lib/keynetra-client/models/success_response_access_decision_response.rb +182 -0
- data/lib/keynetra-client/models/success_response_acl_out.rb +182 -0
- data/lib/keynetra-client/models/success_response_admin_login_response.rb +182 -0
- data/lib/keynetra-client/models/success_response_auth_model_out.rb +182 -0
- data/lib/keynetra-client/models/success_response_batch_access_response.rb +182 -0
- data/lib/keynetra-client/models/success_response_dict_str_any.rb +184 -0
- data/lib/keynetra-client/models/success_response_dict_str_int.rb +184 -0
- data/lib/keynetra-client/models/success_response_dict_str_object.rb +184 -0
- data/lib/keynetra-client/models/success_response_dict_str_str.rb +184 -0
- data/lib/keynetra-client/models/success_response_dict_str_union_int_str.rb +184 -0
- data/lib/keynetra-client/models/success_response_impact_analysis_response.rb +182 -0
- data/lib/keynetra-client/models/success_response_list_acl_out.rb +184 -0
- data/lib/keynetra-client/models/success_response_list_audit_record_out.rb +184 -0
- data/lib/keynetra-client/models/success_response_list_dict_str_str.rb +184 -0
- data/lib/keynetra-client/models/success_response_list_permission_out.rb +184 -0
- data/lib/keynetra-client/models/success_response_list_policy_out.rb +184 -0
- data/lib/keynetra-client/models/success_response_list_role_out.rb +184 -0
- data/lib/keynetra-client/models/success_response_permission_out.rb +182 -0
- data/lib/keynetra-client/models/success_response_policy_out.rb +182 -0
- data/lib/keynetra-client/models/success_response_policy_simulation_response.rb +182 -0
- data/lib/keynetra-client/models/success_response_relationship_out.rb +182 -0
- data/lib/keynetra-client/models/success_response_simulation_response.rb +182 -0
- data/lib/keynetra-client/models/validation_error.rb +237 -0
- data/lib/keynetra-client/version.rb +15 -0
- data/lib/keynetra-client.rb +105 -0
- data/spec/api/access_api_spec.rb +70 -0
- data/spec/api/auth_api_spec.rb +57 -0
- data/spec/api/dev_api_spec.rb +56 -0
- data/spec/api/health_api_spec.rb +65 -0
- data/spec/api/management_api_spec.rb +361 -0
- data/spec/api/playground_api_spec.rb +46 -0
- data/spec/models/access_decision_response_spec.rb +72 -0
- data/spec/models/access_request_spec.rb +66 -0
- data/spec/models/acl_create_spec.rb +66 -0
- data/spec/models/acl_out_spec.rb +84 -0
- data/spec/models/admin_login_request_spec.rb +42 -0
- data/spec/models/admin_login_response_spec.rb +60 -0
- data/spec/models/audit_record_out_spec.rb +108 -0
- data/spec/models/auth_model_create_spec.rb +36 -0
- data/spec/models/auth_model_out_spec.rb +60 -0
- data/spec/models/batch_access_item_spec.rb +42 -0
- data/spec/models/batch_access_request_spec.rb +54 -0
- data/spec/models/batch_access_response_spec.rb +42 -0
- data/spec/models/batch_access_result_spec.rb +48 -0
- data/spec/models/data_value_spec.rb +21 -0
- data/spec/models/http_validation_error_spec.rb +36 -0
- data/spec/models/impact_analysis_request_spec.rb +36 -0
- data/spec/models/impact_analysis_response_spec.rb +42 -0
- data/spec/models/location_inner_spec.rb +21 -0
- data/spec/models/meta_body_spec.rb +54 -0
- data/spec/models/permission_create_spec.rb +36 -0
- data/spec/models/permission_out_spec.rb +42 -0
- data/spec/models/permission_update_spec.rb +36 -0
- data/spec/models/playground_evaluate_request_spec.rb +42 -0
- data/spec/models/playground_input_spec.rb +54 -0
- data/spec/models/playground_policy_spec.rb +60 -0
- data/spec/models/policy_create_spec.rb +60 -0
- data/spec/models/policy_out_spec.rb +66 -0
- data/spec/models/policy_simulation_input_spec.rb +48 -0
- data/spec/models/policy_simulation_request_spec.rb +42 -0
- data/spec/models/policy_simulation_response_spec.rb +42 -0
- data/spec/models/relationship_create_spec.rb +60 -0
- data/spec/models/relationship_out_spec.rb +66 -0
- data/spec/models/role_create_spec.rb +36 -0
- data/spec/models/role_out_spec.rb +42 -0
- data/spec/models/role_update_spec.rb +36 -0
- data/spec/models/simulation_response_spec.rb +72 -0
- data/spec/models/success_response_access_decision_response_spec.rb +48 -0
- data/spec/models/success_response_acl_out_spec.rb +48 -0
- data/spec/models/success_response_admin_login_response_spec.rb +48 -0
- data/spec/models/success_response_auth_model_out_spec.rb +48 -0
- data/spec/models/success_response_batch_access_response_spec.rb +48 -0
- data/spec/models/success_response_dict_str_any_spec.rb +48 -0
- data/spec/models/success_response_dict_str_int_spec.rb +48 -0
- data/spec/models/success_response_dict_str_object_spec.rb +48 -0
- data/spec/models/success_response_dict_str_str_spec.rb +48 -0
- data/spec/models/success_response_dict_str_union_int_str_spec.rb +48 -0
- data/spec/models/success_response_impact_analysis_response_spec.rb +48 -0
- data/spec/models/success_response_list_acl_out_spec.rb +48 -0
- data/spec/models/success_response_list_audit_record_out_spec.rb +48 -0
- data/spec/models/success_response_list_dict_str_str_spec.rb +48 -0
- data/spec/models/success_response_list_permission_out_spec.rb +48 -0
- data/spec/models/success_response_list_policy_out_spec.rb +48 -0
- data/spec/models/success_response_list_role_out_spec.rb +48 -0
- data/spec/models/success_response_permission_out_spec.rb +48 -0
- data/spec/models/success_response_policy_out_spec.rb +48 -0
- data/spec/models/success_response_policy_simulation_response_spec.rb +48 -0
- data/spec/models/success_response_relationship_out_spec.rb +48 -0
- data/spec/models/success_response_simulation_response_spec.rb +48 -0
- data/spec/models/validation_error_spec.rb +60 -0
- data/spec/spec_helper.rb +111 -0
- metadata +356 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::MetaBody
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::MetaBody do
|
|
21
|
+
#let(:instance) { KeyNetra::MetaBody.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MetaBody' do
|
|
24
|
+
it 'should create an instance of MetaBody' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::MetaBody)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "request_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "limit"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "next_cursor"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "extra"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PermissionCreate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PermissionCreate do
|
|
21
|
+
#let(:instance) { KeyNetra::PermissionCreate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PermissionCreate' do
|
|
24
|
+
it 'should create an instance of PermissionCreate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PermissionCreate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "action"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PermissionOut
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PermissionOut do
|
|
21
|
+
#let(:instance) { KeyNetra::PermissionOut.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PermissionOut' do
|
|
24
|
+
it 'should create an instance of PermissionOut' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PermissionOut)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "action"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PermissionUpdate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PermissionUpdate do
|
|
21
|
+
#let(:instance) { KeyNetra::PermissionUpdate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PermissionUpdate' do
|
|
24
|
+
it 'should create an instance of PermissionUpdate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PermissionUpdate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "action"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PlaygroundEvaluateRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PlaygroundEvaluateRequest do
|
|
21
|
+
#let(:instance) { KeyNetra::PlaygroundEvaluateRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PlaygroundEvaluateRequest' do
|
|
24
|
+
it 'should create an instance of PlaygroundEvaluateRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PlaygroundEvaluateRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "policies"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "input"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PlaygroundInput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PlaygroundInput do
|
|
21
|
+
#let(:instance) { KeyNetra::PlaygroundInput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PlaygroundInput' do
|
|
24
|
+
it 'should create an instance of PlaygroundInput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PlaygroundInput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "user"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "resource"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "action"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "context"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PlaygroundPolicy
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PlaygroundPolicy do
|
|
21
|
+
#let(:instance) { KeyNetra::PlaygroundPolicy.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PlaygroundPolicy' do
|
|
24
|
+
it 'should create an instance of PlaygroundPolicy' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PlaygroundPolicy)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "action"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "effect"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "priority"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "policy_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "conditions"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PolicyCreate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PolicyCreate do
|
|
21
|
+
#let(:instance) { KeyNetra::PolicyCreate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PolicyCreate' do
|
|
24
|
+
it 'should create an instance of PolicyCreate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PolicyCreate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "action"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "effect"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "priority"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "state"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "conditions"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PolicyOut
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PolicyOut do
|
|
21
|
+
#let(:instance) { KeyNetra::PolicyOut.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PolicyOut' do
|
|
24
|
+
it 'should create an instance of PolicyOut' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PolicyOut)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "action"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "effect"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "priority"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "state"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "conditions"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PolicySimulationInput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PolicySimulationInput do
|
|
21
|
+
#let(:instance) { KeyNetra::PolicySimulationInput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PolicySimulationInput' do
|
|
24
|
+
it 'should create an instance of PolicySimulationInput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PolicySimulationInput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "policy_change"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "relationship_change"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "role_change"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PolicySimulationRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PolicySimulationRequest do
|
|
21
|
+
#let(:instance) { KeyNetra::PolicySimulationRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PolicySimulationRequest' do
|
|
24
|
+
it 'should create an instance of PolicySimulationRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PolicySimulationRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "simulate"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "request"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::PolicySimulationResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::PolicySimulationResponse do
|
|
21
|
+
#let(:instance) { KeyNetra::PolicySimulationResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PolicySimulationResponse' do
|
|
24
|
+
it 'should create an instance of PolicySimulationResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::PolicySimulationResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "decision_before"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "decision_after"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#KeyNetra
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for KeyNetra::RelationshipCreate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe KeyNetra::RelationshipCreate do
|
|
21
|
+
#let(:instance) { KeyNetra::RelationshipCreate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RelationshipCreate' do
|
|
24
|
+
it 'should create an instance of RelationshipCreate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(KeyNetra::RelationshipCreate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "subject_type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "subject_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "relation"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "object_type"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "object_id"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|