pulpcore_client 3.83.2 → 3.85.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.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -4
  3. data/docs/ArtifactDistributionResponse.md +14 -14
  4. data/docs/FilesystemExportResponse.md +1 -1
  5. data/docs/GenericRemoteResponse.md +1 -1
  6. data/docs/GroupRoleResponse.md +1 -1
  7. data/docs/MultipleArtifactContentResponse.md +2 -0
  8. data/docs/NestedOpenPGPPublicSubkeyResponse.md +1 -1
  9. data/docs/NestedOpenPGPUserAttributeResponse.md +1 -1
  10. data/docs/NestedOpenPGPUserIDResponse.md +1 -1
  11. data/docs/OpenPGPPublicKeyResponse.md +5 -3
  12. data/docs/OpenPGPPublicSubkeyResponse.md +3 -1
  13. data/docs/OpenPGPSignatureResponse.md +2 -0
  14. data/docs/OpenPGPUserAttributeResponse.md +3 -1
  15. data/docs/OpenPGPUserIDResponse.md +3 -1
  16. data/docs/PaginatedVulnerabilityReportResponseList.md +24 -0
  17. data/docs/PulpExportResponse.md +1 -1
  18. data/docs/Purge.md +1 -1
  19. data/docs/RBACContentGuardResponse.md +2 -2
  20. data/docs/RepositoryVersionResponse.md +3 -1
  21. data/docs/TaskGroupResponse.md +2 -2
  22. data/docs/TaskResponse.md +4 -4
  23. data/docs/UploadDetailResponse.md +1 -1
  24. data/docs/UpstreamPulpResponse.md +1 -1
  25. data/docs/UserResponse.md +2 -2
  26. data/docs/UserRoleResponse.md +1 -1
  27. data/docs/VulnReportApi.md +241 -0
  28. data/docs/VulnerabilityReportResponse.md +30 -0
  29. data/lib/pulpcore_client/api/vuln_report_api.rb +230 -0
  30. data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
  31. data/lib/pulpcore_client/models/generic_remote_response.rb +0 -15
  32. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +10 -1
  33. data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +0 -9
  34. data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +0 -15
  35. data/lib/pulpcore_client/models/open_pgp_keyring.rb +0 -15
  36. data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +0 -15
  37. data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +10 -1
  38. data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +10 -1
  39. data/lib/pulpcore_client/models/open_pgp_signature_response.rb +10 -16
  40. data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +10 -1
  41. data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +10 -1
  42. data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -24
  43. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -2
  44. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -2
  45. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -2
  46. data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +0 -2
  47. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -2
  48. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -2
  49. data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -2
  50. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -2
  51. data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -2
  52. data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -2
  53. data/lib/pulpcore_client/models/paginated_generic_remote_response_list.rb +0 -2
  54. data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -2
  55. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -2
  56. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -2
  57. data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +0 -2
  58. data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -2
  59. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -2
  60. data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +0 -2
  61. data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +0 -2
  62. data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +0 -2
  63. data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +0 -2
  64. data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +0 -2
  65. data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +0 -2
  66. data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +0 -2
  67. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -2
  68. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -2
  69. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -2
  70. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -2
  71. data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -2
  72. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -2
  73. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -2
  74. data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -2
  75. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -2
  76. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -2
  77. data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -2
  78. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -2
  79. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -2
  80. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -2
  81. data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -2
  82. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -2
  83. data/lib/pulpcore_client/models/paginated_vulnerability_report_response_list.rb +257 -0
  84. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -2
  85. data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +0 -15
  86. data/lib/pulpcore_client/models/purge.rb +2 -0
  87. data/lib/pulpcore_client/models/repository_response.rb +0 -15
  88. data/lib/pulpcore_client/models/repository_version_response.rb +13 -4
  89. data/lib/pulpcore_client/models/storage_response.rb +0 -45
  90. data/lib/pulpcore_client/models/vulnerability_report_response.rb +277 -0
  91. data/lib/pulpcore_client/version.rb +1 -1
  92. data/lib/pulpcore_client.rb +3 -0
  93. data/spec/api/vuln_report_api_spec.rb +79 -0
  94. data/spec/models/artifact_distribution_response_spec.rb +10 -10
  95. data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
  96. data/spec/models/open_pgp_public_key_response_spec.rb +6 -0
  97. data/spec/models/open_pgp_public_subkey_response_spec.rb +6 -0
  98. data/spec/models/open_pgp_signature_response_spec.rb +6 -0
  99. data/spec/models/open_pgp_user_attribute_response_spec.rb +6 -0
  100. data/spec/models/open_pgp_user_id_response_spec.rb +6 -0
  101. data/spec/models/paginated_vulnerability_report_response_list_spec.rb +54 -0
  102. data/spec/models/repository_version_response_spec.rb +6 -0
  103. data/spec/models/vulnerability_report_response_spec.rb +72 -0
  104. metadata +199 -187
@@ -30,6 +30,8 @@ module PulpcoreClient
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
  attr_accessor :user_id
34
36
 
35
37
  attr_accessor :signatures
@@ -44,6 +46,7 @@ module PulpcoreClient
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
  :'user_id' => :'user_id',
48
51
  :'signatures' => :'signatures',
49
52
  :'public_key' => :'public_key'
@@ -63,6 +66,7 @@ module PulpcoreClient
63
66
  :'pulp_created' => :'Time',
64
67
  :'pulp_last_updated' => :'Time',
65
68
  :'pulp_labels' => :'Hash<String, String>',
69
+ :'vuln_report' => :'String',
66
70
  :'user_id' => :'String',
67
71
  :'signatures' => :'Array<NestedOpenPGPSignatureResponse>',
68
72
  :'public_key' => :'String'
@@ -112,6 +116,10 @@ module PulpcoreClient
112
116
  end
113
117
  end
114
118
 
119
+ if attributes.key?(:'vuln_report')
120
+ self.vuln_report = attributes[:'vuln_report']
121
+ end
122
+
115
123
  if attributes.key?(:'user_id')
116
124
  self.user_id = attributes[:'user_id']
117
125
  else
@@ -159,6 +167,7 @@ module PulpcoreClient
159
167
  pulp_created == o.pulp_created &&
160
168
  pulp_last_updated == o.pulp_last_updated &&
161
169
  pulp_labels == o.pulp_labels &&
170
+ vuln_report == o.vuln_report &&
162
171
  user_id == o.user_id &&
163
172
  signatures == o.signatures &&
164
173
  public_key == o.public_key
@@ -173,7 +182,7 @@ module PulpcoreClient
173
182
  # Calculates hash code according to all attributes.
174
183
  # @return [Integer] Hash code
175
184
  def hash
176
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, user_id, signatures, public_key].hash
185
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, user_id, signatures, public_key].hash
177
186
  end
178
187
 
179
188
  # Builds the object from hash
@@ -80,14 +80,6 @@ module PulpcoreClient
80
80
  def list_invalid_properties
81
81
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
82
82
  invalid_properties = Array.new
83
- if !@orphan_protection_time.nil? && @orphan_protection_time > 4294967295
84
- invalid_properties.push('invalid value for "orphan_protection_time", must be smaller than or equal to 4294967295.')
85
- end
86
-
87
- if !@orphan_protection_time.nil? && @orphan_protection_time < 0
88
- invalid_properties.push('invalid value for "orphan_protection_time", must be greater than or equal to 0.')
89
- end
90
-
91
83
  invalid_properties
92
84
  end
93
85
 
@@ -95,25 +87,9 @@ module PulpcoreClient
95
87
  # @return true if the model is valid
96
88
  def valid?
97
89
  warn '[DEPRECATED] the `valid?` method is obsolete'
98
- return false if !@orphan_protection_time.nil? && @orphan_protection_time > 4294967295
99
- return false if !@orphan_protection_time.nil? && @orphan_protection_time < 0
100
90
  true
101
91
  end
102
92
 
103
- # Custom attribute writer method with validation
104
- # @param [Object] orphan_protection_time Value to be assigned
105
- def orphan_protection_time=(orphan_protection_time)
106
- if !orphan_protection_time.nil? && orphan_protection_time > 4294967295
107
- fail ArgumentError, 'invalid value for "orphan_protection_time", must be smaller than or equal to 4294967295.'
108
- end
109
-
110
- if !orphan_protection_time.nil? && orphan_protection_time < 0
111
- fail ArgumentError, 'invalid value for "orphan_protection_time", must be greater than or equal to 0.'
112
- end
113
-
114
- @orphan_protection_time = orphan_protection_time
115
- end
116
-
117
93
  # Checks equality by comparing each attribute.
118
94
  # @param [Object] Object to be compared
119
95
  def ==(o)
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56
 
@@ -51,8 +51,6 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
- :'_next',
55
- :'previous',
56
54
  ])
57
55
  end
58
56