pulp_file_client 3.65.0 → 3.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AcsFileApi.md +3 -3
- data/lib/pulp_file_client/api/acs_file_api.rb +6 -6
- data/lib/pulp_file_client/models/file_file_remote.rb +20 -20
- data/lib/pulp_file_client/models/file_file_remote_response.rb +20 -20
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +20 -20
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/acs_file_api_spec.rb +3 -3
- metadata +42 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7b31cdaf64f7abeead666324fc1b6a5b204a23c9d49e40da86abb35b8a98d2d
|
4
|
+
data.tar.gz: d9269790f81a5b20d187d06ea92e723cf5b1927d87be7a04036ddf3b99188f2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8a332ee44345fdc8dc9595d789a1847480bce3d1e78dcd03ac72c7c07acb4b00c10b5569410caa6532fbb7f279db9e7a68246b2cfe0a2df8e7e2f2b50a92f88
|
7
|
+
data.tar.gz: 7d6a9c2eae63cd8346a4cb8ba2267eae62a5c554a993a1c2ca3d7651bf32c3484696f90b12762c8542f7d8b4b0bce9ea0d6c67ba5347d275f00b656113858876
|
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.
|
10
|
+
- Package version: 3.66.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_file_client-3.
|
27
|
+
gem install ./pulp_file_client-3.66.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-3.66.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_file_client', '~> 3.
|
36
|
+
gem 'pulp_file_client', '~> 3.66.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/AcsFileApi.md
CHANGED
@@ -79,7 +79,7 @@ Name | Type | Description | Notes
|
|
79
79
|
|
80
80
|
Create a file alternate content source
|
81
81
|
|
82
|
-
Alternate Content Source ViewSet for File
|
82
|
+
Alternate Content Source ViewSet for File
|
83
83
|
|
84
84
|
### Example
|
85
85
|
|
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
|
|
185
185
|
|
186
186
|
List file alternate content sources
|
187
187
|
|
188
|
-
Alternate Content Source ViewSet for File
|
188
|
+
Alternate Content Source ViewSet for File
|
189
189
|
|
190
190
|
### Example
|
191
191
|
|
@@ -447,7 +447,7 @@ Name | Type | Description | Notes
|
|
447
447
|
|
448
448
|
Inspect a file alternate content source
|
449
449
|
|
450
|
-
Alternate Content Source ViewSet for File
|
450
|
+
Alternate Content Source ViewSet for File
|
451
451
|
|
452
452
|
### Example
|
453
453
|
|
@@ -90,7 +90,7 @@ module PulpFileClient
|
|
90
90
|
end
|
91
91
|
|
92
92
|
# Create a file alternate content source
|
93
|
-
# Alternate Content Source ViewSet for File
|
93
|
+
# Alternate Content Source ViewSet for File
|
94
94
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [FileFileAlternateContentSourceResponse]
|
@@ -100,7 +100,7 @@ module PulpFileClient
|
|
100
100
|
end
|
101
101
|
|
102
102
|
# Create a file alternate content source
|
103
|
-
# Alternate Content Source ViewSet for File
|
103
|
+
# Alternate Content Source ViewSet for File
|
104
104
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @return [Array<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
|
@@ -216,7 +216,7 @@ module PulpFileClient
|
|
216
216
|
end
|
217
217
|
|
218
218
|
# List file alternate content sources
|
219
|
-
# Alternate Content Source ViewSet for File
|
219
|
+
# Alternate Content Source ViewSet for File
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
221
|
# @option opts [Integer] :limit Number of results to return per page.
|
222
222
|
# @option opts [String] :name Filter results where name matches value
|
@@ -243,7 +243,7 @@ module PulpFileClient
|
|
243
243
|
end
|
244
244
|
|
245
245
|
# List file alternate content sources
|
246
|
-
# Alternate Content Source ViewSet for File
|
246
|
+
# Alternate Content Source ViewSet for File
|
247
247
|
# @param [Hash] opts the optional parameters
|
248
248
|
# @option opts [Integer] :limit Number of results to return per page.
|
249
249
|
# @option opts [String] :name Filter results where name matches value
|
@@ -536,7 +536,7 @@ module PulpFileClient
|
|
536
536
|
end
|
537
537
|
|
538
538
|
# Inspect a file alternate content source
|
539
|
-
# Alternate Content Source ViewSet for File
|
539
|
+
# Alternate Content Source ViewSet for File
|
540
540
|
# @param file_file_alternate_content_source_href [String]
|
541
541
|
# @param [Hash] opts the optional parameters
|
542
542
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -548,7 +548,7 @@ module PulpFileClient
|
|
548
548
|
end
|
549
549
|
|
550
550
|
# Inspect a file alternate content source
|
551
|
-
# Alternate Content Source ViewSet for File
|
551
|
+
# Alternate Content Source ViewSet for File
|
552
552
|
# @param file_file_alternate_content_source_href [String]
|
553
553
|
# @param [Hash] opts the optional parameters
|
554
554
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -312,20 +312,20 @@ module PulpFileClient
|
|
312
312
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
313
313
|
end
|
314
314
|
|
315
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
316
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
315
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
316
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
317
317
|
end
|
318
318
|
|
319
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
320
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
319
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
320
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
321
321
|
end
|
322
322
|
|
323
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
324
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
323
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
324
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
325
325
|
end
|
326
326
|
|
327
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
328
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
327
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
328
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
329
329
|
end
|
330
330
|
|
331
331
|
invalid_properties
|
@@ -347,10 +347,10 @@ module PulpFileClient
|
|
347
347
|
return false if !@username.nil? && @username.to_s.length < 1
|
348
348
|
return false if !@password.nil? && @password.to_s.length < 1
|
349
349
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
350
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
351
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
352
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
353
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
350
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
351
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
352
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
353
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
354
354
|
true
|
355
355
|
end
|
356
356
|
|
@@ -475,8 +475,8 @@ module PulpFileClient
|
|
475
475
|
# Custom attribute writer method with validation
|
476
476
|
# @param [Object] total_timeout Value to be assigned
|
477
477
|
def total_timeout=(total_timeout)
|
478
|
-
if !total_timeout.nil? && total_timeout < 0
|
479
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
478
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
479
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
480
480
|
end
|
481
481
|
|
482
482
|
@total_timeout = total_timeout
|
@@ -485,8 +485,8 @@ module PulpFileClient
|
|
485
485
|
# Custom attribute writer method with validation
|
486
486
|
# @param [Object] connect_timeout Value to be assigned
|
487
487
|
def connect_timeout=(connect_timeout)
|
488
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
489
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
488
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
489
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
490
490
|
end
|
491
491
|
|
492
492
|
@connect_timeout = connect_timeout
|
@@ -495,8 +495,8 @@ module PulpFileClient
|
|
495
495
|
# Custom attribute writer method with validation
|
496
496
|
# @param [Object] sock_connect_timeout Value to be assigned
|
497
497
|
def sock_connect_timeout=(sock_connect_timeout)
|
498
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
499
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
498
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
499
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
500
500
|
end
|
501
501
|
|
502
502
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -505,8 +505,8 @@ module PulpFileClient
|
|
505
505
|
# Custom attribute writer method with validation
|
506
506
|
# @param [Object] sock_read_timeout Value to be assigned
|
507
507
|
def sock_read_timeout=(sock_read_timeout)
|
508
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
509
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
508
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
509
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
510
510
|
end
|
511
511
|
|
512
512
|
@sock_read_timeout = sock_read_timeout
|
@@ -268,20 +268,20 @@ module PulpFileClient
|
|
268
268
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
269
269
|
end
|
270
270
|
|
271
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
272
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
271
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
272
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
273
273
|
end
|
274
274
|
|
275
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
276
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
275
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
276
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
277
277
|
end
|
278
278
|
|
279
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
280
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
279
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
280
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
281
281
|
end
|
282
282
|
|
283
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
284
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
283
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
284
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
285
285
|
end
|
286
286
|
|
287
287
|
invalid_properties
|
@@ -293,10 +293,10 @@ module PulpFileClient
|
|
293
293
|
return false if @name.nil?
|
294
294
|
return false if @url.nil?
|
295
295
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
296
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
297
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
298
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
299
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
296
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
297
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
298
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
299
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
300
300
|
true
|
301
301
|
end
|
302
302
|
|
@@ -313,8 +313,8 @@ module PulpFileClient
|
|
313
313
|
# Custom attribute writer method with validation
|
314
314
|
# @param [Object] total_timeout Value to be assigned
|
315
315
|
def total_timeout=(total_timeout)
|
316
|
-
if !total_timeout.nil? && total_timeout < 0
|
317
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
316
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
317
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
318
318
|
end
|
319
319
|
|
320
320
|
@total_timeout = total_timeout
|
@@ -323,8 +323,8 @@ module PulpFileClient
|
|
323
323
|
# Custom attribute writer method with validation
|
324
324
|
# @param [Object] connect_timeout Value to be assigned
|
325
325
|
def connect_timeout=(connect_timeout)
|
326
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
327
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
326
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
327
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
328
328
|
end
|
329
329
|
|
330
330
|
@connect_timeout = connect_timeout
|
@@ -333,8 +333,8 @@ module PulpFileClient
|
|
333
333
|
# Custom attribute writer method with validation
|
334
334
|
# @param [Object] sock_connect_timeout Value to be assigned
|
335
335
|
def sock_connect_timeout=(sock_connect_timeout)
|
336
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
337
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
336
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
337
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
338
338
|
end
|
339
339
|
|
340
340
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -343,8 +343,8 @@ module PulpFileClient
|
|
343
343
|
# Custom attribute writer method with validation
|
344
344
|
# @param [Object] sock_read_timeout Value to be assigned
|
345
345
|
def sock_read_timeout=(sock_read_timeout)
|
346
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
347
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
346
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
347
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
348
348
|
end
|
349
349
|
|
350
350
|
@sock_read_timeout = sock_read_timeout
|
@@ -304,20 +304,20 @@ module PulpFileClient
|
|
304
304
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
305
305
|
end
|
306
306
|
|
307
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
308
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
307
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
308
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
309
309
|
end
|
310
310
|
|
311
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
312
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
311
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
312
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
313
313
|
end
|
314
314
|
|
315
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
316
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
315
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
316
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
317
317
|
end
|
318
318
|
|
319
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
320
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
319
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
320
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
321
321
|
end
|
322
322
|
|
323
323
|
invalid_properties
|
@@ -337,10 +337,10 @@ module PulpFileClient
|
|
337
337
|
return false if !@username.nil? && @username.to_s.length < 1
|
338
338
|
return false if !@password.nil? && @password.to_s.length < 1
|
339
339
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
340
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
341
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
342
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
343
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
340
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
341
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
342
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
343
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
344
344
|
true
|
345
345
|
end
|
346
346
|
|
@@ -457,8 +457,8 @@ module PulpFileClient
|
|
457
457
|
# Custom attribute writer method with validation
|
458
458
|
# @param [Object] total_timeout Value to be assigned
|
459
459
|
def total_timeout=(total_timeout)
|
460
|
-
if !total_timeout.nil? && total_timeout < 0
|
461
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
460
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
461
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
462
462
|
end
|
463
463
|
|
464
464
|
@total_timeout = total_timeout
|
@@ -467,8 +467,8 @@ module PulpFileClient
|
|
467
467
|
# Custom attribute writer method with validation
|
468
468
|
# @param [Object] connect_timeout Value to be assigned
|
469
469
|
def connect_timeout=(connect_timeout)
|
470
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
471
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
470
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
471
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
472
472
|
end
|
473
473
|
|
474
474
|
@connect_timeout = connect_timeout
|
@@ -477,8 +477,8 @@ module PulpFileClient
|
|
477
477
|
# Custom attribute writer method with validation
|
478
478
|
# @param [Object] sock_connect_timeout Value to be assigned
|
479
479
|
def sock_connect_timeout=(sock_connect_timeout)
|
480
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
481
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
480
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
481
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
482
482
|
end
|
483
483
|
|
484
484
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -487,8 +487,8 @@ module PulpFileClient
|
|
487
487
|
# Custom attribute writer method with validation
|
488
488
|
# @param [Object] sock_read_timeout Value to be assigned
|
489
489
|
def sock_read_timeout=(sock_read_timeout)
|
490
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
491
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
490
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
491
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
492
492
|
end
|
493
493
|
|
494
494
|
@sock_read_timeout = sock_read_timeout
|
@@ -47,7 +47,7 @@ describe 'AcsFileApi' do
|
|
47
47
|
|
48
48
|
# unit tests for create
|
49
49
|
# Create a file alternate content source
|
50
|
-
# Alternate Content Source ViewSet for File
|
50
|
+
# Alternate Content Source ViewSet for File
|
51
51
|
# @param file_file_alternate_content_source
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
53
|
# @return [FileFileAlternateContentSourceResponse]
|
@@ -71,7 +71,7 @@ describe 'AcsFileApi' do
|
|
71
71
|
|
72
72
|
# unit tests for list
|
73
73
|
# List file alternate content sources
|
74
|
-
# Alternate Content Source ViewSet for File
|
74
|
+
# Alternate Content Source ViewSet for File
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
77
77
|
# @option opts [String] :name Filter results where name matches value
|
@@ -141,7 +141,7 @@ describe 'AcsFileApi' do
|
|
141
141
|
|
142
142
|
# unit tests for read
|
143
143
|
# Inspect a file alternate content source
|
144
|
-
# Alternate Content Source ViewSet for File
|
144
|
+
# Alternate Content Source ViewSet for File
|
145
145
|
# @param file_file_alternate_content_source_href
|
146
146
|
# @param [Hash] opts the optional parameters
|
147
147
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
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.
|
4
|
+
version: 3.66.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -234,7 +234,7 @@ homepage: https://github.com/pulp/pulp_file
|
|
234
234
|
licenses:
|
235
235
|
- GPLv2+
|
236
236
|
metadata: {}
|
237
|
-
post_install_message:
|
237
|
+
post_install_message:
|
238
238
|
rdoc_options: []
|
239
239
|
require_paths:
|
240
240
|
- lib
|
@@ -249,58 +249,58 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
requirements: []
|
252
|
-
rubygems_version: 3.
|
253
|
-
signing_key:
|
252
|
+
rubygems_version: 3.4.20
|
253
|
+
signing_key:
|
254
254
|
specification_version: 4
|
255
255
|
summary: Pulp 3 API Ruby Gem
|
256
256
|
test_files:
|
257
|
-
- spec/api/remotes_file_api_spec.rb
|
258
257
|
- spec/api/content_files_api_spec.rb
|
259
|
-
- spec/api/distributions_file_api_spec.rb
|
260
258
|
- spec/api/acs_file_api_spec.rb
|
261
|
-
- spec/api/
|
262
|
-
- spec/api/repositories_file_versions_api_spec.rb
|
259
|
+
- spec/api/distributions_file_api_spec.rb
|
263
260
|
- spec/api/publications_file_api_spec.rb
|
261
|
+
- spec/api/repositories_file_versions_api_spec.rb
|
262
|
+
- spec/api/repositories_file_api_spec.rb
|
263
|
+
- spec/api/remotes_file_api_spec.rb
|
264
264
|
- spec/api_client_spec.rb
|
265
265
|
- spec/configuration_spec.rb
|
266
|
-
- spec/models/
|
267
|
-
- spec/models/repository_sync_url_spec.rb
|
266
|
+
- spec/models/file_file_distribution_response_spec.rb
|
268
267
|
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
269
|
-
- spec/models/unset_label_response_spec.rb
|
270
|
-
- spec/models/patchedfile_file_remote_spec.rb
|
271
|
-
- spec/models/content_summary_response_spec.rb
|
272
|
-
- spec/models/patchedfile_file_repository_spec.rb
|
273
|
-
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
274
|
-
- spec/models/nested_role_response_spec.rb
|
275
|
-
- spec/models/file_file_publication_response_spec.rb
|
276
|
-
- spec/models/repository_add_remove_content_spec.rb
|
277
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
278
|
-
- spec/models/repository_version_response_spec.rb
|
279
268
|
- spec/models/set_label_response_spec.rb
|
280
|
-
- spec/models/
|
281
|
-
- spec/models/
|
282
|
-
- spec/models/repair_spec.rb
|
269
|
+
- spec/models/content_summary_response_spec.rb
|
270
|
+
- spec/models/nested_role_spec.rb
|
283
271
|
- spec/models/file_file_content_response_spec.rb
|
284
|
-
- spec/models/file_file_publication_spec.rb
|
285
|
-
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
286
|
-
- spec/models/set_label_spec.rb
|
287
|
-
- spec/models/policy_enum_spec.rb
|
288
|
-
- spec/models/file_file_content_spec.rb
|
289
272
|
- spec/models/object_roles_response_spec.rb
|
290
|
-
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
291
|
-
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
292
|
-
- spec/models/file_file_remote_response_spec.rb
|
293
273
|
- spec/models/file_file_remote_response_hidden_fields_spec.rb
|
294
|
-
- spec/models/
|
295
|
-
- spec/models/file_file_alternate_content_source_spec.rb
|
296
|
-
- spec/models/file_file_repository_spec.rb
|
274
|
+
- spec/models/file_file_remote_response_spec.rb
|
297
275
|
- spec/models/unset_label_spec.rb
|
298
|
-
- spec/models/
|
299
|
-
- spec/models/
|
300
|
-
- spec/models/nested_role_spec.rb
|
301
|
-
- spec/models/task_group_operation_response_spec.rb
|
276
|
+
- spec/models/policy_enum_spec.rb
|
277
|
+
- spec/models/my_permissions_response_spec.rb
|
302
278
|
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
303
|
-
- spec/models/
|
304
|
-
- spec/models/
|
279
|
+
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
280
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
281
|
+
- spec/models/file_file_publication_spec.rb
|
282
|
+
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
283
|
+
- spec/models/file_file_publication_response_spec.rb
|
284
|
+
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
285
|
+
- spec/models/nested_role_response_spec.rb
|
286
|
+
- spec/models/file_file_repository_response_spec.rb
|
287
|
+
- spec/models/file_file_repository_spec.rb
|
288
|
+
- spec/models/unset_label_response_spec.rb
|
289
|
+
- spec/models/async_operation_response_spec.rb
|
290
|
+
- spec/models/repository_sync_url_spec.rb
|
291
|
+
- spec/models/file_file_content_spec.rb
|
292
|
+
- spec/models/set_label_spec.rb
|
293
|
+
- spec/models/repository_version_response_spec.rb
|
294
|
+
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
295
|
+
- spec/models/file_file_alternate_content_source_spec.rb
|
296
|
+
- spec/models/repair_spec.rb
|
305
297
|
- spec/models/file_file_distribution_spec.rb
|
298
|
+
- spec/models/file_file_alternate_content_source_response_spec.rb
|
299
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
300
|
+
- spec/models/file_file_remote_spec.rb
|
301
|
+
- spec/models/task_group_operation_response_spec.rb
|
302
|
+
- spec/models/patchedfile_file_distribution_spec.rb
|
303
|
+
- spec/models/repository_add_remove_content_spec.rb
|
304
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
305
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
306
306
|
- spec/spec_helper.rb
|