pulp_rpm_client 3.14.9 → 3.16.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContentAdvisoriesApi.md +1 -1
  4. data/docs/ContentDistributionTreesApi.md +1 -1
  5. data/docs/ContentModulemdDefaultsApi.md +1 -1
  6. data/docs/ContentModulemdsApi.md +1 -1
  7. data/docs/ContentPackagecategoriesApi.md +1 -1
  8. data/docs/ContentPackageenvironmentsApi.md +1 -1
  9. data/docs/ContentPackagegroupsApi.md +1 -1
  10. data/docs/ContentPackagelangpacksApi.md +1 -1
  11. data/docs/ContentPackagesApi.md +1 -1
  12. data/docs/ContentRepoMetadataFilesApi.md +1 -1
  13. data/docs/DistributionsRpmApi.md +1 -1
  14. data/docs/PatchedrpmRpmRemote.md +1 -1
  15. data/docs/PatchedrpmRpmRepository.md +3 -3
  16. data/docs/PatchedrpmUlnRemote.md +1 -1
  17. data/docs/PublicationsRpmApi.md +1 -1
  18. data/docs/RemotesRpmApi.md +1 -1
  19. data/docs/RemotesUlnApi.md +1 -1
  20. data/docs/RepositoriesRpmApi.md +1 -1
  21. data/docs/RepositoriesRpmVersionsApi.md +1 -1
  22. data/docs/RpmCopyApi.md +1 -1
  23. data/docs/RpmRpmRemote.md +1 -1
  24. data/docs/RpmRpmRemoteResponse.md +1 -1
  25. data/docs/RpmRpmRepository.md +3 -3
  26. data/docs/RpmRpmRepositoryResponse.md +3 -3
  27. data/docs/RpmUlnRemote.md +1 -1
  28. data/docs/RpmUlnRemoteResponse.md +1 -1
  29. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +12 -0
  30. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +24 -0
  31. data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -0
  32. data/lib/pulp_rpm_client/configuration.rb +2 -2
  33. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +30 -0
  34. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +166 -1
  35. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +47 -16
  36. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +166 -1
  37. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +114 -0
  38. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +57 -0
  39. data/lib/pulp_rpm_client/models/rpm_package.rb +19 -0
  40. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +38 -0
  41. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +174 -1
  42. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
  43. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +51 -16
  44. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +17 -16
  45. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +182 -1
  46. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
  47. data/lib/pulp_rpm_client/version.rb +1 -1
  48. data/spec/configuration_spec.rb +3 -3
  49. data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -1
  50. data/spec/models/rpm_rpm_repository_response_spec.rb +1 -1
  51. data/spec/models/rpm_rpm_repository_spec.rb +1 -1
  52. metadata +2 -2
@@ -74,7 +74,7 @@ module PulpRpmClient
74
74
  # Headers for aiohttp.Clientsession
75
75
  attr_accessor :headers
76
76
 
77
- # Limits total download rate in requests per second
77
+ # Limits requests per second for each concurrent downloader
78
78
  attr_accessor :rate_limit
79
79
 
80
80
  # Authentication token for SLES repositories.
@@ -268,6 +268,46 @@ module PulpRpmClient
268
268
  # @return Array for valid properties with the reasons
269
269
  def list_invalid_properties
270
270
  invalid_properties = Array.new
271
+ if !@name.nil? && @name.to_s.length < 1
272
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
273
+ end
274
+
275
+ if !@url.nil? && @url.to_s.length < 1
276
+ invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
277
+ end
278
+
279
+ if !@ca_cert.nil? && @ca_cert.to_s.length < 1
280
+ invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
281
+ end
282
+
283
+ if !@client_cert.nil? && @client_cert.to_s.length < 1
284
+ invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
285
+ end
286
+
287
+ if !@client_key.nil? && @client_key.to_s.length < 1
288
+ invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
289
+ end
290
+
291
+ if !@proxy_url.nil? && @proxy_url.to_s.length < 1
292
+ invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
293
+ end
294
+
295
+ if !@proxy_username.nil? && @proxy_username.to_s.length < 1
296
+ invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
297
+ end
298
+
299
+ if !@proxy_password.nil? && @proxy_password.to_s.length < 1
300
+ invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
301
+ end
302
+
303
+ if !@username.nil? && @username.to_s.length < 1
304
+ invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
305
+ end
306
+
307
+ if !@password.nil? && @password.to_s.length < 1
308
+ invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
309
+ end
310
+
271
311
  if !@download_concurrency.nil? && @download_concurrency < 1
272
312
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
273
313
  end
@@ -288,20 +328,135 @@ module PulpRpmClient
288
328
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
289
329
  end
290
330
 
331
+ if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
332
+ invalid_properties.push('invalid value for "sles_auth_token", the character length must be great than or equal to 1.')
333
+ end
334
+
291
335
  invalid_properties
292
336
  end
293
337
 
294
338
  # Check to see if the all the properties in the model are valid
295
339
  # @return true if the model is valid
296
340
  def valid?
341
+ return false if !@name.nil? && @name.to_s.length < 1
342
+ return false if !@url.nil? && @url.to_s.length < 1
343
+ return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
344
+ return false if !@client_cert.nil? && @client_cert.to_s.length < 1
345
+ return false if !@client_key.nil? && @client_key.to_s.length < 1
346
+ return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
347
+ return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
348
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
349
+ return false if !@username.nil? && @username.to_s.length < 1
350
+ return false if !@password.nil? && @password.to_s.length < 1
297
351
  return false if !@download_concurrency.nil? && @download_concurrency < 1
298
352
  return false if !@total_timeout.nil? && @total_timeout < 0.0
299
353
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
300
354
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
301
355
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
356
+ return false if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
302
357
  true
303
358
  end
304
359
 
360
+ # Custom attribute writer method with validation
361
+ # @param [Object] name Value to be assigned
362
+ def name=(name)
363
+ if !name.nil? && name.to_s.length < 1
364
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
365
+ end
366
+
367
+ @name = name
368
+ end
369
+
370
+ # Custom attribute writer method with validation
371
+ # @param [Object] url Value to be assigned
372
+ def url=(url)
373
+ if !url.nil? && url.to_s.length < 1
374
+ fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
375
+ end
376
+
377
+ @url = url
378
+ end
379
+
380
+ # Custom attribute writer method with validation
381
+ # @param [Object] ca_cert Value to be assigned
382
+ def ca_cert=(ca_cert)
383
+ if !ca_cert.nil? && ca_cert.to_s.length < 1
384
+ fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
385
+ end
386
+
387
+ @ca_cert = ca_cert
388
+ end
389
+
390
+ # Custom attribute writer method with validation
391
+ # @param [Object] client_cert Value to be assigned
392
+ def client_cert=(client_cert)
393
+ if !client_cert.nil? && client_cert.to_s.length < 1
394
+ fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
395
+ end
396
+
397
+ @client_cert = client_cert
398
+ end
399
+
400
+ # Custom attribute writer method with validation
401
+ # @param [Object] client_key Value to be assigned
402
+ def client_key=(client_key)
403
+ if !client_key.nil? && client_key.to_s.length < 1
404
+ fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
405
+ end
406
+
407
+ @client_key = client_key
408
+ end
409
+
410
+ # Custom attribute writer method with validation
411
+ # @param [Object] proxy_url Value to be assigned
412
+ def proxy_url=(proxy_url)
413
+ if !proxy_url.nil? && proxy_url.to_s.length < 1
414
+ fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
415
+ end
416
+
417
+ @proxy_url = proxy_url
418
+ end
419
+
420
+ # Custom attribute writer method with validation
421
+ # @param [Object] proxy_username Value to be assigned
422
+ def proxy_username=(proxy_username)
423
+ if !proxy_username.nil? && proxy_username.to_s.length < 1
424
+ fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
425
+ end
426
+
427
+ @proxy_username = proxy_username
428
+ end
429
+
430
+ # Custom attribute writer method with validation
431
+ # @param [Object] proxy_password Value to be assigned
432
+ def proxy_password=(proxy_password)
433
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
434
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
435
+ end
436
+
437
+ @proxy_password = proxy_password
438
+ end
439
+
440
+ # Custom attribute writer method with validation
441
+ # @param [Object] username Value to be assigned
442
+ def username=(username)
443
+ if !username.nil? && username.to_s.length < 1
444
+ fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
445
+ end
446
+
447
+ @username = username
448
+ end
449
+
450
+ # Custom attribute writer method with validation
451
+ # @param [Object] password Value to be assigned
452
+ def password=(password)
453
+ if !password.nil? && password.to_s.length < 1
454
+ fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
455
+ end
456
+
457
+ @password = password
458
+ end
459
+
305
460
  # Custom attribute writer method with validation
306
461
  # @param [Object] download_concurrency Value to be assigned
307
462
  def download_concurrency=(download_concurrency)
@@ -352,6 +507,16 @@ module PulpRpmClient
352
507
  @sock_read_timeout = sock_read_timeout
353
508
  end
354
509
 
510
+ # Custom attribute writer method with validation
511
+ # @param [Object] sles_auth_token Value to be assigned
512
+ def sles_auth_token=(sles_auth_token)
513
+ if !sles_auth_token.nil? && sles_auth_token.to_s.length < 1
514
+ fail ArgumentError, 'invalid value for "sles_auth_token", the character length must be great than or equal to 1.'
515
+ end
516
+
517
+ @sles_auth_token = sles_auth_token
518
+ end
519
+
355
520
  # Checks equality by comparing each attribute.
356
521
  # @param [Object] Object to be compared
357
522
  def ==(o)
@@ -24,8 +24,9 @@ module PulpRpmClient
24
24
  attr_accessor :description
25
25
 
26
26
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
- attr_accessor :retained_versions
27
+ attr_accessor :retain_repo_versions
28
28
 
29
+ # An optional remote to use by default when syncing.
29
30
  attr_accessor :remote
30
31
 
31
32
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -58,7 +59,7 @@ module PulpRpmClient
58
59
  :'pulp_labels' => :'pulp_labels',
59
60
  :'name' => :'name',
60
61
  :'description' => :'description',
61
- :'retained_versions' => :'retained_versions',
62
+ :'retain_repo_versions' => :'retain_repo_versions',
62
63
  :'remote' => :'remote',
63
64
  :'autopublish' => :'autopublish',
64
65
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -77,7 +78,7 @@ module PulpRpmClient
77
78
  :'pulp_labels' => :'Object',
78
79
  :'name' => :'String',
79
80
  :'description' => :'String',
80
- :'retained_versions' => :'Integer',
81
+ :'retain_repo_versions' => :'Integer',
81
82
  :'remote' => :'String',
82
83
  :'autopublish' => :'Boolean',
83
84
  :'metadata_signing_service' => :'String',
@@ -94,7 +95,7 @@ module PulpRpmClient
94
95
  def self.openapi_nullable
95
96
  Set.new([
96
97
  :'description',
97
- :'retained_versions',
98
+ :'retain_repo_versions',
98
99
  :'remote',
99
100
  :'metadata_signing_service',
100
101
  :'metadata_checksum_type',
@@ -129,8 +130,8 @@ module PulpRpmClient
129
130
  self.description = attributes[:'description']
130
131
  end
131
132
 
132
- if attributes.key?(:'retained_versions')
133
- self.retained_versions = attributes[:'retained_versions']
133
+ if attributes.key?(:'retain_repo_versions')
134
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
134
135
  end
135
136
 
136
137
  if attributes.key?(:'remote')
@@ -182,8 +183,16 @@ module PulpRpmClient
182
183
  # @return Array for valid properties with the reasons
183
184
  def list_invalid_properties
184
185
  invalid_properties = Array.new
185
- if !@retained_versions.nil? && @retained_versions < 1
186
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
186
+ if !@name.nil? && @name.to_s.length < 1
187
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
188
+ end
189
+
190
+ if !@description.nil? && @description.to_s.length < 1
191
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
192
+ end
193
+
194
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
195
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
187
196
  end
188
197
 
189
198
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -212,7 +221,9 @@ module PulpRpmClient
212
221
  # Check to see if the all the properties in the model are valid
213
222
  # @return true if the model is valid
214
223
  def valid?
215
- return false if !@retained_versions.nil? && @retained_versions < 1
224
+ return false if !@name.nil? && @name.to_s.length < 1
225
+ return false if !@description.nil? && @description.to_s.length < 1
226
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
216
227
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
217
228
  return false if !@gpgcheck.nil? && @gpgcheck > 1
218
229
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -222,13 +233,33 @@ module PulpRpmClient
222
233
  end
223
234
 
224
235
  # Custom attribute writer method with validation
225
- # @param [Object] retained_versions Value to be assigned
226
- def retained_versions=(retained_versions)
227
- if !retained_versions.nil? && retained_versions < 1
228
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
236
+ # @param [Object] name Value to be assigned
237
+ def name=(name)
238
+ if !name.nil? && name.to_s.length < 1
239
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
240
+ end
241
+
242
+ @name = name
243
+ end
244
+
245
+ # Custom attribute writer method with validation
246
+ # @param [Object] description Value to be assigned
247
+ def description=(description)
248
+ if !description.nil? && description.to_s.length < 1
249
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
250
+ end
251
+
252
+ @description = description
253
+ end
254
+
255
+ # Custom attribute writer method with validation
256
+ # @param [Object] retain_repo_versions Value to be assigned
257
+ def retain_repo_versions=(retain_repo_versions)
258
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
259
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
229
260
  end
230
261
 
231
- @retained_versions = retained_versions
262
+ @retain_repo_versions = retain_repo_versions
232
263
  end
233
264
 
234
265
  # Custom attribute writer method with validation
@@ -277,7 +308,7 @@ module PulpRpmClient
277
308
  pulp_labels == o.pulp_labels &&
278
309
  name == o.name &&
279
310
  description == o.description &&
280
- retained_versions == o.retained_versions &&
311
+ retain_repo_versions == o.retain_repo_versions &&
281
312
  remote == o.remote &&
282
313
  autopublish == o.autopublish &&
283
314
  metadata_signing_service == o.metadata_signing_service &&
@@ -298,7 +329,7 @@ module PulpRpmClient
298
329
  # Calculates hash code according to all attributes.
299
330
  # @return [Integer] Hash code
300
331
  def hash
301
- [pulp_labels, name, description, retained_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
332
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
302
333
  end
303
334
 
304
335
  # Builds the object from hash
@@ -74,7 +74,7 @@ module PulpRpmClient
74
74
  # Headers for aiohttp.Clientsession
75
75
  attr_accessor :headers
76
76
 
77
- # Limits total download rate in requests per second
77
+ # Limits requests per second for each concurrent downloader
78
78
  attr_accessor :rate_limit
79
79
 
80
80
  # Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead.
@@ -266,6 +266,46 @@ module PulpRpmClient
266
266
  # @return Array for valid properties with the reasons
267
267
  def list_invalid_properties
268
268
  invalid_properties = Array.new
269
+ if !@name.nil? && @name.to_s.length < 1
270
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
271
+ end
272
+
273
+ if !@url.nil? && @url.to_s.length < 1
274
+ invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
275
+ end
276
+
277
+ if !@ca_cert.nil? && @ca_cert.to_s.length < 1
278
+ invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
279
+ end
280
+
281
+ if !@client_cert.nil? && @client_cert.to_s.length < 1
282
+ invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
283
+ end
284
+
285
+ if !@client_key.nil? && @client_key.to_s.length < 1
286
+ invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
287
+ end
288
+
289
+ if !@proxy_url.nil? && @proxy_url.to_s.length < 1
290
+ invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
291
+ end
292
+
293
+ if !@proxy_username.nil? && @proxy_username.to_s.length < 1
294
+ invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
295
+ end
296
+
297
+ if !@proxy_password.nil? && @proxy_password.to_s.length < 1
298
+ invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
299
+ end
300
+
301
+ if !@username.nil? && @username.to_s.length < 1
302
+ invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
303
+ end
304
+
305
+ if !@password.nil? && @password.to_s.length < 1
306
+ invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
307
+ end
308
+
269
309
  if !@download_concurrency.nil? && @download_concurrency < 1
270
310
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
271
311
  end
@@ -286,20 +326,135 @@ module PulpRpmClient
286
326
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
287
327
  end
288
328
 
329
+ if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
330
+ invalid_properties.push('invalid value for "uln_server_base_url", the character length must be great than or equal to 1.')
331
+ end
332
+
289
333
  invalid_properties
290
334
  end
291
335
 
292
336
  # Check to see if the all the properties in the model are valid
293
337
  # @return true if the model is valid
294
338
  def valid?
339
+ return false if !@name.nil? && @name.to_s.length < 1
340
+ return false if !@url.nil? && @url.to_s.length < 1
341
+ return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
342
+ return false if !@client_cert.nil? && @client_cert.to_s.length < 1
343
+ return false if !@client_key.nil? && @client_key.to_s.length < 1
344
+ return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
345
+ return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
346
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
347
+ return false if !@username.nil? && @username.to_s.length < 1
348
+ return false if !@password.nil? && @password.to_s.length < 1
295
349
  return false if !@download_concurrency.nil? && @download_concurrency < 1
296
350
  return false if !@total_timeout.nil? && @total_timeout < 0.0
297
351
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
298
352
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
299
353
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
354
+ return false if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
300
355
  true
301
356
  end
302
357
 
358
+ # Custom attribute writer method with validation
359
+ # @param [Object] name Value to be assigned
360
+ def name=(name)
361
+ if !name.nil? && name.to_s.length < 1
362
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
363
+ end
364
+
365
+ @name = name
366
+ end
367
+
368
+ # Custom attribute writer method with validation
369
+ # @param [Object] url Value to be assigned
370
+ def url=(url)
371
+ if !url.nil? && url.to_s.length < 1
372
+ fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
373
+ end
374
+
375
+ @url = url
376
+ end
377
+
378
+ # Custom attribute writer method with validation
379
+ # @param [Object] ca_cert Value to be assigned
380
+ def ca_cert=(ca_cert)
381
+ if !ca_cert.nil? && ca_cert.to_s.length < 1
382
+ fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
383
+ end
384
+
385
+ @ca_cert = ca_cert
386
+ end
387
+
388
+ # Custom attribute writer method with validation
389
+ # @param [Object] client_cert Value to be assigned
390
+ def client_cert=(client_cert)
391
+ if !client_cert.nil? && client_cert.to_s.length < 1
392
+ fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
393
+ end
394
+
395
+ @client_cert = client_cert
396
+ end
397
+
398
+ # Custom attribute writer method with validation
399
+ # @param [Object] client_key Value to be assigned
400
+ def client_key=(client_key)
401
+ if !client_key.nil? && client_key.to_s.length < 1
402
+ fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
403
+ end
404
+
405
+ @client_key = client_key
406
+ end
407
+
408
+ # Custom attribute writer method with validation
409
+ # @param [Object] proxy_url Value to be assigned
410
+ def proxy_url=(proxy_url)
411
+ if !proxy_url.nil? && proxy_url.to_s.length < 1
412
+ fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
413
+ end
414
+
415
+ @proxy_url = proxy_url
416
+ end
417
+
418
+ # Custom attribute writer method with validation
419
+ # @param [Object] proxy_username Value to be assigned
420
+ def proxy_username=(proxy_username)
421
+ if !proxy_username.nil? && proxy_username.to_s.length < 1
422
+ fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
423
+ end
424
+
425
+ @proxy_username = proxy_username
426
+ end
427
+
428
+ # Custom attribute writer method with validation
429
+ # @param [Object] proxy_password Value to be assigned
430
+ def proxy_password=(proxy_password)
431
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
432
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
433
+ end
434
+
435
+ @proxy_password = proxy_password
436
+ end
437
+
438
+ # Custom attribute writer method with validation
439
+ # @param [Object] username Value to be assigned
440
+ def username=(username)
441
+ if !username.nil? && username.to_s.length < 1
442
+ fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
443
+ end
444
+
445
+ @username = username
446
+ end
447
+
448
+ # Custom attribute writer method with validation
449
+ # @param [Object] password Value to be assigned
450
+ def password=(password)
451
+ if !password.nil? && password.to_s.length < 1
452
+ fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
453
+ end
454
+
455
+ @password = password
456
+ end
457
+
303
458
  # Custom attribute writer method with validation
304
459
  # @param [Object] download_concurrency Value to be assigned
305
460
  def download_concurrency=(download_concurrency)
@@ -350,6 +505,16 @@ module PulpRpmClient
350
505
  @sock_read_timeout = sock_read_timeout
351
506
  end
352
507
 
508
+ # Custom attribute writer method with validation
509
+ # @param [Object] uln_server_base_url Value to be assigned
510
+ def uln_server_base_url=(uln_server_base_url)
511
+ if !uln_server_base_url.nil? && uln_server_base_url.to_s.length < 1
512
+ fail ArgumentError, 'invalid value for "uln_server_base_url", the character length must be great than or equal to 1.'
513
+ end
514
+
515
+ @uln_server_base_url = uln_server_base_url
516
+ end
517
+
353
518
  # Checks equality by comparing each attribute.
354
519
  # @param [Object] Object to be compared
355
520
  def ==(o)