pulp_python_client 3.26.0 → 3.27.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/PatchedpythonPythonDistribution.md +1 -1
- data/docs/PatchedpythonPythonRepository.md +1 -1
- data/docs/PublicationsPypiApi.md +3 -3
- data/docs/PythonPythonDistribution.md +1 -1
- data/docs/PythonPythonDistributionResponse.md +1 -1
- data/docs/PythonPythonRepository.md +1 -1
- data/docs/PythonPythonRepositoryResponse.md +1 -1
- data/lib/pulp_python_client/api/publications_pypi_api.rb +6 -6
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +1 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +15 -0
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +16 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote.rb +15 -0
- data/lib/pulp_python_client/models/python_python_remote_response.rb +15 -0
- data/lib/pulp_python_client/models/python_python_repository.rb +16 -1
- data/lib/pulp_python_client/models/python_python_repository_response.rb +16 -1
- data/lib/pulp_python_client/models/remote_network_config.rb +15 -0
- data/lib/pulp_python_client/models/remote_network_config_response.rb +15 -0
- data/lib/pulp_python_client/models/set_label.rb +0 -11
- data/lib/pulp_python_client/models/set_label_response.rb +0 -21
- data/lib/pulp_python_client/models/unset_label.rb +0 -11
- data/lib/pulp_python_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/publications_pypi_api_spec.rb +3 -3
- 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: 576afc4052ed0ca5f0c0190c81c88ff79e4ef619a7c82a16e210f757fe7c789a
|
|
4
|
+
data.tar.gz: 4c157d03cd7ed4db4053c196170967a62d1ecfb96f975f58292fbbb6364e9df3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 346e26cce89bcb06571450b11a4720536dd8355c7e0974d984f1a9d98bd42150960684592c9c53943e35ac28ab0965a6ddb0fa8911e7cad5b6f5d47273bdc564
|
|
7
|
+
data.tar.gz: cc8aafcd159103db6c1a675cb07ad49711877bdbf29e802614a2f5262e3b86d1a680711ca62d65787d88a54e82d909ef724577676ed5a81c74f690f32dc4dfb0
|
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.27.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_python_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_python_client-3.
|
|
28
|
+
gem install ./pulp_python_client-3.27.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.27.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_python_client', '~> 3.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.27.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
-
| **publication** | **String** | Publication to be served | [optional] |
|
|
13
|
+
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
14
14
|
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
15
15
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
16
16
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
|
-
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
12
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
data/docs/PublicationsPypiApi.md
CHANGED
|
@@ -170,7 +170,7 @@ end
|
|
|
170
170
|
|
|
171
171
|
Delete a python publication
|
|
172
172
|
|
|
173
|
-
|
|
173
|
+
Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
174
174
|
|
|
175
175
|
### Examples
|
|
176
176
|
|
|
@@ -243,7 +243,7 @@ nil (empty response body)
|
|
|
243
243
|
|
|
244
244
|
List python publications
|
|
245
245
|
|
|
246
|
-
|
|
246
|
+
Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
247
247
|
|
|
248
248
|
### Examples
|
|
249
249
|
|
|
@@ -513,7 +513,7 @@ end
|
|
|
513
513
|
|
|
514
514
|
Inspect a python publication
|
|
515
515
|
|
|
516
|
-
|
|
516
|
+
Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
517
517
|
|
|
518
518
|
### Examples
|
|
519
519
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
-
| **publication** | **String** | Publication to be served | [optional] |
|
|
13
|
+
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
14
14
|
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
15
15
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
16
16
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
17
17
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
18
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
19
|
-
| **publication** | **String** | Publication to be served | [optional] |
|
|
19
|
+
| **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
|
|
20
20
|
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
21
21
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
22
22
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
|
-
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
12
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
17
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
|
-
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
18
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
|
@@ -168,7 +168,7 @@ module PulpPythonClient
|
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
# Delete a python publication
|
|
171
|
-
#
|
|
171
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
172
172
|
# @param python_python_publication_href [String]
|
|
173
173
|
# @param [Hash] opts the optional parameters
|
|
174
174
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -179,7 +179,7 @@ module PulpPythonClient
|
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# Delete a python publication
|
|
182
|
-
#
|
|
182
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
183
183
|
# @param python_python_publication_href [String]
|
|
184
184
|
# @param [Hash] opts the optional parameters
|
|
185
185
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -232,7 +232,7 @@ module PulpPythonClient
|
|
|
232
232
|
end
|
|
233
233
|
|
|
234
234
|
# List python publications
|
|
235
|
-
#
|
|
235
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
236
236
|
# @param [Hash] opts the optional parameters
|
|
237
237
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
238
238
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
@@ -263,7 +263,7 @@ module PulpPythonClient
|
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
# List python publications
|
|
266
|
-
#
|
|
266
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
267
267
|
# @param [Hash] opts the optional parameters
|
|
268
268
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
269
269
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
@@ -503,7 +503,7 @@ module PulpPythonClient
|
|
|
503
503
|
end
|
|
504
504
|
|
|
505
505
|
# Inspect a python publication
|
|
506
|
-
#
|
|
506
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
507
507
|
# @param python_python_publication_href [String]
|
|
508
508
|
# @param [Hash] opts the optional parameters
|
|
509
509
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -516,7 +516,7 @@ module PulpPythonClient
|
|
|
516
516
|
end
|
|
517
517
|
|
|
518
518
|
# Inspect a python publication
|
|
519
|
-
#
|
|
519
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
520
520
|
# @param python_python_publication_href [String]
|
|
521
521
|
# @param [Hash] opts the optional parameters
|
|
522
522
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -33,7 +33,7 @@ module PulpPythonClient
|
|
|
33
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
34
|
attr_accessor :repository
|
|
35
35
|
|
|
36
|
-
# Publication to be served
|
|
36
|
+
# Publication to be served. [Deprecated]
|
|
37
37
|
attr_accessor :publication
|
|
38
38
|
|
|
39
39
|
# RepositoryVersion to be served.
|
|
@@ -420,6 +420,10 @@ module PulpPythonClient
|
|
|
420
420
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
421
421
|
end
|
|
422
422
|
|
|
423
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
424
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
425
|
+
end
|
|
426
|
+
|
|
423
427
|
invalid_properties
|
|
424
428
|
end
|
|
425
429
|
|
|
@@ -441,6 +445,7 @@ module PulpPythonClient
|
|
|
441
445
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
442
446
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
443
447
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
448
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
444
449
|
true
|
|
445
450
|
end
|
|
446
451
|
|
|
@@ -592,6 +597,16 @@ module PulpPythonClient
|
|
|
592
597
|
@sock_read_timeout = sock_read_timeout
|
|
593
598
|
end
|
|
594
599
|
|
|
600
|
+
# Custom attribute writer method with validation
|
|
601
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
602
|
+
def download_concurrency=(download_concurrency)
|
|
603
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
604
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
@download_concurrency = download_concurrency
|
|
608
|
+
end
|
|
609
|
+
|
|
595
610
|
# Checks equality by comparing each attribute.
|
|
596
611
|
# @param [Object] Object to be compared
|
|
597
612
|
def ==(o)
|
|
@@ -30,7 +30,7 @@ module PulpPythonClient
|
|
|
30
30
|
# An optional remote to use by default when syncing.
|
|
31
31
|
attr_accessor :remote
|
|
32
32
|
|
|
33
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
33
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
34
34
|
attr_accessor :autopublish
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -128,6 +128,10 @@ module PulpPythonClient
|
|
|
128
128
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
132
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
133
|
+
end
|
|
134
|
+
|
|
131
135
|
invalid_properties
|
|
132
136
|
end
|
|
133
137
|
|
|
@@ -137,6 +141,7 @@ module PulpPythonClient
|
|
|
137
141
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
138
142
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
139
143
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
144
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
140
145
|
true
|
|
141
146
|
end
|
|
142
147
|
|
|
@@ -164,6 +169,16 @@ module PulpPythonClient
|
|
|
164
169
|
@description = description
|
|
165
170
|
end
|
|
166
171
|
|
|
172
|
+
# Custom attribute writer method with validation
|
|
173
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
174
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
175
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
176
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
@retain_repo_versions = retain_repo_versions
|
|
180
|
+
end
|
|
181
|
+
|
|
167
182
|
# Checks equality by comparing each attribute.
|
|
168
183
|
# @param [Object] Object to be compared
|
|
169
184
|
def ==(o)
|
|
@@ -33,7 +33,7 @@ module PulpPythonClient
|
|
|
33
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
34
|
attr_accessor :repository
|
|
35
35
|
|
|
36
|
-
# Publication to be served
|
|
36
|
+
# Publication to be served. [Deprecated]
|
|
37
37
|
attr_accessor :publication
|
|
38
38
|
|
|
39
39
|
# RepositoryVersion to be served.
|
|
@@ -49,7 +49,7 @@ module PulpPythonClient
|
|
|
49
49
|
# The latest RepositoryVersion for this Repository will be served.
|
|
50
50
|
attr_accessor :repository
|
|
51
51
|
|
|
52
|
-
# Publication to be served
|
|
52
|
+
# Publication to be served. [Deprecated]
|
|
53
53
|
attr_accessor :publication
|
|
54
54
|
|
|
55
55
|
# RepositoryVersion to be served.
|
|
@@ -432,6 +432,10 @@ module PulpPythonClient
|
|
|
432
432
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
436
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
437
|
+
end
|
|
438
|
+
|
|
435
439
|
invalid_properties
|
|
436
440
|
end
|
|
437
441
|
|
|
@@ -455,6 +459,7 @@ module PulpPythonClient
|
|
|
455
459
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
456
460
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
457
461
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
462
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
458
463
|
true
|
|
459
464
|
end
|
|
460
465
|
|
|
@@ -606,6 +611,16 @@ module PulpPythonClient
|
|
|
606
611
|
@sock_read_timeout = sock_read_timeout
|
|
607
612
|
end
|
|
608
613
|
|
|
614
|
+
# Custom attribute writer method with validation
|
|
615
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
616
|
+
def download_concurrency=(download_concurrency)
|
|
617
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
618
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
@download_concurrency = download_concurrency
|
|
622
|
+
end
|
|
623
|
+
|
|
609
624
|
# Checks equality by comparing each attribute.
|
|
610
625
|
# @param [Object] Object to be compared
|
|
611
626
|
def ==(o)
|
|
@@ -388,6 +388,10 @@ module PulpPythonClient
|
|
|
388
388
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
389
389
|
end
|
|
390
390
|
|
|
391
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
392
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
393
|
+
end
|
|
394
|
+
|
|
391
395
|
invalid_properties
|
|
392
396
|
end
|
|
393
397
|
|
|
@@ -401,6 +405,7 @@ module PulpPythonClient
|
|
|
401
405
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
402
406
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
403
407
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
408
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
404
409
|
true
|
|
405
410
|
end
|
|
406
411
|
|
|
@@ -444,6 +449,16 @@ module PulpPythonClient
|
|
|
444
449
|
@sock_read_timeout = sock_read_timeout
|
|
445
450
|
end
|
|
446
451
|
|
|
452
|
+
# Custom attribute writer method with validation
|
|
453
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
454
|
+
def download_concurrency=(download_concurrency)
|
|
455
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
456
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
@download_concurrency = download_concurrency
|
|
460
|
+
end
|
|
461
|
+
|
|
447
462
|
# Checks equality by comparing each attribute.
|
|
448
463
|
# @param [Object] Object to be compared
|
|
449
464
|
def ==(o)
|
|
@@ -30,7 +30,7 @@ module PulpPythonClient
|
|
|
30
30
|
# An optional remote to use by default when syncing.
|
|
31
31
|
attr_accessor :remote
|
|
32
32
|
|
|
33
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
33
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
34
34
|
attr_accessor :autopublish
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -134,6 +134,10 @@ module PulpPythonClient
|
|
|
134
134
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
138
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
139
|
+
end
|
|
140
|
+
|
|
137
141
|
invalid_properties
|
|
138
142
|
end
|
|
139
143
|
|
|
@@ -144,6 +148,7 @@ module PulpPythonClient
|
|
|
144
148
|
return false if @name.nil?
|
|
145
149
|
return false if @name.to_s.length < 1
|
|
146
150
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
151
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
147
152
|
true
|
|
148
153
|
end
|
|
149
154
|
|
|
@@ -171,6 +176,16 @@ module PulpPythonClient
|
|
|
171
176
|
@description = description
|
|
172
177
|
end
|
|
173
178
|
|
|
179
|
+
# Custom attribute writer method with validation
|
|
180
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
181
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
182
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
183
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
@retain_repo_versions = retain_repo_versions
|
|
187
|
+
end
|
|
188
|
+
|
|
174
189
|
# Checks equality by comparing each attribute.
|
|
175
190
|
# @param [Object] Object to be compared
|
|
176
191
|
def ==(o)
|
|
@@ -45,7 +45,7 @@ module PulpPythonClient
|
|
|
45
45
|
# An optional remote to use by default when syncing.
|
|
46
46
|
attr_accessor :remote
|
|
47
47
|
|
|
48
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
48
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
49
49
|
attr_accessor :autopublish
|
|
50
50
|
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -177,6 +177,10 @@ module PulpPythonClient
|
|
|
177
177
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
181
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
182
|
+
end
|
|
183
|
+
|
|
180
184
|
invalid_properties
|
|
181
185
|
end
|
|
182
186
|
|
|
@@ -185,9 +189,20 @@ module PulpPythonClient
|
|
|
185
189
|
def valid?
|
|
186
190
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
187
191
|
return false if @name.nil?
|
|
192
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
188
193
|
true
|
|
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
|
# Checks equality by comparing each attribute.
|
|
192
207
|
# @param [Object] Object to be compared
|
|
193
208
|
def ==(o)
|
|
@@ -278,6 +278,10 @@ module PulpPythonClient
|
|
|
278
278
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
279
279
|
end
|
|
280
280
|
|
|
281
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
282
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
283
|
+
end
|
|
284
|
+
|
|
281
285
|
invalid_properties
|
|
282
286
|
end
|
|
283
287
|
|
|
@@ -297,6 +301,7 @@ module PulpPythonClient
|
|
|
297
301
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
298
302
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
299
303
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
304
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
300
305
|
true
|
|
301
306
|
end
|
|
302
307
|
|
|
@@ -420,6 +425,16 @@ module PulpPythonClient
|
|
|
420
425
|
@sock_read_timeout = sock_read_timeout
|
|
421
426
|
end
|
|
422
427
|
|
|
428
|
+
# Custom attribute writer method with validation
|
|
429
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
430
|
+
def download_concurrency=(download_concurrency)
|
|
431
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
432
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
@download_concurrency = download_concurrency
|
|
436
|
+
end
|
|
437
|
+
|
|
423
438
|
# Checks equality by comparing each attribute.
|
|
424
439
|
# @param [Object] Object to be compared
|
|
425
440
|
def ==(o)
|
|
@@ -196,6 +196,10 @@ module PulpPythonClient
|
|
|
196
196
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
200
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
201
|
+
end
|
|
202
|
+
|
|
199
203
|
invalid_properties
|
|
200
204
|
end
|
|
201
205
|
|
|
@@ -207,6 +211,7 @@ module PulpPythonClient
|
|
|
207
211
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
208
212
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
209
213
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
214
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
210
215
|
true
|
|
211
216
|
end
|
|
212
217
|
|
|
@@ -250,6 +255,16 @@ module PulpPythonClient
|
|
|
250
255
|
@sock_read_timeout = sock_read_timeout
|
|
251
256
|
end
|
|
252
257
|
|
|
258
|
+
# Custom attribute writer method with validation
|
|
259
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
260
|
+
def download_concurrency=(download_concurrency)
|
|
261
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
262
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
@download_concurrency = download_concurrency
|
|
266
|
+
end
|
|
267
|
+
|
|
253
268
|
# Checks equality by comparing each attribute.
|
|
254
269
|
# @param [Object] Object to be compared
|
|
255
270
|
def ==(o)
|
|
@@ -89,11 +89,6 @@ module PulpPythonClient
|
|
|
89
89
|
invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
93
|
-
if @key !~ pattern
|
|
94
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
95
|
-
end
|
|
96
|
-
|
|
97
92
|
invalid_properties
|
|
98
93
|
end
|
|
99
94
|
|
|
@@ -103,7 +98,6 @@ module PulpPythonClient
|
|
|
103
98
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
104
99
|
return false if @key.nil?
|
|
105
100
|
return false if @key.to_s.length < 1
|
|
106
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
107
101
|
true
|
|
108
102
|
end
|
|
109
103
|
|
|
@@ -118,11 +112,6 @@ module PulpPythonClient
|
|
|
118
112
|
fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
|
|
119
113
|
end
|
|
120
114
|
|
|
121
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
122
|
-
if key !~ pattern
|
|
123
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
124
|
-
end
|
|
125
|
-
|
|
126
115
|
@key = key
|
|
127
116
|
end
|
|
128
117
|
|
|
@@ -85,11 +85,6 @@ module PulpPythonClient
|
|
|
85
85
|
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
89
|
-
if @key !~ pattern
|
|
90
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
91
|
-
end
|
|
92
|
-
|
|
93
88
|
invalid_properties
|
|
94
89
|
end
|
|
95
90
|
|
|
@@ -98,25 +93,9 @@ module PulpPythonClient
|
|
|
98
93
|
def valid?
|
|
99
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
100
95
|
return false if @key.nil?
|
|
101
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
102
96
|
true
|
|
103
97
|
end
|
|
104
98
|
|
|
105
|
-
# Custom attribute writer method with validation
|
|
106
|
-
# @param [Object] key Value to be assigned
|
|
107
|
-
def key=(key)
|
|
108
|
-
if key.nil?
|
|
109
|
-
fail ArgumentError, 'key cannot be nil'
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
113
|
-
if key !~ pattern
|
|
114
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@key = key
|
|
118
|
-
end
|
|
119
|
-
|
|
120
99
|
# Checks equality by comparing each attribute.
|
|
121
100
|
# @param [Object] Object to be compared
|
|
122
101
|
def ==(o)
|
|
@@ -78,11 +78,6 @@ module PulpPythonClient
|
|
|
78
78
|
invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
82
|
-
if @key !~ pattern
|
|
83
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
84
|
-
end
|
|
85
|
-
|
|
86
81
|
invalid_properties
|
|
87
82
|
end
|
|
88
83
|
|
|
@@ -92,7 +87,6 @@ module PulpPythonClient
|
|
|
92
87
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
93
88
|
return false if @key.nil?
|
|
94
89
|
return false if @key.to_s.length < 1
|
|
95
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
96
90
|
true
|
|
97
91
|
end
|
|
98
92
|
|
|
@@ -107,11 +101,6 @@ module PulpPythonClient
|
|
|
107
101
|
fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
|
|
108
102
|
end
|
|
109
103
|
|
|
110
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
111
|
-
if key !~ pattern
|
|
112
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
113
|
-
end
|
|
114
|
-
|
|
115
104
|
@key = key
|
|
116
105
|
end
|
|
117
106
|
|
|
@@ -82,11 +82,6 @@ module PulpPythonClient
|
|
|
82
82
|
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
86
|
-
if @key !~ pattern
|
|
87
|
-
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
|
88
|
-
end
|
|
89
|
-
|
|
90
85
|
invalid_properties
|
|
91
86
|
end
|
|
92
87
|
|
|
@@ -95,25 +90,9 @@ module PulpPythonClient
|
|
|
95
90
|
def valid?
|
|
96
91
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
97
92
|
return false if @key.nil?
|
|
98
|
-
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
99
93
|
true
|
|
100
94
|
end
|
|
101
95
|
|
|
102
|
-
# Custom attribute writer method with validation
|
|
103
|
-
# @param [Object] key Value to be assigned
|
|
104
|
-
def key=(key)
|
|
105
|
-
if key.nil?
|
|
106
|
-
fail ArgumentError, 'key cannot be nil'
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
110
|
-
if key !~ pattern
|
|
111
|
-
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
@key = key
|
|
115
|
-
end
|
|
116
|
-
|
|
117
96
|
# Checks equality by comparing each attribute.
|
|
118
97
|
# @param [Object] Object to be compared
|
|
119
98
|
def ==(o)
|
|
@@ -61,7 +61,7 @@ describe 'PublicationsPypiApi' do
|
|
|
61
61
|
|
|
62
62
|
# unit tests for delete
|
|
63
63
|
# Delete a python publication
|
|
64
|
-
#
|
|
64
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
65
65
|
# @param python_python_publication_href
|
|
66
66
|
# @param [Hash] opts the optional parameters
|
|
67
67
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -74,7 +74,7 @@ describe 'PublicationsPypiApi' do
|
|
|
74
74
|
|
|
75
75
|
# unit tests for list
|
|
76
76
|
# List python publications
|
|
77
|
-
#
|
|
77
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
78
78
|
# @param [Hash] opts the optional parameters
|
|
79
79
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
80
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
@@ -137,7 +137,7 @@ describe 'PublicationsPypiApi' do
|
|
|
137
137
|
|
|
138
138
|
# unit tests for read
|
|
139
139
|
# Inspect a python publication
|
|
140
|
-
#
|
|
140
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
141
141
|
# @param python_python_publication_href
|
|
142
142
|
# @param [Hash] opts the optional parameters
|
|
143
143
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_python_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.27.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: 2026-
|
|
11
|
+
date: 2026-03-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|