pulpcore_client 3.5.0 → 3.6.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 (239) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +88 -44
  3. data/docs/AccessPoliciesApi.md +244 -0
  4. data/docs/AccessPolicy.md +21 -0
  5. data/docs/AccessPolicyResponse.md +25 -0
  6. data/docs/Artifact.md +2 -6
  7. data/docs/ArtifactResponse.md +35 -0
  8. data/docs/ArtifactsApi.md +40 -34
  9. data/docs/{ContentAppStatus.md → ContentAppStatusResponse.md} +2 -2
  10. data/docs/{DatabaseConnection.md → DatabaseConnectionResponse.md} +2 -2
  11. data/docs/ExportersCoreExportsApi.md +33 -33
  12. data/docs/ExportersPulpApi.md +51 -51
  13. data/docs/Group.md +17 -0
  14. data/docs/{GroupProgressReport.md → GroupProgressReportResponse.md} +2 -2
  15. data/docs/GroupResponse.md +21 -0
  16. data/docs/GroupUser.md +17 -0
  17. data/docs/GroupUserResponse.md +19 -0
  18. data/docs/GroupsApi.md +351 -0
  19. data/docs/GroupsModelPermissionsApi.md +128 -0
  20. data/docs/GroupsObjectPermissionsApi.md +247 -0
  21. data/docs/GroupsUsersApi.md +183 -0
  22. data/docs/{Import.md → ImportResponse.md} +2 -2
  23. data/docs/ImportersCoreImportsApi.md +33 -33
  24. data/docs/ImportersPulpApi.md +51 -51
  25. data/docs/InlineResponse200.md +3 -3
  26. data/docs/InlineResponse2001.md +3 -3
  27. data/docs/InlineResponse20010.md +23 -0
  28. data/docs/InlineResponse20011.md +23 -0
  29. data/docs/InlineResponse20012.md +23 -0
  30. data/docs/InlineResponse20013.md +23 -0
  31. data/docs/InlineResponse20014.md +23 -0
  32. data/docs/InlineResponse2002.md +3 -3
  33. data/docs/InlineResponse2003.md +3 -3
  34. data/docs/InlineResponse2004.md +3 -3
  35. data/docs/InlineResponse2005.md +3 -3
  36. data/docs/InlineResponse2006.md +3 -3
  37. data/docs/InlineResponse2007.md +3 -3
  38. data/docs/InlineResponse2008.md +3 -3
  39. data/docs/InlineResponse2009.md +3 -3
  40. data/docs/OrphansApi.md +2 -2
  41. data/docs/PatchedAccessPolicy.md +21 -0
  42. data/docs/PatchedGroup.md +17 -0
  43. data/docs/PatchedPulpExporter.md +23 -0
  44. data/docs/PatchedPulpImporter.md +19 -0
  45. data/docs/{TaskCancel.md → PatchedTaskCancel.md} +3 -3
  46. data/docs/PermissionResponse.md +23 -0
  47. data/docs/{ProgressReport.md → ProgressReportResponse.md} +2 -2
  48. data/docs/PulpExport.md +11 -11
  49. data/docs/PulpExportResponse.md +27 -0
  50. data/docs/PulpExporter.md +1 -5
  51. data/docs/PulpExporterResponse.md +27 -0
  52. data/docs/PulpImport.md +4 -2
  53. data/docs/PulpImporter.md +2 -6
  54. data/docs/PulpImporterResponse.md +23 -0
  55. data/docs/{RedisConnection.md → RedisConnectionResponse.md} +2 -2
  56. data/docs/{SigningService.md → SigningServiceResponse.md} +2 -2
  57. data/docs/SigningServicesApi.md +14 -14
  58. data/docs/StatusApi.md +8 -22
  59. data/docs/StatusResponse.md +27 -0
  60. data/docs/{Storage.md → StorageResponse.md} +2 -2
  61. data/docs/{TaskGroup.md → TaskGroupResponse.md} +3 -3
  62. data/docs/TaskGroupsApi.md +16 -12
  63. data/docs/{Task.md → TaskResponse.md} +5 -7
  64. data/docs/TasksApi.md +144 -88
  65. data/docs/Upload.md +1 -7
  66. data/docs/UploadChunk.md +2 -6
  67. data/docs/UploadChunkResponse.md +19 -0
  68. data/docs/{UploadDetail.md → UploadDetailResponse.md} +3 -3
  69. data/docs/UploadResponse.md +23 -0
  70. data/docs/UploadsApi.md +42 -40
  71. data/docs/UserGroupResponse.md +19 -0
  72. data/docs/UserResponse.md +35 -0
  73. data/docs/UsersApi.md +191 -0
  74. data/docs/{Version.md → VersionResponse.md} +2 -2
  75. data/docs/{Worker.md → WorkerResponse.md} +2 -2
  76. data/docs/WorkersApi.md +36 -32
  77. data/lib/pulpcore_client/api/access_policies_api.rb +301 -0
  78. data/lib/pulpcore_client/api/artifacts_api.rb +47 -65
  79. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +51 -51
  80. data/lib/pulpcore_client/api/exporters_pulp_api.rb +71 -71
  81. data/lib/pulpcore_client/api/groups_api.rb +425 -0
  82. data/lib/pulpcore_client/api/groups_model_permissions_api.rb +161 -0
  83. data/lib/pulpcore_client/api/groups_object_permissions_api.rb +295 -0
  84. data/lib/pulpcore_client/api/groups_users_api.rb +229 -0
  85. data/lib/pulpcore_client/api/importers_core_imports_api.rb +51 -51
  86. data/lib/pulpcore_client/api/importers_pulp_api.rb +71 -71
  87. data/lib/pulpcore_client/api/orphans_api.rb +3 -3
  88. data/lib/pulpcore_client/api/signing_services_api.rb +18 -18
  89. data/lib/pulpcore_client/api/status_api.rb +11 -17
  90. data/lib/pulpcore_client/api/task_groups_api.rb +19 -15
  91. data/lib/pulpcore_client/api/tasks_api.rb +203 -125
  92. data/lib/pulpcore_client/api/uploads_api.rb +60 -66
  93. data/lib/pulpcore_client/api/users_api.rb +227 -0
  94. data/lib/pulpcore_client/api/workers_api.rb +46 -42
  95. data/lib/pulpcore_client/api_client.rb +2 -2
  96. data/lib/pulpcore_client/api_error.rb +2 -2
  97. data/lib/pulpcore_client/configuration.rb +3 -3
  98. data/lib/pulpcore_client/models/access_policy.rb +247 -0
  99. data/lib/pulpcore_client/models/access_policy_response.rb +266 -0
  100. data/lib/pulpcore_client/models/artifact.rb +8 -111
  101. data/lib/pulpcore_client/models/artifact_response.rb +308 -0
  102. data/lib/pulpcore_client/models/async_operation_response.rb +3 -2
  103. data/lib/pulpcore_client/models/{content_app_status.rb → content_app_status_response.rb} +6 -21
  104. data/lib/pulpcore_client/models/{database_connection.rb → database_connection_response.rb} +6 -6
  105. data/lib/pulpcore_client/models/group.rb +232 -0
  106. data/lib/pulpcore_client/models/{group_progress_report.rb → group_progress_report_response.rb} +6 -50
  107. data/lib/pulpcore_client/models/group_response.rb +250 -0
  108. data/lib/pulpcore_client/models/group_user.rb +232 -0
  109. data/lib/pulpcore_client/models/group_user_response.rb +241 -0
  110. data/lib/pulpcore_client/models/{import.rb → import_response.rb} +6 -5
  111. data/lib/pulpcore_client/models/inline_response200.rb +3 -13
  112. data/lib/pulpcore_client/models/inline_response2001.rb +3 -13
  113. data/lib/pulpcore_client/models/inline_response20010.rb +237 -0
  114. data/lib/pulpcore_client/models/inline_response20011.rb +237 -0
  115. data/lib/pulpcore_client/models/inline_response20012.rb +237 -0
  116. data/lib/pulpcore_client/models/inline_response20013.rb +237 -0
  117. data/lib/pulpcore_client/models/inline_response20014.rb +237 -0
  118. data/lib/pulpcore_client/models/inline_response2002.rb +3 -13
  119. data/lib/pulpcore_client/models/inline_response2003.rb +3 -13
  120. data/lib/pulpcore_client/models/inline_response2004.rb +3 -13
  121. data/lib/pulpcore_client/models/inline_response2005.rb +3 -13
  122. data/lib/pulpcore_client/models/inline_response2006.rb +3 -13
  123. data/lib/pulpcore_client/models/inline_response2007.rb +3 -13
  124. data/lib/pulpcore_client/models/inline_response2008.rb +3 -13
  125. data/lib/pulpcore_client/models/inline_response2009.rb +3 -13
  126. data/lib/pulpcore_client/models/patched_access_policy.rb +232 -0
  127. data/lib/pulpcore_client/models/patched_group.rb +223 -0
  128. data/lib/pulpcore_client/models/patched_pulp_exporter.rb +240 -0
  129. data/lib/pulpcore_client/models/patched_pulp_importer.rb +218 -0
  130. data/lib/pulpcore_client/models/{task_cancel.rb → patched_task_cancel.rb} +6 -29
  131. data/lib/pulpcore_client/models/permission_response.rb +235 -0
  132. data/lib/pulpcore_client/models/{progress_report.rb → progress_report_response.rb} +6 -65
  133. data/lib/pulpcore_client/models/pulp_export.rb +50 -42
  134. data/lib/pulpcore_client/models/pulp_export_response.rb +260 -0
  135. data/lib/pulpcore_client/models/pulp_exporter.rb +4 -60
  136. data/lib/pulpcore_client/models/pulp_exporter_response.rb +274 -0
  137. data/lib/pulpcore_client/models/pulp_import.rb +17 -30
  138. data/lib/pulpcore_client/models/pulp_importer.rb +6 -45
  139. data/lib/pulpcore_client/models/pulp_importer_response.rb +242 -0
  140. data/lib/pulpcore_client/models/{redis_connection.rb → redis_connection_response.rb} +6 -6
  141. data/lib/pulpcore_client/models/{signing_service.rb → signing_service_response.rb} +6 -43
  142. data/lib/pulpcore_client/models/{status.rb → status_response.rb} +15 -11
  143. data/lib/pulpcore_client/models/{storage.rb → storage_response.rb} +6 -6
  144. data/lib/pulpcore_client/models/{task_group.rb → task_group_response.rb} +7 -25
  145. data/lib/pulpcore_client/models/{task.rb → task_response.rb} +13 -59
  146. data/lib/pulpcore_client/models/upload.rb +7 -35
  147. data/lib/pulpcore_client/models/upload_chunk.rb +11 -39
  148. data/lib/pulpcore_client/models/upload_chunk_response.rb +215 -0
  149. data/lib/pulpcore_client/models/upload_commit.rb +2 -21
  150. data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_response.rb} +7 -6
  151. data/lib/pulpcore_client/models/upload_response.rb +242 -0
  152. data/lib/pulpcore_client/models/user_group_response.rb +241 -0
  153. data/lib/pulpcore_client/models/user_response.rb +378 -0
  154. data/lib/pulpcore_client/models/{version.rb → version_response.rb} +6 -44
  155. data/lib/pulpcore_client/models/{worker.rb → worker_response.rb} +6 -21
  156. data/lib/pulpcore_client/version.rb +3 -3
  157. data/lib/pulpcore_client.rb +47 -17
  158. data/pulpcore_client.gemspec +4 -4
  159. data/spec/api/access_policies_api_spec.rb +91 -0
  160. data/spec/api/artifacts_api_spec.rb +18 -15
  161. data/spec/api/exporters_core_exports_api_spec.rb +10 -10
  162. data/spec/api/exporters_pulp_api_spec.rb +18 -18
  163. data/spec/api/groups_api_spec.rb +115 -0
  164. data/spec/api/groups_model_permissions_api_spec.rb +64 -0
  165. data/spec/api/groups_object_permissions_api_spec.rb +92 -0
  166. data/spec/api/groups_users_api_spec.rb +77 -0
  167. data/spec/api/importers_core_imports_api_spec.rb +10 -10
  168. data/spec/api/importers_pulp_api_spec.rb +18 -18
  169. data/spec/api/orphans_api_spec.rb +2 -2
  170. data/spec/api/signing_services_api_spec.rb +7 -7
  171. data/spec/api/status_api_spec.rb +5 -7
  172. data/spec/api/task_groups_api_spec.rb +8 -6
  173. data/spec/api/tasks_api_spec.rb +69 -42
  174. data/spec/api/uploads_api_spec.rb +14 -13
  175. data/spec/api/users_api_spec.rb +78 -0
  176. data/spec/api/workers_api_spec.rb +18 -16
  177. data/spec/api_client_spec.rb +2 -2
  178. data/spec/configuration_spec.rb +2 -2
  179. data/spec/models/access_policy_response_spec.rb +65 -0
  180. data/spec/models/access_policy_spec.rb +53 -0
  181. data/spec/models/artifact_response_spec.rb +95 -0
  182. data/spec/models/artifact_spec.rb +2 -14
  183. data/spec/models/async_operation_response_spec.rb +2 -2
  184. data/spec/models/{content_app_status_spec.rb → content_app_status_response_spec.rb} +8 -8
  185. data/spec/models/{database_connection_spec.rb → database_connection_response_spec.rb} +8 -8
  186. data/spec/models/{group_progress_report_spec.rb → group_progress_report_response_spec.rb} +8 -8
  187. data/spec/models/group_response_spec.rb +53 -0
  188. data/spec/models/group_spec.rb +41 -0
  189. data/spec/models/group_user_response_spec.rb +47 -0
  190. data/spec/models/group_user_spec.rb +41 -0
  191. data/spec/models/{import_spec.rb → import_response_spec.rb} +8 -8
  192. data/spec/models/inline_response20010_spec.rb +59 -0
  193. data/spec/models/inline_response20011_spec.rb +59 -0
  194. data/spec/models/inline_response20012_spec.rb +59 -0
  195. data/spec/models/inline_response20013_spec.rb +59 -0
  196. data/spec/models/inline_response20014_spec.rb +59 -0
  197. data/spec/models/inline_response2001_spec.rb +2 -2
  198. data/spec/models/inline_response2002_spec.rb +2 -2
  199. data/spec/models/inline_response2003_spec.rb +2 -2
  200. data/spec/models/inline_response2004_spec.rb +2 -2
  201. data/spec/models/inline_response2005_spec.rb +2 -2
  202. data/spec/models/inline_response2006_spec.rb +2 -2
  203. data/spec/models/inline_response2007_spec.rb +2 -2
  204. data/spec/models/inline_response2008_spec.rb +2 -2
  205. data/spec/models/inline_response2009_spec.rb +2 -2
  206. data/spec/models/inline_response200_spec.rb +2 -2
  207. data/spec/models/patched_access_policy_spec.rb +53 -0
  208. data/spec/models/patched_group_spec.rb +41 -0
  209. data/spec/models/patched_pulp_exporter_spec.rb +59 -0
  210. data/spec/models/patched_pulp_importer_spec.rb +47 -0
  211. data/spec/models/{task_cancel_spec.rb → patched_task_cancel_spec.rb} +8 -8
  212. data/spec/models/permission_response_spec.rb +59 -0
  213. data/spec/models/{progress_report_spec.rb → progress_report_response_spec.rb} +8 -8
  214. data/spec/models/pulp_export_response_spec.rb +71 -0
  215. data/spec/models/pulp_export_spec.rb +8 -8
  216. data/spec/models/pulp_exporter_response_spec.rb +71 -0
  217. data/spec/models/pulp_exporter_spec.rb +2 -14
  218. data/spec/models/pulp_import_spec.rb +8 -2
  219. data/spec/models/pulp_importer_response_spec.rb +59 -0
  220. data/spec/models/pulp_importer_spec.rb +2 -14
  221. data/spec/models/{redis_connection_spec.rb → redis_connection_response_spec.rb} +8 -8
  222. data/spec/models/{signing_service_spec.rb → signing_service_response_spec.rb} +8 -8
  223. data/spec/models/{status_spec.rb → status_response_spec.rb} +8 -8
  224. data/spec/models/{storage_spec.rb → storage_response_spec.rb} +8 -8
  225. data/spec/models/{task_group_spec.rb → task_group_response_spec.rb} +8 -8
  226. data/spec/models/{task_spec.rb → task_response_spec.rb} +8 -14
  227. data/spec/models/upload_chunk_response_spec.rb +47 -0
  228. data/spec/models/upload_chunk_spec.rb +2 -14
  229. data/spec/models/upload_commit_spec.rb +2 -2
  230. data/spec/models/{upload_detail_spec.rb → upload_detail_response_spec.rb} +8 -8
  231. data/spec/models/upload_response_spec.rb +59 -0
  232. data/spec/models/upload_spec.rb +2 -20
  233. data/spec/models/user_group_response_spec.rb +47 -0
  234. data/spec/models/user_response_spec.rb +95 -0
  235. data/spec/models/{version_spec.rb → version_response_spec.rb} +8 -8
  236. data/spec/models/{worker_spec.rb → worker_response_spec.rb} +8 -8
  237. data/spec/spec_helper.rb +2 -2
  238. metadata +204 -84
  239. data/docs/Status.md +0 -27
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -20,6 +20,7 @@ module PulpcoreClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create an artifact
23
+ # 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.
23
24
  # @param file [File] The stored file.
24
25
  # @param [Hash] opts the optional parameters
25
26
  # @option opts [Integer] :size The size of the file in bytes.
@@ -29,13 +30,14 @@ module PulpcoreClient
29
30
  # @option opts [String] :sha256 The SHA-256 checksum of the file if available.
30
31
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
31
32
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
32
- # @return [Artifact]
33
+ # @return [ArtifactResponse]
33
34
  def create(file, opts = {})
34
35
  data, _status_code, _headers = create_with_http_info(file, opts)
35
36
  data
36
37
  end
37
38
 
38
39
  # Create an artifact
40
+ # 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.
39
41
  # @param file [File] The stored file.
40
42
  # @param [Hash] opts the optional parameters
41
43
  # @option opts [Integer] :size The size of the file in bytes.
@@ -45,7 +47,7 @@ module PulpcoreClient
45
47
  # @option opts [String] :sha256 The SHA-256 checksum of the file if available.
46
48
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
47
49
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
48
- # @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
50
+ # @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
49
51
  def create_with_http_info(file, opts = {})
50
52
  if @api_client.config.debugging
51
53
  @api_client.config.logger.debug 'Calling API: ArtifactsApi.create ...'
@@ -54,30 +56,6 @@ module PulpcoreClient
54
56
  if @api_client.config.client_side_validation && file.nil?
55
57
  fail ArgumentError, "Missing the required parameter 'file' when calling ArtifactsApi.create"
56
58
  end
57
- if @api_client.config.client_side_validation && !opts[:'md5'].nil? && opts[:'md5'].to_s.length < 1
58
- fail ArgumentError, 'invalid value for "opts[:"md5"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
59
- end
60
-
61
- if @api_client.config.client_side_validation && !opts[:'sha1'].nil? && opts[:'sha1'].to_s.length < 1
62
- fail ArgumentError, 'invalid value for "opts[:"sha1"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
63
- end
64
-
65
- if @api_client.config.client_side_validation && !opts[:'sha224'].nil? && opts[:'sha224'].to_s.length < 1
66
- fail ArgumentError, 'invalid value for "opts[:"sha224"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
67
- end
68
-
69
- if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
70
- fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
71
- end
72
-
73
- if @api_client.config.client_side_validation && !opts[:'sha384'].nil? && opts[:'sha384'].to_s.length < 1
74
- fail ArgumentError, 'invalid value for "opts[:"sha384"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
75
- end
76
-
77
- if @api_client.config.client_side_validation && !opts[:'sha512'].nil? && opts[:'sha512'].to_s.length < 1
78
- fail ArgumentError, 'invalid value for "opts[:"sha512"]" when calling ArtifactsApi.create, the character length must be great than or equal to 1.'
79
- end
80
-
81
59
  # resource path
82
60
  local_var_path = '/pulp/api/v3/artifacts/'
83
61
 
@@ -106,10 +84,10 @@ module PulpcoreClient
106
84
  post_body = opts[:body]
107
85
 
108
86
  # return_type
109
- return_type = opts[:return_type] || 'Artifact'
87
+ return_type = opts[:return_type] || 'ArtifactResponse'
110
88
 
111
89
  # auth_names
112
- auth_names = opts[:auth_names] || ['Basic']
90
+ auth_names = opts[:auth_names] || ['basicAuth']
113
91
 
114
92
  new_options = opts.merge(
115
93
  :header_params => header_params,
@@ -129,7 +107,7 @@ module PulpcoreClient
129
107
 
130
108
  # Delete an artifact
131
109
  # Remove Artifact only if it is not associated with any Content.
132
- # @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
110
+ # @param artifact_href [String]
133
111
  # @param [Hash] opts the optional parameters
134
112
  # @return [nil]
135
113
  def delete(artifact_href, opts = {})
@@ -139,7 +117,7 @@ module PulpcoreClient
139
117
 
140
118
  # Delete an artifact
141
119
  # Remove Artifact only if it is not associated with any Content.
142
- # @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
120
+ # @param artifact_href [String]
143
121
  # @param [Hash] opts the optional parameters
144
122
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
145
123
  def delete_with_http_info(artifact_href, opts = {})
@@ -169,7 +147,7 @@ module PulpcoreClient
169
147
  return_type = opts[:return_type]
170
148
 
171
149
  # auth_names
172
- auth_names = opts[:auth_names] || ['Basic']
150
+ auth_names = opts[:auth_names] || ['basicAuth']
173
151
 
174
152
  new_options = opts.merge(
175
153
  :header_params => header_params,
@@ -188,40 +166,42 @@ module PulpcoreClient
188
166
  end
189
167
 
190
168
  # List artifacts
169
+ # 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.
191
170
  # @param [Hash] opts the optional parameters
192
- # @option opts [String] :ordering Which field to use when ordering the results.
193
- # @option opts [String] :md5 Filter results where md5 matches value
194
- # @option opts [String] :sha256 Filter results where sha256 matches value
195
- # @option opts [String] :sha384 Filter results where sha384 matches value
196
- # @option opts [String] :sha1 Filter results where sha1 matches value
197
- # @option opts [String] :sha224 Filter results where sha224 matches value
198
- # @option opts [String] :sha512 Filter results where sha512 matches value
199
- # @option opts [String] :repository_version Repository Version referenced by HREF
200
171
  # @option opts [Integer] :limit Number of results to return per page.
172
+ # @option opts [String] :md5 md5
201
173
  # @option opts [Integer] :offset The initial index from which to return the results.
174
+ # @option opts [String] :ordering Which field to use when ordering the results.
175
+ # @option opts [String] :repository_version repository_version
176
+ # @option opts [String] :sha1 sha1
177
+ # @option opts [String] :sha224 sha224
178
+ # @option opts [String] :sha256 sha256
179
+ # @option opts [String] :sha384 sha384
180
+ # @option opts [String] :sha512 sha512
202
181
  # @option opts [String] :fields A list of fields to include in the response.
203
182
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
204
- # @return [InlineResponse200]
183
+ # @return [InlineResponse2001]
205
184
  def list(opts = {})
206
185
  data, _status_code, _headers = list_with_http_info(opts)
207
186
  data
208
187
  end
209
188
 
210
189
  # List artifacts
190
+ # 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.
211
191
  # @param [Hash] opts the optional parameters
212
- # @option opts [String] :ordering Which field to use when ordering the results.
213
- # @option opts [String] :md5 Filter results where md5 matches value
214
- # @option opts [String] :sha256 Filter results where sha256 matches value
215
- # @option opts [String] :sha384 Filter results where sha384 matches value
216
- # @option opts [String] :sha1 Filter results where sha1 matches value
217
- # @option opts [String] :sha224 Filter results where sha224 matches value
218
- # @option opts [String] :sha512 Filter results where sha512 matches value
219
- # @option opts [String] :repository_version Repository Version referenced by HREF
220
192
  # @option opts [Integer] :limit Number of results to return per page.
193
+ # @option opts [String] :md5 md5
221
194
  # @option opts [Integer] :offset The initial index from which to return the results.
195
+ # @option opts [String] :ordering Which field to use when ordering the results.
196
+ # @option opts [String] :repository_version repository_version
197
+ # @option opts [String] :sha1 sha1
198
+ # @option opts [String] :sha224 sha224
199
+ # @option opts [String] :sha256 sha256
200
+ # @option opts [String] :sha384 sha384
201
+ # @option opts [String] :sha512 sha512
222
202
  # @option opts [String] :fields A list of fields to include in the response.
223
203
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
224
- # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
204
+ # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
225
205
  def list_with_http_info(opts = {})
226
206
  if @api_client.config.debugging
227
207
  @api_client.config.logger.debug 'Calling API: ArtifactsApi.list ...'
@@ -231,16 +211,16 @@ module PulpcoreClient
231
211
 
232
212
  # query parameters
233
213
  query_params = opts[:query_params] || {}
234
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
214
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
235
215
  query_params[:'md5'] = opts[:'md5'] if !opts[:'md5'].nil?
236
- query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
237
- query_params[:'sha384'] = opts[:'sha384'] if !opts[:'sha384'].nil?
216
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
217
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
218
+ query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
238
219
  query_params[:'sha1'] = opts[:'sha1'] if !opts[:'sha1'].nil?
239
220
  query_params[:'sha224'] = opts[:'sha224'] if !opts[:'sha224'].nil?
221
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
222
+ query_params[:'sha384'] = opts[:'sha384'] if !opts[:'sha384'].nil?
240
223
  query_params[:'sha512'] = opts[:'sha512'] if !opts[:'sha512'].nil?
241
- query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
242
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
243
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
244
224
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
245
225
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
246
226
 
@@ -256,10 +236,10 @@ module PulpcoreClient
256
236
  post_body = opts[:body]
257
237
 
258
238
  # return_type
259
- return_type = opts[:return_type] || 'InlineResponse200'
239
+ return_type = opts[:return_type] || 'InlineResponse2001'
260
240
 
261
241
  # auth_names
262
- auth_names = opts[:auth_names] || ['Basic']
242
+ auth_names = opts[:auth_names] || ['basicAuth']
263
243
 
264
244
  new_options = opts.merge(
265
245
  :header_params => header_params,
@@ -278,22 +258,24 @@ module PulpcoreClient
278
258
  end
279
259
 
280
260
  # Inspect an artifact
281
- # @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
261
+ # 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.
262
+ # @param artifact_href [String]
282
263
  # @param [Hash] opts the optional parameters
283
264
  # @option opts [String] :fields A list of fields to include in the response.
284
265
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
285
- # @return [Artifact]
266
+ # @return [ArtifactResponse]
286
267
  def read(artifact_href, opts = {})
287
268
  data, _status_code, _headers = read_with_http_info(artifact_href, opts)
288
269
  data
289
270
  end
290
271
 
291
272
  # Inspect an artifact
292
- # @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
273
+ # 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.
274
+ # @param artifact_href [String]
293
275
  # @param [Hash] opts the optional parameters
294
276
  # @option opts [String] :fields A list of fields to include in the response.
295
277
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
296
- # @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
278
+ # @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
297
279
  def read_with_http_info(artifact_href, opts = {})
298
280
  if @api_client.config.debugging
299
281
  @api_client.config.logger.debug 'Calling API: ArtifactsApi.read ...'
@@ -322,10 +304,10 @@ module PulpcoreClient
322
304
  post_body = opts[:body]
323
305
 
324
306
  # return_type
325
- return_type = opts[:return_type] || 'Artifact'
307
+ return_type = opts[:return_type] || 'ArtifactResponse'
326
308
 
327
309
  # auth_names
328
- auth_names = opts[:auth_names] || ['Basic']
310
+ auth_names = opts[:auth_names] || ['basicAuth']
329
311
 
330
312
  new_options = opts.merge(
331
313
  :header_params => header_params,
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -21,35 +21,35 @@ module PulpcoreClient
21
21
  end
22
22
  # Create a pulp export
23
23
  # Trigger an asynchronous task to export a set of repositories
24
- # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
25
- # @param data [PulpExport]
24
+ # @param core_pulp_pulp_export_href [String]
25
+ # @param pulp_export [PulpExport]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [AsyncOperationResponse]
28
- def create(pulp_exporter_href, data, opts = {})
29
- data, _status_code, _headers = create_with_http_info(pulp_exporter_href, data, opts)
28
+ def create(core_pulp_pulp_export_href, pulp_export, opts = {})
29
+ data, _status_code, _headers = create_with_http_info(core_pulp_pulp_export_href, pulp_export, opts)
30
30
  data
31
31
  end
32
32
 
33
33
  # Create a pulp export
34
34
  # Trigger an asynchronous task to export a set of repositories
35
- # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
36
- # @param data [PulpExport]
35
+ # @param core_pulp_pulp_export_href [String]
36
+ # @param pulp_export [PulpExport]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
- def create_with_http_info(pulp_exporter_href, data, opts = {})
39
+ def create_with_http_info(core_pulp_pulp_export_href, pulp_export, opts = {})
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.create ...'
42
42
  end
43
- # verify the required parameter 'pulp_exporter_href' is set
44
- if @api_client.config.client_side_validation && pulp_exporter_href.nil?
45
- fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersCoreExportsApi.create"
43
+ # verify the required parameter 'core_pulp_pulp_export_href' is set
44
+ if @api_client.config.client_side_validation && core_pulp_pulp_export_href.nil?
45
+ fail ArgumentError, "Missing the required parameter 'core_pulp_pulp_export_href' when calling ExportersCoreExportsApi.create"
46
46
  end
47
- # verify the required parameter 'data' is set
48
- if @api_client.config.client_side_validation && data.nil?
49
- fail ArgumentError, "Missing the required parameter 'data' when calling ExportersCoreExportsApi.create"
47
+ # verify the required parameter 'pulp_export' is set
48
+ if @api_client.config.client_side_validation && pulp_export.nil?
49
+ fail ArgumentError, "Missing the required parameter 'pulp_export' when calling ExportersCoreExportsApi.create"
50
50
  end
51
51
  # resource path
52
- local_var_path = '{pulp_exporter_href}exports/'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
52
+ local_var_path = '{core_pulp_pulp_export_href}exports/'.sub('{' + 'core_pulp_pulp_export_href' + '}', CGI.escape(core_pulp_pulp_export_href.to_s).gsub('%2F', '/'))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -59,19 +59,19 @@ module PulpcoreClient
59
59
  # HTTP header 'Accept' (if needed)
60
60
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
61
  # HTTP header 'Content-Type'
62
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
62
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
63
63
 
64
64
  # form parameters
65
65
  form_params = opts[:form_params] || {}
66
66
 
67
67
  # http body (model)
68
- post_body = opts[:body] || @api_client.object_to_http_body(data)
68
+ post_body = opts[:body] || @api_client.object_to_http_body(pulp_export)
69
69
 
70
70
  # return_type
71
71
  return_type = opts[:return_type] || 'AsyncOperationResponse'
72
72
 
73
73
  # auth_names
74
- auth_names = opts[:auth_names] || ['Basic']
74
+ auth_names = opts[:auth_names] || ['basicAuth']
75
75
 
76
76
  new_options = opts.merge(
77
77
  :header_params => header_params,
@@ -91,29 +91,29 @@ module PulpcoreClient
91
91
 
92
92
  # Delete a pulp export
93
93
  # ViewSet for viewing exports from a PulpExporter.
94
- # @param pulp_export_href [String] URI of Pulp Export. e.g.: /pulp/api/v3/exporters/core/pulp/1/exports/1/
94
+ # @param core_pulp_pulp_export_href [String]
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [nil]
97
- def delete(pulp_export_href, opts = {})
98
- delete_with_http_info(pulp_export_href, opts)
97
+ def delete(core_pulp_pulp_export_href, opts = {})
98
+ delete_with_http_info(core_pulp_pulp_export_href, opts)
99
99
  nil
100
100
  end
101
101
 
102
102
  # Delete a pulp export
103
103
  # ViewSet for viewing exports from a PulpExporter.
104
- # @param pulp_export_href [String] URI of Pulp Export. e.g.: /pulp/api/v3/exporters/core/pulp/1/exports/1/
104
+ # @param core_pulp_pulp_export_href [String]
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
107
- def delete_with_http_info(pulp_export_href, opts = {})
107
+ def delete_with_http_info(core_pulp_pulp_export_href, opts = {})
108
108
  if @api_client.config.debugging
109
109
  @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.delete ...'
110
110
  end
111
- # verify the required parameter 'pulp_export_href' is set
112
- if @api_client.config.client_side_validation && pulp_export_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'pulp_export_href' when calling ExportersCoreExportsApi.delete"
111
+ # verify the required parameter 'core_pulp_pulp_export_href' is set
112
+ if @api_client.config.client_side_validation && core_pulp_pulp_export_href.nil?
113
+ fail ArgumentError, "Missing the required parameter 'core_pulp_pulp_export_href' when calling ExportersCoreExportsApi.delete"
114
114
  end
115
115
  # resource path
116
- local_var_path = '{pulp_export_href}'.sub('{' + 'pulp_export_href' + '}', CGI.escape(pulp_export_href.to_s).gsub('%2F', '/'))
116
+ local_var_path = '{core_pulp_pulp_export_href}'.sub('{' + 'core_pulp_pulp_export_href' + '}', CGI.escape(core_pulp_pulp_export_href.to_s).gsub('%2F', '/'))
117
117
 
118
118
  # query parameters
119
119
  query_params = opts[:query_params] || {}
@@ -131,7 +131,7 @@ module PulpcoreClient
131
131
  return_type = opts[:return_type]
132
132
 
133
133
  # auth_names
134
- auth_names = opts[:auth_names] || ['Basic']
134
+ auth_names = opts[:auth_names] || ['basicAuth']
135
135
 
136
136
  new_options = opts.merge(
137
137
  :header_params => header_params,
@@ -151,14 +151,14 @@ module PulpcoreClient
151
151
 
152
152
  # List pulp exports
153
153
  # ViewSet for viewing exports from a PulpExporter.
154
- # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
154
+ # @param pulp_exporter_href [String]
155
155
  # @param [Hash] opts the optional parameters
156
- # @option opts [String] :ordering Which field to use when ordering the results.
157
156
  # @option opts [Integer] :limit Number of results to return per page.
158
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
+ # @option opts [String] :ordering Which field to use when ordering the results.
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
- # @return [InlineResponse2002]
161
+ # @return [InlineResponse2003]
162
162
  def list(pulp_exporter_href, opts = {})
163
163
  data, _status_code, _headers = list_with_http_info(pulp_exporter_href, opts)
164
164
  data
@@ -166,14 +166,14 @@ module PulpcoreClient
166
166
 
167
167
  # List pulp exports
168
168
  # ViewSet for viewing exports from a PulpExporter.
169
- # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
169
+ # @param pulp_exporter_href [String]
170
170
  # @param [Hash] opts the optional parameters
171
- # @option opts [String] :ordering Which field to use when ordering the results.
172
171
  # @option opts [Integer] :limit Number of results to return per page.
173
172
  # @option opts [Integer] :offset The initial index from which to return the results.
173
+ # @option opts [String] :ordering Which field to use when ordering the results.
174
174
  # @option opts [String] :fields A list of fields to include in the response.
175
175
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
176
- # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
176
+ # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
177
177
  def list_with_http_info(pulp_exporter_href, opts = {})
178
178
  if @api_client.config.debugging
179
179
  @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.list ...'
@@ -187,9 +187,9 @@ module PulpcoreClient
187
187
 
188
188
  # query parameters
189
189
  query_params = opts[:query_params] || {}
190
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
191
190
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
192
191
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
192
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
193
193
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
194
194
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
195
195
 
@@ -205,10 +205,10 @@ module PulpcoreClient
205
205
  post_body = opts[:body]
206
206
 
207
207
  # return_type
208
- return_type = opts[:return_type] || 'InlineResponse2002'
208
+ return_type = opts[:return_type] || 'InlineResponse2003'
209
209
 
210
210
  # auth_names
211
- auth_names = opts[:auth_names] || ['Basic']
211
+ auth_names = opts[:auth_names] || ['basicAuth']
212
212
 
213
213
  new_options = opts.merge(
214
214
  :header_params => header_params,
@@ -228,33 +228,33 @@ module PulpcoreClient
228
228
 
229
229
  # Inspect a pulp export
230
230
  # ViewSet for viewing exports from a PulpExporter.
231
- # @param pulp_export_href [String] URI of Pulp Export. e.g.: /pulp/api/v3/exporters/core/pulp/1/exports/1/
231
+ # @param core_pulp_pulp_export_href [String]
232
232
  # @param [Hash] opts the optional parameters
233
233
  # @option opts [String] :fields A list of fields to include in the response.
234
234
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
235
- # @return [PulpExport]
236
- def read(pulp_export_href, opts = {})
237
- data, _status_code, _headers = read_with_http_info(pulp_export_href, opts)
235
+ # @return [PulpExportResponse]
236
+ def read(core_pulp_pulp_export_href, opts = {})
237
+ data, _status_code, _headers = read_with_http_info(core_pulp_pulp_export_href, opts)
238
238
  data
239
239
  end
240
240
 
241
241
  # Inspect a pulp export
242
242
  # ViewSet for viewing exports from a PulpExporter.
243
- # @param pulp_export_href [String] URI of Pulp Export. e.g.: /pulp/api/v3/exporters/core/pulp/1/exports/1/
243
+ # @param core_pulp_pulp_export_href [String]
244
244
  # @param [Hash] opts the optional parameters
245
245
  # @option opts [String] :fields A list of fields to include in the response.
246
246
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
247
- # @return [Array<(PulpExport, Integer, Hash)>] PulpExport data, response status code and response headers
248
- def read_with_http_info(pulp_export_href, opts = {})
247
+ # @return [Array<(PulpExportResponse, Integer, Hash)>] PulpExportResponse data, response status code and response headers
248
+ def read_with_http_info(core_pulp_pulp_export_href, opts = {})
249
249
  if @api_client.config.debugging
250
250
  @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.read ...'
251
251
  end
252
- # verify the required parameter 'pulp_export_href' is set
253
- if @api_client.config.client_side_validation && pulp_export_href.nil?
254
- fail ArgumentError, "Missing the required parameter 'pulp_export_href' when calling ExportersCoreExportsApi.read"
252
+ # verify the required parameter 'core_pulp_pulp_export_href' is set
253
+ if @api_client.config.client_side_validation && core_pulp_pulp_export_href.nil?
254
+ fail ArgumentError, "Missing the required parameter 'core_pulp_pulp_export_href' when calling ExportersCoreExportsApi.read"
255
255
  end
256
256
  # resource path
257
- local_var_path = '{pulp_export_href}'.sub('{' + 'pulp_export_href' + '}', CGI.escape(pulp_export_href.to_s).gsub('%2F', '/'))
257
+ local_var_path = '{core_pulp_pulp_export_href}'.sub('{' + 'core_pulp_pulp_export_href' + '}', CGI.escape(core_pulp_pulp_export_href.to_s).gsub('%2F', '/'))
258
258
 
259
259
  # query parameters
260
260
  query_params = opts[:query_params] || {}
@@ -273,10 +273,10 @@ module PulpcoreClient
273
273
  post_body = opts[:body]
274
274
 
275
275
  # return_type
276
- return_type = opts[:return_type] || 'PulpExport'
276
+ return_type = opts[:return_type] || 'PulpExportResponse'
277
277
 
278
278
  # auth_names
279
- auth_names = opts[:auth_names] || ['Basic']
279
+ auth_names = opts[:auth_names] || ['basicAuth']
280
280
 
281
281
  new_options = opts.merge(
282
282
  :header_params => header_params,