pulpcore_client 3.0.0rc4 → 3.0.0rc5

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 (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ArtifactsApi.md +12 -6
  4. data/docs/ContentSummary.md +21 -0
  5. data/docs/InlineResponse200.md +3 -3
  6. data/docs/InlineResponse2001.md +3 -3
  7. data/docs/InlineResponse2002.md +3 -3
  8. data/docs/InlineResponse2003.md +3 -3
  9. data/docs/InlineResponse2004.md +3 -3
  10. data/docs/InlineResponse2005.md +3 -3
  11. data/docs/RepositoriesApi.md +9 -3
  12. data/docs/RepositoriesVersionsApi.md +12 -6
  13. data/docs/RepositoryVersion.md +1 -1
  14. data/docs/StatusApi.md +9 -3
  15. data/docs/Task.md +4 -2
  16. data/docs/TasksApi.md +16 -6
  17. data/docs/UploadsApi.md +13 -7
  18. data/docs/WorkersApi.md +12 -6
  19. data/git_push.sh +10 -7
  20. data/lib/pulpcore_client/api/artifacts_api.rb +15 -9
  21. data/lib/pulpcore_client/api/orphans_api.rb +1 -1
  22. data/lib/pulpcore_client/api/repositories_api.rb +11 -5
  23. data/lib/pulpcore_client/api/repositories_versions_api.rb +17 -11
  24. data/lib/pulpcore_client/api/status_api.rb +4 -1
  25. data/lib/pulpcore_client/api/tasks_api.rb +22 -10
  26. data/lib/pulpcore_client/api/uploads_api.rb +19 -13
  27. data/lib/pulpcore_client/api/workers_api.rb +14 -8
  28. data/lib/pulpcore_client/api_client.rb +65 -64
  29. data/lib/pulpcore_client/api_error.rb +1 -1
  30. data/lib/pulpcore_client/configuration.rb +12 -17
  31. data/lib/pulpcore_client/models/artifact.rb +1 -1
  32. data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
  33. data/lib/pulpcore_client/models/content_app_status.rb +1 -1
  34. data/lib/pulpcore_client/models/content_summary.rb +236 -0
  35. data/lib/pulpcore_client/models/database_connection.rb +1 -1
  36. data/lib/pulpcore_client/models/inline_response200.rb +11 -11
  37. data/lib/pulpcore_client/models/inline_response2001.rb +11 -11
  38. data/lib/pulpcore_client/models/inline_response2002.rb +11 -11
  39. data/lib/pulpcore_client/models/inline_response2003.rb +11 -11
  40. data/lib/pulpcore_client/models/inline_response2004.rb +11 -11
  41. data/lib/pulpcore_client/models/inline_response2005.rb +11 -11
  42. data/lib/pulpcore_client/models/progress_report.rb +1 -1
  43. data/lib/pulpcore_client/models/redis_connection.rb +1 -1
  44. data/lib/pulpcore_client/models/repository.rb +1 -1
  45. data/lib/pulpcore_client/models/repository_version.rb +2 -3
  46. data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
  47. data/lib/pulpcore_client/models/status.rb +1 -1
  48. data/lib/pulpcore_client/models/task.rb +20 -7
  49. data/lib/pulpcore_client/models/task_cancel.rb +1 -1
  50. data/lib/pulpcore_client/models/upload.rb +1 -1
  51. data/lib/pulpcore_client/models/upload_chunk_detail.rb +1 -1
  52. data/lib/pulpcore_client/models/upload_commit.rb +1 -1
  53. data/lib/pulpcore_client/models/upload_detail.rb +1 -1
  54. data/lib/pulpcore_client/models/version.rb +1 -1
  55. data/lib/pulpcore_client/models/worker.rb +1 -1
  56. data/lib/pulpcore_client/version.rb +2 -2
  57. data/lib/pulpcore_client.rb +2 -1
  58. data/pulpcore_client.gemspec +1 -3
  59. data/spec/api/artifacts_api_spec.rb +5 -3
  60. data/spec/api/orphans_api_spec.rb +1 -1
  61. data/spec/api/repositories_api_spec.rb +3 -1
  62. data/spec/api/repositories_versions_api_spec.rb +5 -3
  63. data/spec/api/status_api_spec.rb +2 -1
  64. data/spec/api/tasks_api_spec.rb +7 -3
  65. data/spec/api/uploads_api_spec.rb +6 -4
  66. data/spec/api/workers_api_spec.rb +5 -3
  67. data/spec/api_client_spec.rb +1 -39
  68. data/spec/configuration_spec.rb +1 -1
  69. data/spec/models/artifact_spec.rb +1 -1
  70. data/spec/models/async_operation_response_spec.rb +1 -1
  71. data/spec/models/content_app_status_spec.rb +1 -1
  72. data/spec/models/content_summary_spec.rb +53 -0
  73. data/spec/models/database_connection_spec.rb +1 -1
  74. data/spec/models/inline_response2001_spec.rb +4 -4
  75. data/spec/models/inline_response2002_spec.rb +4 -4
  76. data/spec/models/inline_response2003_spec.rb +4 -4
  77. data/spec/models/inline_response2004_spec.rb +4 -4
  78. data/spec/models/inline_response2005_spec.rb +4 -4
  79. data/spec/models/inline_response200_spec.rb +4 -4
  80. data/spec/models/progress_report_spec.rb +1 -1
  81. data/spec/models/redis_connection_spec.rb +1 -1
  82. data/spec/models/repository_spec.rb +1 -1
  83. data/spec/models/repository_version_create_spec.rb +1 -1
  84. data/spec/models/repository_version_spec.rb +1 -1
  85. data/spec/models/status_spec.rb +1 -1
  86. data/spec/models/task_cancel_spec.rb +1 -1
  87. data/spec/models/task_spec.rb +7 -1
  88. data/spec/models/upload_chunk_detail_spec.rb +1 -1
  89. data/spec/models/upload_commit_spec.rb +1 -1
  90. data/spec/models/upload_detail_spec.rb +1 -1
  91. data/spec/models/upload_spec.rb +1 -1
  92. data/spec/models/version_spec.rb +1 -1
  93. data/spec/models/worker_spec.rb +1 -1
  94. data/spec/spec_helper.rb +1 -1
  95. metadata +6 -42
data/git_push.sh CHANGED
@@ -1,14 +1,17 @@
1
1
  #!/bin/sh
2
- #
3
- # Generated by: https://openapi-generator.tech
4
- #
5
2
  # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
3
  #
7
- # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
8
5
 
9
6
  git_user_id=$1
10
7
  git_repo_id=$2
11
8
  release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
12
15
 
13
16
  if [ "$git_user_id" = "" ]; then
14
17
  git_user_id="GIT_USER_ID"
@@ -40,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
40
43
 
41
44
  if [ "$GIT_TOKEN" = "" ]; then
42
45
  echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
- git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
44
47
  else
45
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
48
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
46
49
  fi
47
50
 
48
51
  fi
@@ -50,6 +53,6 @@ fi
50
53
  git pull origin master
51
54
 
52
55
  # Pushes (Forces) the changes in the local repository up to the remote repository
53
- echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
54
57
  git push origin master 2>&1 | grep -v 'To https'
55
58
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -147,7 +147,7 @@ module PulpcoreClient
147
147
  fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.delete"
148
148
  end
149
149
  # resource path
150
- local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s)).gsub('%2F', '/')
150
+ local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
151
151
 
152
152
  # query parameters
153
153
  query_params = opts[:query_params] || {}
@@ -192,8 +192,9 @@ module PulpcoreClient
192
192
  # @option opts [String] :sha256 Filter results where sha256 matches value
193
193
  # @option opts [String] :sha384 Filter results where sha384 matches value
194
194
  # @option opts [String] :sha512 Filter results where sha512 matches value
195
- # @option opts [Integer] :page A page number within the paginated result set.
196
- # @option opts [Integer] :page_size Number of results to return per page.
195
+ # @option opts [Integer] :limit Number of results to return per page.
196
+ # @option opts [Integer] :offset The initial index from which to return the results.
197
+ # @option opts [String] :fields A list of fields to include in the response.
197
198
  # @return [InlineResponse200]
198
199
  def list(opts = {})
199
200
  data, _status_code, _headers = list_with_http_info(opts)
@@ -209,8 +210,9 @@ module PulpcoreClient
209
210
  # @option opts [String] :sha256 Filter results where sha256 matches value
210
211
  # @option opts [String] :sha384 Filter results where sha384 matches value
211
212
  # @option opts [String] :sha512 Filter results where sha512 matches value
212
- # @option opts [Integer] :page A page number within the paginated result set.
213
- # @option opts [Integer] :page_size Number of results to return per page.
213
+ # @option opts [Integer] :limit Number of results to return per page.
214
+ # @option opts [Integer] :offset The initial index from which to return the results.
215
+ # @option opts [String] :fields A list of fields to include in the response.
214
216
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
215
217
  def list_with_http_info(opts = {})
216
218
  if @api_client.config.debugging
@@ -228,8 +230,9 @@ module PulpcoreClient
228
230
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
229
231
  query_params[:'sha384'] = opts[:'sha384'] if !opts[:'sha384'].nil?
230
232
  query_params[:'sha512'] = opts[:'sha512'] if !opts[:'sha512'].nil?
231
- query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
232
- query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
233
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
234
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
235
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
233
236
 
234
237
  # header parameters
235
238
  header_params = opts[:header_params] || {}
@@ -267,6 +270,7 @@ module PulpcoreClient
267
270
  # Inspect an artifact
268
271
  # @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
269
272
  # @param [Hash] opts the optional parameters
273
+ # @option opts [String] :fields A list of fields to include in the response.
270
274
  # @return [Artifact]
271
275
  def read(artifact_href, opts = {})
272
276
  data, _status_code, _headers = read_with_http_info(artifact_href, opts)
@@ -276,6 +280,7 @@ module PulpcoreClient
276
280
  # Inspect an artifact
277
281
  # @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
278
282
  # @param [Hash] opts the optional parameters
283
+ # @option opts [String] :fields A list of fields to include in the response.
279
284
  # @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
280
285
  def read_with_http_info(artifact_href, opts = {})
281
286
  if @api_client.config.debugging
@@ -286,10 +291,11 @@ module PulpcoreClient
286
291
  fail ArgumentError, "Missing the required parameter 'artifact_href' when calling ArtifactsApi.read"
287
292
  end
288
293
  # resource path
289
- local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s)).gsub('%2F', '/')
294
+ local_var_path = '{artifact_href}'.sub('{' + 'artifact_href' + '}', CGI.escape(artifact_href.to_s).gsub('%2F', '/'))
290
295
 
291
296
  # query parameters
292
297
  query_params = opts[:query_params] || {}
298
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
293
299
 
294
300
  # header parameters
295
301
  header_params = opts[:header_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -105,7 +105,7 @@ module PulpcoreClient
105
105
  fail ArgumentError, "Missing the required parameter 'repository_href' when calling RepositoriesApi.delete"
106
106
  end
107
107
  # resource path
108
- local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s)).gsub('%2F', '/')
108
+ local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s).gsub('%2F', '/'))
109
109
 
110
110
  # query parameters
111
111
  query_params = opts[:query_params] || {}
@@ -149,6 +149,7 @@ module PulpcoreClient
149
149
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
150
150
  # @option opts [Integer] :page A page number within the paginated result set.
151
151
  # @option opts [Integer] :page_size Number of results to return per page.
152
+ # @option opts [String] :fields A list of fields to include in the response.
152
153
  # @return [InlineResponse2001]
153
154
  def list(opts = {})
154
155
  data, _status_code, _headers = list_with_http_info(opts)
@@ -161,6 +162,7 @@ module PulpcoreClient
161
162
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
162
163
  # @option opts [Integer] :page A page number within the paginated result set.
163
164
  # @option opts [Integer] :page_size Number of results to return per page.
165
+ # @option opts [String] :fields A list of fields to include in the response.
164
166
  # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
165
167
  def list_with_http_info(opts = {})
166
168
  if @api_client.config.debugging
@@ -175,6 +177,7 @@ module PulpcoreClient
175
177
  query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
176
178
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
177
179
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
180
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
178
181
 
179
182
  # header parameters
180
183
  header_params = opts[:header_params] || {}
@@ -237,7 +240,7 @@ module PulpcoreClient
237
240
  fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesApi.partial_update"
238
241
  end
239
242
  # resource path
240
- local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s)).gsub('%2F', '/')
243
+ local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s).gsub('%2F', '/'))
241
244
 
242
245
  # query parameters
243
246
  query_params = opts[:query_params] || {}
@@ -280,6 +283,7 @@ module PulpcoreClient
280
283
  # Inspect a repository
281
284
  # @param repository_href [String] URI of Repository. e.g.: /pulp/api/v3/repositories/1/
282
285
  # @param [Hash] opts the optional parameters
286
+ # @option opts [String] :fields A list of fields to include in the response.
283
287
  # @return [Repository]
284
288
  def read(repository_href, opts = {})
285
289
  data, _status_code, _headers = read_with_http_info(repository_href, opts)
@@ -289,6 +293,7 @@ module PulpcoreClient
289
293
  # Inspect a repository
290
294
  # @param repository_href [String] URI of Repository. e.g.: /pulp/api/v3/repositories/1/
291
295
  # @param [Hash] opts the optional parameters
296
+ # @option opts [String] :fields A list of fields to include in the response.
292
297
  # @return [Array<(Repository, Integer, Hash)>] Repository data, response status code and response headers
293
298
  def read_with_http_info(repository_href, opts = {})
294
299
  if @api_client.config.debugging
@@ -299,10 +304,11 @@ module PulpcoreClient
299
304
  fail ArgumentError, "Missing the required parameter 'repository_href' when calling RepositoriesApi.read"
300
305
  end
301
306
  # resource path
302
- local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s)).gsub('%2F', '/')
307
+ local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s).gsub('%2F', '/'))
303
308
 
304
309
  # query parameters
305
310
  query_params = opts[:query_params] || {}
311
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
306
312
 
307
313
  # header parameters
308
314
  header_params = opts[:header_params] || {}
@@ -367,7 +373,7 @@ module PulpcoreClient
367
373
  fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesApi.update"
368
374
  end
369
375
  # resource path
370
- local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s)).gsub('%2F', '/')
376
+ local_var_path = '{repository_href}'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s).gsub('%2F', '/'))
371
377
 
372
378
  # query parameters
373
379
  query_params = opts[:query_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ module PulpcoreClient
49
49
  fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesVersionsApi.create"
50
50
  end
51
51
  # resource path
52
- local_var_path = '{repository_href}versions/'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s)).gsub('%2F', '/')
52
+ local_var_path = '{repository_href}versions/'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s).gsub('%2F', '/'))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -113,7 +113,7 @@ module PulpcoreClient
113
113
  fail ArgumentError, "Missing the required parameter 'repository_version_href' when calling RepositoriesVersionsApi.delete"
114
114
  end
115
115
  # resource path
116
- local_var_path = '{repository_version_href}'.sub('{' + 'repository_version_href' + '}', CGI.escape(repository_version_href.to_s)).gsub('%2F', '/')
116
+ local_var_path = '{repository_version_href}'.sub('{' + 'repository_version_href' + '}', CGI.escape(repository_version_href.to_s).gsub('%2F', '/'))
117
117
 
118
118
  # query parameters
119
119
  query_params = opts[:query_params] || {}
@@ -168,8 +168,9 @@ module PulpcoreClient
168
168
  # @option opts [String] :_created__range Filter results where _created is between two comma separated values
169
169
  # @option opts [String] :content Content Unit referenced by HREF
170
170
  # @option opts [String] :_created ISO 8601 formatted dates are supported
171
- # @option opts [Integer] :page A page number within the paginated result set.
172
- # @option opts [Integer] :page_size Number of results to return per page.
171
+ # @option opts [Integer] :limit Number of results to return per page.
172
+ # @option opts [Integer] :offset The initial index from which to return the results.
173
+ # @option opts [String] :fields A list of fields to include in the response.
173
174
  # @return [InlineResponse2002]
174
175
  def list(repository_href, opts = {})
175
176
  data, _status_code, _headers = list_with_http_info(repository_href, opts)
@@ -193,8 +194,9 @@ module PulpcoreClient
193
194
  # @option opts [String] :_created__range Filter results where _created is between two comma separated values
194
195
  # @option opts [String] :content Content Unit referenced by HREF
195
196
  # @option opts [String] :_created ISO 8601 formatted dates are supported
196
- # @option opts [Integer] :page A page number within the paginated result set.
197
- # @option opts [Integer] :page_size Number of results to return per page.
197
+ # @option opts [Integer] :limit Number of results to return per page.
198
+ # @option opts [Integer] :offset The initial index from which to return the results.
199
+ # @option opts [String] :fields A list of fields to include in the response.
198
200
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
199
201
  def list_with_http_info(repository_href, opts = {})
200
202
  if @api_client.config.debugging
@@ -205,7 +207,7 @@ module PulpcoreClient
205
207
  fail ArgumentError, "Missing the required parameter 'repository_href' when calling RepositoriesVersionsApi.list"
206
208
  end
207
209
  # resource path
208
- local_var_path = '{repository_href}versions/'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s)).gsub('%2F', '/')
210
+ local_var_path = '{repository_href}versions/'.sub('{' + 'repository_href' + '}', CGI.escape(repository_href.to_s).gsub('%2F', '/'))
209
211
 
210
212
  # query parameters
211
213
  query_params = opts[:query_params] || {}
@@ -223,8 +225,9 @@ module PulpcoreClient
223
225
  query_params[:'_created__range'] = opts[:'_created__range'] if !opts[:'_created__range'].nil?
224
226
  query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
225
227
  query_params[:'_created'] = opts[:'_created'] if !opts[:'_created'].nil?
226
- query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
227
- query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
228
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
229
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
230
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
228
231
 
229
232
  # header parameters
230
233
  header_params = opts[:header_params] || {}
@@ -262,6 +265,7 @@ module PulpcoreClient
262
265
  # Inspect a repository version
263
266
  # @param repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
264
267
  # @param [Hash] opts the optional parameters
268
+ # @option opts [String] :fields A list of fields to include in the response.
265
269
  # @return [RepositoryVersion]
266
270
  def read(repository_version_href, opts = {})
267
271
  data, _status_code, _headers = read_with_http_info(repository_version_href, opts)
@@ -271,6 +275,7 @@ module PulpcoreClient
271
275
  # Inspect a repository version
272
276
  # @param repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
273
277
  # @param [Hash] opts the optional parameters
278
+ # @option opts [String] :fields A list of fields to include in the response.
274
279
  # @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
275
280
  def read_with_http_info(repository_version_href, opts = {})
276
281
  if @api_client.config.debugging
@@ -281,10 +286,11 @@ module PulpcoreClient
281
286
  fail ArgumentError, "Missing the required parameter 'repository_version_href' when calling RepositoriesVersionsApi.read"
282
287
  end
283
288
  # resource path
284
- local_var_path = '{repository_version_href}'.sub('{' + 'repository_version_href' + '}', CGI.escape(repository_version_href.to_s)).gsub('%2F', '/')
289
+ local_var_path = '{repository_version_href}'.sub('{' + 'repository_version_href' + '}', CGI.escape(repository_version_href.to_s).gsub('%2F', '/'))
285
290
 
286
291
  # query parameters
287
292
  query_params = opts[:query_params] || {}
293
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
288
294
 
289
295
  # header parameters
290
296
  header_params = opts[:header_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # Inspect status of Pulp
23
23
  # Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [String] :fields A list of fields to include in the response.
25
26
  # @return [Status]
26
27
  def status_read(opts = {})
27
28
  data, _status_code, _headers = status_read_with_http_info(opts)
@@ -31,6 +32,7 @@ module PulpcoreClient
31
32
  # Inspect status of Pulp
32
33
  # Returns app information including the version of pulpcore and loaded pulp plugins, known workers, database connection status, and messaging connection status
33
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [String] :fields A list of fields to include in the response.
34
36
  # @return [Array<(Status, Integer, Hash)>] Status data, response status code and response headers
35
37
  def status_read_with_http_info(opts = {})
36
38
  if @api_client.config.debugging
@@ -41,6 +43,7 @@ module PulpcoreClient
41
43
 
42
44
  # query parameters
43
45
  query_params = opts[:query_params] || {}
46
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
44
47
 
45
48
  # header parameters
46
49
  header_params = opts[:header_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ module PulpcoreClient
41
41
  fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.delete"
42
42
  end
43
43
  # resource path
44
- local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s)).gsub('%2F', '/')
44
+ local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
45
45
 
46
46
  # query parameters
47
47
  query_params = opts[:query_params] || {}
@@ -96,11 +96,14 @@ module PulpcoreClient
96
96
  # @option opts [String] :finished_at__gte Filter results where finished_at is greater than or equal to value
97
97
  # @option opts [String] :finished_at__range Filter results where finished_at is between two comma separated values
98
98
  # @option opts [String] :parent Foreign Key referenced by HREF
99
+ # @option opts [String] :reserved_resources_record
100
+ # @option opts [String] :created_resources
99
101
  # @option opts [String] :name
100
102
  # @option opts [String] :started_at ISO 8601 formatted dates are supported
101
103
  # @option opts [String] :finished_at ISO 8601 formatted dates are supported
102
- # @option opts [Integer] :page A page number within the paginated result set.
103
- # @option opts [Integer] :page_size Number of results to return per page.
104
+ # @option opts [Integer] :limit Number of results to return per page.
105
+ # @option opts [Integer] :offset The initial index from which to return the results.
106
+ # @option opts [String] :fields A list of fields to include in the response.
104
107
  # @return [InlineResponse2003]
105
108
  def list(opts = {})
106
109
  data, _status_code, _headers = list_with_http_info(opts)
@@ -126,11 +129,14 @@ module PulpcoreClient
126
129
  # @option opts [String] :finished_at__gte Filter results where finished_at is greater than or equal to value
127
130
  # @option opts [String] :finished_at__range Filter results where finished_at is between two comma separated values
128
131
  # @option opts [String] :parent Foreign Key referenced by HREF
132
+ # @option opts [String] :reserved_resources_record
133
+ # @option opts [String] :created_resources
129
134
  # @option opts [String] :name
130
135
  # @option opts [String] :started_at ISO 8601 formatted dates are supported
131
136
  # @option opts [String] :finished_at ISO 8601 formatted dates are supported
132
- # @option opts [Integer] :page A page number within the paginated result set.
133
- # @option opts [Integer] :page_size Number of results to return per page.
137
+ # @option opts [Integer] :limit Number of results to return per page.
138
+ # @option opts [Integer] :offset The initial index from which to return the results.
139
+ # @option opts [String] :fields A list of fields to include in the response.
134
140
  # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
135
141
  def list_with_http_info(opts = {})
136
142
  if @api_client.config.debugging
@@ -158,11 +164,14 @@ module PulpcoreClient
158
164
  query_params[:'finished_at__gte'] = opts[:'finished_at__gte'] if !opts[:'finished_at__gte'].nil?
159
165
  query_params[:'finished_at__range'] = opts[:'finished_at__range'] if !opts[:'finished_at__range'].nil?
160
166
  query_params[:'parent'] = opts[:'parent'] if !opts[:'parent'].nil?
167
+ query_params[:'reserved_resources_record'] = opts[:'reserved_resources_record'] if !opts[:'reserved_resources_record'].nil?
168
+ query_params[:'created_resources'] = opts[:'created_resources'] if !opts[:'created_resources'].nil?
161
169
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
162
170
  query_params[:'started_at'] = opts[:'started_at'] if !opts[:'started_at'].nil?
163
171
  query_params[:'finished_at'] = opts[:'finished_at'] if !opts[:'finished_at'].nil?
164
- query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
165
- query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
172
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
173
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
174
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
166
175
 
167
176
  # header parameters
168
177
  header_params = opts[:header_params] || {}
@@ -200,6 +209,7 @@ module PulpcoreClient
200
209
  # Inspect a task
201
210
  # @param task_href [String] URI of Task. e.g.: /pulp/api/v3/tasks/1/
202
211
  # @param [Hash] opts the optional parameters
212
+ # @option opts [String] :fields A list of fields to include in the response.
203
213
  # @return [Task]
204
214
  def read(task_href, opts = {})
205
215
  data, _status_code, _headers = read_with_http_info(task_href, opts)
@@ -209,6 +219,7 @@ module PulpcoreClient
209
219
  # Inspect a task
210
220
  # @param task_href [String] URI of Task. e.g.: /pulp/api/v3/tasks/1/
211
221
  # @param [Hash] opts the optional parameters
222
+ # @option opts [String] :fields A list of fields to include in the response.
212
223
  # @return [Array<(Task, Integer, Hash)>] Task data, response status code and response headers
213
224
  def read_with_http_info(task_href, opts = {})
214
225
  if @api_client.config.debugging
@@ -219,10 +230,11 @@ module PulpcoreClient
219
230
  fail ArgumentError, "Missing the required parameter 'task_href' when calling TasksApi.read"
220
231
  end
221
232
  # resource path
222
- local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s)).gsub('%2F', '/')
233
+ local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
223
234
 
224
235
  # query parameters
225
236
  query_params = opts[:query_params] || {}
237
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
226
238
 
227
239
  # header parameters
228
240
  header_params = opts[:header_params] || {}
@@ -287,7 +299,7 @@ module PulpcoreClient
287
299
  fail ArgumentError, "Missing the required parameter 'data' when calling TasksApi.tasks_cancel"
288
300
  end
289
301
  # resource path
290
- local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s)).gsub('%2F', '/')
302
+ local_var_path = '{task_href}'.sub('{' + 'task_href' + '}', CGI.escape(task_href.to_s).gsub('%2F', '/'))
291
303
 
292
304
  # query parameters
293
305
  query_params = opts[:query_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -20,7 +20,7 @@ module PulpcoreClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Finish an Upload
23
- # Generates a Task to commit the upload and create an artifact
23
+ # Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
24
24
  # @param upload_href [String] URI of Upload. e.g.: /pulp/api/v3/uploads/1/
25
25
  # @param data [UploadCommit]
26
26
  # @param [Hash] opts the optional parameters
@@ -31,7 +31,7 @@ module PulpcoreClient
31
31
  end
32
32
 
33
33
  # Finish an Upload
34
- # Generates a Task to commit the upload and create an artifact
34
+ # Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
35
35
  # @param upload_href [String] URI of Upload. e.g.: /pulp/api/v3/uploads/1/
36
36
  # @param data [UploadCommit]
37
37
  # @param [Hash] opts the optional parameters
@@ -49,7 +49,7 @@ module PulpcoreClient
49
49
  fail ArgumentError, "Missing the required parameter 'data' when calling UploadsApi.commit"
50
50
  end
51
51
  # resource path
52
- local_var_path = '{upload_href}commit/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s)).gsub('%2F', '/')
52
+ local_var_path = '{upload_href}commit/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -177,7 +177,7 @@ module PulpcoreClient
177
177
  fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.delete"
178
178
  end
179
179
  # resource path
180
- local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s)).gsub('%2F', '/')
180
+ local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
181
181
 
182
182
  # query parameters
183
183
  query_params = opts[:query_params] || {}
@@ -217,8 +217,9 @@ module PulpcoreClient
217
217
  # View for chunked uploads.
218
218
  # @param [Hash] opts the optional parameters
219
219
  # @option opts [String] :completed ISO 8601 formatted dates are supported
220
- # @option opts [Integer] :page A page number within the paginated result set.
221
- # @option opts [Integer] :page_size Number of results to return per page.
220
+ # @option opts [Integer] :limit Number of results to return per page.
221
+ # @option opts [Integer] :offset The initial index from which to return the results.
222
+ # @option opts [String] :fields A list of fields to include in the response.
222
223
  # @return [InlineResponse2004]
223
224
  def list(opts = {})
224
225
  data, _status_code, _headers = list_with_http_info(opts)
@@ -229,8 +230,9 @@ module PulpcoreClient
229
230
  # View for chunked uploads.
230
231
  # @param [Hash] opts the optional parameters
231
232
  # @option opts [String] :completed ISO 8601 formatted dates are supported
232
- # @option opts [Integer] :page A page number within the paginated result set.
233
- # @option opts [Integer] :page_size Number of results to return per page.
233
+ # @option opts [Integer] :limit Number of results to return per page.
234
+ # @option opts [Integer] :offset The initial index from which to return the results.
235
+ # @option opts [String] :fields A list of fields to include in the response.
234
236
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
235
237
  def list_with_http_info(opts = {})
236
238
  if @api_client.config.debugging
@@ -242,8 +244,9 @@ module PulpcoreClient
242
244
  # query parameters
243
245
  query_params = opts[:query_params] || {}
244
246
  query_params[:'completed'] = opts[:'completed'] if !opts[:'completed'].nil?
245
- query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
246
- query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
247
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
248
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
249
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
247
250
 
248
251
  # header parameters
249
252
  header_params = opts[:header_params] || {}
@@ -282,6 +285,7 @@ module PulpcoreClient
282
285
  # View for chunked uploads.
283
286
  # @param upload_href [String] URI of Upload. e.g.: /pulp/api/v3/uploads/1/
284
287
  # @param [Hash] opts the optional parameters
288
+ # @option opts [String] :fields A list of fields to include in the response.
285
289
  # @return [UploadDetail]
286
290
  def read(upload_href, opts = {})
287
291
  data, _status_code, _headers = read_with_http_info(upload_href, opts)
@@ -292,6 +296,7 @@ module PulpcoreClient
292
296
  # View for chunked uploads.
293
297
  # @param upload_href [String] URI of Upload. e.g.: /pulp/api/v3/uploads/1/
294
298
  # @param [Hash] opts the optional parameters
299
+ # @option opts [String] :fields A list of fields to include in the response.
295
300
  # @return [Array<(UploadDetail, Integer, Hash)>] UploadDetail data, response status code and response headers
296
301
  def read_with_http_info(upload_href, opts = {})
297
302
  if @api_client.config.debugging
@@ -302,10 +307,11 @@ module PulpcoreClient
302
307
  fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.read"
303
308
  end
304
309
  # resource path
305
- local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s)).gsub('%2F', '/')
310
+ local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
306
311
 
307
312
  # query parameters
308
313
  query_params = opts[:query_params] || {}
314
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
309
315
 
310
316
  # header parameters
311
317
  header_params = opts[:header_params] || {}
@@ -387,7 +393,7 @@ module PulpcoreClient
387
393
  end
388
394
 
389
395
  # resource path
390
- local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s)).gsub('%2F', '/')
396
+ local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
391
397
 
392
398
  # query parameters
393
399
  query_params = opts[:query_params] || {}