pulp_container_client 2.15.2 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -25
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +2 -2
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/ContentBlobsApi.md +3 -1
  8. data/docs/ContentManifestsApi.md +3 -1
  9. data/docs/ContentSignaturesApi.md +7 -1
  10. data/docs/ContentTagsApi.md +3 -1
  11. data/docs/DistributionsContainerApi.md +132 -10
  12. data/docs/IndexDynamicApi.md +50 -0
  13. data/docs/IndexStaticApi.md +50 -0
  14. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  15. data/docs/PatchedcontainerContainerPushRepository.md +2 -2
  16. data/docs/PulpContainerNamespacesApi.md +19 -9
  17. data/docs/RemotesContainerApi.md +131 -9
  18. data/docs/RepositoriesContainerApi.md +133 -11
  19. data/docs/RepositoriesContainerPushApi.md +20 -10
  20. data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
  21. data/docs/RepositoriesContainerVersionsApi.md +3 -1
  22. data/docs/SetLabel.md +19 -0
  23. data/docs/SetLabelResponse.md +19 -0
  24. data/docs/TokenApi.md +1 -1
  25. data/docs/UnsetLabel.md +17 -0
  26. data/docs/UnsetLabelResponse.md +19 -0
  27. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  28. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
  29. data/lib/pulp_container_client/api/content_signatures_api.rb +9 -0
  30. data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
  31. data/lib/pulp_container_client/api/distributions_container_api.rb +157 -0
  32. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  33. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  34. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +17 -0
  35. data/lib/pulp_container_client/api/remotes_container_api.rb +157 -0
  36. data/lib/pulp_container_client/api/repositories_container_api.rb +159 -2
  37. data/lib/pulp_container_client/api/repositories_container_push_api.rb +17 -0
  38. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
  39. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
  40. data/lib/pulp_container_client/configuration.rb +2 -2
  41. data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
  42. data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -48
  43. data/lib/pulp_container_client/models/container_container_push_repository.rb +11 -11
  44. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +35 -35
  45. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -46
  46. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +11 -11
  47. data/lib/pulp_container_client/models/set_label.rb +252 -0
  48. data/lib/pulp_container_client/models/set_label_response.rb +243 -0
  49. data/lib/pulp_container_client/models/unset_label.rb +242 -0
  50. data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
  51. data/lib/pulp_container_client/version.rb +1 -1
  52. data/lib/pulp_container_client.rb +6 -0
  53. data/spec/api/content_blobs_api_spec.rb +1 -0
  54. data/spec/api/content_manifests_api_spec.rb +1 -0
  55. data/spec/api/content_signatures_api_spec.rb +3 -0
  56. data/spec/api/content_tags_api_spec.rb +1 -0
  57. data/spec/api/distributions_container_api_spec.rb +33 -0
  58. data/spec/api/index_dynamic_api_spec.rb +45 -0
  59. data/spec/api/index_static_api_spec.rb +45 -0
  60. data/spec/api/pulp_container_namespaces_api_spec.rb +7 -0
  61. data/spec/api/remotes_container_api_spec.rb +33 -0
  62. data/spec/api/repositories_container_api_spec.rb +34 -1
  63. data/spec/api/repositories_container_push_api_spec.rb +7 -0
  64. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
  65. data/spec/api/repositories_container_versions_api_spec.rb +1 -0
  66. data/spec/configuration_spec.rb +3 -3
  67. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  68. data/spec/models/container_container_distribution_spec.rb +5 -5
  69. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  70. data/spec/models/container_container_push_repository_spec.rb +2 -2
  71. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  72. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  73. data/spec/models/set_label_response_spec.rb +47 -0
  74. data/spec/models/set_label_spec.rb +47 -0
  75. data/spec/models/unset_label_response_spec.rb +47 -0
  76. data/spec/models/unset_label_spec.rb +41 -0
  77. metadata +67 -43
@@ -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,15 @@ 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__istartswith Filter results where name starts with value
224
228
  # @option opts [String] :name__startswith Filter results where name starts with value
225
229
  # @option opts [Integer] :offset The initial index from which to return the results.
226
230
  # @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
231
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
228
232
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
233
+ # @option opts [String] :q
229
234
  # @option opts [Array<String>] :fields A list of fields to include in the response.
230
235
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
231
236
  # @return [PaginatedcontainerContainerNamespaceResponseList]
@@ -241,12 +246,15 @@ module PulpContainerClient
241
246
  # @option opts [String] :name Filter results where name matches value
242
247
  # @option opts [String] :name__contains Filter results where name contains value
243
248
  # @option opts [String] :name__icontains Filter results where name contains value
249
+ # @option opts [String] :name__iexact Filter results where name matches value
244
250
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
251
+ # @option opts [String] :name__istartswith Filter results where name starts with value
245
252
  # @option opts [String] :name__startswith Filter results where name starts with value
246
253
  # @option opts [Integer] :offset The initial index from which to return the results.
247
254
  # @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
255
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
249
256
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
257
+ # @option opts [String] :q
250
258
  # @option opts [Array<String>] :fields A list of fields to include in the response.
251
259
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
252
260
  # @return [Array<(PaginatedcontainerContainerNamespaceResponseList, Integer, Hash)>] PaginatedcontainerContainerNamespaceResponseList data, response status code and response headers
@@ -267,12 +275,15 @@ module PulpContainerClient
267
275
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
268
276
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
269
277
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
278
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
270
279
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
280
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
271
281
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
272
282
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
273
283
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
274
284
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
275
285
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
286
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
276
287
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
277
288
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
278
289
 
@@ -309,6 +320,7 @@ module PulpContainerClient
309
320
  return data, status_code, headers
310
321
  end
311
322
 
323
+ # List roles
312
324
  # List roles assigned to this object.
313
325
  # @param container_container_namespace_href [String]
314
326
  # @param [Hash] opts the optional parameters
@@ -320,6 +332,7 @@ module PulpContainerClient
320
332
  data
321
333
  end
322
334
 
335
+ # List roles
323
336
  # List roles assigned to this object.
324
337
  # @param container_container_namespace_href [String]
325
338
  # @param [Hash] opts the optional parameters
@@ -375,6 +388,7 @@ module PulpContainerClient
375
388
  return data, status_code, headers
376
389
  end
377
390
 
391
+ # List user permissions
378
392
  # List permissions available to the current user on this object.
379
393
  # @param container_container_namespace_href [String]
380
394
  # @param [Hash] opts the optional parameters
@@ -386,6 +400,7 @@ module PulpContainerClient
386
400
  data
387
401
  end
388
402
 
403
+ # List user permissions
389
404
  # List permissions available to the current user on this object.
390
405
  # @param container_container_namespace_href [String]
391
406
  # @param [Hash] opts the optional parameters
@@ -509,6 +524,7 @@ module PulpContainerClient
509
524
  return data, status_code, headers
510
525
  end
511
526
 
527
+ # Remove a role
512
528
  # Remove a role for this object from users/groups.
513
529
  # @param container_container_namespace_href [String]
514
530
  # @param nested_role [NestedRole]
@@ -519,6 +535,7 @@ module PulpContainerClient
519
535
  data
520
536
  end
521
537
 
538
+ # Remove a role
522
539
  # Remove a role for this object from users/groups.
523
540
  # @param container_container_namespace_href [String]
524
541
  # @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,9 @@ 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__istartswith Filter results where name starts with value
224
228
  # @option opts [String] :name__startswith Filter results where name starts with value
225
229
  # @option opts [Integer] :offset The initial index from which to return the results.
226
230
  # @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 +237,7 @@ module PulpContainerClient
233
237
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
234
238
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
235
239
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
240
+ # @option opts [String] :q
236
241
  # @option opts [Array<String>] :fields A list of fields to include in the response.
237
242
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
238
243
  # @return [PaginatedcontainerContainerRemoteResponseList]
@@ -248,7 +253,9 @@ module PulpContainerClient
248
253
  # @option opts [String] :name Filter results where name matches value
249
254
  # @option opts [String] :name__contains Filter results where name contains value
250
255
  # @option opts [String] :name__icontains Filter results where name contains value
256
+ # @option opts [String] :name__iexact Filter results where name matches value
251
257
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
258
+ # @option opts [String] :name__istartswith Filter results where name starts with value
252
259
  # @option opts [String] :name__startswith Filter results where name starts with value
253
260
  # @option opts [Integer] :offset The initial index from which to return the results.
254
261
  # @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 +268,7 @@ module PulpContainerClient
261
268
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
262
269
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
263
270
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
271
+ # @option opts [String] :q
264
272
  # @option opts [Array<String>] :fields A list of fields to include in the response.
265
273
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
266
274
  # @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
@@ -281,7 +289,9 @@ module PulpContainerClient
281
289
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
282
290
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
283
291
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
292
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
284
293
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
294
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
285
295
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
286
296
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
287
297
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
@@ -294,6 +304,7 @@ module PulpContainerClient
294
304
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
295
305
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
296
306
  query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
307
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
297
308
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
298
309
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
299
310
 
@@ -330,6 +341,7 @@ module PulpContainerClient
330
341
  return data, status_code, headers
331
342
  end
332
343
 
344
+ # List roles
333
345
  # List roles assigned to this object.
334
346
  # @param container_container_remote_href [String]
335
347
  # @param [Hash] opts the optional parameters
@@ -341,6 +353,7 @@ module PulpContainerClient
341
353
  data
342
354
  end
343
355
 
356
+ # List roles
344
357
  # List roles assigned to this object.
345
358
  # @param container_container_remote_href [String]
346
359
  # @param [Hash] opts the optional parameters
@@ -396,6 +409,7 @@ module PulpContainerClient
396
409
  return data, status_code, headers
397
410
  end
398
411
 
412
+ # List user permissions
399
413
  # List permissions available to the current user on this object.
400
414
  # @param container_container_remote_href [String]
401
415
  # @param [Hash] opts the optional parameters
@@ -407,6 +421,7 @@ module PulpContainerClient
407
421
  data
408
422
  end
409
423
 
424
+ # List user permissions
410
425
  # List permissions available to the current user on this object.
411
426
  # @param container_container_remote_href [String]
412
427
  # @param [Hash] opts the optional parameters
@@ -600,6 +615,7 @@ module PulpContainerClient
600
615
  return data, status_code, headers
601
616
  end
602
617
 
618
+ # Remove a role
603
619
  # Remove a role for this object from users/groups.
604
620
  # @param container_container_remote_href [String]
605
621
  # @param nested_role [NestedRole]
@@ -610,6 +626,7 @@ module PulpContainerClient
610
626
  data
611
627
  end
612
628
 
629
+ # Remove a role
613
630
  # Remove a role for this object from users/groups.
614
631
  # @param container_container_remote_href [String]
615
632
  # @param nested_role [NestedRole]
@@ -668,6 +685,146 @@ module PulpContainerClient
668
685
  return data, status_code, headers
669
686
  end
670
687
 
688
+ # Set a label
689
+ # Set a single pulp_label on the object to a specific value or null.
690
+ # @param container_container_remote_href [String]
691
+ # @param set_label [SetLabel]
692
+ # @param [Hash] opts the optional parameters
693
+ # @return [SetLabelResponse]
694
+ def set_label(container_container_remote_href, set_label, opts = {})
695
+ data, _status_code, _headers = set_label_with_http_info(container_container_remote_href, set_label, opts)
696
+ data
697
+ end
698
+
699
+ # Set a label
700
+ # Set a single pulp_label on the object to a specific value or null.
701
+ # @param container_container_remote_href [String]
702
+ # @param set_label [SetLabel]
703
+ # @param [Hash] opts the optional parameters
704
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
705
+ def set_label_with_http_info(container_container_remote_href, set_label, opts = {})
706
+ if @api_client.config.debugging
707
+ @api_client.config.logger.debug 'Calling API: RemotesContainerApi.set_label ...'
708
+ end
709
+ # verify the required parameter 'container_container_remote_href' is set
710
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
711
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.set_label"
712
+ end
713
+ # verify the required parameter 'set_label' is set
714
+ if @api_client.config.client_side_validation && set_label.nil?
715
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling RemotesContainerApi.set_label"
716
+ end
717
+ # resource path
718
+ local_var_path = '{container_container_remote_href}set_label/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
719
+
720
+ # query parameters
721
+ query_params = opts[:query_params] || {}
722
+
723
+ # header parameters
724
+ header_params = opts[:header_params] || {}
725
+ # HTTP header 'Accept' (if needed)
726
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
727
+ # HTTP header 'Content-Type'
728
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
729
+
730
+ # form parameters
731
+ form_params = opts[:form_params] || {}
732
+
733
+ # http body (model)
734
+ post_body = opts[:body] || @api_client.object_to_http_body(set_label)
735
+
736
+ # return_type
737
+ return_type = opts[:return_type] || 'SetLabelResponse'
738
+
739
+ # auth_names
740
+ auth_names = opts[:auth_names] || ['basicAuth']
741
+
742
+ new_options = opts.merge(
743
+ :header_params => header_params,
744
+ :query_params => query_params,
745
+ :form_params => form_params,
746
+ :body => post_body,
747
+ :auth_names => auth_names,
748
+ :return_type => return_type
749
+ )
750
+
751
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
752
+ if @api_client.config.debugging
753
+ @api_client.config.logger.debug "API called: RemotesContainerApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
754
+ end
755
+ return data, status_code, headers
756
+ end
757
+
758
+ # Unset a label
759
+ # Unset a single pulp_label on the object.
760
+ # @param container_container_remote_href [String]
761
+ # @param unset_label [UnsetLabel]
762
+ # @param [Hash] opts the optional parameters
763
+ # @return [UnsetLabelResponse]
764
+ def unset_label(container_container_remote_href, unset_label, opts = {})
765
+ data, _status_code, _headers = unset_label_with_http_info(container_container_remote_href, unset_label, opts)
766
+ data
767
+ end
768
+
769
+ # Unset a label
770
+ # Unset a single pulp_label on the object.
771
+ # @param container_container_remote_href [String]
772
+ # @param unset_label [UnsetLabel]
773
+ # @param [Hash] opts the optional parameters
774
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
775
+ def unset_label_with_http_info(container_container_remote_href, unset_label, opts = {})
776
+ if @api_client.config.debugging
777
+ @api_client.config.logger.debug 'Calling API: RemotesContainerApi.unset_label ...'
778
+ end
779
+ # verify the required parameter 'container_container_remote_href' is set
780
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
781
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.unset_label"
782
+ end
783
+ # verify the required parameter 'unset_label' is set
784
+ if @api_client.config.client_side_validation && unset_label.nil?
785
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling RemotesContainerApi.unset_label"
786
+ end
787
+ # resource path
788
+ local_var_path = '{container_container_remote_href}unset_label/'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
789
+
790
+ # query parameters
791
+ query_params = opts[:query_params] || {}
792
+
793
+ # header parameters
794
+ header_params = opts[:header_params] || {}
795
+ # HTTP header 'Accept' (if needed)
796
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
797
+ # HTTP header 'Content-Type'
798
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
799
+
800
+ # form parameters
801
+ form_params = opts[:form_params] || {}
802
+
803
+ # http body (model)
804
+ post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
805
+
806
+ # return_type
807
+ return_type = opts[:return_type] || 'UnsetLabelResponse'
808
+
809
+ # auth_names
810
+ auth_names = opts[:auth_names] || ['basicAuth']
811
+
812
+ new_options = opts.merge(
813
+ :header_params => header_params,
814
+ :query_params => query_params,
815
+ :form_params => form_params,
816
+ :body => post_body,
817
+ :auth_names => auth_names,
818
+ :return_type => return_type
819
+ )
820
+
821
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
822
+ if @api_client.config.debugging
823
+ @api_client.config.logger.debug "API called: RemotesContainerApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
824
+ end
825
+ return data, status_code, headers
826
+ end
827
+
671
828
  # Update a container remote
672
829
  # Trigger an asynchronous update task
673
830
  # @param container_container_remote_href [String]