pulp_file_client 1.6.0.dev01611462327 → 1.6.0.dev01612237404
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_file_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FileFileDistribution.md +2 -0
- data/docs/FileFileDistributionResponse.md +2 -0
- data/docs/FileFileRemote.md +5 -1
- data/docs/FileFileRemoteResponse.md +5 -1
- data/docs/FileFileRepository.md +3 -1
- data/docs/FileFileRepositoryResponse.md +2 -0
- data/docs/PatchedfileFileDistribution.md +2 -0
- data/docs/PatchedfileFileRemote.md +5 -1
- data/docs/PatchedfileFileRepository.md +3 -1
- data/lib/pulp_file_client/models/file_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +10 -1
- data/lib/pulp_file_client/models/file_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/file_file_remote_response.rb +25 -5
- data/lib/pulp_file_client/models/file_file_repository.rb +10 -1
- data/lib/pulp_file_client/models/file_file_repository_response.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +10 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/models/file_file_distribution_response_spec.rb +6 -0
- data/spec/models/file_file_distribution_spec.rb +6 -0
- data/spec/models/file_file_remote_response_spec.rb +12 -0
- data/spec/models/file_file_remote_spec.rb +12 -0
- data/spec/models/file_file_repository_response_spec.rb +6 -0
- data/spec/models/file_file_repository_spec.rb +6 -0
- data/spec/models/patchedfile_file_distribution_spec.rb +6 -0
- data/spec/models/patchedfile_file_remote_spec.rb +12 -0
- data/spec/models/patchedfile_file_repository_spec.rb +6 -0
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a40d56bc248cacc3f31abe23170017f2dd670eec05328d0ef2f18d40d97dadb0
|
4
|
+
data.tar.gz: 458138974ad887973fcd6552efd33bebc51ecac9b3735118e2827763f020c853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd883d8d6227346aa07a40b538673f1ac15c890c2df2ffa173174bf596ccea3a72a258e7ceeeecd1371d9becbce1d2802c96773dfcc0423f6e6efdb2a6d209e5
|
7
|
+
data.tar.gz: 278033277fbbe232a68d8d3305c980c9e2946dd2bed8632938d9ac2fe6a7d69d745b6a869edc8782f2a1df3ee6881448cf6c0be9a7844cfc7c0f58bb775bb09a
|
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: 1.6.0.
|
10
|
+
- Package version: 1.6.0.dev01612237404
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_file_client-1.6.0.
|
27
|
+
gem install ./pulp_file_client-1.6.0.dev01612237404.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-1.6.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.6.0.dev01612237404.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_file_client', '~> 1.6.0.
|
36
|
+
gem 'pulp_file_client', '~> 1.6.0.dev01612237404'
|
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\") |
|
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 'PulpFileClient'
|
|
16
17
|
|
17
18
|
instance = PulpFileClient::FileFileDistribution.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 = PulpFileClient::FileFileDistributionResponse.new(pulp_href: null,
|
|
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/FileFileRemote.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 'streamed'. '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
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpFileClient::FileFileRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -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 'streamed'. '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
|
|
26
28
|
## Code Sample
|
27
29
|
|
@@ -39,13 +41,15 @@ instance = PulpFileClient::FileFileRemoteResponse.new(pulp_href: null,
|
|
39
41
|
proxy_url: null,
|
40
42
|
username: null,
|
41
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
42
45
|
pulp_last_updated: null,
|
43
46
|
download_concurrency: null,
|
44
47
|
policy: null,
|
45
48
|
total_timeout: null,
|
46
49
|
connect_timeout: null,
|
47
50
|
sock_connect_timeout: null,
|
48
|
-
sock_read_timeout: null
|
51
|
+
sock_read_timeout: null,
|
52
|
+
rate_limit: null)
|
49
53
|
```
|
50
54
|
|
51
55
|
|
data/docs/FileFileRepository.md
CHANGED
@@ -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 'PulpFileClient'
|
15
16
|
|
16
|
-
instance = PulpFileClient::FileFileRepository.new(
|
17
|
+
instance = PulpFileClient::FileFileRepository.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 'PulpFileClient'
|
|
20
21
|
instance = PulpFileClient::FileFileRepositoryResponse.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,
|
@@ -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 'PulpFileClient'
|
|
16
17
|
|
17
18
|
instance = PulpFileClient::PatchedfileFileDistribution.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 'streamed'. '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
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpFileClient::PatchedfileFileRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -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 'PulpFileClient'
|
15
16
|
|
16
|
-
instance = PulpFileClient::PatchedfileFileRepository.new(
|
17
|
+
instance = PulpFileClient::PatchedfileFileRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -21,6 +21,8 @@ module PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
69
|
def self.attribute_map
|
65
70
|
{
|
@@ -72,12 +77,14 @@ module PulpFileClient
|
|
72
77
|
:'proxy_url' => :'proxy_url',
|
73
78
|
:'username' => :'username',
|
74
79
|
:'password' => :'password',
|
80
|
+
:'pulp_labels' => :'pulp_labels',
|
75
81
|
:'download_concurrency' => :'download_concurrency',
|
76
82
|
:'policy' => :'policy',
|
77
83
|
:'total_timeout' => :'total_timeout',
|
78
84
|
:'connect_timeout' => :'connect_timeout',
|
79
85
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
80
|
-
:'sock_read_timeout' => :'sock_read_timeout'
|
86
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
87
|
+
:'rate_limit' => :'rate_limit'
|
81
88
|
}
|
82
89
|
end
|
83
90
|
|
@@ -93,12 +100,14 @@ module PulpFileClient
|
|
93
100
|
:'proxy_url' => :'String',
|
94
101
|
:'username' => :'String',
|
95
102
|
:'password' => :'String',
|
103
|
+
:'pulp_labels' => :'Object',
|
96
104
|
:'download_concurrency' => :'Integer',
|
97
105
|
:'policy' => :'PolicyEnum',
|
98
106
|
:'total_timeout' => :'Float',
|
99
107
|
:'connect_timeout' => :'Float',
|
100
108
|
:'sock_connect_timeout' => :'Float',
|
101
|
-
:'sock_read_timeout' => :'Float'
|
109
|
+
:'sock_read_timeout' => :'Float',
|
110
|
+
:'rate_limit' => :'Integer'
|
102
111
|
}
|
103
112
|
end
|
104
113
|
|
@@ -114,7 +123,8 @@ module PulpFileClient
|
|
114
123
|
:'total_timeout',
|
115
124
|
:'connect_timeout',
|
116
125
|
:'sock_connect_timeout',
|
117
|
-
:'sock_read_timeout'
|
126
|
+
:'sock_read_timeout',
|
127
|
+
:'rate_limit'
|
118
128
|
])
|
119
129
|
end
|
120
130
|
|
@@ -169,6 +179,10 @@ module PulpFileClient
|
|
169
179
|
self.password = attributes[:'password']
|
170
180
|
end
|
171
181
|
|
182
|
+
if attributes.key?(:'pulp_labels')
|
183
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
184
|
+
end
|
185
|
+
|
172
186
|
if attributes.key?(:'download_concurrency')
|
173
187
|
self.download_concurrency = attributes[:'download_concurrency']
|
174
188
|
end
|
@@ -192,6 +206,10 @@ module PulpFileClient
|
|
192
206
|
if attributes.key?(:'sock_read_timeout')
|
193
207
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
194
208
|
end
|
209
|
+
|
210
|
+
if attributes.key?(:'rate_limit')
|
211
|
+
self.rate_limit = attributes[:'rate_limit']
|
212
|
+
end
|
195
213
|
end
|
196
214
|
|
197
215
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -306,12 +324,14 @@ module PulpFileClient
|
|
306
324
|
proxy_url == o.proxy_url &&
|
307
325
|
username == o.username &&
|
308
326
|
password == o.password &&
|
327
|
+
pulp_labels == o.pulp_labels &&
|
309
328
|
download_concurrency == o.download_concurrency &&
|
310
329
|
policy == o.policy &&
|
311
330
|
total_timeout == o.total_timeout &&
|
312
331
|
connect_timeout == o.connect_timeout &&
|
313
332
|
sock_connect_timeout == o.sock_connect_timeout &&
|
314
|
-
sock_read_timeout == o.sock_read_timeout
|
333
|
+
sock_read_timeout == o.sock_read_timeout &&
|
334
|
+
rate_limit == o.rate_limit
|
315
335
|
end
|
316
336
|
|
317
337
|
# @see the `==` method
|
@@ -323,7 +343,7 @@ module PulpFileClient
|
|
323
343
|
# Calculates hash code according to all attributes.
|
324
344
|
# @return [Integer] Hash code
|
325
345
|
def hash
|
326
|
-
[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].hash
|
346
|
+
[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].hash
|
327
347
|
end
|
328
348
|
|
329
349
|
# Builds the object from hash
|
@@ -47,6 +47,8 @@ module PulpFileClient
|
|
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 PulpFileClient
|
|
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
|
# Attribute mapping from ruby-style variable name to JSON key.
|
72
77
|
def self.attribute_map
|
73
78
|
{
|
@@ -82,13 +87,15 @@ module PulpFileClient
|
|
82
87
|
:'proxy_url' => :'proxy_url',
|
83
88
|
:'username' => :'username',
|
84
89
|
:'password' => :'password',
|
90
|
+
:'pulp_labels' => :'pulp_labels',
|
85
91
|
:'pulp_last_updated' => :'pulp_last_updated',
|
86
92
|
:'download_concurrency' => :'download_concurrency',
|
87
93
|
:'policy' => :'policy',
|
88
94
|
:'total_timeout' => :'total_timeout',
|
89
95
|
:'connect_timeout' => :'connect_timeout',
|
90
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
91
|
-
:'sock_read_timeout' => :'sock_read_timeout'
|
97
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
98
|
+
:'rate_limit' => :'rate_limit'
|
92
99
|
}
|
93
100
|
end
|
94
101
|
|
@@ -106,13 +113,15 @@ module PulpFileClient
|
|
106
113
|
:'proxy_url' => :'String',
|
107
114
|
:'username' => :'String',
|
108
115
|
:'password' => :'String',
|
116
|
+
:'pulp_labels' => :'Object',
|
109
117
|
:'pulp_last_updated' => :'DateTime',
|
110
118
|
:'download_concurrency' => :'Integer',
|
111
119
|
:'policy' => :'PolicyEnum',
|
112
120
|
:'total_timeout' => :'Float',
|
113
121
|
:'connect_timeout' => :'Float',
|
114
122
|
:'sock_connect_timeout' => :'Float',
|
115
|
-
:'sock_read_timeout' => :'Float'
|
123
|
+
:'sock_read_timeout' => :'Float',
|
124
|
+
:'rate_limit' => :'Integer'
|
116
125
|
}
|
117
126
|
end
|
118
127
|
|
@@ -128,7 +137,8 @@ module PulpFileClient
|
|
128
137
|
:'total_timeout',
|
129
138
|
:'connect_timeout',
|
130
139
|
:'sock_connect_timeout',
|
131
|
-
:'sock_read_timeout'
|
140
|
+
:'sock_read_timeout',
|
141
|
+
:'rate_limit'
|
132
142
|
])
|
133
143
|
end
|
134
144
|
|
@@ -191,6 +201,10 @@ module PulpFileClient
|
|
191
201
|
self.password = attributes[:'password']
|
192
202
|
end
|
193
203
|
|
204
|
+
if attributes.key?(:'pulp_labels')
|
205
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
206
|
+
end
|
207
|
+
|
194
208
|
if attributes.key?(:'pulp_last_updated')
|
195
209
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
196
210
|
end
|
@@ -218,6 +232,10 @@ module PulpFileClient
|
|
218
232
|
if attributes.key?(:'sock_read_timeout')
|
219
233
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
220
234
|
end
|
235
|
+
|
236
|
+
if attributes.key?(:'rate_limit')
|
237
|
+
self.rate_limit = attributes[:'rate_limit']
|
238
|
+
end
|
221
239
|
end
|
222
240
|
|
223
241
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -334,13 +352,15 @@ module PulpFileClient
|
|
334
352
|
proxy_url == o.proxy_url &&
|
335
353
|
username == o.username &&
|
336
354
|
password == o.password &&
|
355
|
+
pulp_labels == o.pulp_labels &&
|
337
356
|
pulp_last_updated == o.pulp_last_updated &&
|
338
357
|
download_concurrency == o.download_concurrency &&
|
339
358
|
policy == o.policy &&
|
340
359
|
total_timeout == o.total_timeout &&
|
341
360
|
connect_timeout == o.connect_timeout &&
|
342
361
|
sock_connect_timeout == o.sock_connect_timeout &&
|
343
|
-
sock_read_timeout == o.sock_read_timeout
|
362
|
+
sock_read_timeout == o.sock_read_timeout &&
|
363
|
+
rate_limit == o.rate_limit
|
344
364
|
end
|
345
365
|
|
346
366
|
# @see the `==` method
|
@@ -352,7 +372,7 @@ module PulpFileClient
|
|
352
372
|
# Calculates hash code according to all attributes.
|
353
373
|
# @return [Integer] Hash code
|
354
374
|
def hash
|
355
|
-
[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].hash
|
375
|
+
[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].hash
|
356
376
|
end
|
357
377
|
|
358
378
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpFileClient
|
16
16
|
# Serializer for File Repositories.
|
17
17
|
class FileFileRepository
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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
|
@@ -21,6 +21,8 @@ module PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
69
|
def self.attribute_map
|
65
70
|
{
|
@@ -72,12 +77,14 @@ module PulpFileClient
|
|
72
77
|
:'proxy_url' => :'proxy_url',
|
73
78
|
:'username' => :'username',
|
74
79
|
:'password' => :'password',
|
80
|
+
:'pulp_labels' => :'pulp_labels',
|
75
81
|
:'download_concurrency' => :'download_concurrency',
|
76
82
|
:'policy' => :'policy',
|
77
83
|
:'total_timeout' => :'total_timeout',
|
78
84
|
:'connect_timeout' => :'connect_timeout',
|
79
85
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
80
|
-
:'sock_read_timeout' => :'sock_read_timeout'
|
86
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
87
|
+
:'rate_limit' => :'rate_limit'
|
81
88
|
}
|
82
89
|
end
|
83
90
|
|
@@ -93,12 +100,14 @@ module PulpFileClient
|
|
93
100
|
:'proxy_url' => :'String',
|
94
101
|
:'username' => :'String',
|
95
102
|
:'password' => :'String',
|
103
|
+
:'pulp_labels' => :'Object',
|
96
104
|
:'download_concurrency' => :'Integer',
|
97
105
|
:'policy' => :'PolicyEnum',
|
98
106
|
:'total_timeout' => :'Float',
|
99
107
|
:'connect_timeout' => :'Float',
|
100
108
|
:'sock_connect_timeout' => :'Float',
|
101
|
-
:'sock_read_timeout' => :'Float'
|
109
|
+
:'sock_read_timeout' => :'Float',
|
110
|
+
:'rate_limit' => :'Integer'
|
102
111
|
}
|
103
112
|
end
|
104
113
|
|
@@ -114,7 +123,8 @@ module PulpFileClient
|
|
114
123
|
:'total_timeout',
|
115
124
|
:'connect_timeout',
|
116
125
|
:'sock_connect_timeout',
|
117
|
-
:'sock_read_timeout'
|
126
|
+
:'sock_read_timeout',
|
127
|
+
:'rate_limit'
|
118
128
|
])
|
119
129
|
end
|
120
130
|
|
@@ -169,6 +179,10 @@ module PulpFileClient
|
|
169
179
|
self.password = attributes[:'password']
|
170
180
|
end
|
171
181
|
|
182
|
+
if attributes.key?(:'pulp_labels')
|
183
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
184
|
+
end
|
185
|
+
|
172
186
|
if attributes.key?(:'download_concurrency')
|
173
187
|
self.download_concurrency = attributes[:'download_concurrency']
|
174
188
|
end
|
@@ -192,6 +206,10 @@ module PulpFileClient
|
|
192
206
|
if attributes.key?(:'sock_read_timeout')
|
193
207
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
194
208
|
end
|
209
|
+
|
210
|
+
if attributes.key?(:'rate_limit')
|
211
|
+
self.rate_limit = attributes[:'rate_limit']
|
212
|
+
end
|
195
213
|
end
|
196
214
|
|
197
215
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -296,12 +314,14 @@ module PulpFileClient
|
|
296
314
|
proxy_url == o.proxy_url &&
|
297
315
|
username == o.username &&
|
298
316
|
password == o.password &&
|
317
|
+
pulp_labels == o.pulp_labels &&
|
299
318
|
download_concurrency == o.download_concurrency &&
|
300
319
|
policy == o.policy &&
|
301
320
|
total_timeout == o.total_timeout &&
|
302
321
|
connect_timeout == o.connect_timeout &&
|
303
322
|
sock_connect_timeout == o.sock_connect_timeout &&
|
304
|
-
sock_read_timeout == o.sock_read_timeout
|
323
|
+
sock_read_timeout == o.sock_read_timeout &&
|
324
|
+
rate_limit == o.rate_limit
|
305
325
|
end
|
306
326
|
|
307
327
|
# @see the `==` method
|
@@ -313,7 +333,7 @@ module PulpFileClient
|
|
313
333
|
# Calculates hash code according to all attributes.
|
314
334
|
# @return [Integer] Hash code
|
315
335
|
def hash
|
316
|
-
[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].hash
|
336
|
+
[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].hash
|
317
337
|
end
|
318
338
|
|
319
339
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpFileClient
|
16
16
|
# Serializer for File Repositories.
|
17
17
|
class PatchedfileFileRepository
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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 PulpFileClient
|
|
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
|
@@ -62,6 +62,12 @@ describe 'FileFileDistributionResponse' 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 'FileFileDistribution' 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 'FileFileRemoteResponse' 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,4 +146,10 @@ describe 'FileFileRemoteResponse' 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
|
end
|
@@ -86,6 +86,12 @@ describe 'FileFileRemote' 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,4 +128,10 @@ describe 'FileFileRemote' 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
|
end
|
@@ -50,6 +50,12 @@ describe 'FileFileRepositoryResponse' 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 'FileFileRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpFileClient::FileFileRepository)
|
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
|
@@ -44,6 +44,12 @@ describe 'PatchedfileFileDistribution' 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 'PatchedfileFileRemote' 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,4 +128,10 @@ describe 'PatchedfileFileRemote' 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
|
end
|
@@ -32,6 +32,12 @@ describe 'PatchedfileFileRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpFileClient::PatchedfileFileRepository)
|
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_file_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.0.
|
4
|
+
version: 1.6.0.dev01612237404
|
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-
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -234,48 +234,48 @@ signing_key:
|
|
234
234
|
specification_version: 4
|
235
235
|
summary: Pulp 3 API Ruby Gem
|
236
236
|
test_files:
|
237
|
-
- spec/api/
|
238
|
-
- spec/api/publications_file_api_spec.rb
|
237
|
+
- spec/api/repositories_file_api_spec.rb
|
239
238
|
- spec/api/remotes_file_api_spec.rb
|
239
|
+
- spec/api/exporters_file_exports_api_spec.rb
|
240
240
|
- spec/api/repositories_file_versions_api_spec.rb
|
241
241
|
- spec/api/content_files_api_spec.rb
|
242
|
+
- spec/api/publications_file_api_spec.rb
|
242
243
|
- spec/api/distributions_file_api_spec.rb
|
243
244
|
- spec/api/exporters_filesystem_api_spec.rb
|
244
|
-
- spec/api/repositories_file_api_spec.rb
|
245
245
|
- spec/api_client_spec.rb
|
246
246
|
- spec/configuration_spec.rb
|
247
|
-
- spec/models/
|
248
|
-
- spec/models/
|
249
|
-
- spec/models/
|
250
|
-
- spec/models/file_file_distribution_spec.rb
|
251
|
-
- spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb
|
252
|
-
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
253
|
-
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
254
|
-
- spec/models/file_file_content_spec.rb
|
247
|
+
- spec/models/repository_sync_url_spec.rb
|
248
|
+
- spec/models/policy_enum_spec.rb
|
249
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
255
250
|
- spec/models/file_file_publication_spec.rb
|
256
|
-
- spec/models/repository_version_spec.rb
|
257
|
-
- spec/models/file_file_repository_response_spec.rb
|
258
|
-
- spec/models/content_summary_response_spec.rb
|
259
|
-
- spec/models/paginated_export_response_list_spec.rb
|
260
|
-
- spec/models/export_response_spec.rb
|
261
251
|
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
262
|
-
- spec/models/file_file_publication_response_spec.rb
|
263
|
-
- spec/models/file_file_remote_spec.rb
|
264
|
-
- spec/models/file_file_distribution_response_spec.rb
|
265
|
-
- spec/models/file_file_filesystem_exporter_response_spec.rb
|
266
|
-
- spec/models/repository_version_response_spec.rb
|
267
252
|
- spec/models/file_file_repository_spec.rb
|
268
|
-
- spec/models/
|
269
|
-
- spec/models/
|
270
|
-
- spec/models/
|
271
|
-
- spec/models/file_file_filesystem_exporter_spec.rb
|
253
|
+
- spec/models/file_file_remote_response_spec.rb
|
254
|
+
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
255
|
+
- spec/models/file_file_filesystem_exporter_response_spec.rb
|
272
256
|
- spec/models/patchedfile_file_distribution_spec.rb
|
257
|
+
- spec/models/repository_version_response_spec.rb
|
258
|
+
- spec/models/paginated_export_response_list_spec.rb
|
259
|
+
- spec/models/file_file_remote_spec.rb
|
273
260
|
- spec/models/async_operation_response_spec.rb
|
274
|
-
- spec/models/
|
275
|
-
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
276
|
-
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
261
|
+
- spec/models/patchedfile_file_filesystem_exporter_spec.rb
|
277
262
|
- spec/models/publication_export_spec.rb
|
278
|
-
- spec/models/
|
263
|
+
- spec/models/content_summary_response_spec.rb
|
264
|
+
- spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb
|
279
265
|
- spec/models/repository_add_remove_content_spec.rb
|
266
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
267
|
+
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
268
|
+
- spec/models/file_file_distribution_spec.rb
|
269
|
+
- spec/models/file_file_distribution_response_spec.rb
|
280
270
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
271
|
+
- spec/models/file_file_content_response_spec.rb
|
272
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
273
|
+
- spec/models/content_summary_spec.rb
|
274
|
+
- spec/models/export_response_spec.rb
|
275
|
+
- spec/models/repository_version_spec.rb
|
276
|
+
- spec/models/file_file_filesystem_exporter_spec.rb
|
277
|
+
- spec/models/file_file_publication_response_spec.rb
|
278
|
+
- spec/models/file_file_repository_response_spec.rb
|
279
|
+
- spec/models/file_file_content_spec.rb
|
280
|
+
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
281
281
|
- spec/spec_helper.rb
|