pulp_container_client 2.14.13 → 2.15.0.dev1661401897
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -10
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContainerContainerRemote.md +2 -2
- data/docs/ContainerContainerRemoteResponse.md +2 -4
- data/docs/ContainerContainerRepository.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -2
- data/docs/ContentBlobsApi.md +10 -14
- data/docs/ContentManifestsApi.md +12 -16
- data/docs/ContentSignaturesApi.md +10 -14
- data/docs/ContentTagsApi.md +12 -16
- data/docs/DistributionsContainerApi.md +22 -30
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +2 -2
- data/docs/PatchedcontainerContainerRepository.md +2 -2
- data/docs/PulpContainerNamespacesApi.md +18 -22
- data/docs/RemotesContainerApi.md +22 -26
- data/docs/RepositoriesContainerApi.md +21 -41
- data/docs/RepositoriesContainerPushApi.md +21 -41
- data/docs/RepositoriesContainerPushVersionsApi.md +14 -16
- data/docs/RepositoriesContainerVersionsApi.md +14 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +15 -21
- data/lib/pulp_container_client/api/content_manifests_api.rb +17 -23
- data/lib/pulp_container_client/api/content_signatures_api.rb +15 -21
- data/lib/pulp_container_client/api/content_tags_api.rb +17 -23
- data/lib/pulp_container_client/api/distributions_container_api.rb +31 -43
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +27 -33
- data/lib/pulp_container_client/api/remotes_container_api.rb +31 -37
- data/lib/pulp_container_client/api/repositories_container_api.rb +29 -59
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +29 -59
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +19 -22
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +19 -22
- data/lib/pulp_container_client/models/container_container_distribution.rb +48 -50
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -40
- data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -27
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -49
- data/lib/pulp_container_client/models/container_container_remote.rb +3 -5
- data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -18
- data/lib/pulp_container_client/models/container_container_repository.rb +3 -5
- data/lib/pulp_container_client/models/container_container_repository_response.rb +3 -5
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +39 -41
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +3 -5
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +3 -5
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -1
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/distributions_container_api_spec.rb +11 -15
- data/spec/api/pulp_container_namespaces_api_spec.rb +9 -11
- data/spec/api/remotes_container_api_spec.rb +11 -13
- data/spec/api/repositories_container_api_spec.rb +10 -20
- data/spec/api/repositories_container_push_api_spec.rb +10 -20
- data/spec/api/repositories_container_push_versions_api_spec.rb +7 -8
- data/spec/api/repositories_container_versions_api_spec.rb +7 -8
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_container_remote_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +46 -50
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -215
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
|
@@ -217,24 +217,22 @@ module PulpContainerClient
|
|
|
217
217
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
|
219
219
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
220
|
-
# @option opts [String] :name
|
|
220
|
+
# @option opts [String] :name
|
|
221
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
222
222
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
223
223
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
224
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
225
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
226
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
227
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
228
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
226
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
229
227
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
230
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
228
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
|
231
229
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
232
230
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
233
231
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
234
232
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
235
233
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
236
|
-
# @option opts [
|
|
237
|
-
# @option opts [
|
|
234
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
235
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
238
236
|
# @return [PaginatedcontainerContainerRemoteResponseList]
|
|
239
237
|
def list(opts = {})
|
|
240
238
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -245,30 +243,28 @@ module PulpContainerClient
|
|
|
245
243
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
246
244
|
# @param [Hash] opts the optional parameters
|
|
247
245
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
248
|
-
# @option opts [String] :name
|
|
246
|
+
# @option opts [String] :name
|
|
249
247
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
250
248
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
251
249
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
252
250
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
253
251
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
254
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
255
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
256
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
252
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
257
253
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
258
|
-
# @option opts [DateTime] :pulp_last_updated
|
|
254
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
|
259
255
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
260
256
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
|
261
257
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
262
258
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
263
259
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
264
|
-
# @option opts [
|
|
265
|
-
# @option opts [
|
|
260
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
261
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
266
262
|
# @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
|
|
267
263
|
def list_with_http_info(opts = {})
|
|
268
264
|
if @api_client.config.debugging
|
|
269
265
|
@api_client.config.logger.debug 'Calling API: RemotesContainerApi.list ...'
|
|
270
266
|
end
|
|
271
|
-
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
|
267
|
+
allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-container_containerremote", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "container_containerremote", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
|
|
272
268
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
273
269
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
274
270
|
end
|
|
@@ -285,8 +281,6 @@ module PulpContainerClient
|
|
|
285
281
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
286
282
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
287
283
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
288
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
289
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
290
284
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
291
285
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
|
292
286
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
|
@@ -294,8 +288,8 @@ module PulpContainerClient
|
|
|
294
288
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
|
295
289
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
|
296
290
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
|
297
|
-
query_params[:'fields'] =
|
|
298
|
-
query_params[:'exclude_fields'] =
|
|
291
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
292
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
299
293
|
|
|
300
294
|
# header parameters
|
|
301
295
|
header_params = opts[:header_params] || {}
|
|
@@ -333,8 +327,8 @@ module PulpContainerClient
|
|
|
333
327
|
# List roles assigned to this object.
|
|
334
328
|
# @param container_container_remote_href [String]
|
|
335
329
|
# @param [Hash] opts the optional parameters
|
|
336
|
-
# @option opts [
|
|
337
|
-
# @option opts [
|
|
330
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
331
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
338
332
|
# @return [ObjectRolesResponse]
|
|
339
333
|
def list_roles(container_container_remote_href, opts = {})
|
|
340
334
|
data, _status_code, _headers = list_roles_with_http_info(container_container_remote_href, opts)
|
|
@@ -344,8 +338,8 @@ module PulpContainerClient
|
|
|
344
338
|
# List roles assigned to this object.
|
|
345
339
|
# @param container_container_remote_href [String]
|
|
346
340
|
# @param [Hash] opts the optional parameters
|
|
347
|
-
# @option opts [
|
|
348
|
-
# @option opts [
|
|
341
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
342
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
349
343
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
350
344
|
def list_roles_with_http_info(container_container_remote_href, opts = {})
|
|
351
345
|
if @api_client.config.debugging
|
|
@@ -360,8 +354,8 @@ module PulpContainerClient
|
|
|
360
354
|
|
|
361
355
|
# query parameters
|
|
362
356
|
query_params = opts[:query_params] || {}
|
|
363
|
-
query_params[:'fields'] =
|
|
364
|
-
query_params[:'exclude_fields'] =
|
|
357
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
358
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
365
359
|
|
|
366
360
|
# header parameters
|
|
367
361
|
header_params = opts[:header_params] || {}
|
|
@@ -399,8 +393,8 @@ module PulpContainerClient
|
|
|
399
393
|
# List permissions available to the current user on this object.
|
|
400
394
|
# @param container_container_remote_href [String]
|
|
401
395
|
# @param [Hash] opts the optional parameters
|
|
402
|
-
# @option opts [
|
|
403
|
-
# @option opts [
|
|
396
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
397
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
404
398
|
# @return [MyPermissionsResponse]
|
|
405
399
|
def my_permissions(container_container_remote_href, opts = {})
|
|
406
400
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_remote_href, opts)
|
|
@@ -410,8 +404,8 @@ module PulpContainerClient
|
|
|
410
404
|
# List permissions available to the current user on this object.
|
|
411
405
|
# @param container_container_remote_href [String]
|
|
412
406
|
# @param [Hash] opts the optional parameters
|
|
413
|
-
# @option opts [
|
|
414
|
-
# @option opts [
|
|
407
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
408
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
415
409
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
416
410
|
def my_permissions_with_http_info(container_container_remote_href, opts = {})
|
|
417
411
|
if @api_client.config.debugging
|
|
@@ -426,8 +420,8 @@ module PulpContainerClient
|
|
|
426
420
|
|
|
427
421
|
# query parameters
|
|
428
422
|
query_params = opts[:query_params] || {}
|
|
429
|
-
query_params[:'fields'] =
|
|
430
|
-
query_params[:'exclude_fields'] =
|
|
423
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
424
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
431
425
|
|
|
432
426
|
# header parameters
|
|
433
427
|
header_params = opts[:header_params] || {}
|
|
@@ -536,8 +530,8 @@ module PulpContainerClient
|
|
|
536
530
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
537
531
|
# @param container_container_remote_href [String]
|
|
538
532
|
# @param [Hash] opts the optional parameters
|
|
539
|
-
# @option opts [
|
|
540
|
-
# @option opts [
|
|
533
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
534
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
541
535
|
# @return [ContainerContainerRemoteResponse]
|
|
542
536
|
def read(container_container_remote_href, opts = {})
|
|
543
537
|
data, _status_code, _headers = read_with_http_info(container_container_remote_href, opts)
|
|
@@ -548,8 +542,8 @@ module PulpContainerClient
|
|
|
548
542
|
# Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
|
|
549
543
|
# @param container_container_remote_href [String]
|
|
550
544
|
# @param [Hash] opts the optional parameters
|
|
551
|
-
# @option opts [
|
|
552
|
-
# @option opts [
|
|
545
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
546
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
553
547
|
# @return [Array<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
|
|
554
548
|
def read_with_http_info(container_container_remote_href, opts = {})
|
|
555
549
|
if @api_client.config.debugging
|
|
@@ -564,8 +558,8 @@ module PulpContainerClient
|
|
|
564
558
|
|
|
565
559
|
# query parameters
|
|
566
560
|
query_params = opts[:query_params] || {}
|
|
567
|
-
query_params[:'fields'] =
|
|
568
|
-
query_params[:'exclude_fields'] =
|
|
561
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
562
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
569
563
|
|
|
570
564
|
# header parameters
|
|
571
565
|
header_params = opts[:header_params] || {}
|
|
@@ -507,27 +507,17 @@ module PulpContainerClient
|
|
|
507
507
|
# ViewSet for container repo.
|
|
508
508
|
# @param [Hash] opts the optional parameters
|
|
509
509
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
510
|
-
# @option opts [String] :name
|
|
510
|
+
# @option opts [String] :name
|
|
511
511
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
512
512
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
513
513
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
514
514
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
515
515
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
516
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
517
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
518
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
516
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
519
517
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
520
518
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
521
|
-
# @option opts [
|
|
522
|
-
# @option opts [
|
|
523
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
524
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
|
525
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
|
526
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
527
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
528
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
529
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
530
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
519
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
520
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
531
521
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
|
532
522
|
def list(opts = {})
|
|
533
523
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -538,33 +528,23 @@ module PulpContainerClient
|
|
|
538
528
|
# ViewSet for container repo.
|
|
539
529
|
# @param [Hash] opts the optional parameters
|
|
540
530
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
541
|
-
# @option opts [String] :name
|
|
531
|
+
# @option opts [String] :name
|
|
542
532
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
543
533
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
544
534
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
545
535
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
546
536
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
547
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
548
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
549
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
537
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
550
538
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
551
539
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
552
|
-
# @option opts [
|
|
553
|
-
# @option opts [
|
|
554
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
555
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
|
556
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
|
557
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
558
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
559
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
560
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
561
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
540
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
541
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
562
542
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
|
563
543
|
def list_with_http_info(opts = {})
|
|
564
544
|
if @api_client.config.debugging
|
|
565
545
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
|
|
566
546
|
end
|
|
567
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
547
|
+
allowable_values = ["-alternatecontentsourcepath", "-container_containerpushrepository", "-container_containerrepository", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-uploads", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "container_containerpushrepository", "container_containerrepository", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "uploads", "user_hidden", "user_roles", "versions"]
|
|
568
548
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
569
549
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
570
550
|
end
|
|
@@ -581,20 +561,10 @@ module PulpContainerClient
|
|
|
581
561
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
582
562
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
583
563
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
584
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
585
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
586
564
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
587
565
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
588
|
-
query_params[:'
|
|
589
|
-
query_params[:'
|
|
590
|
-
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
591
|
-
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
|
592
|
-
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
|
593
|
-
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
|
594
|
-
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
|
595
|
-
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
|
596
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
597
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
566
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
567
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
598
568
|
|
|
599
569
|
# header parameters
|
|
600
570
|
header_params = opts[:header_params] || {}
|
|
@@ -632,8 +602,8 @@ module PulpContainerClient
|
|
|
632
602
|
# List roles assigned to this object.
|
|
633
603
|
# @param container_container_repository_href [String]
|
|
634
604
|
# @param [Hash] opts the optional parameters
|
|
635
|
-
# @option opts [
|
|
636
|
-
# @option opts [
|
|
605
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
606
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
637
607
|
# @return [ObjectRolesResponse]
|
|
638
608
|
def list_roles(container_container_repository_href, opts = {})
|
|
639
609
|
data, _status_code, _headers = list_roles_with_http_info(container_container_repository_href, opts)
|
|
@@ -643,8 +613,8 @@ module PulpContainerClient
|
|
|
643
613
|
# List roles assigned to this object.
|
|
644
614
|
# @param container_container_repository_href [String]
|
|
645
615
|
# @param [Hash] opts the optional parameters
|
|
646
|
-
# @option opts [
|
|
647
|
-
# @option opts [
|
|
616
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
617
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
648
618
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
649
619
|
def list_roles_with_http_info(container_container_repository_href, opts = {})
|
|
650
620
|
if @api_client.config.debugging
|
|
@@ -659,8 +629,8 @@ module PulpContainerClient
|
|
|
659
629
|
|
|
660
630
|
# query parameters
|
|
661
631
|
query_params = opts[:query_params] || {}
|
|
662
|
-
query_params[:'fields'] =
|
|
663
|
-
query_params[:'exclude_fields'] =
|
|
632
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
633
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
664
634
|
|
|
665
635
|
# header parameters
|
|
666
636
|
header_params = opts[:header_params] || {}
|
|
@@ -698,8 +668,8 @@ module PulpContainerClient
|
|
|
698
668
|
# List permissions available to the current user on this object.
|
|
699
669
|
# @param container_container_repository_href [String]
|
|
700
670
|
# @param [Hash] opts the optional parameters
|
|
701
|
-
# @option opts [
|
|
702
|
-
# @option opts [
|
|
671
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
672
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
703
673
|
# @return [MyPermissionsResponse]
|
|
704
674
|
def my_permissions(container_container_repository_href, opts = {})
|
|
705
675
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_repository_href, opts)
|
|
@@ -709,8 +679,8 @@ module PulpContainerClient
|
|
|
709
679
|
# List permissions available to the current user on this object.
|
|
710
680
|
# @param container_container_repository_href [String]
|
|
711
681
|
# @param [Hash] opts the optional parameters
|
|
712
|
-
# @option opts [
|
|
713
|
-
# @option opts [
|
|
682
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
683
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
714
684
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
715
685
|
def my_permissions_with_http_info(container_container_repository_href, opts = {})
|
|
716
686
|
if @api_client.config.debugging
|
|
@@ -725,8 +695,8 @@ module PulpContainerClient
|
|
|
725
695
|
|
|
726
696
|
# query parameters
|
|
727
697
|
query_params = opts[:query_params] || {}
|
|
728
|
-
query_params[:'fields'] =
|
|
729
|
-
query_params[:'exclude_fields'] =
|
|
698
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
699
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
730
700
|
|
|
731
701
|
# header parameters
|
|
732
702
|
header_params = opts[:header_params] || {}
|
|
@@ -835,8 +805,8 @@ module PulpContainerClient
|
|
|
835
805
|
# ViewSet for container repo.
|
|
836
806
|
# @param container_container_repository_href [String]
|
|
837
807
|
# @param [Hash] opts the optional parameters
|
|
838
|
-
# @option opts [
|
|
839
|
-
# @option opts [
|
|
808
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
809
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
840
810
|
# @return [ContainerContainerRepositoryResponse]
|
|
841
811
|
def read(container_container_repository_href, opts = {})
|
|
842
812
|
data, _status_code, _headers = read_with_http_info(container_container_repository_href, opts)
|
|
@@ -847,8 +817,8 @@ module PulpContainerClient
|
|
|
847
817
|
# ViewSet for container repo.
|
|
848
818
|
# @param container_container_repository_href [String]
|
|
849
819
|
# @param [Hash] opts the optional parameters
|
|
850
|
-
# @option opts [
|
|
851
|
-
# @option opts [
|
|
820
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
821
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
852
822
|
# @return [Array<(ContainerContainerRepositoryResponse, Integer, Hash)>] ContainerContainerRepositoryResponse data, response status code and response headers
|
|
853
823
|
def read_with_http_info(container_container_repository_href, opts = {})
|
|
854
824
|
if @api_client.config.debugging
|
|
@@ -863,8 +833,8 @@ module PulpContainerClient
|
|
|
863
833
|
|
|
864
834
|
# query parameters
|
|
865
835
|
query_params = opts[:query_params] || {}
|
|
866
|
-
query_params[:'fields'] =
|
|
867
|
-
query_params[:'exclude_fields'] =
|
|
836
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
837
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
868
838
|
|
|
869
839
|
# header parameters
|
|
870
840
|
header_params = opts[:header_params] || {}
|
|
@@ -91,27 +91,17 @@ module PulpContainerClient
|
|
|
91
91
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
92
92
|
# @param [Hash] opts the optional parameters
|
|
93
93
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
94
|
-
# @option opts [String] :name
|
|
94
|
+
# @option opts [String] :name
|
|
95
95
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
96
96
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
97
97
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
98
98
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
99
99
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
100
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
101
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
102
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
100
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
103
101
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
104
102
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
105
|
-
# @option opts [
|
|
106
|
-
# @option opts [
|
|
107
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
108
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
|
109
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
|
110
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
111
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
112
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
113
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
103
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
104
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
115
105
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
|
116
106
|
def list(opts = {})
|
|
117
107
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -122,33 +112,23 @@ module PulpContainerClient
|
|
|
122
112
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
123
113
|
# @param [Hash] opts the optional parameters
|
|
124
114
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
125
|
-
# @option opts [String] :name
|
|
115
|
+
# @option opts [String] :name
|
|
126
116
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
127
117
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
128
118
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
129
119
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
130
120
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
131
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
132
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
133
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
121
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
134
122
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
135
123
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
136
|
-
# @option opts [
|
|
137
|
-
# @option opts [
|
|
138
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
139
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
|
140
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
|
141
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
142
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
143
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
144
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
145
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
124
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
125
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
146
126
|
# @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
|
|
147
127
|
def list_with_http_info(opts = {})
|
|
148
128
|
if @api_client.config.debugging
|
|
149
129
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.list ...'
|
|
150
130
|
end
|
|
151
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
131
|
+
allowable_values = ["-alternatecontentsourcepath", "-container_containerpushrepository", "-container_containerrepository", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-uploads", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "container_containerpushrepository", "container_containerrepository", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "uploads", "user_hidden", "user_roles", "versions"]
|
|
152
132
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
153
133
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
154
134
|
end
|
|
@@ -165,20 +145,10 @@ module PulpContainerClient
|
|
|
165
145
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
166
146
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
167
147
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
168
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
169
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
170
148
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
171
149
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
172
|
-
query_params[:'
|
|
173
|
-
query_params[:'
|
|
174
|
-
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
175
|
-
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
|
176
|
-
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
|
177
|
-
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
|
178
|
-
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
|
179
|
-
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
|
180
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
181
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
150
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
151
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
182
152
|
|
|
183
153
|
# header parameters
|
|
184
154
|
header_params = opts[:header_params] || {}
|
|
@@ -216,8 +186,8 @@ module PulpContainerClient
|
|
|
216
186
|
# List roles assigned to this object.
|
|
217
187
|
# @param container_container_push_repository_href [String]
|
|
218
188
|
# @param [Hash] opts the optional parameters
|
|
219
|
-
# @option opts [
|
|
220
|
-
# @option opts [
|
|
189
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
190
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
221
191
|
# @return [ObjectRolesResponse]
|
|
222
192
|
def list_roles(container_container_push_repository_href, opts = {})
|
|
223
193
|
data, _status_code, _headers = list_roles_with_http_info(container_container_push_repository_href, opts)
|
|
@@ -227,8 +197,8 @@ module PulpContainerClient
|
|
|
227
197
|
# List roles assigned to this object.
|
|
228
198
|
# @param container_container_push_repository_href [String]
|
|
229
199
|
# @param [Hash] opts the optional parameters
|
|
230
|
-
# @option opts [
|
|
231
|
-
# @option opts [
|
|
200
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
201
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
232
202
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
233
203
|
def list_roles_with_http_info(container_container_push_repository_href, opts = {})
|
|
234
204
|
if @api_client.config.debugging
|
|
@@ -243,8 +213,8 @@ module PulpContainerClient
|
|
|
243
213
|
|
|
244
214
|
# query parameters
|
|
245
215
|
query_params = opts[:query_params] || {}
|
|
246
|
-
query_params[:'fields'] =
|
|
247
|
-
query_params[:'exclude_fields'] =
|
|
216
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
217
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
248
218
|
|
|
249
219
|
# header parameters
|
|
250
220
|
header_params = opts[:header_params] || {}
|
|
@@ -282,8 +252,8 @@ module PulpContainerClient
|
|
|
282
252
|
# List permissions available to the current user on this object.
|
|
283
253
|
# @param container_container_push_repository_href [String]
|
|
284
254
|
# @param [Hash] opts the optional parameters
|
|
285
|
-
# @option opts [
|
|
286
|
-
# @option opts [
|
|
255
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
256
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
287
257
|
# @return [MyPermissionsResponse]
|
|
288
258
|
def my_permissions(container_container_push_repository_href, opts = {})
|
|
289
259
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_push_repository_href, opts)
|
|
@@ -293,8 +263,8 @@ module PulpContainerClient
|
|
|
293
263
|
# List permissions available to the current user on this object.
|
|
294
264
|
# @param container_container_push_repository_href [String]
|
|
295
265
|
# @param [Hash] opts the optional parameters
|
|
296
|
-
# @option opts [
|
|
297
|
-
# @option opts [
|
|
266
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
267
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
298
268
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
299
269
|
def my_permissions_with_http_info(container_container_push_repository_href, opts = {})
|
|
300
270
|
if @api_client.config.debugging
|
|
@@ -309,8 +279,8 @@ module PulpContainerClient
|
|
|
309
279
|
|
|
310
280
|
# query parameters
|
|
311
281
|
query_params = opts[:query_params] || {}
|
|
312
|
-
query_params[:'fields'] =
|
|
313
|
-
query_params[:'exclude_fields'] =
|
|
282
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
283
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
314
284
|
|
|
315
285
|
# header parameters
|
|
316
286
|
header_params = opts[:header_params] || {}
|
|
@@ -419,8 +389,8 @@ module PulpContainerClient
|
|
|
419
389
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
420
390
|
# @param container_container_push_repository_href [String]
|
|
421
391
|
# @param [Hash] opts the optional parameters
|
|
422
|
-
# @option opts [
|
|
423
|
-
# @option opts [
|
|
392
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
393
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
424
394
|
# @return [ContainerContainerPushRepositoryResponse]
|
|
425
395
|
def read(container_container_push_repository_href, opts = {})
|
|
426
396
|
data, _status_code, _headers = read_with_http_info(container_container_push_repository_href, opts)
|
|
@@ -431,8 +401,8 @@ module PulpContainerClient
|
|
|
431
401
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
|
432
402
|
# @param container_container_push_repository_href [String]
|
|
433
403
|
# @param [Hash] opts the optional parameters
|
|
434
|
-
# @option opts [
|
|
435
|
-
# @option opts [
|
|
404
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
405
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
436
406
|
# @return [Array<(ContainerContainerPushRepositoryResponse, Integer, Hash)>] ContainerContainerPushRepositoryResponse data, response status code and response headers
|
|
437
407
|
def read_with_http_info(container_container_push_repository_href, opts = {})
|
|
438
408
|
if @api_client.config.debugging
|
|
@@ -447,8 +417,8 @@ module PulpContainerClient
|
|
|
447
417
|
|
|
448
418
|
# query parameters
|
|
449
419
|
query_params = opts[:query_params] || {}
|
|
450
|
-
query_params[:'fields'] =
|
|
451
|
-
query_params[:'exclude_fields'] =
|
|
420
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
421
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
452
422
|
|
|
453
423
|
# header parameters
|
|
454
424
|
header_params = opts[:header_params] || {}
|