pulpcore_client 3.16.24 → 3.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +70 -22
- data/docs/AccessPoliciesApi.md +53 -0
- data/docs/AccessPolicy.md +3 -1
- data/docs/AccessPolicyResponse.md +3 -1
- data/docs/ContentguardsRbacApi.md +138 -22
- data/docs/GroupRole.md +19 -0
- data/docs/GroupRoleResponse.md +23 -0
- data/docs/GroupsApi.md +248 -20
- data/docs/GroupsModelPermissionsApi.md +20 -20
- data/docs/GroupsObjectPermissionsApi.md +20 -20
- data/docs/GroupsRolesApi.md +255 -0
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PaginatedGroupRoleResponseList.md +23 -0
- data/docs/PaginatedRoleResponseList.md +23 -0
- data/docs/PaginatedUserRoleResponseList.md +23 -0
- data/docs/PatchedAccessPolicy.md +3 -1
- data/docs/PatchedRole.md +21 -0
- data/docs/PatchedUser.md +29 -0
- data/docs/PermissionResponse.md +1 -1
- data/docs/Purge.md +19 -0
- data/docs/Role.md +21 -0
- data/docs/RoleResponse.md +27 -0
- data/docs/RolesApi.md +363 -0
- data/docs/StatesEnum.md +16 -0
- data/docs/TasksApi.md +282 -0
- data/docs/User.md +29 -0
- data/docs/UserGroup.md +17 -0
- data/docs/UserResponse.md +3 -3
- data/docs/UserRole.md +19 -0
- data/docs/UserRoleResponse.md +23 -0
- data/docs/UsersApi.md +219 -0
- data/docs/UsersRolesApi.md +255 -0
- data/docs/WorkerResponse.md +3 -3
- data/git_push.sh +58 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +60 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +24 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +168 -40
- data/lib/pulpcore_client/api/groups_api.rb +304 -36
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +36 -36
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +36 -36
- data/lib/pulpcore_client/api/groups_roles_api.rb +315 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +27 -27
- data/lib/pulpcore_client/api/roles_api.rb +443 -0
- data/lib/pulpcore_client/api/tasks_api.rb +332 -0
- data/lib/pulpcore_client/api/uploads_api.rb +4 -0
- data/lib/pulpcore_client/api/users_api.rb +264 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +315 -0
- data/lib/pulpcore_client/api_client.rb +5 -2
- data/lib/pulpcore_client/configuration.rb +0 -1
- data/lib/pulpcore_client/models/access_policy.rb +19 -2
- data/lib/pulpcore_client/models/access_policy_response.rb +19 -2
- data/lib/pulpcore_client/models/artifact.rb +90 -0
- data/lib/pulpcore_client/models/filesystem_exporter.rb +38 -0
- data/lib/pulpcore_client/models/group.rb +9 -0
- data/lib/pulpcore_client/models/group_role.rb +238 -0
- data/lib/pulpcore_client/models/group_role_response.rb +242 -0
- data/lib/pulpcore_client/models/group_user.rb +9 -0
- data/lib/pulpcore_client/models/{rbac_content_guard_permission.rb → my_permissions_response.rb} +16 -22
- data/lib/pulpcore_client/models/nested_role.rb +234 -0
- data/lib/pulpcore_client/models/nested_role_response.rb +234 -0
- data/lib/pulpcore_client/models/object_roles_response.rb +213 -0
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_access_policy.rb +14 -2
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +30 -0
- data/lib/pulpcore_client/models/patched_group.rb +9 -0
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +30 -0
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +15 -0
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +30 -0
- data/lib/pulpcore_client/models/patched_role.rb +261 -0
- data/lib/pulpcore_client/models/patched_task_cancel.rb +15 -0
- data/lib/pulpcore_client/models/patched_user.rb +342 -0
- data/lib/pulpcore_client/models/permission_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export.rb +15 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +38 -0
- data/lib/pulpcore_client/models/pulp_import.rb +30 -0
- data/lib/pulpcore_client/models/pulp_import_check.rb +45 -0
- data/lib/pulpcore_client/models/pulp_importer.rb +19 -0
- data/lib/pulpcore_client/models/purge.rb +219 -0
- data/lib/pulpcore_client/models/rbac_content_guard.rb +34 -0
- data/lib/pulpcore_client/models/role.rb +275 -0
- data/lib/pulpcore_client/models/role_response.rb +270 -0
- data/lib/pulpcore_client/models/states_enum.rb +38 -0
- data/lib/pulpcore_client/models/upload_chunk.rb +15 -0
- data/lib/pulpcore_client/models/upload_commit.rb +19 -0
- data/lib/pulpcore_client/models/user.rb +351 -0
- data/lib/pulpcore_client/models/user_group.rb +241 -0
- data/lib/pulpcore_client/models/user_response.rb +6 -29
- data/lib/pulpcore_client/models/user_role.rb +238 -0
- data/lib/pulpcore_client/models/user_role_response.rb +242 -0
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +22 -1
- data/pulpcore_client.gemspec +3 -3
- data/spec/api/access_policies_api_spec.rb +11 -0
- data/spec/api/contentguards_rbac_api_spec.rb +36 -12
- data/spec/api/groups_api_spec.rb +54 -4
- data/spec/api/groups_model_permissions_api_spec.rb +4 -4
- data/spec/api/groups_object_permissions_api_spec.rb +4 -4
- data/spec/api/groups_roles_api_spec.rb +97 -0
- data/spec/api/groups_users_api_spec.rb +3 -3
- data/spec/api/roles_api_spec.rb +121 -0
- data/spec/api/tasks_api_spec.rb +62 -0
- data/spec/api/users_api_spec.rb +50 -0
- data/spec/api/users_roles_api_spec.rb +97 -0
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/access_policy_spec.rb +6 -0
- data/spec/models/group_role_response_spec.rb +59 -0
- data/spec/models/{rbac_content_guard_permission_spec.rb → group_role_spec.rb} +8 -8
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/paginated_group_role_response_list_spec.rb +59 -0
- data/spec/models/paginated_role_response_list_spec.rb +59 -0
- data/spec/models/paginated_user_role_response_list_spec.rb +59 -0
- data/spec/models/patched_access_policy_spec.rb +6 -0
- data/spec/models/patched_role_spec.rb +53 -0
- data/spec/models/patched_user_spec.rb +77 -0
- data/spec/models/purge_spec.rb +47 -0
- data/spec/models/role_response_spec.rb +71 -0
- data/spec/models/role_spec.rb +53 -0
- data/spec/models/states_enum_spec.rb +35 -0
- data/spec/models/user_group_spec.rb +41 -0
- data/spec/models/user_role_response_spec.rb +59 -0
- data/spec/models/user_role_spec.rb +47 -0
- data/spec/models/user_spec.rb +77 -0
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +190 -111
- data/docs/RBACContentGuardPermission.md +0 -19
@@ -0,0 +1,97 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpcoreClient::UsersRolesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UsersRolesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpcoreClient::UsersRolesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UsersRolesApi' do
|
30
|
+
it 'should create an instance of UsersRolesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::UsersRolesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create an user role
|
37
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
38
|
+
# @param auth_user_href
|
39
|
+
# @param user_role
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [UserRoleResponse]
|
42
|
+
describe 'create test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for delete
|
49
|
+
# Delete an user role
|
50
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
51
|
+
# @param auth_users_user_role_href
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [nil]
|
54
|
+
describe 'delete test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# unit tests for list
|
61
|
+
# List user roles
|
62
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
63
|
+
# @param auth_user_href
|
64
|
+
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [String] :content_object content_object
|
66
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
68
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
69
|
+
# @option opts [String] :role
|
70
|
+
# @option opts [String] :role__contains
|
71
|
+
# @option opts [String] :role__icontains
|
72
|
+
# @option opts [Array<String>] :role__in Multiple values may be separated by commas.
|
73
|
+
# @option opts [String] :role__startswith
|
74
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
75
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
|
+
# @return [PaginatedUserRoleResponseList]
|
77
|
+
describe 'list test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for read
|
84
|
+
# Inspect an user role
|
85
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
86
|
+
# @param auth_users_user_role_href
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
89
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
90
|
+
# @return [UserRoleResponse]
|
91
|
+
describe 'read test' do
|
92
|
+
it 'should work' do
|
93
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
end
|
@@ -50,6 +50,12 @@ describe 'AccessPolicyResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "creation_hooks"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "statements"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'AccessPolicy' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "creation_hooks"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "statements"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::GroupRoleResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GroupRoleResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::GroupRoleResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GroupRoleResponse' do
|
31
|
+
it 'should create an instance of GroupRoleResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::GroupRoleResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "role"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "content_object"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -14,31 +14,31 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpcoreClient::
|
17
|
+
# Unit tests for PulpcoreClient::GroupRole
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'GroupRole' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpcoreClient::
|
23
|
+
@instance = PulpcoreClient::GroupRole.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpcoreClient::
|
30
|
+
describe 'test an instance of GroupRole' do
|
31
|
+
it 'should create an instance of GroupRole' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::GroupRole)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "role"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "content_object"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::MyPermissionsResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MyPermissionsResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::MyPermissionsResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MyPermissionsResponse' do
|
31
|
+
it 'should create an instance of MyPermissionsResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::MyPermissionsResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "permissions"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::NestedRoleResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NestedRoleResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::NestedRoleResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NestedRoleResponse' do
|
31
|
+
it 'should create an instance of NestedRoleResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::NestedRoleResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "users"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "groups"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "role"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::NestedRole
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NestedRole' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::NestedRole.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NestedRole' do
|
31
|
+
it 'should create an instance of NestedRole' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::NestedRole)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "users"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "groups"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "role"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::ObjectRolesResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ObjectRolesResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::ObjectRolesResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ObjectRolesResponse' do
|
31
|
+
it 'should create an instance of ObjectRolesResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::ObjectRolesResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "roles"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::PaginatedGroupRoleResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedGroupRoleResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::PaginatedGroupRoleResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedGroupRoleResponseList' do
|
31
|
+
it 'should create an instance of PaginatedGroupRoleResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::PaginatedGroupRoleResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::PaginatedRoleResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedRoleResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::PaginatedRoleResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedRoleResponseList' do
|
31
|
+
it 'should create an instance of PaginatedRoleResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::PaginatedRoleResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::PaginatedUserRoleResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedUserRoleResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::PaginatedUserRoleResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedUserRoleResponseList' do
|
31
|
+
it 'should create an instance of PaginatedUserRoleResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::PaginatedUserRoleResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -38,6 +38,12 @@ describe 'PatchedAccessPolicy' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "creation_hooks"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "statements"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpcoreClient::PatchedRole
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PatchedRole' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpcoreClient::PatchedRole.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PatchedRole' do
|
31
|
+
it 'should create an instance of PatchedRole' do
|
32
|
+
expect(@instance).to be_instance_of(PulpcoreClient::PatchedRole)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "description"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "permissions"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|