pulp_rpm_client 3.28.0 → 3.29.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 (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -4
  3. data/docs/ContentAdvisoriesApi.md +152 -2
  4. data/docs/ContentDistributionTreesApi.md +148 -0
  5. data/docs/ContentModulemdDefaultsApi.md +150 -2
  6. data/docs/ContentModulemdObsoletesApi.md +148 -0
  7. data/docs/ContentModulemdsApi.md +150 -2
  8. data/docs/ContentPackagecategoriesApi.md +148 -0
  9. data/docs/ContentPackageenvironmentsApi.md +148 -0
  10. data/docs/ContentPackagegroupsApi.md +148 -0
  11. data/docs/ContentPackagelangpacksApi.md +148 -0
  12. data/docs/ContentPackagesApi.md +152 -2
  13. data/docs/ContentRepoMetadataFilesApi.md +148 -0
  14. data/docs/LayoutEnum.md +15 -0
  15. data/docs/PatchedrpmRpmRepository.md +3 -1
  16. data/docs/RpmModulemd.md +2 -0
  17. data/docs/RpmModulemdDefaults.md +2 -0
  18. data/docs/RpmModulemdDefaultsResponse.md +2 -0
  19. data/docs/RpmModulemdObsolete.md +2 -0
  20. data/docs/RpmModulemdObsoleteResponse.md +2 -0
  21. data/docs/RpmModulemdResponse.md +2 -0
  22. data/docs/RpmPackageCategoryResponse.md +2 -0
  23. data/docs/RpmPackageEnvironmentResponse.md +2 -0
  24. data/docs/RpmPackageGroupResponse.md +2 -0
  25. data/docs/RpmPackageLangpacksResponse.md +2 -0
  26. data/docs/RpmPackageResponse.md +2 -0
  27. data/docs/RpmRepoMetadataFileResponse.md +2 -0
  28. data/docs/RpmRpmPublication.md +3 -1
  29. data/docs/RpmRpmPublicationResponse.md +3 -1
  30. data/docs/RpmRpmRepository.md +3 -1
  31. data/docs/RpmRpmRepositoryResponse.md +3 -1
  32. data/docs/RpmUpdateRecordResponse.md +2 -0
  33. data/lib/pulp_rpm_client/api/content_advisories_api.rb +157 -3
  34. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +151 -0
  35. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +154 -3
  36. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +151 -0
  37. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +154 -3
  38. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +151 -0
  39. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +151 -0
  40. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +151 -0
  41. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +151 -0
  42. data/lib/pulp_rpm_client/api/content_packages_api.rb +157 -3
  43. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +151 -0
  44. data/lib/pulp_rpm_client/models/layout_enum.rb +40 -0
  45. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +16 -5
  46. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +13 -1
  47. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +13 -1
  48. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +13 -1
  49. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +13 -1
  50. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +13 -1
  51. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +13 -1
  52. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +13 -1
  53. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +13 -1
  54. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +13 -1
  55. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +13 -1
  56. data/lib/pulp_rpm_client/models/rpm_package_response.rb +13 -1
  57. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +13 -1
  58. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +15 -4
  59. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +15 -4
  60. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +16 -5
  61. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +16 -5
  62. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +13 -1
  63. data/lib/pulp_rpm_client/models/unset_label.rb +1 -1
  64. data/lib/pulp_rpm_client/models/unset_label_response.rb +1 -1
  65. data/lib/pulp_rpm_client/version.rb +1 -1
  66. data/lib/pulp_rpm_client.rb +1 -0
  67. data/spec/api/content_advisories_api_spec.rb +29 -1
  68. data/spec/api/content_distribution_trees_api_spec.rb +27 -0
  69. data/spec/api/content_modulemd_defaults_api_spec.rb +28 -1
  70. data/spec/api/content_modulemd_obsoletes_api_spec.rb +27 -0
  71. data/spec/api/content_modulemds_api_spec.rb +28 -1
  72. data/spec/api/content_packagecategories_api_spec.rb +27 -0
  73. data/spec/api/content_packageenvironments_api_spec.rb +27 -0
  74. data/spec/api/content_packagegroups_api_spec.rb +27 -0
  75. data/spec/api/content_packagelangpacks_api_spec.rb +27 -0
  76. data/spec/api/content_packages_api_spec.rb +29 -1
  77. data/spec/api/content_repo_metadata_files_api_spec.rb +27 -0
  78. data/spec/models/layout_enum_spec.rb +30 -0
  79. data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
  80. data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
  81. data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
  82. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
  83. data/spec/models/rpm_modulemd_obsolete_spec.rb +6 -0
  84. data/spec/models/rpm_modulemd_response_spec.rb +6 -0
  85. data/spec/models/rpm_modulemd_spec.rb +6 -0
  86. data/spec/models/rpm_package_category_response_spec.rb +6 -0
  87. data/spec/models/rpm_package_environment_response_spec.rb +6 -0
  88. data/spec/models/rpm_package_group_response_spec.rb +6 -0
  89. data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
  90. data/spec/models/rpm_package_response_spec.rb +6 -0
  91. data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
  92. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  93. data/spec/models/rpm_rpm_publication_spec.rb +6 -0
  94. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  95. data/spec/models/rpm_rpm_repository_spec.rb +6 -0
  96. data/spec/models/rpm_update_record_response_spec.rb +6 -0
  97. metadata +83 -79
@@ -45,6 +45,9 @@ module PulpRpmClient
45
45
  # The SHA-512 checksum if available.
46
46
  attr_accessor :sha512
47
47
 
48
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
49
+ attr_accessor :pulp_labels
50
+
48
51
  # Artifact file representing the physical content
49
52
  attr_accessor :artifact
50
53
 
@@ -169,6 +172,7 @@ module PulpRpmClient
169
172
  :'sha256' => :'sha256',
170
173
  :'sha384' => :'sha384',
171
174
  :'sha512' => :'sha512',
175
+ :'pulp_labels' => :'pulp_labels',
172
176
  :'artifact' => :'artifact',
173
177
  :'name' => :'name',
174
178
  :'epoch' => :'epoch',
@@ -227,6 +231,7 @@ module PulpRpmClient
227
231
  :'sha256' => :'String',
228
232
  :'sha384' => :'String',
229
233
  :'sha512' => :'String',
234
+ :'pulp_labels' => :'Hash<String, String>',
230
235
  :'artifact' => :'String',
231
236
  :'name' => :'String',
232
237
  :'epoch' => :'String',
@@ -338,6 +343,12 @@ module PulpRpmClient
338
343
  self.sha512 = attributes[:'sha512']
339
344
  end
340
345
 
346
+ if attributes.key?(:'pulp_labels')
347
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
348
+ self.pulp_labels = value
349
+ end
350
+ end
351
+
341
352
  if attributes.key?(:'artifact')
342
353
  self.artifact = attributes[:'artifact']
343
354
  end
@@ -517,6 +528,7 @@ module PulpRpmClient
517
528
  sha256 == o.sha256 &&
518
529
  sha384 == o.sha384 &&
519
530
  sha512 == o.sha512 &&
531
+ pulp_labels == o.pulp_labels &&
520
532
  artifact == o.artifact &&
521
533
  name == o.name &&
522
534
  epoch == o.epoch &&
@@ -565,7 +577,7 @@ module PulpRpmClient
565
577
  # Calculates hash code according to all attributes.
566
578
  # @return [Integer] Hash code
567
579
  def hash
568
- [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, 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
580
+ [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, 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
569
581
  end
570
582
 
571
583
  # Builds the object from hash
@@ -45,6 +45,9 @@ module PulpRpmClient
45
45
  # The SHA-512 checksum if available.
46
46
  attr_accessor :sha512
47
47
 
48
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
49
+ attr_accessor :pulp_labels
50
+
48
51
  # Artifact file representing the physical content
49
52
  attr_accessor :artifact
50
53
 
@@ -73,6 +76,7 @@ module PulpRpmClient
73
76
  :'sha256' => :'sha256',
74
77
  :'sha384' => :'sha384',
75
78
  :'sha512' => :'sha512',
79
+ :'pulp_labels' => :'pulp_labels',
76
80
  :'artifact' => :'artifact',
77
81
  :'relative_path' => :'relative_path',
78
82
  :'data_type' => :'data_type',
@@ -99,6 +103,7 @@ module PulpRpmClient
99
103
  :'sha256' => :'String',
100
104
  :'sha384' => :'String',
101
105
  :'sha512' => :'String',
106
+ :'pulp_labels' => :'Hash<String, String>',
102
107
  :'artifact' => :'String',
103
108
  :'relative_path' => :'String',
104
109
  :'data_type' => :'String',
@@ -168,6 +173,12 @@ module PulpRpmClient
168
173
  self.sha512 = attributes[:'sha512']
169
174
  end
170
175
 
176
+ if attributes.key?(:'pulp_labels')
177
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
178
+ self.pulp_labels = value
179
+ end
180
+ end
181
+
171
182
  if attributes.key?(:'artifact')
172
183
  self.artifact = attributes[:'artifact']
173
184
  end
@@ -247,6 +258,7 @@ module PulpRpmClient
247
258
  sha256 == o.sha256 &&
248
259
  sha384 == o.sha384 &&
249
260
  sha512 == o.sha512 &&
261
+ pulp_labels == o.pulp_labels &&
250
262
  artifact == o.artifact &&
251
263
  relative_path == o.relative_path &&
252
264
  data_type == o.data_type &&
@@ -263,7 +275,7 @@ module PulpRpmClient
263
275
  # Calculates hash code according to all attributes.
264
276
  # @return [Integer] Hash code
265
277
  def hash
266
- [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
278
+ [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, artifact, relative_path, data_type, checksum_type, checksum].hash
267
279
  end
268
280
 
269
281
  # Builds the object from hash
@@ -42,6 +42,9 @@ module PulpRpmClient
42
42
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
43
43
  attr_accessor :compression_type
44
44
 
45
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
46
+ attr_accessor :layout
47
+
45
48
  class EnumAttributeValidator
46
49
  attr_reader :datatype
47
50
  attr_reader :allowable_values
@@ -75,7 +78,8 @@ module PulpRpmClient
75
78
  :'gpgcheck' => :'gpgcheck',
76
79
  :'repo_gpgcheck' => :'repo_gpgcheck',
77
80
  :'repo_config' => :'repo_config',
78
- :'compression_type' => :'compression_type'
81
+ :'compression_type' => :'compression_type',
82
+ :'layout' => :'layout'
79
83
  }
80
84
  end
81
85
 
@@ -95,7 +99,8 @@ module PulpRpmClient
95
99
  :'gpgcheck' => :'Integer',
96
100
  :'repo_gpgcheck' => :'Integer',
97
101
  :'repo_config' => :'Object',
98
- :'compression_type' => :'CompressionTypeEnum'
102
+ :'compression_type' => :'CompressionTypeEnum',
103
+ :'layout' => :'LayoutEnum'
99
104
  }
100
105
  end
101
106
 
@@ -105,6 +110,7 @@ module PulpRpmClient
105
110
  :'gpgcheck',
106
111
  :'repo_gpgcheck',
107
112
  :'repo_config',
113
+ :'layout'
108
114
  ])
109
115
  end
110
116
 
@@ -158,6 +164,10 @@ module PulpRpmClient
158
164
  if attributes.key?(:'compression_type')
159
165
  self.compression_type = attributes[:'compression_type']
160
166
  end
167
+
168
+ if attributes.key?(:'layout')
169
+ self.layout = attributes[:'layout']
170
+ end
161
171
  end
162
172
 
163
173
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -236,7 +246,8 @@ module PulpRpmClient
236
246
  gpgcheck == o.gpgcheck &&
237
247
  repo_gpgcheck == o.repo_gpgcheck &&
238
248
  repo_config == o.repo_config &&
239
- compression_type == o.compression_type
249
+ compression_type == o.compression_type &&
250
+ layout == o.layout
240
251
  end
241
252
 
242
253
  # @see the `==` method
@@ -248,7 +259,7 @@ module PulpRpmClient
248
259
  # Calculates hash code according to all attributes.
249
260
  # @return [Integer] Hash code
250
261
  def hash
251
- [repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
262
+ [repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type, layout].hash
252
263
  end
253
264
 
254
265
  # Builds the object from hash
@@ -56,6 +56,9 @@ module PulpRpmClient
56
56
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
57
57
  attr_accessor :compression_type
58
58
 
59
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
60
+ attr_accessor :layout
61
+
59
62
  class EnumAttributeValidator
60
63
  attr_reader :datatype
61
64
  attr_reader :allowable_values
@@ -94,7 +97,8 @@ module PulpRpmClient
94
97
  :'repo_gpgcheck' => :'repo_gpgcheck',
95
98
  :'sqlite_metadata' => :'sqlite_metadata',
96
99
  :'repo_config' => :'repo_config',
97
- :'compression_type' => :'compression_type'
100
+ :'compression_type' => :'compression_type',
101
+ :'layout' => :'layout'
98
102
  }
99
103
  end
100
104
 
@@ -119,7 +123,8 @@ module PulpRpmClient
119
123
  :'repo_gpgcheck' => :'Integer',
120
124
  :'sqlite_metadata' => :'Boolean',
121
125
  :'repo_config' => :'Object',
122
- :'compression_type' => :'CompressionTypeEnum'
126
+ :'compression_type' => :'CompressionTypeEnum',
127
+ :'layout' => :'LayoutEnum'
123
128
  }
124
129
  end
125
130
 
@@ -129,6 +134,7 @@ module PulpRpmClient
129
134
  :'gpgcheck',
130
135
  :'repo_gpgcheck',
131
136
  :'repo_config',
137
+ :'layout'
132
138
  ])
133
139
  end
134
140
 
@@ -204,6 +210,10 @@ module PulpRpmClient
204
210
  if attributes.key?(:'compression_type')
205
211
  self.compression_type = attributes[:'compression_type']
206
212
  end
213
+
214
+ if attributes.key?(:'layout')
215
+ self.layout = attributes[:'layout']
216
+ end
207
217
  end
208
218
 
209
219
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -287,7 +297,8 @@ module PulpRpmClient
287
297
  repo_gpgcheck == o.repo_gpgcheck &&
288
298
  sqlite_metadata == o.sqlite_metadata &&
289
299
  repo_config == o.repo_config &&
290
- compression_type == o.compression_type
300
+ compression_type == o.compression_type &&
301
+ layout == o.layout
291
302
  end
292
303
 
293
304
  # @see the `==` method
@@ -299,7 +310,7 @@ module PulpRpmClient
299
310
  # Calculates hash code according to all attributes.
300
311
  # @return [Integer] Hash code
301
312
  def hash
302
- [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
313
+ [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type, layout].hash
303
314
  end
304
315
 
305
316
  # Builds the object from hash
@@ -66,6 +66,9 @@ module PulpRpmClient
66
66
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
67
67
  attr_accessor :compression_type
68
68
 
69
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
70
+ attr_accessor :layout
71
+
69
72
  class EnumAttributeValidator
70
73
  attr_reader :datatype
71
74
  attr_reader :allowable_values
@@ -107,7 +110,8 @@ module PulpRpmClient
107
110
  :'gpgcheck' => :'gpgcheck',
108
111
  :'repo_gpgcheck' => :'repo_gpgcheck',
109
112
  :'repo_config' => :'repo_config',
110
- :'compression_type' => :'compression_type'
113
+ :'compression_type' => :'compression_type',
114
+ :'layout' => :'layout'
111
115
  }
112
116
  end
113
117
 
@@ -135,7 +139,8 @@ module PulpRpmClient
135
139
  :'gpgcheck' => :'Integer',
136
140
  :'repo_gpgcheck' => :'Integer',
137
141
  :'repo_config' => :'Object',
138
- :'compression_type' => :'CompressionTypeEnum'
142
+ :'compression_type' => :'CompressionTypeEnum',
143
+ :'layout' => :'LayoutEnum'
139
144
  }
140
145
  end
141
146
 
@@ -153,7 +158,8 @@ module PulpRpmClient
153
158
  :'gpgcheck',
154
159
  :'repo_gpgcheck',
155
160
  :'repo_config',
156
- :'compression_type'
161
+ :'compression_type',
162
+ :'layout'
157
163
  ])
158
164
  end
159
165
 
@@ -247,6 +253,10 @@ module PulpRpmClient
247
253
  if attributes.key?(:'compression_type')
248
254
  self.compression_type = attributes[:'compression_type']
249
255
  end
256
+
257
+ if attributes.key?(:'layout')
258
+ self.layout = attributes[:'layout']
259
+ end
250
260
  end
251
261
 
252
262
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -425,7 +435,8 @@ module PulpRpmClient
425
435
  gpgcheck == o.gpgcheck &&
426
436
  repo_gpgcheck == o.repo_gpgcheck &&
427
437
  repo_config == o.repo_config &&
428
- compression_type == o.compression_type
438
+ compression_type == o.compression_type &&
439
+ layout == o.layout
429
440
  end
430
441
 
431
442
  # @see the `==` method
@@ -437,7 +448,7 @@ module PulpRpmClient
437
448
  # Calculates hash code according to all attributes.
438
449
  # @return [Integer] Hash code
439
450
  def hash
440
- [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].hash
451
+ [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
441
452
  end
442
453
 
443
454
  # Builds the object from hash
@@ -84,6 +84,9 @@ module PulpRpmClient
84
84
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
85
85
  attr_accessor :compression_type
86
86
 
87
+ # How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
88
+ attr_accessor :layout
89
+
87
90
  class EnumAttributeValidator
88
91
  attr_reader :datatype
89
92
  attr_reader :allowable_values
@@ -132,7 +135,8 @@ module PulpRpmClient
132
135
  :'repo_gpgcheck' => :'repo_gpgcheck',
133
136
  :'sqlite_metadata' => :'sqlite_metadata',
134
137
  :'repo_config' => :'repo_config',
135
- :'compression_type' => :'compression_type'
138
+ :'compression_type' => :'compression_type',
139
+ :'layout' => :'layout'
136
140
  }
137
141
  end
138
142
 
@@ -167,7 +171,8 @@ module PulpRpmClient
167
171
  :'repo_gpgcheck' => :'Integer',
168
172
  :'sqlite_metadata' => :'Boolean',
169
173
  :'repo_config' => :'Object',
170
- :'compression_type' => :'CompressionTypeEnum'
174
+ :'compression_type' => :'CompressionTypeEnum',
175
+ :'layout' => :'LayoutEnum'
171
176
  }
172
177
  end
173
178
 
@@ -185,7 +190,8 @@ module PulpRpmClient
185
190
  :'gpgcheck',
186
191
  :'repo_gpgcheck',
187
192
  :'repo_config',
188
- :'compression_type'
193
+ :'compression_type',
194
+ :'layout'
189
195
  ])
190
196
  end
191
197
 
@@ -309,6 +315,10 @@ module PulpRpmClient
309
315
  if attributes.key?(:'compression_type')
310
316
  self.compression_type = attributes[:'compression_type']
311
317
  end
318
+
319
+ if attributes.key?(:'layout')
320
+ self.layout = attributes[:'layout']
321
+ end
312
322
  end
313
323
 
314
324
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -460,7 +470,8 @@ module PulpRpmClient
460
470
  repo_gpgcheck == o.repo_gpgcheck &&
461
471
  sqlite_metadata == o.sqlite_metadata &&
462
472
  repo_config == o.repo_config &&
463
- compression_type == o.compression_type
473
+ compression_type == o.compression_type &&
474
+ layout == o.layout
464
475
  end
465
476
 
466
477
  # @see the `==` method
@@ -472,7 +483,7 @@ module PulpRpmClient
472
483
  # Calculates hash code according to all attributes.
473
484
  # @return [Integer] Hash code
474
485
  def hash
475
- [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, 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, sqlite_metadata, repo_config, compression_type].hash
486
+ [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, 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, sqlite_metadata, repo_config, compression_type, layout].hash
476
487
  end
477
488
 
478
489
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpRpmClient
27
27
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Update id (short update name, e.g. RHEA-2013:1777)
31
34
  attr_accessor :id
32
35
 
@@ -88,6 +91,7 @@ module PulpRpmClient
88
91
  :'prn' => :'prn',
89
92
  :'pulp_created' => :'pulp_created',
90
93
  :'pulp_last_updated' => :'pulp_last_updated',
94
+ :'pulp_labels' => :'pulp_labels',
91
95
  :'id' => :'id',
92
96
  :'updated_date' => :'updated_date',
93
97
  :'description' => :'description',
@@ -121,6 +125,7 @@ module PulpRpmClient
121
125
  :'prn' => :'String',
122
126
  :'pulp_created' => :'Time',
123
127
  :'pulp_last_updated' => :'Time',
128
+ :'pulp_labels' => :'Hash<String, String>',
124
129
  :'id' => :'String',
125
130
  :'updated_date' => :'String',
126
131
  :'description' => :'String',
@@ -179,6 +184,12 @@ module PulpRpmClient
179
184
  self.pulp_last_updated = attributes[:'pulp_last_updated']
180
185
  end
181
186
 
187
+ if attributes.key?(:'pulp_labels')
188
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
189
+ self.pulp_labels = value
190
+ end
191
+ end
192
+
182
193
  if attributes.key?(:'id')
183
194
  self.id = attributes[:'id']
184
195
  end
@@ -280,6 +291,7 @@ module PulpRpmClient
280
291
  prn == o.prn &&
281
292
  pulp_created == o.pulp_created &&
282
293
  pulp_last_updated == o.pulp_last_updated &&
294
+ pulp_labels == o.pulp_labels &&
283
295
  id == o.id &&
284
296
  updated_date == o.updated_date &&
285
297
  description == o.description &&
@@ -309,7 +321,7 @@ module PulpRpmClient
309
321
  # Calculates hash code according to all attributes.
310
322
  # @return [Integer] Hash code
311
323
  def hash
312
- [pulp_href, prn, pulp_created, pulp_last_updated, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references, reboot_suggested].hash
324
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references, reboot_suggested].hash
313
325
  end
314
326
 
315
327
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpRpmClient
17
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
18
18
  class UnsetLabel
19
19
  attr_accessor :key
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpRpmClient
17
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
18
18
  class UnsetLabelResponse
19
19
  attr_accessor :key
20
20
 
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.28.0'
14
+ VERSION = '3.29.0'
15
15
  end
@@ -25,6 +25,7 @@ require 'pulp_rpm_client/models/compression_type_enum'
25
25
  require 'pulp_rpm_client/models/content_summary_response'
26
26
  require 'pulp_rpm_client/models/copy'
27
27
  require 'pulp_rpm_client/models/image_response'
28
+ require 'pulp_rpm_client/models/layout_enum'
28
29
  require 'pulp_rpm_client/models/my_permissions_response'
29
30
  require 'pulp_rpm_client/models/nested_role'
30
31
  require 'pulp_rpm_client/models/nested_role_response'
@@ -37,6 +37,7 @@ describe 'ContentAdvisoriesApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
40
41
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
41
42
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
42
43
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
@@ -55,11 +56,12 @@ describe 'ContentAdvisoriesApi' do
55
56
  # @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
56
57
  # @option opts [Integer] :limit Number of results to return per page.
57
58
  # @option opts [Integer] :offset The initial index from which to return the results.
58
- # @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;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;updated_date&#x60; - Updated date * &#x60;-updated_date&#x60; - Updated date (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;issued_date&#x60; - Issued date * &#x60;-issued_date&#x60; - Issued date (descending) * &#x60;fromstr&#x60; - Fromstr * &#x60;-fromstr&#x60; - Fromstr (descending) * &#x60;status&#x60; - Status * &#x60;-status&#x60; - Status (descending) * &#x60;title&#x60; - Title * &#x60;-title&#x60; - Title (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;severity&#x60; - Severity * &#x60;-severity&#x60; - Severity (descending) * &#x60;solution&#x60; - Solution * &#x60;-solution&#x60; - Solution (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;rights&#x60; - Rights * &#x60;-rights&#x60; - Rights (descending) * &#x60;reboot_suggested&#x60; - Reboot suggested * &#x60;-reboot_suggested&#x60; - Reboot suggested (descending) * &#x60;pushcount&#x60; - Pushcount * &#x60;-pushcount&#x60; - Pushcount (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
59
+ # @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;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;updated_date&#x60; - Updated date * &#x60;-updated_date&#x60; - Updated date (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;issued_date&#x60; - Issued date * &#x60;-issued_date&#x60; - Issued date (descending) * &#x60;fromstr&#x60; - Fromstr * &#x60;-fromstr&#x60; - Fromstr (descending) * &#x60;status&#x60; - Status * &#x60;-status&#x60; - Status (descending) * &#x60;title&#x60; - Title * &#x60;-title&#x60; - Title (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;severity&#x60; - Severity * &#x60;-severity&#x60; - Severity (descending) * &#x60;solution&#x60; - Solution * &#x60;-solution&#x60; - Solution (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;rights&#x60; - Rights * &#x60;-rights&#x60; - Rights (descending) * &#x60;reboot_suggested&#x60; - Reboot suggested * &#x60;-reboot_suggested&#x60; - Reboot suggested (descending) * &#x60;pushcount&#x60; - Pushcount * &#x60;-pushcount&#x60; - Pushcount (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
59
60
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
60
61
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
61
62
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
62
63
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
64
+ # @option opts [String] :pulp_label_select Filter labels by search string
63
65
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
64
66
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
65
67
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -96,4 +98,30 @@ describe 'ContentAdvisoriesApi' do
96
98
  end
97
99
  end
98
100
 
101
+ # unit tests for set_label
102
+ # Set a label
103
+ # Set a single pulp_label on the object to a specific value or null.
104
+ # @param rpm_update_record_href
105
+ # @param set_label
106
+ # @param [Hash] opts the optional parameters
107
+ # @return [SetLabelResponse]
108
+ describe 'set_label test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ # unit tests for unset_label
115
+ # Unset a label
116
+ # Unset a single pulp_label on the object.
117
+ # @param rpm_update_record_href
118
+ # @param unset_label
119
+ # @param [Hash] opts the optional parameters
120
+ # @return [UnsetLabelResponse]
121
+ describe 'unset_label test' do
122
+ it 'should work' do
123
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
124
+ end
125
+ end
126
+
99
127
  end
@@ -43,6 +43,7 @@ describe 'ContentDistributionTreesApi' do
43
43
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
44
44
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
+ # @option opts [String] :pulp_label_select Filter labels by search string
46
47
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
47
48
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
48
49
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -70,4 +71,30 @@ describe 'ContentDistributionTreesApi' do
70
71
  end
71
72
  end
72
73
 
74
+ # unit tests for set_label
75
+ # Set a label
76
+ # Set a single pulp_label on the object to a specific value or null.
77
+ # @param rpm_distribution_tree_href
78
+ # @param set_label
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [SetLabelResponse]
81
+ describe 'set_label test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
84
+ end
85
+ end
86
+
87
+ # unit tests for unset_label
88
+ # Unset a label
89
+ # Unset a single pulp_label on the object.
90
+ # @param rpm_distribution_tree_href
91
+ # @param unset_label
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [UnsetLabelResponse]
94
+ describe 'unset_label test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
+ end
98
+ end
99
+
73
100
  end
@@ -52,11 +52,12 @@ describe 'ContentModulemdDefaultsApi' do
52
52
  # @option opts [String] :_module Filter results where module matches value
53
53
  # @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @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;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;module&#x60; - Module * &#x60;-module&#x60; - Module (descending) * &#x60;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
+ # @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;module&#x60; - Module * &#x60;-module&#x60; - Module (descending) * &#x60;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
56
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
57
57
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
58
58
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
59
59
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
60
+ # @option opts [String] :pulp_label_select Filter labels by search string
60
61
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
61
62
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
62
63
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -87,4 +88,30 @@ describe 'ContentModulemdDefaultsApi' do
87
88
  end
88
89
  end
89
90
 
91
+ # unit tests for set_label
92
+ # Set a label
93
+ # Set a single pulp_label on the object to a specific value or null.
94
+ # @param rpm_modulemd_defaults_href
95
+ # @param set_label
96
+ # @param [Hash] opts the optional parameters
97
+ # @return [SetLabelResponse]
98
+ describe 'set_label test' do
99
+ it 'should work' do
100
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
101
+ end
102
+ end
103
+
104
+ # unit tests for unset_label
105
+ # Unset a label
106
+ # Unset a single pulp_label on the object.
107
+ # @param rpm_modulemd_defaults_href
108
+ # @param unset_label
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [UnsetLabelResponse]
111
+ describe 'unset_label test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
114
+ end
115
+ end
116
+
90
117
  end
@@ -55,6 +55,7 @@ describe 'ContentModulemdObsoletesApi' do
55
55
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
56
56
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
57
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
+ # @option opts [String] :pulp_label_select Filter labels by search string
58
59
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
59
60
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
60
61
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -82,4 +83,30 @@ describe 'ContentModulemdObsoletesApi' do
82
83
  end
83
84
  end
84
85
 
86
+ # unit tests for set_label
87
+ # Set a label
88
+ # Set a single pulp_label on the object to a specific value or null.
89
+ # @param rpm_modulemd_obsolete_href
90
+ # @param set_label
91
+ # @param [Hash] opts the optional parameters
92
+ # @return [SetLabelResponse]
93
+ describe 'set_label test' do
94
+ it 'should work' do
95
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
96
+ end
97
+ end
98
+
99
+ # unit tests for unset_label
100
+ # Unset a label
101
+ # Unset a single pulp_label on the object.
102
+ # @param rpm_modulemd_obsolete_href
103
+ # @param unset_label
104
+ # @param [Hash] opts the optional parameters
105
+ # @return [UnsetLabelResponse]
106
+ describe 'unset_label test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
109
+ end
110
+ end
111
+
85
112
  end