pulp_file_client 3.71.2 → 3.72.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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FileFilePublicationResponse.md +1 -1
- data/docs/FileFileRemoteResponse.md +1 -1
- data/lib/pulp_file_client/models/file_file_remote.rb +0 -15
- data/lib/pulp_file_client/models/file_file_remote_response.rb +0 -15
- data/lib/pulp_file_client/models/file_file_repository.rb +0 -15
- data/lib/pulp_file_client/models/file_file_repository_response.rb +0 -15
- data/lib/pulp_file_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb +0 -2
- data/lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb +0 -2
- data/lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb +0 -2
- data/lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb +0 -2
- data/lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb +0 -2
- data/lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb +0 -2
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +0 -15
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +0 -15
- data/lib/pulp_file_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98935a32108c3ea5d350fce50673475cb9da719510f0c8d3b857706bc124219c
|
4
|
+
data.tar.gz: 06c42b76d7a9b1242c8f1acdad8e89a713a56dd4eab7ca0016e99b3d7c23d02e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08522652120b1776db80c9182b225986ef8e18a0786740ae83c0a5efdf37697e3b0b1fc08fc02ab92a85d6dd190aec86a1a7be908ba1481af94cf9d70015d83b'
|
7
|
+
data.tar.gz: 7234a70fc9db0b265ac90f73e7b4b8c068116fd94c90f54c69c695047ccca4c108db5f8d914b00f6ba6a1f8b3138e19a2d28a813768c0a2cdfb724bd6016c489
|
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.72.0
|
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.
|
28
|
+
gem install ./pulp_file_client-3.72.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulp_file_client-3.72.0.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.
|
37
|
+
gem 'pulp_file_client', '~> 3.72.0'
|
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] |
|
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] |
|
28
28
|
|
29
29
|
## Example
|
30
30
|
|
@@ -341,10 +341,6 @@ 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
|
-
|
348
344
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
349
345
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
350
346
|
end
|
@@ -380,7 +376,6 @@ module PulpFileClient
|
|
380
376
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
381
377
|
return false if !@username.nil? && @username.to_s.length < 1
|
382
378
|
return false if !@password.nil? && @password.to_s.length < 1
|
383
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
384
379
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
385
380
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
386
381
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -496,16 +491,6 @@ module PulpFileClient
|
|
496
491
|
@password = password
|
497
492
|
end
|
498
493
|
|
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
|
-
|
509
494
|
# Custom attribute writer method with validation
|
510
495
|
# @param [Object] total_timeout Value to be assigned
|
511
496
|
def total_timeout=(total_timeout)
|
@@ -297,10 +297,6 @@ 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
|
-
|
304
300
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
305
301
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
306
302
|
end
|
@@ -326,7 +322,6 @@ module PulpFileClient
|
|
326
322
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
327
323
|
return false if @name.nil?
|
328
324
|
return false if @url.nil?
|
329
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
330
325
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
331
326
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
332
327
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -334,16 +329,6 @@ module PulpFileClient
|
|
334
329
|
true
|
335
330
|
end
|
336
331
|
|
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
|
-
|
347
332
|
# Custom attribute writer method with validation
|
348
333
|
# @param [Object] total_timeout Value to be assigned
|
349
334
|
def total_timeout=(total_timeout)
|
@@ -146,10 +146,6 @@ 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
|
-
|
153
149
|
if !@manifest.nil? && @manifest.to_s.length < 1
|
154
150
|
invalid_properties.push('invalid value for "manifest", the character length must be great than or equal to 1.')
|
155
151
|
end
|
@@ -164,7 +160,6 @@ module PulpFileClient
|
|
164
160
|
return false if @name.nil?
|
165
161
|
return false if @name.to_s.length < 1
|
166
162
|
return false if !@description.nil? && @description.to_s.length < 1
|
167
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
168
163
|
return false if !@manifest.nil? && @manifest.to_s.length < 1
|
169
164
|
true
|
170
165
|
end
|
@@ -193,16 +188,6 @@ module PulpFileClient
|
|
193
188
|
@description = description
|
194
189
|
end
|
195
190
|
|
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
|
-
|
206
191
|
# Custom attribute writer method with validation
|
207
192
|
# @param [Object] manifest Value to be assigned
|
208
193
|
def manifest=(manifest)
|
@@ -189,10 +189,6 @@ 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
|
-
|
196
192
|
invalid_properties
|
197
193
|
end
|
198
194
|
|
@@ -201,20 +197,9 @@ module PulpFileClient
|
|
201
197
|
def valid?
|
202
198
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
203
199
|
return false if @name.nil?
|
204
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
205
200
|
true
|
206
201
|
end
|
207
202
|
|
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
|
-
|
218
203
|
# Checks equality by comparing each attribute.
|
219
204
|
# @param [Object] Object to be compared
|
220
205
|
def ==(o)
|
@@ -329,10 +329,6 @@ 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
|
-
|
336
332
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
337
333
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
338
334
|
end
|
@@ -366,7 +362,6 @@ module PulpFileClient
|
|
366
362
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
367
363
|
return false if !@username.nil? && @username.to_s.length < 1
|
368
364
|
return false if !@password.nil? && @password.to_s.length < 1
|
369
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
370
365
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
371
366
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
372
367
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -482,16 +477,6 @@ module PulpFileClient
|
|
482
477
|
@password = password
|
483
478
|
end
|
484
479
|
|
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
|
-
|
495
480
|
# Custom attribute writer method with validation
|
496
481
|
# @param [Object] total_timeout Value to be assigned
|
497
482
|
def total_timeout=(total_timeout)
|
@@ -140,10 +140,6 @@ 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
|
-
|
147
143
|
if !@manifest.nil? && @manifest.to_s.length < 1
|
148
144
|
invalid_properties.push('invalid value for "manifest", the character length must be great than or equal to 1.')
|
149
145
|
end
|
@@ -157,7 +153,6 @@ module PulpFileClient
|
|
157
153
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
158
154
|
return false if !@name.nil? && @name.to_s.length < 1
|
159
155
|
return false if !@description.nil? && @description.to_s.length < 1
|
160
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
161
156
|
return false if !@manifest.nil? && @manifest.to_s.length < 1
|
162
157
|
true
|
163
158
|
end
|
@@ -186,16 +181,6 @@ module PulpFileClient
|
|
186
181
|
@description = description
|
187
182
|
end
|
188
183
|
|
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
|
-
|
199
184
|
# Custom attribute writer method with validation
|
200
185
|
# @param [Object] manifest Value to be assigned
|
201
186
|
def manifest=(manifest)
|
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.72.0
|
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-
|
11
|
+
date: 2025-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday-net_http
|