pulp_python_client 3.1.0.dev01611718845 → 3.1.0.dev01612150967
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_python_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PatchedpythonPythonRemote.md +4 -0
- data/docs/PatchedpythonPythonRepository.md +3 -1
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonRemote.md +4 -0
- data/docs/PythonPythonRemoteResponse.md +4 -0
- data/docs/PythonPythonRepository.md +3 -1
- data/docs/PythonPythonRepositoryResponse.md +2 -0
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +10 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +21 -1
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +10 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +10 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +10 -1
- data/lib/pulp_python_client/models/python_python_remote.rb +21 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +21 -1
- data/lib/pulp_python_client/models/python_python_repository.rb +10 -1
- data/lib/pulp_python_client/models/python_python_repository_response.rb +10 -1
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/patchedpython_python_remote_spec.rb +12 -0
- data/spec/models/patchedpython_python_repository_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_remote_response_spec.rb +12 -0
- data/spec/models/python_python_remote_spec.rb +12 -0
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/python_python_repository_spec.rb +6 -0
- metadata +24 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1886bd4ef1d0cc1575453641d868d2c26c5a04c9dbf6a3eff677b44738089129
|
4
|
+
data.tar.gz: b801bb351c11a1a78c6fb61adac3c560bb1ea2fbdfc3e9adc861ab81f5bcb199
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f26a8c7b5768a9ea19fd5d4a72f6f425a37cbfa8f732f06945b32e2261e70c76383856ad7bdbad9c2f1912371482a554d802efe2d85126ea3aa8387790f469
|
7
|
+
data.tar.gz: d824ebc8aef1a403c54352ea47399ee6fcd2bf257beaea9beac30df05295bf6088a87c7e709d69a73dae98a6994d1286a39d9fa69fc2ec856590febc0dcbb4ef
|
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.1.0.
|
10
|
+
- Package version: 3.1.0.dev01612150967
|
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.1.0.
|
27
|
+
gem install ./pulp_python_client-3.1.0.dev01612150967.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.1.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.1.0.dev01612150967.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.1.0.
|
36
|
+
gem 'pulp_python_client', '~> 3.1.0.dev01612150967'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpPythonClient'
|
|
16
17
|
|
17
18
|
instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
23
25
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
24
26
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
@@ -37,12 +39,14 @@ instance = PulpPythonClient::PatchedpythonPythonRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
includes: null,
|
47
51
|
excludes: null,
|
48
52
|
prereleases: null)
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpPythonClient'
|
15
16
|
|
16
|
-
instance = PulpPythonClient::PatchedpythonPythonRepository.new(
|
17
|
+
instance = PulpPythonClient::PatchedpythonPythonRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpPythonClient'
|
|
16
17
|
|
17
18
|
instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
14
|
**publication** | **String** | Publication to be served | [optional]
|
14
15
|
|
@@ -22,6 +23,7 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: nul
|
|
22
23
|
base_path: null,
|
23
24
|
base_url: null,
|
24
25
|
content_guard: null,
|
26
|
+
pulp_labels: null,
|
25
27
|
name: null,
|
26
28
|
publication: null)
|
27
29
|
```
|
data/docs/PythonPythonRemote.md
CHANGED
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
23
25
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
24
26
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
@@ -37,12 +39,14 @@ instance = PulpPythonClient::PythonPythonRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
includes: null,
|
47
51
|
excludes: null,
|
48
52
|
prereleases: null)
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
19
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
|
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
|
|
22
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
27
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
26
28
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
27
29
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
@@ -42,6 +44,7 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
42
44
|
proxy_url: null,
|
43
45
|
username: null,
|
44
46
|
password: null,
|
47
|
+
pulp_labels: null,
|
45
48
|
pulp_last_updated: null,
|
46
49
|
download_concurrency: null,
|
47
50
|
policy: null,
|
@@ -49,6 +52,7 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
49
52
|
connect_timeout: null,
|
50
53
|
sock_connect_timeout: null,
|
51
54
|
sock_read_timeout: null,
|
55
|
+
rate_limit: null,
|
52
56
|
includes: null,
|
53
57
|
excludes: null,
|
54
58
|
prereleases: null)
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpPythonClient'
|
15
16
|
|
16
|
-
instance = PulpPythonClient::PythonPythonRepository.new(
|
17
|
+
instance = PulpPythonClient::PythonPythonRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
|
|
20
21
|
instance = PulpPythonClient::PythonPythonRepositoryResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
22
23
|
versions_href: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
latest_version_href: null,
|
24
26
|
name: null,
|
25
27
|
description: null,
|
@@ -21,6 +21,8 @@ module PulpPythonClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
27
|
attr_accessor :name
|
26
28
|
|
@@ -32,6 +34,7 @@ module PulpPythonClient
|
|
32
34
|
{
|
33
35
|
:'base_path' => :'base_path',
|
34
36
|
:'content_guard' => :'content_guard',
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
35
38
|
:'name' => :'name',
|
36
39
|
:'publication' => :'publication'
|
37
40
|
}
|
@@ -42,6 +45,7 @@ module PulpPythonClient
|
|
42
45
|
{
|
43
46
|
:'base_path' => :'String',
|
44
47
|
:'content_guard' => :'String',
|
48
|
+
:'pulp_labels' => :'Object',
|
45
49
|
:'name' => :'String',
|
46
50
|
:'publication' => :'String'
|
47
51
|
}
|
@@ -78,6 +82,10 @@ module PulpPythonClient
|
|
78
82
|
self.content_guard = attributes[:'content_guard']
|
79
83
|
end
|
80
84
|
|
85
|
+
if attributes.key?(:'pulp_labels')
|
86
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
87
|
+
end
|
88
|
+
|
81
89
|
if attributes.key?(:'name')
|
82
90
|
self.name = attributes[:'name']
|
83
91
|
end
|
@@ -107,6 +115,7 @@ module PulpPythonClient
|
|
107
115
|
self.class == o.class &&
|
108
116
|
base_path == o.base_path &&
|
109
117
|
content_guard == o.content_guard &&
|
118
|
+
pulp_labels == o.pulp_labels &&
|
110
119
|
name == o.name &&
|
111
120
|
publication == o.publication
|
112
121
|
end
|
@@ -120,7 +129,7 @@ module PulpPythonClient
|
|
120
129
|
# Calculates hash code according to all attributes.
|
121
130
|
# @return [Integer] Hash code
|
122
131
|
def hash
|
123
|
-
[base_path, content_guard, name, publication].hash
|
132
|
+
[base_path, content_guard, pulp_labels, name, publication].hash
|
124
133
|
end
|
125
134
|
|
126
135
|
# Builds the object from hash
|
@@ -42,6 +42,8 @@ module PulpPythonClient
|
|
42
42
|
# The password to be used for authentication when syncing.
|
43
43
|
attr_accessor :password
|
44
44
|
|
45
|
+
attr_accessor :pulp_labels
|
46
|
+
|
45
47
|
# Total number of simultaneous connections.
|
46
48
|
attr_accessor :download_concurrency
|
47
49
|
|
@@ -60,6 +62,9 @@ module PulpPythonClient
|
|
60
62
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
63
|
attr_accessor :sock_read_timeout
|
62
64
|
|
65
|
+
# Limits total download rate in requests per second
|
66
|
+
attr_accessor :rate_limit
|
67
|
+
|
63
68
|
# A JSON list containing project specifiers for Python packages to include.
|
64
69
|
attr_accessor :includes
|
65
70
|
|
@@ -81,12 +86,14 @@ module PulpPythonClient
|
|
81
86
|
:'proxy_url' => :'proxy_url',
|
82
87
|
:'username' => :'username',
|
83
88
|
:'password' => :'password',
|
89
|
+
:'pulp_labels' => :'pulp_labels',
|
84
90
|
:'download_concurrency' => :'download_concurrency',
|
85
91
|
:'policy' => :'policy',
|
86
92
|
:'total_timeout' => :'total_timeout',
|
87
93
|
:'connect_timeout' => :'connect_timeout',
|
88
94
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
89
95
|
:'sock_read_timeout' => :'sock_read_timeout',
|
96
|
+
:'rate_limit' => :'rate_limit',
|
90
97
|
:'includes' => :'includes',
|
91
98
|
:'excludes' => :'excludes',
|
92
99
|
:'prereleases' => :'prereleases'
|
@@ -105,12 +112,14 @@ module PulpPythonClient
|
|
105
112
|
:'proxy_url' => :'String',
|
106
113
|
:'username' => :'String',
|
107
114
|
:'password' => :'String',
|
115
|
+
:'pulp_labels' => :'Object',
|
108
116
|
:'download_concurrency' => :'Integer',
|
109
117
|
:'policy' => :'PolicyEnum',
|
110
118
|
:'total_timeout' => :'Float',
|
111
119
|
:'connect_timeout' => :'Float',
|
112
120
|
:'sock_connect_timeout' => :'Float',
|
113
121
|
:'sock_read_timeout' => :'Float',
|
122
|
+
:'rate_limit' => :'Integer',
|
114
123
|
:'includes' => :'Object',
|
115
124
|
:'excludes' => :'Object',
|
116
125
|
:'prereleases' => :'Boolean'
|
@@ -130,6 +139,7 @@ module PulpPythonClient
|
|
130
139
|
:'connect_timeout',
|
131
140
|
:'sock_connect_timeout',
|
132
141
|
:'sock_read_timeout',
|
142
|
+
:'rate_limit',
|
133
143
|
])
|
134
144
|
end
|
135
145
|
|
@@ -184,6 +194,10 @@ module PulpPythonClient
|
|
184
194
|
self.password = attributes[:'password']
|
185
195
|
end
|
186
196
|
|
197
|
+
if attributes.key?(:'pulp_labels')
|
198
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
199
|
+
end
|
200
|
+
|
187
201
|
if attributes.key?(:'download_concurrency')
|
188
202
|
self.download_concurrency = attributes[:'download_concurrency']
|
189
203
|
end
|
@@ -208,6 +222,10 @@ module PulpPythonClient
|
|
208
222
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
209
223
|
end
|
210
224
|
|
225
|
+
if attributes.key?(:'rate_limit')
|
226
|
+
self.rate_limit = attributes[:'rate_limit']
|
227
|
+
end
|
228
|
+
|
211
229
|
if attributes.key?(:'includes')
|
212
230
|
self.includes = attributes[:'includes']
|
213
231
|
end
|
@@ -323,12 +341,14 @@ module PulpPythonClient
|
|
323
341
|
proxy_url == o.proxy_url &&
|
324
342
|
username == o.username &&
|
325
343
|
password == o.password &&
|
344
|
+
pulp_labels == o.pulp_labels &&
|
326
345
|
download_concurrency == o.download_concurrency &&
|
327
346
|
policy == o.policy &&
|
328
347
|
total_timeout == o.total_timeout &&
|
329
348
|
connect_timeout == o.connect_timeout &&
|
330
349
|
sock_connect_timeout == o.sock_connect_timeout &&
|
331
350
|
sock_read_timeout == o.sock_read_timeout &&
|
351
|
+
rate_limit == o.rate_limit &&
|
332
352
|
includes == o.includes &&
|
333
353
|
excludes == o.excludes &&
|
334
354
|
prereleases == o.prereleases
|
@@ -343,7 +363,7 @@ module PulpPythonClient
|
|
343
363
|
# Calculates hash code according to all attributes.
|
344
364
|
# @return [Integer] Hash code
|
345
365
|
def hash
|
346
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, includes, excludes, prereleases].hash
|
366
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, includes, excludes, prereleases].hash
|
347
367
|
end
|
348
368
|
|
349
369
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpPythonClient
|
16
16
|
# Serializer for Python Repositories.
|
17
17
|
class PatchedpythonPythonRepository
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
18
20
|
# A unique name for this repository.
|
19
21
|
attr_accessor :name
|
20
22
|
|
@@ -26,6 +28,7 @@ module PulpPythonClient
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
29
|
def self.attribute_map
|
28
30
|
{
|
31
|
+
:'pulp_labels' => :'pulp_labels',
|
29
32
|
:'name' => :'name',
|
30
33
|
:'description' => :'description',
|
31
34
|
:'remote' => :'remote'
|
@@ -35,6 +38,7 @@ module PulpPythonClient
|
|
35
38
|
# Attribute type mapping.
|
36
39
|
def self.openapi_types
|
37
40
|
{
|
41
|
+
:'pulp_labels' => :'Object',
|
38
42
|
:'name' => :'String',
|
39
43
|
:'description' => :'String',
|
40
44
|
:'remote' => :'String'
|
@@ -64,6 +68,10 @@ module PulpPythonClient
|
|
64
68
|
h[k.to_sym] = v
|
65
69
|
}
|
66
70
|
|
71
|
+
if attributes.key?(:'pulp_labels')
|
72
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
73
|
+
end
|
74
|
+
|
67
75
|
if attributes.key?(:'name')
|
68
76
|
self.name = attributes[:'name']
|
69
77
|
end
|
@@ -95,6 +103,7 @@ module PulpPythonClient
|
|
95
103
|
def ==(o)
|
96
104
|
return true if self.equal?(o)
|
97
105
|
self.class == o.class &&
|
106
|
+
pulp_labels == o.pulp_labels &&
|
98
107
|
name == o.name &&
|
99
108
|
description == o.description &&
|
100
109
|
remote == o.remote
|
@@ -109,7 +118,7 @@ module PulpPythonClient
|
|
109
118
|
# Calculates hash code according to all attributes.
|
110
119
|
# @return [Integer] Hash code
|
111
120
|
def hash
|
112
|
-
[name, description, remote].hash
|
121
|
+
[pulp_labels, name, description, remote].hash
|
113
122
|
end
|
114
123
|
|
115
124
|
# Builds the object from hash
|
@@ -21,6 +21,8 @@ module PulpPythonClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
27
|
attr_accessor :name
|
26
28
|
|
@@ -32,6 +34,7 @@ module PulpPythonClient
|
|
32
34
|
{
|
33
35
|
:'base_path' => :'base_path',
|
34
36
|
:'content_guard' => :'content_guard',
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
35
38
|
:'name' => :'name',
|
36
39
|
:'publication' => :'publication'
|
37
40
|
}
|
@@ -42,6 +45,7 @@ module PulpPythonClient
|
|
42
45
|
{
|
43
46
|
:'base_path' => :'String',
|
44
47
|
:'content_guard' => :'String',
|
48
|
+
:'pulp_labels' => :'Object',
|
45
49
|
:'name' => :'String',
|
46
50
|
:'publication' => :'String'
|
47
51
|
}
|
@@ -78,6 +82,10 @@ module PulpPythonClient
|
|
78
82
|
self.content_guard = attributes[:'content_guard']
|
79
83
|
end
|
80
84
|
|
85
|
+
if attributes.key?(:'pulp_labels')
|
86
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
87
|
+
end
|
88
|
+
|
81
89
|
if attributes.key?(:'name')
|
82
90
|
self.name = attributes[:'name']
|
83
91
|
end
|
@@ -117,6 +125,7 @@ module PulpPythonClient
|
|
117
125
|
self.class == o.class &&
|
118
126
|
base_path == o.base_path &&
|
119
127
|
content_guard == o.content_guard &&
|
128
|
+
pulp_labels == o.pulp_labels &&
|
120
129
|
name == o.name &&
|
121
130
|
publication == o.publication
|
122
131
|
end
|
@@ -130,7 +139,7 @@ module PulpPythonClient
|
|
130
139
|
# Calculates hash code according to all attributes.
|
131
140
|
# @return [Integer] Hash code
|
132
141
|
def hash
|
133
|
-
[base_path, content_guard, name, publication].hash
|
142
|
+
[base_path, content_guard, pulp_labels, name, publication].hash
|
134
143
|
end
|
135
144
|
|
136
145
|
# Builds the object from hash
|
@@ -29,6 +29,8 @@ module PulpPythonClient
|
|
29
29
|
# An optional content-guard.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
+
attr_accessor :pulp_labels
|
33
|
+
|
32
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
35
|
attr_accessor :name
|
34
36
|
|
@@ -43,6 +45,7 @@ module PulpPythonClient
|
|
43
45
|
:'base_path' => :'base_path',
|
44
46
|
:'base_url' => :'base_url',
|
45
47
|
:'content_guard' => :'content_guard',
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
46
49
|
:'name' => :'name',
|
47
50
|
:'publication' => :'publication'
|
48
51
|
}
|
@@ -56,6 +59,7 @@ module PulpPythonClient
|
|
56
59
|
:'base_path' => :'String',
|
57
60
|
:'base_url' => :'String',
|
58
61
|
:'content_guard' => :'String',
|
62
|
+
:'pulp_labels' => :'Object',
|
59
63
|
:'name' => :'String',
|
60
64
|
:'publication' => :'String'
|
61
65
|
}
|
@@ -104,6 +108,10 @@ module PulpPythonClient
|
|
104
108
|
self.content_guard = attributes[:'content_guard']
|
105
109
|
end
|
106
110
|
|
111
|
+
if attributes.key?(:'pulp_labels')
|
112
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
113
|
+
end
|
114
|
+
|
107
115
|
if attributes.key?(:'name')
|
108
116
|
self.name = attributes[:'name']
|
109
117
|
end
|
@@ -146,6 +154,7 @@ module PulpPythonClient
|
|
146
154
|
base_path == o.base_path &&
|
147
155
|
base_url == o.base_url &&
|
148
156
|
content_guard == o.content_guard &&
|
157
|
+
pulp_labels == o.pulp_labels &&
|
149
158
|
name == o.name &&
|
150
159
|
publication == o.publication
|
151
160
|
end
|
@@ -159,7 +168,7 @@ module PulpPythonClient
|
|
159
168
|
# Calculates hash code according to all attributes.
|
160
169
|
# @return [Integer] Hash code
|
161
170
|
def hash
|
162
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, name, publication].hash
|
171
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, publication].hash
|
163
172
|
end
|
164
173
|
|
165
174
|
# Builds the object from hash
|
@@ -42,6 +42,8 @@ module PulpPythonClient
|
|
42
42
|
# The password to be used for authentication when syncing.
|
43
43
|
attr_accessor :password
|
44
44
|
|
45
|
+
attr_accessor :pulp_labels
|
46
|
+
|
45
47
|
# Total number of simultaneous connections.
|
46
48
|
attr_accessor :download_concurrency
|
47
49
|
|
@@ -60,6 +62,9 @@ module PulpPythonClient
|
|
60
62
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
63
|
attr_accessor :sock_read_timeout
|
62
64
|
|
65
|
+
# Limits total download rate in requests per second
|
66
|
+
attr_accessor :rate_limit
|
67
|
+
|
63
68
|
# A JSON list containing project specifiers for Python packages to include.
|
64
69
|
attr_accessor :includes
|
65
70
|
|
@@ -81,12 +86,14 @@ module PulpPythonClient
|
|
81
86
|
:'proxy_url' => :'proxy_url',
|
82
87
|
:'username' => :'username',
|
83
88
|
:'password' => :'password',
|
89
|
+
:'pulp_labels' => :'pulp_labels',
|
84
90
|
:'download_concurrency' => :'download_concurrency',
|
85
91
|
:'policy' => :'policy',
|
86
92
|
:'total_timeout' => :'total_timeout',
|
87
93
|
:'connect_timeout' => :'connect_timeout',
|
88
94
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
89
95
|
:'sock_read_timeout' => :'sock_read_timeout',
|
96
|
+
:'rate_limit' => :'rate_limit',
|
90
97
|
:'includes' => :'includes',
|
91
98
|
:'excludes' => :'excludes',
|
92
99
|
:'prereleases' => :'prereleases'
|
@@ -105,12 +112,14 @@ module PulpPythonClient
|
|
105
112
|
:'proxy_url' => :'String',
|
106
113
|
:'username' => :'String',
|
107
114
|
:'password' => :'String',
|
115
|
+
:'pulp_labels' => :'Object',
|
108
116
|
:'download_concurrency' => :'Integer',
|
109
117
|
:'policy' => :'PolicyEnum',
|
110
118
|
:'total_timeout' => :'Float',
|
111
119
|
:'connect_timeout' => :'Float',
|
112
120
|
:'sock_connect_timeout' => :'Float',
|
113
121
|
:'sock_read_timeout' => :'Float',
|
122
|
+
:'rate_limit' => :'Integer',
|
114
123
|
:'includes' => :'Object',
|
115
124
|
:'excludes' => :'Object',
|
116
125
|
:'prereleases' => :'Boolean'
|
@@ -130,6 +139,7 @@ module PulpPythonClient
|
|
130
139
|
:'connect_timeout',
|
131
140
|
:'sock_connect_timeout',
|
132
141
|
:'sock_read_timeout',
|
142
|
+
:'rate_limit',
|
133
143
|
])
|
134
144
|
end
|
135
145
|
|
@@ -184,6 +194,10 @@ module PulpPythonClient
|
|
184
194
|
self.password = attributes[:'password']
|
185
195
|
end
|
186
196
|
|
197
|
+
if attributes.key?(:'pulp_labels')
|
198
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
199
|
+
end
|
200
|
+
|
187
201
|
if attributes.key?(:'download_concurrency')
|
188
202
|
self.download_concurrency = attributes[:'download_concurrency']
|
189
203
|
end
|
@@ -208,6 +222,10 @@ module PulpPythonClient
|
|
208
222
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
209
223
|
end
|
210
224
|
|
225
|
+
if attributes.key?(:'rate_limit')
|
226
|
+
self.rate_limit = attributes[:'rate_limit']
|
227
|
+
end
|
228
|
+
|
211
229
|
if attributes.key?(:'includes')
|
212
230
|
self.includes = attributes[:'includes']
|
213
231
|
end
|
@@ -333,12 +351,14 @@ module PulpPythonClient
|
|
333
351
|
proxy_url == o.proxy_url &&
|
334
352
|
username == o.username &&
|
335
353
|
password == o.password &&
|
354
|
+
pulp_labels == o.pulp_labels &&
|
336
355
|
download_concurrency == o.download_concurrency &&
|
337
356
|
policy == o.policy &&
|
338
357
|
total_timeout == o.total_timeout &&
|
339
358
|
connect_timeout == o.connect_timeout &&
|
340
359
|
sock_connect_timeout == o.sock_connect_timeout &&
|
341
360
|
sock_read_timeout == o.sock_read_timeout &&
|
361
|
+
rate_limit == o.rate_limit &&
|
342
362
|
includes == o.includes &&
|
343
363
|
excludes == o.excludes &&
|
344
364
|
prereleases == o.prereleases
|
@@ -353,7 +373,7 @@ module PulpPythonClient
|
|
353
373
|
# Calculates hash code according to all attributes.
|
354
374
|
# @return [Integer] Hash code
|
355
375
|
def hash
|
356
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, includes, excludes, prereleases].hash
|
376
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, includes, excludes, prereleases].hash
|
357
377
|
end
|
358
378
|
|
359
379
|
# Builds the object from hash
|
@@ -47,6 +47,8 @@ module PulpPythonClient
|
|
47
47
|
# The password to be used for authentication when syncing.
|
48
48
|
attr_accessor :password
|
49
49
|
|
50
|
+
attr_accessor :pulp_labels
|
51
|
+
|
50
52
|
# Timestamp of the most recent update of the remote.
|
51
53
|
attr_accessor :pulp_last_updated
|
52
54
|
|
@@ -68,6 +70,9 @@ module PulpPythonClient
|
|
68
70
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
71
|
attr_accessor :sock_read_timeout
|
70
72
|
|
73
|
+
# Limits total download rate in requests per second
|
74
|
+
attr_accessor :rate_limit
|
75
|
+
|
71
76
|
# A JSON list containing project specifiers for Python packages to include.
|
72
77
|
attr_accessor :includes
|
73
78
|
|
@@ -91,6 +96,7 @@ module PulpPythonClient
|
|
91
96
|
:'proxy_url' => :'proxy_url',
|
92
97
|
:'username' => :'username',
|
93
98
|
:'password' => :'password',
|
99
|
+
:'pulp_labels' => :'pulp_labels',
|
94
100
|
:'pulp_last_updated' => :'pulp_last_updated',
|
95
101
|
:'download_concurrency' => :'download_concurrency',
|
96
102
|
:'policy' => :'policy',
|
@@ -98,6 +104,7 @@ module PulpPythonClient
|
|
98
104
|
:'connect_timeout' => :'connect_timeout',
|
99
105
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
100
106
|
:'sock_read_timeout' => :'sock_read_timeout',
|
107
|
+
:'rate_limit' => :'rate_limit',
|
101
108
|
:'includes' => :'includes',
|
102
109
|
:'excludes' => :'excludes',
|
103
110
|
:'prereleases' => :'prereleases'
|
@@ -118,6 +125,7 @@ module PulpPythonClient
|
|
118
125
|
:'proxy_url' => :'String',
|
119
126
|
:'username' => :'String',
|
120
127
|
:'password' => :'String',
|
128
|
+
:'pulp_labels' => :'Object',
|
121
129
|
:'pulp_last_updated' => :'DateTime',
|
122
130
|
:'download_concurrency' => :'Integer',
|
123
131
|
:'policy' => :'PolicyEnum',
|
@@ -125,6 +133,7 @@ module PulpPythonClient
|
|
125
133
|
:'connect_timeout' => :'Float',
|
126
134
|
:'sock_connect_timeout' => :'Float',
|
127
135
|
:'sock_read_timeout' => :'Float',
|
136
|
+
:'rate_limit' => :'Integer',
|
128
137
|
:'includes' => :'Object',
|
129
138
|
:'excludes' => :'Object',
|
130
139
|
:'prereleases' => :'Boolean'
|
@@ -144,6 +153,7 @@ module PulpPythonClient
|
|
144
153
|
:'connect_timeout',
|
145
154
|
:'sock_connect_timeout',
|
146
155
|
:'sock_read_timeout',
|
156
|
+
:'rate_limit',
|
147
157
|
])
|
148
158
|
end
|
149
159
|
|
@@ -206,6 +216,10 @@ module PulpPythonClient
|
|
206
216
|
self.password = attributes[:'password']
|
207
217
|
end
|
208
218
|
|
219
|
+
if attributes.key?(:'pulp_labels')
|
220
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
221
|
+
end
|
222
|
+
|
209
223
|
if attributes.key?(:'pulp_last_updated')
|
210
224
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
211
225
|
end
|
@@ -234,6 +248,10 @@ module PulpPythonClient
|
|
234
248
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
235
249
|
end
|
236
250
|
|
251
|
+
if attributes.key?(:'rate_limit')
|
252
|
+
self.rate_limit = attributes[:'rate_limit']
|
253
|
+
end
|
254
|
+
|
237
255
|
if attributes.key?(:'includes')
|
238
256
|
self.includes = attributes[:'includes']
|
239
257
|
end
|
@@ -361,6 +379,7 @@ module PulpPythonClient
|
|
361
379
|
proxy_url == o.proxy_url &&
|
362
380
|
username == o.username &&
|
363
381
|
password == o.password &&
|
382
|
+
pulp_labels == o.pulp_labels &&
|
364
383
|
pulp_last_updated == o.pulp_last_updated &&
|
365
384
|
download_concurrency == o.download_concurrency &&
|
366
385
|
policy == o.policy &&
|
@@ -368,6 +387,7 @@ module PulpPythonClient
|
|
368
387
|
connect_timeout == o.connect_timeout &&
|
369
388
|
sock_connect_timeout == o.sock_connect_timeout &&
|
370
389
|
sock_read_timeout == o.sock_read_timeout &&
|
390
|
+
rate_limit == o.rate_limit &&
|
371
391
|
includes == o.includes &&
|
372
392
|
excludes == o.excludes &&
|
373
393
|
prereleases == o.prereleases
|
@@ -382,7 +402,7 @@ module PulpPythonClient
|
|
382
402
|
# Calculates hash code according to all attributes.
|
383
403
|
# @return [Integer] Hash code
|
384
404
|
def hash
|
385
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, includes, excludes, prereleases].hash
|
405
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, includes, excludes, prereleases].hash
|
386
406
|
end
|
387
407
|
|
388
408
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpPythonClient
|
16
16
|
# Serializer for Python Repositories.
|
17
17
|
class PythonPythonRepository
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
18
20
|
# A unique name for this repository.
|
19
21
|
attr_accessor :name
|
20
22
|
|
@@ -26,6 +28,7 @@ module PulpPythonClient
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
29
|
def self.attribute_map
|
28
30
|
{
|
31
|
+
:'pulp_labels' => :'pulp_labels',
|
29
32
|
:'name' => :'name',
|
30
33
|
:'description' => :'description',
|
31
34
|
:'remote' => :'remote'
|
@@ -35,6 +38,7 @@ module PulpPythonClient
|
|
35
38
|
# Attribute type mapping.
|
36
39
|
def self.openapi_types
|
37
40
|
{
|
41
|
+
:'pulp_labels' => :'Object',
|
38
42
|
:'name' => :'String',
|
39
43
|
:'description' => :'String',
|
40
44
|
:'remote' => :'String'
|
@@ -64,6 +68,10 @@ module PulpPythonClient
|
|
64
68
|
h[k.to_sym] = v
|
65
69
|
}
|
66
70
|
|
71
|
+
if attributes.key?(:'pulp_labels')
|
72
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
73
|
+
end
|
74
|
+
|
67
75
|
if attributes.key?(:'name')
|
68
76
|
self.name = attributes[:'name']
|
69
77
|
end
|
@@ -100,6 +108,7 @@ module PulpPythonClient
|
|
100
108
|
def ==(o)
|
101
109
|
return true if self.equal?(o)
|
102
110
|
self.class == o.class &&
|
111
|
+
pulp_labels == o.pulp_labels &&
|
103
112
|
name == o.name &&
|
104
113
|
description == o.description &&
|
105
114
|
remote == o.remote
|
@@ -114,7 +123,7 @@ module PulpPythonClient
|
|
114
123
|
# Calculates hash code according to all attributes.
|
115
124
|
# @return [Integer] Hash code
|
116
125
|
def hash
|
117
|
-
[name, description, remote].hash
|
126
|
+
[pulp_labels, name, description, remote].hash
|
118
127
|
end
|
119
128
|
|
120
129
|
# Builds the object from hash
|
@@ -22,6 +22,8 @@ module PulpPythonClient
|
|
22
22
|
|
23
23
|
attr_accessor :versions_href
|
24
24
|
|
25
|
+
attr_accessor :pulp_labels
|
26
|
+
|
25
27
|
attr_accessor :latest_version_href
|
26
28
|
|
27
29
|
# A unique name for this repository.
|
@@ -38,6 +40,7 @@ module PulpPythonClient
|
|
38
40
|
:'pulp_href' => :'pulp_href',
|
39
41
|
:'pulp_created' => :'pulp_created',
|
40
42
|
:'versions_href' => :'versions_href',
|
43
|
+
:'pulp_labels' => :'pulp_labels',
|
41
44
|
:'latest_version_href' => :'latest_version_href',
|
42
45
|
:'name' => :'name',
|
43
46
|
:'description' => :'description',
|
@@ -51,6 +54,7 @@ module PulpPythonClient
|
|
51
54
|
:'pulp_href' => :'String',
|
52
55
|
:'pulp_created' => :'DateTime',
|
53
56
|
:'versions_href' => :'String',
|
57
|
+
:'pulp_labels' => :'Object',
|
54
58
|
:'latest_version_href' => :'String',
|
55
59
|
:'name' => :'String',
|
56
60
|
:'description' => :'String',
|
@@ -93,6 +97,10 @@ module PulpPythonClient
|
|
93
97
|
self.versions_href = attributes[:'versions_href']
|
94
98
|
end
|
95
99
|
|
100
|
+
if attributes.key?(:'pulp_labels')
|
101
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
102
|
+
end
|
103
|
+
|
96
104
|
if attributes.key?(:'latest_version_href')
|
97
105
|
self.latest_version_href = attributes[:'latest_version_href']
|
98
106
|
end
|
@@ -136,6 +144,7 @@ module PulpPythonClient
|
|
136
144
|
pulp_href == o.pulp_href &&
|
137
145
|
pulp_created == o.pulp_created &&
|
138
146
|
versions_href == o.versions_href &&
|
147
|
+
pulp_labels == o.pulp_labels &&
|
139
148
|
latest_version_href == o.latest_version_href &&
|
140
149
|
name == o.name &&
|
141
150
|
description == o.description &&
|
@@ -151,7 +160,7 @@ module PulpPythonClient
|
|
151
160
|
# Calculates hash code according to all attributes.
|
152
161
|
# @return [Integer] Hash code
|
153
162
|
def hash
|
154
|
-
[pulp_href, pulp_created, versions_href, latest_version_href, name, description, remote].hash
|
163
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, remote].hash
|
155
164
|
end
|
156
165
|
|
157
166
|
# Builds the object from hash
|
@@ -44,6 +44,12 @@ describe 'PatchedpythonPythonDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_labels"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,6 +86,12 @@ describe 'PatchedpythonPythonRemote' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "pulp_labels"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
89
95
|
describe 'test attribute "download_concurrency"' do
|
90
96
|
it 'should work' do
|
91
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -122,6 +128,12 @@ describe 'PatchedpythonPythonRemote' do
|
|
122
128
|
end
|
123
129
|
end
|
124
130
|
|
131
|
+
describe 'test attribute "rate_limit"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
125
137
|
describe 'test attribute "includes"' do
|
126
138
|
it 'should work' do
|
127
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,6 +32,12 @@ describe 'PatchedpythonPythonRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpPythonClient::PatchedpythonPythonRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "name"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'PythonPythonDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "pulp_labels"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "name"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'PythonPythonDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_labels"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -98,6 +98,12 @@ describe 'PythonPythonRemoteResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "pulp_labels"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
101
107
|
describe 'test attribute "pulp_last_updated"' do
|
102
108
|
it 'should work' do
|
103
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -140,6 +146,12 @@ describe 'PythonPythonRemoteResponse' do
|
|
140
146
|
end
|
141
147
|
end
|
142
148
|
|
149
|
+
describe 'test attribute "rate_limit"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
143
155
|
describe 'test attribute "includes"' do
|
144
156
|
it 'should work' do
|
145
157
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,6 +86,12 @@ describe 'PythonPythonRemote' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "pulp_labels"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
89
95
|
describe 'test attribute "download_concurrency"' do
|
90
96
|
it 'should work' do
|
91
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -122,6 +128,12 @@ describe 'PythonPythonRemote' do
|
|
122
128
|
end
|
123
129
|
end
|
124
130
|
|
131
|
+
describe 'test attribute "rate_limit"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
125
137
|
describe 'test attribute "includes"' do
|
126
138
|
it 'should work' do
|
127
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,6 +50,12 @@ describe 'PythonPythonRepositoryResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "pulp_labels"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "latest_version_href"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,6 +32,12 @@ describe 'PythonPythonRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpPythonClient::PythonPythonRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "pulp_labels"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "name"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.1.0.
|
4
|
+
version: 3.1.0.dev01612150967
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01
|
11
|
+
date: 2021-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -212,38 +212,38 @@ summary: Pulp 3 API Ruby Gem
|
|
212
212
|
test_files:
|
213
213
|
- spec/api/repositories_python_api_spec.rb
|
214
214
|
- spec/api/publications_pypi_api_spec.rb
|
215
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
215
216
|
- spec/api/remotes_python_api_spec.rb
|
216
217
|
- spec/api/distributions_pypi_api_spec.rb
|
217
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
218
218
|
- spec/api/content_packages_api_spec.rb
|
219
219
|
- spec/api_client_spec.rb
|
220
220
|
- spec/configuration_spec.rb
|
221
|
-
- spec/models/python_bander_remote_spec.rb
|
222
|
-
- spec/models/python_python_remote_spec.rb
|
223
|
-
- spec/models/content_summary_spec.rb
|
224
|
-
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
225
|
-
- spec/models/patchedpython_python_distribution_spec.rb
|
226
|
-
- spec/models/python_python_publication_spec.rb
|
227
|
-
- spec/models/repository_version_spec.rb
|
228
|
-
- spec/models/python_python_repository_spec.rb
|
229
|
-
- spec/models/content_summary_response_spec.rb
|
230
|
-
- spec/models/python_python_package_content_spec.rb
|
231
|
-
- spec/models/repository_version_response_spec.rb
|
232
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
233
221
|
- spec/models/repository_sync_url_spec.rb
|
234
|
-
- spec/models/python_python_package_content_response_spec.rb
|
235
|
-
- spec/models/python_python_distribution_spec.rb
|
236
|
-
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
237
|
-
- spec/models/async_operation_response_spec.rb
|
238
222
|
- spec/models/policy_enum_spec.rb
|
223
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
224
|
+
- spec/models/python_python_remote_response_spec.rb
|
225
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
226
|
+
- spec/models/python_bander_remote_spec.rb
|
227
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
228
|
+
- spec/models/python_python_package_content_spec.rb
|
229
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
230
|
+
- spec/models/python_python_remote_spec.rb
|
239
231
|
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
232
|
+
- spec/models/repository_version_response_spec.rb
|
233
|
+
- spec/models/python_python_repository_response_spec.rb
|
240
234
|
- spec/models/python_python_publication_response_spec.rb
|
241
|
-
- spec/models/
|
235
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
242
236
|
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
243
|
-
- spec/models/
|
244
|
-
- spec/models/
|
237
|
+
- spec/models/async_operation_response_spec.rb
|
238
|
+
- spec/models/content_summary_response_spec.rb
|
239
|
+
- spec/models/python_python_package_content_response_spec.rb
|
245
240
|
- spec/models/repository_add_remove_content_spec.rb
|
241
|
+
- spec/models/python_python_repository_spec.rb
|
242
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
243
|
+
- spec/models/python_python_distribution_spec.rb
|
246
244
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
247
|
-
- spec/models/
|
248
|
-
- spec/models/
|
245
|
+
- spec/models/content_summary_spec.rb
|
246
|
+
- spec/models/python_python_distribution_response_spec.rb
|
247
|
+
- spec/models/repository_version_spec.rb
|
248
|
+
- spec/models/python_python_publication_spec.rb
|
249
249
|
- spec/spec_helper.rb
|