pulp_rpm_client 3.31.1 → 3.32.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 (88) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentModulemdsApi.md +1 -1
  4. data/docs/Copy.md +1 -1
  5. data/docs/PatchedrpmRpmRepository.md +1 -1
  6. data/docs/RepositoriesRpmVersionsApi.md +2 -2
  7. data/docs/RepositoryVersionResponse.md +3 -1
  8. data/docs/RpmModulemd.md +3 -3
  9. data/docs/RpmModulemdDefaults.md +1 -1
  10. data/docs/RpmModulemdDefaultsResponse.md +3 -1
  11. data/docs/RpmModulemdObsoleteResponse.md +2 -0
  12. data/docs/RpmModulemdResponse.md +5 -3
  13. data/docs/RpmPackageCategoryResponse.md +5 -3
  14. data/docs/RpmPackageEnvironmentResponse.md +6 -4
  15. data/docs/RpmPackageGroupResponse.md +5 -3
  16. data/docs/RpmPackageLangpacksResponse.md +3 -1
  17. data/docs/RpmPackageResponse.md +12 -10
  18. data/docs/RpmRepoMetadataFileResponse.md +2 -0
  19. data/docs/RpmRpmPublication.md +1 -1
  20. data/docs/RpmRpmPublicationResponse.md +1 -1
  21. data/docs/RpmRpmRemoteResponse.md +1 -1
  22. data/docs/RpmRpmRepository.md +1 -1
  23. data/docs/RpmRpmRepositoryResponse.md +1 -1
  24. data/docs/RpmUlnRemoteResponse.md +1 -1
  25. data/docs/RpmUpdateCollection.md +1 -1
  26. data/docs/RpmUpdateCollectionResponse.md +2 -2
  27. data/docs/RpmUpdateRecordResponse.md +4 -2
  28. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -3
  29. data/lib/pulp_rpm_client/models/copy.rb +0 -1
  30. data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +0 -2
  31. data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +0 -2
  32. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +0 -2
  33. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +0 -2
  34. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +0 -2
  35. data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +0 -2
  36. data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +0 -2
  37. data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +0 -2
  38. data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +0 -2
  39. data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +0 -2
  40. data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +0 -2
  41. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +0 -2
  42. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +0 -2
  43. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +0 -2
  44. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +0 -2
  45. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +0 -2
  46. data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +0 -2
  47. data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +0 -2
  48. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +0 -15
  49. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +0 -19
  50. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +0 -15
  51. data/lib/pulp_rpm_client/models/repository_version_response.rb +13 -4
  52. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
  53. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +0 -1
  54. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +10 -2
  55. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +10 -1
  56. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +13 -4
  57. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +13 -4
  58. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +14 -5
  59. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +13 -4
  60. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +11 -2
  61. data/lib/pulp_rpm_client/models/rpm_package_response.rb +10 -11
  62. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +10 -1
  63. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +0 -1
  64. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +0 -2
  65. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +0 -2
  66. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +0 -15
  67. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +0 -15
  68. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +0 -19
  69. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +0 -20
  70. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +0 -15
  71. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +0 -15
  72. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  73. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  74. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +10 -1
  75. data/lib/pulp_rpm_client/version.rb +1 -1
  76. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
  77. data/spec/models/repository_version_response_spec.rb +6 -0
  78. data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
  79. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
  80. data/spec/models/rpm_modulemd_response_spec.rb +6 -0
  81. data/spec/models/rpm_package_category_response_spec.rb +6 -0
  82. data/spec/models/rpm_package_environment_response_spec.rb +6 -0
  83. data/spec/models/rpm_package_group_response_spec.rb +6 -0
  84. data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
  85. data/spec/models/rpm_package_response_spec.rb +6 -0
  86. data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
  87. data/spec/models/rpm_update_record_response_spec.rb +6 -0
  88. metadata +79 -79
@@ -51,8 +51,6 @@ module PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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 PulpRpmClient
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
 
@@ -339,10 +339,6 @@ module PulpRpmClient
339
339
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
340
340
  end
341
341
 
342
- if !@download_concurrency.nil? && @download_concurrency < 1
343
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
344
- end
345
-
346
342
  if !@total_timeout.nil? && @total_timeout < 0.0
347
343
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
348
344
  end
@@ -380,7 +376,6 @@ module PulpRpmClient
380
376
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
381
377
  return false if !@username.nil? && @username.to_s.length < 1
382
378
  return false if !@password.nil? && @password.to_s.length < 1
383
- return false if !@download_concurrency.nil? && @download_concurrency < 1
384
379
  return false if !@total_timeout.nil? && @total_timeout < 0.0
385
380
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
386
381
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -497,16 +492,6 @@ module PulpRpmClient
497
492
  @password = password
498
493
  end
499
494
 
500
- # Custom attribute writer method with validation
501
- # @param [Object] download_concurrency Value to be assigned
502
- def download_concurrency=(download_concurrency)
503
- if !download_concurrency.nil? && download_concurrency < 1
504
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
505
- end
506
-
507
- @download_concurrency = download_concurrency
508
- end
509
-
510
495
  # Custom attribute writer method with validation
511
496
  # @param [Object] total_timeout Value to be assigned
512
497
  def total_timeout=(total_timeout)
@@ -48,7 +48,6 @@ module PulpRpmClient
48
48
  # The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
49
49
  attr_accessor :checksum_type
50
50
 
51
- # A JSON document describing the config.repo file Pulp should generate for this repo
52
51
  attr_accessor :repo_config
53
52
 
54
53
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
@@ -132,10 +131,7 @@ module PulpRpmClient
132
131
  :'remote',
133
132
  :'metadata_signing_service',
134
133
  :'package_signing_service',
135
- :'checksum_type',
136
134
  :'repo_config',
137
- :'compression_type',
138
- :'layout'
139
135
  ])
140
136
  end
141
137
 
@@ -230,10 +226,6 @@ module PulpRpmClient
230
226
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
231
227
  end
232
228
 
233
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
234
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
235
- end
236
-
237
229
  if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
238
230
  invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
239
231
  end
@@ -251,7 +243,6 @@ module PulpRpmClient
251
243
  warn '[DEPRECATED] the `valid?` method is obsolete'
252
244
  return false if !@name.nil? && @name.to_s.length < 1
253
245
  return false if !@description.nil? && @description.to_s.length < 1
254
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
255
246
  return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
256
247
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
257
248
  true
@@ -281,16 +272,6 @@ module PulpRpmClient
281
272
  @description = description
282
273
  end
283
274
 
284
- # Custom attribute writer method with validation
285
- # @param [Object] retain_repo_versions Value to be assigned
286
- def retain_repo_versions=(retain_repo_versions)
287
- if !retain_repo_versions.nil? && retain_repo_versions < 1
288
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
289
- end
290
-
291
- @retain_repo_versions = retain_repo_versions
292
- end
293
-
294
275
  # Custom attribute writer method with validation
295
276
  # @param [Object] package_signing_fingerprint Value to be assigned
296
277
  def package_signing_fingerprint=(package_signing_fingerprint)
@@ -337,10 +337,6 @@ module PulpRpmClient
337
337
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
338
338
  end
339
339
 
340
- if !@download_concurrency.nil? && @download_concurrency < 1
341
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
342
- end
343
-
344
340
  if !@total_timeout.nil? && @total_timeout < 0.0
345
341
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
346
342
  end
@@ -378,7 +374,6 @@ module PulpRpmClient
378
374
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
379
375
  return false if !@username.nil? && @username.to_s.length < 1
380
376
  return false if !@password.nil? && @password.to_s.length < 1
381
- return false if !@download_concurrency.nil? && @download_concurrency < 1
382
377
  return false if !@total_timeout.nil? && @total_timeout < 0.0
383
378
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
384
379
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -503,16 +498,6 @@ module PulpRpmClient
503
498
  @password = password
504
499
  end
505
500
 
506
- # Custom attribute writer method with validation
507
- # @param [Object] download_concurrency Value to be assigned
508
- def download_concurrency=(download_concurrency)
509
- if !download_concurrency.nil? && download_concurrency < 1
510
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
511
- end
512
-
513
- @download_concurrency = download_concurrency
514
- end
515
-
516
501
  # Custom attribute writer method with validation
517
502
  # @param [Object] total_timeout Value to be assigned
518
503
  def total_timeout=(total_timeout)
@@ -37,6 +37,8 @@ module PulpRpmClient
37
37
  # Various count summaries of the content in the version and the HREF to view them.
38
38
  attr_accessor :content_summary
39
39
 
40
+ attr_accessor :vuln_report
41
+
40
42
  # Attribute mapping from ruby-style variable name to JSON key.
41
43
  def self.attribute_map
42
44
  {
@@ -47,7 +49,8 @@ module PulpRpmClient
47
49
  :'number' => :'number',
48
50
  :'repository' => :'repository',
49
51
  :'base_version' => :'base_version',
50
- :'content_summary' => :'content_summary'
52
+ :'content_summary' => :'content_summary',
53
+ :'vuln_report' => :'vuln_report'
51
54
  }
52
55
  end
53
56
 
@@ -66,7 +69,8 @@ module PulpRpmClient
66
69
  :'number' => :'Integer',
67
70
  :'repository' => :'String',
68
71
  :'base_version' => :'String',
69
- :'content_summary' => :'ContentSummaryResponse'
72
+ :'content_summary' => :'ContentSummaryResponse',
73
+ :'vuln_report' => :'String'
70
74
  }
71
75
  end
72
76
 
@@ -122,6 +126,10 @@ module PulpRpmClient
122
126
  if attributes.key?(:'content_summary')
123
127
  self.content_summary = attributes[:'content_summary']
124
128
  end
129
+
130
+ if attributes.key?(:'vuln_report')
131
+ self.vuln_report = attributes[:'vuln_report']
132
+ end
125
133
  end
126
134
 
127
135
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,7 +159,8 @@ module PulpRpmClient
151
159
  number == o.number &&
152
160
  repository == o.repository &&
153
161
  base_version == o.base_version &&
154
- content_summary == o.content_summary
162
+ content_summary == o.content_summary &&
163
+ vuln_report == o.vuln_report
155
164
  end
156
165
 
157
166
  # @see the `==` method
@@ -163,7 +172,7 @@ module PulpRpmClient
163
172
  # Calculates hash code according to all attributes.
164
173
  # @return [Integer] Hash code
165
174
  def hash
166
- [pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
175
+ [pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary, vuln_report].hash
167
176
  end
168
177
 
169
178
  # Builds the object from hash
@@ -94,11 +94,11 @@ module PulpRpmClient
94
94
  :'static_context' => :'Boolean',
95
95
  :'context' => :'String',
96
96
  :'arch' => :'String',
97
- :'artifacts' => :'Object',
98
- :'dependencies' => :'Object',
97
+ :'artifacts' => :'OneOf',
98
+ :'dependencies' => :'OneOf',
99
99
  :'packages' => :'Array<String>',
100
100
  :'snippet' => :'String',
101
- :'profiles' => :'Object',
101
+ :'profiles' => :'OneOf',
102
102
  :'description' => :'String'
103
103
  }
104
104
  end
@@ -28,7 +28,6 @@ module PulpRpmClient
28
28
  # Modulemd default stream.
29
29
  attr_accessor :stream
30
30
 
31
- # Default profiles for modulemd streams.
32
31
  attr_accessor :profiles
33
32
 
34
33
  # Modulemd default snippet
@@ -30,13 +30,14 @@ module PulpRpmClient
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
  # Modulemd name.
34
36
  attr_accessor :_module
35
37
 
36
38
  # Modulemd default stream.
37
39
  attr_accessor :stream
38
40
 
39
- # Default profiles for modulemd streams.
40
41
  attr_accessor :profiles
41
42
 
42
43
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -47,6 +48,7 @@ module PulpRpmClient
47
48
  :'pulp_created' => :'pulp_created',
48
49
  :'pulp_last_updated' => :'pulp_last_updated',
49
50
  :'pulp_labels' => :'pulp_labels',
51
+ :'vuln_report' => :'vuln_report',
50
52
  :'_module' => :'module',
51
53
  :'stream' => :'stream',
52
54
  :'profiles' => :'profiles'
@@ -66,6 +68,7 @@ module PulpRpmClient
66
68
  :'pulp_created' => :'Time',
67
69
  :'pulp_last_updated' => :'Time',
68
70
  :'pulp_labels' => :'Hash<String, String>',
71
+ :'vuln_report' => :'String',
69
72
  :'_module' => :'String',
70
73
  :'stream' => :'String',
71
74
  :'profiles' => :'Object'
@@ -116,6 +119,10 @@ module PulpRpmClient
116
119
  end
117
120
  end
118
121
 
122
+ if attributes.key?(:'vuln_report')
123
+ self.vuln_report = attributes[:'vuln_report']
124
+ end
125
+
119
126
  if attributes.key?(:'_module')
120
127
  self._module = attributes[:'_module']
121
128
  else
@@ -170,6 +177,7 @@ module PulpRpmClient
170
177
  pulp_created == o.pulp_created &&
171
178
  pulp_last_updated == o.pulp_last_updated &&
172
179
  pulp_labels == o.pulp_labels &&
180
+ vuln_report == o.vuln_report &&
173
181
  _module == o._module &&
174
182
  stream == o.stream &&
175
183
  profiles == o.profiles
@@ -184,7 +192,7 @@ module PulpRpmClient
184
192
  # Calculates hash code according to all attributes.
185
193
  # @return [Integer] Hash code
186
194
  def hash
187
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, _module, stream, profiles].hash
195
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, _module, stream, profiles].hash
188
196
  end
189
197
 
190
198
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpRpmClient
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
  # Obsolete modified time.
34
36
  attr_accessor :modified
35
37
 
@@ -65,6 +67,7 @@ module PulpRpmClient
65
67
  :'pulp_created' => :'pulp_created',
66
68
  :'pulp_last_updated' => :'pulp_last_updated',
67
69
  :'pulp_labels' => :'pulp_labels',
70
+ :'vuln_report' => :'vuln_report',
68
71
  :'modified' => :'modified',
69
72
  :'module_name' => :'module_name',
70
73
  :'module_stream' => :'module_stream',
@@ -90,6 +93,7 @@ module PulpRpmClient
90
93
  :'pulp_created' => :'Time',
91
94
  :'pulp_last_updated' => :'Time',
92
95
  :'pulp_labels' => :'Hash<String, String>',
96
+ :'vuln_report' => :'String',
93
97
  :'modified' => :'String',
94
98
  :'module_name' => :'String',
95
99
  :'module_stream' => :'String',
@@ -150,6 +154,10 @@ module PulpRpmClient
150
154
  end
151
155
  end
152
156
 
157
+ if attributes.key?(:'vuln_report')
158
+ self.vuln_report = attributes[:'vuln_report']
159
+ end
160
+
153
161
  if attributes.key?(:'modified')
154
162
  self.modified = attributes[:'modified']
155
163
  else
@@ -250,6 +258,7 @@ module PulpRpmClient
250
258
  pulp_created == o.pulp_created &&
251
259
  pulp_last_updated == o.pulp_last_updated &&
252
260
  pulp_labels == o.pulp_labels &&
261
+ vuln_report == o.vuln_report &&
253
262
  modified == o.modified &&
254
263
  module_name == o.module_name &&
255
264
  module_stream == o.module_stream &&
@@ -270,7 +279,7 @@ module PulpRpmClient
270
279
  # Calculates hash code according to all attributes.
271
280
  # @return [Integer] Hash code
272
281
  def hash
273
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
282
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
274
283
  end
275
284
 
276
285
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpRpmClient
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
  # Modulemd name.
34
36
  attr_accessor :name
35
37
 
@@ -71,6 +73,7 @@ module PulpRpmClient
71
73
  :'pulp_created' => :'pulp_created',
72
74
  :'pulp_last_updated' => :'pulp_last_updated',
73
75
  :'pulp_labels' => :'pulp_labels',
76
+ :'vuln_report' => :'vuln_report',
74
77
  :'name' => :'name',
75
78
  :'stream' => :'stream',
76
79
  :'version' => :'version',
@@ -98,16 +101,17 @@ module PulpRpmClient
98
101
  :'pulp_created' => :'Time',
99
102
  :'pulp_last_updated' => :'Time',
100
103
  :'pulp_labels' => :'Hash<String, String>',
104
+ :'vuln_report' => :'String',
101
105
  :'name' => :'String',
102
106
  :'stream' => :'String',
103
107
  :'version' => :'String',
104
108
  :'static_context' => :'Boolean',
105
109
  :'context' => :'String',
106
110
  :'arch' => :'String',
107
- :'artifacts' => :'Object',
108
- :'dependencies' => :'Object',
111
+ :'artifacts' => :'OneOf',
112
+ :'dependencies' => :'OneOf',
109
113
  :'packages' => :'Array<String>',
110
- :'profiles' => :'Object',
114
+ :'profiles' => :'OneOf',
111
115
  :'description' => :'String'
112
116
  }
113
117
  end
@@ -158,6 +162,10 @@ module PulpRpmClient
158
162
  end
159
163
  end
160
164
 
165
+ if attributes.key?(:'vuln_report')
166
+ self.vuln_report = attributes[:'vuln_report']
167
+ end
168
+
161
169
  if attributes.key?(:'name')
162
170
  self.name = attributes[:'name']
163
171
  else
@@ -278,6 +286,7 @@ module PulpRpmClient
278
286
  pulp_created == o.pulp_created &&
279
287
  pulp_last_updated == o.pulp_last_updated &&
280
288
  pulp_labels == o.pulp_labels &&
289
+ vuln_report == o.vuln_report &&
281
290
  name == o.name &&
282
291
  stream == o.stream &&
283
292
  version == o.version &&
@@ -300,7 +309,7 @@ module PulpRpmClient
300
309
  # Calculates hash code according to all attributes.
301
310
  # @return [Integer] Hash code
302
311
  def hash
303
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
312
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
304
313
  end
305
314
 
306
315
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpRpmClient
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
  # Category id.
34
36
  attr_accessor :id
35
37
 
@@ -62,6 +64,7 @@ module PulpRpmClient
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
  :'id' => :'id',
66
69
  :'name' => :'name',
67
70
  :'description' => :'description',
@@ -86,13 +89,14 @@ module PulpRpmClient
86
89
  :'pulp_created' => :'Time',
87
90
  :'pulp_last_updated' => :'Time',
88
91
  :'pulp_labels' => :'Hash<String, String>',
92
+ :'vuln_report' => :'String',
89
93
  :'id' => :'String',
90
94
  :'name' => :'String',
91
95
  :'description' => :'String',
92
96
  :'display_order' => :'Integer',
93
- :'group_ids' => :'Object',
94
- :'desc_by_lang' => :'Object',
95
- :'name_by_lang' => :'Object',
97
+ :'group_ids' => :'OneOf',
98
+ :'desc_by_lang' => :'OneOf',
99
+ :'name_by_lang' => :'OneOf',
96
100
  :'digest' => :'String'
97
101
  }
98
102
  end
@@ -144,6 +148,10 @@ module PulpRpmClient
144
148
  end
145
149
  end
146
150
 
151
+ if attributes.key?(:'vuln_report')
152
+ self.vuln_report = attributes[:'vuln_report']
153
+ end
154
+
147
155
  if attributes.key?(:'id')
148
156
  self.id = attributes[:'id']
149
157
  else
@@ -238,6 +246,7 @@ module PulpRpmClient
238
246
  pulp_created == o.pulp_created &&
239
247
  pulp_last_updated == o.pulp_last_updated &&
240
248
  pulp_labels == o.pulp_labels &&
249
+ vuln_report == o.vuln_report &&
241
250
  id == o.id &&
242
251
  name == o.name &&
243
252
  description == o.description &&
@@ -257,7 +266,7 @@ module PulpRpmClient
257
266
  # Calculates hash code according to all attributes.
258
267
  # @return [Integer] Hash code
259
268
  def hash
260
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
269
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
261
270
  end
262
271
 
263
272
  # Builds the object from hash
@@ -30,6 +30,8 @@ module PulpRpmClient
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
  # Environment id.
34
36
  attr_accessor :id
35
37
 
@@ -65,6 +67,7 @@ module PulpRpmClient
65
67
  :'pulp_created' => :'pulp_created',
66
68
  :'pulp_last_updated' => :'pulp_last_updated',
67
69
  :'pulp_labels' => :'pulp_labels',
70
+ :'vuln_report' => :'vuln_report',
68
71
  :'id' => :'id',
69
72
  :'name' => :'name',
70
73
  :'description' => :'description',
@@ -90,14 +93,15 @@ module PulpRpmClient
90
93
  :'pulp_created' => :'Time',
91
94
  :'pulp_last_updated' => :'Time',
92
95
  :'pulp_labels' => :'Hash<String, String>',
96
+ :'vuln_report' => :'String',
93
97
  :'id' => :'String',
94
98
  :'name' => :'String',
95
99
  :'description' => :'String',
96
100
  :'display_order' => :'Integer',
97
- :'group_ids' => :'Object',
98
- :'option_ids' => :'Object',
99
- :'desc_by_lang' => :'Object',
100
- :'name_by_lang' => :'Object',
101
+ :'group_ids' => :'OneOf',
102
+ :'option_ids' => :'OneOf',
103
+ :'desc_by_lang' => :'OneOf',
104
+ :'name_by_lang' => :'OneOf',
101
105
  :'digest' => :'String'
102
106
  }
103
107
  end
@@ -150,6 +154,10 @@ module PulpRpmClient
150
154
  end
151
155
  end
152
156
 
157
+ if attributes.key?(:'vuln_report')
158
+ self.vuln_report = attributes[:'vuln_report']
159
+ end
160
+
153
161
  if attributes.key?(:'id')
154
162
  self.id = attributes[:'id']
155
163
  else
@@ -250,6 +258,7 @@ module PulpRpmClient
250
258
  pulp_created == o.pulp_created &&
251
259
  pulp_last_updated == o.pulp_last_updated &&
252
260
  pulp_labels == o.pulp_labels &&
261
+ vuln_report == o.vuln_report &&
253
262
  id == o.id &&
254
263
  name == o.name &&
255
264
  description == o.description &&
@@ -270,7 +279,7 @@ module PulpRpmClient
270
279
  # Calculates hash code according to all attributes.
271
280
  # @return [Integer] Hash code
272
281
  def hash
273
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
282
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
274
283
  end
275
284
 
276
285
  # Builds the object from hash