pulp_rpm_client 3.29.3 → 3.30.1

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.
@@ -21,22 +21,12 @@ module PulpRpmClient
21
21
  # A URI of the repository to be published.
22
22
  attr_accessor :repository
23
23
 
24
+ attr_accessor :checkpoint
25
+
24
26
  # The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
25
27
  attr_accessor :checksum_type
26
28
 
27
- # DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
28
- attr_accessor :metadata_checksum_type
29
-
30
- # DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
31
- attr_accessor :package_checksum_type
32
-
33
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
34
- attr_accessor :gpgcheck
35
-
36
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
37
- attr_accessor :repo_gpgcheck
38
-
39
- # A JSON document describing config.repo file
29
+ # A JSON document describing the config.repo file Pulp should generate for this repo
40
30
  attr_accessor :repo_config
41
31
 
42
32
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
@@ -72,11 +62,8 @@ module PulpRpmClient
72
62
  {
73
63
  :'repository_version' => :'repository_version',
74
64
  :'repository' => :'repository',
65
+ :'checkpoint' => :'checkpoint',
75
66
  :'checksum_type' => :'checksum_type',
76
- :'metadata_checksum_type' => :'metadata_checksum_type',
77
- :'package_checksum_type' => :'package_checksum_type',
78
- :'gpgcheck' => :'gpgcheck',
79
- :'repo_gpgcheck' => :'repo_gpgcheck',
80
67
  :'repo_config' => :'repo_config',
81
68
  :'compression_type' => :'compression_type',
82
69
  :'layout' => :'layout'
@@ -93,11 +80,8 @@ module PulpRpmClient
93
80
  {
94
81
  :'repository_version' => :'String',
95
82
  :'repository' => :'String',
83
+ :'checkpoint' => :'Boolean',
96
84
  :'checksum_type' => :'PackageChecksumTypeEnum',
97
- :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
98
- :'package_checksum_type' => :'PackageChecksumTypeEnum',
99
- :'gpgcheck' => :'Integer',
100
- :'repo_gpgcheck' => :'Integer',
101
85
  :'repo_config' => :'Object',
102
86
  :'compression_type' => :'CompressionTypeEnum',
103
87
  :'layout' => :'LayoutEnum'
@@ -107,8 +91,6 @@ module PulpRpmClient
107
91
  # List of attributes with nullable: true
108
92
  def self.openapi_nullable
109
93
  Set.new([
110
- :'gpgcheck',
111
- :'repo_gpgcheck',
112
94
  :'repo_config',
113
95
  :'layout'
114
96
  ])
@@ -137,24 +119,12 @@ module PulpRpmClient
137
119
  self.repository = attributes[:'repository']
138
120
  end
139
121
 
140
- if attributes.key?(:'checksum_type')
141
- self.checksum_type = attributes[:'checksum_type']
142
- end
143
-
144
- if attributes.key?(:'metadata_checksum_type')
145
- self.metadata_checksum_type = attributes[:'metadata_checksum_type']
122
+ if attributes.key?(:'checkpoint')
123
+ self.checkpoint = attributes[:'checkpoint']
146
124
  end
147
125
 
148
- if attributes.key?(:'package_checksum_type')
149
- self.package_checksum_type = attributes[:'package_checksum_type']
150
- end
151
-
152
- if attributes.key?(:'gpgcheck')
153
- self.gpgcheck = attributes[:'gpgcheck']
154
- end
155
-
156
- if attributes.key?(:'repo_gpgcheck')
157
- self.repo_gpgcheck = attributes[:'repo_gpgcheck']
126
+ if attributes.key?(:'checksum_type')
127
+ self.checksum_type = attributes[:'checksum_type']
158
128
  end
159
129
 
160
130
  if attributes.key?(:'repo_config')
@@ -175,22 +145,6 @@ module PulpRpmClient
175
145
  def list_invalid_properties
176
146
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
177
147
  invalid_properties = Array.new
178
- if !@gpgcheck.nil? && @gpgcheck > 1
179
- invalid_properties.push('invalid value for "gpgcheck", must be smaller than or equal to 1.')
180
- end
181
-
182
- if !@gpgcheck.nil? && @gpgcheck < 0
183
- invalid_properties.push('invalid value for "gpgcheck", must be greater than or equal to 0.')
184
- end
185
-
186
- if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
187
- invalid_properties.push('invalid value for "repo_gpgcheck", must be smaller than or equal to 1.')
188
- end
189
-
190
- if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
191
- invalid_properties.push('invalid value for "repo_gpgcheck", must be greater than or equal to 0.')
192
- end
193
-
194
148
  invalid_properties
195
149
  end
196
150
 
@@ -198,41 +152,9 @@ module PulpRpmClient
198
152
  # @return true if the model is valid
199
153
  def valid?
200
154
  warn '[DEPRECATED] the `valid?` method is obsolete'
201
- return false if !@gpgcheck.nil? && @gpgcheck > 1
202
- return false if !@gpgcheck.nil? && @gpgcheck < 0
203
- return false if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
204
- return false if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
205
155
  true
206
156
  end
207
157
 
208
- # Custom attribute writer method with validation
209
- # @param [Object] gpgcheck Value to be assigned
210
- def gpgcheck=(gpgcheck)
211
- if !gpgcheck.nil? && gpgcheck > 1
212
- fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
213
- end
214
-
215
- if !gpgcheck.nil? && gpgcheck < 0
216
- fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
217
- end
218
-
219
- @gpgcheck = gpgcheck
220
- end
221
-
222
- # Custom attribute writer method with validation
223
- # @param [Object] repo_gpgcheck Value to be assigned
224
- def repo_gpgcheck=(repo_gpgcheck)
225
- if !repo_gpgcheck.nil? && repo_gpgcheck > 1
226
- fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
227
- end
228
-
229
- if !repo_gpgcheck.nil? && repo_gpgcheck < 0
230
- fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
231
- end
232
-
233
- @repo_gpgcheck = repo_gpgcheck
234
- end
235
-
236
158
  # Checks equality by comparing each attribute.
237
159
  # @param [Object] Object to be compared
238
160
  def ==(o)
@@ -240,11 +162,8 @@ module PulpRpmClient
240
162
  self.class == o.class &&
241
163
  repository_version == o.repository_version &&
242
164
  repository == o.repository &&
165
+ checkpoint == o.checkpoint &&
243
166
  checksum_type == o.checksum_type &&
244
- metadata_checksum_type == o.metadata_checksum_type &&
245
- package_checksum_type == o.package_checksum_type &&
246
- gpgcheck == o.gpgcheck &&
247
- repo_gpgcheck == o.repo_gpgcheck &&
248
167
  repo_config == o.repo_config &&
249
168
  compression_type == o.compression_type &&
250
169
  layout == o.layout
@@ -259,7 +178,7 @@ module PulpRpmClient
259
178
  # Calculates hash code according to all attributes.
260
179
  # @return [Integer] Hash code
261
180
  def hash
262
- [repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type, layout].hash
181
+ [repository_version, repository, checkpoint, checksum_type, repo_config, compression_type, layout].hash
263
182
  end
264
183
 
265
184
  # Builds the object from hash
@@ -32,25 +32,27 @@ module PulpRpmClient
32
32
  # A URI of the repository to be published.
33
33
  attr_accessor :repository
34
34
 
35
+ attr_accessor :checkpoint
36
+
35
37
  # The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
36
38
  attr_accessor :checksum_type
37
39
 
38
- # DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
40
+ # REMOVED: The checksum type 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
39
41
  attr_accessor :metadata_checksum_type
40
42
 
41
- # DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
43
+ # 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
42
44
  attr_accessor :package_checksum_type
43
45
 
44
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
46
+ # 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.
45
47
  attr_accessor :gpgcheck
46
48
 
47
- # DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
49
+ # 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.
48
50
  attr_accessor :repo_gpgcheck
49
51
 
50
- # REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release
52
+ # REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operational since pulp_rpm 3.25.0 release
51
53
  attr_accessor :sqlite_metadata
52
54
 
53
- # A JSON document describing config.repo file
55
+ # A JSON document describing the config.repo file Pulp should generate for this repo
54
56
  attr_accessor :repo_config
55
57
 
56
58
  # The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
@@ -90,6 +92,7 @@ module PulpRpmClient
90
92
  :'pulp_last_updated' => :'pulp_last_updated',
91
93
  :'repository_version' => :'repository_version',
92
94
  :'repository' => :'repository',
95
+ :'checkpoint' => :'checkpoint',
93
96
  :'checksum_type' => :'checksum_type',
94
97
  :'metadata_checksum_type' => :'metadata_checksum_type',
95
98
  :'package_checksum_type' => :'package_checksum_type',
@@ -116,6 +119,7 @@ module PulpRpmClient
116
119
  :'pulp_last_updated' => :'Time',
117
120
  :'repository_version' => :'String',
118
121
  :'repository' => :'String',
122
+ :'checkpoint' => :'Boolean',
119
123
  :'checksum_type' => :'PackageChecksumTypeEnum',
120
124
  :'metadata_checksum_type' => :'PackageChecksumTypeEnum',
121
125
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
@@ -131,8 +135,6 @@ module PulpRpmClient
131
135
  # List of attributes with nullable: true
132
136
  def self.openapi_nullable
133
137
  Set.new([
134
- :'gpgcheck',
135
- :'repo_gpgcheck',
136
138
  :'repo_config',
137
139
  :'layout'
138
140
  ])
@@ -177,6 +179,10 @@ module PulpRpmClient
177
179
  self.repository = attributes[:'repository']
178
180
  end
179
181
 
182
+ if attributes.key?(:'checkpoint')
183
+ self.checkpoint = attributes[:'checkpoint']
184
+ end
185
+
180
186
  if attributes.key?(:'checksum_type')
181
187
  self.checksum_type = attributes[:'checksum_type']
182
188
  end
@@ -254,11 +260,15 @@ module PulpRpmClient
254
260
  # Custom attribute writer method with validation
255
261
  # @param [Object] gpgcheck Value to be assigned
256
262
  def gpgcheck=(gpgcheck)
257
- if !gpgcheck.nil? && gpgcheck > 1
263
+ if gpgcheck.nil?
264
+ fail ArgumentError, 'gpgcheck cannot be nil'
265
+ end
266
+
267
+ if gpgcheck > 1
258
268
  fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
259
269
  end
260
270
 
261
- if !gpgcheck.nil? && gpgcheck < 0
271
+ if gpgcheck < 0
262
272
  fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
263
273
  end
264
274
 
@@ -268,11 +278,15 @@ module PulpRpmClient
268
278
  # Custom attribute writer method with validation
269
279
  # @param [Object] repo_gpgcheck Value to be assigned
270
280
  def repo_gpgcheck=(repo_gpgcheck)
271
- if !repo_gpgcheck.nil? && repo_gpgcheck > 1
281
+ if repo_gpgcheck.nil?
282
+ fail ArgumentError, 'repo_gpgcheck cannot be nil'
283
+ end
284
+
285
+ if repo_gpgcheck > 1
272
286
  fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
273
287
  end
274
288
 
275
- if !repo_gpgcheck.nil? && repo_gpgcheck < 0
289
+ if repo_gpgcheck < 0
276
290
  fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
277
291
  end
278
292
 
@@ -290,6 +304,7 @@ module PulpRpmClient
290
304
  pulp_last_updated == o.pulp_last_updated &&
291
305
  repository_version == o.repository_version &&
292
306
  repository == o.repository &&
307
+ checkpoint == o.checkpoint &&
293
308
  checksum_type == o.checksum_type &&
294
309
  metadata_checksum_type == o.metadata_checksum_type &&
295
310
  package_checksum_type == o.package_checksum_type &&
@@ -310,7 +325,7 @@ module PulpRpmClient
310
325
  # Calculates hash code according to all attributes.
311
326
  # @return [Integer] Hash code
312
327
  def 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
328
+ [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, checkpoint, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type, layout].hash
314
329
  end
315
330
 
316
331
  # Builds the object from hash
@@ -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'
@@ -153,10 +133,6 @@ module PulpRpmClient
153
133
  :'metadata_signing_service',
154
134
  :'package_signing_service',
155
135
  :'checksum_type',
156
- :'metadata_checksum_type',
157
- :'package_checksum_type',
158
- :'gpgcheck',
159
- :'repo_gpgcheck',
160
136
  :'repo_config',
161
137
  :'compression_type',
162
138
  :'layout'
@@ -230,22 +206,6 @@ module PulpRpmClient
230
206
  self.checksum_type = attributes[:'checksum_type']
231
207
  end
232
208
 
233
- if attributes.key?(:'metadata_checksum_type')
234
- self.metadata_checksum_type = attributes[:'metadata_checksum_type']
235
- end
236
-
237
- if attributes.key?(:'package_checksum_type')
238
- self.package_checksum_type = attributes[:'package_checksum_type']
239
- end
240
-
241
- if attributes.key?(:'gpgcheck')
242
- self.gpgcheck = attributes[:'gpgcheck']
243
- end
244
-
245
- if attributes.key?(:'repo_gpgcheck')
246
- self.repo_gpgcheck = attributes[:'repo_gpgcheck']
247
- end
248
-
249
209
  if attributes.key?(:'repo_config')
250
210
  self.repo_config = attributes[:'repo_config']
251
211
  end
@@ -288,22 +248,6 @@ module PulpRpmClient
288
248
  invalid_properties.push('invalid value for "retain_package_versions", must be greater than or equal to 0.')
289
249
  end
290
250
 
291
- if !@gpgcheck.nil? && @gpgcheck > 1
292
- invalid_properties.push('invalid value for "gpgcheck", must be smaller than or equal to 1.')
293
- end
294
-
295
- if !@gpgcheck.nil? && @gpgcheck < 0
296
- invalid_properties.push('invalid value for "gpgcheck", must be greater than or equal to 0.')
297
- end
298
-
299
- if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
300
- invalid_properties.push('invalid value for "repo_gpgcheck", must be smaller than or equal to 1.')
301
- end
302
-
303
- if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
304
- invalid_properties.push('invalid value for "repo_gpgcheck", must be greater than or equal to 0.')
305
- end
306
-
307
251
  invalid_properties
308
252
  end
309
253
 
@@ -317,10 +261,6 @@ module PulpRpmClient
317
261
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
318
262
  return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
319
263
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
320
- return false if !@gpgcheck.nil? && @gpgcheck > 1
321
- return false if !@gpgcheck.nil? && @gpgcheck < 0
322
- return false if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
323
- return false if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
324
264
  true
325
265
  end
326
266
 
@@ -386,34 +326,6 @@ module PulpRpmClient
386
326
  @retain_package_versions = retain_package_versions
387
327
  end
388
328
 
389
- # Custom attribute writer method with validation
390
- # @param [Object] gpgcheck Value to be assigned
391
- def gpgcheck=(gpgcheck)
392
- if !gpgcheck.nil? && gpgcheck > 1
393
- fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
394
- end
395
-
396
- if !gpgcheck.nil? && gpgcheck < 0
397
- fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
398
- end
399
-
400
- @gpgcheck = gpgcheck
401
- end
402
-
403
- # Custom attribute writer method with validation
404
- # @param [Object] repo_gpgcheck Value to be assigned
405
- def repo_gpgcheck=(repo_gpgcheck)
406
- if !repo_gpgcheck.nil? && repo_gpgcheck > 1
407
- fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
408
- end
409
-
410
- if !repo_gpgcheck.nil? && repo_gpgcheck < 0
411
- fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
412
- end
413
-
414
- @repo_gpgcheck = repo_gpgcheck
415
- end
416
-
417
329
  # Checks equality by comparing each attribute.
418
330
  # @param [Object] Object to be compared
419
331
  def ==(o)
@@ -430,10 +342,6 @@ module PulpRpmClient
430
342
  package_signing_fingerprint == o.package_signing_fingerprint &&
431
343
  retain_package_versions == o.retain_package_versions &&
432
344
  checksum_type == o.checksum_type &&
433
- metadata_checksum_type == o.metadata_checksum_type &&
434
- package_checksum_type == o.package_checksum_type &&
435
- gpgcheck == o.gpgcheck &&
436
- repo_gpgcheck == o.repo_gpgcheck &&
437
345
  repo_config == o.repo_config &&
438
346
  compression_type == o.compression_type &&
439
347
  layout == o.layout
@@ -448,7 +356,7 @@ module PulpRpmClient
448
356
  # Calculates hash code according to all attributes.
449
357
  # @return [Integer] Hash code
450
358
  def 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
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
452
360
  end
453
361
 
454
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
@@ -185,10 +185,7 @@ module PulpRpmClient
185
185
  :'metadata_signing_service',
186
186
  :'package_signing_service',
187
187
  :'checksum_type',
188
- :'metadata_checksum_type',
189
188
  :'package_checksum_type',
190
- :'gpgcheck',
191
- :'repo_gpgcheck',
192
189
  :'repo_config',
193
190
  :'compression_type',
194
191
  :'layout'
@@ -417,11 +414,15 @@ module PulpRpmClient
417
414
  # Custom attribute writer method with validation
418
415
  # @param [Object] gpgcheck Value to be assigned
419
416
  def gpgcheck=(gpgcheck)
420
- if !gpgcheck.nil? && gpgcheck > 1
417
+ if gpgcheck.nil?
418
+ fail ArgumentError, 'gpgcheck cannot be nil'
419
+ end
420
+
421
+ if gpgcheck > 1
421
422
  fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
422
423
  end
423
424
 
424
- if !gpgcheck.nil? && gpgcheck < 0
425
+ if gpgcheck < 0
425
426
  fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
426
427
  end
427
428
 
@@ -431,11 +432,15 @@ module PulpRpmClient
431
432
  # Custom attribute writer method with validation
432
433
  # @param [Object] repo_gpgcheck Value to be assigned
433
434
  def repo_gpgcheck=(repo_gpgcheck)
434
- 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
435
440
  fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
436
441
  end
437
442
 
438
- if !repo_gpgcheck.nil? && repo_gpgcheck < 0
443
+ if repo_gpgcheck < 0
439
444
  fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
440
445
  end
441
446
 
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.29.3'
14
+ VERSION = '3.30.1'
15
15
  end
@@ -75,4 +75,10 @@ describe PulpRpmClient::PatchedrpmRpmDistribution do
75
75
  end
76
76
  end
77
77
 
78
+ describe 'test attribute "checkpoint"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
78
84
  end
@@ -93,30 +93,6 @@ describe PulpRpmClient::PatchedrpmRpmRepository do
93
93
  end
94
94
  end
95
95
 
96
- describe 'test attribute "metadata_checksum_type"' do
97
- it 'should work' do
98
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
- end
100
- end
101
-
102
- describe 'test attribute "package_checksum_type"' do
103
- it 'should work' do
104
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
- end
106
- end
107
-
108
- describe 'test attribute "gpgcheck"' 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
- describe 'test attribute "repo_gpgcheck"' do
115
- it 'should work' do
116
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
- end
118
- end
119
-
120
96
  describe 'test attribute "repo_config"' do
121
97
  it 'should work' do
122
98
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -111,4 +111,10 @@ describe PulpRpmClient::RpmRpmDistributionResponse do
111
111
  end
112
112
  end
113
113
 
114
+ describe 'test attribute "checkpoint"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
114
120
  end
@@ -75,4 +75,10 @@ describe PulpRpmClient::RpmRpmDistribution do
75
75
  end
76
76
  end
77
77
 
78
+ describe 'test attribute "checkpoint"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
78
84
  end
@@ -63,6 +63,12 @@ describe PulpRpmClient::RpmRpmPublicationResponse do
63
63
  end
64
64
  end
65
65
 
66
+ describe 'test attribute "checkpoint"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
66
72
  describe 'test attribute "checksum_type"' do
67
73
  it 'should work' do
68
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -39,31 +39,13 @@ describe PulpRpmClient::RpmRpmPublication do
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "checksum_type"' do
42
+ describe 'test attribute "checkpoint"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
48
- describe 'test attribute "metadata_checksum_type"' 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
- describe 'test attribute "package_checksum_type"' do
55
- it 'should work' do
56
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
- end
58
- end
59
-
60
- describe 'test attribute "gpgcheck"' do
61
- it 'should work' do
62
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
- end
64
- end
65
-
66
- describe 'test attribute "repo_gpgcheck"' do
48
+ describe 'test attribute "checksum_type"' do
67
49
  it 'should work' do
68
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
51
  end