pulp_maven_client 0.2.0 → 0.3.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/build/lib/pulpcore/__init__.py +2 -0
- data/build/lib/pulpcore/client/__init__.py +2 -0
- data/build/lib/pulpcore/client/pulp_maven/__init__.py +58 -0
- data/build/lib/pulpcore/client/pulp_maven/api/__init__.py +10 -0
- data/build/lib/pulpcore/client/pulp_maven/api/content_artifact_api.py +445 -0
- data/build/lib/pulpcore/client/pulp_maven/api/distributions_maven_api.py +830 -0
- data/build/lib/pulpcore/client/pulp_maven/api/remotes_maven_api.py +840 -0
- data/build/lib/pulpcore/client/pulp_maven/api/repositories_maven_api.py +809 -0
- data/build/lib/pulpcore/client/pulp_maven/api/repositories_maven_versions_api.py +614 -0
- data/build/lib/pulpcore/client/pulp_maven/api_client.py +667 -0
- data/build/lib/pulpcore/client/pulp_maven/configuration.py +427 -0
- data/build/lib/pulpcore/client/pulp_maven/exceptions.py +121 -0
- data/build/lib/pulpcore/client/pulp_maven/models/__init__.py +39 -0
- data/build/lib/pulpcore/client/pulp_maven/models/async_operation_response.py +124 -0
- data/build/lib/pulpcore/client/pulp_maven/models/content_summary.py +176 -0
- data/build/lib/pulpcore/client/pulp_maven/models/content_summary_response.py +176 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_artifact.py +153 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_artifact_response.py +290 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_distribution.py +260 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_distribution_response.py +342 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_remote.py +657 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_remote_response.py +604 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository.py +202 -0
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +308 -0
- data/build/lib/pulpcore/client/pulp_maven/models/paginated_repository_version_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_artifact_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_distribution_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_remote_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_repository_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_distribution.py +258 -0
- data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_remote.py +655 -0
- data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +201 -0
- data/build/lib/pulpcore/client/pulp_maven/models/policy_enum.py +101 -0
- data/build/lib/pulpcore/client/pulp_maven/models/repository_version.py +123 -0
- data/build/lib/pulpcore/client/pulp_maven/models/repository_version_response.py +231 -0
- data/build/lib/pulpcore/client/pulp_maven/rest.py +292 -0
- data/dist/pulp_maven-client-0.3.0.tar.gz +0 -0
- data/dist/pulp_maven_client-0.3.0-py3-none-any.whl +0 -0
- data/docs/ContentArtifactApi.md +14 -14
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsMavenApi.md +20 -12
- data/docs/MavenMavenDistribution.md +4 -0
- data/docs/MavenMavenDistributionResponse.md +4 -0
- data/docs/MavenMavenRemote.md +12 -2
- data/docs/MavenMavenRemoteResponse.md +8 -8
- data/docs/MavenMavenRepository.md +3 -1
- data/docs/MavenMavenRepositoryResponse.md +2 -0
- data/docs/PatchedmavenMavenDistribution.md +4 -0
- data/docs/PatchedmavenMavenRemote.md +12 -2
- data/docs/PatchedmavenMavenRepository.md +3 -1
- data/docs/RemotesMavenApi.md +24 -16
- data/docs/RepositoriesMavenApi.md +12 -4
- data/docs/RepositoriesMavenVersionsApi.md +28 -28
- data/lib/pulp_maven_client/api/content_artifact_api.rb +14 -14
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +26 -14
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +30 -18
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +17 -5
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +30 -30
- data/lib/pulp_maven_client/models/content_summary.rb +12 -6
- data/lib/pulp_maven_client/models/content_summary_response.rb +12 -6
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +21 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +21 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +60 -6
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +35 -36
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +10 -1
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +10 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +21 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +60 -6
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +10 -1
- data/lib/pulp_maven_client/version.rb +1 -1
- data/pulp_maven_client.egg-info/PKG-INFO +15 -0
- data/pulp_maven_client.egg-info/SOURCES.txt +71 -0
- data/pulp_maven_client.egg-info/dependency_links.txt +1 -0
- data/pulp_maven_client.egg-info/requires.txt +4 -0
- data/pulp_maven_client.egg-info/top_level.txt +1 -0
- data/pulpcore/__init__.py +2 -0
- data/pulpcore/client/__init__.py +2 -0
- data/pulpcore/client/pulp_maven/__init__.py +58 -0
- data/pulpcore/client/pulp_maven/api/__init__.py +10 -0
- data/pulpcore/client/pulp_maven/api/content_artifact_api.py +445 -0
- data/pulpcore/client/pulp_maven/api/distributions_maven_api.py +830 -0
- data/pulpcore/client/pulp_maven/api/remotes_maven_api.py +840 -0
- data/pulpcore/client/pulp_maven/api/repositories_maven_api.py +809 -0
- data/pulpcore/client/pulp_maven/api/repositories_maven_versions_api.py +614 -0
- data/pulpcore/client/pulp_maven/api_client.py +667 -0
- data/pulpcore/client/pulp_maven/configuration.py +427 -0
- data/pulpcore/client/pulp_maven/exceptions.py +121 -0
- data/pulpcore/client/pulp_maven/models/__init__.py +39 -0
- data/pulpcore/client/pulp_maven/models/async_operation_response.py +124 -0
- data/pulpcore/client/pulp_maven/models/content_summary.py +176 -0
- data/pulpcore/client/pulp_maven/models/content_summary_response.py +176 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_artifact.py +153 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_artifact_response.py +290 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_distribution.py +260 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_distribution_response.py +342 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_remote.py +657 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_remote_response.py +604 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_repository.py +202 -0
- data/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +308 -0
- data/pulpcore/client/pulp_maven/models/paginated_repository_version_response_list.py +197 -0
- data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_artifact_response_list.py +197 -0
- data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_distribution_response_list.py +197 -0
- data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_remote_response_list.py +197 -0
- data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_repository_response_list.py +197 -0
- data/pulpcore/client/pulp_maven/models/patchedmaven_maven_distribution.py +258 -0
- data/pulpcore/client/pulp_maven/models/patchedmaven_maven_remote.py +655 -0
- data/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +201 -0
- data/pulpcore/client/pulp_maven/models/policy_enum.py +101 -0
- data/pulpcore/client/pulp_maven/models/repository_version.py +123 -0
- data/pulpcore/client/pulp_maven/models/repository_version_response.py +231 -0
- data/pulpcore/client/pulp_maven/rest.py +292 -0
- data/requirements.txt +6 -0
- data/setup.cfg +2 -0
- data/setup.py +42 -0
- data/spec/api/content_artifact_api_spec.rb +7 -7
- data/spec/api/distributions_maven_api_spec.rb +10 -6
- data/spec/api/remotes_maven_api_spec.rb +12 -8
- data/spec/api/repositories_maven_api_spec.rb +6 -2
- data/spec/api/repositories_maven_versions_api_spec.rb +14 -14
- data/spec/models/maven_maven_distribution_response_spec.rb +12 -0
- data/spec/models/maven_maven_distribution_spec.rb +12 -0
- data/spec/models/maven_maven_remote_response_spec.rb +12 -12
- data/spec/models/maven_maven_remote_spec.rb +30 -0
- data/spec/models/maven_maven_repository_response_spec.rb +6 -0
- data/spec/models/maven_maven_repository_spec.rb +6 -0
- data/spec/models/patchedmaven_maven_distribution_spec.rb +12 -0
- data/spec/models/patchedmaven_maven_remote_spec.rb +30 -0
- data/spec/models/patchedmaven_maven_repository_spec.rb +6 -0
- data/test/__init__.py +0 -0
- data/test/test_async_operation_response.py +54 -0
- data/test/test_content_artifact_api.py +55 -0
- data/test/test_content_summary.py +70 -0
- data/test/test_content_summary_response.py +70 -0
- data/test/test_distributions_maven_api.py +76 -0
- data/test/test_maven_maven_artifact.py +56 -0
- data/test/test_maven_maven_artifact_response.py +60 -0
- data/test/test_maven_maven_distribution.py +60 -0
- data/test/test_maven_maven_distribution_response.py +63 -0
- data/test/test_maven_maven_remote.py +76 -0
- data/test/test_maven_maven_remote_response.py +74 -0
- data/test/test_maven_maven_repository.py +57 -0
- data/test/test_maven_maven_repository_response.py +61 -0
- data/test/test_paginated_repository_version_response_list.py +63 -0
- data/test/test_paginatedmaven_maven_artifact_response_list.py +65 -0
- data/test/test_paginatedmaven_maven_distribution_response_list.py +67 -0
- data/test/test_paginatedmaven_maven_remote_response_list.py +78 -0
- data/test/test_paginatedmaven_maven_repository_response_list.py +66 -0
- data/test/test_patchedmaven_maven_distribution.py +58 -0
- data/test/test_patchedmaven_maven_remote.py +74 -0
- data/test/test_patchedmaven_maven_repository.py +56 -0
- data/test/test_policy_enum.py +52 -0
- data/test/test_remotes_maven_api.py +76 -0
- data/test/test_repositories_maven_api.py +76 -0
- data/test/test_repositories_maven_versions_api.py +61 -0
- data/test/test_repository_version.py +53 -0
- data/test/test_repository_version_response.py +57 -0
- data/test-requirements.txt +3 -0
- data/tox.ini +9 -0
- metadata +133 -21
@@ -0,0 +1,292 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Pulp 3 API
|
5
|
+
|
6
|
+
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: v3
|
9
|
+
Contact: pulp-list@redhat.com
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
"""
|
12
|
+
|
13
|
+
|
14
|
+
from __future__ import absolute_import
|
15
|
+
|
16
|
+
import io
|
17
|
+
import json
|
18
|
+
import logging
|
19
|
+
import re
|
20
|
+
import ssl
|
21
|
+
|
22
|
+
import certifi
|
23
|
+
# python 2 and python 3 compatibility library
|
24
|
+
import six
|
25
|
+
from six.moves.urllib.parse import urlencode
|
26
|
+
import urllib3
|
27
|
+
|
28
|
+
from pulpcore.client.pulp_maven.exceptions import ApiException, ApiValueError
|
29
|
+
|
30
|
+
|
31
|
+
logger = logging.getLogger(__name__)
|
32
|
+
|
33
|
+
|
34
|
+
class RESTResponse(io.IOBase):
|
35
|
+
|
36
|
+
def __init__(self, resp):
|
37
|
+
self.urllib3_response = resp
|
38
|
+
self.status = resp.status
|
39
|
+
self.reason = resp.reason
|
40
|
+
self.data = resp.data
|
41
|
+
|
42
|
+
def getheaders(self):
|
43
|
+
"""Returns a dictionary of the response headers."""
|
44
|
+
return self.urllib3_response.getheaders()
|
45
|
+
|
46
|
+
def getheader(self, name, default=None):
|
47
|
+
"""Returns a given response header."""
|
48
|
+
return self.urllib3_response.getheader(name, default)
|
49
|
+
|
50
|
+
|
51
|
+
class RESTClientObject(object):
|
52
|
+
|
53
|
+
def __init__(self, configuration, pools_size=4, maxsize=None):
|
54
|
+
# urllib3.PoolManager will pass all kw parameters to connectionpool
|
55
|
+
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501
|
56
|
+
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501
|
57
|
+
# maxsize is the number of requests to host that are allowed in parallel # noqa: E501
|
58
|
+
# Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501
|
59
|
+
|
60
|
+
# cert_reqs
|
61
|
+
if configuration.verify_ssl:
|
62
|
+
cert_reqs = ssl.CERT_REQUIRED
|
63
|
+
else:
|
64
|
+
cert_reqs = ssl.CERT_NONE
|
65
|
+
|
66
|
+
# ca_certs
|
67
|
+
if configuration.ssl_ca_cert:
|
68
|
+
ca_certs = configuration.ssl_ca_cert
|
69
|
+
else:
|
70
|
+
# if not set certificate file, use Mozilla's root certificates.
|
71
|
+
ca_certs = certifi.where()
|
72
|
+
|
73
|
+
addition_pool_args = {}
|
74
|
+
if configuration.assert_hostname is not None:
|
75
|
+
addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501
|
76
|
+
|
77
|
+
if configuration.retries is not None:
|
78
|
+
addition_pool_args['retries'] = configuration.retries
|
79
|
+
|
80
|
+
if maxsize is None:
|
81
|
+
if configuration.connection_pool_maxsize is not None:
|
82
|
+
maxsize = configuration.connection_pool_maxsize
|
83
|
+
else:
|
84
|
+
maxsize = 4
|
85
|
+
|
86
|
+
# https pool manager
|
87
|
+
if configuration.proxy:
|
88
|
+
self.pool_manager = urllib3.ProxyManager(
|
89
|
+
num_pools=pools_size,
|
90
|
+
maxsize=maxsize,
|
91
|
+
cert_reqs=cert_reqs,
|
92
|
+
ca_certs=ca_certs,
|
93
|
+
cert_file=configuration.cert_file,
|
94
|
+
key_file=configuration.key_file,
|
95
|
+
proxy_url=configuration.proxy,
|
96
|
+
proxy_headers=configuration.proxy_headers,
|
97
|
+
**addition_pool_args
|
98
|
+
)
|
99
|
+
else:
|
100
|
+
self.pool_manager = urllib3.PoolManager(
|
101
|
+
num_pools=pools_size,
|
102
|
+
maxsize=maxsize,
|
103
|
+
cert_reqs=cert_reqs,
|
104
|
+
ca_certs=ca_certs,
|
105
|
+
cert_file=configuration.cert_file,
|
106
|
+
key_file=configuration.key_file,
|
107
|
+
**addition_pool_args
|
108
|
+
)
|
109
|
+
|
110
|
+
def request(self, method, url, query_params=None, headers=None,
|
111
|
+
body=None, post_params=None, _preload_content=True,
|
112
|
+
_request_timeout=None):
|
113
|
+
"""Perform requests.
|
114
|
+
|
115
|
+
:param method: http request method
|
116
|
+
:param url: http request url
|
117
|
+
:param query_params: query parameters in the url
|
118
|
+
:param headers: http request headers
|
119
|
+
:param body: request json body, for `application/json`
|
120
|
+
:param post_params: request post parameters,
|
121
|
+
`application/x-www-form-urlencoded`
|
122
|
+
and `multipart/form-data`
|
123
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
124
|
+
be returned without reading/decoding response
|
125
|
+
data. Default is True.
|
126
|
+
:param _request_timeout: timeout setting for this request. If one
|
127
|
+
number provided, it will be total request
|
128
|
+
timeout. It can also be a pair (tuple) of
|
129
|
+
(connection, read) timeouts.
|
130
|
+
"""
|
131
|
+
method = method.upper()
|
132
|
+
assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT',
|
133
|
+
'PATCH', 'OPTIONS']
|
134
|
+
|
135
|
+
if post_params and body:
|
136
|
+
raise ApiValueError(
|
137
|
+
"body parameter cannot be used with post_params parameter."
|
138
|
+
)
|
139
|
+
|
140
|
+
post_params = post_params or {}
|
141
|
+
headers = headers or {}
|
142
|
+
|
143
|
+
timeout = None
|
144
|
+
if _request_timeout:
|
145
|
+
if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821
|
146
|
+
timeout = urllib3.Timeout(total=_request_timeout)
|
147
|
+
elif (isinstance(_request_timeout, tuple) and
|
148
|
+
len(_request_timeout) == 2):
|
149
|
+
timeout = urllib3.Timeout(
|
150
|
+
connect=_request_timeout[0], read=_request_timeout[1])
|
151
|
+
|
152
|
+
if 'Content-Type' not in headers:
|
153
|
+
headers['Content-Type'] = 'application/json'
|
154
|
+
|
155
|
+
try:
|
156
|
+
# For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
|
157
|
+
if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
|
158
|
+
if query_params:
|
159
|
+
url += '?' + urlencode(query_params)
|
160
|
+
if re.search('json', headers['Content-Type'], re.IGNORECASE):
|
161
|
+
request_body = None
|
162
|
+
if body is not None:
|
163
|
+
request_body = json.dumps(body)
|
164
|
+
r = self.pool_manager.request(
|
165
|
+
method, url,
|
166
|
+
body=request_body,
|
167
|
+
preload_content=_preload_content,
|
168
|
+
timeout=timeout,
|
169
|
+
headers=headers)
|
170
|
+
elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501
|
171
|
+
r = self.pool_manager.request(
|
172
|
+
method, url,
|
173
|
+
fields=post_params,
|
174
|
+
encode_multipart=False,
|
175
|
+
preload_content=_preload_content,
|
176
|
+
timeout=timeout,
|
177
|
+
headers=headers)
|
178
|
+
elif headers['Content-Type'] == 'multipart/form-data':
|
179
|
+
# must del headers['Content-Type'], or the correct
|
180
|
+
# Content-Type which generated by urllib3 will be
|
181
|
+
# overwritten.
|
182
|
+
del headers['Content-Type']
|
183
|
+
r = self.pool_manager.request(
|
184
|
+
method, url,
|
185
|
+
fields=post_params,
|
186
|
+
encode_multipart=True,
|
187
|
+
preload_content=_preload_content,
|
188
|
+
timeout=timeout,
|
189
|
+
headers=headers)
|
190
|
+
# Pass a `string` parameter directly in the body to support
|
191
|
+
# other content types than Json when `body` argument is
|
192
|
+
# provided in serialized form
|
193
|
+
elif isinstance(body, str) or isinstance(body, bytes):
|
194
|
+
request_body = body
|
195
|
+
r = self.pool_manager.request(
|
196
|
+
method, url,
|
197
|
+
body=request_body,
|
198
|
+
preload_content=_preload_content,
|
199
|
+
timeout=timeout,
|
200
|
+
headers=headers)
|
201
|
+
else:
|
202
|
+
# Cannot generate the request from given parameters
|
203
|
+
msg = """Cannot prepare a request message for provided
|
204
|
+
arguments. Please check that your arguments match
|
205
|
+
declared content type."""
|
206
|
+
raise ApiException(status=0, reason=msg)
|
207
|
+
# For `GET`, `HEAD`
|
208
|
+
else:
|
209
|
+
r = self.pool_manager.request(method, url,
|
210
|
+
fields=query_params,
|
211
|
+
preload_content=_preload_content,
|
212
|
+
timeout=timeout,
|
213
|
+
headers=headers)
|
214
|
+
except urllib3.exceptions.SSLError as e:
|
215
|
+
msg = "{0}\n{1}".format(type(e).__name__, str(e))
|
216
|
+
raise ApiException(status=0, reason=msg)
|
217
|
+
|
218
|
+
if _preload_content:
|
219
|
+
r = RESTResponse(r)
|
220
|
+
|
221
|
+
# log response body
|
222
|
+
logger.debug("response body: %s", r.data)
|
223
|
+
|
224
|
+
if not 200 <= r.status <= 299:
|
225
|
+
raise ApiException(http_resp=r)
|
226
|
+
|
227
|
+
return r
|
228
|
+
|
229
|
+
def GET(self, url, headers=None, query_params=None, _preload_content=True,
|
230
|
+
_request_timeout=None):
|
231
|
+
return self.request("GET", url,
|
232
|
+
headers=headers,
|
233
|
+
_preload_content=_preload_content,
|
234
|
+
_request_timeout=_request_timeout,
|
235
|
+
query_params=query_params)
|
236
|
+
|
237
|
+
def HEAD(self, url, headers=None, query_params=None, _preload_content=True,
|
238
|
+
_request_timeout=None):
|
239
|
+
return self.request("HEAD", url,
|
240
|
+
headers=headers,
|
241
|
+
_preload_content=_preload_content,
|
242
|
+
_request_timeout=_request_timeout,
|
243
|
+
query_params=query_params)
|
244
|
+
|
245
|
+
def OPTIONS(self, url, headers=None, query_params=None, post_params=None,
|
246
|
+
body=None, _preload_content=True, _request_timeout=None):
|
247
|
+
return self.request("OPTIONS", url,
|
248
|
+
headers=headers,
|
249
|
+
query_params=query_params,
|
250
|
+
post_params=post_params,
|
251
|
+
_preload_content=_preload_content,
|
252
|
+
_request_timeout=_request_timeout,
|
253
|
+
body=body)
|
254
|
+
|
255
|
+
def DELETE(self, url, headers=None, query_params=None, body=None,
|
256
|
+
_preload_content=True, _request_timeout=None):
|
257
|
+
return self.request("DELETE", url,
|
258
|
+
headers=headers,
|
259
|
+
query_params=query_params,
|
260
|
+
_preload_content=_preload_content,
|
261
|
+
_request_timeout=_request_timeout,
|
262
|
+
body=body)
|
263
|
+
|
264
|
+
def POST(self, url, headers=None, query_params=None, post_params=None,
|
265
|
+
body=None, _preload_content=True, _request_timeout=None):
|
266
|
+
return self.request("POST", url,
|
267
|
+
headers=headers,
|
268
|
+
query_params=query_params,
|
269
|
+
post_params=post_params,
|
270
|
+
_preload_content=_preload_content,
|
271
|
+
_request_timeout=_request_timeout,
|
272
|
+
body=body)
|
273
|
+
|
274
|
+
def PUT(self, url, headers=None, query_params=None, post_params=None,
|
275
|
+
body=None, _preload_content=True, _request_timeout=None):
|
276
|
+
return self.request("PUT", url,
|
277
|
+
headers=headers,
|
278
|
+
query_params=query_params,
|
279
|
+
post_params=post_params,
|
280
|
+
_preload_content=_preload_content,
|
281
|
+
_request_timeout=_request_timeout,
|
282
|
+
body=body)
|
283
|
+
|
284
|
+
def PATCH(self, url, headers=None, query_params=None, post_params=None,
|
285
|
+
body=None, _preload_content=True, _request_timeout=None):
|
286
|
+
return self.request("PATCH", url,
|
287
|
+
headers=headers,
|
288
|
+
query_params=query_params,
|
289
|
+
post_params=post_params,
|
290
|
+
_preload_content=_preload_content,
|
291
|
+
_request_timeout=_request_timeout,
|
292
|
+
body=body)
|
Binary file
|
Binary file
|
data/docs/ContentArtifactApi.md
CHANGED
@@ -85,16 +85,16 @@ end
|
|
85
85
|
|
86
86
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
87
87
|
opts = {
|
88
|
-
artifact_id: 'artifact_id_example', # String | artifact_id
|
89
|
-
filename: 'filename_example', # String | filename
|
90
|
-
group_id: 'group_id_example', # String | group_id
|
88
|
+
artifact_id: 'artifact_id_example', # String | Filter results where artifact_id matches value
|
89
|
+
filename: 'filename_example', # String | Filter results where filename matches value
|
90
|
+
group_id: 'group_id_example', # String | Filter results where group_id matches value
|
91
91
|
limit: 56, # Integer | Number of results to return per page.
|
92
92
|
offset: 56, # Integer | The initial index from which to return the results.
|
93
93
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
94
|
-
repository_version: 'repository_version_example', # String |
|
95
|
-
repository_version_added: 'repository_version_added_example', # String |
|
96
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
97
|
-
version: 'version_example', # String | version
|
94
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
95
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
96
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
97
|
+
version: 'version_example', # String | Filter results where version matches value
|
98
98
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
99
99
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
100
100
|
}
|
@@ -113,16 +113,16 @@ end
|
|
113
113
|
|
114
114
|
Name | Type | Description | Notes
|
115
115
|
------------- | ------------- | ------------- | -------------
|
116
|
-
**artifact_id** | **String**| artifact_id | [optional]
|
117
|
-
**filename** | **String**| filename | [optional]
|
118
|
-
**group_id** | **String**| group_id | [optional]
|
116
|
+
**artifact_id** | **String**| Filter results where artifact_id matches value | [optional]
|
117
|
+
**filename** | **String**| Filter results where filename matches value | [optional]
|
118
|
+
**group_id** | **String**| Filter results where group_id matches value | [optional]
|
119
119
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
120
120
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
121
121
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
122
|
-
**repository_version** | **String**|
|
123
|
-
**repository_version_added** | **String**|
|
124
|
-
**repository_version_removed** | **String**|
|
125
|
-
**version** | **String**| version | [optional]
|
122
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
123
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
124
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
125
|
+
**version** | **String**| Filter results where version matches value | [optional]
|
126
126
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
127
127
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
128
128
|
|
data/docs/ContentSummary.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -141,15 +141,19 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
143
143
|
opts = {
|
144
|
-
base_path: 'base_path_example', # String |
|
145
|
-
base_path__contains: 'base_path__contains_example', # String |
|
146
|
-
base_path__icontains: 'base_path__icontains_example', # String |
|
147
|
-
base_path__in: 'base_path__in_example', # String |
|
144
|
+
base_path: 'base_path_example', # String |
|
145
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
146
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
147
|
+
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
|
-
name: 'name_example', # String |
|
150
|
-
|
149
|
+
name: 'name_example', # String |
|
150
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
152
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
151
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
152
155
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
156
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
155
159
|
}
|
@@ -168,15 +172,19 @@ end
|
|
168
172
|
|
169
173
|
Name | Type | Description | Notes
|
170
174
|
------------- | ------------- | ------------- | -------------
|
171
|
-
**base_path** | **String**|
|
172
|
-
**base_path__contains** | **String**|
|
173
|
-
**base_path__icontains** | **String**|
|
174
|
-
**base_path__in** | **String
|
175
|
+
**base_path** | **String**| | [optional]
|
176
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
177
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
178
|
+
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
175
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
|
-
**name** | **String**|
|
177
|
-
**
|
180
|
+
**name** | **String**| | [optional]
|
181
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
183
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
178
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
186
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
187
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
180
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
181
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
182
190
|
|
@@ -6,7 +6,9 @@ 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`. |
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
12
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
11
13
|
|
12
14
|
## Code Sample
|
@@ -16,7 +18,9 @@ require 'PulpMavenClient'
|
|
16
18
|
|
17
19
|
instance = PulpMavenClient::MavenMavenDistribution.new(base_path: null,
|
18
20
|
content_guard: null,
|
21
|
+
pulp_labels: null,
|
19
22
|
name: null,
|
23
|
+
repository: null,
|
20
24
|
remote: null)
|
21
25
|
```
|
22
26
|
|
@@ -9,7 +9,9 @@ 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`. |
|
14
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
15
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
14
16
|
|
15
17
|
## Code Sample
|
@@ -22,7 +24,9 @@ instance = PulpMavenClient::MavenMavenDistributionResponse.new(pulp_href: null,
|
|
22
24
|
base_path: null,
|
23
25
|
base_url: null,
|
24
26
|
content_guard: null,
|
27
|
+
pulp_labels: null,
|
25
28
|
name: null,
|
29
|
+
repository: null,
|
26
30
|
remote: null)
|
27
31
|
```
|
28
32
|
|
data/docs/MavenMavenRemote.md
CHANGED
@@ -10,15 +10,20 @@ 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]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
21
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
27
|
|
23
28
|
## Code Sample
|
24
29
|
|
@@ -32,14 +37,19 @@ instance = PulpMavenClient::MavenMavenRemote.new(name: null,
|
|
32
37
|
client_key: null,
|
33
38
|
tls_validation: null,
|
34
39
|
proxy_url: null,
|
40
|
+
proxy_username: null,
|
41
|
+
proxy_password: null,
|
35
42
|
username: null,
|
36
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
37
45
|
download_concurrency: null,
|
38
46
|
policy: null,
|
39
47
|
total_timeout: null,
|
40
48
|
connect_timeout: null,
|
41
49
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
50
|
+
sock_read_timeout: null,
|
51
|
+
headers: null,
|
52
|
+
rate_limit: null)
|
43
53
|
```
|
44
54
|
|
45
55
|
|
@@ -10,11 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
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
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
14
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
16
|
-
**
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
@@ -22,6 +20,8 @@ Name | Type | Description | Notes
|
|
22
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
25
|
|
26
26
|
## Code Sample
|
27
27
|
|
@@ -34,18 +34,18 @@ instance = PulpMavenClient::MavenMavenRemoteResponse.new(pulp_href: null,
|
|
34
34
|
url: null,
|
35
35
|
ca_cert: null,
|
36
36
|
client_cert: null,
|
37
|
-
client_key: null,
|
38
37
|
tls_validation: null,
|
39
38
|
proxy_url: null,
|
40
|
-
|
41
|
-
password: null,
|
39
|
+
pulp_labels: null,
|
42
40
|
pulp_last_updated: null,
|
43
41
|
download_concurrency: null,
|
44
42
|
policy: null,
|
45
43
|
total_timeout: null,
|
46
44
|
connect_timeout: null,
|
47
45
|
sock_connect_timeout: null,
|
48
|
-
sock_read_timeout: null
|
46
|
+
sock_read_timeout: null,
|
47
|
+
headers: null,
|
48
|
+
rate_limit: null)
|
49
49
|
```
|
50
50
|
|
51
51
|
|
@@ -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 'PulpMavenClient'
|
15
16
|
|
16
|
-
instance = PulpMavenClient::MavenMavenRepository.new(
|
17
|
+
instance = PulpMavenClient::MavenMavenRepository.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 'PulpMavenClient'
|
|
20
21
|
instance = PulpMavenClient::MavenMavenRepositoryResponse.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,7 +6,9 @@ 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]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
12
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
11
13
|
|
12
14
|
## Code Sample
|
@@ -16,7 +18,9 @@ require 'PulpMavenClient'
|
|
16
18
|
|
17
19
|
instance = PulpMavenClient::PatchedmavenMavenDistribution.new(base_path: null,
|
18
20
|
content_guard: null,
|
21
|
+
pulp_labels: null,
|
19
22
|
name: null,
|
23
|
+
repository: null,
|
20
24
|
remote: null)
|
21
25
|
```
|
22
26
|
|
@@ -10,15 +10,20 @@ 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]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
21
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
27
|
|
23
28
|
## Code Sample
|
24
29
|
|
@@ -32,14 +37,19 @@ instance = PulpMavenClient::PatchedmavenMavenRemote.new(name: null,
|
|
32
37
|
client_key: null,
|
33
38
|
tls_validation: null,
|
34
39
|
proxy_url: null,
|
40
|
+
proxy_username: null,
|
41
|
+
proxy_password: null,
|
35
42
|
username: null,
|
36
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
37
45
|
download_concurrency: null,
|
38
46
|
policy: null,
|
39
47
|
total_timeout: null,
|
40
48
|
connect_timeout: null,
|
41
49
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
50
|
+
sock_read_timeout: null,
|
51
|
+
headers: null,
|
52
|
+
rate_limit: null)
|
43
53
|
```
|
44
54
|
|
45
55
|
|