pulp_deb_client 3.3.1 → 3.5.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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -4
  3. data/docs/ContentGenericContentsApi.md +10 -8
  4. data/docs/ContentInstallerFileIndicesApi.md +10 -8
  5. data/docs/ContentInstallerPackagesApi.md +10 -8
  6. data/docs/ContentPackageIndicesApi.md +10 -8
  7. data/docs/ContentPackageReleaseComponentsApi.md +10 -8
  8. data/docs/ContentPackagesApi.md +10 -8
  9. data/docs/ContentReleaseArchitecturesApi.md +10 -8
  10. data/docs/ContentReleaseComponentsApi.md +10 -8
  11. data/docs/ContentReleaseFilesApi.md +10 -8
  12. data/docs/ContentReleasesApi.md +10 -8
  13. data/docs/ContentSourceIndicesApi.md +10 -8
  14. data/docs/ContentSourcePackagesApi.md +10 -8
  15. data/docs/ContentSourceReleaseComponentsApi.md +10 -8
  16. data/docs/DebAptDistributionResponse.md +4 -0
  17. data/docs/DebAptPublicationResponse.md +2 -0
  18. data/docs/DebAptRemoteResponse.md +2 -0
  19. data/docs/DebAptRepositoryResponse.md +2 -0
  20. data/docs/DebGenericContentResponse.md +2 -0
  21. data/docs/DebInstallerFileIndexResponse.md +2 -0
  22. data/docs/DebInstallerPackageResponse.md +2 -0
  23. data/docs/DebPackageIndexResponse.md +2 -0
  24. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  25. data/docs/DebPackageResponse.md +2 -0
  26. data/docs/DebReleaseArchitectureResponse.md +2 -0
  27. data/docs/DebReleaseComponentResponse.md +5 -1
  28. data/docs/DebReleaseFileResponse.md +2 -0
  29. data/docs/DebReleaseResponse.md +2 -0
  30. data/docs/DebSourceIndexResponse.md +2 -0
  31. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  32. data/docs/DebSourcePackageResponse.md +4 -0
  33. data/docs/DebVerbatimPublicationResponse.md +2 -0
  34. data/docs/DistributionsAptApi.md +236 -2
  35. data/docs/MyPermissionsResponse.md +17 -0
  36. data/docs/NestedRole.md +21 -0
  37. data/docs/NestedRoleResponse.md +21 -0
  38. data/docs/ObjectRolesResponse.md +17 -0
  39. data/docs/PublicationsAptApi.md +244 -10
  40. data/docs/PublicationsVerbatimApi.md +244 -10
  41. data/docs/RemotesAptApi.md +236 -2
  42. data/docs/RepositoriesAptApi.md +240 -6
  43. data/docs/RepositoriesAptVersionsApi.md +8 -6
  44. data/docs/RepositoryVersionResponse.md +2 -0
  45. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +11 -8
  46. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
  47. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +11 -8
  48. data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
  49. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
  50. data/lib/pulp_deb_client/api/content_packages_api.rb +11 -8
  51. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
  52. data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
  53. data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
  54. data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
  55. data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
  56. data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
  57. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
  58. data/lib/pulp_deb_client/api/distributions_apt_api.rb +281 -2
  59. data/lib/pulp_deb_client/api/publications_apt_api.rb +290 -11
  60. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +290 -11
  61. data/lib/pulp_deb_client/api/remotes_apt_api.rb +281 -2
  62. data/lib/pulp_deb_client/api/repositories_apt_api.rb +285 -6
  63. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
  64. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
  65. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
  66. data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
  67. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -21
  68. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
  69. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
  70. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
  71. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
  72. data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
  73. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
  74. data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
  75. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
  76. data/lib/pulp_deb_client/models/deb_release_component_response.rb +24 -4
  77. data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
  78. data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
  79. data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
  80. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
  81. data/lib/pulp_deb_client/models/deb_source_package_response.rb +21 -1
  82. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
  83. data/lib/pulp_deb_client/models/my_permissions_response.rb +213 -0
  84. data/lib/pulp_deb_client/models/nested_role.rb +253 -0
  85. data/lib/pulp_deb_client/models/nested_role_response.rb +234 -0
  86. data/lib/pulp_deb_client/models/object_roles_response.rb +213 -0
  87. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
  88. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
  89. data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
  90. data/lib/pulp_deb_client/version.rb +1 -1
  91. data/lib/pulp_deb_client.rb +4 -0
  92. data/spec/api/content_generic_contents_api_spec.rb +5 -4
  93. data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
  94. data/spec/api/content_installer_packages_api_spec.rb +5 -4
  95. data/spec/api/content_package_indices_api_spec.rb +5 -4
  96. data/spec/api/content_package_release_components_api_spec.rb +5 -4
  97. data/spec/api/content_packages_api_spec.rb +5 -4
  98. data/spec/api/content_release_architectures_api_spec.rb +5 -4
  99. data/spec/api/content_release_components_api_spec.rb +5 -4
  100. data/spec/api/content_release_files_api_spec.rb +5 -4
  101. data/spec/api/content_releases_api_spec.rb +5 -4
  102. data/spec/api/content_source_indices_api_spec.rb +5 -4
  103. data/spec/api/content_source_packages_api_spec.rb +5 -4
  104. data/spec/api/content_source_release_components_api_spec.rb +5 -4
  105. data/spec/api/distributions_apt_api_spec.rb +56 -1
  106. data/spec/api/publications_apt_api_spec.rb +60 -5
  107. data/spec/api/publications_verbatim_api_spec.rb +60 -5
  108. data/spec/api/remotes_apt_api_spec.rb +56 -1
  109. data/spec/api/repositories_apt_api_spec.rb +58 -3
  110. data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
  111. data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
  112. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  113. data/spec/models/deb_apt_remote_response_spec.rb +6 -0
  114. data/spec/models/deb_apt_repository_response_spec.rb +6 -0
  115. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  116. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  117. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  118. data/spec/models/deb_package_index_response_spec.rb +6 -0
  119. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  120. data/spec/models/deb_package_response_spec.rb +6 -0
  121. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  122. data/spec/models/deb_release_component_response_spec.rb +12 -0
  123. data/spec/models/deb_release_file_response_spec.rb +6 -0
  124. data/spec/models/deb_release_response_spec.rb +6 -0
  125. data/spec/models/deb_source_index_response_spec.rb +6 -0
  126. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  127. data/spec/models/deb_source_package_response_spec.rb +12 -0
  128. data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
  129. data/spec/models/my_permissions_response_spec.rb +41 -0
  130. data/spec/models/nested_role_response_spec.rb +53 -0
  131. data/spec/models/nested_role_spec.rb +53 -0
  132. data/spec/models/object_roles_response_spec.rb +41 -0
  133. data/spec/models/repository_version_response_spec.rb +6 -0
  134. metadata +91 -75
@@ -387,20 +387,20 @@ module PulpDebClient
387
387
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
388
388
  end
389
389
 
390
- if !@total_timeout.nil? && @total_timeout < 0
391
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
390
+ if !@total_timeout.nil? && @total_timeout < 0.0
391
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
392
392
  end
393
393
 
394
- if !@connect_timeout.nil? && @connect_timeout < 0
395
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
394
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
395
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
396
396
  end
397
397
 
398
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
399
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
398
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
399
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
400
400
  end
401
401
 
402
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
403
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
402
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
403
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
404
404
  end
405
405
 
406
406
  if @distributions.nil?
@@ -442,10 +442,10 @@ module PulpDebClient
442
442
  return false if !@username.nil? && @username.to_s.length < 1
443
443
  return false if !@password.nil? && @password.to_s.length < 1
444
444
  return false if !@download_concurrency.nil? && @download_concurrency < 1
445
- return false if !@total_timeout.nil? && @total_timeout < 0
446
- return false if !@connect_timeout.nil? && @connect_timeout < 0
447
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
448
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
445
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
446
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
447
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
448
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
449
449
  return false if @distributions.nil?
450
450
  return false if @distributions.to_s.length < 1
451
451
  return false if !@components.nil? && @components.to_s.length < 1
@@ -575,8 +575,8 @@ module PulpDebClient
575
575
  # Custom attribute writer method with validation
576
576
  # @param [Object] total_timeout Value to be assigned
577
577
  def total_timeout=(total_timeout)
578
- if !total_timeout.nil? && total_timeout < 0
579
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
578
+ if !total_timeout.nil? && total_timeout < 0.0
579
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
580
580
  end
581
581
 
582
582
  @total_timeout = total_timeout
@@ -585,8 +585,8 @@ module PulpDebClient
585
585
  # Custom attribute writer method with validation
586
586
  # @param [Object] connect_timeout Value to be assigned
587
587
  def connect_timeout=(connect_timeout)
588
- if !connect_timeout.nil? && connect_timeout < 0
589
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
588
+ if !connect_timeout.nil? && connect_timeout < 0.0
589
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
590
590
  end
591
591
 
592
592
  @connect_timeout = connect_timeout
@@ -595,8 +595,8 @@ module PulpDebClient
595
595
  # Custom attribute writer method with validation
596
596
  # @param [Object] sock_connect_timeout Value to be assigned
597
597
  def sock_connect_timeout=(sock_connect_timeout)
598
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
599
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
598
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
599
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
600
600
  end
601
601
 
602
602
  @sock_connect_timeout = sock_connect_timeout
@@ -605,8 +605,8 @@ module PulpDebClient
605
605
  # Custom attribute writer method with validation
606
606
  # @param [Object] sock_read_timeout Value to be assigned
607
607
  def sock_read_timeout=(sock_read_timeout)
608
- if !sock_read_timeout.nil? && sock_read_timeout < 0
609
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
608
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
609
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
610
610
  end
611
611
 
612
612
  @sock_read_timeout = sock_read_timeout
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebAptRemoteResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -101,6 +104,7 @@ module PulpDebClient
101
104
  def self.attribute_map
102
105
  {
103
106
  :'pulp_href' => :'pulp_href',
107
+ :'prn' => :'prn',
104
108
  :'pulp_created' => :'pulp_created',
105
109
  :'pulp_last_updated' => :'pulp_last_updated',
106
110
  :'name' => :'name',
@@ -135,6 +139,7 @@ module PulpDebClient
135
139
  def self.openapi_types
136
140
  {
137
141
  :'pulp_href' => :'String',
142
+ :'prn' => :'String',
138
143
  :'pulp_created' => :'DateTime',
139
144
  :'pulp_last_updated' => :'DateTime',
140
145
  :'name' => :'String',
@@ -203,6 +208,10 @@ module PulpDebClient
203
208
  self.pulp_href = attributes[:'pulp_href']
204
209
  end
205
210
 
211
+ if attributes.key?(:'prn')
212
+ self.prn = attributes[:'prn']
213
+ end
214
+
206
215
  if attributes.key?(:'pulp_created')
207
216
  self.pulp_created = attributes[:'pulp_created']
208
217
  end
@@ -334,20 +343,20 @@ module PulpDebClient
334
343
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
335
344
  end
336
345
 
337
- if !@total_timeout.nil? && @total_timeout < 0
338
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
346
+ if !@total_timeout.nil? && @total_timeout < 0.0
347
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
339
348
  end
340
349
 
341
- if !@connect_timeout.nil? && @connect_timeout < 0
342
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
350
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
351
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
343
352
  end
344
353
 
345
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
346
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
354
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
355
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
347
356
  end
348
357
 
349
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
350
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
358
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
359
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
351
360
  end
352
361
 
353
362
  if @distributions.nil?
@@ -363,10 +372,10 @@ module PulpDebClient
363
372
  return false if @name.nil?
364
373
  return false if @url.nil?
365
374
  return false if !@download_concurrency.nil? && @download_concurrency < 1
366
- return false if !@total_timeout.nil? && @total_timeout < 0
367
- return false if !@connect_timeout.nil? && @connect_timeout < 0
368
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
369
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
375
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
376
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
377
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
378
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
370
379
  return false if @distributions.nil?
371
380
  true
372
381
  end
@@ -384,8 +393,8 @@ module PulpDebClient
384
393
  # Custom attribute writer method with validation
385
394
  # @param [Object] total_timeout Value to be assigned
386
395
  def total_timeout=(total_timeout)
387
- if !total_timeout.nil? && total_timeout < 0
388
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
396
+ if !total_timeout.nil? && total_timeout < 0.0
397
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
389
398
  end
390
399
 
391
400
  @total_timeout = total_timeout
@@ -394,8 +403,8 @@ module PulpDebClient
394
403
  # Custom attribute writer method with validation
395
404
  # @param [Object] connect_timeout Value to be assigned
396
405
  def connect_timeout=(connect_timeout)
397
- if !connect_timeout.nil? && connect_timeout < 0
398
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
406
+ if !connect_timeout.nil? && connect_timeout < 0.0
407
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
399
408
  end
400
409
 
401
410
  @connect_timeout = connect_timeout
@@ -404,8 +413,8 @@ module PulpDebClient
404
413
  # Custom attribute writer method with validation
405
414
  # @param [Object] sock_connect_timeout Value to be assigned
406
415
  def sock_connect_timeout=(sock_connect_timeout)
407
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
408
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
416
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
417
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
409
418
  end
410
419
 
411
420
  @sock_connect_timeout = sock_connect_timeout
@@ -414,8 +423,8 @@ module PulpDebClient
414
423
  # Custom attribute writer method with validation
415
424
  # @param [Object] sock_read_timeout Value to be assigned
416
425
  def sock_read_timeout=(sock_read_timeout)
417
- if !sock_read_timeout.nil? && sock_read_timeout < 0
418
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
426
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
427
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
419
428
  end
420
429
 
421
430
  @sock_read_timeout = sock_read_timeout
@@ -427,6 +436,7 @@ module PulpDebClient
427
436
  return true if self.equal?(o)
428
437
  self.class == o.class &&
429
438
  pulp_href == o.pulp_href &&
439
+ prn == o.prn &&
430
440
  pulp_created == o.pulp_created &&
431
441
  pulp_last_updated == o.pulp_last_updated &&
432
442
  name == o.name &&
@@ -465,7 +475,7 @@ module PulpDebClient
465
475
  # Calculates hash code according to all attributes.
466
476
  # @return [Integer] Hash code
467
477
  def hash
468
- [pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
478
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
469
479
  end
470
480
 
471
481
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebAptRepositoryResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -54,6 +57,7 @@ module PulpDebClient
54
57
  def self.attribute_map
55
58
  {
56
59
  :'pulp_href' => :'pulp_href',
60
+ :'prn' => :'prn',
57
61
  :'pulp_created' => :'pulp_created',
58
62
  :'pulp_last_updated' => :'pulp_last_updated',
59
63
  :'versions_href' => :'versions_href',
@@ -73,6 +77,7 @@ module PulpDebClient
73
77
  def self.openapi_types
74
78
  {
75
79
  :'pulp_href' => :'String',
80
+ :'prn' => :'String',
76
81
  :'pulp_created' => :'DateTime',
77
82
  :'pulp_last_updated' => :'DateTime',
78
83
  :'versions_href' => :'String',
@@ -117,6 +122,10 @@ module PulpDebClient
117
122
  self.pulp_href = attributes[:'pulp_href']
118
123
  end
119
124
 
125
+ if attributes.key?(:'prn')
126
+ self.prn = attributes[:'prn']
127
+ end
128
+
120
129
  if attributes.key?(:'pulp_created')
121
130
  self.pulp_created = attributes[:'pulp_created']
122
131
  end
@@ -209,6 +218,7 @@ module PulpDebClient
209
218
  return true if self.equal?(o)
210
219
  self.class == o.class &&
211
220
  pulp_href == o.pulp_href &&
221
+ prn == o.prn &&
212
222
  pulp_created == o.pulp_created &&
213
223
  pulp_last_updated == o.pulp_last_updated &&
214
224
  versions_href == o.versions_href &&
@@ -232,7 +242,7 @@ module PulpDebClient
232
242
  # Calculates hash code according to all attributes.
233
243
  # @return [Integer] Hash code
234
244
  def hash
235
- [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
245
+ [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
236
246
  end
237
247
 
238
248
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebGenericContentResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -51,6 +54,7 @@ module PulpDebClient
51
54
  def self.attribute_map
52
55
  {
53
56
  :'pulp_href' => :'pulp_href',
57
+ :'prn' => :'prn',
54
58
  :'pulp_created' => :'pulp_created',
55
59
  :'pulp_last_updated' => :'pulp_last_updated',
56
60
  :'artifact' => :'artifact',
@@ -68,6 +72,7 @@ module PulpDebClient
68
72
  def self.openapi_types
69
73
  {
70
74
  :'pulp_href' => :'String',
75
+ :'prn' => :'String',
71
76
  :'pulp_created' => :'DateTime',
72
77
  :'pulp_last_updated' => :'DateTime',
73
78
  :'artifact' => :'String',
@@ -106,6 +111,10 @@ module PulpDebClient
106
111
  self.pulp_href = attributes[:'pulp_href']
107
112
  end
108
113
 
114
+ if attributes.key?(:'prn')
115
+ self.prn = attributes[:'prn']
116
+ end
117
+
109
118
  if attributes.key?(:'pulp_created')
110
119
  self.pulp_created = attributes[:'pulp_created']
111
120
  end
@@ -171,6 +180,7 @@ module PulpDebClient
171
180
  return true if self.equal?(o)
172
181
  self.class == o.class &&
173
182
  pulp_href == o.pulp_href &&
183
+ prn == o.prn &&
174
184
  pulp_created == o.pulp_created &&
175
185
  pulp_last_updated == o.pulp_last_updated &&
176
186
  artifact == o.artifact &&
@@ -192,7 +202,7 @@ module PulpDebClient
192
202
  # Calculates hash code according to all attributes.
193
203
  # @return [Integer] Hash code
194
204
  def hash
195
- [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
205
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
196
206
  end
197
207
 
198
208
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebInstallerFileIndexResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -39,6 +42,7 @@ module PulpDebClient
39
42
  def self.attribute_map
40
43
  {
41
44
  :'pulp_href' => :'pulp_href',
45
+ :'prn' => :'prn',
42
46
  :'pulp_created' => :'pulp_created',
43
47
  :'pulp_last_updated' => :'pulp_last_updated',
44
48
  :'artifacts' => :'artifacts',
@@ -52,6 +56,7 @@ module PulpDebClient
52
56
  def self.openapi_types
53
57
  {
54
58
  :'pulp_href' => :'String',
59
+ :'prn' => :'String',
55
60
  :'pulp_created' => :'DateTime',
56
61
  :'pulp_last_updated' => :'DateTime',
57
62
  :'artifacts' => :'Object',
@@ -86,6 +91,10 @@ module PulpDebClient
86
91
  self.pulp_href = attributes[:'pulp_href']
87
92
  end
88
93
 
94
+ if attributes.key?(:'prn')
95
+ self.prn = attributes[:'prn']
96
+ end
97
+
89
98
  if attributes.key?(:'pulp_created')
90
99
  self.pulp_created = attributes[:'pulp_created']
91
100
  end
@@ -145,6 +154,7 @@ module PulpDebClient
145
154
  return true if self.equal?(o)
146
155
  self.class == o.class &&
147
156
  pulp_href == o.pulp_href &&
157
+ prn == o.prn &&
148
158
  pulp_created == o.pulp_created &&
149
159
  pulp_last_updated == o.pulp_last_updated &&
150
160
  artifacts == o.artifacts &&
@@ -162,7 +172,7 @@ module PulpDebClient
162
172
  # Calculates hash code according to all attributes.
163
173
  # @return [Integer] Hash code
164
174
  def hash
165
- [pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
175
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
166
176
  end
167
177
 
168
178
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebInstallerPackageResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -109,6 +112,7 @@ module PulpDebClient
109
112
  def self.attribute_map
110
113
  {
111
114
  :'pulp_href' => :'pulp_href',
115
+ :'prn' => :'prn',
112
116
  :'pulp_created' => :'pulp_created',
113
117
  :'pulp_last_updated' => :'pulp_last_updated',
114
118
  :'artifact' => :'artifact',
@@ -155,6 +159,7 @@ module PulpDebClient
155
159
  def self.openapi_types
156
160
  {
157
161
  :'pulp_href' => :'String',
162
+ :'prn' => :'String',
158
163
  :'pulp_created' => :'DateTime',
159
164
  :'pulp_last_updated' => :'DateTime',
160
165
  :'artifact' => :'String',
@@ -222,6 +227,10 @@ module PulpDebClient
222
227
  self.pulp_href = attributes[:'pulp_href']
223
228
  end
224
229
 
230
+ if attributes.key?(:'prn')
231
+ self.prn = attributes[:'prn']
232
+ end
233
+
225
234
  if attributes.key?(:'pulp_created')
226
235
  self.pulp_created = attributes[:'pulp_created']
227
236
  end
@@ -398,6 +407,7 @@ module PulpDebClient
398
407
  return true if self.equal?(o)
399
408
  self.class == o.class &&
400
409
  pulp_href == o.pulp_href &&
410
+ prn == o.prn &&
401
411
  pulp_created == o.pulp_created &&
402
412
  pulp_last_updated == o.pulp_last_updated &&
403
413
  artifact == o.artifact &&
@@ -448,7 +458,7 @@ module PulpDebClient
448
458
  # Calculates hash code according to all attributes.
449
459
  # @return [Integer] Hash code
450
460
  def hash
451
- [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
461
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
452
462
  end
453
463
 
454
464
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebPackageIndexResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -39,6 +42,7 @@ module PulpDebClient
39
42
  def self.attribute_map
40
43
  {
41
44
  :'pulp_href' => :'pulp_href',
45
+ :'prn' => :'prn',
42
46
  :'pulp_created' => :'pulp_created',
43
47
  :'pulp_last_updated' => :'pulp_last_updated',
44
48
  :'artifacts' => :'artifacts',
@@ -52,6 +56,7 @@ module PulpDebClient
52
56
  def self.openapi_types
53
57
  {
54
58
  :'pulp_href' => :'String',
59
+ :'prn' => :'String',
55
60
  :'pulp_created' => :'DateTime',
56
61
  :'pulp_last_updated' => :'DateTime',
57
62
  :'artifacts' => :'Object',
@@ -86,6 +91,10 @@ module PulpDebClient
86
91
  self.pulp_href = attributes[:'pulp_href']
87
92
  end
88
93
 
94
+ if attributes.key?(:'prn')
95
+ self.prn = attributes[:'prn']
96
+ end
97
+
89
98
  if attributes.key?(:'pulp_created')
90
99
  self.pulp_created = attributes[:'pulp_created']
91
100
  end
@@ -135,6 +144,7 @@ module PulpDebClient
135
144
  return true if self.equal?(o)
136
145
  self.class == o.class &&
137
146
  pulp_href == o.pulp_href &&
147
+ prn == o.prn &&
138
148
  pulp_created == o.pulp_created &&
139
149
  pulp_last_updated == o.pulp_last_updated &&
140
150
  artifacts == o.artifacts &&
@@ -152,7 +162,7 @@ module PulpDebClient
152
162
  # Calculates hash code according to all attributes.
153
163
  # @return [Integer] Hash code
154
164
  def hash
155
- [pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
165
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
156
166
  end
157
167
 
158
168
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebPackageReleaseComponentResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -33,6 +36,7 @@ module PulpDebClient
33
36
  def self.attribute_map
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
39
+ :'prn' => :'prn',
36
40
  :'pulp_created' => :'pulp_created',
37
41
  :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'package' => :'package',
@@ -44,6 +48,7 @@ module PulpDebClient
44
48
  def self.openapi_types
45
49
  {
46
50
  :'pulp_href' => :'String',
51
+ :'prn' => :'String',
47
52
  :'pulp_created' => :'DateTime',
48
53
  :'pulp_last_updated' => :'DateTime',
49
54
  :'package' => :'String',
@@ -76,6 +81,10 @@ module PulpDebClient
76
81
  self.pulp_href = attributes[:'pulp_href']
77
82
  end
78
83
 
84
+ if attributes.key?(:'prn')
85
+ self.prn = attributes[:'prn']
86
+ end
87
+
79
88
  if attributes.key?(:'pulp_created')
80
89
  self.pulp_created = attributes[:'pulp_created']
81
90
  end
@@ -122,6 +131,7 @@ module PulpDebClient
122
131
  return true if self.equal?(o)
123
132
  self.class == o.class &&
124
133
  pulp_href == o.pulp_href &&
134
+ prn == o.prn &&
125
135
  pulp_created == o.pulp_created &&
126
136
  pulp_last_updated == o.pulp_last_updated &&
127
137
  package == o.package &&
@@ -137,7 +147,7 @@ module PulpDebClient
137
147
  # Calculates hash code according to all attributes.
138
148
  # @return [Integer] Hash code
139
149
  def hash
140
- [pulp_href, pulp_created, pulp_last_updated, package, release_component].hash
150
+ [pulp_href, prn, pulp_created, pulp_last_updated, package, release_component].hash
141
151
  end
142
152
 
143
153
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebPackageResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -115,6 +118,7 @@ module PulpDebClient
115
118
  def self.attribute_map
116
119
  {
117
120
  :'pulp_href' => :'pulp_href',
121
+ :'prn' => :'prn',
118
122
  :'pulp_created' => :'pulp_created',
119
123
  :'pulp_last_updated' => :'pulp_last_updated',
120
124
  :'artifact' => :'artifact',
@@ -163,6 +167,7 @@ module PulpDebClient
163
167
  def self.openapi_types
164
168
  {
165
169
  :'pulp_href' => :'String',
170
+ :'prn' => :'String',
166
171
  :'pulp_created' => :'DateTime',
167
172
  :'pulp_last_updated' => :'DateTime',
168
173
  :'artifact' => :'String',
@@ -232,6 +237,10 @@ module PulpDebClient
232
237
  self.pulp_href = attributes[:'pulp_href']
233
238
  end
234
239
 
240
+ if attributes.key?(:'prn')
241
+ self.prn = attributes[:'prn']
242
+ end
243
+
235
244
  if attributes.key?(:'pulp_created')
236
245
  self.pulp_created = attributes[:'pulp_created']
237
246
  end
@@ -416,6 +425,7 @@ module PulpDebClient
416
425
  return true if self.equal?(o)
417
426
  self.class == o.class &&
418
427
  pulp_href == o.pulp_href &&
428
+ prn == o.prn &&
419
429
  pulp_created == o.pulp_created &&
420
430
  pulp_last_updated == o.pulp_last_updated &&
421
431
  artifact == o.artifact &&
@@ -468,7 +478,7 @@ module PulpDebClient
468
478
  # Calculates hash code according to all attributes.
469
479
  # @return [Integer] Hash code
470
480
  def hash
471
- [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
481
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
472
482
  end
473
483
 
474
484
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebReleaseArchitectureResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -33,6 +36,7 @@ module PulpDebClient
33
36
  def self.attribute_map
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
39
+ :'prn' => :'prn',
36
40
  :'pulp_created' => :'pulp_created',
37
41
  :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'architecture' => :'architecture',
@@ -44,6 +48,7 @@ module PulpDebClient
44
48
  def self.openapi_types
45
49
  {
46
50
  :'pulp_href' => :'String',
51
+ :'prn' => :'String',
47
52
  :'pulp_created' => :'DateTime',
48
53
  :'pulp_last_updated' => :'DateTime',
49
54
  :'architecture' => :'String',
@@ -76,6 +81,10 @@ module PulpDebClient
76
81
  self.pulp_href = attributes[:'pulp_href']
77
82
  end
78
83
 
84
+ if attributes.key?(:'prn')
85
+ self.prn = attributes[:'prn']
86
+ end
87
+
79
88
  if attributes.key?(:'pulp_created')
80
89
  self.pulp_created = attributes[:'pulp_created']
81
90
  end
@@ -122,6 +131,7 @@ module PulpDebClient
122
131
  return true if self.equal?(o)
123
132
  self.class == o.class &&
124
133
  pulp_href == o.pulp_href &&
134
+ prn == o.prn &&
125
135
  pulp_created == o.pulp_created &&
126
136
  pulp_last_updated == o.pulp_last_updated &&
127
137
  architecture == o.architecture &&
@@ -137,7 +147,7 @@ module PulpDebClient
137
147
  # Calculates hash code according to all attributes.
138
148
  # @return [Integer] Hash code
139
149
  def hash
140
- [pulp_href, pulp_created, pulp_last_updated, architecture, distribution].hash
150
+ [pulp_href, prn, pulp_created, pulp_last_updated, architecture, distribution].hash
141
151
  end
142
152
 
143
153
  # Builds the object from hash