pulp_container_client 2.15.2 → 2.15.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -25
  3. data/docs/ContainerContainerDistribution.md +8 -8
  4. data/docs/ContainerContainerDistributionResponse.md +11 -11
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  7. data/docs/ContentBlobsApi.md +3 -1
  8. data/docs/ContentManifestsApi.md +3 -1
  9. data/docs/ContentSignaturesApi.md +11 -1
  10. data/docs/ContentTagsApi.md +3 -1
  11. data/docs/DistributionsContainerApi.md +136 -10
  12. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  13. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  14. data/docs/PulpContainerNamespacesApi.md +23 -9
  15. data/docs/RemotesContainerApi.md +135 -9
  16. data/docs/RepositoriesContainerApi.md +136 -10
  17. data/docs/RepositoriesContainerPushApi.md +24 -10
  18. data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
  19. data/docs/RepositoriesContainerVersionsApi.md +3 -1
  20. data/docs/SetLabel.md +19 -0
  21. data/docs/SetLabelResponse.md +19 -0
  22. data/docs/TokenApi.md +1 -1
  23. data/docs/UnsetLabel.md +17 -0
  24. data/docs/UnsetLabelResponse.md +19 -0
  25. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  26. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
  27. data/lib/pulp_container_client/api/content_signatures_api.rb +15 -0
  28. data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
  29. data/lib/pulp_container_client/api/distributions_container_api.rb +163 -0
  30. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +23 -0
  31. data/lib/pulp_container_client/api/remotes_container_api.rb +163 -0
  32. data/lib/pulp_container_client/api/repositories_container_api.rb +163 -0
  33. data/lib/pulp_container_client/api/repositories_container_push_api.rb +23 -0
  34. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
  35. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
  36. data/lib/pulp_container_client/configuration.rb +2 -2
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +62 -62
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +50 -50
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +50 -50
  41. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +53 -53
  42. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
  43. data/lib/pulp_container_client/models/set_label.rb +252 -0
  44. data/lib/pulp_container_client/models/set_label_response.rb +243 -0
  45. data/lib/pulp_container_client/models/unset_label.rb +242 -0
  46. data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
  47. data/lib/pulp_container_client/version.rb +1 -1
  48. data/lib/pulp_container_client.rb +4 -0
  49. data/spec/api/content_blobs_api_spec.rb +1 -0
  50. data/spec/api/content_manifests_api_spec.rb +1 -0
  51. data/spec/api/content_signatures_api_spec.rb +5 -0
  52. data/spec/api/content_tags_api_spec.rb +1 -0
  53. data/spec/api/distributions_container_api_spec.rb +35 -0
  54. data/spec/api/pulp_container_namespaces_api_spec.rb +9 -0
  55. data/spec/api/remotes_container_api_spec.rb +35 -0
  56. data/spec/api/repositories_container_api_spec.rb +35 -0
  57. data/spec/api/repositories_container_push_api_spec.rb +9 -0
  58. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
  59. data/spec/api/repositories_container_versions_api_spec.rb +1 -0
  60. data/spec/configuration_spec.rb +3 -3
  61. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  62. data/spec/models/container_container_distribution_spec.rb +6 -6
  63. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  64. data/spec/models/container_container_push_repository_spec.rb +5 -5
  65. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  66. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  67. data/spec/models/set_label_response_spec.rb +47 -0
  68. data/spec/models/set_label_spec.rb +47 -0
  69. data/spec/models/unset_label_response_spec.rb +47 -0
  70. data/spec/models/unset_label_spec.rb +41 -0
  71. metadata +63 -47
@@ -19,6 +19,7 @@ module PulpContainerClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add a role
22
23
  # Add a role for this object to users/groups.
23
24
  # @param container_container_namespace_href [String]
24
25
  # @param nested_role [NestedRole]
@@ -29,6 +30,7 @@ module PulpContainerClient
29
30
  data
30
31
  end
31
32
 
33
+ # Add a role
32
34
  # Add a role for this object to users/groups.
33
35
  # @param container_container_namespace_href [String]
34
36
  # @param nested_role [NestedRole]
@@ -220,12 +222,17 @@ module PulpContainerClient
220
222
  # @option opts [String] :name Filter results where name matches value
221
223
  # @option opts [String] :name__contains Filter results where name contains value
222
224
  # @option opts [String] :name__icontains Filter results where name contains value
225
+ # @option opts [String] :name__iexact Filter results where name matches value
223
226
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
227
+ # @option opts [String] :name__iregex Filter results where name matches regex value
228
+ # @option opts [String] :name__istartswith Filter results where name starts with value
229
+ # @option opts [String] :name__regex Filter results where name matches regex value
224
230
  # @option opts [String] :name__startswith Filter results where name starts with value
225
231
  # @option opts [Integer] :offset The initial index from which to return the results.
226
232
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
227
233
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
228
234
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
235
+ # @option opts [String] :q
229
236
  # @option opts [Array<String>] :fields A list of fields to include in the response.
230
237
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
231
238
  # @return [PaginatedcontainerContainerNamespaceResponseList]
@@ -241,12 +248,17 @@ module PulpContainerClient
241
248
  # @option opts [String] :name Filter results where name matches value
242
249
  # @option opts [String] :name__contains Filter results where name contains value
243
250
  # @option opts [String] :name__icontains Filter results where name contains value
251
+ # @option opts [String] :name__iexact Filter results where name matches value
244
252
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
253
+ # @option opts [String] :name__iregex Filter results where name matches regex value
254
+ # @option opts [String] :name__istartswith Filter results where name starts with value
255
+ # @option opts [String] :name__regex Filter results where name matches regex value
245
256
  # @option opts [String] :name__startswith Filter results where name starts with value
246
257
  # @option opts [Integer] :offset The initial index from which to return the results.
247
258
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
248
259
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
249
260
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
261
+ # @option opts [String] :q
250
262
  # @option opts [Array<String>] :fields A list of fields to include in the response.
251
263
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
252
264
  # @return [Array<(PaginatedcontainerContainerNamespaceResponseList, Integer, Hash)>] PaginatedcontainerContainerNamespaceResponseList data, response status code and response headers
@@ -267,12 +279,17 @@ module PulpContainerClient
267
279
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
268
280
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
269
281
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
282
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
270
283
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
284
+ query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
285
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
286
+ query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
271
287
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
272
288
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
273
289
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
274
290
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
275
291
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
292
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
276
293
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
277
294
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
278
295
 
@@ -309,6 +326,7 @@ module PulpContainerClient
309
326
  return data, status_code, headers
310
327
  end
311
328
 
329
+ # List roles
312
330
  # List roles assigned to this object.
313
331
  # @param container_container_namespace_href [String]
314
332
  # @param [Hash] opts the optional parameters
@@ -320,6 +338,7 @@ module PulpContainerClient
320
338
  data
321
339
  end
322
340
 
341
+ # List roles
323
342
  # List roles assigned to this object.
324
343
  # @param container_container_namespace_href [String]
325
344
  # @param [Hash] opts the optional parameters
@@ -375,6 +394,7 @@ module PulpContainerClient
375
394
  return data, status_code, headers
376
395
  end
377
396
 
397
+ # List user permissions
378
398
  # List permissions available to the current user on this object.
379
399
  # @param container_container_namespace_href [String]
380
400
  # @param [Hash] opts the optional parameters
@@ -386,6 +406,7 @@ module PulpContainerClient
386
406
  data
387
407
  end
388
408
 
409
+ # List user permissions
389
410
  # List permissions available to the current user on this object.
390
411
  # @param container_container_namespace_href [String]
391
412
  # @param [Hash] opts the optional parameters
@@ -509,6 +530,7 @@ module PulpContainerClient
509
530
  return data, status_code, headers
510
531
  end
511
532
 
533
+ # Remove a role
512
534
  # Remove a role for this object from users/groups.
513
535
  # @param container_container_namespace_href [String]
514
536
  # @param nested_role [NestedRole]
@@ -519,6 +541,7 @@ module PulpContainerClient
519
541
  data
520
542
  end
521
543
 
544
+ # Remove a role
522
545
  # Remove a role for this object from users/groups.
523
546
  # @param container_container_namespace_href [String]
524
547
  # @param nested_role [NestedRole]
@@ -19,6 +19,7 @@ module PulpContainerClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add a role
22
23
  # Add a role for this object to users/groups.
23
24
  # @param container_container_remote_href [String]
24
25
  # @param nested_role [NestedRole]
@@ -29,6 +30,7 @@ module PulpContainerClient
29
30
  data
30
31
  end
31
32
 
33
+ # Add a role
32
34
  # Add a role for this object to users/groups.
33
35
  # @param container_container_remote_href [String]
34
36
  # @param nested_role [NestedRole]
@@ -220,7 +222,11 @@ module PulpContainerClient
220
222
  # @option opts [String] :name Filter results where name matches value
221
223
  # @option opts [String] :name__contains Filter results where name contains value
222
224
  # @option opts [String] :name__icontains Filter results where name contains value
225
+ # @option opts [String] :name__iexact Filter results where name matches value
223
226
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
227
+ # @option opts [String] :name__iregex Filter results where name matches regex value
228
+ # @option opts [String] :name__istartswith Filter results where name starts with value
229
+ # @option opts [String] :name__regex Filter results where name matches regex value
224
230
  # @option opts [String] :name__startswith Filter results where name starts with value
225
231
  # @option opts [Integer] :offset The initial index from which to return the results.
226
232
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -233,6 +239,7 @@ module PulpContainerClient
233
239
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
234
240
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
235
241
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
242
+ # @option opts [String] :q
236
243
  # @option opts [Array<String>] :fields A list of fields to include in the response.
237
244
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
238
245
  # @return [PaginatedcontainerContainerRemoteResponseList]
@@ -248,7 +255,11 @@ module PulpContainerClient
248
255
  # @option opts [String] :name Filter results where name matches value
249
256
  # @option opts [String] :name__contains Filter results where name contains value
250
257
  # @option opts [String] :name__icontains Filter results where name contains value
258
+ # @option opts [String] :name__iexact Filter results where name matches value
251
259
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
260
+ # @option opts [String] :name__iregex Filter results where name matches regex value
261
+ # @option opts [String] :name__istartswith Filter results where name starts with value
262
+ # @option opts [String] :name__regex Filter results where name matches regex value
252
263
  # @option opts [String] :name__startswith Filter results where name starts with value
253
264
  # @option opts [Integer] :offset The initial index from which to return the results.
254
265
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -261,6 +272,7 @@ module PulpContainerClient
261
272
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
262
273
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
263
274
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
275
+ # @option opts [String] :q
264
276
  # @option opts [Array<String>] :fields A list of fields to include in the response.
265
277
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
266
278
  # @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
@@ -281,7 +293,11 @@ module PulpContainerClient
281
293
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
282
294
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
283
295
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
296
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
284
297
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
298
+ query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
299
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
300
+ query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
285
301
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
286
302
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
287
303
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
@@ -294,6 +310,7 @@ module PulpContainerClient
294
310
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
295
311
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
296
312
  query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
313
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
297
314
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
298
315
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
299
316
 
@@ -330,6 +347,7 @@ module PulpContainerClient
330
347
  return data, status_code, headers
331
348
  end
332
349
 
350
+ # List roles
333
351
  # List roles assigned to this object.
334
352
  # @param container_container_remote_href [String]
335
353
  # @param [Hash] opts the optional parameters
@@ -341,6 +359,7 @@ module PulpContainerClient
341
359
  data
342
360
  end
343
361
 
362
+ # List roles
344
363
  # List roles assigned to this object.
345
364
  # @param container_container_remote_href [String]
346
365
  # @param [Hash] opts the optional parameters
@@ -396,6 +415,7 @@ module PulpContainerClient
396
415
  return data, status_code, headers
397
416
  end
398
417
 
418
+ # List user permissions
399
419
  # List permissions available to the current user on this object.
400
420
  # @param container_container_remote_href [String]
401
421
  # @param [Hash] opts the optional parameters
@@ -407,6 +427,7 @@ module PulpContainerClient
407
427
  data
408
428
  end
409
429
 
430
+ # List user permissions
410
431
  # List permissions available to the current user on this object.
411
432
  # @param container_container_remote_href [String]
412
433
  # @param [Hash] opts the optional parameters
@@ -600,6 +621,7 @@ module PulpContainerClient
600
621
  return data, status_code, headers
601
622
  end
602
623
 
624
+ # Remove a role
603
625
  # Remove a role for this object from users/groups.
604
626
  # @param container_container_remote_href [String]
605
627
  # @param nested_role [NestedRole]
@@ -610,6 +632,7 @@ module PulpContainerClient
610
632
  data
611
633
  end
612
634
 
635
+ # Remove a role
613
636
  # Remove a role for this object from users/groups.
614
637
  # @param container_container_remote_href [String]
615
638
  # @param nested_role [NestedRole]
@@ -668,6 +691,146 @@ module PulpContainerClient
668
691
  return data, status_code, headers
669
692
  end
670
693
 
694
+ # Set a label
695
+ # Set a single pulp_label on the object to a specific value or null.
696
+ # @param container_container_remote_href [String]
697
+ # @param set_label [SetLabel]
698
+ # @param [Hash] opts the optional parameters
699
+ # @return [SetLabelResponse]
700
+ def set_label(container_container_remote_href, set_label, opts = {})
701
+ data, _status_code, _headers = set_label_with_http_info(container_container_remote_href, set_label, opts)
702
+ data
703
+ end
704
+
705
+ # Set a label
706
+ # Set a single pulp_label on the object to a specific value or null.
707
+ # @param container_container_remote_href [String]
708
+ # @param set_label [SetLabel]
709
+ # @param [Hash] opts the optional parameters
710
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
711
+ def set_label_with_http_info(container_container_remote_href, set_label, opts = {})
712
+ if @api_client.config.debugging
713
+ @api_client.config.logger.debug 'Calling API: RemotesContainerApi.set_label ...'
714
+ end
715
+ # verify the required parameter 'container_container_remote_href' is set
716
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
717
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.set_label"
718
+ end
719
+ # verify the required parameter 'set_label' is set
720
+ if @api_client.config.client_side_validation && set_label.nil?
721
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling RemotesContainerApi.set_label"
722
+ end
723
+ # resource path
724
+ local_var_path = '{container_container_remote_href}set_label/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
725
+
726
+ # query parameters
727
+ query_params = opts[:query_params] || {}
728
+
729
+ # header parameters
730
+ header_params = opts[:header_params] || {}
731
+ # HTTP header 'Accept' (if needed)
732
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
733
+ # HTTP header 'Content-Type'
734
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
735
+
736
+ # form parameters
737
+ form_params = opts[:form_params] || {}
738
+
739
+ # http body (model)
740
+ post_body = opts[:body] || @api_client.object_to_http_body(set_label)
741
+
742
+ # return_type
743
+ return_type = opts[:return_type] || 'SetLabelResponse'
744
+
745
+ # auth_names
746
+ auth_names = opts[:auth_names] || ['basicAuth']
747
+
748
+ new_options = opts.merge(
749
+ :header_params => header_params,
750
+ :query_params => query_params,
751
+ :form_params => form_params,
752
+ :body => post_body,
753
+ :auth_names => auth_names,
754
+ :return_type => return_type
755
+ )
756
+
757
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
758
+ if @api_client.config.debugging
759
+ @api_client.config.logger.debug "API called: RemotesContainerApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
760
+ end
761
+ return data, status_code, headers
762
+ end
763
+
764
+ # Unset a label
765
+ # Unset a single pulp_label on the object.
766
+ # @param container_container_remote_href [String]
767
+ # @param unset_label [UnsetLabel]
768
+ # @param [Hash] opts the optional parameters
769
+ # @return [UnsetLabelResponse]
770
+ def unset_label(container_container_remote_href, unset_label, opts = {})
771
+ data, _status_code, _headers = unset_label_with_http_info(container_container_remote_href, unset_label, opts)
772
+ data
773
+ end
774
+
775
+ # Unset a label
776
+ # Unset a single pulp_label on the object.
777
+ # @param container_container_remote_href [String]
778
+ # @param unset_label [UnsetLabel]
779
+ # @param [Hash] opts the optional parameters
780
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
781
+ def unset_label_with_http_info(container_container_remote_href, unset_label, opts = {})
782
+ if @api_client.config.debugging
783
+ @api_client.config.logger.debug 'Calling API: RemotesContainerApi.unset_label ...'
784
+ end
785
+ # verify the required parameter 'container_container_remote_href' is set
786
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
787
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.unset_label"
788
+ end
789
+ # verify the required parameter 'unset_label' is set
790
+ if @api_client.config.client_side_validation && unset_label.nil?
791
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling RemotesContainerApi.unset_label"
792
+ end
793
+ # resource path
794
+ local_var_path = '{container_container_remote_href}unset_label/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
795
+
796
+ # query parameters
797
+ query_params = opts[:query_params] || {}
798
+
799
+ # header parameters
800
+ header_params = opts[:header_params] || {}
801
+ # HTTP header 'Accept' (if needed)
802
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
803
+ # HTTP header 'Content-Type'
804
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
805
+
806
+ # form parameters
807
+ form_params = opts[:form_params] || {}
808
+
809
+ # http body (model)
810
+ post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
811
+
812
+ # return_type
813
+ return_type = opts[:return_type] || 'UnsetLabelResponse'
814
+
815
+ # auth_names
816
+ auth_names = opts[:auth_names] || ['basicAuth']
817
+
818
+ new_options = opts.merge(
819
+ :header_params => header_params,
820
+ :query_params => query_params,
821
+ :form_params => form_params,
822
+ :body => post_body,
823
+ :auth_names => auth_names,
824
+ :return_type => return_type
825
+ )
826
+
827
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
828
+ if @api_client.config.debugging
829
+ @api_client.config.logger.debug "API called: RemotesContainerApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
830
+ end
831
+ return data, status_code, headers
832
+ end
833
+
671
834
  # Update a container remote
672
835
  # Trigger an asynchronous update task
673
836
  # @param container_container_remote_href [String]