pulpcore_client 3.105.16 → 3.106.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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -4
  3. data/docs/ArtifactDistributionResponse.md +19 -15
  4. data/docs/DataRepair7272.md +18 -0
  5. data/docs/DataRepair7465.md +18 -0
  6. data/docs/Datarepair7272Api.md +82 -0
  7. data/docs/Datarepair7465Api.md +82 -0
  8. data/docs/DistributionResponse.md +5 -1
  9. data/docs/DistributionsOpenpgpApi.md +2 -2
  10. data/docs/OpenPGPDistributionResponse.md +2 -0
  11. data/docs/OpenPGPKeyring.md +2 -0
  12. data/docs/OpenPGPKeyringResponse.md +2 -0
  13. data/docs/PatchedOpenPGPKeyring.md +2 -0
  14. data/docs/Purge.md +1 -1
  15. data/docs/RepositoriesApi.md +18 -2
  16. data/docs/RepositoriesOpenpgpKeyringApi.md +18 -2
  17. data/docs/RepositoryResponse.md +2 -0
  18. data/lib/pulpcore_client/api/datarepair7272_api.rb +93 -0
  19. data/lib/pulpcore_client/api/datarepair7465_api.rb +93 -0
  20. data/lib/pulpcore_client/api/distributions_openpgp_api.rb +4 -4
  21. data/lib/pulpcore_client/api/repositories_api.rb +27 -3
  22. data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +27 -3
  23. data/lib/pulpcore_client/models/artifact_distribution_response.rb +91 -70
  24. data/lib/pulpcore_client/models/data_repair7272.rb +217 -0
  25. data/lib/pulpcore_client/models/data_repair7465.rb +217 -0
  26. data/lib/pulpcore_client/models/distribution_response.rb +27 -6
  27. data/lib/pulpcore_client/models/open_pgp_distribution.rb +1 -1
  28. data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +12 -2
  29. data/lib/pulpcore_client/models/open_pgp_keyring.rb +27 -1
  30. data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +27 -1
  31. data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +1 -1
  32. data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +27 -1
  33. data/lib/pulpcore_client/models/purge.rb +1 -1
  34. data/lib/pulpcore_client/models/repository_response.rb +27 -1
  35. data/lib/pulpcore_client/version.rb +1 -1
  36. data/lib/pulpcore_client.rb +4 -0
  37. data/spec/api/datarepair7272_api_spec.rb +48 -0
  38. data/spec/api/datarepair7465_api_spec.rb +48 -0
  39. data/spec/api/distributions_openpgp_api_spec.rb +2 -2
  40. data/spec/api/repositories_api_spec.rb +9 -1
  41. data/spec/api/repositories_openpgp_keyring_api_spec.rb +9 -1
  42. data/spec/models/artifact_distribution_response_spec.rb +21 -9
  43. data/spec/models/data_repair7272_spec.rb +36 -0
  44. data/spec/models/data_repair7465_spec.rb +36 -0
  45. data/spec/models/distribution_response_spec.rb +12 -0
  46. data/spec/models/open_pgp_distribution_response_spec.rb +6 -0
  47. data/spec/models/open_pgp_keyring_response_spec.rb +6 -0
  48. data/spec/models/open_pgp_keyring_spec.rb +6 -0
  49. data/spec/models/patched_open_pgp_keyring_spec.rb +6 -0
  50. data/spec/models/repository_response_spec.rb +6 -0
  51. metadata +212 -196
@@ -27,6 +27,9 @@ module PulpcoreClient
27
27
  # Retain X versions of the repository. Default is null which retains all versions.
28
28
  attr_accessor :retain_repo_versions
29
29
 
30
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
31
+ attr_accessor :retain_checkpoints
32
+
30
33
  # An optional remote to use by default when syncing.
31
34
  attr_accessor :remote
32
35
 
@@ -37,6 +40,7 @@ module PulpcoreClient
37
40
  :'name' => :'name',
38
41
  :'description' => :'description',
39
42
  :'retain_repo_versions' => :'retain_repo_versions',
43
+ :'retain_checkpoints' => :'retain_checkpoints',
40
44
  :'remote' => :'remote'
41
45
  }
42
46
  end
@@ -53,6 +57,7 @@ module PulpcoreClient
53
57
  :'name' => :'String',
54
58
  :'description' => :'String',
55
59
  :'retain_repo_versions' => :'Integer',
60
+ :'retain_checkpoints' => :'Integer',
56
61
  :'remote' => :'String'
57
62
  }
58
63
  end
@@ -62,6 +67,7 @@ module PulpcoreClient
62
67
  Set.new([
63
68
  :'description',
64
69
  :'retain_repo_versions',
70
+ :'retain_checkpoints',
65
71
  :'remote'
66
72
  ])
67
73
  end
@@ -99,6 +105,10 @@ module PulpcoreClient
99
105
  self.retain_repo_versions = attributes[:'retain_repo_versions']
100
106
  end
101
107
 
108
+ if attributes.key?(:'retain_checkpoints')
109
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
110
+ end
111
+
102
112
  if attributes.key?(:'remote')
103
113
  self.remote = attributes[:'remote']
104
114
  end
@@ -121,6 +131,10 @@ module PulpcoreClient
121
131
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
122
132
  end
123
133
 
134
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
135
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
136
+ end
137
+
124
138
  invalid_properties
125
139
  end
126
140
 
@@ -131,6 +145,7 @@ module PulpcoreClient
131
145
  return false if !@name.nil? && @name.to_s.length < 1
132
146
  return false if !@description.nil? && @description.to_s.length < 1
133
147
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
148
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
134
149
  true
135
150
  end
136
151
 
@@ -168,6 +183,16 @@ module PulpcoreClient
168
183
  @retain_repo_versions = retain_repo_versions
169
184
  end
170
185
 
186
+ # Custom attribute writer method with validation
187
+ # @param [Object] retain_checkpoints Value to be assigned
188
+ def retain_checkpoints=(retain_checkpoints)
189
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
190
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
191
+ end
192
+
193
+ @retain_checkpoints = retain_checkpoints
194
+ end
195
+
171
196
  # Checks equality by comparing each attribute.
172
197
  # @param [Object] Object to be compared
173
198
  def ==(o)
@@ -177,6 +202,7 @@ module PulpcoreClient
177
202
  name == o.name &&
178
203
  description == o.description &&
179
204
  retain_repo_versions == o.retain_repo_versions &&
205
+ retain_checkpoints == o.retain_checkpoints &&
180
206
  remote == o.remote
181
207
  end
182
208
 
@@ -189,7 +215,7 @@ module PulpcoreClient
189
215
  # Calculates hash code according to all attributes.
190
216
  # @return [Integer] Hash code
191
217
  def hash
192
- [pulp_labels, name, description, retain_repo_versions, remote].hash
218
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote].hash
193
219
  end
194
220
 
195
221
  # Builds the object from hash
@@ -66,7 +66,7 @@ module PulpcoreClient
66
66
  if attributes.key?(:'finished_before')
67
67
  self.finished_before = attributes[:'finished_before']
68
68
  else
69
- self.finished_before = '2026-07-13'
69
+ self.finished_before = '2026-02-22'
70
70
  end
71
71
 
72
72
  if attributes.key?(:'states')
@@ -42,6 +42,9 @@ module PulpcoreClient
42
42
  # Retain X versions of the repository. Default is null which retains all versions.
43
43
  attr_accessor :retain_repo_versions
44
44
 
45
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
46
+ attr_accessor :retain_checkpoints
47
+
45
48
  # An optional remote to use by default when syncing.
46
49
  attr_accessor :remote
47
50
 
@@ -58,6 +61,7 @@ module PulpcoreClient
58
61
  :'name' => :'name',
59
62
  :'description' => :'description',
60
63
  :'retain_repo_versions' => :'retain_repo_versions',
64
+ :'retain_checkpoints' => :'retain_checkpoints',
61
65
  :'remote' => :'remote'
62
66
  }
63
67
  end
@@ -80,6 +84,7 @@ module PulpcoreClient
80
84
  :'name' => :'String',
81
85
  :'description' => :'String',
82
86
  :'retain_repo_versions' => :'Integer',
87
+ :'retain_checkpoints' => :'Integer',
83
88
  :'remote' => :'String'
84
89
  }
85
90
  end
@@ -89,6 +94,7 @@ module PulpcoreClient
89
94
  Set.new([
90
95
  :'description',
91
96
  :'retain_repo_versions',
97
+ :'retain_checkpoints',
92
98
  :'remote'
93
99
  ])
94
100
  end
@@ -152,6 +158,10 @@ module PulpcoreClient
152
158
  self.retain_repo_versions = attributes[:'retain_repo_versions']
153
159
  end
154
160
 
161
+ if attributes.key?(:'retain_checkpoints')
162
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
163
+ end
164
+
155
165
  if attributes.key?(:'remote')
156
166
  self.remote = attributes[:'remote']
157
167
  end
@@ -170,6 +180,10 @@ module PulpcoreClient
170
180
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
171
181
  end
172
182
 
183
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
184
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
185
+ end
186
+
173
187
  invalid_properties
174
188
  end
175
189
 
@@ -179,6 +193,7 @@ module PulpcoreClient
179
193
  warn '[DEPRECATED] the `valid?` method is obsolete'
180
194
  return false if @name.nil?
181
195
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
196
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
182
197
  true
183
198
  end
184
199
 
@@ -192,6 +207,16 @@ module PulpcoreClient
192
207
  @retain_repo_versions = retain_repo_versions
193
208
  end
194
209
 
210
+ # Custom attribute writer method with validation
211
+ # @param [Object] retain_checkpoints Value to be assigned
212
+ def retain_checkpoints=(retain_checkpoints)
213
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
214
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
215
+ end
216
+
217
+ @retain_checkpoints = retain_checkpoints
218
+ end
219
+
195
220
  # Checks equality by comparing each attribute.
196
221
  # @param [Object] Object to be compared
197
222
  def ==(o)
@@ -207,6 +232,7 @@ module PulpcoreClient
207
232
  name == o.name &&
208
233
  description == o.description &&
209
234
  retain_repo_versions == o.retain_repo_versions &&
235
+ retain_checkpoints == o.retain_checkpoints &&
210
236
  remote == o.remote
211
237
  end
212
238
 
@@ -219,7 +245,7 @@ module PulpcoreClient
219
245
  # Calculates hash code according to all attributes.
220
246
  # @return [Integer] Hash code
221
247
  def hash
222
- [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
248
+ [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote].hash
223
249
  end
224
250
 
225
251
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.105.16'
14
+ VERSION = '3.106.0'
15
15
  end
@@ -30,6 +30,8 @@ require 'pulpcore_client/models/content_redirect_content_guard'
30
30
  require 'pulpcore_client/models/content_redirect_content_guard_response'
31
31
  require 'pulpcore_client/models/content_settings_response'
32
32
  require 'pulpcore_client/models/content_summary_response'
33
+ require 'pulpcore_client/models/data_repair7272'
34
+ require 'pulpcore_client/models/data_repair7465'
33
35
  require 'pulpcore_client/models/database_connection_response'
34
36
  require 'pulpcore_client/models/distribution_response'
35
37
  require 'pulpcore_client/models/domain'
@@ -207,6 +209,8 @@ require 'pulpcore_client/api/contentguards_composite_api'
207
209
  require 'pulpcore_client/api/contentguards_content_redirect_api'
208
210
  require 'pulpcore_client/api/contentguards_header_api'
209
211
  require 'pulpcore_client/api/contentguards_rbac_api'
212
+ require 'pulpcore_client/api/datarepair7272_api'
213
+ require 'pulpcore_client/api/datarepair7465_api'
210
214
  require 'pulpcore_client/api/distributions_api'
211
215
  require 'pulpcore_client/api/distributions_artifacts_api'
212
216
  require 'pulpcore_client/api/distributions_openpgp_api'
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::Datarepair7272Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'Datarepair7272Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::Datarepair7272Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of Datarepair7272Api' do
30
+ it 'should create an instance of Datarepair7272Api' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::Datarepair7272Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for post
36
+ # Repair Repository Version Data (Issue #7272)
37
+ # Trigger an asynchronous task that repairs repository version content_ids cache and content count mismatches (Issue #7272). This task fixes two types of data corruption: 1) Mismatch between RepositoryVersion.content_ids cache and actual RepositoryContent relationships, and 2) Mismatch between RepositoryVersionContentDetails count and actual RepositoryContent count.
38
+ # @param data_repair7272
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
+ # @return [AsyncOperationResponse]
42
+ describe 'post test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::Datarepair7465Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'Datarepair7465Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::Datarepair7465Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of Datarepair7465Api' do
30
+ it 'should create an instance of Datarepair7465Api' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::Datarepair7465Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for post
36
+ # Add Repository Version Content IDs (Issue #7465)
37
+ # Trigger an asynchronous task that adds missing repository version content_ids cache to all repository versions (Issue #7465).
38
+ # @param data_repair7465
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
+ # @return [AsyncOperationResponse]
42
+ describe 'post test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -60,7 +60,7 @@ describe 'DistributionsOpenpgpApi' do
60
60
 
61
61
  # unit tests for list
62
62
  # List open pgp distributions
63
- # Provides read and list methods plus asynchronous CUD methods that reserve per-distribution locks, an explicit base_path lock when needed, and the legacy domain-wide distributions lock in shared mode for upgrade compatibility.
63
+ # Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
66
66
  # @option opts [Integer] :limit Number of results to return per page.
@@ -98,7 +98,7 @@ describe 'DistributionsOpenpgpApi' do
98
98
 
99
99
  # unit tests for read
100
100
  # Inspect an open pgp distribution
101
- # Provides read and list methods plus asynchronous CUD methods that reserve per-distribution locks, an explicit base_path lock when needed, and the legacy domain-wide distributions lock in shared mode for upgrade compatibility.
101
+ # Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
102
102
  # @param open_p_g_p_distribution_href
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -49,7 +49,7 @@ describe 'RepositoriesApi' do
49
49
  # @option opts [String] :name__regex Filter results where name matches regex value
50
50
  # @option opts [String] :name__startswith Filter results where name starts with value
51
51
  # @option opts [Integer] :offset The initial index from which to return the results.
52
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
52
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
53
53
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
54
54
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
55
55
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -58,6 +58,14 @@ describe 'RepositoriesApi' do
58
58
  # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file
59
59
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
60
60
  # @option opts [String] :remote
61
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
62
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
63
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
64
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
65
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
66
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
67
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
68
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
61
69
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
62
70
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
63
71
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -89,13 +89,21 @@ describe 'RepositoriesOpenpgpKeyringApi' do
89
89
  # @option opts [String] :name__regex Filter results where name matches regex value
90
90
  # @option opts [String] :name__startswith Filter results where name starts with value
91
91
  # @option opts [Integer] :offset The initial index from which to return the results.
92
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
92
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
93
93
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
94
94
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
95
95
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
96
96
  # @option opts [String] :pulp_label_select Filter labels by search string
97
97
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
98
98
  # @option opts [String] :remote
99
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
100
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
101
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
102
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
103
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
104
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
105
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
106
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
99
107
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
100
108
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
101
109
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -27,31 +27,31 @@ describe PulpcoreClient::ArtifactDistributionResponse do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "no_content_change_since"' do
30
+ describe 'test attribute "hidden"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "content_guard"' do
36
+ describe 'test attribute "base_url"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "prn"' do
42
+ describe 'test attribute "pulp_labels"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
48
- describe 'test attribute "hidden"' do
48
+ describe 'test attribute "no_content_change_since"' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
51
  end
52
52
  end
53
53
 
54
- describe 'test attribute "base_path"' do
54
+ describe 'test attribute "repository_version"' do
55
55
  it 'should work' do
56
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
57
  end
@@ -63,25 +63,25 @@ describe PulpcoreClient::ArtifactDistributionResponse do
63
63
  end
64
64
  end
65
65
 
66
- describe 'test attribute "pulp_last_updated"' do
66
+ describe 'test attribute "pulp_href"' do
67
67
  it 'should work' do
68
68
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
69
  end
70
70
  end
71
71
 
72
- describe 'test attribute "pulp_labels"' do
72
+ describe 'test attribute "prn"' do
73
73
  it 'should work' do
74
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
75
  end
76
76
  end
77
77
 
78
- describe 'test attribute "base_url"' do
78
+ describe 'test attribute "content_guard_prn"' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
81
  end
82
82
  end
83
83
 
84
- describe 'test attribute "pulp_href"' do
84
+ describe 'test attribute "content_guard"' do
85
85
  it 'should work' do
86
86
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
87
  end
@@ -93,4 +93,16 @@ describe PulpcoreClient::ArtifactDistributionResponse do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "base_path"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "pulp_last_updated"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
96
108
  end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::DataRepair7272
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpcoreClient::DataRepair7272 do
21
+ let(:instance) { PulpcoreClient::DataRepair7272.new }
22
+
23
+ describe 'test an instance of DataRepair7272' do
24
+ it 'should create an instance of DataRepair7272' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpcoreClient::DataRepair7272)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "dry_run"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpcoreClient::DataRepair7465
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpcoreClient::DataRepair7465 do
21
+ let(:instance) { PulpcoreClient::DataRepair7465.new }
22
+
23
+ describe 'test an instance of DataRepair7465' do
24
+ it 'should create an instance of DataRepair7465' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpcoreClient::DataRepair7465)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "dry_run"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -69,6 +69,12 @@ describe PulpcoreClient::DistributionResponse do
69
69
  end
70
70
  end
71
71
 
72
+ describe 'test attribute "content_guard_prn"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
72
78
  describe 'test attribute "no_content_change_since"' do
73
79
  it 'should work' do
74
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -99,4 +105,10 @@ describe PulpcoreClient::DistributionResponse do
99
105
  end
100
106
  end
101
107
 
108
+ describe 'test attribute "repository_version"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
102
114
  end
@@ -69,6 +69,12 @@ describe PulpcoreClient::OpenPGPDistributionResponse do
69
69
  end
70
70
  end
71
71
 
72
+ describe 'test attribute "content_guard_prn"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
72
78
  describe 'test attribute "no_content_change_since"' do
73
79
  it 'should work' do
74
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -87,6 +87,12 @@ describe PulpcoreClient::OpenPGPKeyringResponse do
87
87
  end
88
88
  end
89
89
 
90
+ describe 'test attribute "retain_checkpoints"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
90
96
  describe 'test attribute "remote"' do
91
97
  it 'should work' do
92
98
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -51,6 +51,12 @@ describe PulpcoreClient::OpenPGPKeyring do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "retain_checkpoints"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
54
60
  describe 'test attribute "remote"' do
55
61
  it 'should work' do
56
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -51,6 +51,12 @@ describe PulpcoreClient::PatchedOpenPGPKeyring do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "retain_checkpoints"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
54
60
  describe 'test attribute "remote"' do
55
61
  it 'should work' do
56
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -87,6 +87,12 @@ describe PulpcoreClient::RepositoryResponse do
87
87
  end
88
88
  end
89
89
 
90
+ describe 'test attribute "retain_checkpoints"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
90
96
  describe 'test attribute "remote"' do
91
97
  it 'should work' do
92
98
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/