pulp_container_client 2.14.14 → 2.14.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
@@ -32,87 +32,85 @@ describe 'TaskSchedulesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for task_schedules_add_role
|
36
36
|
# Add a role for this object to users/groups.
|
37
37
|
# @param task_schedule_href
|
38
38
|
# @param nested_role
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NestedRoleResponse]
|
41
|
-
describe '
|
41
|
+
describe 'task_schedules_add_role test' 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
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
47
|
+
# unit tests for task_schedules_list
|
48
48
|
# List task schedules
|
49
|
-
# ViewSet to monitor task schedules.
|
49
|
+
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
52
|
# @option opts [String] :name Filter results where name matches value
|
53
53
|
# @option opts [String] :name__contains Filter results where name contains value
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
56
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
58
56
|
# @option opts [String] :task_name Filter results where task_name matches value
|
59
57
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
60
58
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
59
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
60
|
# @return [PaginatedTaskScheduleResponseList]
|
63
|
-
describe '
|
61
|
+
describe 'task_schedules_list test' do
|
64
62
|
it 'should work' do
|
65
63
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
64
|
end
|
67
65
|
end
|
68
66
|
|
69
|
-
# unit tests for
|
67
|
+
# unit tests for task_schedules_list_roles
|
70
68
|
# List roles assigned to this object.
|
71
69
|
# @param task_schedule_href
|
72
70
|
# @param [Hash] opts the optional parameters
|
73
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
73
|
# @return [ObjectRolesResponse]
|
76
|
-
describe '
|
74
|
+
describe 'task_schedules_list_roles test' do
|
77
75
|
it 'should work' do
|
78
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
77
|
end
|
80
78
|
end
|
81
79
|
|
82
|
-
# unit tests for
|
80
|
+
# unit tests for task_schedules_my_permissions
|
83
81
|
# List permissions available to the current user on this object.
|
84
82
|
# @param task_schedule_href
|
85
83
|
# @param [Hash] opts the optional parameters
|
86
84
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
87
85
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
88
86
|
# @return [MyPermissionsResponse]
|
89
|
-
describe '
|
87
|
+
describe 'task_schedules_my_permissions test' do
|
90
88
|
it 'should work' do
|
91
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
90
|
end
|
93
91
|
end
|
94
92
|
|
95
|
-
# unit tests for
|
93
|
+
# unit tests for task_schedules_read
|
96
94
|
# Inspect a task schedule
|
97
|
-
# ViewSet to monitor task schedules.
|
95
|
+
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
98
96
|
# @param task_schedule_href
|
99
97
|
# @param [Hash] opts the optional parameters
|
100
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
100
|
# @return [TaskScheduleResponse]
|
103
|
-
describe '
|
101
|
+
describe 'task_schedules_read test' do
|
104
102
|
it 'should work' do
|
105
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
104
|
end
|
107
105
|
end
|
108
106
|
|
109
|
-
# unit tests for
|
107
|
+
# unit tests for task_schedules_remove_role
|
110
108
|
# Remove a role for this object from users/groups.
|
111
109
|
# @param task_schedule_href
|
112
110
|
# @param nested_role
|
113
111
|
# @param [Hash] opts the optional parameters
|
114
112
|
# @return [NestedRoleResponse]
|
115
|
-
describe '
|
113
|
+
describe 'task_schedules_remove_role test' do
|
116
114
|
it 'should work' do
|
117
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
118
116
|
end
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -32,31 +32,44 @@ describe 'TasksApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for tasks_add_role
|
36
36
|
# Add a role for this object to users/groups.
|
37
37
|
# @param task_href
|
38
38
|
# @param nested_role
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NestedRoleResponse]
|
41
|
-
describe '
|
41
|
+
describe 'tasks_add_role test' 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
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
47
|
+
# unit tests for tasks_cancel
|
48
|
+
# Cancel a task
|
49
|
+
# This operation cancels a task.
|
50
|
+
# @param task_href
|
51
|
+
# @param patched_task_cancel
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [TaskResponse]
|
54
|
+
describe 'tasks_cancel 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 tasks_delete
|
48
61
|
# Delete a task
|
49
62
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
50
63
|
# @param task_href
|
51
64
|
# @param [Hash] opts the optional parameters
|
52
65
|
# @return [nil]
|
53
|
-
describe '
|
66
|
+
describe 'tasks_delete test' do
|
54
67
|
it 'should work' do
|
55
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
69
|
end
|
57
70
|
end
|
58
71
|
|
59
|
-
# unit tests for
|
72
|
+
# unit tests for tasks_list
|
60
73
|
# List tasks
|
61
74
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
62
75
|
# @param [Hash] opts the optional parameters
|
@@ -77,10 +90,8 @@ describe 'TasksApi' do
|
|
77
90
|
# @option opts [String] :name__contains Filter results where name contains value
|
78
91
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
79
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
|
-
# @option opts [Array<String>] :ordering Ordering
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
81
94
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
82
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
83
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
84
95
|
# @option opts [String] :reserved_resources
|
85
96
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
86
97
|
# @option opts [Array<String>] :reserved_resources_record
|
@@ -92,7 +103,7 @@ describe 'TasksApi' do
|
|
92
103
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
93
104
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
94
105
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
95
|
-
# @option opts [String] :state Filter results where state matches value
|
106
|
+
# @option opts [String] :state Filter results where state matches value
|
96
107
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
97
108
|
# @option opts [String] :task_group Filter results where task_group matches value
|
98
109
|
# @option opts [String] :worker Filter results where worker matches value
|
@@ -100,51 +111,51 @@ describe 'TasksApi' do
|
|
100
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
113
|
# @return [PaginatedTaskResponseList]
|
103
|
-
describe '
|
114
|
+
describe 'tasks_list test' do
|
104
115
|
it 'should work' do
|
105
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
117
|
end
|
107
118
|
end
|
108
119
|
|
109
|
-
# unit tests for
|
120
|
+
# unit tests for tasks_list_roles
|
110
121
|
# List roles assigned to this object.
|
111
122
|
# @param task_href
|
112
123
|
# @param [Hash] opts the optional parameters
|
113
124
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
114
125
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
126
|
# @return [ObjectRolesResponse]
|
116
|
-
describe '
|
127
|
+
describe 'tasks_list_roles test' do
|
117
128
|
it 'should work' do
|
118
129
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
130
|
end
|
120
131
|
end
|
121
132
|
|
122
|
-
# unit tests for
|
133
|
+
# unit tests for tasks_my_permissions
|
123
134
|
# List permissions available to the current user on this object.
|
124
135
|
# @param task_href
|
125
136
|
# @param [Hash] opts the optional parameters
|
126
137
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
127
138
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
128
139
|
# @return [MyPermissionsResponse]
|
129
|
-
describe '
|
140
|
+
describe 'tasks_my_permissions test' do
|
130
141
|
it 'should work' do
|
131
142
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
143
|
end
|
133
144
|
end
|
134
145
|
|
135
|
-
# unit tests for
|
146
|
+
# unit tests for tasks_purge
|
136
147
|
# Purge Completed Tasks
|
137
|
-
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
148
|
+
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp (tech-preview, may change in the future).
|
138
149
|
# @param purge
|
139
150
|
# @param [Hash] opts the optional parameters
|
140
151
|
# @return [AsyncOperationResponse]
|
141
|
-
describe '
|
152
|
+
describe 'tasks_purge test' do
|
142
153
|
it 'should work' do
|
143
154
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
155
|
end
|
145
156
|
end
|
146
157
|
|
147
|
-
# unit tests for
|
158
|
+
# unit tests for tasks_read
|
148
159
|
# Inspect a task
|
149
160
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
150
161
|
# @param task_href
|
@@ -152,32 +163,19 @@ describe 'TasksApi' do
|
|
152
163
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
153
164
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
154
165
|
# @return [TaskResponse]
|
155
|
-
describe '
|
166
|
+
describe 'tasks_read test' do
|
156
167
|
it 'should work' do
|
157
168
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
169
|
end
|
159
170
|
end
|
160
171
|
|
161
|
-
# unit tests for
|
172
|
+
# unit tests for tasks_remove_role
|
162
173
|
# Remove a role for this object from users/groups.
|
163
174
|
# @param task_href
|
164
175
|
# @param nested_role
|
165
176
|
# @param [Hash] opts the optional parameters
|
166
177
|
# @return [NestedRoleResponse]
|
167
|
-
describe '
|
168
|
-
it 'should work' do
|
169
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
# unit tests for tasks_cancel
|
174
|
-
# Cancel a task
|
175
|
-
# This operation cancels a task.
|
176
|
-
# @param task_href
|
177
|
-
# @param patched_task_cancel
|
178
|
-
# @param [Hash] opts the optional parameters
|
179
|
-
# @return [TaskResponse]
|
180
|
-
describe 'tasks_cancel test' do
|
178
|
+
describe 'tasks_remove_role test' do
|
181
179
|
it 'should work' do
|
182
180
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
183
181
|
end
|
data/spec/api/token_api_spec.rb
CHANGED
@@ -32,11 +32,11 @@ describe 'TokenApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for token_get
|
36
36
|
# Handles GET requests for the /token/ endpoint.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [nil]
|
39
|
-
describe '
|
39
|
+
describe 'token_get test' do
|
40
40
|
it 'should work' do
|
41
41
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
42
|
end
|
@@ -32,64 +32,62 @@ describe 'UploadsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for uploads_add_role
|
36
36
|
# Add a role for this object to users/groups.
|
37
37
|
# @param upload_href
|
38
38
|
# @param upload
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [NestedRoleResponse]
|
41
|
-
describe '
|
41
|
+
describe 'uploads_add_role test' 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
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
47
|
+
# unit tests for uploads_commit
|
48
48
|
# Finish an Upload
|
49
49
|
# Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
50
50
|
# @param upload_href
|
51
51
|
# @param upload_commit
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
53
|
# @return [AsyncOperationResponse]
|
54
|
-
describe '
|
54
|
+
describe 'uploads_commit test' do
|
55
55
|
it 'should work' do
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
# unit tests for
|
60
|
+
# unit tests for uploads_create
|
61
61
|
# Create an upload
|
62
62
|
# View for chunked uploads.
|
63
63
|
# @param upload
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @return [UploadResponse]
|
66
|
-
describe '
|
66
|
+
describe 'uploads_create test' do
|
67
67
|
it 'should work' do
|
68
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
# unit tests for
|
72
|
+
# unit tests for uploads_delete
|
73
73
|
# Delete an upload
|
74
74
|
# View for chunked uploads.
|
75
75
|
# @param upload_href
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
77
|
# @return [nil]
|
78
|
-
describe '
|
78
|
+
describe 'uploads_delete test' do
|
79
79
|
it 'should work' do
|
80
80
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
# unit tests for
|
84
|
+
# unit tests for uploads_list
|
85
85
|
# List uploads
|
86
86
|
# View for chunked uploads.
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @option opts [Integer] :limit Number of results to return per page.
|
89
89
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
90
|
-
# @option opts [Array<String>] :ordering Ordering
|
91
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
92
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
90
|
+
# @option opts [Array<String>] :ordering Ordering
|
93
91
|
# @option opts [Integer] :size Filter results where size matches value
|
94
92
|
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
95
93
|
# @option opts [Integer] :size__lt Filter results where size is less than value
|
@@ -97,39 +95,39 @@ describe 'UploadsApi' do
|
|
97
95
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
98
96
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
97
|
# @return [PaginatedUploadResponseList]
|
100
|
-
describe '
|
98
|
+
describe 'uploads_list test' do
|
101
99
|
it 'should work' do
|
102
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
101
|
end
|
104
102
|
end
|
105
103
|
|
106
|
-
# unit tests for
|
104
|
+
# unit tests for uploads_list_roles
|
107
105
|
# List roles assigned to this object.
|
108
106
|
# @param upload_href
|
109
107
|
# @param [Hash] opts the optional parameters
|
110
108
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
109
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
110
|
# @return [ObjectRolesResponse]
|
113
|
-
describe '
|
111
|
+
describe 'uploads_list_roles test' do
|
114
112
|
it 'should work' do
|
115
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
114
|
end
|
117
115
|
end
|
118
116
|
|
119
|
-
# unit tests for
|
117
|
+
# unit tests for uploads_my_permissions
|
120
118
|
# List permissions available to the current user on this object.
|
121
119
|
# @param upload_href
|
122
120
|
# @param [Hash] opts the optional parameters
|
123
121
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
124
122
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
125
123
|
# @return [MyPermissionsResponse]
|
126
|
-
describe '
|
124
|
+
describe 'uploads_my_permissions test' do
|
127
125
|
it 'should work' do
|
128
126
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
127
|
end
|
130
128
|
end
|
131
129
|
|
132
|
-
# unit tests for
|
130
|
+
# unit tests for uploads_read
|
133
131
|
# Inspect an upload
|
134
132
|
# View for chunked uploads.
|
135
133
|
# @param upload_href
|
@@ -137,25 +135,25 @@ describe 'UploadsApi' do
|
|
137
135
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
138
136
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
139
137
|
# @return [UploadDetailResponse]
|
140
|
-
describe '
|
138
|
+
describe 'uploads_read test' do
|
141
139
|
it 'should work' do
|
142
140
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
143
141
|
end
|
144
142
|
end
|
145
143
|
|
146
|
-
# unit tests for
|
144
|
+
# unit tests for uploads_remove_role
|
147
145
|
# Remove a role for this object from users/groups.
|
148
146
|
# @param upload_href
|
149
147
|
# @param upload
|
150
148
|
# @param [Hash] opts the optional parameters
|
151
149
|
# @return [NestedRoleResponse]
|
152
|
-
describe '
|
150
|
+
describe 'uploads_remove_role test' do
|
153
151
|
it 'should work' do
|
154
152
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
155
153
|
end
|
156
154
|
end
|
157
155
|
|
158
|
-
# unit tests for
|
156
|
+
# unit tests for uploads_update
|
159
157
|
# Upload a file chunk
|
160
158
|
# Upload a chunk for an upload.
|
161
159
|
# @param content_range The Content-Range header specifies the location of the file chunk within the file.
|
@@ -164,7 +162,7 @@ describe 'UploadsApi' do
|
|
164
162
|
# @param [Hash] opts the optional parameters
|
165
163
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
166
164
|
# @return [UploadResponse]
|
167
|
-
describe '
|
165
|
+
describe 'uploads_update test' do
|
168
166
|
it 'should work' do
|
169
167
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
168
|
end
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -32,33 +32,33 @@ describe 'UsersApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for users_create
|
36
36
|
# Create an user
|
37
|
-
# ViewSet for User.
|
37
|
+
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
38
38
|
# @param user
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [UserResponse]
|
41
|
-
describe '
|
41
|
+
describe 'users_create test' 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
|
45
45
|
end
|
46
46
|
|
47
|
-
# unit tests for
|
47
|
+
# unit tests for users_delete
|
48
48
|
# Delete an user
|
49
|
-
# ViewSet for User.
|
49
|
+
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
50
50
|
# @param auth_user_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
|
-
describe '
|
53
|
+
describe 'users_delete test' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
# unit tests for
|
59
|
+
# unit tests for users_list
|
60
60
|
# List users
|
61
|
-
# ViewSet for User.
|
61
|
+
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :email Filter results where email matches value
|
64
64
|
# @option opts [String] :email__contains Filter results where email contains value
|
@@ -79,9 +79,7 @@ describe 'UsersApi' do
|
|
79
79
|
# @option opts [Array<String>] :last_name__in Filter results where last_name is in a comma-separated list of values
|
80
80
|
# @option opts [Integer] :limit Number of results to return per page.
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
-
# @option opts [Array<String>] :ordering Ordering
|
83
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
85
83
|
# @option opts [String] :username Filter results where username matches value
|
86
84
|
# @option opts [String] :username__contains Filter results where username contains value
|
87
85
|
# @option opts [String] :username__icontains Filter results where username contains value
|
@@ -90,47 +88,47 @@ describe 'UsersApi' do
|
|
90
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
89
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
92
90
|
# @return [PaginatedUserResponseList]
|
93
|
-
describe '
|
91
|
+
describe 'users_list test' do
|
94
92
|
it 'should work' do
|
95
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
94
|
end
|
97
95
|
end
|
98
96
|
|
99
|
-
# unit tests for
|
97
|
+
# unit tests for users_partial_update
|
100
98
|
# Update an user
|
101
|
-
# ViewSet for User.
|
99
|
+
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
102
100
|
# @param auth_user_href
|
103
101
|
# @param patched_user
|
104
102
|
# @param [Hash] opts the optional parameters
|
105
103
|
# @return [UserResponse]
|
106
|
-
describe '
|
104
|
+
describe 'users_partial_update test' do
|
107
105
|
it 'should work' do
|
108
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
107
|
end
|
110
108
|
end
|
111
109
|
|
112
|
-
# unit tests for
|
110
|
+
# unit tests for users_read
|
113
111
|
# Inspect an user
|
114
|
-
# ViewSet for User.
|
112
|
+
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
115
113
|
# @param auth_user_href
|
116
114
|
# @param [Hash] opts the optional parameters
|
117
115
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
118
116
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
119
117
|
# @return [UserResponse]
|
120
|
-
describe '
|
118
|
+
describe 'users_read test' do
|
121
119
|
it 'should work' do
|
122
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
123
121
|
end
|
124
122
|
end
|
125
123
|
|
126
|
-
# unit tests for
|
124
|
+
# unit tests for users_update
|
127
125
|
# Update an user
|
128
|
-
# ViewSet for User.
|
126
|
+
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
129
127
|
# @param auth_user_href
|
130
128
|
# @param user
|
131
129
|
# @param [Hash] opts the optional parameters
|
132
130
|
# @return [UserResponse]
|
133
|
-
describe '
|
131
|
+
describe 'users_update test' do
|
134
132
|
it 'should work' do
|
135
133
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
136
134
|
end
|
@@ -32,43 +32,40 @@ describe 'UsersRolesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for users_roles_create
|
36
36
|
# Create an user role
|
37
|
-
# ViewSet for UserRole.
|
37
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
38
38
|
# @param auth_user_href
|
39
39
|
# @param user_role
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @return [UserRoleResponse]
|
42
|
-
describe '
|
42
|
+
describe 'users_roles_create test' do
|
43
43
|
it 'should work' do
|
44
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
# unit tests for
|
48
|
+
# unit tests for users_roles_delete
|
49
49
|
# Delete an user role
|
50
|
-
# ViewSet for UserRole.
|
50
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
51
51
|
# @param auth_users_user_role_href
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
53
|
# @return [nil]
|
54
|
-
describe '
|
54
|
+
describe 'users_roles_delete test' do
|
55
55
|
it 'should work' do
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
# unit tests for
|
60
|
+
# unit tests for users_roles_list
|
61
61
|
# List user roles
|
62
|
-
# ViewSet for UserRole.
|
62
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
63
63
|
# @param auth_user_href
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @option opts [String] :content_object content_object
|
66
|
-
# @option opts [String] :domain Foreign Key referenced by HREF
|
67
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
67
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
69
|
-
# @option opts [Array<String>] :ordering Ordering
|
70
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
71
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
68
|
+
# @option opts [Array<String>] :ordering Ordering
|
72
69
|
# @option opts [String] :role
|
73
70
|
# @option opts [String] :role__contains
|
74
71
|
# @option opts [String] :role__icontains
|
@@ -77,21 +74,21 @@ describe 'UsersRolesApi' do
|
|
77
74
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
78
75
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
79
76
|
# @return [PaginatedUserRoleResponseList]
|
80
|
-
describe '
|
77
|
+
describe 'users_roles_list test' do
|
81
78
|
it 'should work' do
|
82
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
80
|
end
|
84
81
|
end
|
85
82
|
|
86
|
-
# unit tests for
|
83
|
+
# unit tests for users_roles_read
|
87
84
|
# Inspect an user role
|
88
|
-
# ViewSet for UserRole.
|
85
|
+
# ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
89
86
|
# @param auth_users_user_role_href
|
90
87
|
# @param [Hash] opts the optional parameters
|
91
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
92
89
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
93
90
|
# @return [UserRoleResponse]
|
94
|
-
describe '
|
91
|
+
describe 'users_roles_read test' do
|
95
92
|
it 'should work' do
|
96
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
94
|
end
|