pulp_npm_client 0.1.0a3.dev1614914986 → 0.1.0a3.dev1615347226
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_npm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/NpmNpmRemote.md +7 -1
- data/docs/NpmNpmRemoteResponse.md +3 -1
- data/docs/PatchednpmNpmRemote.md +7 -1
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +36 -2
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +14 -2
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +36 -2
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/models/npm_npm_remote_response_spec.rb +6 -0
- data/spec/models/npm_npm_remote_spec.rb +18 -0
- data/spec/models/patchednpm_npm_remote_spec.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6379f1244ab6de8c12a2358b6d8686b77791558c6089fd35f8840804910a9c83
|
4
|
+
data.tar.gz: cda6cfc23fbed06fc107ac0fbc779b39a04e14366722a791afdc542855e2b5e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3342a34cd76c21e73b50ddb41864f0ae6845e5c6c5629896ec396c545941a4302d5f144850f276e1d833ca1886fabe6ba1c7d69c6957009cba086377535a3399
|
7
|
+
data.tar.gz: ca25f4766bae8556b8583e2e28a5b8d5fe8e6887a85375ba21660b8d2fd590bee4c426c73ede818f88180ff362257755545882858951d12eaeed61ff60d3d1bf
|
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: 0.1.0a3.
|
10
|
+
- Package version: 0.1.0a3.dev1615347226
|
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_npm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_npm_client-0.1.0a3.
|
27
|
+
gem install ./pulp_npm_client-0.1.0a3.dev1615347226.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a3.
|
30
|
+
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a3.dev1615347226.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_npm_client', '~> 0.1.0a3.
|
36
|
+
gem 'pulp_npm_client', '~> 0.1.0a3.dev1615347226'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/NpmNpmRemote.md
CHANGED
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
14
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
@@ -20,6 +22,7 @@ Name | Type | Description | Notes
|
|
20
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
23
26
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
24
27
|
|
25
28
|
## Code Sample
|
@@ -34,6 +37,8 @@ instance = PulpNpmClient::NpmNpmRemote.new(name: null,
|
|
34
37
|
client_key: null,
|
35
38
|
tls_validation: null,
|
36
39
|
proxy_url: null,
|
40
|
+
proxy_username: null,
|
41
|
+
proxy_password: null,
|
37
42
|
username: null,
|
38
43
|
password: null,
|
39
44
|
pulp_labels: null,
|
@@ -43,6 +48,7 @@ instance = PulpNpmClient::NpmNpmRemote.new(name: null,
|
|
43
48
|
connect_timeout: null,
|
44
49
|
sock_connect_timeout: null,
|
45
50
|
sock_read_timeout: null,
|
51
|
+
headers: null,
|
46
52
|
rate_limit: null)
|
47
53
|
```
|
48
54
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
14
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
|
|
20
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
23
24
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
24
25
|
|
25
26
|
## Code Sample
|
@@ -43,6 +44,7 @@ instance = PulpNpmClient::NpmNpmRemoteResponse.new(pulp_href: null,
|
|
43
44
|
connect_timeout: null,
|
44
45
|
sock_connect_timeout: null,
|
45
46
|
sock_read_timeout: null,
|
47
|
+
headers: null,
|
46
48
|
rate_limit: null)
|
47
49
|
```
|
48
50
|
|
data/docs/PatchednpmNpmRemote.md
CHANGED
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
14
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
@@ -20,6 +22,7 @@ Name | Type | Description | Notes
|
|
20
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
23
26
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
24
27
|
|
25
28
|
## Code Sample
|
@@ -34,6 +37,8 @@ instance = PulpNpmClient::PatchednpmNpmRemote.new(name: null,
|
|
34
37
|
client_key: null,
|
35
38
|
tls_validation: null,
|
36
39
|
proxy_url: null,
|
40
|
+
proxy_username: null,
|
41
|
+
proxy_password: null,
|
37
42
|
username: null,
|
38
43
|
password: null,
|
39
44
|
pulp_labels: null,
|
@@ -43,6 +48,7 @@ instance = PulpNpmClient::PatchednpmNpmRemote.new(name: null,
|
|
43
48
|
connect_timeout: null,
|
44
49
|
sock_connect_timeout: null,
|
45
50
|
sock_read_timeout: null,
|
51
|
+
headers: null,
|
46
52
|
rate_limit: null)
|
47
53
|
```
|
48
54
|
|
@@ -33,9 +33,15 @@ module PulpNpmClient
|
|
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
|
|
@@ -62,6 +68,9 @@ module PulpNpmClient
|
|
62
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
63
69
|
attr_accessor :sock_read_timeout
|
64
70
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
72
|
+
attr_accessor :headers
|
73
|
+
|
65
74
|
# Limits total download rate in requests per second
|
66
75
|
attr_accessor :rate_limit
|
67
76
|
|
@@ -75,6 +84,8 @@ module PulpNpmClient
|
|
75
84
|
:'client_key' => :'client_key',
|
76
85
|
:'tls_validation' => :'tls_validation',
|
77
86
|
:'proxy_url' => :'proxy_url',
|
87
|
+
:'proxy_username' => :'proxy_username',
|
88
|
+
:'proxy_password' => :'proxy_password',
|
78
89
|
:'username' => :'username',
|
79
90
|
:'password' => :'password',
|
80
91
|
:'pulp_labels' => :'pulp_labels',
|
@@ -84,6 +95,7 @@ module PulpNpmClient
|
|
84
95
|
:'connect_timeout' => :'connect_timeout',
|
85
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
86
97
|
:'sock_read_timeout' => :'sock_read_timeout',
|
98
|
+
:'headers' => :'headers',
|
87
99
|
:'rate_limit' => :'rate_limit'
|
88
100
|
}
|
89
101
|
end
|
@@ -98,6 +110,8 @@ module PulpNpmClient
|
|
98
110
|
:'client_key' => :'String',
|
99
111
|
:'tls_validation' => :'Boolean',
|
100
112
|
:'proxy_url' => :'String',
|
113
|
+
:'proxy_username' => :'String',
|
114
|
+
:'proxy_password' => :'String',
|
101
115
|
:'username' => :'String',
|
102
116
|
:'password' => :'String',
|
103
117
|
:'pulp_labels' => :'Object',
|
@@ -107,6 +121,7 @@ module PulpNpmClient
|
|
107
121
|
:'connect_timeout' => :'Float',
|
108
122
|
:'sock_connect_timeout' => :'Float',
|
109
123
|
:'sock_read_timeout' => :'Float',
|
124
|
+
:'headers' => :'Array<Object>',
|
110
125
|
:'rate_limit' => :'Integer'
|
111
126
|
}
|
112
127
|
end
|
@@ -118,6 +133,8 @@ module PulpNpmClient
|
|
118
133
|
:'client_cert',
|
119
134
|
:'client_key',
|
120
135
|
:'proxy_url',
|
136
|
+
:'proxy_username',
|
137
|
+
:'proxy_password',
|
121
138
|
:'username',
|
122
139
|
:'password',
|
123
140
|
:'total_timeout',
|
@@ -171,6 +188,14 @@ module PulpNpmClient
|
|
171
188
|
self.proxy_url = attributes[:'proxy_url']
|
172
189
|
end
|
173
190
|
|
191
|
+
if attributes.key?(:'proxy_username')
|
192
|
+
self.proxy_username = attributes[:'proxy_username']
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.key?(:'proxy_password')
|
196
|
+
self.proxy_password = attributes[:'proxy_password']
|
197
|
+
end
|
198
|
+
|
174
199
|
if attributes.key?(:'username')
|
175
200
|
self.username = attributes[:'username']
|
176
201
|
end
|
@@ -207,6 +232,12 @@ module PulpNpmClient
|
|
207
232
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
208
233
|
end
|
209
234
|
|
235
|
+
if attributes.key?(:'headers')
|
236
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
237
|
+
self.headers = value
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
210
241
|
if attributes.key?(:'rate_limit')
|
211
242
|
self.rate_limit = attributes[:'rate_limit']
|
212
243
|
end
|
@@ -322,6 +353,8 @@ module PulpNpmClient
|
|
322
353
|
client_key == o.client_key &&
|
323
354
|
tls_validation == o.tls_validation &&
|
324
355
|
proxy_url == o.proxy_url &&
|
356
|
+
proxy_username == o.proxy_username &&
|
357
|
+
proxy_password == o.proxy_password &&
|
325
358
|
username == o.username &&
|
326
359
|
password == o.password &&
|
327
360
|
pulp_labels == o.pulp_labels &&
|
@@ -331,6 +364,7 @@ module PulpNpmClient
|
|
331
364
|
connect_timeout == o.connect_timeout &&
|
332
365
|
sock_connect_timeout == o.sock_connect_timeout &&
|
333
366
|
sock_read_timeout == o.sock_read_timeout &&
|
367
|
+
headers == o.headers &&
|
334
368
|
rate_limit == o.rate_limit
|
335
369
|
end
|
336
370
|
|
@@ -343,7 +377,7 @@ module PulpNpmClient
|
|
343
377
|
# Calculates hash code according to all attributes.
|
344
378
|
# @return [Integer] Hash code
|
345
379
|
def 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
|
380
|
+
[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].hash
|
347
381
|
end
|
348
382
|
|
349
383
|
# Builds the object from hash
|
@@ -35,7 +35,7 @@ module PulpNpmClient
|
|
35
35
|
# If True, TLS peer validation must be performed.
|
36
36
|
attr_accessor :tls_validation
|
37
37
|
|
38
|
-
# The proxy URL. Format: scheme://
|
38
|
+
# The proxy URL. Format: scheme://host:port
|
39
39
|
attr_accessor :proxy_url
|
40
40
|
|
41
41
|
attr_accessor :pulp_labels
|
@@ -61,6 +61,9 @@ module PulpNpmClient
|
|
61
61
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
62
62
|
attr_accessor :sock_read_timeout
|
63
63
|
|
64
|
+
# Headers for aiohttp.Clientsession
|
65
|
+
attr_accessor :headers
|
66
|
+
|
64
67
|
# Limits total download rate in requests per second
|
65
68
|
attr_accessor :rate_limit
|
66
69
|
|
@@ -83,6 +86,7 @@ module PulpNpmClient
|
|
83
86
|
:'connect_timeout' => :'connect_timeout',
|
84
87
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
85
88
|
:'sock_read_timeout' => :'sock_read_timeout',
|
89
|
+
:'headers' => :'headers',
|
86
90
|
:'rate_limit' => :'rate_limit'
|
87
91
|
}
|
88
92
|
end
|
@@ -106,6 +110,7 @@ module PulpNpmClient
|
|
106
110
|
:'connect_timeout' => :'Float',
|
107
111
|
:'sock_connect_timeout' => :'Float',
|
108
112
|
:'sock_read_timeout' => :'Float',
|
113
|
+
:'headers' => :'Array<Object>',
|
109
114
|
:'rate_limit' => :'Integer'
|
110
115
|
}
|
111
116
|
end
|
@@ -203,6 +208,12 @@ module PulpNpmClient
|
|
203
208
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
204
209
|
end
|
205
210
|
|
211
|
+
if attributes.key?(:'headers')
|
212
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
213
|
+
self.headers = value
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
206
217
|
if attributes.key?(:'rate_limit')
|
207
218
|
self.rate_limit = attributes[:'rate_limit']
|
208
219
|
end
|
@@ -327,6 +338,7 @@ module PulpNpmClient
|
|
327
338
|
connect_timeout == o.connect_timeout &&
|
328
339
|
sock_connect_timeout == o.sock_connect_timeout &&
|
329
340
|
sock_read_timeout == o.sock_read_timeout &&
|
341
|
+
headers == o.headers &&
|
330
342
|
rate_limit == o.rate_limit
|
331
343
|
end
|
332
344
|
|
@@ -339,7 +351,7 @@ module PulpNpmClient
|
|
339
351
|
# Calculates hash code according to all attributes.
|
340
352
|
# @return [Integer] Hash code
|
341
353
|
def hash
|
342
|
-
[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, rate_limit].hash
|
354
|
+
[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].hash
|
343
355
|
end
|
344
356
|
|
345
357
|
# Builds the object from hash
|
@@ -33,9 +33,15 @@ module PulpNpmClient
|
|
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
|
|
@@ -62,6 +68,9 @@ module PulpNpmClient
|
|
62
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
63
69
|
attr_accessor :sock_read_timeout
|
64
70
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
72
|
+
attr_accessor :headers
|
73
|
+
|
65
74
|
# Limits total download rate in requests per second
|
66
75
|
attr_accessor :rate_limit
|
67
76
|
|
@@ -75,6 +84,8 @@ module PulpNpmClient
|
|
75
84
|
:'client_key' => :'client_key',
|
76
85
|
:'tls_validation' => :'tls_validation',
|
77
86
|
:'proxy_url' => :'proxy_url',
|
87
|
+
:'proxy_username' => :'proxy_username',
|
88
|
+
:'proxy_password' => :'proxy_password',
|
78
89
|
:'username' => :'username',
|
79
90
|
:'password' => :'password',
|
80
91
|
:'pulp_labels' => :'pulp_labels',
|
@@ -84,6 +95,7 @@ module PulpNpmClient
|
|
84
95
|
:'connect_timeout' => :'connect_timeout',
|
85
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
86
97
|
:'sock_read_timeout' => :'sock_read_timeout',
|
98
|
+
:'headers' => :'headers',
|
87
99
|
:'rate_limit' => :'rate_limit'
|
88
100
|
}
|
89
101
|
end
|
@@ -98,6 +110,8 @@ module PulpNpmClient
|
|
98
110
|
:'client_key' => :'String',
|
99
111
|
:'tls_validation' => :'Boolean',
|
100
112
|
:'proxy_url' => :'String',
|
113
|
+
:'proxy_username' => :'String',
|
114
|
+
:'proxy_password' => :'String',
|
101
115
|
:'username' => :'String',
|
102
116
|
:'password' => :'String',
|
103
117
|
:'pulp_labels' => :'Object',
|
@@ -107,6 +121,7 @@ module PulpNpmClient
|
|
107
121
|
:'connect_timeout' => :'Float',
|
108
122
|
:'sock_connect_timeout' => :'Float',
|
109
123
|
:'sock_read_timeout' => :'Float',
|
124
|
+
:'headers' => :'Array<Object>',
|
110
125
|
:'rate_limit' => :'Integer'
|
111
126
|
}
|
112
127
|
end
|
@@ -118,6 +133,8 @@ module PulpNpmClient
|
|
118
133
|
:'client_cert',
|
119
134
|
:'client_key',
|
120
135
|
:'proxy_url',
|
136
|
+
:'proxy_username',
|
137
|
+
:'proxy_password',
|
121
138
|
:'username',
|
122
139
|
:'password',
|
123
140
|
:'total_timeout',
|
@@ -171,6 +188,14 @@ module PulpNpmClient
|
|
171
188
|
self.proxy_url = attributes[:'proxy_url']
|
172
189
|
end
|
173
190
|
|
191
|
+
if attributes.key?(:'proxy_username')
|
192
|
+
self.proxy_username = attributes[:'proxy_username']
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.key?(:'proxy_password')
|
196
|
+
self.proxy_password = attributes[:'proxy_password']
|
197
|
+
end
|
198
|
+
|
174
199
|
if attributes.key?(:'username')
|
175
200
|
self.username = attributes[:'username']
|
176
201
|
end
|
@@ -207,6 +232,12 @@ module PulpNpmClient
|
|
207
232
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
208
233
|
end
|
209
234
|
|
235
|
+
if attributes.key?(:'headers')
|
236
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
237
|
+
self.headers = value
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
210
241
|
if attributes.key?(:'rate_limit')
|
211
242
|
self.rate_limit = attributes[:'rate_limit']
|
212
243
|
end
|
@@ -312,6 +343,8 @@ module PulpNpmClient
|
|
312
343
|
client_key == o.client_key &&
|
313
344
|
tls_validation == o.tls_validation &&
|
314
345
|
proxy_url == o.proxy_url &&
|
346
|
+
proxy_username == o.proxy_username &&
|
347
|
+
proxy_password == o.proxy_password &&
|
315
348
|
username == o.username &&
|
316
349
|
password == o.password &&
|
317
350
|
pulp_labels == o.pulp_labels &&
|
@@ -321,6 +354,7 @@ module PulpNpmClient
|
|
321
354
|
connect_timeout == o.connect_timeout &&
|
322
355
|
sock_connect_timeout == o.sock_connect_timeout &&
|
323
356
|
sock_read_timeout == o.sock_read_timeout &&
|
357
|
+
headers == o.headers &&
|
324
358
|
rate_limit == o.rate_limit
|
325
359
|
end
|
326
360
|
|
@@ -333,7 +367,7 @@ module PulpNpmClient
|
|
333
367
|
# Calculates hash code according to all attributes.
|
334
368
|
# @return [Integer] Hash code
|
335
369
|
def 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
|
370
|
+
[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].hash
|
337
371
|
end
|
338
372
|
|
339
373
|
# Builds the object from hash
|
@@ -128,6 +128,12 @@ describe 'NpmNpmRemoteResponse' do
|
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
131
|
+
describe 'test attribute "headers"' 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
|
+
|
131
137
|
describe 'test attribute "rate_limit"' do
|
132
138
|
it 'should work' do
|
133
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,18 @@ describe 'NpmNpmRemote' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "proxy_username"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "proxy_password"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "username"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -128,6 +140,12 @@ describe 'NpmNpmRemote' do
|
|
128
140
|
end
|
129
141
|
end
|
130
142
|
|
143
|
+
describe 'test attribute "headers"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
131
149
|
describe 'test attribute "rate_limit"' do
|
132
150
|
it 'should work' do
|
133
151
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,18 @@ describe 'PatchednpmNpmRemote' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "proxy_username"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "proxy_password"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "username"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -128,6 +140,12 @@ describe 'PatchednpmNpmRemote' do
|
|
128
140
|
end
|
129
141
|
end
|
130
142
|
|
143
|
+
describe 'test attribute "headers"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
131
149
|
describe 'test attribute "rate_limit"' do
|
132
150
|
it 'should work' do
|
133
151
|
# 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_npm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0a3.
|
4
|
+
version: 0.1.0a3.dev1615347226
|
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-03-
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|