pulp_deb_client 2.9.2 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentGenericContentsApi.md +10 -10
- data/docs/ContentInstallerFileIndicesApi.md +14 -14
- data/docs/ContentInstallerPackagesApi.md +40 -40
- data/docs/ContentPackageIndicesApi.md +14 -14
- data/docs/ContentPackageReleaseComponentsApi.md +10 -10
- data/docs/ContentPackagesApi.md +42 -42
- data/docs/ContentReleaseArchitecturesApi.md +10 -10
- data/docs/ContentReleaseComponentsApi.md +10 -10
- data/docs/ContentReleaseFilesApi.md +14 -14
- data/docs/ContentReleasesApi.md +12 -12
- data/docs/DebAptDistribution.md +2 -0
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptRemote.md +11 -1
- data/docs/DebAptRemoteResponse.md +7 -7
- data/docs/DebAptRepository.md +3 -1
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DistributionsAptApi.md +20 -12
- data/docs/PatcheddebAptDistribution.md +2 -0
- data/docs/PatcheddebAptRemote.md +11 -1
- data/docs/PatcheddebAptRepository.md +3 -1
- data/docs/PublicationsAptApi.md +14 -14
- data/docs/PublicationsVerbatimApi.md +14 -14
- data/docs/RemotesAptApi.md +24 -16
- data/docs/RepositoriesAptApi.md +12 -4
- data/docs/RepositoriesDebVersionsApi.md +28 -28
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +10 -10
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +14 -14
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +51 -43
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +14 -14
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +10 -10
- data/lib/pulp_deb_client/api/content_packages_api.rb +53 -45
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +10 -10
- data/lib/pulp_deb_client/api/content_release_components_api.rb +10 -10
- data/lib/pulp_deb_client/api/content_release_files_api.rb +14 -14
- data/lib/pulp_deb_client/api/content_releases_api.rb +12 -12
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +26 -14
- data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -15
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -15
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +30 -18
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +17 -5
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +50 -30
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +56 -2
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -32
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +10 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +10 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +56 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +10 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +5 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +7 -7
- data/spec/api/content_installer_packages_api_spec.rb +20 -20
- data/spec/api/content_package_indices_api_spec.rb +7 -7
- data/spec/api/content_package_release_components_api_spec.rb +5 -5
- data/spec/api/content_packages_api_spec.rb +21 -21
- data/spec/api/content_release_architectures_api_spec.rb +5 -5
- data/spec/api/content_release_components_api_spec.rb +5 -5
- data/spec/api/content_release_files_api_spec.rb +7 -7
- data/spec/api/content_releases_api_spec.rb +6 -6
- data/spec/api/distributions_apt_api_spec.rb +10 -6
- data/spec/api/publications_apt_api_spec.rb +7 -7
- data/spec/api/publications_verbatim_api_spec.rb +7 -7
- data/spec/api/remotes_apt_api_spec.rb +12 -8
- data/spec/api/repositories_apt_api_spec.rb +6 -2
- data/spec/api/repositories_deb_versions_api_spec.rb +14 -14
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +12 -12
- data/spec/models/deb_apt_remote_spec.rb +30 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +30 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
- metadata +56 -56
@@ -32,20 +32,13 @@ module PulpDebClient
|
|
32
32
|
# A PEM encoded client certificate used for authentication.
|
33
33
|
attr_accessor :client_cert
|
34
34
|
|
35
|
-
# A PEM encoded private key used for authentication.
|
36
|
-
attr_accessor :client_key
|
37
|
-
|
38
35
|
# If True, TLS peer validation must be performed.
|
39
36
|
attr_accessor :tls_validation
|
40
37
|
|
41
|
-
# The proxy URL. Format: scheme://
|
38
|
+
# The proxy URL. Format: scheme://host:port
|
42
39
|
attr_accessor :proxy_url
|
43
40
|
|
44
|
-
|
45
|
-
attr_accessor :username
|
46
|
-
|
47
|
-
# The password to be used for authentication when syncing.
|
48
|
-
attr_accessor :password
|
41
|
+
attr_accessor :pulp_labels
|
49
42
|
|
50
43
|
# Timestamp of the most recent update of the remote.
|
51
44
|
attr_accessor :pulp_last_updated
|
@@ -68,6 +61,12 @@ module PulpDebClient
|
|
68
61
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
62
|
attr_accessor :sock_read_timeout
|
70
63
|
|
64
|
+
# Headers for aiohttp.Clientsession
|
65
|
+
attr_accessor :headers
|
66
|
+
|
67
|
+
# Limits total download rate in requests per second
|
68
|
+
attr_accessor :rate_limit
|
69
|
+
|
71
70
|
# Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax.
|
72
71
|
attr_accessor :distributions
|
73
72
|
|
@@ -101,11 +100,9 @@ module PulpDebClient
|
|
101
100
|
:'url' => :'url',
|
102
101
|
:'ca_cert' => :'ca_cert',
|
103
102
|
:'client_cert' => :'client_cert',
|
104
|
-
:'client_key' => :'client_key',
|
105
103
|
:'tls_validation' => :'tls_validation',
|
106
104
|
:'proxy_url' => :'proxy_url',
|
107
|
-
:'
|
108
|
-
:'password' => :'password',
|
105
|
+
:'pulp_labels' => :'pulp_labels',
|
109
106
|
:'pulp_last_updated' => :'pulp_last_updated',
|
110
107
|
:'download_concurrency' => :'download_concurrency',
|
111
108
|
:'policy' => :'policy',
|
@@ -113,6 +110,8 @@ module PulpDebClient
|
|
113
110
|
:'connect_timeout' => :'connect_timeout',
|
114
111
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
115
112
|
:'sock_read_timeout' => :'sock_read_timeout',
|
113
|
+
:'headers' => :'headers',
|
114
|
+
:'rate_limit' => :'rate_limit',
|
116
115
|
:'distributions' => :'distributions',
|
117
116
|
:'components' => :'components',
|
118
117
|
:'architectures' => :'architectures',
|
@@ -133,11 +132,9 @@ module PulpDebClient
|
|
133
132
|
:'url' => :'String',
|
134
133
|
:'ca_cert' => :'String',
|
135
134
|
:'client_cert' => :'String',
|
136
|
-
:'client_key' => :'String',
|
137
135
|
:'tls_validation' => :'Boolean',
|
138
136
|
:'proxy_url' => :'String',
|
139
|
-
:'
|
140
|
-
:'password' => :'String',
|
137
|
+
:'pulp_labels' => :'Object',
|
141
138
|
:'pulp_last_updated' => :'DateTime',
|
142
139
|
:'download_concurrency' => :'Integer',
|
143
140
|
:'policy' => :'PolicyEnum',
|
@@ -145,6 +142,8 @@ module PulpDebClient
|
|
145
142
|
:'connect_timeout' => :'Float',
|
146
143
|
:'sock_connect_timeout' => :'Float',
|
147
144
|
:'sock_read_timeout' => :'Float',
|
145
|
+
:'headers' => :'Array<Object>',
|
146
|
+
:'rate_limit' => :'Integer',
|
148
147
|
:'distributions' => :'String',
|
149
148
|
:'components' => :'String',
|
150
149
|
:'architectures' => :'String',
|
@@ -161,14 +160,12 @@ module PulpDebClient
|
|
161
160
|
Set.new([
|
162
161
|
:'ca_cert',
|
163
162
|
:'client_cert',
|
164
|
-
:'client_key',
|
165
163
|
:'proxy_url',
|
166
|
-
:'username',
|
167
|
-
:'password',
|
168
164
|
:'total_timeout',
|
169
165
|
:'connect_timeout',
|
170
166
|
:'sock_connect_timeout',
|
171
167
|
:'sock_read_timeout',
|
168
|
+
:'rate_limit',
|
172
169
|
:'components',
|
173
170
|
:'architectures',
|
174
171
|
:'gpgkey',
|
@@ -214,10 +211,6 @@ module PulpDebClient
|
|
214
211
|
self.client_cert = attributes[:'client_cert']
|
215
212
|
end
|
216
213
|
|
217
|
-
if attributes.key?(:'client_key')
|
218
|
-
self.client_key = attributes[:'client_key']
|
219
|
-
end
|
220
|
-
|
221
214
|
if attributes.key?(:'tls_validation')
|
222
215
|
self.tls_validation = attributes[:'tls_validation']
|
223
216
|
end
|
@@ -226,12 +219,8 @@ module PulpDebClient
|
|
226
219
|
self.proxy_url = attributes[:'proxy_url']
|
227
220
|
end
|
228
221
|
|
229
|
-
if attributes.key?(:'
|
230
|
-
self.
|
231
|
-
end
|
232
|
-
|
233
|
-
if attributes.key?(:'password')
|
234
|
-
self.password = attributes[:'password']
|
222
|
+
if attributes.key?(:'pulp_labels')
|
223
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
235
224
|
end
|
236
225
|
|
237
226
|
if attributes.key?(:'pulp_last_updated')
|
@@ -262,6 +251,16 @@ module PulpDebClient
|
|
262
251
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
263
252
|
end
|
264
253
|
|
254
|
+
if attributes.key?(:'headers')
|
255
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
256
|
+
self.headers = value
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
if attributes.key?(:'rate_limit')
|
261
|
+
self.rate_limit = attributes[:'rate_limit']
|
262
|
+
end
|
263
|
+
|
265
264
|
if attributes.key?(:'distributions')
|
266
265
|
self.distributions = attributes[:'distributions']
|
267
266
|
end
|
@@ -409,11 +408,9 @@ module PulpDebClient
|
|
409
408
|
url == o.url &&
|
410
409
|
ca_cert == o.ca_cert &&
|
411
410
|
client_cert == o.client_cert &&
|
412
|
-
client_key == o.client_key &&
|
413
411
|
tls_validation == o.tls_validation &&
|
414
412
|
proxy_url == o.proxy_url &&
|
415
|
-
|
416
|
-
password == o.password &&
|
413
|
+
pulp_labels == o.pulp_labels &&
|
417
414
|
pulp_last_updated == o.pulp_last_updated &&
|
418
415
|
download_concurrency == o.download_concurrency &&
|
419
416
|
policy == o.policy &&
|
@@ -421,6 +418,8 @@ module PulpDebClient
|
|
421
418
|
connect_timeout == o.connect_timeout &&
|
422
419
|
sock_connect_timeout == o.sock_connect_timeout &&
|
423
420
|
sock_read_timeout == o.sock_read_timeout &&
|
421
|
+
headers == o.headers &&
|
422
|
+
rate_limit == o.rate_limit &&
|
424
423
|
distributions == o.distributions &&
|
425
424
|
components == o.components &&
|
426
425
|
architectures == o.architectures &&
|
@@ -440,7 +439,7 @@ module PulpDebClient
|
|
440
439
|
# Calculates hash code according to all attributes.
|
441
440
|
# @return [Integer] Hash code
|
442
441
|
def hash
|
443
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert,
|
442
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
444
443
|
end
|
445
444
|
|
446
445
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpDebClient
|
16
16
|
# A Serializer for AptRepository.
|
17
17
|
class DebAptRepository
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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 PulpDebClient
|
|
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
|
@@ -33,15 +33,23 @@ module PulpDebClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://
|
36
|
+
# The proxy URL. Format: scheme://host:port
|
37
37
|
attr_accessor :proxy_url
|
38
38
|
|
39
|
+
# The username to authenticte to the proxy.
|
40
|
+
attr_accessor :proxy_username
|
41
|
+
|
42
|
+
# The password to authenticte to the proxy.
|
43
|
+
attr_accessor :proxy_password
|
44
|
+
|
39
45
|
# The username to be used for authentication when syncing.
|
40
46
|
attr_accessor :username
|
41
47
|
|
42
48
|
# The password to be used for authentication when syncing.
|
43
49
|
attr_accessor :password
|
44
50
|
|
51
|
+
attr_accessor :pulp_labels
|
52
|
+
|
45
53
|
# Total number of simultaneous connections.
|
46
54
|
attr_accessor :download_concurrency
|
47
55
|
|
@@ -60,6 +68,12 @@ module PulpDebClient
|
|
60
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
69
|
attr_accessor :sock_read_timeout
|
62
70
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
72
|
+
attr_accessor :headers
|
73
|
+
|
74
|
+
# Limits total download rate in requests per second
|
75
|
+
attr_accessor :rate_limit
|
76
|
+
|
63
77
|
# Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax.
|
64
78
|
attr_accessor :distributions
|
65
79
|
|
@@ -94,14 +108,19 @@ module PulpDebClient
|
|
94
108
|
:'client_key' => :'client_key',
|
95
109
|
:'tls_validation' => :'tls_validation',
|
96
110
|
:'proxy_url' => :'proxy_url',
|
111
|
+
:'proxy_username' => :'proxy_username',
|
112
|
+
:'proxy_password' => :'proxy_password',
|
97
113
|
:'username' => :'username',
|
98
114
|
:'password' => :'password',
|
115
|
+
:'pulp_labels' => :'pulp_labels',
|
99
116
|
:'download_concurrency' => :'download_concurrency',
|
100
117
|
:'policy' => :'policy',
|
101
118
|
:'total_timeout' => :'total_timeout',
|
102
119
|
:'connect_timeout' => :'connect_timeout',
|
103
120
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
104
121
|
:'sock_read_timeout' => :'sock_read_timeout',
|
122
|
+
:'headers' => :'headers',
|
123
|
+
:'rate_limit' => :'rate_limit',
|
105
124
|
:'distributions' => :'distributions',
|
106
125
|
:'components' => :'components',
|
107
126
|
:'architectures' => :'architectures',
|
@@ -123,14 +142,19 @@ module PulpDebClient
|
|
123
142
|
:'client_key' => :'String',
|
124
143
|
:'tls_validation' => :'Boolean',
|
125
144
|
:'proxy_url' => :'String',
|
145
|
+
:'proxy_username' => :'String',
|
146
|
+
:'proxy_password' => :'String',
|
126
147
|
:'username' => :'String',
|
127
148
|
:'password' => :'String',
|
149
|
+
:'pulp_labels' => :'Object',
|
128
150
|
:'download_concurrency' => :'Integer',
|
129
151
|
:'policy' => :'PolicyEnum',
|
130
152
|
:'total_timeout' => :'Float',
|
131
153
|
:'connect_timeout' => :'Float',
|
132
154
|
:'sock_connect_timeout' => :'Float',
|
133
155
|
:'sock_read_timeout' => :'Float',
|
156
|
+
:'headers' => :'Array<Object>',
|
157
|
+
:'rate_limit' => :'Integer',
|
134
158
|
:'distributions' => :'String',
|
135
159
|
:'components' => :'String',
|
136
160
|
:'architectures' => :'String',
|
@@ -149,12 +173,15 @@ module PulpDebClient
|
|
149
173
|
:'client_cert',
|
150
174
|
:'client_key',
|
151
175
|
:'proxy_url',
|
176
|
+
:'proxy_username',
|
177
|
+
:'proxy_password',
|
152
178
|
:'username',
|
153
179
|
:'password',
|
154
180
|
:'total_timeout',
|
155
181
|
:'connect_timeout',
|
156
182
|
:'sock_connect_timeout',
|
157
183
|
:'sock_read_timeout',
|
184
|
+
:'rate_limit',
|
158
185
|
:'components',
|
159
186
|
:'architectures',
|
160
187
|
:'gpgkey',
|
@@ -204,6 +231,14 @@ module PulpDebClient
|
|
204
231
|
self.proxy_url = attributes[:'proxy_url']
|
205
232
|
end
|
206
233
|
|
234
|
+
if attributes.key?(:'proxy_username')
|
235
|
+
self.proxy_username = attributes[:'proxy_username']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.key?(:'proxy_password')
|
239
|
+
self.proxy_password = attributes[:'proxy_password']
|
240
|
+
end
|
241
|
+
|
207
242
|
if attributes.key?(:'username')
|
208
243
|
self.username = attributes[:'username']
|
209
244
|
end
|
@@ -212,6 +247,10 @@ module PulpDebClient
|
|
212
247
|
self.password = attributes[:'password']
|
213
248
|
end
|
214
249
|
|
250
|
+
if attributes.key?(:'pulp_labels')
|
251
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
252
|
+
end
|
253
|
+
|
215
254
|
if attributes.key?(:'download_concurrency')
|
216
255
|
self.download_concurrency = attributes[:'download_concurrency']
|
217
256
|
end
|
@@ -236,6 +275,16 @@ module PulpDebClient
|
|
236
275
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
237
276
|
end
|
238
277
|
|
278
|
+
if attributes.key?(:'headers')
|
279
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
280
|
+
self.headers = value
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
if attributes.key?(:'rate_limit')
|
285
|
+
self.rate_limit = attributes[:'rate_limit']
|
286
|
+
end
|
287
|
+
|
239
288
|
if attributes.key?(:'distributions')
|
240
289
|
self.distributions = attributes[:'distributions']
|
241
290
|
end
|
@@ -369,14 +418,19 @@ module PulpDebClient
|
|
369
418
|
client_key == o.client_key &&
|
370
419
|
tls_validation == o.tls_validation &&
|
371
420
|
proxy_url == o.proxy_url &&
|
421
|
+
proxy_username == o.proxy_username &&
|
422
|
+
proxy_password == o.proxy_password &&
|
372
423
|
username == o.username &&
|
373
424
|
password == o.password &&
|
425
|
+
pulp_labels == o.pulp_labels &&
|
374
426
|
download_concurrency == o.download_concurrency &&
|
375
427
|
policy == o.policy &&
|
376
428
|
total_timeout == o.total_timeout &&
|
377
429
|
connect_timeout == o.connect_timeout &&
|
378
430
|
sock_connect_timeout == o.sock_connect_timeout &&
|
379
431
|
sock_read_timeout == o.sock_read_timeout &&
|
432
|
+
headers == o.headers &&
|
433
|
+
rate_limit == o.rate_limit &&
|
380
434
|
distributions == o.distributions &&
|
381
435
|
components == o.components &&
|
382
436
|
architectures == o.architectures &&
|
@@ -396,7 +450,7 @@ module PulpDebClient
|
|
396
450
|
# Calculates hash code according to all attributes.
|
397
451
|
# @return [Integer] Hash code
|
398
452
|
def hash
|
399
|
-
[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, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
453
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
400
454
|
end
|
401
455
|
|
402
456
|
# Builds the object from hash
|