pulp_rpm_client 3.35.3 → 3.36.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentAdvisoriesApi.md +0 -2
  4. data/docs/ContentPackagesApi.md +4 -6
  5. data/docs/PatchedrpmRpmRepository.md +2 -2
  6. data/docs/RepositoryAddRemoveContent.md +1 -3
  7. data/docs/RpmModulemd.md +0 -2
  8. data/docs/RpmModulemdDefaults.md +0 -2
  9. data/docs/RpmModulemdObsolete.md +0 -2
  10. data/docs/RpmPackageResponse.md +3 -1
  11. data/docs/RpmRpmPublication.md +1 -1
  12. data/docs/RpmRpmPublicationResponse.md +1 -1
  13. data/docs/RpmRpmRepository.md +2 -2
  14. data/docs/RpmRpmRepositoryResponse.md +2 -2
  15. data/lib/pulp_rpm_client/api/content_advisories_api.rb +0 -3
  16. data/lib/pulp_rpm_client/api/content_packages_api.rb +6 -9
  17. data/lib/pulp_rpm_client/models/layout_enum.rb +1 -2
  18. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +7 -7
  19. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +4 -16
  20. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -11
  21. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -11
  22. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +1 -11
  23. data/lib/pulp_rpm_client/models/rpm_package_response.rb +17 -4
  24. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  25. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
  26. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +7 -7
  27. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +7 -7
  28. data/lib/pulp_rpm_client/version.rb +1 -1
  29. data/spec/api/content_advisories_api_spec.rb +0 -1
  30. data/spec/api/content_packages_api_spec.rb +2 -3
  31. data/spec/models/repository_add_remove_content_spec.rb +0 -6
  32. data/spec/models/rpm_modulemd_defaults_spec.rb +0 -6
  33. data/spec/models/rpm_modulemd_obsolete_spec.rb +0 -6
  34. data/spec/models/rpm_modulemd_spec.rb +0 -6
  35. data/spec/models/rpm_package_response_spec.rb +6 -0
  36. metadata +80 -80
@@ -25,16 +25,12 @@ module PulpRpmClient
25
25
  # A repository version whose content will be used as the initial set of content for the new repository version
26
26
  attr_accessor :base_version
27
27
 
28
- # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true.
29
- attr_accessor :overwrite
30
-
31
28
  # Attribute mapping from ruby-style variable name to JSON key.
32
29
  def self.attribute_map
33
30
  {
34
31
  :'add_content_units' => :'add_content_units',
35
32
  :'remove_content_units' => :'remove_content_units',
36
- :'base_version' => :'base_version',
37
- :'overwrite' => :'overwrite'
33
+ :'base_version' => :'base_version'
38
34
  }
39
35
  end
40
36
 
@@ -48,8 +44,7 @@ module PulpRpmClient
48
44
  {
49
45
  :'add_content_units' => :'Array<String>',
50
46
  :'remove_content_units' => :'Array<String>',
51
- :'base_version' => :'String',
52
- :'overwrite' => :'Boolean'
47
+ :'base_version' => :'String'
53
48
  }
54
49
  end
55
50
 
@@ -89,12 +84,6 @@ module PulpRpmClient
89
84
  if attributes.key?(:'base_version')
90
85
  self.base_version = attributes[:'base_version']
91
86
  end
92
-
93
- if attributes.key?(:'overwrite')
94
- self.overwrite = attributes[:'overwrite']
95
- else
96
- self.overwrite = true
97
- end
98
87
  end
99
88
 
100
89
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -119,8 +108,7 @@ module PulpRpmClient
119
108
  self.class == o.class &&
120
109
  add_content_units == o.add_content_units &&
121
110
  remove_content_units == o.remove_content_units &&
122
- base_version == o.base_version &&
123
- overwrite == o.overwrite
111
+ base_version == o.base_version
124
112
  end
125
113
 
126
114
  # @see the `==` method
@@ -132,7 +120,7 @@ module PulpRpmClient
132
120
  # Calculates hash code according to all attributes.
133
121
  # @return [Integer] Hash code
134
122
  def hash
135
- [add_content_units, remove_content_units, base_version, overwrite].hash
123
+ [add_content_units, remove_content_units, base_version].hash
136
124
  end
137
125
 
138
126
  # Builds the object from hash
@@ -19,9 +19,6 @@ module PulpRpmClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
- # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
23
- attr_accessor :overwrite
24
-
25
22
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
23
  attr_accessor :pulp_labels
27
24
 
@@ -65,7 +62,6 @@ module PulpRpmClient
65
62
  def self.attribute_map
66
63
  {
67
64
  :'repository' => :'repository',
68
- :'overwrite' => :'overwrite',
69
65
  :'pulp_labels' => :'pulp_labels',
70
66
  :'name' => :'name',
71
67
  :'stream' => :'stream',
@@ -91,7 +87,6 @@ module PulpRpmClient
91
87
  def self.openapi_types
92
88
  {
93
89
  :'repository' => :'String',
94
- :'overwrite' => :'Boolean',
95
90
  :'pulp_labels' => :'Hash<String, String>',
96
91
  :'name' => :'String',
97
92
  :'stream' => :'String',
@@ -136,10 +131,6 @@ module PulpRpmClient
136
131
  self.repository = attributes[:'repository']
137
132
  end
138
133
 
139
- if attributes.key?(:'overwrite')
140
- self.overwrite = attributes[:'overwrite']
141
- end
142
-
143
134
  if attributes.key?(:'pulp_labels')
144
135
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
145
136
  self.pulp_labels = value
@@ -406,7 +397,6 @@ module PulpRpmClient
406
397
  return true if self.equal?(o)
407
398
  self.class == o.class &&
408
399
  repository == o.repository &&
409
- overwrite == o.overwrite &&
410
400
  pulp_labels == o.pulp_labels &&
411
401
  name == o.name &&
412
402
  stream == o.stream &&
@@ -431,7 +421,7 @@ module PulpRpmClient
431
421
  # Calculates hash code according to all attributes.
432
422
  # @return [Integer] Hash code
433
423
  def hash
434
- [repository, overwrite, pulp_labels, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
424
+ [repository, pulp_labels, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
435
425
  end
436
426
 
437
427
  # Builds the object from hash
@@ -19,9 +19,6 @@ module PulpRpmClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
- # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
23
- attr_accessor :overwrite
24
-
25
22
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
23
  attr_accessor :pulp_labels
27
24
 
@@ -41,7 +38,6 @@ module PulpRpmClient
41
38
  def self.attribute_map
42
39
  {
43
40
  :'repository' => :'repository',
44
- :'overwrite' => :'overwrite',
45
41
  :'pulp_labels' => :'pulp_labels',
46
42
  :'_module' => :'module',
47
43
  :'stream' => :'stream',
@@ -59,7 +55,6 @@ module PulpRpmClient
59
55
  def self.openapi_types
60
56
  {
61
57
  :'repository' => :'String',
62
- :'overwrite' => :'Boolean',
63
58
  :'pulp_labels' => :'Hash<String, String>',
64
59
  :'_module' => :'String',
65
60
  :'stream' => :'String',
@@ -94,10 +89,6 @@ module PulpRpmClient
94
89
  self.repository = attributes[:'repository']
95
90
  end
96
91
 
97
- if attributes.key?(:'overwrite')
98
- self.overwrite = attributes[:'overwrite']
99
- end
100
-
101
92
  if attributes.key?(:'pulp_labels')
102
93
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
103
94
  self.pulp_labels = value
@@ -222,7 +213,6 @@ module PulpRpmClient
222
213
  return true if self.equal?(o)
223
214
  self.class == o.class &&
224
215
  repository == o.repository &&
225
- overwrite == o.overwrite &&
226
216
  pulp_labels == o.pulp_labels &&
227
217
  _module == o._module &&
228
218
  stream == o.stream &&
@@ -239,7 +229,7 @@ module PulpRpmClient
239
229
  # Calculates hash code according to all attributes.
240
230
  # @return [Integer] Hash code
241
231
  def hash
242
- [repository, overwrite, pulp_labels, _module, stream, profiles, snippet].hash
232
+ [repository, pulp_labels, _module, stream, profiles, snippet].hash
243
233
  end
244
234
 
245
235
  # Builds the object from hash
@@ -19,9 +19,6 @@ module PulpRpmClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
- # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
23
- attr_accessor :overwrite
24
-
25
22
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
23
  attr_accessor :pulp_labels
27
24
 
@@ -59,7 +56,6 @@ module PulpRpmClient
59
56
  def self.attribute_map
60
57
  {
61
58
  :'repository' => :'repository',
62
- :'overwrite' => :'overwrite',
63
59
  :'pulp_labels' => :'pulp_labels',
64
60
  :'modified' => :'modified',
65
61
  :'module_name' => :'module_name',
@@ -83,7 +79,6 @@ module PulpRpmClient
83
79
  def self.openapi_types
84
80
  {
85
81
  :'repository' => :'String',
86
- :'overwrite' => :'Boolean',
87
82
  :'pulp_labels' => :'Hash<String, String>',
88
83
  :'modified' => :'String',
89
84
  :'module_name' => :'String',
@@ -128,10 +123,6 @@ module PulpRpmClient
128
123
  self.repository = attributes[:'repository']
129
124
  end
130
125
 
131
- if attributes.key?(:'overwrite')
132
- self.overwrite = attributes[:'overwrite']
133
- end
134
-
135
126
  if attributes.key?(:'pulp_labels')
136
127
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
137
128
  self.pulp_labels = value
@@ -415,7 +406,6 @@ module PulpRpmClient
415
406
  return true if self.equal?(o)
416
407
  self.class == o.class &&
417
408
  repository == o.repository &&
418
- overwrite == o.overwrite &&
419
409
  pulp_labels == o.pulp_labels &&
420
410
  modified == o.modified &&
421
411
  module_name == o.module_name &&
@@ -438,7 +428,7 @@ module PulpRpmClient
438
428
  # Calculates hash code according to all attributes.
439
429
  # @return [Integer] Hash code
440
430
  def hash
441
- [repository, overwrite, pulp_labels, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream, snippet].hash
431
+ [repository, pulp_labels, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream, snippet].hash
442
432
  end
443
433
 
444
434
  # Builds the object from hash
@@ -161,6 +161,9 @@ module PulpRpmClient
161
161
  # The 'file' time attribute in the primary XML - file mtime in seconds since the epoch.
162
162
  attr_accessor :time_file
163
163
 
164
+ # List of signing key fingerprints used to sign this package.
165
+ attr_accessor :signing_keys
166
+
164
167
  # Attribute mapping from ruby-style variable name to JSON key.
165
168
  def self.attribute_map
166
169
  {
@@ -212,7 +215,8 @@ module PulpRpmClient
212
215
  :'size_installed' => :'size_installed',
213
216
  :'size_package' => :'size_package',
214
217
  :'time_build' => :'time_build',
215
- :'time_file' => :'time_file'
218
+ :'time_file' => :'time_file',
219
+ :'signing_keys' => :'signing_keys'
216
220
  }
217
221
  end
218
222
 
@@ -272,7 +276,8 @@ module PulpRpmClient
272
276
  :'size_installed' => :'Integer',
273
277
  :'size_package' => :'Integer',
274
278
  :'time_build' => :'Integer',
275
- :'time_file' => :'Integer'
279
+ :'time_file' => :'Integer',
280
+ :'signing_keys' => :'Array<String>'
276
281
  }
277
282
  end
278
283
 
@@ -289,6 +294,7 @@ module PulpRpmClient
289
294
  :'enhances',
290
295
  :'recommends',
291
296
  :'supplements',
297
+ :'signing_keys'
292
298
  ])
293
299
  end
294
300
 
@@ -504,6 +510,12 @@ module PulpRpmClient
504
510
  if attributes.key?(:'time_file')
505
511
  self.time_file = attributes[:'time_file']
506
512
  end
513
+
514
+ if attributes.key?(:'signing_keys')
515
+ if (value = attributes[:'signing_keys']).is_a?(Array)
516
+ self.signing_keys = value
517
+ end
518
+ end
507
519
  end
508
520
 
509
521
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -574,7 +586,8 @@ module PulpRpmClient
574
586
  size_installed == o.size_installed &&
575
587
  size_package == o.size_package &&
576
588
  time_build == o.time_build &&
577
- time_file == o.time_file
589
+ time_file == o.time_file &&
590
+ signing_keys == o.signing_keys
578
591
  end
579
592
 
580
593
  # @see the `==` method
@@ -586,7 +599,7 @@ module PulpRpmClient
586
599
  # Calculates hash code according to all attributes.
587
600
  # @return [Integer] Hash code
588
601
  def hash
589
- [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, vuln_report, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
602
+ [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, vuln_report, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file, signing_keys].hash
590
603
  end
591
604
 
592
605
  # Builds the object from hash
@@ -32,7 +32,7 @@ module PulpRpmClient
32
32
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none
33
33
  attr_accessor :compression_type
34
34
 
35
- # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest * `nested_by_both` - nested_by_both
35
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
36
36
  attr_accessor :layout
37
37
 
38
38
  class EnumAttributeValidator
@@ -58,7 +58,7 @@ module PulpRpmClient
58
58
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none
59
59
  attr_accessor :compression_type
60
60
 
61
- # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest * `nested_by_both` - nested_by_both
61
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
62
62
  attr_accessor :layout
63
63
 
64
64
  class EnumAttributeValidator
@@ -42,7 +42,7 @@ module PulpRpmClient
42
42
  # A reference to an associated package signing service.
43
43
  attr_accessor :package_signing_service
44
44
 
45
- # The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository.
45
+ # The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'.
46
46
  attr_accessor :package_signing_fingerprint
47
47
 
48
48
  # The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
@@ -57,7 +57,7 @@ module PulpRpmClient
57
57
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none
58
58
  attr_accessor :compression_type
59
59
 
60
- # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest * `nested_by_both` - nested_by_both
60
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
61
61
  attr_accessor :layout
62
62
 
63
63
  class EnumAttributeValidator
@@ -253,8 +253,8 @@ module PulpRpmClient
253
253
  invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
254
254
  end
255
255
 
256
- if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
257
- invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
256
+ if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
257
+ invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.')
258
258
  end
259
259
 
260
260
  if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
@@ -277,7 +277,7 @@ module PulpRpmClient
277
277
  return false if !@description.nil? && @description.to_s.length < 1
278
278
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
279
279
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
280
- return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
280
+ return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
281
281
  return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
282
282
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
283
283
  true
@@ -330,8 +330,8 @@ module PulpRpmClient
330
330
  # Custom attribute writer method with validation
331
331
  # @param [Object] package_signing_fingerprint Value to be assigned
332
332
  def package_signing_fingerprint=(package_signing_fingerprint)
333
- if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
334
- fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
333
+ if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 68
334
+ fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.'
335
335
  end
336
336
 
337
337
  if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length < 1
@@ -57,7 +57,7 @@ module PulpRpmClient
57
57
  # A reference to an associated package signing service.
58
58
  attr_accessor :package_signing_service
59
59
 
60
- # The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository.
60
+ # The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'.
61
61
  attr_accessor :package_signing_fingerprint
62
62
 
63
63
  # The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
@@ -87,7 +87,7 @@ module PulpRpmClient
87
87
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz * `none` - none
88
88
  attr_accessor :compression_type
89
89
 
90
- # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest * `nested_by_both` - nested_by_both
90
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat * `nested_by_digest` - nested_by_digest
91
91
  attr_accessor :layout
92
92
 
93
93
  class EnumAttributeValidator
@@ -344,8 +344,8 @@ module PulpRpmClient
344
344
  invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
345
345
  end
346
346
 
347
- if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
348
- invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
347
+ if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
348
+ invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.')
349
349
  end
350
350
 
351
351
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -378,7 +378,7 @@ module PulpRpmClient
378
378
  return false if @name.nil?
379
379
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
380
380
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
381
- return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
381
+ return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 68
382
382
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
383
383
  return false if !@gpgcheck.nil? && @gpgcheck > 1
384
384
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -410,8 +410,8 @@ module PulpRpmClient
410
410
  # Custom attribute writer method with validation
411
411
  # @param [Object] package_signing_fingerprint Value to be assigned
412
412
  def package_signing_fingerprint=(package_signing_fingerprint)
413
- if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
414
- fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
413
+ if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 68
414
+ fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 68.'
415
415
  end
416
416
 
417
417
  @package_signing_fingerprint = package_signing_fingerprint
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.35.3'
14
+ VERSION = '3.36.0'
15
15
  end
@@ -38,7 +38,6 @@ describe 'ContentAdvisoriesApi' do
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
- # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
42
41
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
42
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
44
43
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -38,7 +38,6 @@ describe 'ContentPackagesApi' do
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
- # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
42
41
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
42
  # @option opts [String] :artifact Artifact file representing the physical content
44
43
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
@@ -77,7 +76,7 @@ describe 'ContentPackagesApi' do
77
76
  # @option opts [String] :name__ne Filter results where name not equal to value
78
77
  # @option opts [String] :name__startswith Filter results where name starts with value
79
78
  # @option opts [Integer] :offset The initial index from which to return the results.
80
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
79
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;signing_keys&#x60; - Signing keys * &#x60;-signing_keys&#x60; - Signing keys (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
81
80
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
82
81
  # @option opts [String] :pkg_id Filter results where pkgId matches value
83
82
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
@@ -95,6 +94,7 @@ describe 'ContentPackagesApi' do
95
94
  # @option opts [String] :repository_version_added
96
95
  # @option opts [String] :repository_version_removed
97
96
  # @option opts [String] :sha256
97
+ # @option opts [String] :signing_key
98
98
  # @option opts [String] :version Filter results where version matches value
99
99
  # @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
100
100
  # @option opts [String] :version__ne Filter results where version not equal to value
@@ -155,7 +155,6 @@ describe 'ContentPackagesApi' do
155
155
  # Synchronously upload an RPM package.
156
156
  # @param [Hash] opts the optional parameters
157
157
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
158
- # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
159
158
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
160
159
  # @option opts [String] :artifact Artifact file representing the physical content
161
160
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -45,10 +45,4 @@ describe PulpRpmClient::RepositoryAddRemoveContent do
45
45
  end
46
46
  end
47
47
 
48
- describe 'test attribute "overwrite"' do
49
- it 'should work' do
50
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
- end
52
- end
53
-
54
48
  end
@@ -33,12 +33,6 @@ describe PulpRpmClient::RpmModulemdDefaults do
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "overwrite"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
36
  describe 'test attribute "pulp_labels"' do
43
37
  it 'should work' do
44
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -33,12 +33,6 @@ describe PulpRpmClient::RpmModulemdObsolete do
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "overwrite"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
36
  describe 'test attribute "pulp_labels"' do
43
37
  it 'should work' do
44
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -33,12 +33,6 @@ describe PulpRpmClient::RpmModulemd do
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "overwrite"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
36
  describe 'test attribute "pulp_labels"' do
43
37
  it 'should work' do
44
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -321,4 +321,10 @@ describe PulpRpmClient::RpmPackageResponse do
321
321
  end
322
322
  end
323
323
 
324
+ describe 'test attribute "signing_keys"' do
325
+ it 'should work' do
326
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
327
+ end
328
+ end
329
+
324
330
  end