pulpcore_client 3.89.1 → 3.90.0
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +15 -15
- data/docs/DistributionsOpenpgpApi.md +10 -10
- data/docs/DomainsApi.md +9 -9
- data/docs/ExportersFilesystemApi.md +10 -10
- data/docs/ExportersPulpApi.md +10 -10
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/MinimalTaskResponse.md +1 -1
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedPulpExporter.md +1 -1
- data/docs/PulpExporter.md +1 -1
- data/docs/PulpExporterResponse.md +1 -1
- data/docs/Purge.md +1 -1
- data/docs/RepositoriesOpenpgpKeyringApi.md +10 -10
- data/docs/TaskResponse.md +1 -1
- data/docs/TasksApi.md +0 -4
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +10 -10
- data/lib/pulpcore_client/api/domains_api.rb +8 -8
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +10 -10
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +10 -10
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +10 -10
- data/lib/pulpcore_client/api/tasks_api.rb +0 -6
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +68 -68
- data/lib/pulpcore_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulpcore_client/models/minimal_task_response.rb +2 -1
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +1 -1
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +3 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/distributions_openpgp_api_spec.rb +4 -4
- data/spec/api/domains_api_spec.rb +3 -3
- data/spec/api/exporters_filesystem_api_spec.rb +4 -4
- data/spec/api/exporters_pulp_api_spec.rb +4 -4
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +4 -4
- data/spec/api/tasks_api_spec.rb +0 -2
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- metadata +2 -2
@@ -257,24 +257,24 @@ module PulpcoreClient
|
|
257
257
|
end
|
258
258
|
|
259
259
|
# Update an open pgp distribution
|
260
|
-
#
|
260
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
261
261
|
# @param open_p_g_p_distribution_href [String]
|
262
262
|
# @param patched_open_pgp_distribution [PatchedOpenPGPDistribution]
|
263
263
|
# @param [Hash] opts the optional parameters
|
264
264
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
265
|
-
# @return [
|
265
|
+
# @return [OpenPGPDistributionResponse]
|
266
266
|
def partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts = {})
|
267
267
|
data, _status_code, _headers = partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts)
|
268
268
|
data
|
269
269
|
end
|
270
270
|
|
271
271
|
# Update an open pgp distribution
|
272
|
-
#
|
272
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
273
273
|
# @param open_p_g_p_distribution_href [String]
|
274
274
|
# @param patched_open_pgp_distribution [PatchedOpenPGPDistribution]
|
275
275
|
# @param [Hash] opts the optional parameters
|
276
276
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
277
|
-
# @return [Array<(
|
277
|
+
# @return [Array<(OpenPGPDistributionResponse, Integer, Hash)>] OpenPGPDistributionResponse data, response status code and response headers
|
278
278
|
def partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts = {})
|
279
279
|
if @api_client.config.debugging
|
280
280
|
@api_client.config.logger.debug 'Calling API: DistributionsOpenpgpApi.partial_update ...'
|
@@ -311,7 +311,7 @@ module PulpcoreClient
|
|
311
311
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patched_open_pgp_distribution)
|
312
312
|
|
313
313
|
# return_type
|
314
|
-
return_type = opts[:debug_return_type] || '
|
314
|
+
return_type = opts[:debug_return_type] || 'OpenPGPDistributionResponse'
|
315
315
|
|
316
316
|
# auth_names
|
317
317
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -560,24 +560,24 @@ module PulpcoreClient
|
|
560
560
|
end
|
561
561
|
|
562
562
|
# Update an open pgp distribution
|
563
|
-
#
|
563
|
+
# Update the entity and trigger an asynchronous task if necessary
|
564
564
|
# @param open_p_g_p_distribution_href [String]
|
565
565
|
# @param open_pgp_distribution [OpenPGPDistribution]
|
566
566
|
# @param [Hash] opts the optional parameters
|
567
567
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
568
|
-
# @return [
|
568
|
+
# @return [OpenPGPDistributionResponse]
|
569
569
|
def update(open_p_g_p_distribution_href, open_pgp_distribution, opts = {})
|
570
570
|
data, _status_code, _headers = update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution, opts)
|
571
571
|
data
|
572
572
|
end
|
573
573
|
|
574
574
|
# Update an open pgp distribution
|
575
|
-
#
|
575
|
+
# Update the entity and trigger an asynchronous task if necessary
|
576
576
|
# @param open_p_g_p_distribution_href [String]
|
577
577
|
# @param open_pgp_distribution [OpenPGPDistribution]
|
578
578
|
# @param [Hash] opts the optional parameters
|
579
579
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
580
|
-
# @return [Array<(
|
580
|
+
# @return [Array<(OpenPGPDistributionResponse, Integer, Hash)>] OpenPGPDistributionResponse data, response status code and response headers
|
581
581
|
def update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution, opts = {})
|
582
582
|
if @api_client.config.debugging
|
583
583
|
@api_client.config.logger.debug 'Calling API: DistributionsOpenpgpApi.update ...'
|
@@ -614,7 +614,7 @@ module PulpcoreClient
|
|
614
614
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(open_pgp_distribution)
|
615
615
|
|
616
616
|
# return_type
|
617
|
-
return_type = opts[:debug_return_type] || '
|
617
|
+
return_type = opts[:debug_return_type] || 'OpenPGPDistributionResponse'
|
618
618
|
|
619
619
|
# auth_names
|
620
620
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -349,24 +349,24 @@ module PulpcoreClient
|
|
349
349
|
end
|
350
350
|
|
351
351
|
# Update a domain
|
352
|
-
#
|
352
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
353
353
|
# @param domain_href [String]
|
354
354
|
# @param patched_domain [PatchedDomain]
|
355
355
|
# @param [Hash] opts the optional parameters
|
356
356
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
357
|
-
# @return [
|
357
|
+
# @return [DomainResponse]
|
358
358
|
def partial_update(domain_href, patched_domain, opts = {})
|
359
359
|
data, _status_code, _headers = partial_update_with_http_info(domain_href, patched_domain, opts)
|
360
360
|
data
|
361
361
|
end
|
362
362
|
|
363
363
|
# Update a domain
|
364
|
-
#
|
364
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
365
365
|
# @param domain_href [String]
|
366
366
|
# @param patched_domain [PatchedDomain]
|
367
367
|
# @param [Hash] opts the optional parameters
|
368
368
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
369
|
-
# @return [Array<(
|
369
|
+
# @return [Array<(DomainResponse, Integer, Hash)>] DomainResponse data, response status code and response headers
|
370
370
|
def partial_update_with_http_info(domain_href, patched_domain, opts = {})
|
371
371
|
if @api_client.config.debugging
|
372
372
|
@api_client.config.logger.debug 'Calling API: DomainsApi.partial_update ...'
|
@@ -403,7 +403,7 @@ module PulpcoreClient
|
|
403
403
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patched_domain)
|
404
404
|
|
405
405
|
# return_type
|
406
|
-
return_type = opts[:debug_return_type] || '
|
406
|
+
return_type = opts[:debug_return_type] || 'DomainResponse'
|
407
407
|
|
408
408
|
# auth_names
|
409
409
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -657,7 +657,7 @@ module PulpcoreClient
|
|
657
657
|
# @param domain [Domain]
|
658
658
|
# @param [Hash] opts the optional parameters
|
659
659
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
660
|
-
# @return [
|
660
|
+
# @return [DomainResponse]
|
661
661
|
def update(domain_href, domain, opts = {})
|
662
662
|
data, _status_code, _headers = update_with_http_info(domain_href, domain, opts)
|
663
663
|
data
|
@@ -669,7 +669,7 @@ module PulpcoreClient
|
|
669
669
|
# @param domain [Domain]
|
670
670
|
# @param [Hash] opts the optional parameters
|
671
671
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
672
|
-
# @return [Array<(
|
672
|
+
# @return [Array<(DomainResponse, Integer, Hash)>] DomainResponse data, response status code and response headers
|
673
673
|
def update_with_http_info(domain_href, domain, opts = {})
|
674
674
|
if @api_client.config.debugging
|
675
675
|
@api_client.config.logger.debug 'Calling API: DomainsApi.update ...'
|
@@ -706,7 +706,7 @@ module PulpcoreClient
|
|
706
706
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(domain)
|
707
707
|
|
708
708
|
# return_type
|
709
|
-
return_type = opts[:debug_return_type] || '
|
709
|
+
return_type = opts[:debug_return_type] || 'DomainResponse'
|
710
710
|
|
711
711
|
# auth_names
|
712
712
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -275,24 +275,24 @@ module PulpcoreClient
|
|
275
275
|
end
|
276
276
|
|
277
277
|
# Update a filesystem exporter
|
278
|
-
#
|
278
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
279
279
|
# @param filesystem_exporter_href [String]
|
280
280
|
# @param patched_filesystem_exporter [PatchedFilesystemExporter]
|
281
281
|
# @param [Hash] opts the optional parameters
|
282
282
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
283
|
-
# @return [
|
283
|
+
# @return [FilesystemExporterResponse]
|
284
284
|
def partial_update(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
|
285
285
|
data, _status_code, _headers = partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts)
|
286
286
|
data
|
287
287
|
end
|
288
288
|
|
289
289
|
# Update a filesystem exporter
|
290
|
-
#
|
290
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
291
291
|
# @param filesystem_exporter_href [String]
|
292
292
|
# @param patched_filesystem_exporter [PatchedFilesystemExporter]
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
294
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
295
|
-
# @return [Array<(
|
295
|
+
# @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
|
296
296
|
def partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
|
297
297
|
if @api_client.config.debugging
|
298
298
|
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.partial_update ...'
|
@@ -329,7 +329,7 @@ module PulpcoreClient
|
|
329
329
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patched_filesystem_exporter)
|
330
330
|
|
331
331
|
# return_type
|
332
|
-
return_type = opts[:debug_return_type] || '
|
332
|
+
return_type = opts[:debug_return_type] || 'FilesystemExporterResponse'
|
333
333
|
|
334
334
|
# auth_names
|
335
335
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -424,24 +424,24 @@ module PulpcoreClient
|
|
424
424
|
end
|
425
425
|
|
426
426
|
# Update a filesystem exporter
|
427
|
-
#
|
427
|
+
# Update the entity and trigger an asynchronous task if necessary
|
428
428
|
# @param filesystem_exporter_href [String]
|
429
429
|
# @param filesystem_exporter [FilesystemExporter]
|
430
430
|
# @param [Hash] opts the optional parameters
|
431
431
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
432
|
-
# @return [
|
432
|
+
# @return [FilesystemExporterResponse]
|
433
433
|
def update(filesystem_exporter_href, filesystem_exporter, opts = {})
|
434
434
|
data, _status_code, _headers = update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts)
|
435
435
|
data
|
436
436
|
end
|
437
437
|
|
438
438
|
# Update a filesystem exporter
|
439
|
-
#
|
439
|
+
# Update the entity and trigger an asynchronous task if necessary
|
440
440
|
# @param filesystem_exporter_href [String]
|
441
441
|
# @param filesystem_exporter [FilesystemExporter]
|
442
442
|
# @param [Hash] opts the optional parameters
|
443
443
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
444
|
-
# @return [Array<(
|
444
|
+
# @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
|
445
445
|
def update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts = {})
|
446
446
|
if @api_client.config.debugging
|
447
447
|
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.update ...'
|
@@ -478,7 +478,7 @@ module PulpcoreClient
|
|
478
478
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(filesystem_exporter)
|
479
479
|
|
480
480
|
# return_type
|
481
|
-
return_type = opts[:debug_return_type] || '
|
481
|
+
return_type = opts[:debug_return_type] || 'FilesystemExporterResponse'
|
482
482
|
|
483
483
|
# auth_names
|
484
484
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -275,24 +275,24 @@ module PulpcoreClient
|
|
275
275
|
end
|
276
276
|
|
277
277
|
# Update a pulp exporter
|
278
|
-
#
|
278
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
279
279
|
# @param pulp_exporter_href [String]
|
280
280
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
281
281
|
# @param [Hash] opts the optional parameters
|
282
282
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
283
|
-
# @return [
|
283
|
+
# @return [PulpExporterResponse]
|
284
284
|
def partial_update(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
285
285
|
data, _status_code, _headers = partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts)
|
286
286
|
data
|
287
287
|
end
|
288
288
|
|
289
289
|
# Update a pulp exporter
|
290
|
-
#
|
290
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
291
291
|
# @param pulp_exporter_href [String]
|
292
292
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
294
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
295
|
-
# @return [Array<(
|
295
|
+
# @return [Array<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
|
296
296
|
def partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
297
297
|
if @api_client.config.debugging
|
298
298
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.partial_update ...'
|
@@ -329,7 +329,7 @@ module PulpcoreClient
|
|
329
329
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patched_pulp_exporter)
|
330
330
|
|
331
331
|
# return_type
|
332
|
-
return_type = opts[:debug_return_type] || '
|
332
|
+
return_type = opts[:debug_return_type] || 'PulpExporterResponse'
|
333
333
|
|
334
334
|
# auth_names
|
335
335
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -424,24 +424,24 @@ module PulpcoreClient
|
|
424
424
|
end
|
425
425
|
|
426
426
|
# Update a pulp exporter
|
427
|
-
#
|
427
|
+
# Update the entity and trigger an asynchronous task if necessary
|
428
428
|
# @param pulp_exporter_href [String]
|
429
429
|
# @param pulp_exporter [PulpExporter]
|
430
430
|
# @param [Hash] opts the optional parameters
|
431
431
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
432
|
-
# @return [
|
432
|
+
# @return [PulpExporterResponse]
|
433
433
|
def update(pulp_exporter_href, pulp_exporter, opts = {})
|
434
434
|
data, _status_code, _headers = update_with_http_info(pulp_exporter_href, pulp_exporter, opts)
|
435
435
|
data
|
436
436
|
end
|
437
437
|
|
438
438
|
# Update a pulp exporter
|
439
|
-
#
|
439
|
+
# Update the entity and trigger an asynchronous task if necessary
|
440
440
|
# @param pulp_exporter_href [String]
|
441
441
|
# @param pulp_exporter [PulpExporter]
|
442
442
|
# @param [Hash] opts the optional parameters
|
443
443
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
444
|
-
# @return [Array<(
|
444
|
+
# @return [Array<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
|
445
445
|
def update_with_http_info(pulp_exporter_href, pulp_exporter, opts = {})
|
446
446
|
if @api_client.config.debugging
|
447
447
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.update ...'
|
@@ -478,7 +478,7 @@ module PulpcoreClient
|
|
478
478
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(pulp_exporter)
|
479
479
|
|
480
480
|
# return_type
|
481
|
-
return_type = opts[:debug_return_type] || '
|
481
|
+
return_type = opts[:debug_return_type] || 'PulpExporterResponse'
|
482
482
|
|
483
483
|
# auth_names
|
484
484
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -609,24 +609,24 @@ module PulpcoreClient
|
|
609
609
|
end
|
610
610
|
|
611
611
|
# Update an open pgp keyring
|
612
|
-
#
|
612
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
613
613
|
# @param open_p_g_p_keyring_href [String]
|
614
614
|
# @param patched_open_pgp_keyring [PatchedOpenPGPKeyring]
|
615
615
|
# @param [Hash] opts the optional parameters
|
616
616
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
617
|
-
# @return [
|
617
|
+
# @return [OpenPGPKeyringResponse]
|
618
618
|
def partial_update(open_p_g_p_keyring_href, patched_open_pgp_keyring, opts = {})
|
619
619
|
data, _status_code, _headers = partial_update_with_http_info(open_p_g_p_keyring_href, patched_open_pgp_keyring, opts)
|
620
620
|
data
|
621
621
|
end
|
622
622
|
|
623
623
|
# Update an open pgp keyring
|
624
|
-
#
|
624
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
625
625
|
# @param open_p_g_p_keyring_href [String]
|
626
626
|
# @param patched_open_pgp_keyring [PatchedOpenPGPKeyring]
|
627
627
|
# @param [Hash] opts the optional parameters
|
628
628
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
629
|
-
# @return [Array<(
|
629
|
+
# @return [Array<(OpenPGPKeyringResponse, Integer, Hash)>] OpenPGPKeyringResponse data, response status code and response headers
|
630
630
|
def partial_update_with_http_info(open_p_g_p_keyring_href, patched_open_pgp_keyring, opts = {})
|
631
631
|
if @api_client.config.debugging
|
632
632
|
@api_client.config.logger.debug 'Calling API: RepositoriesOpenpgpKeyringApi.partial_update ...'
|
@@ -663,7 +663,7 @@ module PulpcoreClient
|
|
663
663
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patched_open_pgp_keyring)
|
664
664
|
|
665
665
|
# return_type
|
666
|
-
return_type = opts[:debug_return_type] || '
|
666
|
+
return_type = opts[:debug_return_type] || 'OpenPGPKeyringResponse'
|
667
667
|
|
668
668
|
# auth_names
|
669
669
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -989,24 +989,24 @@ module PulpcoreClient
|
|
989
989
|
end
|
990
990
|
|
991
991
|
# Update an open pgp keyring
|
992
|
-
#
|
992
|
+
# Update the entity and trigger an asynchronous task if necessary
|
993
993
|
# @param open_p_g_p_keyring_href [String]
|
994
994
|
# @param open_pgp_keyring [OpenPGPKeyring]
|
995
995
|
# @param [Hash] opts the optional parameters
|
996
996
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
997
|
-
# @return [
|
997
|
+
# @return [OpenPGPKeyringResponse]
|
998
998
|
def update(open_p_g_p_keyring_href, open_pgp_keyring, opts = {})
|
999
999
|
data, _status_code, _headers = update_with_http_info(open_p_g_p_keyring_href, open_pgp_keyring, opts)
|
1000
1000
|
data
|
1001
1001
|
end
|
1002
1002
|
|
1003
1003
|
# Update an open pgp keyring
|
1004
|
-
#
|
1004
|
+
# Update the entity and trigger an asynchronous task if necessary
|
1005
1005
|
# @param open_p_g_p_keyring_href [String]
|
1006
1006
|
# @param open_pgp_keyring [OpenPGPKeyring]
|
1007
1007
|
# @param [Hash] opts the optional parameters
|
1008
1008
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1009
|
-
# @return [Array<(
|
1009
|
+
# @return [Array<(OpenPGPKeyringResponse, Integer, Hash)>] OpenPGPKeyringResponse data, response status code and response headers
|
1010
1010
|
def update_with_http_info(open_p_g_p_keyring_href, open_pgp_keyring, opts = {})
|
1011
1011
|
if @api_client.config.debugging
|
1012
1012
|
@api_client.config.logger.debug 'Calling API: RepositoriesOpenpgpKeyringApi.update ...'
|
@@ -1043,7 +1043,7 @@ module PulpcoreClient
|
|
1043
1043
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(open_pgp_keyring)
|
1044
1044
|
|
1045
1045
|
# return_type
|
1046
|
-
return_type = opts[:debug_return_type] || '
|
1046
|
+
return_type = opts[:debug_return_type] || 'OpenPGPKeyringResponse'
|
1047
1047
|
|
1048
1048
|
# auth_names
|
1049
1049
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -219,8 +219,6 @@ module PulpcoreClient
|
|
219
219
|
# @option opts [Time] :unblocked_at__lte Filter results where unblocked_at is less than or equal to value
|
220
220
|
# @option opts [Array<Time>] :unblocked_at__range Filter results where unblocked_at is between two comma separated values
|
221
221
|
# @option opts [String] :worker
|
222
|
-
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
223
|
-
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
224
222
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
225
223
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
226
224
|
# @return [PaginatedTaskResponseList]
|
@@ -288,8 +286,6 @@ module PulpcoreClient
|
|
288
286
|
# @option opts [Time] :unblocked_at__lte Filter results where unblocked_at is less than or equal to value
|
289
287
|
# @option opts [Array<Time>] :unblocked_at__range Filter results where unblocked_at is between two comma separated values
|
290
288
|
# @option opts [String] :worker
|
291
|
-
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
292
|
-
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
293
289
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
294
290
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
295
291
|
# @return [Array<(PaginatedTaskResponseList, Integer, Hash)>] PaginatedTaskResponseList data, response status code and response headers
|
@@ -365,8 +361,6 @@ module PulpcoreClient
|
|
365
361
|
query_params[:'unblocked_at__lte'] = opts[:'unblocked_at__lte'] if !opts[:'unblocked_at__lte'].nil?
|
366
362
|
query_params[:'unblocked_at__range'] = @api_client.build_collection_param(opts[:'unblocked_at__range'], :csv) if !opts[:'unblocked_at__range'].nil?
|
367
363
|
query_params[:'worker'] = opts[:'worker'] if !opts[:'worker'].nil?
|
368
|
-
query_params[:'worker__in'] = @api_client.build_collection_param(opts[:'worker__in'], :csv) if !opts[:'worker__in'].nil?
|
369
|
-
query_params[:'worker__isnull'] = opts[:'worker__isnull'] if !opts[:'worker__isnull'].nil?
|
370
364
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
371
365
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
372
366
|
|
@@ -16,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
attr_accessor :pulp_labels
|
20
|
-
|
21
|
-
# The Pulp Resource Name (PRN).
|
22
|
-
attr_accessor :prn
|
23
|
-
|
24
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
25
|
-
attr_accessor :name
|
26
|
-
|
27
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
|
-
attr_accessor :pulp_last_updated
|
29
|
-
|
30
19
|
attr_accessor :pulp_href
|
31
20
|
|
32
21
|
# The URL for accessing the publication as defined by this distribution.
|
33
22
|
attr_accessor :base_url
|
34
23
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
25
|
+
attr_accessor :name
|
37
26
|
|
38
|
-
# Timestamp
|
39
|
-
attr_accessor :
|
27
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
28
|
+
attr_accessor :no_content_change_since
|
40
29
|
|
41
30
|
# Whether this distribution should be shown in the content app.
|
42
31
|
attr_accessor :hidden
|
43
32
|
|
44
|
-
# Timestamp
|
45
|
-
attr_accessor :
|
33
|
+
# Timestamp of creation.
|
34
|
+
attr_accessor :pulp_created
|
46
35
|
|
47
36
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
48
37
|
attr_accessor :base_path
|
49
38
|
|
39
|
+
# An optional content-guard.
|
40
|
+
attr_accessor :content_guard
|
41
|
+
|
42
|
+
attr_accessor :pulp_labels
|
43
|
+
|
44
|
+
# The Pulp Resource Name (PRN).
|
45
|
+
attr_accessor :prn
|
46
|
+
|
47
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
48
|
+
attr_accessor :pulp_last_updated
|
49
|
+
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
-
:'pulp_labels' => :'pulp_labels',
|
54
|
-
:'prn' => :'prn',
|
55
|
-
:'name' => :'name',
|
56
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
57
53
|
:'pulp_href' => :'pulp_href',
|
58
54
|
:'base_url' => :'base_url',
|
59
|
-
:'
|
60
|
-
:'pulp_created' => :'pulp_created',
|
61
|
-
:'hidden' => :'hidden',
|
55
|
+
:'name' => :'name',
|
62
56
|
:'no_content_change_since' => :'no_content_change_since',
|
63
|
-
:'
|
57
|
+
:'hidden' => :'hidden',
|
58
|
+
:'pulp_created' => :'pulp_created',
|
59
|
+
:'base_path' => :'base_path',
|
60
|
+
:'content_guard' => :'content_guard',
|
61
|
+
:'pulp_labels' => :'pulp_labels',
|
62
|
+
:'prn' => :'prn',
|
63
|
+
:'pulp_last_updated' => :'pulp_last_updated'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -72,17 +72,17 @@ module PulpcoreClient
|
|
72
72
|
# Attribute type mapping.
|
73
73
|
def self.openapi_types
|
74
74
|
{
|
75
|
-
:'pulp_labels' => :'Hash<String, String>',
|
76
|
-
:'prn' => :'String',
|
77
|
-
:'name' => :'String',
|
78
|
-
:'pulp_last_updated' => :'Time',
|
79
75
|
:'pulp_href' => :'String',
|
80
76
|
:'base_url' => :'String',
|
81
|
-
:'
|
82
|
-
:'pulp_created' => :'Time',
|
83
|
-
:'hidden' => :'Boolean',
|
77
|
+
:'name' => :'String',
|
84
78
|
:'no_content_change_since' => :'String',
|
85
|
-
:'
|
79
|
+
:'hidden' => :'Boolean',
|
80
|
+
:'pulp_created' => :'Time',
|
81
|
+
:'base_path' => :'String',
|
82
|
+
:'content_guard' => :'String',
|
83
|
+
:'pulp_labels' => :'Hash<String, String>',
|
84
|
+
:'prn' => :'String',
|
85
|
+
:'pulp_last_updated' => :'Time'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,26 +108,6 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'pulp_labels')
|
112
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
113
|
-
self.pulp_labels = value
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
if attributes.key?(:'prn')
|
118
|
-
self.prn = attributes[:'prn']
|
119
|
-
end
|
120
|
-
|
121
|
-
if attributes.key?(:'name')
|
122
|
-
self.name = attributes[:'name']
|
123
|
-
else
|
124
|
-
self.name = nil
|
125
|
-
end
|
126
|
-
|
127
|
-
if attributes.key?(:'pulp_last_updated')
|
128
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
129
|
-
end
|
130
|
-
|
131
111
|
if attributes.key?(:'pulp_href')
|
132
112
|
self.pulp_href = attributes[:'pulp_href']
|
133
113
|
end
|
@@ -136,12 +116,14 @@ module PulpcoreClient
|
|
136
116
|
self.base_url = attributes[:'base_url']
|
137
117
|
end
|
138
118
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
119
|
+
if attributes.key?(:'name')
|
120
|
+
self.name = attributes[:'name']
|
121
|
+
else
|
122
|
+
self.name = nil
|
141
123
|
end
|
142
124
|
|
143
|
-
if attributes.key?(:'
|
144
|
-
self.
|
125
|
+
if attributes.key?(:'no_content_change_since')
|
126
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
145
127
|
end
|
146
128
|
|
147
129
|
if attributes.key?(:'hidden')
|
@@ -150,8 +132,8 @@ module PulpcoreClient
|
|
150
132
|
self.hidden = false
|
151
133
|
end
|
152
134
|
|
153
|
-
if attributes.key?(:'
|
154
|
-
self.
|
135
|
+
if attributes.key?(:'pulp_created')
|
136
|
+
self.pulp_created = attributes[:'pulp_created']
|
155
137
|
end
|
156
138
|
|
157
139
|
if attributes.key?(:'base_path')
|
@@ -159,6 +141,24 @@ module PulpcoreClient
|
|
159
141
|
else
|
160
142
|
self.base_path = nil
|
161
143
|
end
|
144
|
+
|
145
|
+
if attributes.key?(:'content_guard')
|
146
|
+
self.content_guard = attributes[:'content_guard']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'pulp_labels')
|
150
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
151
|
+
self.pulp_labels = value
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
if attributes.key?(:'prn')
|
156
|
+
self.prn = attributes[:'prn']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes.key?(:'pulp_last_updated')
|
160
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
161
|
+
end
|
162
162
|
end
|
163
163
|
|
164
164
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -191,17 +191,17 @@ module PulpcoreClient
|
|
191
191
|
def ==(o)
|
192
192
|
return true if self.equal?(o)
|
193
193
|
self.class == o.class &&
|
194
|
-
pulp_labels == o.pulp_labels &&
|
195
|
-
prn == o.prn &&
|
196
|
-
name == o.name &&
|
197
|
-
pulp_last_updated == o.pulp_last_updated &&
|
198
194
|
pulp_href == o.pulp_href &&
|
199
195
|
base_url == o.base_url &&
|
200
|
-
|
201
|
-
pulp_created == o.pulp_created &&
|
202
|
-
hidden == o.hidden &&
|
196
|
+
name == o.name &&
|
203
197
|
no_content_change_since == o.no_content_change_since &&
|
204
|
-
|
198
|
+
hidden == o.hidden &&
|
199
|
+
pulp_created == o.pulp_created &&
|
200
|
+
base_path == o.base_path &&
|
201
|
+
content_guard == o.content_guard &&
|
202
|
+
pulp_labels == o.pulp_labels &&
|
203
|
+
prn == o.prn &&
|
204
|
+
pulp_last_updated == o.pulp_last_updated
|
205
205
|
end
|
206
206
|
|
207
207
|
# @see the `==` method
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Integer] Hash code
|
215
215
|
def hash
|
216
|
-
[
|
216
|
+
[pulp_href, base_url, name, no_content_change_since, hidden, pulp_created, base_path, content_guard, pulp_labels, prn, pulp_last_updated].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -27,7 +27,7 @@ module PulpcoreClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
-
# Unique name of the
|
30
|
+
# Unique name of the exporter.
|
31
31
|
attr_accessor :name
|
32
32
|
|
33
33
|
# File system location to export to.
|
@@ -42,7 +42,7 @@ module PulpcoreClient
|
|
42
42
|
# Timestamp of when this task stopped execution.
|
43
43
|
attr_accessor :finished_at
|
44
44
|
|
45
|
-
#
|
45
|
+
# DEPRECATED - Always null
|
46
46
|
attr_accessor :worker
|
47
47
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -85,6 +85,7 @@ module PulpcoreClient
|
|
85
85
|
# List of attributes with nullable: true
|
86
86
|
def self.openapi_nullable
|
87
87
|
Set.new([
|
88
|
+
:'worker'
|
88
89
|
])
|
89
90
|
end
|
90
91
|
|