pulp_python_client 3.12.4 → 3.12.5
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 +10 -10
- data/docs/ContentPackagesApi.md +12 -12
- data/docs/PackageMetadataResponse.md +3 -3
- data/docs/PythonPythonPackageContent.md +6 -6
- data/docs/PythonPythonPackageContentResponse.md +6 -6
- data/lib/pulp_python_client/api/content_packages_api.rb +12 -12
- data/lib/pulp_python_client/models/package_metadata_response.rb +3 -3
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +20 -20
- data/lib/pulp_python_client/models/python_python_package_content.rb +6 -6
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +6 -6
- data/lib/pulp_python_client/models/python_python_remote.rb +20 -20
- data/lib/pulp_python_client/models/python_python_remote_response.rb +20 -20
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +6 -6
- 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: 6df877eac2c3c6d723e4bbd0b8b91a30f49ac39b0cc046255af8cb2ea30467fd
|
4
|
+
data.tar.gz: e11f81f4ed120ba43167180aac90417c081756e729903ce19a2925dc5d02214e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d6889e9ed1bc4559456a294d7829589f87721ec7c4395f463e3c05f47fa8b21494239abc84af03ea8150f97b4850fc36d48d3b495f44a26d6585def6442c77b
|
7
|
+
data.tar.gz: d28612967048a458317d13f504cc453438384cf63e918a14a7f5471a2be09859614f24dbd0a82ff8b5831f4a929dbb2d3356710f200e6cd88e367ac0c5a9451c
|
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.12.
|
10
|
+
- Package version: 3.12.5
|
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_python_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_python_client-3.12.
|
27
|
+
gem install ./pulp_python_client-3.12.5.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.12.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.12.5.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_python_client', '~> 3.12.
|
36
|
+
gem 'pulp_python_client', '~> 3.12.5'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -86,14 +86,14 @@ opts = {
|
|
86
86
|
license: 'license_example', # String | Text indicating the license covering the distribution
|
87
87
|
requires_python: 'requires_python_example', # String | The Python version(s) that the distribution is guaranteed to be compatible with.
|
88
88
|
project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
|
89
|
-
project_urls:
|
89
|
+
project_urls: nil, # Object | A dictionary of labels and URLs for the project.
|
90
90
|
platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
91
91
|
supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
|
92
|
-
requires_dist:
|
93
|
-
provides_dist:
|
94
|
-
obsoletes_dist:
|
95
|
-
requires_external:
|
96
|
-
classifiers:
|
92
|
+
requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
|
93
|
+
provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
|
94
|
+
obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
95
|
+
requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
|
96
|
+
classifiers: nil # Object | A JSON list containing classification values for a Python package.
|
97
97
|
}
|
98
98
|
|
99
99
|
begin
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -52,14 +52,14 @@ opts = {
|
|
52
52
|
license: 'license_example', # String | Text indicating the license covering the distribution
|
53
53
|
requires_python: 'requires_python_example', # String | The Python version(s) that the distribution is guaranteed to be compatible with.
|
54
54
|
project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
|
55
|
-
project_urls:
|
55
|
+
project_urls: nil, # Object | A dictionary of labels and URLs for the project.
|
56
56
|
platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
57
57
|
supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
|
58
|
-
requires_dist:
|
59
|
-
provides_dist:
|
60
|
-
obsoletes_dist:
|
61
|
-
requires_external:
|
62
|
-
classifiers:
|
58
|
+
requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
|
59
|
+
provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
|
60
|
+
obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
61
|
+
requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
|
62
|
+
classifiers: nil # Object | A JSON list containing classification values for a Python package.
|
63
63
|
}
|
64
64
|
|
65
65
|
begin
|
@@ -96,14 +96,14 @@ Name | Type | Description | Notes
|
|
96
96
|
**license** | **String**| Text indicating the license covering the distribution | [optional]
|
97
97
|
**requires_python** | **String**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
98
98
|
**project_url** | **String**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
99
|
-
**project_urls** | [**
|
99
|
+
**project_urls** | [**Object**](Object.md)| A dictionary of labels and URLs for the project. | [optional]
|
100
100
|
**platform** | **String**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
101
101
|
**supported_platform** | **String**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
102
|
-
**requires_dist** | [**
|
103
|
-
**provides_dist** | [**
|
104
|
-
**obsoletes_dist** | [**
|
105
|
-
**requires_external** | [**
|
106
|
-
**classifiers** | [**
|
102
|
+
**requires_dist** | [**Object**](Object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
103
|
+
**provides_dist** | [**Object**](Object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
104
|
+
**obsoletes_dist** | [**Object**](Object.md)| A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
105
|
+
**requires_external** | [**Object**](Object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
106
|
+
**classifiers** | [**Object**](Object.md)| A JSON list containing classification values for a Python package. | [optional]
|
107
107
|
|
108
108
|
### Return type
|
109
109
|
|
@@ -5,9 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**last_serial** | **Integer** | Cache value from last PyPI sync |
|
8
|
-
**info** | [**
|
9
|
-
**releases** | [**
|
10
|
-
**urls** | [**
|
8
|
+
**info** | [**Object**](.md) | Core metadata of the package |
|
9
|
+
**releases** | [**Object**](.md) | List of all the releases of the package |
|
10
|
+
**urls** | [**Object**](.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -24,14 +24,14 @@ Name | Type | Description | Notes
|
|
24
24
|
**license** | **String** | Text indicating the license covering the distribution | [optional]
|
25
25
|
**requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
26
26
|
**project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
27
|
-
**project_urls** | [**
|
27
|
+
**project_urls** | [**Object**](.md) | A dictionary of labels and URLs for the project. | [optional]
|
28
28
|
**platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
29
29
|
**supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
30
|
-
**requires_dist** | [**
|
31
|
-
**provides_dist** | [**
|
32
|
-
**obsoletes_dist** | [**
|
33
|
-
**requires_external** | [**
|
34
|
-
**classifiers** | [**
|
30
|
+
**requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
31
|
+
**provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
32
|
+
**obsoletes_dist** | [**Object**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
33
|
+
**requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
34
|
+
**classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
|
35
35
|
|
36
36
|
## Code Sample
|
37
37
|
|
@@ -28,14 +28,14 @@ Name | Type | Description | Notes
|
|
28
28
|
**license** | **String** | Text indicating the license covering the distribution | [optional]
|
29
29
|
**requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
30
30
|
**project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
31
|
-
**project_urls** | [**
|
31
|
+
**project_urls** | [**Object**](.md) | A dictionary of labels and URLs for the project. | [optional]
|
32
32
|
**platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
33
33
|
**supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
34
|
-
**requires_dist** | [**
|
35
|
-
**provides_dist** | [**
|
36
|
-
**obsoletes_dist** | [**
|
37
|
-
**requires_external** | [**
|
38
|
-
**classifiers** | [**
|
34
|
+
**requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
35
|
+
**provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
36
|
+
**obsoletes_dist** | [**Object**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
37
|
+
**requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
38
|
+
**classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
|
39
39
|
|
40
40
|
## Code Sample
|
41
41
|
|
@@ -42,14 +42,14 @@ module PulpPythonClient
|
|
42
42
|
# @option opts [String] :license Text indicating the license covering the distribution
|
43
43
|
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
44
44
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
45
|
-
# @option opts [
|
45
|
+
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
46
46
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
47
47
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
48
|
-
# @option opts [
|
49
|
-
# @option opts [
|
50
|
-
# @option opts [
|
51
|
-
# @option opts [
|
52
|
-
# @option opts [
|
48
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
49
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
50
|
+
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
51
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
52
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
53
53
|
# @return [AsyncOperationResponse]
|
54
54
|
def create(relative_path, opts = {})
|
55
55
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -79,14 +79,14 @@ module PulpPythonClient
|
|
79
79
|
# @option opts [String] :license Text indicating the license covering the distribution
|
80
80
|
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
81
81
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
82
|
-
# @option opts [
|
82
|
+
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
83
83
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
84
84
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
85
|
-
# @option opts [
|
86
|
-
# @option opts [
|
87
|
-
# @option opts [
|
88
|
-
# @option opts [
|
89
|
-
# @option opts [
|
85
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
86
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
87
|
+
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
88
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
89
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
90
90
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
91
91
|
def create_with_http_info(relative_path, opts = {})
|
92
92
|
if @api_client.config.debugging
|
@@ -40,9 +40,9 @@ module PulpPythonClient
|
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
42
|
:'last_serial' => :'Integer',
|
43
|
-
:'info' => :'
|
44
|
-
:'releases' => :'
|
45
|
-
:'urls' => :'
|
43
|
+
:'info' => :'Object',
|
44
|
+
:'releases' => :'Object',
|
45
|
+
:'urls' => :'Object'
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
@@ -368,20 +368,20 @@ module PulpPythonClient
|
|
368
368
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
369
369
|
end
|
370
370
|
|
371
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
372
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
371
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
372
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
373
373
|
end
|
374
374
|
|
375
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
376
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
375
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
376
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
377
377
|
end
|
378
378
|
|
379
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
380
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
379
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
380
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
381
381
|
end
|
382
382
|
|
383
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
384
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
383
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
384
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
385
385
|
end
|
386
386
|
|
387
387
|
invalid_properties
|
@@ -401,10 +401,10 @@ module PulpPythonClient
|
|
401
401
|
return false if !@username.nil? && @username.to_s.length < 1
|
402
402
|
return false if !@password.nil? && @password.to_s.length < 1
|
403
403
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
404
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
405
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
406
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
407
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
404
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
405
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
406
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
407
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
408
408
|
true
|
409
409
|
end
|
410
410
|
|
@@ -521,8 +521,8 @@ module PulpPythonClient
|
|
521
521
|
# Custom attribute writer method with validation
|
522
522
|
# @param [Object] total_timeout Value to be assigned
|
523
523
|
def total_timeout=(total_timeout)
|
524
|
-
if !total_timeout.nil? && total_timeout < 0
|
525
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
524
|
+
if !total_timeout.nil? && total_timeout < 0
|
525
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
526
526
|
end
|
527
527
|
|
528
528
|
@total_timeout = total_timeout
|
@@ -531,8 +531,8 @@ module PulpPythonClient
|
|
531
531
|
# Custom attribute writer method with validation
|
532
532
|
# @param [Object] connect_timeout Value to be assigned
|
533
533
|
def connect_timeout=(connect_timeout)
|
534
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
535
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
534
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
535
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
536
536
|
end
|
537
537
|
|
538
538
|
@connect_timeout = connect_timeout
|
@@ -541,8 +541,8 @@ module PulpPythonClient
|
|
541
541
|
# Custom attribute writer method with validation
|
542
542
|
# @param [Object] sock_connect_timeout Value to be assigned
|
543
543
|
def sock_connect_timeout=(sock_connect_timeout)
|
544
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
545
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
544
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
545
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
546
546
|
end
|
547
547
|
|
548
548
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -551,8 +551,8 @@ module PulpPythonClient
|
|
551
551
|
# Custom attribute writer method with validation
|
552
552
|
# @param [Object] sock_read_timeout Value to be assigned
|
553
553
|
def sock_read_timeout=(sock_read_timeout)
|
554
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
555
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
554
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
555
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
556
556
|
end
|
557
557
|
|
558
558
|
@sock_read_timeout = sock_read_timeout
|
@@ -156,14 +156,14 @@ module PulpPythonClient
|
|
156
156
|
:'license' => :'String',
|
157
157
|
:'requires_python' => :'String',
|
158
158
|
:'project_url' => :'String',
|
159
|
-
:'project_urls' => :'
|
159
|
+
:'project_urls' => :'Object',
|
160
160
|
:'platform' => :'String',
|
161
161
|
:'supported_platform' => :'String',
|
162
|
-
:'requires_dist' => :'
|
163
|
-
:'provides_dist' => :'
|
164
|
-
:'obsoletes_dist' => :'
|
165
|
-
:'requires_external' => :'
|
166
|
-
:'classifiers' => :'
|
162
|
+
:'requires_dist' => :'Object',
|
163
|
+
:'provides_dist' => :'Object',
|
164
|
+
:'obsoletes_dist' => :'Object',
|
165
|
+
:'requires_external' => :'Object',
|
166
|
+
:'classifiers' => :'Object'
|
167
167
|
}
|
168
168
|
end
|
169
169
|
|
@@ -175,14 +175,14 @@ module PulpPythonClient
|
|
175
175
|
:'license' => :'String',
|
176
176
|
:'requires_python' => :'String',
|
177
177
|
:'project_url' => :'String',
|
178
|
-
:'project_urls' => :'
|
178
|
+
:'project_urls' => :'Object',
|
179
179
|
:'platform' => :'String',
|
180
180
|
:'supported_platform' => :'String',
|
181
|
-
:'requires_dist' => :'
|
182
|
-
:'provides_dist' => :'
|
183
|
-
:'obsoletes_dist' => :'
|
184
|
-
:'requires_external' => :'
|
185
|
-
:'classifiers' => :'
|
181
|
+
:'requires_dist' => :'Object',
|
182
|
+
:'provides_dist' => :'Object',
|
183
|
+
:'obsoletes_dist' => :'Object',
|
184
|
+
:'requires_external' => :'Object',
|
185
|
+
:'classifiers' => :'Object'
|
186
186
|
}
|
187
187
|
end
|
188
188
|
|
@@ -376,20 +376,20 @@ module PulpPythonClient
|
|
376
376
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
377
377
|
end
|
378
378
|
|
379
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
380
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
379
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
380
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
381
381
|
end
|
382
382
|
|
383
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
384
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
383
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
384
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
385
385
|
end
|
386
386
|
|
387
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
388
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
387
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
388
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
389
389
|
end
|
390
390
|
|
391
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
392
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
391
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
392
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
393
393
|
end
|
394
394
|
|
395
395
|
invalid_properties
|
@@ -411,10 +411,10 @@ module PulpPythonClient
|
|
411
411
|
return false if !@username.nil? && @username.to_s.length < 1
|
412
412
|
return false if !@password.nil? && @password.to_s.length < 1
|
413
413
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
414
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
415
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
416
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
417
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
414
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
415
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
416
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
417
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
418
418
|
true
|
419
419
|
end
|
420
420
|
|
@@ -539,8 +539,8 @@ module PulpPythonClient
|
|
539
539
|
# Custom attribute writer method with validation
|
540
540
|
# @param [Object] total_timeout Value to be assigned
|
541
541
|
def total_timeout=(total_timeout)
|
542
|
-
if !total_timeout.nil? && total_timeout < 0
|
543
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
542
|
+
if !total_timeout.nil? && total_timeout < 0
|
543
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
544
544
|
end
|
545
545
|
|
546
546
|
@total_timeout = total_timeout
|
@@ -549,8 +549,8 @@ module PulpPythonClient
|
|
549
549
|
# Custom attribute writer method with validation
|
550
550
|
# @param [Object] connect_timeout Value to be assigned
|
551
551
|
def connect_timeout=(connect_timeout)
|
552
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
553
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
552
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
553
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
554
554
|
end
|
555
555
|
|
556
556
|
@connect_timeout = connect_timeout
|
@@ -559,8 +559,8 @@ module PulpPythonClient
|
|
559
559
|
# Custom attribute writer method with validation
|
560
560
|
# @param [Object] sock_connect_timeout Value to be assigned
|
561
561
|
def sock_connect_timeout=(sock_connect_timeout)
|
562
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
563
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
562
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
563
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
564
564
|
end
|
565
565
|
|
566
566
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -569,8 +569,8 @@ module PulpPythonClient
|
|
569
569
|
# Custom attribute writer method with validation
|
570
570
|
# @param [Object] sock_read_timeout Value to be assigned
|
571
571
|
def sock_read_timeout=(sock_read_timeout)
|
572
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
573
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
572
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
573
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
574
574
|
end
|
575
575
|
|
576
576
|
@sock_read_timeout = sock_read_timeout
|
@@ -332,20 +332,20 @@ module PulpPythonClient
|
|
332
332
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
333
333
|
end
|
334
334
|
|
335
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
336
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
335
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
336
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
337
337
|
end
|
338
338
|
|
339
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
340
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
339
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
340
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
341
341
|
end
|
342
342
|
|
343
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
344
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
343
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
344
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
345
345
|
end
|
346
346
|
|
347
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
348
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
347
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
348
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
349
349
|
end
|
350
350
|
|
351
351
|
invalid_properties
|
@@ -357,10 +357,10 @@ module PulpPythonClient
|
|
357
357
|
return false if @name.nil?
|
358
358
|
return false if @url.nil?
|
359
359
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
360
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
361
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
362
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
363
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
360
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
361
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
362
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
363
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
364
364
|
true
|
365
365
|
end
|
366
366
|
|
@@ -377,8 +377,8 @@ module PulpPythonClient
|
|
377
377
|
# Custom attribute writer method with validation
|
378
378
|
# @param [Object] total_timeout Value to be assigned
|
379
379
|
def total_timeout=(total_timeout)
|
380
|
-
if !total_timeout.nil? && total_timeout < 0
|
381
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
380
|
+
if !total_timeout.nil? && total_timeout < 0
|
381
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
382
382
|
end
|
383
383
|
|
384
384
|
@total_timeout = total_timeout
|
@@ -387,8 +387,8 @@ module PulpPythonClient
|
|
387
387
|
# Custom attribute writer method with validation
|
388
388
|
# @param [Object] connect_timeout Value to be assigned
|
389
389
|
def connect_timeout=(connect_timeout)
|
390
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
391
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
390
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
391
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
392
392
|
end
|
393
393
|
|
394
394
|
@connect_timeout = connect_timeout
|
@@ -397,8 +397,8 @@ module PulpPythonClient
|
|
397
397
|
# Custom attribute writer method with validation
|
398
398
|
# @param [Object] sock_connect_timeout Value to be assigned
|
399
399
|
def sock_connect_timeout=(sock_connect_timeout)
|
400
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
401
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
400
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
401
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
402
402
|
end
|
403
403
|
|
404
404
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -407,8 +407,8 @@ module PulpPythonClient
|
|
407
407
|
# Custom attribute writer method with validation
|
408
408
|
# @param [Object] sock_read_timeout Value to be assigned
|
409
409
|
def sock_read_timeout=(sock_read_timeout)
|
410
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
411
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
410
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
411
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
412
412
|
end
|
413
413
|
|
414
414
|
@sock_read_timeout = sock_read_timeout
|
@@ -56,14 +56,14 @@ describe 'ContentPackagesApi' do
|
|
56
56
|
# @option opts [String] :license Text indicating the license covering the distribution
|
57
57
|
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
58
58
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
59
|
-
# @option opts [
|
59
|
+
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
60
60
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
61
61
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
62
|
-
# @option opts [
|
63
|
-
# @option opts [
|
64
|
-
# @option opts [
|
65
|
-
# @option opts [
|
66
|
-
# @option opts [
|
62
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
63
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
64
|
+
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
65
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
66
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
67
67
|
# @return [AsyncOperationResponse]
|
68
68
|
describe 'create test' do
|
69
69
|
it 'should work' do
|
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.12.
|
4
|
+
version: 3.12.5
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -249,7 +249,7 @@ homepage: https://github.com/pulp/pulp_python
|
|
249
249
|
licenses:
|
250
250
|
- GPLv2+
|
251
251
|
metadata: {}
|
252
|
-
post_install_message:
|
252
|
+
post_install_message:
|
253
253
|
rdoc_options: []
|
254
254
|
require_paths:
|
255
255
|
- lib
|
@@ -264,63 +264,63 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
- !ruby/object:Gem::Version
|
265
265
|
version: '0'
|
266
266
|
requirements: []
|
267
|
-
rubygems_version: 3.
|
268
|
-
signing_key:
|
267
|
+
rubygems_version: 3.3.5
|
268
|
+
signing_key:
|
269
269
|
specification_version: 4
|
270
270
|
summary: Pulp 3 API Ruby Gem
|
271
271
|
test_files:
|
272
272
|
- spec/api/distributions_pypi_api_spec.rb
|
273
|
-
- spec/api/
|
274
|
-
- spec/api/repositories_python_api_spec.rb
|
275
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
273
|
+
- spec/api/remotes_python_api_spec.rb
|
276
274
|
- spec/api/pypi_legacy_api_spec.rb
|
277
275
|
- spec/api/pypi_metadata_api_spec.rb
|
276
|
+
- spec/api/pypi_simple_api_spec.rb
|
278
277
|
- spec/api/pypi_api_spec.rb
|
279
|
-
- spec/api/
|
278
|
+
- spec/api/repositories_python_api_spec.rb
|
279
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
280
280
|
- spec/api/publications_pypi_api_spec.rb
|
281
|
-
- spec/api/
|
281
|
+
- spec/api/content_packages_api_spec.rb
|
282
282
|
- spec/api_client_spec.rb
|
283
283
|
- spec/configuration_spec.rb
|
284
|
-
- spec/models/python_python_remote_response_spec.rb
|
285
|
-
- spec/models/set_label_response_spec.rb
|
286
|
-
- spec/models/content_summary_response_spec.rb
|
287
|
-
- spec/models/nested_role_spec.rb
|
288
|
-
- spec/models/python_python_distribution_response_spec.rb
|
289
|
-
- spec/models/python_python_publication_response_spec.rb
|
290
|
-
- spec/models/python_python_package_content_response_spec.rb
|
291
|
-
- spec/models/object_roles_response_spec.rb
|
292
|
-
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
293
|
-
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
294
|
-
- spec/models/unset_label_spec.rb
|
295
|
-
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
296
|
-
- spec/models/policy_enum_spec.rb
|
297
|
-
- spec/models/package_upload_task_response_spec.rb
|
298
|
-
- spec/models/my_permissions_response_spec.rb
|
299
|
-
- spec/models/exclude_platforms_enum_spec.rb
|
300
284
|
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
301
|
-
- spec/models/
|
285
|
+
- spec/models/repository_version_response_spec.rb
|
286
|
+
- spec/models/repository_add_remove_content_spec.rb
|
287
|
+
- spec/models/python_bander_remote_spec.rb
|
288
|
+
- spec/models/python_python_repository_spec.rb
|
289
|
+
- spec/models/set_label_response_spec.rb
|
302
290
|
- spec/models/patchedpython_python_distribution_spec.rb
|
303
|
-
- spec/models/
|
304
|
-
- spec/models/patchedpython_python_remote_spec.rb
|
291
|
+
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
305
292
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
293
|
+
- spec/models/python_python_publication_spec.rb
|
294
|
+
- spec/models/object_roles_response_spec.rb
|
306
295
|
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
307
|
-
- spec/models/
|
308
|
-
- spec/models/
|
296
|
+
- spec/models/policy_enum_spec.rb
|
297
|
+
- spec/models/package_types_enum_spec.rb
|
309
298
|
- spec/models/unset_label_response_spec.rb
|
310
|
-
- spec/models/async_operation_response_spec.rb
|
311
299
|
- spec/models/repository_sync_url_spec.rb
|
312
|
-
- spec/models/
|
313
|
-
- spec/models/
|
314
|
-
- spec/models/
|
315
|
-
- spec/models/
|
300
|
+
- spec/models/package_metadata_response_spec.rb
|
301
|
+
- spec/models/nested_role_response_spec.rb
|
302
|
+
- spec/models/async_operation_response_spec.rb
|
303
|
+
- spec/models/python_python_package_content_response_spec.rb
|
316
304
|
- spec/models/python_python_repository_response_spec.rb
|
305
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
317
306
|
- spec/models/python_python_distribution_spec.rb
|
307
|
+
- spec/models/python_python_publication_response_spec.rb
|
308
|
+
- spec/models/content_summary_response_spec.rb
|
309
|
+
- spec/models/package_upload_spec.rb
|
310
|
+
- spec/models/summary_response_spec.rb
|
311
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
312
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
313
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
314
|
+
- spec/models/unset_label_spec.rb
|
315
|
+
- spec/models/my_permissions_response_spec.rb
|
316
|
+
- spec/models/python_python_remote_response_spec.rb
|
317
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
318
|
+
- spec/models/package_upload_task_response_spec.rb
|
318
319
|
- spec/models/repair_spec.rb
|
319
320
|
- spec/models/python_python_package_content_spec.rb
|
320
|
-
- spec/models/
|
321
|
-
- spec/models/
|
322
|
-
- spec/models/python_python_publication_spec.rb
|
323
|
-
- spec/models/repository_add_remove_content_spec.rb
|
324
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
321
|
+
- spec/models/python_python_distribution_response_spec.rb
|
322
|
+
- spec/models/set_label_spec.rb
|
325
323
|
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
324
|
+
- spec/models/nested_role_spec.rb
|
325
|
+
- spec/models/python_python_remote_spec.rb
|
326
326
|
- spec/spec_helper.rb
|