pulpcore_client 3.19.1 → 3.20.0
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 +4 -4
- data/README.md +93 -16
- data/docs/AccessPoliciesApi.md +2 -2
- data/docs/AccessPolicy.md +3 -1
- data/docs/AccessPolicyResponse.md +3 -1
- data/docs/AcsApi.md +417 -0
- data/docs/AlternateContentSource.md +23 -0
- data/docs/AlternateContentSourceResponse.md +27 -0
- data/docs/ArtifactsApi.md +2 -2
- data/docs/ContentApi.md +117 -3
- data/docs/ContentGuard.md +19 -0
- data/docs/ContentguardsApi.md +282 -3
- data/docs/ContentguardsContentRedirectApi.md +230 -2
- data/docs/ContentguardsRbacApi.md +2 -2
- data/docs/Distribution.md +25 -0
- data/docs/DistributionsApi.md +283 -3
- data/docs/Export.md +17 -0
- data/docs/ExportResponse.md +25 -0
- data/docs/Exporter.md +17 -0
- data/docs/ExporterResponse.md +21 -0
- data/docs/ExportersApi.md +362 -0
- data/docs/{GroupsModelPermissionsApi.md → ExportersExportsApi.md} +46 -48
- data/docs/ExportersFilesystemApi.md +2 -2
- data/docs/ExportersFilesystemExportsApi.md +0 -2
- data/docs/ExportersPulpApi.md +2 -2
- data/docs/ExportersPulpExportsApi.md +0 -2
- data/docs/GroupRole.md +1 -1
- data/docs/GroupRoleResponse.md +6 -2
- data/docs/GroupsApi.md +2 -2
- data/docs/GroupsRolesApi.md +2 -2
- data/docs/GroupsUsersApi.md +0 -2
- data/docs/Import.md +19 -0
- data/docs/Importer.md +17 -0
- data/docs/ImporterResponse.md +21 -0
- data/docs/ImportersApi.md +361 -0
- data/docs/{GroupsObjectPermissionsApi.md → ImportersImportsApi.md} +46 -48
- data/docs/ImportersPulpApi.md +2 -2
- data/docs/ImportersPulpImportsApi.md +0 -2
- data/docs/MultipleArtifactContent.md +17 -0
- data/docs/OrphansCleanup.md +1 -1
- data/docs/PaginatedAlternateContentSourceResponseList.md +23 -0
- data/docs/{PaginatedPermissionResponseList.md → PaginatedExportResponseList.md} +3 -3
- data/docs/PaginatedExporterResponseList.md +23 -0
- data/docs/PaginatedImporterResponseList.md +23 -0
- data/docs/PaginatedRemoteResponseList.md +23 -0
- data/docs/PatchedAccessPolicy.md +3 -1
- data/docs/PatchedAlternateContentSource.md +23 -0
- data/docs/PatchedContentGuard.md +19 -0
- data/docs/PatchedDistribution.md +25 -0
- data/docs/PatchedExporter.md +17 -0
- data/docs/PatchedImporter.md +17 -0
- data/docs/PatchedRemote.md +57 -0
- data/docs/PatchedRepository.md +25 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsApi.md +117 -2
- data/docs/Remote.md +57 -0
- data/docs/RemoteResponse.md +53 -0
- data/docs/RemotesApi.md +376 -0
- data/docs/RepositoriesApi.md +283 -3
- data/docs/RepositoriesVersionsApi.md +271 -0
- data/docs/Repository.md +25 -0
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +6 -2
- data/docs/SigningServicesApi.md +0 -2
- data/docs/TaskGroupsApi.md +2 -2
- data/docs/TaskSchedulesApi.md +2 -2
- data/docs/TasksApi.md +2 -2
- data/docs/UploadsApi.md +0 -2
- data/docs/UserRole.md +1 -1
- data/docs/UserRoleResponse.md +6 -2
- data/docs/UsersApi.md +2 -61
- data/docs/UsersRolesApi.md +2 -2
- data/docs/VersionResponse.md +3 -1
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client/api/access_policies_api.rb +7 -3
- data/lib/pulpcore_client/api/acs_api.rb +514 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +7 -3
- data/lib/pulpcore_client/api/content_api.rb +141 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +341 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +275 -3
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +7 -3
- data/lib/pulpcore_client/api/distributions_api.rb +343 -5
- data/lib/pulpcore_client/api/exporters_api.rb +446 -0
- data/lib/pulpcore_client/api/{groups_model_permissions_api.rb → exporters_exports_api.rb} +76 -79
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/groups_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_api.rb +444 -0
- data/lib/pulpcore_client/api/{groups_object_permissions_api.rb → importers_imports_api.rb} +76 -79
- data/lib/pulpcore_client/api/importers_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +138 -3
- data/lib/pulpcore_client/api/remotes_api.rb +467 -0
- data/lib/pulpcore_client/api/repositories_api.rb +343 -5
- data/lib/pulpcore_client/api/repositories_versions_api.rb +343 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +7 -0
- data/lib/pulpcore_client/api/roles_api.rb +13 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +7 -3
- data/lib/pulpcore_client/api/task_schedules_api.rb +7 -3
- data/lib/pulpcore_client/api/tasks_api.rb +7 -3
- data/lib/pulpcore_client/api/uploads_api.rb +0 -3
- data/lib/pulpcore_client/api/users_api.rb +7 -69
- data/lib/pulpcore_client/api/users_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/workers_api.rb +7 -3
- data/lib/pulpcore_client/models/access_policy.rb +14 -4
- data/lib/pulpcore_client/models/access_policy_response.rb +14 -4
- data/lib/pulpcore_client/models/alternate_content_source.rb +270 -0
- data/lib/pulpcore_client/models/alternate_content_source_response.rb +270 -0
- data/lib/pulpcore_client/models/content_guard.rb +258 -0
- data/lib/pulpcore_client/models/distribution.rb +297 -0
- data/lib/pulpcore_client/models/export.rb +209 -0
- data/lib/pulpcore_client/models/export_response.rb +250 -0
- data/lib/pulpcore_client/models/exporter.rb +232 -0
- data/lib/pulpcore_client/models/{permission_response.rb → exporter_response.rb} +24 -27
- data/lib/pulpcore_client/models/group_role.rb +1 -1
- data/lib/pulpcore_client/models/group_role_response.rb +26 -6
- data/lib/pulpcore_client/models/import.rb +228 -0
- data/lib/pulpcore_client/models/importer.rb +232 -0
- data/lib/pulpcore_client/models/importer_response.rb +232 -0
- data/lib/pulpcore_client/models/multiple_artifact_content.rb +213 -0
- data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -2
- data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +237 -0
- data/lib/pulpcore_client/models/{paginated_permission_response_list.rb → paginated_export_response_list.rb} +4 -4
- data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_importer_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_remote_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_access_policy.rb +14 -4
- data/lib/pulpcore_client/models/patched_alternate_content_source.rb +256 -0
- data/lib/pulpcore_client/models/patched_content_guard.rb +249 -0
- data/lib/pulpcore_client/models/patched_distribution.rb +279 -0
- data/lib/pulpcore_client/models/patched_exporter.rb +223 -0
- data/lib/pulpcore_client/models/patched_importer.rb +223 -0
- data/lib/pulpcore_client/models/patched_remote.rb +649 -0
- data/lib/pulpcore_client/models/patched_repository.rb +295 -0
- data/lib/pulpcore_client/models/policy_enum.rb +36 -0
- data/lib/pulpcore_client/models/remote.rb +667 -0
- data/lib/pulpcore_client/models/remote_response.rb +483 -0
- data/lib/pulpcore_client/models/repository.rb +304 -0
- data/lib/pulpcore_client/models/user_role.rb +1 -1
- data/lib/pulpcore_client/models/user_role_response.rb +26 -6
- data/lib/pulpcore_client/models/version_response.rb +19 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +35 -4
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/acs_api_spec.rb +132 -0
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/content_api_spec.rb +28 -2
- data/spec/api/contentguards_api_spec.rb +66 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +51 -1
- data/spec/api/contentguards_rbac_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +66 -2
- data/spec/api/exporters_api_spec.rb +120 -0
- data/spec/api/{groups_model_permissions_api_spec.rb → exporters_exports_api_spec.rb} +22 -23
- data/spec/api/exporters_filesystem_api_spec.rb +1 -1
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -1
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/groups_roles_api_spec.rb +1 -1
- data/spec/api/groups_users_api_spec.rb +0 -1
- data/spec/api/importers_api_spec.rb +120 -0
- data/spec/api/{groups_object_permissions_api_spec.rb → importers_imports_api_spec.rb} +22 -23
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +28 -1
- data/spec/api/remotes_api_spec.rb +127 -0
- data/spec/api/repositories_api_spec.rb +66 -2
- data/spec/api/repositories_versions_api_spec.rb +104 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +3 -1
- data/spec/api/signing_services_api_spec.rb +0 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/task_schedules_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +0 -1
- data/spec/api/users_api_spec.rb +1 -14
- data/spec/api/users_roles_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/access_policy_spec.rb +6 -0
- data/spec/models/alternate_content_source_response_spec.rb +71 -0
- data/spec/models/{permission_response_spec.rb → alternate_content_source_spec.rb} +10 -10
- data/spec/models/content_guard_spec.rb +47 -0
- data/spec/models/distribution_spec.rb +65 -0
- data/spec/models/export_response_spec.rb +65 -0
- data/spec/models/export_spec.rb +41 -0
- data/spec/models/exporter_response_spec.rb +53 -0
- data/spec/models/exporter_spec.rb +41 -0
- data/spec/models/group_role_response_spec.rb +12 -0
- data/spec/models/import_spec.rb +47 -0
- data/spec/models/importer_response_spec.rb +53 -0
- data/spec/models/importer_spec.rb +41 -0
- data/spec/models/multiple_artifact_content_spec.rb +41 -0
- data/spec/models/paginated_alternate_content_source_response_list_spec.rb +59 -0
- data/spec/models/{paginated_permission_response_list_spec.rb → paginated_export_response_list_spec.rb} +6 -6
- data/spec/models/paginated_exporter_response_list_spec.rb +59 -0
- data/spec/models/paginated_importer_response_list_spec.rb +59 -0
- data/spec/models/paginated_remote_response_list_spec.rb +59 -0
- data/spec/models/patched_access_policy_spec.rb +6 -0
- data/spec/models/patched_alternate_content_source_spec.rb +59 -0
- data/spec/models/patched_content_guard_spec.rb +47 -0
- data/spec/models/patched_distribution_spec.rb +65 -0
- data/spec/models/patched_exporter_spec.rb +41 -0
- data/spec/models/patched_importer_spec.rb +41 -0
- data/spec/models/patched_remote_spec.rb +161 -0
- data/spec/models/patched_repository_spec.rb +65 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/remote_response_spec.rb +149 -0
- data/spec/models/remote_spec.rb +161 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/user_role_response_spec.rb +12 -0
- data/spec/models/version_response_spec.rb +6 -0
- metadata +263 -139
- data/docs/PermissionResponse.md +0 -23
|
@@ -0,0 +1,132 @@
|
|
|
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::AcsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'AcsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::AcsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of AcsApi' do
|
|
30
|
+
it 'should create an instance of AcsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::AcsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create an alternate content source
|
|
37
|
+
# A class for ACS viewset.
|
|
38
|
+
# @param alternate_content_source
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [AlternateContentSourceResponse]
|
|
41
|
+
describe 'create test' 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
|
+
# unit tests for delete
|
|
48
|
+
# Delete an alternate content source
|
|
49
|
+
# Trigger an asynchronous delete ACS task
|
|
50
|
+
# @param alternate_content_source_href
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AsyncOperationResponse]
|
|
53
|
+
describe 'delete test' 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
|
+
# unit tests for list
|
|
60
|
+
# List acs
|
|
61
|
+
# A class for ACS viewset.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
+
# @option opts [String] :name
|
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
71
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
73
|
+
# @return [PaginatedAlternateContentSourceResponseList]
|
|
74
|
+
describe 'list test' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# unit tests for partial_update
|
|
81
|
+
# Update an alternate content source
|
|
82
|
+
# Trigger an asynchronous partial update task
|
|
83
|
+
# @param alternate_content_source_href
|
|
84
|
+
# @param patched_alternate_content_source
|
|
85
|
+
# @param [Hash] opts the optional parameters
|
|
86
|
+
# @return [AsyncOperationResponse]
|
|
87
|
+
describe 'partial_update test' do
|
|
88
|
+
it 'should work' do
|
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# unit tests for read
|
|
94
|
+
# Inspect an alternate content source
|
|
95
|
+
# A class for ACS viewset.
|
|
96
|
+
# @param alternate_content_source_href
|
|
97
|
+
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
100
|
+
# @return [AlternateContentSourceResponse]
|
|
101
|
+
describe 'read test' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# unit tests for refresh
|
|
108
|
+
# A class for ACS viewset.
|
|
109
|
+
# @param alternate_content_source_href
|
|
110
|
+
# @param alternate_content_source
|
|
111
|
+
# @param [Hash] opts the optional parameters
|
|
112
|
+
# @return [AlternateContentSourceResponse]
|
|
113
|
+
describe 'refresh test' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# unit tests for update
|
|
120
|
+
# Update an alternate content source
|
|
121
|
+
# Trigger an asynchronous update task
|
|
122
|
+
# @param alternate_content_source_href
|
|
123
|
+
# @param alternate_content_source
|
|
124
|
+
# @param [Hash] opts the optional parameters
|
|
125
|
+
# @return [AsyncOperationResponse]
|
|
126
|
+
describe 'update test' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
end
|
|
@@ -70,7 +70,7 @@ describe 'ArtifactsApi' do
|
|
|
70
70
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
71
71
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
72
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
73
|
-
# @option opts [String] :ordering
|
|
73
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
74
74
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
75
75
|
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
76
76
|
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
@@ -32,13 +32,25 @@ describe 'ContentApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a content
|
|
37
|
+
# Content viewset that supports POST and GET by default.
|
|
38
|
+
# @param multiple_artifact_content
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [MultipleArtifactContentResponse]
|
|
41
|
+
describe 'create test' 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
|
+
|
|
35
47
|
# unit tests for list
|
|
36
48
|
# List content
|
|
37
|
-
#
|
|
49
|
+
# Content viewset that supports POST and GET by default.
|
|
38
50
|
# @param [Hash] opts the optional parameters
|
|
39
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
-
# @option opts [String] :ordering
|
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
42
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
43
55
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
44
56
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -51,4 +63,18 @@ describe 'ContentApi' do
|
|
|
51
63
|
end
|
|
52
64
|
end
|
|
53
65
|
|
|
66
|
+
# unit tests for read
|
|
67
|
+
# Inspect a content
|
|
68
|
+
# Content viewset that supports POST and GET by default.
|
|
69
|
+
# @param content_href
|
|
70
|
+
# @param [Hash] opts the optional parameters
|
|
71
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
73
|
+
# @return [MultipleArtifactContentResponse]
|
|
74
|
+
describe 'read test' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
54
80
|
end
|
|
@@ -32,9 +32,33 @@ describe 'ContentguardsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a content guard
|
|
37
|
+
# A viewset for contentguards.
|
|
38
|
+
# @param content_guard
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [ContentGuardResponse]
|
|
41
|
+
describe 'create test' 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
|
+
# unit tests for delete
|
|
48
|
+
# Delete a content guard
|
|
49
|
+
# A viewset for contentguards.
|
|
50
|
+
# @param content_guard_href
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [nil]
|
|
53
|
+
describe 'delete test' 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
|
+
|
|
35
59
|
# unit tests for list
|
|
36
60
|
# List content guards
|
|
37
|
-
#
|
|
61
|
+
# A viewset for contentguards.
|
|
38
62
|
# @param [Hash] opts the optional parameters
|
|
39
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
64
|
# @option opts [String] :name
|
|
@@ -43,7 +67,7 @@ describe 'ContentguardsApi' do
|
|
|
43
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
44
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
45
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
46
|
-
# @option opts [String] :ordering
|
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
47
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
48
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
49
73
|
# @return [PaginatedContentGuardResponseList]
|
|
@@ -53,4 +77,44 @@ describe 'ContentguardsApi' do
|
|
|
53
77
|
end
|
|
54
78
|
end
|
|
55
79
|
|
|
80
|
+
# unit tests for partial_update
|
|
81
|
+
# Update a content guard
|
|
82
|
+
# A viewset for contentguards.
|
|
83
|
+
# @param content_guard_href
|
|
84
|
+
# @param patched_content_guard
|
|
85
|
+
# @param [Hash] opts the optional parameters
|
|
86
|
+
# @return [ContentGuardResponse]
|
|
87
|
+
describe 'partial_update test' do
|
|
88
|
+
it 'should work' do
|
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# unit tests for read
|
|
94
|
+
# Inspect a content guard
|
|
95
|
+
# A viewset for contentguards.
|
|
96
|
+
# @param content_guard_href
|
|
97
|
+
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
100
|
+
# @return [ContentGuardResponse]
|
|
101
|
+
describe 'read test' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# unit tests for update
|
|
108
|
+
# Update a content guard
|
|
109
|
+
# A viewset for contentguards.
|
|
110
|
+
# @param content_guard_href
|
|
111
|
+
# @param content_guard
|
|
112
|
+
# @param [Hash] opts the optional parameters
|
|
113
|
+
# @return [ContentGuardResponse]
|
|
114
|
+
describe 'update test' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
56
120
|
end
|
|
@@ -32,6 +32,18 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for add_role
|
|
36
|
+
# Add a role for this object to users/groups.
|
|
37
|
+
# @param content_redirect_content_guard_href
|
|
38
|
+
# @param nested_role
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [NestedRoleResponse]
|
|
41
|
+
describe 'add_role test' 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
|
+
|
|
35
47
|
# unit tests for create
|
|
36
48
|
# Create a content redirect content guard
|
|
37
49
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
@@ -67,7 +79,7 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
67
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
70
|
-
# @option opts [String] :ordering
|
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
71
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
84
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
73
85
|
# @return [PaginatedContentRedirectContentGuardResponseList]
|
|
@@ -77,6 +89,32 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
77
89
|
end
|
|
78
90
|
end
|
|
79
91
|
|
|
92
|
+
# unit tests for list_roles
|
|
93
|
+
# List roles assigned to this object.
|
|
94
|
+
# @param content_redirect_content_guard_href
|
|
95
|
+
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
97
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
98
|
+
# @return [ObjectRolesResponse]
|
|
99
|
+
describe 'list_roles test' do
|
|
100
|
+
it 'should work' do
|
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# unit tests for my_permissions
|
|
106
|
+
# List permissions available to the current user on this object.
|
|
107
|
+
# @param content_redirect_content_guard_href
|
|
108
|
+
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
110
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
111
|
+
# @return [MyPermissionsResponse]
|
|
112
|
+
describe 'my_permissions test' do
|
|
113
|
+
it 'should work' do
|
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
80
118
|
# unit tests for partial_update
|
|
81
119
|
# Update a content redirect content guard
|
|
82
120
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
@@ -104,6 +142,18 @@ describe 'ContentguardsContentRedirectApi' do
|
|
|
104
142
|
end
|
|
105
143
|
end
|
|
106
144
|
|
|
145
|
+
# unit tests for remove_role
|
|
146
|
+
# Remove a role for this object from users/groups.
|
|
147
|
+
# @param content_redirect_content_guard_href
|
|
148
|
+
# @param nested_role
|
|
149
|
+
# @param [Hash] opts the optional parameters
|
|
150
|
+
# @return [NestedRoleResponse]
|
|
151
|
+
describe 'remove_role test' do
|
|
152
|
+
it 'should work' do
|
|
153
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
|
|
107
157
|
# unit tests for update
|
|
108
158
|
# Update a content redirect content guard
|
|
109
159
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
@@ -79,7 +79,7 @@ describe 'ContentguardsRbacApi' do
|
|
|
79
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
82
|
-
# @option opts [String] :ordering
|
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
83
83
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
84
84
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
85
85
|
# @return [PaginatedRBACContentGuardResponseList]
|
|
@@ -32,9 +32,33 @@ describe 'DistributionsApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a distribution
|
|
37
|
+
# Trigger an asynchronous create task
|
|
38
|
+
# @param distribution
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [AsyncOperationResponse]
|
|
41
|
+
describe 'create test' 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
|
+
# unit tests for delete
|
|
48
|
+
# Delete a distribution
|
|
49
|
+
# Trigger an asynchronous delete task
|
|
50
|
+
# @param distribution_href
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AsyncOperationResponse]
|
|
53
|
+
describe 'delete test' 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
|
+
|
|
35
59
|
# unit tests for list
|
|
36
60
|
# List distributions
|
|
37
|
-
#
|
|
61
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
38
62
|
# @param [Hash] opts the optional parameters
|
|
39
63
|
# @option opts [String] :base_path
|
|
40
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
@@ -47,7 +71,7 @@ describe 'DistributionsApi' do
|
|
|
47
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
48
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
49
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
50
|
-
# @option opts [String] :ordering
|
|
74
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
51
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
52
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
53
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -58,4 +82,44 @@ describe 'DistributionsApi' do
|
|
|
58
82
|
end
|
|
59
83
|
end
|
|
60
84
|
|
|
85
|
+
# unit tests for partial_update
|
|
86
|
+
# Update a distribution
|
|
87
|
+
# Trigger an asynchronous partial update task
|
|
88
|
+
# @param distribution_href
|
|
89
|
+
# @param patched_distribution
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @return [AsyncOperationResponse]
|
|
92
|
+
describe 'partial_update test' do
|
|
93
|
+
it 'should work' do
|
|
94
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# unit tests for read
|
|
99
|
+
# Inspect a distribution
|
|
100
|
+
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
|
101
|
+
# @param distribution_href
|
|
102
|
+
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
104
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
105
|
+
# @return [DistributionResponse]
|
|
106
|
+
describe 'read test' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# unit tests for update
|
|
113
|
+
# Update a distribution
|
|
114
|
+
# Trigger an asynchronous update task
|
|
115
|
+
# @param distribution_href
|
|
116
|
+
# @param distribution
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @return [AsyncOperationResponse]
|
|
119
|
+
describe 'update test' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
61
125
|
end
|
|
@@ -0,0 +1,120 @@
|
|
|
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::ExportersApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ExportersApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpcoreClient::ExportersApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ExportersApi' do
|
|
30
|
+
it 'should create an instance of ExportersApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ExportersApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create an exporter
|
|
37
|
+
# ViewSet for viewing exporters.
|
|
38
|
+
# @param exporter
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [ExporterResponse]
|
|
41
|
+
describe 'create test' 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
|
+
# unit tests for delete
|
|
48
|
+
# Delete an exporter
|
|
49
|
+
# Trigger an asynchronous delete task
|
|
50
|
+
# @param exporter_href
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AsyncOperationResponse]
|
|
53
|
+
describe 'delete test' 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
|
+
# unit tests for list
|
|
60
|
+
# List exporters
|
|
61
|
+
# ViewSet for viewing exporters.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
+
# @option opts [String] :name
|
|
65
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
|
66
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
|
67
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
71
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
72
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
73
|
+
# @return [PaginatedExporterResponseList]
|
|
74
|
+
describe 'list test' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# unit tests for partial_update
|
|
81
|
+
# Update an exporter
|
|
82
|
+
# Trigger an asynchronous partial update task
|
|
83
|
+
# @param exporter_href
|
|
84
|
+
# @param patched_exporter
|
|
85
|
+
# @param [Hash] opts the optional parameters
|
|
86
|
+
# @return [AsyncOperationResponse]
|
|
87
|
+
describe 'partial_update test' do
|
|
88
|
+
it 'should work' do
|
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# unit tests for read
|
|
94
|
+
# Inspect an exporter
|
|
95
|
+
# ViewSet for viewing exporters.
|
|
96
|
+
# @param exporter_href
|
|
97
|
+
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
100
|
+
# @return [ExporterResponse]
|
|
101
|
+
describe 'read test' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# unit tests for update
|
|
108
|
+
# Update an exporter
|
|
109
|
+
# Trigger an asynchronous update task
|
|
110
|
+
# @param exporter_href
|
|
111
|
+
# @param exporter
|
|
112
|
+
# @param [Hash] opts the optional parameters
|
|
113
|
+
# @return [AsyncOperationResponse]
|
|
114
|
+
describe 'update test' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
end
|
|
@@ -13,32 +13,32 @@ OpenAPI Generator version: 4.3.1
|
|
|
13
13
|
require 'spec_helper'
|
|
14
14
|
require 'json'
|
|
15
15
|
|
|
16
|
-
# Unit tests for PulpcoreClient::
|
|
16
|
+
# Unit tests for PulpcoreClient::ExportersExportsApi
|
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
|
-
describe '
|
|
19
|
+
describe 'ExportersExportsApi' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@api_instance = PulpcoreClient::
|
|
22
|
+
@api_instance = PulpcoreClient::ExportersExportsApi.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
26
26
|
# run after each test
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
describe 'test an instance of
|
|
30
|
-
it 'should create an instance of
|
|
31
|
-
expect(@api_instance).to be_instance_of(PulpcoreClient::
|
|
29
|
+
describe 'test an instance of ExportersExportsApi' do
|
|
30
|
+
it 'should create an instance of ExportersExportsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpcoreClient::ExportersExportsApi)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# unit tests for create
|
|
36
|
-
# Create
|
|
37
|
-
#
|
|
38
|
-
# @param
|
|
39
|
-
# @param
|
|
36
|
+
# Create an export
|
|
37
|
+
# ViewSet for viewing exports from an Exporter.
|
|
38
|
+
# @param exporter_href
|
|
39
|
+
# @param export
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @return [
|
|
41
|
+
# @return [ExportResponse]
|
|
42
42
|
describe '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
|
|
@@ -46,9 +46,9 @@ describe 'GroupsModelPermissionsApi' do
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# unit tests for delete
|
|
49
|
-
# Delete
|
|
50
|
-
#
|
|
51
|
-
# @param
|
|
49
|
+
# Delete an export
|
|
50
|
+
# ViewSet for viewing exports from an Exporter.
|
|
51
|
+
# @param exporters_export_href
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @return [nil]
|
|
54
54
|
describe 'delete test' do
|
|
@@ -58,16 +58,15 @@ describe 'GroupsModelPermissionsApi' do
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# unit tests for list
|
|
61
|
-
# List
|
|
62
|
-
#
|
|
63
|
-
# @param
|
|
61
|
+
# List exports
|
|
62
|
+
# ViewSet for viewing exports from an Exporter.
|
|
63
|
+
# @param exporter_href
|
|
64
64
|
# @param [Hash] opts the optional parameters
|
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
68
67
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
69
68
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
70
|
-
# @return [
|
|
69
|
+
# @return [PaginatedExportResponseList]
|
|
71
70
|
describe 'list test' do
|
|
72
71
|
it 'should work' do
|
|
73
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -75,13 +74,13 @@ describe 'GroupsModelPermissionsApi' do
|
|
|
75
74
|
end
|
|
76
75
|
|
|
77
76
|
# unit tests for read
|
|
78
|
-
# Inspect
|
|
79
|
-
#
|
|
80
|
-
# @param
|
|
77
|
+
# Inspect an export
|
|
78
|
+
# ViewSet for viewing exports from an Exporter.
|
|
79
|
+
# @param exporters_export_href
|
|
81
80
|
# @param [Hash] opts the optional parameters
|
|
82
81
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
83
82
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
84
|
-
# @return [
|
|
83
|
+
# @return [ExportResponse]
|
|
85
84
|
describe 'read test' do
|
|
86
85
|
it 'should work' do
|
|
87
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|