pulp_deb_client 2.11.2 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +8 -8
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +3 -3
  6. data/docs/DebAptDistribution.md +2 -0
  7. data/docs/DebAptDistributionResponse.md +2 -0
  8. data/docs/DebAptRemote.md +7 -5
  9. data/docs/DebAptRemoteResponse.md +7 -5
  10. data/docs/DebAptRepository.md +2 -0
  11. data/docs/DebAptRepositoryResponse.md +2 -0
  12. data/docs/PatcheddebAptDistribution.md +2 -0
  13. data/docs/PatcheddebAptRemote.md +7 -5
  14. data/docs/PatcheddebAptRepository.md +2 -0
  15. data/docs/PublicationsAptApi.md +4 -0
  16. data/docs/PublicationsVerbatimApi.md +4 -0
  17. data/docs/{RepositoriesDebVersionsApi.md → RepositoriesAptVersionsApi.md} +13 -13
  18. data/docs/RepositoryAddRemoveContent.md +2 -2
  19. data/docs/RepositoryVersionResponse.md +2 -0
  20. data/lib/pulp_deb_client.rb +2 -2
  21. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
  22. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +1 -1
  23. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -9
  24. data/lib/pulp_deb_client/api/content_package_indices_api.rb +1 -1
  25. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +1 -1
  26. data/lib/pulp_deb_client/api/content_packages_api.rb +1 -9
  27. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +1 -1
  28. data/lib/pulp_deb_client/api/content_release_components_api.rb +1 -1
  29. data/lib/pulp_deb_client/api/content_release_files_api.rb +1 -1
  30. data/lib/pulp_deb_client/api/content_releases_api.rb +1 -1
  31. data/lib/pulp_deb_client/api/distributions_apt_api.rb +1 -1
  32. data/lib/pulp_deb_client/api/publications_apt_api.rb +7 -1
  33. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +7 -1
  34. data/lib/pulp_deb_client/api/remotes_apt_api.rb +1 -1
  35. data/lib/pulp_deb_client/api/repositories_apt_api.rb +1 -1
  36. data/lib/pulp_deb_client/api/{repositories_deb_versions_api.rb → repositories_apt_versions_api.rb} +15 -35
  37. data/lib/pulp_deb_client/api_client.rb +12 -8
  38. data/lib/pulp_deb_client/api_error.rb +1 -1
  39. data/lib/pulp_deb_client/configuration.rb +8 -1
  40. data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
  41. data/lib/pulp_deb_client/models/content_summary.rb +13 -7
  42. data/lib/pulp_deb_client/models/content_summary_response.rb +13 -7
  43. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +13 -2
  44. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +13 -2
  45. data/lib/pulp_deb_client/models/deb_apt_publication.rb +1 -1
  46. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +1 -1
  47. data/lib/pulp_deb_client/models/deb_apt_remote.rb +19 -7
  48. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +19 -7
  49. data/lib/pulp_deb_client/models/deb_apt_repository.rb +28 -2
  50. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +28 -2
  51. data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
  52. data/lib/pulp_deb_client/models/deb_base_package_response.rb +1 -1
  53. data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
  54. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +1 -1
  55. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
  56. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -1
  57. data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
  58. data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -1
  59. data/lib/pulp_deb_client/models/deb_package_release_component.rb +1 -1
  60. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +1 -1
  61. data/lib/pulp_deb_client/models/deb_release.rb +1 -1
  62. data/lib/pulp_deb_client/models/deb_release_architecture.rb +1 -1
  63. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +1 -1
  64. data/lib/pulp_deb_client/models/deb_release_component.rb +1 -1
  65. data/lib/pulp_deb_client/models/deb_release_component_response.rb +1 -1
  66. data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
  67. data/lib/pulp_deb_client/models/deb_release_file_response.rb +1 -1
  68. data/lib/pulp_deb_client/models/deb_release_response.rb +1 -1
  69. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
  70. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +1 -1
  71. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +1 -1
  72. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +1 -1
  73. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +1 -1
  74. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +1 -1
  75. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +1 -1
  76. data/lib/pulp_deb_client/models/paginateddeb_base_package_response_list.rb +1 -1
  77. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +1 -1
  78. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +1 -1
  79. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +1 -1
  80. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +1 -1
  81. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +1 -1
  82. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +1 -1
  83. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +1 -1
  84. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +1 -1
  85. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +1 -1
  86. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +13 -2
  87. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +19 -7
  88. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +28 -2
  89. data/lib/pulp_deb_client/models/policy_enum.rb +1 -1
  90. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +3 -3
  91. data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
  92. data/lib/pulp_deb_client/models/repository_version.rb +1 -1
  93. data/lib/pulp_deb_client/models/repository_version_response.rb +11 -2
  94. data/lib/pulp_deb_client/version.rb +2 -2
  95. data/pulp_deb_client.gemspec +1 -1
  96. data/spec/api/content_generic_contents_api_spec.rb +1 -1
  97. data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
  98. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  99. data/spec/api/content_package_indices_api_spec.rb +1 -1
  100. data/spec/api/content_package_release_components_api_spec.rb +1 -1
  101. data/spec/api/content_packages_api_spec.rb +1 -1
  102. data/spec/api/content_release_architectures_api_spec.rb +1 -1
  103. data/spec/api/content_release_components_api_spec.rb +1 -1
  104. data/spec/api/content_release_files_api_spec.rb +1 -1
  105. data/spec/api/content_releases_api_spec.rb +1 -1
  106. data/spec/api/distributions_apt_api_spec.rb +1 -1
  107. data/spec/api/publications_apt_api_spec.rb +3 -1
  108. data/spec/api/publications_verbatim_api_spec.rb +3 -1
  109. data/spec/api/remotes_apt_api_spec.rb +1 -1
  110. data/spec/api/repositories_apt_api_spec.rb +1 -1
  111. data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb} +7 -7
  112. data/spec/api_client_spec.rb +2 -2
  113. data/spec/configuration_spec.rb +1 -1
  114. data/spec/models/async_operation_response_spec.rb +1 -1
  115. data/spec/models/content_summary_response_spec.rb +1 -1
  116. data/spec/models/content_summary_spec.rb +1 -1
  117. data/spec/models/deb_apt_distribution_response_spec.rb +7 -1
  118. data/spec/models/deb_apt_distribution_spec.rb +7 -1
  119. data/spec/models/deb_apt_publication_response_spec.rb +1 -1
  120. data/spec/models/deb_apt_publication_spec.rb +1 -1
  121. data/spec/models/deb_apt_remote_response_spec.rb +7 -1
  122. data/spec/models/deb_apt_remote_spec.rb +7 -1
  123. data/spec/models/deb_apt_repository_response_spec.rb +7 -1
  124. data/spec/models/deb_apt_repository_spec.rb +7 -1
  125. data/spec/models/deb_base_package_response_spec.rb +1 -1
  126. data/spec/models/deb_base_package_spec.rb +1 -1
  127. data/spec/models/deb_generic_content_response_spec.rb +1 -1
  128. data/spec/models/deb_generic_content_spec.rb +1 -1
  129. data/spec/models/deb_installer_file_index_response_spec.rb +1 -1
  130. data/spec/models/deb_installer_file_index_spec.rb +1 -1
  131. data/spec/models/deb_package_index_response_spec.rb +1 -1
  132. data/spec/models/deb_package_index_spec.rb +1 -1
  133. data/spec/models/deb_package_release_component_response_spec.rb +1 -1
  134. data/spec/models/deb_package_release_component_spec.rb +1 -1
  135. data/spec/models/deb_release_architecture_response_spec.rb +1 -1
  136. data/spec/models/deb_release_architecture_spec.rb +1 -1
  137. data/spec/models/deb_release_component_response_spec.rb +1 -1
  138. data/spec/models/deb_release_component_spec.rb +1 -1
  139. data/spec/models/deb_release_file_response_spec.rb +1 -1
  140. data/spec/models/deb_release_file_spec.rb +1 -1
  141. data/spec/models/deb_release_response_spec.rb +1 -1
  142. data/spec/models/deb_release_spec.rb +1 -1
  143. data/spec/models/deb_verbatim_publication_response_spec.rb +1 -1
  144. data/spec/models/deb_verbatim_publication_spec.rb +1 -1
  145. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  146. data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +1 -1
  147. data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +1 -1
  148. data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +1 -1
  149. data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +1 -1
  150. data/spec/models/paginateddeb_base_package_response_list_spec.rb +1 -1
  151. data/spec/models/paginateddeb_generic_content_response_list_spec.rb +1 -1
  152. data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +1 -1
  153. data/spec/models/paginateddeb_package_index_response_list_spec.rb +1 -1
  154. data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +1 -1
  155. data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +1 -1
  156. data/spec/models/paginateddeb_release_component_response_list_spec.rb +1 -1
  157. data/spec/models/paginateddeb_release_file_response_list_spec.rb +1 -1
  158. data/spec/models/paginateddeb_release_response_list_spec.rb +1 -1
  159. data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +1 -1
  160. data/spec/models/patcheddeb_apt_distribution_spec.rb +7 -1
  161. data/spec/models/patcheddeb_apt_remote_spec.rb +7 -1
  162. data/spec/models/patcheddeb_apt_repository_spec.rb +7 -1
  163. data/spec/models/policy_enum_spec.rb +1 -1
  164. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  165. data/spec/models/repository_sync_url_spec.rb +1 -1
  166. data/spec/models/repository_version_response_spec.rb +7 -1
  167. data/spec/models/repository_version_spec.rb +1 -1
  168. data/spec/spec_helper.rb +1 -1
  169. metadata +57 -57
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -26,6 +26,9 @@ module PulpDebClient
26
26
  # A unique name. Ex, `rawhide` and `stable`.
27
27
  attr_accessor :name
28
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
29
32
  # Publication to be served
30
33
  attr_accessor :publication
31
34
 
@@ -36,6 +39,7 @@ module PulpDebClient
36
39
  :'content_guard' => :'content_guard',
37
40
  :'pulp_labels' => :'pulp_labels',
38
41
  :'name' => :'name',
42
+ :'repository' => :'repository',
39
43
  :'publication' => :'publication'
40
44
  }
41
45
  end
@@ -47,6 +51,7 @@ module PulpDebClient
47
51
  :'content_guard' => :'String',
48
52
  :'pulp_labels' => :'Object',
49
53
  :'name' => :'String',
54
+ :'repository' => :'String',
50
55
  :'publication' => :'String'
51
56
  }
52
57
  end
@@ -55,6 +60,7 @@ module PulpDebClient
55
60
  def self.openapi_nullable
56
61
  Set.new([
57
62
  :'content_guard',
63
+ :'repository',
58
64
  :'publication'
59
65
  ])
60
66
  end
@@ -90,6 +96,10 @@ module PulpDebClient
90
96
  self.name = attributes[:'name']
91
97
  end
92
98
 
99
+ if attributes.key?(:'repository')
100
+ self.repository = attributes[:'repository']
101
+ end
102
+
93
103
  if attributes.key?(:'publication')
94
104
  self.publication = attributes[:'publication']
95
105
  end
@@ -117,6 +127,7 @@ module PulpDebClient
117
127
  content_guard == o.content_guard &&
118
128
  pulp_labels == o.pulp_labels &&
119
129
  name == o.name &&
130
+ repository == o.repository &&
120
131
  publication == o.publication
121
132
  end
122
133
 
@@ -129,7 +140,7 @@ module PulpDebClient
129
140
  # Calculates hash code according to all attributes.
130
141
  # @return [Integer] Hash code
131
142
  def hash
132
- [base_path, content_guard, pulp_labels, name, publication].hash
143
+ [base_path, content_guard, pulp_labels, name, repository, publication].hash
133
144
  end
134
145
 
135
146
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -50,22 +50,25 @@ module PulpDebClient
50
50
 
51
51
  attr_accessor :pulp_labels
52
52
 
53
- # Total number of simultaneous connections.
53
+ # Total number of simultaneous connections. If not set then the default value will be used.
54
54
  attr_accessor :download_concurrency
55
55
 
56
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
+ attr_accessor :max_retries
58
+
56
59
  # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
57
60
  attr_accessor :policy
58
61
 
59
- # aiohttp.ClientTimeout.total (q.v.) for download-connections.
62
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
60
63
  attr_accessor :total_timeout
61
64
 
62
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections.
65
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
63
66
  attr_accessor :connect_timeout
64
67
 
65
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
68
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
66
69
  attr_accessor :sock_connect_timeout
67
70
 
68
- # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
71
+ # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
69
72
  attr_accessor :sock_read_timeout
70
73
 
71
74
  # Headers for aiohttp.Clientsession
@@ -114,6 +117,7 @@ module PulpDebClient
114
117
  :'password' => :'password',
115
118
  :'pulp_labels' => :'pulp_labels',
116
119
  :'download_concurrency' => :'download_concurrency',
120
+ :'max_retries' => :'max_retries',
117
121
  :'policy' => :'policy',
118
122
  :'total_timeout' => :'total_timeout',
119
123
  :'connect_timeout' => :'connect_timeout',
@@ -148,6 +152,7 @@ module PulpDebClient
148
152
  :'password' => :'String',
149
153
  :'pulp_labels' => :'Object',
150
154
  :'download_concurrency' => :'Integer',
155
+ :'max_retries' => :'Integer',
151
156
  :'policy' => :'PolicyEnum',
152
157
  :'total_timeout' => :'Float',
153
158
  :'connect_timeout' => :'Float',
@@ -177,6 +182,8 @@ module PulpDebClient
177
182
  :'proxy_password',
178
183
  :'username',
179
184
  :'password',
185
+ :'download_concurrency',
186
+ :'max_retries',
180
187
  :'total_timeout',
181
188
  :'connect_timeout',
182
189
  :'sock_connect_timeout',
@@ -255,6 +262,10 @@ module PulpDebClient
255
262
  self.download_concurrency = attributes[:'download_concurrency']
256
263
  end
257
264
 
265
+ if attributes.key?(:'max_retries')
266
+ self.max_retries = attributes[:'max_retries']
267
+ end
268
+
258
269
  if attributes.key?(:'policy')
259
270
  self.policy = attributes[:'policy']
260
271
  end
@@ -424,6 +435,7 @@ module PulpDebClient
424
435
  password == o.password &&
425
436
  pulp_labels == o.pulp_labels &&
426
437
  download_concurrency == o.download_concurrency &&
438
+ max_retries == o.max_retries &&
427
439
  policy == o.policy &&
428
440
  total_timeout == o.total_timeout &&
429
441
  connect_timeout == o.connect_timeout &&
@@ -450,7 +462,7 @@ module PulpDebClient
450
462
  # Calculates hash code according to all attributes.
451
463
  # @return [Integer] Hash code
452
464
  def hash
453
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
465
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
454
466
  end
455
467
 
456
468
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -23,6 +23,9 @@ module PulpDebClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
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
28
+
26
29
  attr_accessor :remote
27
30
 
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  :'pulp_labels' => :'pulp_labels',
32
35
  :'name' => :'name',
33
36
  :'description' => :'description',
37
+ :'retained_versions' => :'retained_versions',
34
38
  :'remote' => :'remote'
35
39
  }
36
40
  end
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  :'pulp_labels' => :'Object',
42
46
  :'name' => :'String',
43
47
  :'description' => :'String',
48
+ :'retained_versions' => :'Integer',
44
49
  :'remote' => :'String'
45
50
  }
46
51
  end
@@ -49,6 +54,7 @@ module PulpDebClient
49
54
  def self.openapi_nullable
50
55
  Set.new([
51
56
  :'description',
57
+ :'retained_versions',
52
58
  :'remote'
53
59
  ])
54
60
  end
@@ -80,6 +86,10 @@ module PulpDebClient
80
86
  self.description = attributes[:'description']
81
87
  end
82
88
 
89
+ if attributes.key?(:'retained_versions')
90
+ self.retained_versions = attributes[:'retained_versions']
91
+ end
92
+
83
93
  if attributes.key?(:'remote')
84
94
  self.remote = attributes[:'remote']
85
95
  end
@@ -89,15 +99,30 @@ module PulpDebClient
89
99
  # @return Array for valid properties with the reasons
90
100
  def list_invalid_properties
91
101
  invalid_properties = Array.new
102
+ if !@retained_versions.nil? && @retained_versions < 1
103
+ invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
104
+ end
105
+
92
106
  invalid_properties
93
107
  end
94
108
 
95
109
  # Check to see if the all the properties in the model are valid
96
110
  # @return true if the model is valid
97
111
  def valid?
112
+ return false if !@retained_versions.nil? && @retained_versions < 1
98
113
  true
99
114
  end
100
115
 
116
+ # Custom attribute writer method with validation
117
+ # @param [Object] retained_versions Value to be assigned
118
+ def retained_versions=(retained_versions)
119
+ if !retained_versions.nil? && retained_versions < 1
120
+ fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
121
+ end
122
+
123
+ @retained_versions = retained_versions
124
+ end
125
+
101
126
  # Checks equality by comparing each attribute.
102
127
  # @param [Object] Object to be compared
103
128
  def ==(o)
@@ -106,6 +131,7 @@ module PulpDebClient
106
131
  pulp_labels == o.pulp_labels &&
107
132
  name == o.name &&
108
133
  description == o.description &&
134
+ retained_versions == o.retained_versions &&
109
135
  remote == o.remote
110
136
  end
111
137
 
@@ -118,7 +144,7 @@ module PulpDebClient
118
144
  # Calculates hash code according to all attributes.
119
145
  # @return [Integer] Hash code
120
146
  def hash
121
- [pulp_labels, name, description, remote].hash
147
+ [pulp_labels, name, description, retained_versions, remote].hash
122
148
  end
123
149
 
124
150
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -36,8 +36,8 @@ module PulpDebClient
36
36
  # Attribute type mapping.
37
37
  def self.openapi_types
38
38
  {
39
- :'add_content_units' => :'Array<Object>',
40
- :'remove_content_units' => :'Array<Object>',
39
+ :'add_content_units' => :'Array<AnyType>',
40
+ :'remove_content_units' => :'Array<AnyType>',
41
41
  :'base_version' => :'String'
42
42
  }
43
43
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -22,6 +22,8 @@ module PulpDebClient
22
22
 
23
23
  attr_accessor :number
24
24
 
25
+ attr_accessor :repository
26
+
25
27
  # A repository version whose content was used as the initial set of content for this repository version
26
28
  attr_accessor :base_version
27
29
 
@@ -34,6 +36,7 @@ module PulpDebClient
34
36
  :'pulp_href' => :'pulp_href',
35
37
  :'pulp_created' => :'pulp_created',
36
38
  :'number' => :'number',
39
+ :'repository' => :'repository',
37
40
  :'base_version' => :'base_version',
38
41
  :'content_summary' => :'content_summary'
39
42
  }
@@ -45,6 +48,7 @@ module PulpDebClient
45
48
  :'pulp_href' => :'String',
46
49
  :'pulp_created' => :'DateTime',
47
50
  :'number' => :'Integer',
51
+ :'repository' => :'String',
48
52
  :'base_version' => :'String',
49
53
  :'content_summary' => :'ContentSummaryResponse'
50
54
  }
@@ -83,6 +87,10 @@ module PulpDebClient
83
87
  self.number = attributes[:'number']
84
88
  end
85
89
 
90
+ if attributes.key?(:'repository')
91
+ self.repository = attributes[:'repository']
92
+ end
93
+
86
94
  if attributes.key?(:'base_version')
87
95
  self.base_version = attributes[:'base_version']
88
96
  end
@@ -113,6 +121,7 @@ module PulpDebClient
113
121
  pulp_href == o.pulp_href &&
114
122
  pulp_created == o.pulp_created &&
115
123
  number == o.number &&
124
+ repository == o.repository &&
116
125
  base_version == o.base_version &&
117
126
  content_summary == o.content_summary
118
127
  end
@@ -126,7 +135,7 @@ module PulpDebClient
126
135
  # Calculates hash code according to all attributes.
127
136
  # @return [Integer] Hash code
128
137
  def hash
129
- [pulp_href, pulp_created, number, base_version, content_summary].hash
138
+ [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
130
139
  end
131
140
 
132
141
  # Builds the object from hash
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.11.2'
14
+ VERSION = '2.14.0'
15
15
  end
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
  Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.2.3
11
+ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  =end
14
14
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12