pulp_rpm_client 3.29.13 → 3.30.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 (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -8
  3. data/docs/AcsRpmApi.md +28 -64
  4. data/docs/ContentAdvisoriesApi.md +8 -22
  5. data/docs/ContentDistributionTreesApi.md +8 -20
  6. data/docs/ContentModulemdDefaultsApi.md +12 -28
  7. data/docs/ContentModulemdObsoletesApi.md +12 -28
  8. data/docs/ContentModulemdsApi.md +12 -28
  9. data/docs/ContentPackagecategoriesApi.md +8 -20
  10. data/docs/ContentPackageenvironmentsApi.md +8 -20
  11. data/docs/ContentPackagegroupsApi.md +8 -20
  12. data/docs/ContentPackagelangpacksApi.md +8 -20
  13. data/docs/ContentPackagesApi.md +8 -22
  14. data/docs/ContentRepoMetadataFilesApi.md +8 -20
  15. data/docs/DistributionsRpmApi.md +32 -72
  16. data/docs/PatchedrpmRpmDistribution.md +3 -1
  17. data/docs/PatchedrpmRpmRepository.md +2 -10
  18. data/docs/PublicationsRpmApi.md +16 -40
  19. data/docs/RemotesRpmApi.md +32 -72
  20. data/docs/RemotesUlnApi.md +32 -72
  21. data/docs/RepositoriesRpmApi.md +40 -88
  22. data/docs/RepositoriesRpmVersionsApi.md +10 -22
  23. data/docs/RpmCompsApi.md +0 -2
  24. data/docs/RpmCopyApi.md +4 -8
  25. data/docs/RpmPackageResponse.md +2 -2
  26. data/docs/RpmPruneApi.md +4 -8
  27. data/docs/RpmRpmDistribution.md +3 -1
  28. data/docs/RpmRpmDistributionResponse.md +3 -1
  29. data/docs/RpmRpmPublication.md +3 -9
  30. data/docs/RpmRpmPublicationResponse.md +8 -6
  31. data/docs/RpmRpmRepository.md +2 -10
  32. data/docs/RpmRpmRepositoryResponse.md +6 -6
  33. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +0 -33
  34. data/lib/pulp_rpm_client/api/content_advisories_api.rb +0 -15
  35. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +0 -12
  36. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +0 -15
  37. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +0 -15
  38. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +0 -15
  39. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +0 -12
  40. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +0 -12
  41. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +0 -12
  42. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +0 -12
  43. data/lib/pulp_rpm_client/api/content_packages_api.rb +0 -15
  44. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +0 -12
  45. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +0 -36
  46. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +0 -24
  47. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +0 -36
  48. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +0 -36
  49. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +0 -42
  50. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -15
  51. data/lib/pulp_rpm_client/api/rpm_comps_api.rb +0 -3
  52. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -3
  53. data/lib/pulp_rpm_client/api/rpm_prune_api.rb +0 -3
  54. data/lib/pulp_rpm_client/models/addon_response.rb +0 -21
  55. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +13 -4
  56. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +8 -104
  57. data/lib/pulp_rpm_client/models/rpm_package_response.rb +2 -2
  58. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +13 -4
  59. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +13 -4
  60. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +11 -92
  61. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +28 -13
  62. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +8 -104
  63. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +24 -14
  64. data/lib/pulp_rpm_client/models/variant_response.rb +0 -21
  65. data/lib/pulp_rpm_client/version.rb +1 -1
  66. data/spec/api/acs_rpm_api_spec.rb +0 -11
  67. data/spec/api/content_advisories_api_spec.rb +0 -5
  68. data/spec/api/content_distribution_trees_api_spec.rb +0 -4
  69. data/spec/api/content_modulemd_defaults_api_spec.rb +0 -5
  70. data/spec/api/content_modulemd_obsoletes_api_spec.rb +0 -5
  71. data/spec/api/content_modulemds_api_spec.rb +0 -5
  72. data/spec/api/content_packagecategories_api_spec.rb +0 -4
  73. data/spec/api/content_packageenvironments_api_spec.rb +0 -4
  74. data/spec/api/content_packagegroups_api_spec.rb +0 -4
  75. data/spec/api/content_packagelangpacks_api_spec.rb +0 -4
  76. data/spec/api/content_packages_api_spec.rb +0 -5
  77. data/spec/api/content_repo_metadata_files_api_spec.rb +0 -4
  78. data/spec/api/distributions_rpm_api_spec.rb +0 -12
  79. data/spec/api/publications_rpm_api_spec.rb +0 -8
  80. data/spec/api/remotes_rpm_api_spec.rb +0 -12
  81. data/spec/api/remotes_uln_api_spec.rb +0 -12
  82. data/spec/api/repositories_rpm_api_spec.rb +0 -14
  83. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -5
  84. data/spec/api/rpm_comps_api_spec.rb +0 -1
  85. data/spec/api/rpm_copy_api_spec.rb +0 -1
  86. data/spec/api/rpm_prune_api_spec.rb +0 -1
  87. data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
  88. data/spec/models/patchedrpm_rpm_repository_spec.rb +0 -24
  89. data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
  90. data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
  91. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  92. data/spec/models/rpm_rpm_publication_spec.rb +2 -20
  93. data/spec/models/rpm_rpm_repository_spec.rb +0 -24
  94. metadata +82 -82
@@ -48,19 +48,7 @@ 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
- # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
52
- attr_accessor :metadata_checksum_type
53
-
54
- # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
55
- attr_accessor :package_checksum_type
56
-
57
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
58
- attr_accessor :gpgcheck
59
-
60
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
61
- attr_accessor :repo_gpgcheck
62
-
63
- # A JSON document describing config.repo file
51
+ # A JSON document describing the config.repo file Pulp should generate for this repo
64
52
  attr_accessor :repo_config
65
53
 
66
54
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
@@ -105,10 +93,6 @@ module PulpRpmClient
105
93
  :'package_signing_fingerprint' => :'package_signing_fingerprint',
106
94
  :'retain_package_versions' => :'retain_package_versions',
107
95
  :'checksum_type' => :'checksum_type',
108
- :'metadata_checksum_type' => :'metadata_checksum_type',
109
- :'package_checksum_type' => :'package_checksum_type',
110
- :'gpgcheck' => :'gpgcheck',
111
- :'repo_gpgcheck' => :'repo_gpgcheck',
112
96
  :'repo_config' => :'repo_config',
113
97
  :'compression_type' => :'compression_type',
114
98
  :'layout' => :'layout'
@@ -134,10 +118,6 @@ module PulpRpmClient
134
118
  :'package_signing_fingerprint' => :'String',
135
119
  :'retain_package_versions' => :'Integer',
136
120
  :'checksum_type' => :'PackageChecksumTypeEnum',
137
- :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
138
- :'package_checksum_type' => :'PackageChecksumTypeEnum',
139
- :'gpgcheck' => :'Integer',
140
- :'repo_gpgcheck' => :'Integer',
141
121
  :'repo_config' => :'Object',
142
122
  :'compression_type' => :'CompressionTypeEnum',
143
123
  :'layout' => :'LayoutEnum'
@@ -152,12 +132,7 @@ module PulpRpmClient
152
132
  :'remote',
153
133
  :'metadata_signing_service',
154
134
  :'package_signing_service',
155
- :'package_signing_fingerprint',
156
135
  :'checksum_type',
157
- :'metadata_checksum_type',
158
- :'package_checksum_type',
159
- :'gpgcheck',
160
- :'repo_gpgcheck',
161
136
  :'repo_config',
162
137
  :'compression_type',
163
138
  :'layout'
@@ -219,6 +194,8 @@ module PulpRpmClient
219
194
 
220
195
  if attributes.key?(:'package_signing_fingerprint')
221
196
  self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
197
+ else
198
+ self.package_signing_fingerprint = ''
222
199
  end
223
200
 
224
201
  if attributes.key?(:'retain_package_versions')
@@ -229,22 +206,6 @@ module PulpRpmClient
229
206
  self.checksum_type = attributes[:'checksum_type']
230
207
  end
231
208
 
232
- if attributes.key?(:'metadata_checksum_type')
233
- self.metadata_checksum_type = attributes[:'metadata_checksum_type']
234
- end
235
-
236
- if attributes.key?(:'package_checksum_type')
237
- self.package_checksum_type = attributes[:'package_checksum_type']
238
- end
239
-
240
- if attributes.key?(:'gpgcheck')
241
- self.gpgcheck = attributes[:'gpgcheck']
242
- end
243
-
244
- if attributes.key?(:'repo_gpgcheck')
245
- self.repo_gpgcheck = attributes[:'repo_gpgcheck']
246
- end
247
-
248
209
  if attributes.key?(:'repo_config')
249
210
  self.repo_config = attributes[:'repo_config']
250
211
  end
@@ -283,30 +244,10 @@ module PulpRpmClient
283
244
  invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
284
245
  end
285
246
 
286
- if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
287
- invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be great than or equal to 1.')
288
- end
289
-
290
247
  if !@retain_package_versions.nil? && @retain_package_versions < 0
291
248
  invalid_properties.push('invalid value for "retain_package_versions", must be greater than or equal to 0.')
292
249
  end
293
250
 
294
- if !@gpgcheck.nil? && @gpgcheck > 1
295
- invalid_properties.push('invalid value for "gpgcheck", must be smaller than or equal to 1.')
296
- end
297
-
298
- if !@gpgcheck.nil? && @gpgcheck < 0
299
- invalid_properties.push('invalid value for "gpgcheck", must be greater than or equal to 0.')
300
- end
301
-
302
- if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
303
- invalid_properties.push('invalid value for "repo_gpgcheck", must be smaller than or equal to 1.')
304
- end
305
-
306
- if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
307
- invalid_properties.push('invalid value for "repo_gpgcheck", must be greater than or equal to 0.')
308
- end
309
-
310
251
  invalid_properties
311
252
  end
312
253
 
@@ -319,12 +260,7 @@ module PulpRpmClient
319
260
  return false if !@description.nil? && @description.to_s.length < 1
320
261
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
321
262
  return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
322
- return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length < 1
323
263
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
324
- return false if !@gpgcheck.nil? && @gpgcheck > 1
325
- return false if !@gpgcheck.nil? && @gpgcheck < 0
326
- return false if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
327
- return false if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
328
264
  true
329
265
  end
330
266
 
@@ -365,12 +301,12 @@ module PulpRpmClient
365
301
  # Custom attribute writer method with validation
366
302
  # @param [Object] package_signing_fingerprint Value to be assigned
367
303
  def package_signing_fingerprint=(package_signing_fingerprint)
368
- if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
369
- fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
304
+ if package_signing_fingerprint.nil?
305
+ fail ArgumentError, 'package_signing_fingerprint cannot be nil'
370
306
  end
371
307
 
372
- if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length < 1
373
- fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be great than or equal to 1.'
308
+ if package_signing_fingerprint.to_s.length > 40
309
+ fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
374
310
  end
375
311
 
376
312
  @package_signing_fingerprint = package_signing_fingerprint
@@ -390,34 +326,6 @@ module PulpRpmClient
390
326
  @retain_package_versions = retain_package_versions
391
327
  end
392
328
 
393
- # Custom attribute writer method with validation
394
- # @param [Object] gpgcheck Value to be assigned
395
- def gpgcheck=(gpgcheck)
396
- if !gpgcheck.nil? && gpgcheck > 1
397
- fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
398
- end
399
-
400
- if !gpgcheck.nil? && gpgcheck < 0
401
- fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
402
- end
403
-
404
- @gpgcheck = gpgcheck
405
- end
406
-
407
- # Custom attribute writer method with validation
408
- # @param [Object] repo_gpgcheck Value to be assigned
409
- def repo_gpgcheck=(repo_gpgcheck)
410
- if !repo_gpgcheck.nil? && repo_gpgcheck > 1
411
- fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
412
- end
413
-
414
- if !repo_gpgcheck.nil? && repo_gpgcheck < 0
415
- fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
416
- end
417
-
418
- @repo_gpgcheck = repo_gpgcheck
419
- end
420
-
421
329
  # Checks equality by comparing each attribute.
422
330
  # @param [Object] Object to be compared
423
331
  def ==(o)
@@ -434,10 +342,6 @@ module PulpRpmClient
434
342
  package_signing_fingerprint == o.package_signing_fingerprint &&
435
343
  retain_package_versions == o.retain_package_versions &&
436
344
  checksum_type == o.checksum_type &&
437
- metadata_checksum_type == o.metadata_checksum_type &&
438
- package_checksum_type == o.package_checksum_type &&
439
- gpgcheck == o.gpgcheck &&
440
- repo_gpgcheck == o.repo_gpgcheck &&
441
345
  repo_config == o.repo_config &&
442
346
  compression_type == o.compression_type &&
443
347
  layout == o.layout
@@ -452,7 +356,7 @@ module PulpRpmClient
452
356
  # Calculates hash code according to all attributes.
453
357
  # @return [Integer] Hash code
454
358
  def hash
455
- [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type, layout].hash
359
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, repo_config, compression_type, layout].hash
456
360
  end
457
361
 
458
362
  # Builds the object from hash
@@ -63,22 +63,22 @@ module PulpRpmClient
63
63
  # The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
64
64
  attr_accessor :checksum_type
65
65
 
66
- # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
66
+ # REMOVED: The checksum type to use for metadata. Not operational since pulp_rpm 3.30.0 release. Use 'checksum_type' instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
67
67
  attr_accessor :metadata_checksum_type
68
68
 
69
- # DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
69
+ # REMOVED: The checksum type for packages. Not operational since pulp_rpm 3.30.0 release. Use 'checksum_type' instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
70
70
  attr_accessor :package_checksum_type
71
71
 
72
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
72
+ # REMOVED: An option specifying whether a client should perform a GPG signature check on packages. Not operational since pulp_rpm 3.30.0 release. Set these values using 'repo_config' instead.
73
73
  attr_accessor :gpgcheck
74
74
 
75
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
75
+ # REMOVED: An option specifying whether a client should perform a GPG signature check on the repodata. Not operational since pulp_rpm 3.30.0 release. Set these values using 'repo_config' instead.
76
76
  attr_accessor :repo_gpgcheck
77
77
 
78
78
  # REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release
79
79
  attr_accessor :sqlite_metadata
80
80
 
81
- # A JSON document describing config.repo file
81
+ # A JSON document describing the config.repo file Pulp should generate for this repo
82
82
  attr_accessor :repo_config
83
83
 
84
84
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
@@ -184,12 +184,8 @@ module PulpRpmClient
184
184
  :'remote',
185
185
  :'metadata_signing_service',
186
186
  :'package_signing_service',
187
- :'package_signing_fingerprint',
188
187
  :'checksum_type',
189
- :'metadata_checksum_type',
190
188
  :'package_checksum_type',
191
- :'gpgcheck',
192
- :'repo_gpgcheck',
193
189
  :'repo_config',
194
190
  :'compression_type',
195
191
  :'layout'
@@ -275,6 +271,8 @@ module PulpRpmClient
275
271
 
276
272
  if attributes.key?(:'package_signing_fingerprint')
277
273
  self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
274
+ else
275
+ self.package_signing_fingerprint = ''
278
276
  end
279
277
 
280
278
  if attributes.key?(:'retain_package_versions')
@@ -388,7 +386,11 @@ module PulpRpmClient
388
386
  # Custom attribute writer method with validation
389
387
  # @param [Object] package_signing_fingerprint Value to be assigned
390
388
  def package_signing_fingerprint=(package_signing_fingerprint)
391
- if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
389
+ if package_signing_fingerprint.nil?
390
+ fail ArgumentError, 'package_signing_fingerprint cannot be nil'
391
+ end
392
+
393
+ if package_signing_fingerprint.to_s.length > 40
392
394
  fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
393
395
  end
394
396
 
@@ -412,11 +414,15 @@ module PulpRpmClient
412
414
  # Custom attribute writer method with validation
413
415
  # @param [Object] gpgcheck Value to be assigned
414
416
  def gpgcheck=(gpgcheck)
415
- if !gpgcheck.nil? && gpgcheck > 1
417
+ if gpgcheck.nil?
418
+ fail ArgumentError, 'gpgcheck cannot be nil'
419
+ end
420
+
421
+ if gpgcheck > 1
416
422
  fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
417
423
  end
418
424
 
419
- if !gpgcheck.nil? && gpgcheck < 0
425
+ if gpgcheck < 0
420
426
  fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
421
427
  end
422
428
 
@@ -426,11 +432,15 @@ module PulpRpmClient
426
432
  # Custom attribute writer method with validation
427
433
  # @param [Object] repo_gpgcheck Value to be assigned
428
434
  def repo_gpgcheck=(repo_gpgcheck)
429
- if !repo_gpgcheck.nil? && repo_gpgcheck > 1
435
+ if repo_gpgcheck.nil?
436
+ fail ArgumentError, 'repo_gpgcheck cannot be nil'
437
+ end
438
+
439
+ if repo_gpgcheck > 1
430
440
  fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
431
441
  end
432
442
 
433
- if !repo_gpgcheck.nil? && repo_gpgcheck < 0
443
+ if repo_gpgcheck < 0
434
444
  fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
435
445
  end
436
446
 
@@ -179,11 +179,6 @@ module PulpRpmClient
179
179
  invalid_properties.push('invalid value for "variant_id", variant_id cannot be nil.')
180
180
  end
181
181
 
182
- pattern = Regexp.new(/^(?!\.{1,2}$)[A-Za-z0-9._-]+$/)
183
- if @variant_id !~ pattern
184
- invalid_properties.push("invalid value for \"variant_id\", must conform to the pattern #{pattern}.")
185
- end
186
-
187
182
  if @uid.nil?
188
183
  invalid_properties.push('invalid value for "uid", uid cannot be nil.')
189
184
  end
@@ -208,7 +203,6 @@ module PulpRpmClient
208
203
  def valid?
209
204
  warn '[DEPRECATED] the `valid?` method is obsolete'
210
205
  return false if @variant_id.nil?
211
- return false if @variant_id !~ Regexp.new(/^(?!\.{1,2}$)[A-Za-z0-9._-]+$/)
212
206
  return false if @uid.nil?
213
207
  return false if @name.nil?
214
208
  return false if @type.nil?
@@ -216,21 +210,6 @@ module PulpRpmClient
216
210
  true
217
211
  end
218
212
 
219
- # Custom attribute writer method with validation
220
- # @param [Object] variant_id Value to be assigned
221
- def variant_id=(variant_id)
222
- if variant_id.nil?
223
- fail ArgumentError, 'variant_id cannot be nil'
224
- end
225
-
226
- pattern = Regexp.new(/^(?!\.{1,2}$)[A-Za-z0-9._-]+$/)
227
- if variant_id !~ pattern
228
- fail ArgumentError, "invalid value for \"variant_id\", must conform to the pattern #{pattern}."
229
- end
230
-
231
- @variant_id = variant_id
232
- end
233
-
234
213
  # Checks equality by comparing each attribute.
235
214
  # @param [Object] Object to be compared
236
215
  def ==(o)
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.29.13'
14
+ VERSION = '3.30.0'
15
15
  end
@@ -38,7 +38,6 @@ describe 'AcsRpmApi' do
38
38
  # @param rpm_rpm_alternate_content_source_href
39
39
  # @param nested_role
40
40
  # @param [Hash] opts the optional parameters
41
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
41
  # @return [NestedRoleResponse]
43
42
  describe 'add_role test' do
44
43
  it 'should work' do
@@ -51,7 +50,6 @@ describe 'AcsRpmApi' do
51
50
  # ViewSet for ACS.
52
51
  # @param rpm_rpm_alternate_content_source
53
52
  # @param [Hash] opts the optional parameters
54
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
55
53
  # @return [RpmRpmAlternateContentSourceResponse]
56
54
  describe 'create test' do
57
55
  it 'should work' do
@@ -64,7 +62,6 @@ describe 'AcsRpmApi' do
64
62
  # Trigger an asynchronous delete ACS task
65
63
  # @param rpm_rpm_alternate_content_source_href
66
64
  # @param [Hash] opts the optional parameters
67
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
68
65
  # @return [AsyncOperationResponse]
69
66
  describe 'delete test' do
70
67
  it 'should work' do
@@ -76,7 +73,6 @@ describe 'AcsRpmApi' do
76
73
  # List rpm alternate content sources
77
74
  # ViewSet for ACS.
78
75
  # @param [Hash] opts the optional parameters
79
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
80
76
  # @option opts [Integer] :limit Number of results to return per page.
81
77
  # @option opts [String] :name Filter results where name matches value
82
78
  # @option opts [String] :name__contains Filter results where name contains value
@@ -107,7 +103,6 @@ describe 'AcsRpmApi' do
107
103
  # List roles assigned to this object.
108
104
  # @param rpm_rpm_alternate_content_source_href
109
105
  # @param [Hash] opts the optional parameters
110
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
111
106
  # @option opts [Array<String>] :fields A list of fields to include in the response.
112
107
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
113
108
  # @return [ObjectRolesResponse]
@@ -122,7 +117,6 @@ describe 'AcsRpmApi' do
122
117
  # List permissions available to the current user on this object.
123
118
  # @param rpm_rpm_alternate_content_source_href
124
119
  # @param [Hash] opts the optional parameters
125
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
126
120
  # @option opts [Array<String>] :fields A list of fields to include in the response.
127
121
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
122
  # @return [MyPermissionsResponse]
@@ -138,7 +132,6 @@ describe 'AcsRpmApi' do
138
132
  # @param rpm_rpm_alternate_content_source_href
139
133
  # @param patchedrpm_rpm_alternate_content_source
140
134
  # @param [Hash] opts the optional parameters
141
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
142
135
  # @return [AsyncOperationResponse]
143
136
  describe 'partial_update test' do
144
137
  it 'should work' do
@@ -151,7 +144,6 @@ describe 'AcsRpmApi' do
151
144
  # ViewSet for ACS.
152
145
  # @param rpm_rpm_alternate_content_source_href
153
146
  # @param [Hash] opts the optional parameters
154
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
155
147
  # @option opts [Array<String>] :fields A list of fields to include in the response.
156
148
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
157
149
  # @return [RpmRpmAlternateContentSourceResponse]
@@ -165,7 +157,6 @@ describe 'AcsRpmApi' do
165
157
  # Trigger an asynchronous task to create Alternate Content Source content.
166
158
  # @param rpm_rpm_alternate_content_source_href
167
159
  # @param [Hash] opts the optional parameters
168
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
169
160
  # @return [TaskGroupOperationResponse]
170
161
  describe 'refresh test' do
171
162
  it 'should work' do
@@ -179,7 +170,6 @@ describe 'AcsRpmApi' do
179
170
  # @param rpm_rpm_alternate_content_source_href
180
171
  # @param nested_role
181
172
  # @param [Hash] opts the optional parameters
182
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
183
173
  # @return [NestedRoleResponse]
184
174
  describe 'remove_role test' do
185
175
  it 'should work' do
@@ -193,7 +183,6 @@ describe 'AcsRpmApi' do
193
183
  # @param rpm_rpm_alternate_content_source_href
194
184
  # @param rpm_rpm_alternate_content_source
195
185
  # @param [Hash] opts the optional parameters
196
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
197
186
  # @return [AsyncOperationResponse]
198
187
  describe 'update test' do
199
188
  it 'should work' do
@@ -36,7 +36,6 @@ describe 'ContentAdvisoriesApi' do
36
36
  # Create an update record
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
39
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
40
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
42
41
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -53,7 +52,6 @@ describe 'ContentAdvisoriesApi' do
53
52
  # List update records
54
53
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
55
54
  # @param [Hash] opts the optional parameters
56
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
57
55
  # @option opts [String] :id Filter results where id matches value
58
56
  # @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
59
57
  # @option opts [Integer] :limit Number of results to return per page.
@@ -91,7 +89,6 @@ describe 'ContentAdvisoriesApi' do
91
89
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
92
90
  # @param rpm_update_record_href
93
91
  # @param [Hash] opts the optional parameters
94
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
95
92
  # @option opts [Array<String>] :fields A list of fields to include in the response.
96
93
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
97
94
  # @return [RpmUpdateRecordResponse]
@@ -107,7 +104,6 @@ describe 'ContentAdvisoriesApi' do
107
104
  # @param rpm_update_record_href
108
105
  # @param set_label
109
106
  # @param [Hash] opts the optional parameters
110
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
111
107
  # @return [SetLabelResponse]
112
108
  describe 'set_label test' do
113
109
  it 'should work' do
@@ -121,7 +117,6 @@ describe 'ContentAdvisoriesApi' do
121
117
  # @param rpm_update_record_href
122
118
  # @param unset_label
123
119
  # @param [Hash] opts the optional parameters
124
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
125
120
  # @return [UnsetLabelResponse]
126
121
  describe 'unset_label test' do
127
122
  it 'should work' do
@@ -36,7 +36,6 @@ describe 'ContentDistributionTreesApi' do
36
36
  # List distribution trees
37
37
  # Distribution Tree Viewset.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
39
  # @option opts [Integer] :limit Number of results to return per page.
41
40
  # @option opts [Integer] :offset The initial index from which to return the results.
42
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -63,7 +62,6 @@ describe 'ContentDistributionTreesApi' do
63
62
  # Distribution Tree Viewset.
64
63
  # @param rpm_distribution_tree_href
65
64
  # @param [Hash] opts the optional parameters
66
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
67
65
  # @option opts [Array<String>] :fields A list of fields to include in the response.
68
66
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
69
67
  # @return [RpmDistributionTreeResponse]
@@ -79,7 +77,6 @@ describe 'ContentDistributionTreesApi' do
79
77
  # @param rpm_distribution_tree_href
80
78
  # @param set_label
81
79
  # @param [Hash] opts the optional parameters
82
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
83
80
  # @return [SetLabelResponse]
84
81
  describe 'set_label test' do
85
82
  it 'should work' do
@@ -93,7 +90,6 @@ describe 'ContentDistributionTreesApi' do
93
90
  # @param rpm_distribution_tree_href
94
91
  # @param unset_label
95
92
  # @param [Hash] opts the optional parameters
96
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
97
93
  # @return [UnsetLabelResponse]
98
94
  describe 'unset_label test' do
99
95
  it 'should work' do
@@ -37,7 +37,6 @@ describe 'ContentModulemdDefaultsApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param rpm_modulemd_defaults
39
39
  # @param [Hash] opts the optional parameters
40
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
40
  # @return [AsyncOperationResponse]
42
41
  describe 'create test' do
43
42
  it 'should work' do
@@ -49,7 +48,6 @@ describe 'ContentModulemdDefaultsApi' do
49
48
  # List modulemd defaultss
50
49
  # ViewSet for Modulemd.
51
50
  # @param [Hash] opts the optional parameters
52
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
51
  # @option opts [Integer] :limit Number of results to return per page.
54
52
  # @option opts [String] :_module Filter results where module matches value
55
53
  # @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
@@ -81,7 +79,6 @@ describe 'ContentModulemdDefaultsApi' do
81
79
  # ViewSet for Modulemd.
82
80
  # @param rpm_modulemd_defaults_href
83
81
  # @param [Hash] opts the optional parameters
84
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
85
82
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
83
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
84
  # @return [RpmModulemdDefaultsResponse]
@@ -97,7 +94,6 @@ describe 'ContentModulemdDefaultsApi' do
97
94
  # @param rpm_modulemd_defaults_href
98
95
  # @param set_label
99
96
  # @param [Hash] opts the optional parameters
100
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
101
97
  # @return [SetLabelResponse]
102
98
  describe 'set_label test' do
103
99
  it 'should work' do
@@ -111,7 +107,6 @@ describe 'ContentModulemdDefaultsApi' do
111
107
  # @param rpm_modulemd_defaults_href
112
108
  # @param unset_label
113
109
  # @param [Hash] opts the optional parameters
114
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
115
110
  # @return [UnsetLabelResponse]
116
111
  describe 'unset_label test' do
117
112
  it 'should work' do
@@ -37,7 +37,6 @@ describe 'ContentModulemdObsoletesApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param rpm_modulemd_obsolete
39
39
  # @param [Hash] opts the optional parameters
40
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
40
  # @return [AsyncOperationResponse]
42
41
  describe 'create test' do
43
42
  it 'should work' do
@@ -49,7 +48,6 @@ describe 'ContentModulemdObsoletesApi' do
49
48
  # List modulemd obsoletes
50
49
  # ViewSet for Modulemd.
51
50
  # @param [Hash] opts the optional parameters
52
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
51
  # @option opts [Integer] :limit Number of results to return per page.
54
52
  # @option opts [Integer] :offset The initial index from which to return the results.
55
53
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -76,7 +74,6 @@ describe 'ContentModulemdObsoletesApi' do
76
74
  # ViewSet for Modulemd.
77
75
  # @param rpm_modulemd_obsolete_href
78
76
  # @param [Hash] opts the optional parameters
79
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
80
77
  # @option opts [Array<String>] :fields A list of fields to include in the response.
81
78
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
82
79
  # @return [RpmModulemdObsoleteResponse]
@@ -92,7 +89,6 @@ describe 'ContentModulemdObsoletesApi' do
92
89
  # @param rpm_modulemd_obsolete_href
93
90
  # @param set_label
94
91
  # @param [Hash] opts the optional parameters
95
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
96
92
  # @return [SetLabelResponse]
97
93
  describe 'set_label test' do
98
94
  it 'should work' do
@@ -106,7 +102,6 @@ describe 'ContentModulemdObsoletesApi' do
106
102
  # @param rpm_modulemd_obsolete_href
107
103
  # @param unset_label
108
104
  # @param [Hash] opts the optional parameters
109
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
105
  # @return [UnsetLabelResponse]
111
106
  describe 'unset_label test' do
112
107
  it 'should work' do
@@ -37,7 +37,6 @@ describe 'ContentModulemdsApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param rpm_modulemd
39
39
  # @param [Hash] opts the optional parameters
40
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
40
  # @return [AsyncOperationResponse]
42
41
  describe 'create test' do
43
42
  it 'should work' do
@@ -49,7 +48,6 @@ describe 'ContentModulemdsApi' do
49
48
  # List modulemds
50
49
  # ViewSet for Modulemd.
51
50
  # @param [Hash] opts the optional parameters
52
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
51
  # @option opts [String] :arch Filter results where arch matches value
54
52
  # @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
55
53
  # @option opts [String] :context Filter results where context matches value
@@ -87,7 +85,6 @@ describe 'ContentModulemdsApi' do
87
85
  # ViewSet for Modulemd.
88
86
  # @param rpm_modulemd_href
89
87
  # @param [Hash] opts the optional parameters
90
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
91
88
  # @option opts [Array<String>] :fields A list of fields to include in the response.
92
89
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
93
90
  # @return [RpmModulemdResponse]
@@ -103,7 +100,6 @@ describe 'ContentModulemdsApi' do
103
100
  # @param rpm_modulemd_href
104
101
  # @param set_label
105
102
  # @param [Hash] opts the optional parameters
106
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
107
103
  # @return [SetLabelResponse]
108
104
  describe 'set_label test' do
109
105
  it 'should work' do
@@ -117,7 +113,6 @@ describe 'ContentModulemdsApi' do
117
113
  # @param rpm_modulemd_href
118
114
  # @param unset_label
119
115
  # @param [Hash] opts the optional parameters
120
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
121
116
  # @return [UnsetLabelResponse]
122
117
  describe 'unset_label test' do
123
118
  it 'should work' do
@@ -36,7 +36,6 @@ describe 'ContentPackagecategoriesApi' do
36
36
  # List package categorys
37
37
  # PackageCategory ViewSet.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
39
  # @option opts [Integer] :limit Number of results to return per page.
41
40
  # @option opts [Integer] :offset The initial index from which to return the results.
42
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -63,7 +62,6 @@ describe 'ContentPackagecategoriesApi' do
63
62
  # PackageCategory ViewSet.
64
63
  # @param rpm_package_category_href
65
64
  # @param [Hash] opts the optional parameters
66
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
67
65
  # @option opts [Array<String>] :fields A list of fields to include in the response.
68
66
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
69
67
  # @return [RpmPackageCategoryResponse]
@@ -79,7 +77,6 @@ describe 'ContentPackagecategoriesApi' do
79
77
  # @param rpm_package_category_href
80
78
  # @param set_label
81
79
  # @param [Hash] opts the optional parameters
82
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
83
80
  # @return [SetLabelResponse]
84
81
  describe 'set_label test' do
85
82
  it 'should work' do
@@ -93,7 +90,6 @@ describe 'ContentPackagecategoriesApi' do
93
90
  # @param rpm_package_category_href
94
91
  # @param unset_label
95
92
  # @param [Hash] opts the optional parameters
96
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
97
93
  # @return [UnsetLabelResponse]
98
94
  describe 'unset_label test' do
99
95
  it 'should work' do