pulp_file_client 3.85.12 → 3.85.13

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 881cc1e8a854976372d40a4ae6ce2f1cc413f3fb855a428a5b219e8edb98c77d
4
- data.tar.gz: fdade26d15322f155fd584f5f93f17ba69d3042f4a1e82fb5521428fe9f83e28
3
+ metadata.gz: 727b970c46ac3e664e5b046ff18a576b4ea5fabd340743692763f94ac5074bfc
4
+ data.tar.gz: 1bfbb58cb192c2399b5dfaa0d32f92a5ab276970e218ac4c427f6acde984bf1c
5
5
  SHA512:
6
- metadata.gz: a48c4ce450a3f94cdc976da926b926f01e912aa9b335bc38f2bdfd9ce2a1093ddce29c539fc6f6e4e23312e4342d47b30406bf78b52422f434ac91a9ea1b4696
7
- data.tar.gz: 5b81f994b9a762955d287e2294c8ea60d15686004ab072e9a2ed993d98bc3efb93e7da1d8cc5ed02ea53b63981956ace460984c61fdd68560097c4f976109156
6
+ metadata.gz: 61ad20d97d9a0e04df374f789b963d98b3aca0df3aa4c4ab7bf3f55db19a33c110274ed319321e39106f2c44fef1bda73ef9f33c1555b1f21673e0fb31149cca
7
+ data.tar.gz: 582d1a26ce2c39f52588e67eb49d60d9aa080ce173e184e406abae727e971bc26c52e8552f3456bfa5252c35ad7cf65bf5be1647953c3b30df717b76816bb90c
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.85.12
10
+ - Package version: 3.85.13
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_file_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_file_client-3.85.12.gem
28
+ gem install ./pulp_file_client-3.85.13.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_file_client-3.85.12.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_file_client-3.85.13.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_file_client', '~> 3.85.12'
37
+ gem 'pulp_file_client', '~> 3.85.13'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -341,6 +341,10 @@ module PulpFileClient
341
341
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
342
342
  end
343
343
 
344
+ if !@download_concurrency.nil? && @download_concurrency < 1
345
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
346
+ end
347
+
344
348
  if !@total_timeout.nil? && @total_timeout < 0.0
345
349
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
346
350
  end
@@ -376,6 +380,7 @@ module PulpFileClient
376
380
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
377
381
  return false if !@username.nil? && @username.to_s.length < 1
378
382
  return false if !@password.nil? && @password.to_s.length < 1
383
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
379
384
  return false if !@total_timeout.nil? && @total_timeout < 0.0
380
385
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
381
386
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -491,6 +496,16 @@ module PulpFileClient
491
496
  @password = password
492
497
  end
493
498
 
499
+ # Custom attribute writer method with validation
500
+ # @param [Object] download_concurrency Value to be assigned
501
+ def download_concurrency=(download_concurrency)
502
+ if !download_concurrency.nil? && download_concurrency < 1
503
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
504
+ end
505
+
506
+ @download_concurrency = download_concurrency
507
+ end
508
+
494
509
  # Custom attribute writer method with validation
495
510
  # @param [Object] total_timeout Value to be assigned
496
511
  def total_timeout=(total_timeout)
@@ -297,6 +297,10 @@ module PulpFileClient
297
297
  invalid_properties.push('invalid value for "url", url cannot be nil.')
298
298
  end
299
299
 
300
+ if !@download_concurrency.nil? && @download_concurrency < 1
301
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
302
+ end
303
+
300
304
  if !@total_timeout.nil? && @total_timeout < 0.0
301
305
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
302
306
  end
@@ -322,6 +326,7 @@ module PulpFileClient
322
326
  warn '[DEPRECATED] the `valid?` method is obsolete'
323
327
  return false if @name.nil?
324
328
  return false if @url.nil?
329
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
325
330
  return false if !@total_timeout.nil? && @total_timeout < 0.0
326
331
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
327
332
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -329,6 +334,16 @@ module PulpFileClient
329
334
  true
330
335
  end
331
336
 
337
+ # Custom attribute writer method with validation
338
+ # @param [Object] download_concurrency Value to be assigned
339
+ def download_concurrency=(download_concurrency)
340
+ if !download_concurrency.nil? && download_concurrency < 1
341
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
342
+ end
343
+
344
+ @download_concurrency = download_concurrency
345
+ end
346
+
332
347
  # Custom attribute writer method with validation
333
348
  # @param [Object] total_timeout Value to be assigned
334
349
  def total_timeout=(total_timeout)
@@ -146,6 +146,10 @@ module PulpFileClient
146
146
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
147
147
  end
148
148
 
149
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
150
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
151
+ end
152
+
149
153
  if !@manifest.nil? && @manifest.to_s.length < 1
150
154
  invalid_properties.push('invalid value for "manifest", the character length must be great than or equal to 1.')
151
155
  end
@@ -160,6 +164,7 @@ module PulpFileClient
160
164
  return false if @name.nil?
161
165
  return false if @name.to_s.length < 1
162
166
  return false if !@description.nil? && @description.to_s.length < 1
167
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
163
168
  return false if !@manifest.nil? && @manifest.to_s.length < 1
164
169
  true
165
170
  end
@@ -188,6 +193,16 @@ module PulpFileClient
188
193
  @description = description
189
194
  end
190
195
 
196
+ # Custom attribute writer method with validation
197
+ # @param [Object] retain_repo_versions Value to be assigned
198
+ def retain_repo_versions=(retain_repo_versions)
199
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
200
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
201
+ end
202
+
203
+ @retain_repo_versions = retain_repo_versions
204
+ end
205
+
191
206
  # Custom attribute writer method with validation
192
207
  # @param [Object] manifest Value to be assigned
193
208
  def manifest=(manifest)
@@ -189,6 +189,10 @@ module PulpFileClient
189
189
  invalid_properties.push('invalid value for "name", name cannot be nil.')
190
190
  end
191
191
 
192
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
193
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
194
+ end
195
+
192
196
  invalid_properties
193
197
  end
194
198
 
@@ -197,9 +201,20 @@ module PulpFileClient
197
201
  def valid?
198
202
  warn '[DEPRECATED] the `valid?` method is obsolete'
199
203
  return false if @name.nil?
204
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
200
205
  true
201
206
  end
202
207
 
208
+ # Custom attribute writer method with validation
209
+ # @param [Object] retain_repo_versions Value to be assigned
210
+ def retain_repo_versions=(retain_repo_versions)
211
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
212
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
213
+ end
214
+
215
+ @retain_repo_versions = retain_repo_versions
216
+ end
217
+
203
218
  # Checks equality by comparing each attribute.
204
219
  # @param [Object] Object to be compared
205
220
  def ==(o)
@@ -329,6 +329,10 @@ module PulpFileClient
329
329
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
330
330
  end
331
331
 
332
+ if !@download_concurrency.nil? && @download_concurrency < 1
333
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
334
+ end
335
+
332
336
  if !@total_timeout.nil? && @total_timeout < 0.0
333
337
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
334
338
  end
@@ -362,6 +366,7 @@ module PulpFileClient
362
366
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
363
367
  return false if !@username.nil? && @username.to_s.length < 1
364
368
  return false if !@password.nil? && @password.to_s.length < 1
369
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
365
370
  return false if !@total_timeout.nil? && @total_timeout < 0.0
366
371
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
367
372
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -477,6 +482,16 @@ module PulpFileClient
477
482
  @password = password
478
483
  end
479
484
 
485
+ # Custom attribute writer method with validation
486
+ # @param [Object] download_concurrency Value to be assigned
487
+ def download_concurrency=(download_concurrency)
488
+ if !download_concurrency.nil? && download_concurrency < 1
489
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
490
+ end
491
+
492
+ @download_concurrency = download_concurrency
493
+ end
494
+
480
495
  # Custom attribute writer method with validation
481
496
  # @param [Object] total_timeout Value to be assigned
482
497
  def total_timeout=(total_timeout)
@@ -140,6 +140,10 @@ module PulpFileClient
140
140
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
141
141
  end
142
142
 
143
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
144
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
145
+ end
146
+
143
147
  if !@manifest.nil? && @manifest.to_s.length < 1
144
148
  invalid_properties.push('invalid value for "manifest", the character length must be great than or equal to 1.')
145
149
  end
@@ -153,6 +157,7 @@ module PulpFileClient
153
157
  warn '[DEPRECATED] the `valid?` method is obsolete'
154
158
  return false if !@name.nil? && @name.to_s.length < 1
155
159
  return false if !@description.nil? && @description.to_s.length < 1
160
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
156
161
  return false if !@manifest.nil? && @manifest.to_s.length < 1
157
162
  true
158
163
  end
@@ -181,6 +186,16 @@ module PulpFileClient
181
186
  @description = description
182
187
  end
183
188
 
189
+ # Custom attribute writer method with validation
190
+ # @param [Object] retain_repo_versions Value to be assigned
191
+ def retain_repo_versions=(retain_repo_versions)
192
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
193
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
194
+ end
195
+
196
+ @retain_repo_versions = retain_repo_versions
197
+ end
198
+
184
199
  # Custom attribute writer method with validation
185
200
  # @param [Object] manifest Value to be assigned
186
201
  def manifest=(manifest)
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '3.85.12'
14
+ VERSION = '3.85.13'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_file_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.85.12
4
+ version: 3.85.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-25 00:00:00.000000000 Z
11
+ date: 2026-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -257,50 +257,50 @@ signing_key:
257
257
  specification_version: 4
258
258
  summary: Pulp 3 API Ruby Gem
259
259
  test_files:
260
- - spec/api/repositories_file_versions_api_spec.rb
261
- - spec/api/acs_file_api_spec.rb
262
- - spec/api/content_files_api_spec.rb
263
260
  - spec/api/repositories_file_api_spec.rb
264
261
  - spec/api/distributions_file_api_spec.rb
265
- - spec/api/remotes_file_api_spec.rb
266
262
  - spec/api/publications_file_api_spec.rb
267
- - spec/models/file_file_publication_spec.rb
268
- - spec/models/file_file_repository_spec.rb
269
- - spec/models/file_file_distribution_response_spec.rb
270
- - spec/models/unset_label_response_spec.rb
271
- - spec/models/patchedfile_file_distribution_spec.rb
272
- - spec/models/repository_version_response_spec.rb
273
- - spec/models/file_file_alternate_content_source_spec.rb
263
+ - spec/api/content_files_api_spec.rb
264
+ - spec/api/repositories_file_versions_api_spec.rb
265
+ - spec/api/remotes_file_api_spec.rb
266
+ - spec/api/acs_file_api_spec.rb
267
+ - spec/models/file_file_alternate_content_source_response_spec.rb
268
+ - spec/models/nested_role_spec.rb
269
+ - spec/models/patchedfile_file_alternate_content_source_spec.rb
274
270
  - spec/models/set_label_spec.rb
275
- - spec/models/file_file_remote_response_hidden_fields_inner_spec.rb
271
+ - spec/models/file_file_distribution_spec.rb
272
+ - spec/models/file_file_alternate_content_source_spec.rb
273
+ - spec/models/paginatedfile_file_distribution_response_list_spec.rb
276
274
  - spec/models/my_permissions_response_spec.rb
277
- - spec/models/patchedfile_file_remote_spec.rb
278
275
  - spec/models/paginatedfile_file_remote_response_list_spec.rb
279
- - spec/models/paginated_repository_version_response_list_spec.rb
280
- - spec/models/repair_spec.rb
281
- - spec/models/async_operation_response_spec.rb
282
- - spec/models/repository_add_remove_content_spec.rb
283
- - spec/models/nested_role_spec.rb
284
- - spec/models/file_file_remote_spec.rb
285
- - spec/models/task_group_operation_response_spec.rb
286
- - spec/models/repository_sync_url_spec.rb
287
- - spec/models/set_label_response_spec.rb
288
- - spec/models/unset_label_spec.rb
289
- - spec/models/policy_enum_spec.rb
276
+ - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
277
+ - spec/models/file_file_repository_response_spec.rb
278
+ - spec/models/file_file_remote_response_hidden_fields_inner_spec.rb
279
+ - spec/models/unset_label_response_spec.rb
290
280
  - spec/models/paginatedfile_file_publication_response_list_spec.rb
291
- - spec/models/patchedfile_file_alternate_content_source_spec.rb
281
+ - spec/models/file_file_distribution_response_spec.rb
282
+ - spec/models/file_file_remote_spec.rb
283
+ - spec/models/content_summary_response_spec.rb
284
+ - spec/models/repository_version_response_spec.rb
285
+ - spec/models/file_file_repository_spec.rb
286
+ - spec/models/file_file_publication_response_spec.rb
287
+ - spec/models/file_file_remote_response_spec.rb
292
288
  - spec/models/file_file_content_response_spec.rb
293
- - spec/models/paginatedfile_file_repository_response_list_spec.rb
289
+ - spec/models/file_file_publication_spec.rb
290
+ - spec/models/patchedfile_file_remote_spec.rb
291
+ - spec/models/repair_spec.rb
292
+ - spec/models/patchedfile_file_distribution_spec.rb
293
+ - spec/models/unset_label_spec.rb
294
+ - spec/models/set_label_response_spec.rb
295
+ - spec/models/paginated_repository_version_response_list_spec.rb
296
+ - spec/models/paginatedfile_file_content_response_list_spec.rb
294
297
  - spec/models/object_roles_response_spec.rb
295
- - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
296
298
  - spec/models/nested_role_response_spec.rb
297
- - spec/models/file_file_alternate_content_source_response_spec.rb
298
- - spec/models/content_summary_response_spec.rb
299
- - spec/models/file_file_distribution_spec.rb
300
- - spec/models/paginatedfile_file_distribution_response_list_spec.rb
299
+ - spec/models/paginatedfile_file_repository_response_list_spec.rb
300
+ - spec/models/policy_enum_spec.rb
301
+ - spec/models/task_group_operation_response_spec.rb
301
302
  - spec/models/patchedfile_file_repository_spec.rb
302
- - spec/models/paginatedfile_file_content_response_list_spec.rb
303
- - spec/models/file_file_repository_response_spec.rb
304
- - spec/models/file_file_publication_response_spec.rb
305
- - spec/models/file_file_remote_response_spec.rb
303
+ - spec/models/repository_sync_url_spec.rb
304
+ - spec/models/repository_add_remove_content_spec.rb
305
+ - spec/models/async_operation_response_spec.rb
306
306
  - spec/spec_helper.rb