pulp_file_client 3.72.0 → 3.72.1

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: 98935a32108c3ea5d350fce50673475cb9da719510f0c8d3b857706bc124219c
4
- data.tar.gz: 06c42b76d7a9b1242c8f1acdad8e89a713a56dd4eab7ca0016e99b3d7c23d02e
3
+ metadata.gz: 9f76a23c60f13d5118b256c61ffec5a25598cec64c5376c37ebddb33ee875ed5
4
+ data.tar.gz: a5aad3ad4e5c3272c7f100ad38f2e56e89e77a07e0c4405615b0adae6c9af761
5
5
  SHA512:
6
- metadata.gz: '08522652120b1776db80c9182b225986ef8e18a0786740ae83c0a5efdf37697e3b0b1fc08fc02ab92a85d6dd190aec86a1a7be908ba1481af94cf9d70015d83b'
7
- data.tar.gz: 7234a70fc9db0b265ac90f73e7b4b8c068116fd94c90f54c69c695047ccca4c108db5f8d914b00f6ba6a1f8b3138e19a2d28a813768c0a2cdfb724bd6016c489
6
+ metadata.gz: 2322ba71fd66f03f273f824e25621631384f524c605ae7fd3431c03c9aafae2ece399b23f5f6912e4daa45d40c3faea069d8186dd4156882738cd01aa42400d2
7
+ data.tar.gz: 596ae44ec9cc076247702a756b7581f16f4f2f5bb122cddf9b73a178ced9bc4c607710b0fad1dd35423153785fc6b53fbdc14860e30ef4847041c5a86a85b232
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.72.0
10
+ - Package version: 3.72.1
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.72.0.gem
28
+ gem install ./pulp_file_client-3.72.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_file_client-3.72.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_file_client-3.72.1.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.72.0'
37
+ gem 'pulp_file_client', '~> 3.72.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -10,7 +10,7 @@
10
10
  | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
11
  | **repository_version** | **String** | | [optional] |
12
12
  | **repository** | **String** | A URI of the repository to be published. | [optional] |
13
- | **distributions** | **Array<String>** | This publication is currently hosted as defined by these distributions. | [optional] |
13
+ | **distributions** | **Array<String>** | This publication is currently hosted as defined by these distributions. | [optional][readonly] |
14
14
  | **manifest** | **String** | Filename to use for manifest file containing metadata for all the files. | [optional][default to 'PULP_MANIFEST'] |
15
15
 
16
16
  ## Example
@@ -24,7 +24,7 @@
24
24
  | **sock_read_timeout** | **Float** | 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. | [optional] |
25
25
  | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
26
26
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
- | **hidden_fields** | [**Array<FileFileRemoteResponseHiddenFieldsInner>**](FileFileRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
27
+ | **hidden_fields** | [**Array<FileFileRemoteResponseHiddenFieldsInner>**](FileFileRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
28
28
 
29
29
  ## Example
30
30
 
@@ -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)
@@ -51,6 +51,8 @@ module PulpFileClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpFileClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpFileClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpFileClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpFileClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpFileClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpFileClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -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.72.0'
14
+ VERSION = '3.72.1'
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.72.0
4
+ version: 3.72.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-25 00:00:00.000000000 Z
11
+ date: 2025-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-net_http
@@ -277,50 +277,50 @@ signing_key:
277
277
  specification_version: 4
278
278
  summary: Pulp 3 API Ruby Gem
279
279
  test_files:
280
- - spec/api/repositories_file_api_spec.rb
281
- - spec/api/remotes_file_api_spec.rb
282
- - spec/api/acs_file_api_spec.rb
283
280
  - spec/api/publications_file_api_spec.rb
284
- - spec/api/repositories_file_versions_api_spec.rb
281
+ - spec/api/repositories_file_api_spec.rb
285
282
  - spec/api/distributions_file_api_spec.rb
283
+ - spec/api/repositories_file_versions_api_spec.rb
286
284
  - spec/api/content_files_api_spec.rb
287
- - spec/models/file_file_remote_spec.rb
285
+ - spec/api/acs_file_api_spec.rb
286
+ - spec/api/remotes_file_api_spec.rb
287
+ - spec/models/repair_spec.rb
288
+ - spec/models/task_group_operation_response_spec.rb
289
+ - spec/models/set_label_spec.rb
290
+ - spec/models/paginatedfile_file_repository_response_list_spec.rb
291
+ - spec/models/policy_enum_spec.rb
292
+ - spec/models/paginatedfile_file_publication_response_list_spec.rb
293
+ - spec/models/file_file_repository_response_spec.rb
294
+ - spec/models/patchedfile_file_alternate_content_source_spec.rb
295
+ - spec/models/repository_add_remove_content_spec.rb
288
296
  - spec/models/file_file_publication_response_spec.rb
289
- - spec/models/paginated_repository_version_response_list_spec.rb
290
- - spec/models/file_file_alternate_content_source_spec.rb
291
297
  - spec/models/file_file_alternate_content_source_response_spec.rb
292
298
  - spec/models/nested_role_response_spec.rb
293
- - spec/models/paginatedfile_file_repository_response_list_spec.rb
294
- - spec/models/task_group_operation_response_spec.rb
295
- - spec/models/patchedfile_file_alternate_content_source_spec.rb
296
- - spec/models/file_file_remote_response_spec.rb
297
- - spec/models/paginatedfile_file_publication_response_list_spec.rb
298
- - spec/models/patchedfile_file_repository_spec.rb
299
+ - spec/models/nested_role_spec.rb
300
+ - spec/models/file_file_publication_spec.rb
301
+ - spec/models/paginatedfile_file_content_response_list_spec.rb
299
302
  - spec/models/repository_sync_url_spec.rb
300
- - spec/models/set_label_response_spec.rb
303
+ - spec/models/patchedfile_file_remote_spec.rb
304
+ - spec/models/unset_label_spec.rb
301
305
  - spec/models/file_file_content_response_spec.rb
302
- - spec/models/repository_add_remove_content_spec.rb
306
+ - spec/models/unset_label_response_spec.rb
307
+ - spec/models/repository_version_response_spec.rb
308
+ - spec/models/file_file_distribution_spec.rb
309
+ - spec/models/file_file_remote_response_hidden_fields_inner_spec.rb
310
+ - spec/models/paginated_repository_version_response_list_spec.rb
311
+ - spec/models/file_file_remote_response_spec.rb
312
+ - spec/models/my_permissions_response_spec.rb
303
313
  - spec/models/patchedfile_file_distribution_spec.rb
304
- - spec/models/unset_label_spec.rb
314
+ - spec/models/file_file_distribution_response_spec.rb
315
+ - spec/models/paginatedfile_file_remote_response_list_spec.rb
316
+ - spec/models/object_roles_response_spec.rb
305
317
  - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
306
- - spec/models/async_operation_response_spec.rb
307
- - spec/models/repair_spec.rb
318
+ - spec/models/patchedfile_file_repository_spec.rb
319
+ - spec/models/file_file_remote_spec.rb
308
320
  - spec/models/file_file_repository_spec.rb
321
+ - spec/models/file_file_alternate_content_source_spec.rb
322
+ - spec/models/set_label_response_spec.rb
309
323
  - spec/models/paginatedfile_file_distribution_response_list_spec.rb
310
- - spec/models/file_file_remote_response_hidden_fields_inner_spec.rb
311
- - spec/models/paginatedfile_file_content_response_list_spec.rb
312
- - spec/models/paginatedfile_file_remote_response_list_spec.rb
313
- - spec/models/unset_label_response_spec.rb
314
- - spec/models/patchedfile_file_remote_spec.rb
315
- - spec/models/file_file_distribution_response_spec.rb
316
- - spec/models/object_roles_response_spec.rb
317
- - spec/models/nested_role_spec.rb
318
- - spec/models/policy_enum_spec.rb
319
- - spec/models/repository_version_response_spec.rb
320
324
  - spec/models/content_summary_response_spec.rb
321
- - spec/models/my_permissions_response_spec.rb
322
- - spec/models/file_file_repository_response_spec.rb
323
- - spec/models/file_file_publication_spec.rb
324
- - spec/models/file_file_distribution_spec.rb
325
- - spec/models/set_label_spec.rb
325
+ - spec/models/async_operation_response_spec.rb
326
326
  - spec/spec_helper.rb