pulp_deb_client 3.6.0 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentInstallerPackagesApi.md +2 -2
  4. data/docs/ContentPackagesApi.md +2 -2
  5. data/docs/Copy.md +1 -1
  6. data/docs/DebAptRemoteResponse.md +1 -1
  7. data/docs/DebGenericContentResponse.md +2 -0
  8. data/docs/DebInstallerFileIndexResponse.md +2 -0
  9. data/docs/DebInstallerPackageResponse.md +2 -0
  10. data/docs/DebPackageIndexResponse.md +2 -0
  11. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  12. data/docs/DebPackageResponse.md +2 -0
  13. data/docs/DebReleaseArchitectureResponse.md +2 -0
  14. data/docs/DebReleaseComponentResponse.md +2 -0
  15. data/docs/DebReleaseFileResponse.md +2 -0
  16. data/docs/DebReleaseResponse.md +2 -0
  17. data/docs/DebSourceIndexResponse.md +2 -0
  18. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  19. data/docs/DebSourcePackageResponse.md +2 -0
  20. data/docs/DistributionsAptApi.md +10 -10
  21. data/docs/RemotesAptApi.md +10 -10
  22. data/docs/RepositoriesAptApi.md +10 -10
  23. data/docs/RepositoryVersionResponse.md +3 -1
  24. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +8 -0
  25. data/lib/pulp_deb_client/api/content_packages_api.rb +8 -0
  26. data/lib/pulp_deb_client/api/distributions_apt_api.rb +10 -10
  27. data/lib/pulp_deb_client/api/remotes_apt_api.rb +10 -10
  28. data/lib/pulp_deb_client/api/repositories_apt_api.rb +10 -10
  29. data/lib/pulp_deb_client/models/copy.rb +0 -1
  30. data/lib/pulp_deb_client/models/deb_apt_remote.rb +0 -15
  31. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +0 -15
  32. data/lib/pulp_deb_client/models/deb_apt_repository.rb +0 -15
  33. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +0 -15
  34. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +10 -1
  35. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +10 -1
  36. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +10 -1
  37. data/lib/pulp_deb_client/models/deb_package_index_response.rb +10 -1
  38. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +10 -1
  39. data/lib/pulp_deb_client/models/deb_package_response.rb +10 -1
  40. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +10 -1
  41. data/lib/pulp_deb_client/models/deb_release_component_response.rb +10 -1
  42. data/lib/pulp_deb_client/models/deb_release_file_response.rb +10 -1
  43. data/lib/pulp_deb_client/models/deb_release_response.rb +10 -1
  44. data/lib/pulp_deb_client/models/deb_source_index_response.rb +10 -1
  45. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +10 -1
  46. data/lib/pulp_deb_client/models/deb_source_package_response.rb +10 -1
  47. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +0 -2
  48. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +0 -2
  49. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +0 -2
  50. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +0 -2
  51. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +0 -2
  52. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +0 -2
  53. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +0 -2
  54. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +0 -2
  55. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +0 -2
  56. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +0 -2
  57. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +0 -2
  58. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +0 -2
  59. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +0 -2
  60. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +0 -2
  61. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +0 -2
  62. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +0 -2
  63. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +0 -2
  64. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +0 -2
  65. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +0 -2
  66. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +0 -15
  67. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +0 -15
  68. data/lib/pulp_deb_client/models/repository_version_response.rb +13 -4
  69. data/lib/pulp_deb_client/version.rb +1 -1
  70. data/spec/api/distributions_apt_api_spec.rb +4 -4
  71. data/spec/api/remotes_apt_api_spec.rb +4 -4
  72. data/spec/api/repositories_apt_api_spec.rb +4 -4
  73. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  74. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  75. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  76. data/spec/models/deb_package_index_response_spec.rb +6 -0
  77. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  78. data/spec/models/deb_package_response_spec.rb +6 -0
  79. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  80. data/spec/models/deb_release_component_response_spec.rb +6 -0
  81. data/spec/models/deb_release_file_response_spec.rb +6 -0
  82. data/spec/models/deb_release_response_spec.rb +6 -0
  83. data/spec/models/deb_source_index_response_spec.rb +6 -0
  84. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  85. data/spec/models/deb_source_package_response_spec.rb +6 -0
  86. data/spec/models/repository_version_response_spec.rb +6 -0
  87. metadata +74 -74
@@ -523,24 +523,24 @@ module PulpDebClient
523
523
  end
524
524
 
525
525
  # Update an apt distribution
526
- # Trigger an asynchronous partial update task
526
+ # Update the entity partially and trigger an asynchronous task if necessary
527
527
  # @param deb_apt_distribution_href [String]
528
528
  # @param patcheddeb_apt_distribution [PatcheddebAptDistribution]
529
529
  # @param [Hash] opts the optional parameters
530
530
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
531
- # @return [AsyncOperationResponse]
531
+ # @return [DebAptDistributionResponse]
532
532
  def partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution, opts = {})
533
533
  data, _status_code, _headers = partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
534
534
  data
535
535
  end
536
536
 
537
537
  # Update an apt distribution
538
- # Trigger an asynchronous partial update task
538
+ # Update the entity partially and trigger an asynchronous task if necessary
539
539
  # @param deb_apt_distribution_href [String]
540
540
  # @param patcheddeb_apt_distribution [PatcheddebAptDistribution]
541
541
  # @param [Hash] opts the optional parameters
542
542
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
543
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
543
+ # @return [Array<(DebAptDistributionResponse, Integer, Hash)>] DebAptDistributionResponse data, response status code and response headers
544
544
  def partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts = {})
545
545
  if @api_client.config.debugging
546
546
  @api_client.config.logger.debug 'Calling API: DistributionsAptApi.partial_update ...'
@@ -577,7 +577,7 @@ module PulpDebClient
577
577
  post_body = opts[:debug_body] || @api_client.object_to_http_body(patcheddeb_apt_distribution)
578
578
 
579
579
  # return_type
580
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
580
+ return_type = opts[:debug_return_type] || 'DebAptDistributionResponse'
581
581
 
582
582
  # auth_names
583
583
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -903,24 +903,24 @@ module PulpDebClient
903
903
  end
904
904
 
905
905
  # Update an apt distribution
906
- # Trigger an asynchronous update task
906
+ # Update the entity and trigger an asynchronous task if necessary
907
907
  # @param deb_apt_distribution_href [String]
908
908
  # @param deb_apt_distribution [DebAptDistribution]
909
909
  # @param [Hash] opts the optional parameters
910
910
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
911
- # @return [AsyncOperationResponse]
911
+ # @return [DebAptDistributionResponse]
912
912
  def update(deb_apt_distribution_href, deb_apt_distribution, opts = {})
913
913
  data, _status_code, _headers = update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts)
914
914
  data
915
915
  end
916
916
 
917
917
  # Update an apt distribution
918
- # Trigger an asynchronous update task
918
+ # Update the entity and trigger an asynchronous task if necessary
919
919
  # @param deb_apt_distribution_href [String]
920
920
  # @param deb_apt_distribution [DebAptDistribution]
921
921
  # @param [Hash] opts the optional parameters
922
922
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
923
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
923
+ # @return [Array<(DebAptDistributionResponse, Integer, Hash)>] DebAptDistributionResponse data, response status code and response headers
924
924
  def update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts = {})
925
925
  if @api_client.config.debugging
926
926
  @api_client.config.logger.debug 'Calling API: DistributionsAptApi.update ...'
@@ -957,7 +957,7 @@ module PulpDebClient
957
957
  post_body = opts[:debug_body] || @api_client.object_to_http_body(deb_apt_distribution)
958
958
 
959
959
  # return_type
960
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
960
+ return_type = opts[:debug_return_type] || 'DebAptDistributionResponse'
961
961
 
962
962
  # auth_names
963
963
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -520,24 +520,24 @@ module PulpDebClient
520
520
  end
521
521
 
522
522
  # Update an apt remote
523
- # Trigger an asynchronous partial update task
523
+ # Update the entity partially and trigger an asynchronous task if necessary
524
524
  # @param deb_apt_remote_href [String]
525
525
  # @param patcheddeb_apt_remote [PatcheddebAptRemote]
526
526
  # @param [Hash] opts the optional parameters
527
527
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
528
- # @return [AsyncOperationResponse]
528
+ # @return [DebAptRemoteResponse]
529
529
  def partial_update(deb_apt_remote_href, patcheddeb_apt_remote, opts = {})
530
530
  data, _status_code, _headers = partial_update_with_http_info(deb_apt_remote_href, patcheddeb_apt_remote, opts)
531
531
  data
532
532
  end
533
533
 
534
534
  # Update an apt remote
535
- # Trigger an asynchronous partial update task
535
+ # Update the entity partially and trigger an asynchronous task if necessary
536
536
  # @param deb_apt_remote_href [String]
537
537
  # @param patcheddeb_apt_remote [PatcheddebAptRemote]
538
538
  # @param [Hash] opts the optional parameters
539
539
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
540
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
540
+ # @return [Array<(DebAptRemoteResponse, Integer, Hash)>] DebAptRemoteResponse data, response status code and response headers
541
541
  def partial_update_with_http_info(deb_apt_remote_href, patcheddeb_apt_remote, opts = {})
542
542
  if @api_client.config.debugging
543
543
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.partial_update ...'
@@ -574,7 +574,7 @@ module PulpDebClient
574
574
  post_body = opts[:debug_body] || @api_client.object_to_http_body(patcheddeb_apt_remote)
575
575
 
576
576
  # return_type
577
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
577
+ return_type = opts[:debug_return_type] || 'DebAptRemoteResponse'
578
578
 
579
579
  # auth_names
580
580
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -900,24 +900,24 @@ module PulpDebClient
900
900
  end
901
901
 
902
902
  # Update an apt remote
903
- # Trigger an asynchronous update task
903
+ # Update the entity and trigger an asynchronous task if necessary
904
904
  # @param deb_apt_remote_href [String]
905
905
  # @param deb_apt_remote [DebAptRemote]
906
906
  # @param [Hash] opts the optional parameters
907
907
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
908
- # @return [AsyncOperationResponse]
908
+ # @return [DebAptRemoteResponse]
909
909
  def update(deb_apt_remote_href, deb_apt_remote, opts = {})
910
910
  data, _status_code, _headers = update_with_http_info(deb_apt_remote_href, deb_apt_remote, opts)
911
911
  data
912
912
  end
913
913
 
914
914
  # Update an apt remote
915
- # Trigger an asynchronous update task
915
+ # Update the entity and trigger an asynchronous task if necessary
916
916
  # @param deb_apt_remote_href [String]
917
917
  # @param deb_apt_remote [DebAptRemote]
918
918
  # @param [Hash] opts the optional parameters
919
919
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
920
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
920
+ # @return [Array<(DebAptRemoteResponse, Integer, Hash)>] DebAptRemoteResponse data, response status code and response headers
921
921
  def update_with_http_info(deb_apt_remote_href, deb_apt_remote, opts = {})
922
922
  if @api_client.config.debugging
923
923
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.update ...'
@@ -954,7 +954,7 @@ module PulpDebClient
954
954
  post_body = opts[:debug_body] || @api_client.object_to_http_body(deb_apt_remote)
955
955
 
956
956
  # return_type
957
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
957
+ return_type = opts[:debug_return_type] || 'DebAptRemoteResponse'
958
958
 
959
959
  # auth_names
960
960
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -609,24 +609,24 @@ module PulpDebClient
609
609
  end
610
610
 
611
611
  # Update an apt repository
612
- # Trigger an asynchronous partial update task
612
+ # Update the entity partially and trigger an asynchronous task if necessary
613
613
  # @param deb_apt_repository_href [String]
614
614
  # @param patcheddeb_apt_repository [PatcheddebAptRepository]
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 [AsyncOperationResponse]
617
+ # @return [DebAptRepositoryResponse]
618
618
  def partial_update(deb_apt_repository_href, patcheddeb_apt_repository, opts = {})
619
619
  data, _status_code, _headers = partial_update_with_http_info(deb_apt_repository_href, patcheddeb_apt_repository, opts)
620
620
  data
621
621
  end
622
622
 
623
623
  # Update an apt repository
624
- # Trigger an asynchronous partial update task
624
+ # Update the entity partially and trigger an asynchronous task if necessary
625
625
  # @param deb_apt_repository_href [String]
626
626
  # @param patcheddeb_apt_repository [PatcheddebAptRepository]
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
629
+ # @return [Array<(DebAptRepositoryResponse, Integer, Hash)>] DebAptRepositoryResponse data, response status code and response headers
630
630
  def partial_update_with_http_info(deb_apt_repository_href, patcheddeb_apt_repository, opts = {})
631
631
  if @api_client.config.debugging
632
632
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.partial_update ...'
@@ -663,7 +663,7 @@ module PulpDebClient
663
663
  post_body = opts[:debug_body] || @api_client.object_to_http_body(patcheddeb_apt_repository)
664
664
 
665
665
  # return_type
666
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
666
+ return_type = opts[:debug_return_type] || 'DebAptRepositoryResponse'
667
667
 
668
668
  # auth_names
669
669
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -1066,24 +1066,24 @@ module PulpDebClient
1066
1066
  end
1067
1067
 
1068
1068
  # Update an apt repository
1069
- # Trigger an asynchronous update task
1069
+ # Update the entity and trigger an asynchronous task if necessary
1070
1070
  # @param deb_apt_repository_href [String]
1071
1071
  # @param deb_apt_repository [DebAptRepository]
1072
1072
  # @param [Hash] opts the optional parameters
1073
1073
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1074
- # @return [AsyncOperationResponse]
1074
+ # @return [DebAptRepositoryResponse]
1075
1075
  def update(deb_apt_repository_href, deb_apt_repository, opts = {})
1076
1076
  data, _status_code, _headers = update_with_http_info(deb_apt_repository_href, deb_apt_repository, opts)
1077
1077
  data
1078
1078
  end
1079
1079
 
1080
1080
  # Update an apt repository
1081
- # Trigger an asynchronous update task
1081
+ # Update the entity and trigger an asynchronous task if necessary
1082
1082
  # @param deb_apt_repository_href [String]
1083
1083
  # @param deb_apt_repository [DebAptRepository]
1084
1084
  # @param [Hash] opts the optional parameters
1085
1085
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1086
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
1086
+ # @return [Array<(DebAptRepositoryResponse, Integer, Hash)>] DebAptRepositoryResponse data, response status code and response headers
1087
1087
  def update_with_http_info(deb_apt_repository_href, deb_apt_repository, opts = {})
1088
1088
  if @api_client.config.debugging
1089
1089
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.update ...'
@@ -1120,7 +1120,7 @@ module PulpDebClient
1120
1120
  post_body = opts[:debug_body] || @api_client.object_to_http_body(deb_apt_repository)
1121
1121
 
1122
1122
  # return_type
1123
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
1123
+ return_type = opts[:debug_return_type] || 'DebAptRepositoryResponse'
1124
1124
 
1125
1125
  # auth_names
1126
1126
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -16,7 +16,6 @@ require 'time'
16
16
  module PulpDebClient
17
17
  # A serializer for Content Copy API.
18
18
  class Copy
19
- # A JSON document describing sources, destinations, and content to be copied
20
19
  attr_accessor :config
21
20
 
22
21
  # Also copy any distributions, components, and releases as needed for any packages being copied. This will allow for structured publications of the target repository.Default is set to True
@@ -418,10 +418,6 @@ module PulpDebClient
418
418
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
419
419
  end
420
420
 
421
- if !@download_concurrency.nil? && @download_concurrency < 1
422
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
423
- end
424
-
425
421
  if !@total_timeout.nil? && @total_timeout < 0.0
426
422
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
427
423
  end
@@ -477,7 +473,6 @@ module PulpDebClient
477
473
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
478
474
  return false if !@username.nil? && @username.to_s.length < 1
479
475
  return false if !@password.nil? && @password.to_s.length < 1
480
- return false if !@download_concurrency.nil? && @download_concurrency < 1
481
476
  return false if !@total_timeout.nil? && @total_timeout < 0.0
482
477
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
483
478
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -598,16 +593,6 @@ module PulpDebClient
598
593
  @password = password
599
594
  end
600
595
 
601
- # Custom attribute writer method with validation
602
- # @param [Object] download_concurrency Value to be assigned
603
- def download_concurrency=(download_concurrency)
604
- if !download_concurrency.nil? && download_concurrency < 1
605
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
606
- end
607
-
608
- @download_concurrency = download_concurrency
609
- end
610
-
611
596
  # Custom attribute writer method with validation
612
597
  # @param [Object] total_timeout Value to be assigned
613
598
  def total_timeout=(total_timeout)
@@ -374,10 +374,6 @@ module PulpDebClient
374
374
  invalid_properties.push('invalid value for "url", url cannot be nil.')
375
375
  end
376
376
 
377
- if !@download_concurrency.nil? && @download_concurrency < 1
378
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
379
- end
380
-
381
377
  if !@total_timeout.nil? && @total_timeout < 0.0
382
378
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
383
379
  end
@@ -407,7 +403,6 @@ module PulpDebClient
407
403
  warn '[DEPRECATED] the `valid?` method is obsolete'
408
404
  return false if @name.nil?
409
405
  return false if @url.nil?
410
- return false if !@download_concurrency.nil? && @download_concurrency < 1
411
406
  return false if !@total_timeout.nil? && @total_timeout < 0.0
412
407
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
413
408
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -416,16 +411,6 @@ module PulpDebClient
416
411
  true
417
412
  end
418
413
 
419
- # Custom attribute writer method with validation
420
- # @param [Object] download_concurrency Value to be assigned
421
- def download_concurrency=(download_concurrency)
422
- if !download_concurrency.nil? && download_concurrency < 1
423
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
424
- end
425
-
426
- @download_concurrency = download_concurrency
427
- end
428
-
429
414
  # Custom attribute writer method with validation
430
415
  # @param [Object] total_timeout Value to be assigned
431
416
  def total_timeout=(total_timeout)
@@ -153,10 +153,6 @@ module PulpDebClient
153
153
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
154
154
  end
155
155
 
156
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
157
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
158
- end
159
-
160
156
  invalid_properties
161
157
  end
162
158
 
@@ -167,7 +163,6 @@ module PulpDebClient
167
163
  return false if @name.nil?
168
164
  return false if @name.to_s.length < 1
169
165
  return false if !@description.nil? && @description.to_s.length < 1
170
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
171
166
  true
172
167
  end
173
168
 
@@ -195,16 +190,6 @@ module PulpDebClient
195
190
  @description = description
196
191
  end
197
192
 
198
- # Custom attribute writer method with validation
199
- # @param [Object] retain_repo_versions Value to be assigned
200
- def retain_repo_versions=(retain_repo_versions)
201
- if !retain_repo_versions.nil? && retain_repo_versions < 1
202
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
203
- end
204
-
205
- @retain_repo_versions = retain_repo_versions
206
- end
207
-
208
193
  # Checks equality by comparing each attribute.
209
194
  # @param [Object] Object to be compared
210
195
  def ==(o)
@@ -196,10 +196,6 @@ module PulpDebClient
196
196
  invalid_properties.push('invalid value for "name", name cannot be nil.')
197
197
  end
198
198
 
199
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
200
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
201
- end
202
-
203
199
  invalid_properties
204
200
  end
205
201
 
@@ -208,20 +204,9 @@ module PulpDebClient
208
204
  def valid?
209
205
  warn '[DEPRECATED] the `valid?` method is obsolete'
210
206
  return false if @name.nil?
211
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
212
207
  true
213
208
  end
214
209
 
215
- # Custom attribute writer method with validation
216
- # @param [Object] retain_repo_versions Value to be assigned
217
- def retain_repo_versions=(retain_repo_versions)
218
- if !retain_repo_versions.nil? && retain_repo_versions < 1
219
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
220
- end
221
-
222
- @retain_repo_versions = retain_repo_versions
223
- end
224
-
225
210
  # Checks equality by comparing each attribute.
226
211
  # @param [Object] Object to be compared
227
212
  def ==(o)
@@ -30,6 +30,8 @@ module PulpDebClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # Artifact file representing the physical content
34
36
  attr_accessor :artifact
35
37
 
@@ -62,6 +64,7 @@ module PulpDebClient
62
64
  :'pulp_created' => :'pulp_created',
63
65
  :'pulp_last_updated' => :'pulp_last_updated',
64
66
  :'pulp_labels' => :'pulp_labels',
67
+ :'vuln_report' => :'vuln_report',
65
68
  :'artifact' => :'artifact',
66
69
  :'relative_path' => :'relative_path',
67
70
  :'md5' => :'md5',
@@ -86,6 +89,7 @@ module PulpDebClient
86
89
  :'pulp_created' => :'Time',
87
90
  :'pulp_last_updated' => :'Time',
88
91
  :'pulp_labels' => :'Hash<String, String>',
92
+ :'vuln_report' => :'String',
89
93
  :'artifact' => :'String',
90
94
  :'relative_path' => :'String',
91
95
  :'md5' => :'String',
@@ -140,6 +144,10 @@ module PulpDebClient
140
144
  end
141
145
  end
142
146
 
147
+ if attributes.key?(:'vuln_report')
148
+ self.vuln_report = attributes[:'vuln_report']
149
+ end
150
+
143
151
  if attributes.key?(:'artifact')
144
152
  self.artifact = attributes[:'artifact']
145
153
  end
@@ -205,6 +213,7 @@ module PulpDebClient
205
213
  pulp_created == o.pulp_created &&
206
214
  pulp_last_updated == o.pulp_last_updated &&
207
215
  pulp_labels == o.pulp_labels &&
216
+ vuln_report == o.vuln_report &&
208
217
  artifact == o.artifact &&
209
218
  relative_path == o.relative_path &&
210
219
  md5 == o.md5 &&
@@ -224,7 +233,7 @@ module PulpDebClient
224
233
  # Calculates hash code according to all attributes.
225
234
  # @return [Integer] Hash code
226
235
  def hash
227
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
236
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
228
237
  end
229
238
 
230
239
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpDebClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
34
36
  attr_accessor :artifacts
35
37
 
@@ -50,6 +52,7 @@ module PulpDebClient
50
52
  :'pulp_created' => :'pulp_created',
51
53
  :'pulp_last_updated' => :'pulp_last_updated',
52
54
  :'pulp_labels' => :'pulp_labels',
55
+ :'vuln_report' => :'vuln_report',
53
56
  :'artifacts' => :'artifacts',
54
57
  :'component' => :'component',
55
58
  :'architecture' => :'architecture',
@@ -70,6 +73,7 @@ module PulpDebClient
70
73
  :'pulp_created' => :'Time',
71
74
  :'pulp_last_updated' => :'Time',
72
75
  :'pulp_labels' => :'Hash<String, String>',
76
+ :'vuln_report' => :'String',
73
77
  :'artifacts' => :'Object',
74
78
  :'component' => :'String',
75
79
  :'architecture' => :'String',
@@ -120,6 +124,10 @@ module PulpDebClient
120
124
  end
121
125
  end
122
126
 
127
+ if attributes.key?(:'vuln_report')
128
+ self.vuln_report = attributes[:'vuln_report']
129
+ end
130
+
123
131
  if attributes.key?(:'artifacts')
124
132
  self.artifacts = attributes[:'artifacts']
125
133
  else
@@ -183,6 +191,7 @@ module PulpDebClient
183
191
  pulp_created == o.pulp_created &&
184
192
  pulp_last_updated == o.pulp_last_updated &&
185
193
  pulp_labels == o.pulp_labels &&
194
+ vuln_report == o.vuln_report &&
186
195
  artifacts == o.artifacts &&
187
196
  component == o.component &&
188
197
  architecture == o.architecture &&
@@ -198,7 +207,7 @@ module PulpDebClient
198
207
  # Calculates hash code according to all attributes.
199
208
  # @return [Integer] Hash code
200
209
  def hash
201
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
210
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifacts, component, architecture, relative_path].hash
202
211
  end
203
212
 
204
213
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpDebClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # Artifact file representing the physical content
34
36
  attr_accessor :artifact
35
37
 
@@ -120,6 +122,7 @@ module PulpDebClient
120
122
  :'pulp_created' => :'pulp_created',
121
123
  :'pulp_last_updated' => :'pulp_last_updated',
122
124
  :'pulp_labels' => :'pulp_labels',
125
+ :'vuln_report' => :'vuln_report',
123
126
  :'artifact' => :'artifact',
124
127
  :'relative_path' => :'relative_path',
125
128
  :'md5' => :'md5',
@@ -173,6 +176,7 @@ module PulpDebClient
173
176
  :'pulp_created' => :'Time',
174
177
  :'pulp_last_updated' => :'Time',
175
178
  :'pulp_labels' => :'Hash<String, String>',
179
+ :'vuln_report' => :'String',
176
180
  :'artifact' => :'String',
177
181
  :'relative_path' => :'String',
178
182
  :'md5' => :'String',
@@ -256,6 +260,10 @@ module PulpDebClient
256
260
  end
257
261
  end
258
262
 
263
+ if attributes.key?(:'vuln_report')
264
+ self.vuln_report = attributes[:'vuln_report']
265
+ end
266
+
259
267
  if attributes.key?(:'artifact')
260
268
  self.artifact = attributes[:'artifact']
261
269
  end
@@ -430,6 +438,7 @@ module PulpDebClient
430
438
  pulp_created == o.pulp_created &&
431
439
  pulp_last_updated == o.pulp_last_updated &&
432
440
  pulp_labels == o.pulp_labels &&
441
+ vuln_report == o.vuln_report &&
433
442
  artifact == o.artifact &&
434
443
  relative_path == o.relative_path &&
435
444
  md5 == o.md5 &&
@@ -478,7 +487,7 @@ module PulpDebClient
478
487
  # Calculates hash code according to all attributes.
479
488
  # @return [Integer] Hash code
480
489
  def hash
481
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
490
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
482
491
  end
483
492
 
484
493
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpDebClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
34
36
  attr_accessor :artifacts
35
37
 
@@ -50,6 +52,7 @@ module PulpDebClient
50
52
  :'pulp_created' => :'pulp_created',
51
53
  :'pulp_last_updated' => :'pulp_last_updated',
52
54
  :'pulp_labels' => :'pulp_labels',
55
+ :'vuln_report' => :'vuln_report',
53
56
  :'artifacts' => :'artifacts',
54
57
  :'component' => :'component',
55
58
  :'architecture' => :'architecture',
@@ -70,6 +73,7 @@ module PulpDebClient
70
73
  :'pulp_created' => :'Time',
71
74
  :'pulp_last_updated' => :'Time',
72
75
  :'pulp_labels' => :'Hash<String, String>',
76
+ :'vuln_report' => :'String',
73
77
  :'artifacts' => :'Object',
74
78
  :'component' => :'String',
75
79
  :'architecture' => :'String',
@@ -120,6 +124,10 @@ module PulpDebClient
120
124
  end
121
125
  end
122
126
 
127
+ if attributes.key?(:'vuln_report')
128
+ self.vuln_report = attributes[:'vuln_report']
129
+ end
130
+
123
131
  if attributes.key?(:'artifacts')
124
132
  self.artifacts = attributes[:'artifacts']
125
133
  else
@@ -169,6 +177,7 @@ module PulpDebClient
169
177
  pulp_created == o.pulp_created &&
170
178
  pulp_last_updated == o.pulp_last_updated &&
171
179
  pulp_labels == o.pulp_labels &&
180
+ vuln_report == o.vuln_report &&
172
181
  artifacts == o.artifacts &&
173
182
  component == o.component &&
174
183
  architecture == o.architecture &&
@@ -184,7 +193,7 @@ module PulpDebClient
184
193
  # Calculates hash code according to all attributes.
185
194
  # @return [Integer] Hash code
186
195
  def hash
187
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
196
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifacts, component, architecture, relative_path].hash
188
197
  end
189
198
 
190
199
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpDebClient
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
+ attr_accessor :vuln_report
34
+
33
35
  # Package that is contained in release_comonent.
34
36
  attr_accessor :package
35
37
 
@@ -44,6 +46,7 @@ module PulpDebClient
44
46
  :'pulp_created' => :'pulp_created',
45
47
  :'pulp_last_updated' => :'pulp_last_updated',
46
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'vuln_report' => :'vuln_report',
47
50
  :'package' => :'package',
48
51
  :'release_component' => :'release_component'
49
52
  }
@@ -62,6 +65,7 @@ module PulpDebClient
62
65
  :'pulp_created' => :'Time',
63
66
  :'pulp_last_updated' => :'Time',
64
67
  :'pulp_labels' => :'Hash<String, String>',
68
+ :'vuln_report' => :'String',
65
69
  :'package' => :'String',
66
70
  :'release_component' => :'String'
67
71
  }
@@ -110,6 +114,10 @@ module PulpDebClient
110
114
  end
111
115
  end
112
116
 
117
+ if attributes.key?(:'vuln_report')
118
+ self.vuln_report = attributes[:'vuln_report']
119
+ end
120
+
113
121
  if attributes.key?(:'package')
114
122
  self.package = attributes[:'package']
115
123
  else
@@ -158,6 +166,7 @@ module PulpDebClient
158
166
  pulp_created == o.pulp_created &&
159
167
  pulp_last_updated == o.pulp_last_updated &&
160
168
  pulp_labels == o.pulp_labels &&
169
+ vuln_report == o.vuln_report &&
161
170
  package == o.package &&
162
171
  release_component == o.release_component
163
172
  end
@@ -171,7 +180,7 @@ module PulpDebClient
171
180
  # Calculates hash code according to all attributes.
172
181
  # @return [Integer] Hash code
173
182
  def hash
174
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, package, release_component].hash
183
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, package, release_component].hash
175
184
  end
176
185
 
177
186
  # Builds the object from hash