pulpcore_client 3.13.0 → 3.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +17 -13
  4. data/docs/{ExportersCoreExportsApi.md → ExportersPulpExportsApi.md} +13 -13
  5. data/docs/{ImportersCoreImportCheckApi.md → ImportersPulpImportCheckApi.md} +4 -4
  6. data/docs/{ImportersCoreImportsApi.md → ImportersPulpImportsApi.md} +13 -13
  7. data/docs/MinimalTaskResponse.md +29 -0
  8. data/docs/OrphansApi.md +1 -1
  9. data/docs/OrphansCleanup.md +17 -0
  10. data/docs/OrphansCleanupApi.md +61 -0
  11. data/docs/ProgressReportResponse.md +1 -1
  12. data/docs/PulpExportResponse.md +1 -1
  13. data/docs/Repair.md +17 -0
  14. data/docs/RepairApi.md +8 -4
  15. data/docs/TaskGroupResponse.md +5 -1
  16. data/docs/TaskResponse.md +2 -2
  17. data/docs/TasksApi.md +6 -2
  18. data/docs/WorkerResponse.md +3 -3
  19. data/lib/pulpcore_client/api/access_policies_api.rb +1 -1
  20. data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
  21. data/lib/pulpcore_client/api/content_api.rb +1 -1
  22. data/lib/pulpcore_client/api/contentguards_api.rb +1 -1
  23. data/lib/pulpcore_client/api/exporters_pulp_api.rb +1 -1
  24. data/lib/pulpcore_client/api/{exporters_core_exports_api.rb → exporters_pulp_exports_api.rb} +15 -15
  25. data/lib/pulpcore_client/api/groups_api.rb +1 -1
  26. data/lib/pulpcore_client/api/groups_model_permissions_api.rb +1 -1
  27. data/lib/pulpcore_client/api/groups_object_permissions_api.rb +1 -1
  28. data/lib/pulpcore_client/api/groups_users_api.rb +1 -1
  29. data/lib/pulpcore_client/api/importers_pulp_api.rb +1 -1
  30. data/lib/pulpcore_client/api/{importers_core_import_check_api.rb → importers_pulp_import_check_api.rb} +5 -5
  31. data/lib/pulpcore_client/api/{importers_core_imports_api.rb → importers_pulp_imports_api.rb} +15 -15
  32. data/lib/pulpcore_client/api/orphans_api.rb +3 -3
  33. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +84 -0
  34. data/lib/pulpcore_client/api/publications_api.rb +1 -1
  35. data/lib/pulpcore_client/api/repair_api.rb +13 -5
  36. data/lib/pulpcore_client/api/repositories_api.rb +1 -1
  37. data/lib/pulpcore_client/api/repository_versions_api.rb +1 -1
  38. data/lib/pulpcore_client/api/signing_services_api.rb +1 -1
  39. data/lib/pulpcore_client/api/status_api.rb +1 -1
  40. data/lib/pulpcore_client/api/task_groups_api.rb +1 -1
  41. data/lib/pulpcore_client/api/tasks_api.rb +11 -5
  42. data/lib/pulpcore_client/api/uploads_api.rb +1 -1
  43. data/lib/pulpcore_client/api/users_api.rb +1 -1
  44. data/lib/pulpcore_client/api/workers_api.rb +1 -1
  45. data/lib/pulpcore_client/api_client.rb +12 -8
  46. data/lib/pulpcore_client/api_error.rb +1 -1
  47. data/lib/pulpcore_client/configuration.rb +8 -1
  48. data/lib/pulpcore_client/models/access_policy.rb +1 -1
  49. data/lib/pulpcore_client/models/access_policy_response.rb +1 -1
  50. data/lib/pulpcore_client/models/artifact.rb +1 -1
  51. data/lib/pulpcore_client/models/artifact_response.rb +1 -1
  52. data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
  53. data/lib/pulpcore_client/models/content_app_status_response.rb +1 -1
  54. data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
  55. data/lib/pulpcore_client/models/content_summary_response.rb +1 -1
  56. data/lib/pulpcore_client/models/database_connection_response.rb +1 -1
  57. data/lib/pulpcore_client/models/evaluation_response.rb +1 -1
  58. data/lib/pulpcore_client/models/group.rb +1 -1
  59. data/lib/pulpcore_client/models/group_progress_report_response.rb +1 -1
  60. data/lib/pulpcore_client/models/group_response.rb +1 -1
  61. data/lib/pulpcore_client/models/group_user.rb +1 -1
  62. data/lib/pulpcore_client/models/group_user_response.rb +1 -1
  63. data/lib/pulpcore_client/models/import_response.rb +1 -1
  64. data/lib/pulpcore_client/models/minimal_task_response.rb +272 -0
  65. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +1 -1
  66. data/lib/pulpcore_client/models/orphans_cleanup.rb +209 -0
  67. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +1 -1
  68. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +1 -1
  69. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +1 -1
  70. data/lib/pulpcore_client/models/paginated_group_response_list.rb +1 -1
  71. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +1 -1
  72. data/lib/pulpcore_client/models/paginated_import_response_list.rb +1 -1
  73. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +1 -1
  74. data/lib/pulpcore_client/models/paginated_permission_response_list.rb +1 -1
  75. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +1 -1
  76. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +1 -1
  77. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +1 -1
  78. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +1 -1
  79. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +1 -1
  80. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +1 -1
  81. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +1 -1
  82. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +1 -1
  83. data/lib/pulpcore_client/models/paginated_task_response_list.rb +1 -1
  84. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +1 -1
  85. data/lib/pulpcore_client/models/paginated_user_response_list.rb +1 -1
  86. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +1 -1
  87. data/lib/pulpcore_client/models/patched_access_policy.rb +1 -1
  88. data/lib/pulpcore_client/models/patched_group.rb +1 -1
  89. data/lib/pulpcore_client/models/patched_pulp_exporter.rb +1 -1
  90. data/lib/pulpcore_client/models/patched_pulp_importer.rb +1 -1
  91. data/lib/pulpcore_client/models/patched_task_cancel.rb +1 -1
  92. data/lib/pulpcore_client/models/permission_response.rb +1 -1
  93. data/lib/pulpcore_client/models/progress_report_response.rb +2 -2
  94. data/lib/pulpcore_client/models/publication_response.rb +1 -1
  95. data/lib/pulpcore_client/models/pulp_export.rb +1 -1
  96. data/lib/pulpcore_client/models/pulp_export_response.rb +2 -2
  97. data/lib/pulpcore_client/models/pulp_exporter.rb +1 -1
  98. data/lib/pulpcore_client/models/pulp_exporter_response.rb +1 -1
  99. data/lib/pulpcore_client/models/pulp_import.rb +1 -1
  100. data/lib/pulpcore_client/models/pulp_import_check.rb +1 -1
  101. data/lib/pulpcore_client/models/pulp_import_check_response.rb +1 -1
  102. data/lib/pulpcore_client/models/pulp_importer.rb +1 -1
  103. data/lib/pulpcore_client/models/pulp_importer_response.rb +1 -1
  104. data/lib/pulpcore_client/models/redis_connection_response.rb +1 -1
  105. data/lib/pulpcore_client/models/repair.rb +209 -0
  106. data/lib/pulpcore_client/models/repository_response.rb +1 -1
  107. data/lib/pulpcore_client/models/repository_version_response.rb +1 -1
  108. data/lib/pulpcore_client/models/signing_service_response.rb +1 -1
  109. data/lib/pulpcore_client/models/status_response.rb +1 -1
  110. data/lib/pulpcore_client/models/storage_response.rb +1 -1
  111. data/lib/pulpcore_client/models/task_group_response.rb +26 -5
  112. data/lib/pulpcore_client/models/task_response.rb +4 -3
  113. data/lib/pulpcore_client/models/upload.rb +1 -1
  114. data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
  115. data/lib/pulpcore_client/models/upload_chunk_response.rb +1 -1
  116. data/lib/pulpcore_client/models/upload_commit.rb +1 -1
  117. data/lib/pulpcore_client/models/upload_detail_response.rb +1 -1
  118. data/lib/pulpcore_client/models/upload_response.rb +1 -1
  119. data/lib/pulpcore_client/models/user_group_response.rb +1 -1
  120. data/lib/pulpcore_client/models/user_response.rb +1 -1
  121. data/lib/pulpcore_client/models/version_response.rb +1 -1
  122. data/lib/pulpcore_client/models/worker_response.rb +11 -11
  123. data/lib/pulpcore_client/version.rb +2 -2
  124. data/lib/pulpcore_client.rb +8 -4
  125. data/pulpcore_client.gemspec +1 -1
  126. data/spec/api/access_policies_api_spec.rb +1 -1
  127. data/spec/api/artifacts_api_spec.rb +1 -1
  128. data/spec/api/content_api_spec.rb +1 -1
  129. data/spec/api/contentguards_api_spec.rb +1 -1
  130. data/spec/api/exporters_pulp_api_spec.rb +1 -1
  131. data/spec/api/{exporters_core_exports_api_spec.rb → exporters_pulp_exports_api_spec.rb} +7 -7
  132. data/spec/api/groups_api_spec.rb +1 -1
  133. data/spec/api/groups_model_permissions_api_spec.rb +1 -1
  134. data/spec/api/groups_object_permissions_api_spec.rb +1 -1
  135. data/spec/api/groups_users_api_spec.rb +1 -1
  136. data/spec/api/importers_pulp_api_spec.rb +1 -1
  137. data/spec/api/{importers_core_import_check_api_spec.rb → importers_pulp_import_check_api_spec.rb} +7 -7
  138. data/spec/api/{importers_core_imports_api_spec.rb → importers_pulp_imports_api_spec.rb} +7 -7
  139. data/spec/api/orphans_api_spec.rb +2 -2
  140. data/spec/api/orphans_cleanup_api_spec.rb +46 -0
  141. data/spec/api/publications_api_spec.rb +1 -1
  142. data/spec/api/repair_api_spec.rb +2 -1
  143. data/spec/api/repositories_api_spec.rb +1 -1
  144. data/spec/api/repository_versions_api_spec.rb +1 -1
  145. data/spec/api/signing_services_api_spec.rb +1 -1
  146. data/spec/api/status_api_spec.rb +1 -1
  147. data/spec/api/task_groups_api_spec.rb +1 -1
  148. data/spec/api/tasks_api_spec.rb +4 -2
  149. data/spec/api/uploads_api_spec.rb +1 -1
  150. data/spec/api/users_api_spec.rb +1 -1
  151. data/spec/api/workers_api_spec.rb +1 -1
  152. data/spec/api_client_spec.rb +2 -2
  153. data/spec/configuration_spec.rb +1 -1
  154. data/spec/models/access_policy_response_spec.rb +1 -1
  155. data/spec/models/access_policy_spec.rb +1 -1
  156. data/spec/models/artifact_response_spec.rb +1 -1
  157. data/spec/models/artifact_spec.rb +1 -1
  158. data/spec/models/async_operation_response_spec.rb +1 -1
  159. data/spec/models/content_app_status_response_spec.rb +1 -1
  160. data/spec/models/content_guard_response_spec.rb +1 -1
  161. data/spec/models/content_summary_response_spec.rb +1 -1
  162. data/spec/models/database_connection_response_spec.rb +1 -1
  163. data/spec/models/evaluation_response_spec.rb +1 -1
  164. data/spec/models/group_progress_report_response_spec.rb +1 -1
  165. data/spec/models/group_response_spec.rb +1 -1
  166. data/spec/models/group_spec.rb +1 -1
  167. data/spec/models/group_user_response_spec.rb +1 -1
  168. data/spec/models/group_user_spec.rb +1 -1
  169. data/spec/models/import_response_spec.rb +1 -1
  170. data/spec/models/minimal_task_response_spec.rb +77 -0
  171. data/spec/models/multiple_artifact_content_response_spec.rb +1 -1
  172. data/spec/models/orphans_cleanup_spec.rb +41 -0
  173. data/spec/models/paginated_access_policy_response_list_spec.rb +1 -1
  174. data/spec/models/paginated_artifact_response_list_spec.rb +1 -1
  175. data/spec/models/paginated_content_guard_response_list_spec.rb +1 -1
  176. data/spec/models/paginated_group_response_list_spec.rb +1 -1
  177. data/spec/models/paginated_group_user_response_list_spec.rb +1 -1
  178. data/spec/models/paginated_import_response_list_spec.rb +1 -1
  179. data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +1 -1
  180. data/spec/models/paginated_permission_response_list_spec.rb +1 -1
  181. data/spec/models/paginated_publication_response_list_spec.rb +1 -1
  182. data/spec/models/paginated_pulp_export_response_list_spec.rb +1 -1
  183. data/spec/models/paginated_pulp_exporter_response_list_spec.rb +1 -1
  184. data/spec/models/paginated_pulp_importer_response_list_spec.rb +1 -1
  185. data/spec/models/paginated_repository_response_list_spec.rb +1 -1
  186. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  187. data/spec/models/paginated_signing_service_response_list_spec.rb +1 -1
  188. data/spec/models/paginated_task_group_response_list_spec.rb +1 -1
  189. data/spec/models/paginated_task_response_list_spec.rb +1 -1
  190. data/spec/models/paginated_upload_response_list_spec.rb +1 -1
  191. data/spec/models/paginated_user_response_list_spec.rb +1 -1
  192. data/spec/models/paginated_worker_response_list_spec.rb +1 -1
  193. data/spec/models/patched_access_policy_spec.rb +1 -1
  194. data/spec/models/patched_group_spec.rb +1 -1
  195. data/spec/models/patched_pulp_exporter_spec.rb +1 -1
  196. data/spec/models/patched_pulp_importer_spec.rb +1 -1
  197. data/spec/models/patched_task_cancel_spec.rb +1 -1
  198. data/spec/models/permission_response_spec.rb +1 -1
  199. data/spec/models/progress_report_response_spec.rb +1 -1
  200. data/spec/models/publication_response_spec.rb +1 -1
  201. data/spec/models/pulp_export_response_spec.rb +1 -1
  202. data/spec/models/pulp_export_spec.rb +1 -1
  203. data/spec/models/pulp_exporter_response_spec.rb +1 -1
  204. data/spec/models/pulp_exporter_spec.rb +1 -1
  205. data/spec/models/pulp_import_check_response_spec.rb +1 -1
  206. data/spec/models/pulp_import_check_spec.rb +1 -1
  207. data/spec/models/pulp_import_spec.rb +1 -1
  208. data/spec/models/pulp_importer_response_spec.rb +1 -1
  209. data/spec/models/pulp_importer_spec.rb +1 -1
  210. data/spec/models/redis_connection_response_spec.rb +1 -1
  211. data/spec/models/repair_spec.rb +41 -0
  212. data/spec/models/repository_response_spec.rb +1 -1
  213. data/spec/models/repository_version_response_spec.rb +1 -1
  214. data/spec/models/signing_service_response_spec.rb +1 -1
  215. data/spec/models/status_response_spec.rb +1 -1
  216. data/spec/models/storage_response_spec.rb +1 -1
  217. data/spec/models/task_group_response_spec.rb +13 -1
  218. data/spec/models/task_response_spec.rb +1 -1
  219. data/spec/models/upload_chunk_response_spec.rb +1 -1
  220. data/spec/models/upload_chunk_spec.rb +1 -1
  221. data/spec/models/upload_commit_spec.rb +1 -1
  222. data/spec/models/upload_detail_response_spec.rb +1 -1
  223. data/spec/models/upload_response_spec.rb +1 -1
  224. data/spec/models/upload_spec.rb +1 -1
  225. data/spec/models/user_group_response_spec.rb +1 -1
  226. data/spec/models/user_response_spec.rb +1 -1
  227. data/spec/models/version_response_spec.rb +1 -1
  228. data/spec/models/worker_response_spec.rb +3 -3
  229. data/spec/spec_helper.rb +1 -1
  230. metadata +106 -90
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,14 +6,14 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
15
  module PulpcoreClient
16
- class ExportersCoreExportsApi
16
+ class ExportersPulpExportsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
@@ -38,15 +38,15 @@ module PulpcoreClient
38
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
39
  def create_with_http_info(pulp_exporter_href, pulp_export, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.create ...'
41
+ @api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.create ...'
42
42
  end
43
43
  # verify the required parameter 'pulp_exporter_href' is set
44
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"
45
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpExportsApi.create"
46
46
  end
47
47
  # verify the required parameter 'pulp_export' is set
48
48
  if @api_client.config.client_side_validation && pulp_export.nil?
49
- fail ArgumentError, "Missing the required parameter 'pulp_export' when calling ExportersCoreExportsApi.create"
49
+ fail ArgumentError, "Missing the required parameter 'pulp_export' when calling ExportersPulpExportsApi.create"
50
50
  end
51
51
  # resource path
52
52
  local_var_path = '{pulp_exporter_href}exports/'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
@@ -84,7 +84,7 @@ module PulpcoreClient
84
84
 
85
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
86
  if @api_client.config.debugging
87
- @api_client.config.logger.debug "API called: ExportersCoreExportsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: ExportersPulpExportsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
88
  end
89
89
  return data, status_code, headers
90
90
  end
@@ -106,11 +106,11 @@ module PulpcoreClient
106
106
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
107
107
  def delete_with_http_info(pulp_pulp_export_href, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.delete ...'
109
+ @api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.delete ...'
110
110
  end
111
111
  # verify the required parameter 'pulp_pulp_export_href' is set
112
112
  if @api_client.config.client_side_validation && pulp_pulp_export_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersCoreExportsApi.delete"
113
+ fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersPulpExportsApi.delete"
114
114
  end
115
115
  # resource path
116
116
  local_var_path = '{pulp_pulp_export_href}'.sub('{' + 'pulp_pulp_export_href' + '}', CGI.escape(pulp_pulp_export_href.to_s).gsub('%2F', '/'))
@@ -144,7 +144,7 @@ module PulpcoreClient
144
144
 
145
145
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
146
146
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: ExportersCoreExportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: ExportersPulpExportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
148
  end
149
149
  return data, status_code, headers
150
150
  end
@@ -176,11 +176,11 @@ module PulpcoreClient
176
176
  # @return [Array<(PaginatedPulpExportResponseList, Integer, Hash)>] PaginatedPulpExportResponseList 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
- @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.list ...'
179
+ @api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.list ...'
180
180
  end
181
181
  # verify the required parameter 'pulp_exporter_href' is set
182
182
  if @api_client.config.client_side_validation && pulp_exporter_href.nil?
183
- fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersCoreExportsApi.list"
183
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpExportsApi.list"
184
184
  end
185
185
  # resource path
186
186
  local_var_path = '{pulp_exporter_href}exports/'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
@@ -221,7 +221,7 @@ module PulpcoreClient
221
221
 
222
222
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
223
223
  if @api_client.config.debugging
224
- @api_client.config.logger.debug "API called: ExportersCoreExportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
+ @api_client.config.logger.debug "API called: ExportersPulpExportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
225
225
  end
226
226
  return data, status_code, headers
227
227
  end
@@ -247,11 +247,11 @@ module PulpcoreClient
247
247
  # @return [Array<(PulpExportResponse, Integer, Hash)>] PulpExportResponse data, response status code and response headers
248
248
  def read_with_http_info(pulp_pulp_export_href, opts = {})
249
249
  if @api_client.config.debugging
250
- @api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.read ...'
250
+ @api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.read ...'
251
251
  end
252
252
  # verify the required parameter 'pulp_pulp_export_href' is set
253
253
  if @api_client.config.client_side_validation && pulp_pulp_export_href.nil?
254
- fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersCoreExportsApi.read"
254
+ fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersPulpExportsApi.read"
255
255
  end
256
256
  # resource path
257
257
  local_var_path = '{pulp_pulp_export_href}'.sub('{' + 'pulp_pulp_export_href' + '}', CGI.escape(pulp_pulp_export_href.to_s).gsub('%2F', '/'))
@@ -289,7 +289,7 @@ module PulpcoreClient
289
289
 
290
290
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
291
291
  if @api_client.config.debugging
292
- @api_client.config.logger.debug "API called: ExportersCoreExportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
292
+ @api_client.config.logger.debug "API called: ExportersPulpExportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
293
293
  end
294
294
  return data, status_code, headers
295
295
  end
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,14 +6,14 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
15
  module PulpcoreClient
16
- class ImportersCoreImportCheckApi
16
+ class ImportersPulpImportCheckApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
@@ -36,11 +36,11 @@ module PulpcoreClient
36
36
  # @return [Array<(PulpImportCheckResponse, Integer, Hash)>] PulpImportCheckResponse data, response status code and response headers
37
37
  def pulp_import_check_post_with_http_info(pulp_import_check, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ImportersCoreImportCheckApi.pulp_import_check_post ...'
39
+ @api_client.config.logger.debug 'Calling API: ImportersPulpImportCheckApi.pulp_import_check_post ...'
40
40
  end
41
41
  # verify the required parameter 'pulp_import_check' is set
42
42
  if @api_client.config.client_side_validation && pulp_import_check.nil?
43
- fail ArgumentError, "Missing the required parameter 'pulp_import_check' when calling ImportersCoreImportCheckApi.pulp_import_check_post"
43
+ fail ArgumentError, "Missing the required parameter 'pulp_import_check' when calling ImportersPulpImportCheckApi.pulp_import_check_post"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/importers/core/pulp/import-check/'
@@ -78,7 +78,7 @@ module PulpcoreClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: ImportersCoreImportCheckApi#pulp_import_check_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: ImportersPulpImportCheckApi#pulp_import_check_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -6,14 +6,14 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
15
  module PulpcoreClient
16
- class ImportersCoreImportsApi
16
+ class ImportersPulpImportsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
@@ -38,15 +38,15 @@ module PulpcoreClient
38
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
39
  def create_with_http_info(pulp_importer_href, pulp_import, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: ImportersCoreImportsApi.create ...'
41
+ @api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.create ...'
42
42
  end
43
43
  # verify the required parameter 'pulp_importer_href' is set
44
44
  if @api_client.config.client_side_validation && pulp_importer_href.nil?
45
- fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersCoreImportsApi.create"
45
+ fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.create"
46
46
  end
47
47
  # verify the required parameter 'pulp_import' is set
48
48
  if @api_client.config.client_side_validation && pulp_import.nil?
49
- fail ArgumentError, "Missing the required parameter 'pulp_import' when calling ImportersCoreImportsApi.create"
49
+ fail ArgumentError, "Missing the required parameter 'pulp_import' when calling ImportersPulpImportsApi.create"
50
50
  end
51
51
  # resource path
52
52
  local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
@@ -84,7 +84,7 @@ module PulpcoreClient
84
84
 
85
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
86
  if @api_client.config.debugging
87
- @api_client.config.logger.debug "API called: ImportersCoreImportsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: ImportersPulpImportsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
88
  end
89
89
  return data, status_code, headers
90
90
  end
@@ -106,11 +106,11 @@ module PulpcoreClient
106
106
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
107
107
  def delete_with_http_info(pulp_pulp_import_href, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: ImportersCoreImportsApi.delete ...'
109
+ @api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.delete ...'
110
110
  end
111
111
  # verify the required parameter 'pulp_pulp_import_href' is set
112
112
  if @api_client.config.client_side_validation && pulp_pulp_import_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersCoreImportsApi.delete"
113
+ fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.delete"
114
114
  end
115
115
  # resource path
116
116
  local_var_path = '{pulp_pulp_import_href}'.sub('{' + 'pulp_pulp_import_href' + '}', CGI.escape(pulp_pulp_import_href.to_s).gsub('%2F', '/'))
@@ -144,7 +144,7 @@ module PulpcoreClient
144
144
 
145
145
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
146
146
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: ImportersCoreImportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: ImportersPulpImportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
148
  end
149
149
  return data, status_code, headers
150
150
  end
@@ -176,11 +176,11 @@ module PulpcoreClient
176
176
  # @return [Array<(PaginatedImportResponseList, Integer, Hash)>] PaginatedImportResponseList data, response status code and response headers
177
177
  def list_with_http_info(pulp_importer_href, opts = {})
178
178
  if @api_client.config.debugging
179
- @api_client.config.logger.debug 'Calling API: ImportersCoreImportsApi.list ...'
179
+ @api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.list ...'
180
180
  end
181
181
  # verify the required parameter 'pulp_importer_href' is set
182
182
  if @api_client.config.client_side_validation && pulp_importer_href.nil?
183
- fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersCoreImportsApi.list"
183
+ fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.list"
184
184
  end
185
185
  # resource path
186
186
  local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
@@ -221,7 +221,7 @@ module PulpcoreClient
221
221
 
222
222
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
223
223
  if @api_client.config.debugging
224
- @api_client.config.logger.debug "API called: ImportersCoreImportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
+ @api_client.config.logger.debug "API called: ImportersPulpImportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
225
225
  end
226
226
  return data, status_code, headers
227
227
  end
@@ -247,11 +247,11 @@ module PulpcoreClient
247
247
  # @return [Array<(ImportResponse, Integer, Hash)>] ImportResponse data, response status code and response headers
248
248
  def read_with_http_info(pulp_pulp_import_href, opts = {})
249
249
  if @api_client.config.debugging
250
- @api_client.config.logger.debug 'Calling API: ImportersCoreImportsApi.read ...'
250
+ @api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.read ...'
251
251
  end
252
252
  # verify the required parameter 'pulp_pulp_import_href' is set
253
253
  if @api_client.config.client_side_validation && pulp_pulp_import_href.nil?
254
- fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersCoreImportsApi.read"
254
+ fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.read"
255
255
  end
256
256
  # resource path
257
257
  local_var_path = '{pulp_pulp_import_href}'.sub('{' + 'pulp_pulp_import_href' + '}', CGI.escape(pulp_pulp_import_href.to_s).gsub('%2F', '/'))
@@ -289,7 +289,7 @@ module PulpcoreClient
289
289
 
290
290
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
291
291
  if @api_client.config.debugging
292
- @api_client.config.logger.debug "API called: ImportersCoreImportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
292
+ @api_client.config.logger.debug "API called: ImportersPulpImportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
293
293
  end
294
294
  return data, status_code, headers
295
295
  end
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -20,7 +20,7 @@ module PulpcoreClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Delete orphans
23
- # Trigger an asynchronous task that deletes allorphaned content and artifacts.
23
+ # DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [AsyncOperationResponse]
26
26
  def delete(opts = {})
@@ -29,7 +29,7 @@ module PulpcoreClient
29
29
  end
30
30
 
31
31
  # Delete orphans
32
- # Trigger an asynchronous task that deletes allorphaned content and artifacts.
32
+ # DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the &#x60;POST /pulp/api/v3/orphans/cleanup/&#x60; call instead.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
35
  def delete_with_http_info(opts = {})
@@ -0,0 +1,84 @@
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 'cgi'
14
+
15
+ module PulpcoreClient
16
+ class OrphansCleanupApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Trigger an asynchronous orphan cleanup operation.
23
+ # @param orphans_cleanup [OrphansCleanup]
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [AsyncOperationResponse]
26
+ def cleanup(orphans_cleanup, opts = {})
27
+ data, _status_code, _headers = cleanup_with_http_info(orphans_cleanup, opts)
28
+ data
29
+ end
30
+
31
+ # Trigger an asynchronous orphan cleanup operation.
32
+ # @param orphans_cleanup [OrphansCleanup]
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
+ def cleanup_with_http_info(orphans_cleanup, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: OrphansCleanupApi.cleanup ...'
38
+ end
39
+ # verify the required parameter 'orphans_cleanup' is set
40
+ if @api_client.config.client_side_validation && orphans_cleanup.nil?
41
+ fail ArgumentError, "Missing the required parameter 'orphans_cleanup' when calling OrphansCleanupApi.cleanup"
42
+ end
43
+ # resource path
44
+ local_var_path = '/pulp/api/v3/orphans/cleanup/'
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
55
+
56
+ # form parameters
57
+ form_params = opts[:form_params] || {}
58
+
59
+ # http body (model)
60
+ post_body = opts[:body] || @api_client.object_to_http_body(orphans_cleanup)
61
+
62
+ # return_type
63
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
64
+
65
+ # auth_names
66
+ auth_names = opts[:auth_names] || ['basicAuth']
67
+
68
+ new_options = opts.merge(
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => return_type
75
+ )
76
+
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
+ if @api_client.config.debugging
79
+ @api_client.config.logger.debug "API called: OrphansCleanupApi#cleanup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
+ end
81
+ return data, status_code, headers
82
+ end
83
+ end
84
+ end
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -21,21 +21,27 @@ module PulpcoreClient
21
21
  end
22
22
  # Repair Artifact Storage
23
23
  # Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.
24
+ # @param repair [Repair]
24
25
  # @param [Hash] opts the optional parameters
25
26
  # @return [AsyncOperationResponse]
26
- def post(opts = {})
27
- data, _status_code, _headers = post_with_http_info(opts)
27
+ def post(repair, opts = {})
28
+ data, _status_code, _headers = post_with_http_info(repair, opts)
28
29
  data
29
30
  end
30
31
 
31
32
  # Repair Artifact Storage
32
33
  # Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.
34
+ # @param repair [Repair]
33
35
  # @param [Hash] opts the optional parameters
34
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
- def post_with_http_info(opts = {})
37
+ def post_with_http_info(repair, opts = {})
36
38
  if @api_client.config.debugging
37
39
  @api_client.config.logger.debug 'Calling API: RepairApi.post ...'
38
40
  end
41
+ # verify the required parameter 'repair' is set
42
+ if @api_client.config.client_side_validation && repair.nil?
43
+ fail ArgumentError, "Missing the required parameter 'repair' when calling RepairApi.post"
44
+ end
39
45
  # resource path
40
46
  local_var_path = '/pulp/api/v3/repair/'
41
47
 
@@ -46,12 +52,14 @@ module PulpcoreClient
46
52
  header_params = opts[:header_params] || {}
47
53
  # HTTP header 'Accept' (if needed)
48
54
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
+ # HTTP header 'Content-Type'
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
49
57
 
50
58
  # form parameters
51
59
  form_params = opts[:form_params] || {}
52
60
 
53
61
  # http body (model)
54
- post_body = opts[:body]
62
+ post_body = opts[:body] || @api_client.object_to_http_body(repair)
55
63
 
56
64
  # return_type
57
65
  return_type = opts[:return_type] || 'AsyncOperationResponse'
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -91,12 +91,14 @@ module PulpcoreClient
91
91
  # @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
92
92
  # @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
93
93
  # @option opts [Integer] :limit Number of results to return per page.
94
+ # @option opts [String] :logging_cid
95
+ # @option opts [String] :logging_cid__contains Filter results where logging_cid contains value
94
96
  # @option opts [String] :name
95
97
  # @option opts [String] :name__contains Filter results where name contains value
96
98
  # @option opts [Integer] :offset The initial index from which to return the results.
97
99
  # @option opts [String] :ordering Which field to use when ordering the results.
98
100
  # @option opts [String] :parent_task Foreign Key referenced by HREF
99
- # @option opts [String] :reserved_resources_record
101
+ # @option opts [Array<String>] :reserved_resources_record
100
102
  # @option opts [DateTime] :started_at ISO 8601 formatted dates are supported
101
103
  # @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
102
104
  # @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
@@ -128,12 +130,14 @@ module PulpcoreClient
128
130
  # @option opts [DateTime] :finished_at__lte Filter results where finished_at is less than or equal to value
129
131
  # @option opts [Array<DateTime>] :finished_at__range Filter results where finished_at is between two comma separated values
130
132
  # @option opts [Integer] :limit Number of results to return per page.
133
+ # @option opts [String] :logging_cid
134
+ # @option opts [String] :logging_cid__contains Filter results where logging_cid contains value
131
135
  # @option opts [String] :name
132
136
  # @option opts [String] :name__contains Filter results where name contains value
133
137
  # @option opts [Integer] :offset The initial index from which to return the results.
134
138
  # @option opts [String] :ordering Which field to use when ordering the results.
135
139
  # @option opts [String] :parent_task Foreign Key referenced by HREF
136
- # @option opts [String] :reserved_resources_record
140
+ # @option opts [Array<String>] :reserved_resources_record
137
141
  # @option opts [DateTime] :started_at ISO 8601 formatted dates are supported
138
142
  # @option opts [DateTime] :started_at__gt Filter results where started_at is greater than value
139
143
  # @option opts [DateTime] :started_at__gte Filter results where started_at is greater than or equal to value
@@ -152,7 +156,7 @@ module PulpcoreClient
152
156
  if @api_client.config.debugging
153
157
  @api_client.config.logger.debug 'Calling API: TasksApi.list ...'
154
158
  end
155
- allowable_values = ["canceled", "completed", "failed", "running", "skipped", "waiting"]
159
+ allowable_values = ["canceled", "canceling", "completed", "failed", "running", "skipped", "waiting"]
156
160
  if @api_client.config.client_side_validation && opts[:'state'] && !allowable_values.include?(opts[:'state'])
157
161
  fail ArgumentError, "invalid value for \"state\", must be one of #{allowable_values}"
158
162
  end
@@ -170,12 +174,14 @@ module PulpcoreClient
170
174
  query_params[:'finished_at__lte'] = opts[:'finished_at__lte'] if !opts[:'finished_at__lte'].nil?
171
175
  query_params[:'finished_at__range'] = @api_client.build_collection_param(opts[:'finished_at__range'], :csv) if !opts[:'finished_at__range'].nil?
172
176
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
177
+ query_params[:'logging_cid'] = opts[:'logging_cid'] if !opts[:'logging_cid'].nil?
178
+ query_params[:'logging_cid__contains'] = opts[:'logging_cid__contains'] if !opts[:'logging_cid__contains'].nil?
173
179
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
174
180
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
175
181
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
176
182
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
177
183
  query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
178
- query_params[:'reserved_resources_record'] = opts[:'reserved_resources_record'] if !opts[:'reserved_resources_record'].nil?
184
+ query_params[:'reserved_resources_record'] = @api_client.build_collection_param(opts[:'reserved_resources_record'], :multi) if !opts[:'reserved_resources_record'].nil?
179
185
  query_params[:'started_at'] = opts[:'started_at'] if !opts[:'started_at'].nil?
180
186
  query_params[:'started_at__gt'] = opts[:'started_at__gt'] if !opts[:'started_at__gt'].nil?
181
187
  query_params[:'started_at__gte'] = opts[:'started_at__gte'] if !opts[:'started_at__gte'].nil?