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.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +93 -16
  3. data/docs/AccessPoliciesApi.md +2 -2
  4. data/docs/AccessPolicy.md +3 -1
  5. data/docs/AccessPolicyResponse.md +3 -1
  6. data/docs/AcsApi.md +417 -0
  7. data/docs/AlternateContentSource.md +23 -0
  8. data/docs/AlternateContentSourceResponse.md +27 -0
  9. data/docs/ArtifactsApi.md +2 -2
  10. data/docs/ContentApi.md +117 -3
  11. data/docs/ContentGuard.md +19 -0
  12. data/docs/ContentguardsApi.md +282 -3
  13. data/docs/ContentguardsContentRedirectApi.md +230 -2
  14. data/docs/ContentguardsRbacApi.md +2 -2
  15. data/docs/Distribution.md +25 -0
  16. data/docs/DistributionsApi.md +283 -3
  17. data/docs/Export.md +17 -0
  18. data/docs/ExportResponse.md +25 -0
  19. data/docs/Exporter.md +17 -0
  20. data/docs/ExporterResponse.md +21 -0
  21. data/docs/ExportersApi.md +362 -0
  22. data/docs/{GroupsModelPermissionsApi.md → ExportersExportsApi.md} +46 -48
  23. data/docs/ExportersFilesystemApi.md +2 -2
  24. data/docs/ExportersFilesystemExportsApi.md +0 -2
  25. data/docs/ExportersPulpApi.md +2 -2
  26. data/docs/ExportersPulpExportsApi.md +0 -2
  27. data/docs/GroupRole.md +1 -1
  28. data/docs/GroupRoleResponse.md +6 -2
  29. data/docs/GroupsApi.md +2 -2
  30. data/docs/GroupsRolesApi.md +2 -2
  31. data/docs/GroupsUsersApi.md +0 -2
  32. data/docs/Import.md +19 -0
  33. data/docs/Importer.md +17 -0
  34. data/docs/ImporterResponse.md +21 -0
  35. data/docs/ImportersApi.md +361 -0
  36. data/docs/{GroupsObjectPermissionsApi.md → ImportersImportsApi.md} +46 -48
  37. data/docs/ImportersPulpApi.md +2 -2
  38. data/docs/ImportersPulpImportsApi.md +0 -2
  39. data/docs/MultipleArtifactContent.md +17 -0
  40. data/docs/OrphansCleanup.md +1 -1
  41. data/docs/PaginatedAlternateContentSourceResponseList.md +23 -0
  42. data/docs/{PaginatedPermissionResponseList.md → PaginatedExportResponseList.md} +3 -3
  43. data/docs/PaginatedExporterResponseList.md +23 -0
  44. data/docs/PaginatedImporterResponseList.md +23 -0
  45. data/docs/PaginatedRemoteResponseList.md +23 -0
  46. data/docs/PatchedAccessPolicy.md +3 -1
  47. data/docs/PatchedAlternateContentSource.md +23 -0
  48. data/docs/PatchedContentGuard.md +19 -0
  49. data/docs/PatchedDistribution.md +25 -0
  50. data/docs/PatchedExporter.md +17 -0
  51. data/docs/PatchedImporter.md +17 -0
  52. data/docs/PatchedRemote.md +57 -0
  53. data/docs/PatchedRepository.md +25 -0
  54. data/docs/PolicyEnum.md +16 -0
  55. data/docs/PublicationsApi.md +117 -2
  56. data/docs/Remote.md +57 -0
  57. data/docs/RemoteResponse.md +53 -0
  58. data/docs/RemotesApi.md +376 -0
  59. data/docs/RepositoriesApi.md +283 -3
  60. data/docs/RepositoriesVersionsApi.md +271 -0
  61. data/docs/Repository.md +25 -0
  62. data/docs/RepositoryVersionsApi.md +2 -0
  63. data/docs/RolesApi.md +6 -2
  64. data/docs/SigningServicesApi.md +0 -2
  65. data/docs/TaskGroupsApi.md +2 -2
  66. data/docs/TaskSchedulesApi.md +2 -2
  67. data/docs/TasksApi.md +2 -2
  68. data/docs/UploadsApi.md +0 -2
  69. data/docs/UserRole.md +1 -1
  70. data/docs/UserRoleResponse.md +6 -2
  71. data/docs/UsersApi.md +2 -61
  72. data/docs/UsersRolesApi.md +2 -2
  73. data/docs/VersionResponse.md +3 -1
  74. data/docs/WorkersApi.md +2 -2
  75. data/lib/pulpcore_client/api/access_policies_api.rb +7 -3
  76. data/lib/pulpcore_client/api/acs_api.rb +514 -0
  77. data/lib/pulpcore_client/api/artifacts_api.rb +7 -3
  78. data/lib/pulpcore_client/api/content_api.rb +141 -5
  79. data/lib/pulpcore_client/api/contentguards_api.rb +341 -5
  80. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +275 -3
  81. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +7 -3
  82. data/lib/pulpcore_client/api/distributions_api.rb +343 -5
  83. data/lib/pulpcore_client/api/exporters_api.rb +446 -0
  84. data/lib/pulpcore_client/api/{groups_model_permissions_api.rb → exporters_exports_api.rb} +76 -79
  85. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +7 -3
  86. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -3
  87. data/lib/pulpcore_client/api/exporters_pulp_api.rb +7 -3
  88. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -3
  89. data/lib/pulpcore_client/api/groups_api.rb +7 -3
  90. data/lib/pulpcore_client/api/groups_roles_api.rb +7 -3
  91. data/lib/pulpcore_client/api/groups_users_api.rb +0 -3
  92. data/lib/pulpcore_client/api/importers_api.rb +444 -0
  93. data/lib/pulpcore_client/api/{groups_object_permissions_api.rb → importers_imports_api.rb} +76 -79
  94. data/lib/pulpcore_client/api/importers_pulp_api.rb +7 -3
  95. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -3
  96. data/lib/pulpcore_client/api/publications_api.rb +138 -3
  97. data/lib/pulpcore_client/api/remotes_api.rb +467 -0
  98. data/lib/pulpcore_client/api/repositories_api.rb +343 -5
  99. data/lib/pulpcore_client/api/repositories_versions_api.rb +343 -0
  100. data/lib/pulpcore_client/api/repository_versions_api.rb +7 -0
  101. data/lib/pulpcore_client/api/roles_api.rb +13 -3
  102. data/lib/pulpcore_client/api/signing_services_api.rb +0 -3
  103. data/lib/pulpcore_client/api/task_groups_api.rb +7 -3
  104. data/lib/pulpcore_client/api/task_schedules_api.rb +7 -3
  105. data/lib/pulpcore_client/api/tasks_api.rb +7 -3
  106. data/lib/pulpcore_client/api/uploads_api.rb +0 -3
  107. data/lib/pulpcore_client/api/users_api.rb +7 -69
  108. data/lib/pulpcore_client/api/users_roles_api.rb +7 -3
  109. data/lib/pulpcore_client/api/workers_api.rb +7 -3
  110. data/lib/pulpcore_client/models/access_policy.rb +14 -4
  111. data/lib/pulpcore_client/models/access_policy_response.rb +14 -4
  112. data/lib/pulpcore_client/models/alternate_content_source.rb +270 -0
  113. data/lib/pulpcore_client/models/alternate_content_source_response.rb +270 -0
  114. data/lib/pulpcore_client/models/content_guard.rb +258 -0
  115. data/lib/pulpcore_client/models/distribution.rb +297 -0
  116. data/lib/pulpcore_client/models/export.rb +209 -0
  117. data/lib/pulpcore_client/models/export_response.rb +250 -0
  118. data/lib/pulpcore_client/models/exporter.rb +232 -0
  119. data/lib/pulpcore_client/models/{permission_response.rb → exporter_response.rb} +24 -27
  120. data/lib/pulpcore_client/models/group_role.rb +1 -1
  121. data/lib/pulpcore_client/models/group_role_response.rb +26 -6
  122. data/lib/pulpcore_client/models/import.rb +228 -0
  123. data/lib/pulpcore_client/models/importer.rb +232 -0
  124. data/lib/pulpcore_client/models/importer_response.rb +232 -0
  125. data/lib/pulpcore_client/models/multiple_artifact_content.rb +213 -0
  126. data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -2
  127. data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +237 -0
  128. data/lib/pulpcore_client/models/{paginated_permission_response_list.rb → paginated_export_response_list.rb} +4 -4
  129. data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +237 -0
  130. data/lib/pulpcore_client/models/paginated_importer_response_list.rb +237 -0
  131. data/lib/pulpcore_client/models/paginated_remote_response_list.rb +237 -0
  132. data/lib/pulpcore_client/models/patched_access_policy.rb +14 -4
  133. data/lib/pulpcore_client/models/patched_alternate_content_source.rb +256 -0
  134. data/lib/pulpcore_client/models/patched_content_guard.rb +249 -0
  135. data/lib/pulpcore_client/models/patched_distribution.rb +279 -0
  136. data/lib/pulpcore_client/models/patched_exporter.rb +223 -0
  137. data/lib/pulpcore_client/models/patched_importer.rb +223 -0
  138. data/lib/pulpcore_client/models/patched_remote.rb +649 -0
  139. data/lib/pulpcore_client/models/patched_repository.rb +295 -0
  140. data/lib/pulpcore_client/models/policy_enum.rb +36 -0
  141. data/lib/pulpcore_client/models/remote.rb +667 -0
  142. data/lib/pulpcore_client/models/remote_response.rb +483 -0
  143. data/lib/pulpcore_client/models/repository.rb +304 -0
  144. data/lib/pulpcore_client/models/user_role.rb +1 -1
  145. data/lib/pulpcore_client/models/user_role_response.rb +26 -6
  146. data/lib/pulpcore_client/models/version_response.rb +19 -4
  147. data/lib/pulpcore_client/version.rb +1 -1
  148. data/lib/pulpcore_client.rb +35 -4
  149. data/spec/api/access_policies_api_spec.rb +1 -1
  150. data/spec/api/acs_api_spec.rb +132 -0
  151. data/spec/api/artifacts_api_spec.rb +1 -1
  152. data/spec/api/content_api_spec.rb +28 -2
  153. data/spec/api/contentguards_api_spec.rb +66 -2
  154. data/spec/api/contentguards_content_redirect_api_spec.rb +51 -1
  155. data/spec/api/contentguards_rbac_api_spec.rb +1 -1
  156. data/spec/api/distributions_api_spec.rb +66 -2
  157. data/spec/api/exporters_api_spec.rb +120 -0
  158. data/spec/api/{groups_model_permissions_api_spec.rb → exporters_exports_api_spec.rb} +22 -23
  159. data/spec/api/exporters_filesystem_api_spec.rb +1 -1
  160. data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -1
  161. data/spec/api/exporters_pulp_api_spec.rb +1 -1
  162. data/spec/api/exporters_pulp_exports_api_spec.rb +0 -1
  163. data/spec/api/groups_api_spec.rb +1 -1
  164. data/spec/api/groups_roles_api_spec.rb +1 -1
  165. data/spec/api/groups_users_api_spec.rb +0 -1
  166. data/spec/api/importers_api_spec.rb +120 -0
  167. data/spec/api/{groups_object_permissions_api_spec.rb → importers_imports_api_spec.rb} +22 -23
  168. data/spec/api/importers_pulp_api_spec.rb +1 -1
  169. data/spec/api/importers_pulp_imports_api_spec.rb +0 -1
  170. data/spec/api/publications_api_spec.rb +28 -1
  171. data/spec/api/remotes_api_spec.rb +127 -0
  172. data/spec/api/repositories_api_spec.rb +66 -2
  173. data/spec/api/repositories_versions_api_spec.rb +104 -0
  174. data/spec/api/repository_versions_api_spec.rb +1 -0
  175. data/spec/api/roles_api_spec.rb +3 -1
  176. data/spec/api/signing_services_api_spec.rb +0 -1
  177. data/spec/api/task_groups_api_spec.rb +1 -1
  178. data/spec/api/task_schedules_api_spec.rb +1 -1
  179. data/spec/api/tasks_api_spec.rb +1 -1
  180. data/spec/api/uploads_api_spec.rb +0 -1
  181. data/spec/api/users_api_spec.rb +1 -14
  182. data/spec/api/users_roles_api_spec.rb +1 -1
  183. data/spec/api/workers_api_spec.rb +1 -1
  184. data/spec/models/access_policy_response_spec.rb +6 -0
  185. data/spec/models/access_policy_spec.rb +6 -0
  186. data/spec/models/alternate_content_source_response_spec.rb +71 -0
  187. data/spec/models/{permission_response_spec.rb → alternate_content_source_spec.rb} +10 -10
  188. data/spec/models/content_guard_spec.rb +47 -0
  189. data/spec/models/distribution_spec.rb +65 -0
  190. data/spec/models/export_response_spec.rb +65 -0
  191. data/spec/models/export_spec.rb +41 -0
  192. data/spec/models/exporter_response_spec.rb +53 -0
  193. data/spec/models/exporter_spec.rb +41 -0
  194. data/spec/models/group_role_response_spec.rb +12 -0
  195. data/spec/models/import_spec.rb +47 -0
  196. data/spec/models/importer_response_spec.rb +53 -0
  197. data/spec/models/importer_spec.rb +41 -0
  198. data/spec/models/multiple_artifact_content_spec.rb +41 -0
  199. data/spec/models/paginated_alternate_content_source_response_list_spec.rb +59 -0
  200. data/spec/models/{paginated_permission_response_list_spec.rb → paginated_export_response_list_spec.rb} +6 -6
  201. data/spec/models/paginated_exporter_response_list_spec.rb +59 -0
  202. data/spec/models/paginated_importer_response_list_spec.rb +59 -0
  203. data/spec/models/paginated_remote_response_list_spec.rb +59 -0
  204. data/spec/models/patched_access_policy_spec.rb +6 -0
  205. data/spec/models/patched_alternate_content_source_spec.rb +59 -0
  206. data/spec/models/patched_content_guard_spec.rb +47 -0
  207. data/spec/models/patched_distribution_spec.rb +65 -0
  208. data/spec/models/patched_exporter_spec.rb +41 -0
  209. data/spec/models/patched_importer_spec.rb +41 -0
  210. data/spec/models/patched_remote_spec.rb +161 -0
  211. data/spec/models/patched_repository_spec.rb +65 -0
  212. data/spec/models/policy_enum_spec.rb +35 -0
  213. data/spec/models/remote_response_spec.rb +149 -0
  214. data/spec/models/remote_spec.rb +161 -0
  215. data/spec/models/repository_spec.rb +65 -0
  216. data/spec/models/user_role_response_spec.rb +12 -0
  217. data/spec/models/version_response_spec.rb +6 -0
  218. metadata +263 -139
  219. data/docs/PermissionResponse.md +0 -23
@@ -67,7 +67,7 @@ describe 'ExportersFilesystemApi' do
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [String] :ordering Which field to use when ordering the results.
70
+ # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :fields A list of fields to include in the response.
72
72
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
73
  # @return [PaginatedFilesystemExporterResponseList]
@@ -64,7 +64,6 @@ describe 'ExportersFilesystemExportsApi' do
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
69
  # @return [PaginatedFilesystemExportResponseList]
@@ -67,7 +67,7 @@ describe 'ExportersPulpApi' do
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [String] :ordering Which field to use when ordering the results.
70
+ # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :fields A list of fields to include in the response.
72
72
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
73
  # @return [PaginatedPulpExporterResponseList]
@@ -64,7 +64,6 @@ describe 'ExportersPulpExportsApi' do
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
69
  # @return [PaginatedPulpExportResponseList]
@@ -81,7 +81,7 @@ describe 'GroupsApi' do
81
81
  # @option opts [String] :name__iexact Filter results where name matches value
82
82
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
83
83
  # @option opts [Integer] :offset The initial index from which to return the results.
84
- # @option opts [String] :ordering Which field to use when ordering the results.
84
+ # @option opts [Array<String>] :ordering Ordering
85
85
  # @option opts [String] :fields A list of fields to include in the response.
86
86
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
87
87
  # @return [PaginatedGroupResponseList]
@@ -65,7 +65,7 @@ describe 'GroupsRolesApi' do
65
65
  # @option opts [String] :content_object content_object
66
66
  # @option opts [Integer] :limit Number of results to return per page.
67
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.
68
+ # @option opts [Array<String>] :ordering Ordering
69
69
  # @option opts [String] :role
70
70
  # @option opts [String] :role__contains
71
71
  # @option opts [String] :role__icontains
@@ -64,7 +64,6 @@ describe 'GroupsUsersApi' do
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
69
  # @return [PaginatedGroupUserResponseList]
@@ -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::ImportersApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ImportersApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ImportersApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ImportersApi' do
30
+ it 'should create an instance of ImportersApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ImportersApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create an importer
37
+ # ViewSet for Importers.
38
+ # @param importer
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [ImporterResponse]
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 importer
49
+ # ViewSet for Importers.
50
+ # @param importer_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
+
59
+ # unit tests for list
60
+ # List importers
61
+ # ViewSet for Importers.
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 [PaginatedImporterResponseList]
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 importer
82
+ # ViewSet for Importers.
83
+ # @param importer_href
84
+ # @param patched_importer
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [ImporterResponse]
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 importer
95
+ # ViewSet for Importers.
96
+ # @param importer_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 [ImporterResponse]
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 importer
109
+ # ViewSet for Importers.
110
+ # @param importer_href
111
+ # @param importer
112
+ # @param [Hash] opts the optional parameters
113
+ # @return [ImporterResponse]
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::GroupsObjectPermissionsApi
16
+ # Unit tests for PulpcoreClient::ImportersImportsApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
- describe 'GroupsObjectPermissionsApi' do
19
+ describe 'ImportersImportsApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
22
+ @api_instance = PulpcoreClient::ImportersImportsApi.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 GroupsObjectPermissionsApi' do
30
- it 'should create an instance of GroupsObjectPermissionsApi' do
31
- expect(@api_instance).to be_instance_of(PulpcoreClient::GroupsObjectPermissionsApi)
29
+ describe 'test an instance of ImportersImportsApi' do
30
+ it 'should create an instance of ImportersImportsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ImportersImportsApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for create
36
- # Create a permission
37
- # Add an object permission to a group.
38
- # @param group_href
39
- # @param body
36
+ # Create an import
37
+ # ViewSet for viewing imports from an Importer.
38
+ # @param importer_href
39
+ # @param import
40
40
  # @param [Hash] opts the optional parameters
41
- # @return [PermissionResponse]
41
+ # @return [ImportResponse]
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 'GroupsObjectPermissionsApi' do
46
46
  end
47
47
 
48
48
  # unit tests for delete
49
- # Delete a permission
50
- # Remove an object permission from a group.
51
- # @param groups_object_permission_href
49
+ # Delete an import
50
+ # ViewSet for viewing imports from an Importer.
51
+ # @param importers_import_href
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @return [nil]
54
54
  describe 'delete test' do
@@ -58,16 +58,15 @@ describe 'GroupsObjectPermissionsApi' do
58
58
  end
59
59
 
60
60
  # unit tests for list
61
- # List permissions
62
- # List group object permissions.
63
- # @param group_href
61
+ # List imports
62
+ # ViewSet for viewing imports from an Importer.
63
+ # @param importer_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 [PaginatedPermissionResponseList]
69
+ # @return [PaginatedImportResponseList]
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 'GroupsObjectPermissionsApi' do
75
74
  end
76
75
 
77
76
  # unit tests for read
78
- # Inspect a permission
79
- # Retrieve a model permission from a group.
80
- # @param groups_object_permission_href
77
+ # Inspect an import
78
+ # ViewSet for viewing imports from an Importer.
79
+ # @param importers_import_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 [PermissionResponse]
83
+ # @return [ImportResponse]
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
@@ -67,7 +67,7 @@ describe 'ImportersPulpApi' do
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [String] :ordering Which field to use when ordering the results.
70
+ # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :fields A list of fields to include in the response.
72
72
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
73
  # @return [PaginatedPulpImporterResponseList]
@@ -64,7 +64,6 @@ describe 'ImportersPulpImportsApi' do
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
69
  # @return [PaginatedImportResponseList]
@@ -32,6 +32,18 @@ describe 'PublicationsApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for delete
36
+ # Delete a publication
37
+ # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
38
+ # @param publication_href
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'delete 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 publications
37
49
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
@@ -40,13 +52,14 @@ describe 'PublicationsApi' do
40
52
  # @option opts [String] :content__in Content Unit referenced by HREF
41
53
  # @option opts [Integer] :limit Number of results to return per page.
42
54
  # @option opts [Integer] :offset The initial index from which to return the results.
43
- # @option opts [String] :ordering Which field to use when ordering the results.
55
+ # @option opts [Array<String>] :ordering Ordering
44
56
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
45
57
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
46
58
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
47
59
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
48
60
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
49
61
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
62
+ # @option opts [String] :repository Repository referenced by HREF
50
63
  # @option opts [String] :repository_version Repository Version referenced by HREF
51
64
  # @option opts [String] :fields A list of fields to include in the response.
52
65
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -57,4 +70,18 @@ describe 'PublicationsApi' do
57
70
  end
58
71
  end
59
72
 
73
+ # unit tests for read
74
+ # Inspect a publication
75
+ # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
76
+ # @param publication_href
77
+ # @param [Hash] opts the optional parameters
78
+ # @option opts [String] :fields A list of fields to include in the response.
79
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
80
+ # @return [PublicationResponse]
81
+ describe 'read test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
60
87
  end
@@ -0,0 +1,127 @@
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::RemotesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RemotesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::RemotesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RemotesApi' do
30
+ it 'should create an instance of RemotesApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::RemotesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a remote
37
+ # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
38
+ # @param remote
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [RemoteResponse]
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 remote
49
+ # Trigger an asynchronous delete task
50
+ # @param remote_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 remotes
61
+ # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;s identity. schema (DefaultSchema): The schema class to use by default in a 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] :pulp_label_select Filter labels by search string
72
+ # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
73
+ # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
74
+ # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
75
+ # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
76
+ # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
77
+ # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
78
+ # @option opts [String] :fields A list of fields to include in the response.
79
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
80
+ # @return [PaginatedRemoteResponseList]
81
+ describe 'list test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ # unit tests for partial_update
88
+ # Update a remote
89
+ # Trigger an asynchronous partial update task
90
+ # @param remote_href
91
+ # @param patched_remote
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [AsyncOperationResponse]
94
+ describe 'partial_update test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ # unit tests for read
101
+ # Inspect a remote
102
+ # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; 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 &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; 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&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
103
+ # @param remote_href
104
+ # @param [Hash] opts the optional parameters
105
+ # @option opts [String] :fields A list of fields to include in the response.
106
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
+ # @return [RemoteResponse]
108
+ describe 'read test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ # unit tests for update
115
+ # Update a remote
116
+ # Trigger an asynchronous update task
117
+ # @param remote_href
118
+ # @param remote
119
+ # @param [Hash] opts the optional parameters
120
+ # @return [AsyncOperationResponse]
121
+ describe 'update test' do
122
+ it 'should work' do
123
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
+ end
125
+ end
126
+
127
+ end
@@ -32,9 +32,33 @@ describe 'RepositoriesApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for create
36
+ # Create a repository
37
+ # An immutable repository ViewSet that does not allow the usage of the methods PATCH and PUT.
38
+ # @param repository
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [RepositoryResponse]
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 repository
49
+ # Trigger an asynchronous delete task
50
+ # @param repository_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 repositories
37
- # Endpoint to list all repositories.
61
+ # An immutable repository ViewSet that does not allow the usage of the methods PATCH and PUT.
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 'RepositoriesApi' 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 Which field to use when ordering the results.
70
+ # @option opts [Array<String>] :ordering Ordering
47
71
  # @option opts [String] :pulp_label_select Filter labels by search string
48
72
  # @option opts [String] :fields A list of fields to include in the response.
49
73
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -54,4 +78,44 @@ describe 'RepositoriesApi' do
54
78
  end
55
79
  end
56
80
 
81
+ # unit tests for partial_update
82
+ # Update a repository
83
+ # Trigger an asynchronous partial update task
84
+ # @param repository_href
85
+ # @param patched_repository
86
+ # @param [Hash] opts the optional parameters
87
+ # @return [AsyncOperationResponse]
88
+ describe 'partial_update test' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ # unit tests for read
95
+ # Inspect a repository
96
+ # An immutable repository ViewSet that does not allow the usage of the methods PATCH and PUT.
97
+ # @param repository_href
98
+ # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :fields A list of fields to include in the response.
100
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
101
+ # @return [RepositoryResponse]
102
+ describe 'read test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ end
106
+ end
107
+
108
+ # unit tests for update
109
+ # Update a repository
110
+ # Trigger an asynchronous update task
111
+ # @param repository_href
112
+ # @param repository
113
+ # @param [Hash] opts the optional parameters
114
+ # @return [AsyncOperationResponse]
115
+ describe 'update test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
57
121
  end