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
@@ -21,9 +21,14 @@ module PulpMavenClient
|
|
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
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
27
32
|
# Remote that can be used to fetch content when using pull-through caching.
|
28
33
|
attr_accessor :remote
|
29
34
|
|
@@ -32,7 +37,9 @@ module PulpMavenClient
|
|
32
37
|
{
|
33
38
|
:'base_path' => :'base_path',
|
34
39
|
:'content_guard' => :'content_guard',
|
40
|
+
:'pulp_labels' => :'pulp_labels',
|
35
41
|
:'name' => :'name',
|
42
|
+
:'repository' => :'repository',
|
36
43
|
:'remote' => :'remote'
|
37
44
|
}
|
38
45
|
end
|
@@ -42,7 +49,9 @@ module PulpMavenClient
|
|
42
49
|
{
|
43
50
|
:'base_path' => :'String',
|
44
51
|
:'content_guard' => :'String',
|
52
|
+
:'pulp_labels' => :'Object',
|
45
53
|
:'name' => :'String',
|
54
|
+
:'repository' => :'String',
|
46
55
|
:'remote' => :'String'
|
47
56
|
}
|
48
57
|
end
|
@@ -51,6 +60,7 @@ module PulpMavenClient
|
|
51
60
|
def self.openapi_nullable
|
52
61
|
Set.new([
|
53
62
|
:'content_guard',
|
63
|
+
:'repository',
|
54
64
|
:'remote'
|
55
65
|
])
|
56
66
|
end
|
@@ -78,10 +88,18 @@ module PulpMavenClient
|
|
78
88
|
self.content_guard = attributes[:'content_guard']
|
79
89
|
end
|
80
90
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
92
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
93
|
+
end
|
94
|
+
|
81
95
|
if attributes.key?(:'name')
|
82
96
|
self.name = attributes[:'name']
|
83
97
|
end
|
84
98
|
|
99
|
+
if attributes.key?(:'repository')
|
100
|
+
self.repository = attributes[:'repository']
|
101
|
+
end
|
102
|
+
|
85
103
|
if attributes.key?(:'remote')
|
86
104
|
self.remote = attributes[:'remote']
|
87
105
|
end
|
@@ -107,7 +125,9 @@ module PulpMavenClient
|
|
107
125
|
self.class == o.class &&
|
108
126
|
base_path == o.base_path &&
|
109
127
|
content_guard == o.content_guard &&
|
128
|
+
pulp_labels == o.pulp_labels &&
|
110
129
|
name == o.name &&
|
130
|
+
repository == o.repository &&
|
111
131
|
remote == o.remote
|
112
132
|
end
|
113
133
|
|
@@ -120,7 +140,7 @@ module PulpMavenClient
|
|
120
140
|
# Calculates hash code according to all attributes.
|
121
141
|
# @return [Integer] Hash code
|
122
142
|
def hash
|
123
|
-
[base_path, content_guard, name, remote].hash
|
143
|
+
[base_path, content_guard, pulp_labels, name, repository, remote].hash
|
124
144
|
end
|
125
145
|
|
126
146
|
# Builds the object from hash
|
@@ -33,15 +33,23 @@ module PulpMavenClient
|
|
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 PulpMavenClient
|
|
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
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
78
|
def self.attribute_map
|
65
79
|
{
|
@@ -70,14 +84,19 @@ module PulpMavenClient
|
|
70
84
|
:'client_key' => :'client_key',
|
71
85
|
:'tls_validation' => :'tls_validation',
|
72
86
|
:'proxy_url' => :'proxy_url',
|
87
|
+
:'proxy_username' => :'proxy_username',
|
88
|
+
:'proxy_password' => :'proxy_password',
|
73
89
|
:'username' => :'username',
|
74
90
|
:'password' => :'password',
|
91
|
+
:'pulp_labels' => :'pulp_labels',
|
75
92
|
:'download_concurrency' => :'download_concurrency',
|
76
93
|
:'policy' => :'policy',
|
77
94
|
:'total_timeout' => :'total_timeout',
|
78
95
|
:'connect_timeout' => :'connect_timeout',
|
79
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
80
|
-
:'sock_read_timeout' => :'sock_read_timeout'
|
97
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
98
|
+
:'headers' => :'headers',
|
99
|
+
:'rate_limit' => :'rate_limit'
|
81
100
|
}
|
82
101
|
end
|
83
102
|
|
@@ -91,14 +110,19 @@ module PulpMavenClient
|
|
91
110
|
:'client_key' => :'String',
|
92
111
|
:'tls_validation' => :'Boolean',
|
93
112
|
:'proxy_url' => :'String',
|
113
|
+
:'proxy_username' => :'String',
|
114
|
+
:'proxy_password' => :'String',
|
94
115
|
:'username' => :'String',
|
95
116
|
:'password' => :'String',
|
117
|
+
:'pulp_labels' => :'Object',
|
96
118
|
:'download_concurrency' => :'Integer',
|
97
119
|
:'policy' => :'PolicyEnum',
|
98
120
|
:'total_timeout' => :'Float',
|
99
121
|
:'connect_timeout' => :'Float',
|
100
122
|
:'sock_connect_timeout' => :'Float',
|
101
|
-
:'sock_read_timeout' => :'Float'
|
123
|
+
:'sock_read_timeout' => :'Float',
|
124
|
+
:'headers' => :'Array<Object>',
|
125
|
+
:'rate_limit' => :'Integer'
|
102
126
|
}
|
103
127
|
end
|
104
128
|
|
@@ -109,12 +133,15 @@ module PulpMavenClient
|
|
109
133
|
:'client_cert',
|
110
134
|
:'client_key',
|
111
135
|
:'proxy_url',
|
136
|
+
:'proxy_username',
|
137
|
+
:'proxy_password',
|
112
138
|
:'username',
|
113
139
|
:'password',
|
114
140
|
:'total_timeout',
|
115
141
|
:'connect_timeout',
|
116
142
|
:'sock_connect_timeout',
|
117
|
-
:'sock_read_timeout'
|
143
|
+
:'sock_read_timeout',
|
144
|
+
:'rate_limit'
|
118
145
|
])
|
119
146
|
end
|
120
147
|
|
@@ -161,6 +188,14 @@ module PulpMavenClient
|
|
161
188
|
self.proxy_url = attributes[:'proxy_url']
|
162
189
|
end
|
163
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
|
+
|
164
199
|
if attributes.key?(:'username')
|
165
200
|
self.username = attributes[:'username']
|
166
201
|
end
|
@@ -169,6 +204,10 @@ module PulpMavenClient
|
|
169
204
|
self.password = attributes[:'password']
|
170
205
|
end
|
171
206
|
|
207
|
+
if attributes.key?(:'pulp_labels')
|
208
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
209
|
+
end
|
210
|
+
|
172
211
|
if attributes.key?(:'download_concurrency')
|
173
212
|
self.download_concurrency = attributes[:'download_concurrency']
|
174
213
|
end
|
@@ -192,6 +231,16 @@ module PulpMavenClient
|
|
192
231
|
if attributes.key?(:'sock_read_timeout')
|
193
232
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
194
233
|
end
|
234
|
+
|
235
|
+
if attributes.key?(:'headers')
|
236
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
237
|
+
self.headers = value
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
if attributes.key?(:'rate_limit')
|
242
|
+
self.rate_limit = attributes[:'rate_limit']
|
243
|
+
end
|
195
244
|
end
|
196
245
|
|
197
246
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -294,14 +343,19 @@ module PulpMavenClient
|
|
294
343
|
client_key == o.client_key &&
|
295
344
|
tls_validation == o.tls_validation &&
|
296
345
|
proxy_url == o.proxy_url &&
|
346
|
+
proxy_username == o.proxy_username &&
|
347
|
+
proxy_password == o.proxy_password &&
|
297
348
|
username == o.username &&
|
298
349
|
password == o.password &&
|
350
|
+
pulp_labels == o.pulp_labels &&
|
299
351
|
download_concurrency == o.download_concurrency &&
|
300
352
|
policy == o.policy &&
|
301
353
|
total_timeout == o.total_timeout &&
|
302
354
|
connect_timeout == o.connect_timeout &&
|
303
355
|
sock_connect_timeout == o.sock_connect_timeout &&
|
304
|
-
sock_read_timeout == o.sock_read_timeout
|
356
|
+
sock_read_timeout == o.sock_read_timeout &&
|
357
|
+
headers == o.headers &&
|
358
|
+
rate_limit == o.rate_limit
|
305
359
|
end
|
306
360
|
|
307
361
|
# @see the `==` method
|
@@ -313,7 +367,7 @@ module PulpMavenClient
|
|
313
367
|
# Calculates hash code according to all attributes.
|
314
368
|
# @return [Integer] Hash code
|
315
369
|
def hash
|
316
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout].hash
|
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
|
317
371
|
end
|
318
372
|
|
319
373
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpMavenClient
|
16
16
|
# Serializer for Maven Repositories.
|
17
17
|
class PatchedmavenMavenRepository
|
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 PulpMavenClient
|
|
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 PulpMavenClient
|
|
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 PulpMavenClient
|
|
64
68
|
h[k.to_sym] = v
|
65
69
|
}
|
66
70
|
|
71
|
+
if attributes.key?(:'pulp_labels')
|
72
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
73
|
+
end
|
74
|
+
|
67
75
|
if attributes.key?(:'name')
|
68
76
|
self.name = attributes[:'name']
|
69
77
|
end
|
@@ -95,6 +103,7 @@ module PulpMavenClient
|
|
95
103
|
def ==(o)
|
96
104
|
return true if self.equal?(o)
|
97
105
|
self.class == o.class &&
|
106
|
+
pulp_labels == o.pulp_labels &&
|
98
107
|
name == o.name &&
|
99
108
|
description == o.description &&
|
100
109
|
remote == o.remote
|
@@ -109,7 +118,7 @@ module PulpMavenClient
|
|
109
118
|
# Calculates hash code according to all attributes.
|
110
119
|
# @return [Integer] Hash code
|
111
120
|
def hash
|
112
|
-
[name, description, remote].hash
|
121
|
+
[pulp_labels, name, description, remote].hash
|
113
122
|
end
|
114
123
|
|
115
124
|
# Builds the object from hash
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: pulp-maven-client
|
3
|
+
Version: 0.3.0
|
4
|
+
Summary: Pulp 3 API
|
5
|
+
Home-page: UNKNOWN
|
6
|
+
Author: Pulp Team
|
7
|
+
Author-email: pulp-list@redhat.com
|
8
|
+
License: GPLv2+
|
9
|
+
Keywords: pulp,pulpcore,client,Pulp 3 API
|
10
|
+
Platform: UNKNOWN
|
11
|
+
Requires-Python: >=3.4
|
12
|
+
|
13
|
+
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
README.md
|
2
|
+
setup.cfg
|
3
|
+
setup.py
|
4
|
+
pulp_maven_client.egg-info/PKG-INFO
|
5
|
+
pulp_maven_client.egg-info/SOURCES.txt
|
6
|
+
pulp_maven_client.egg-info/dependency_links.txt
|
7
|
+
pulp_maven_client.egg-info/requires.txt
|
8
|
+
pulp_maven_client.egg-info/top_level.txt
|
9
|
+
pulpcore/__init__.py
|
10
|
+
pulpcore/client/__init__.py
|
11
|
+
pulpcore/client/pulp_maven/__init__.py
|
12
|
+
pulpcore/client/pulp_maven/api_client.py
|
13
|
+
pulpcore/client/pulp_maven/configuration.py
|
14
|
+
pulpcore/client/pulp_maven/exceptions.py
|
15
|
+
pulpcore/client/pulp_maven/rest.py
|
16
|
+
pulpcore/client/pulp_maven/api/__init__.py
|
17
|
+
pulpcore/client/pulp_maven/api/content_artifact_api.py
|
18
|
+
pulpcore/client/pulp_maven/api/distributions_maven_api.py
|
19
|
+
pulpcore/client/pulp_maven/api/remotes_maven_api.py
|
20
|
+
pulpcore/client/pulp_maven/api/repositories_maven_api.py
|
21
|
+
pulpcore/client/pulp_maven/api/repositories_maven_versions_api.py
|
22
|
+
pulpcore/client/pulp_maven/models/__init__.py
|
23
|
+
pulpcore/client/pulp_maven/models/async_operation_response.py
|
24
|
+
pulpcore/client/pulp_maven/models/content_summary.py
|
25
|
+
pulpcore/client/pulp_maven/models/content_summary_response.py
|
26
|
+
pulpcore/client/pulp_maven/models/maven_maven_artifact.py
|
27
|
+
pulpcore/client/pulp_maven/models/maven_maven_artifact_response.py
|
28
|
+
pulpcore/client/pulp_maven/models/maven_maven_distribution.py
|
29
|
+
pulpcore/client/pulp_maven/models/maven_maven_distribution_response.py
|
30
|
+
pulpcore/client/pulp_maven/models/maven_maven_remote.py
|
31
|
+
pulpcore/client/pulp_maven/models/maven_maven_remote_response.py
|
32
|
+
pulpcore/client/pulp_maven/models/maven_maven_repository.py
|
33
|
+
pulpcore/client/pulp_maven/models/maven_maven_repository_response.py
|
34
|
+
pulpcore/client/pulp_maven/models/paginated_repository_version_response_list.py
|
35
|
+
pulpcore/client/pulp_maven/models/paginatedmaven_maven_artifact_response_list.py
|
36
|
+
pulpcore/client/pulp_maven/models/paginatedmaven_maven_distribution_response_list.py
|
37
|
+
pulpcore/client/pulp_maven/models/paginatedmaven_maven_remote_response_list.py
|
38
|
+
pulpcore/client/pulp_maven/models/paginatedmaven_maven_repository_response_list.py
|
39
|
+
pulpcore/client/pulp_maven/models/patchedmaven_maven_distribution.py
|
40
|
+
pulpcore/client/pulp_maven/models/patchedmaven_maven_remote.py
|
41
|
+
pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py
|
42
|
+
pulpcore/client/pulp_maven/models/policy_enum.py
|
43
|
+
pulpcore/client/pulp_maven/models/repository_version.py
|
44
|
+
pulpcore/client/pulp_maven/models/repository_version_response.py
|
45
|
+
test/test_async_operation_response.py
|
46
|
+
test/test_content_artifact_api.py
|
47
|
+
test/test_content_summary.py
|
48
|
+
test/test_content_summary_response.py
|
49
|
+
test/test_distributions_maven_api.py
|
50
|
+
test/test_maven_maven_artifact.py
|
51
|
+
test/test_maven_maven_artifact_response.py
|
52
|
+
test/test_maven_maven_distribution.py
|
53
|
+
test/test_maven_maven_distribution_response.py
|
54
|
+
test/test_maven_maven_remote.py
|
55
|
+
test/test_maven_maven_remote_response.py
|
56
|
+
test/test_maven_maven_repository.py
|
57
|
+
test/test_maven_maven_repository_response.py
|
58
|
+
test/test_paginated_repository_version_response_list.py
|
59
|
+
test/test_paginatedmaven_maven_artifact_response_list.py
|
60
|
+
test/test_paginatedmaven_maven_distribution_response_list.py
|
61
|
+
test/test_paginatedmaven_maven_remote_response_list.py
|
62
|
+
test/test_paginatedmaven_maven_repository_response_list.py
|
63
|
+
test/test_patchedmaven_maven_distribution.py
|
64
|
+
test/test_patchedmaven_maven_remote.py
|
65
|
+
test/test_patchedmaven_maven_repository.py
|
66
|
+
test/test_policy_enum.py
|
67
|
+
test/test_remotes_maven_api.py
|
68
|
+
test/test_repositories_maven_api.py
|
69
|
+
test/test_repositories_maven_versions_api.py
|
70
|
+
test/test_repository_version.py
|
71
|
+
test/test_repository_version_response.py
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
pulpcore
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
# flake8: noqa
|
4
|
+
|
5
|
+
"""
|
6
|
+
Pulp 3 API
|
7
|
+
|
8
|
+
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
9
|
+
|
10
|
+
The version of the OpenAPI document: v3
|
11
|
+
Contact: pulp-list@redhat.com
|
12
|
+
Generated by: https://openapi-generator.tech
|
13
|
+
"""
|
14
|
+
|
15
|
+
|
16
|
+
from __future__ import absolute_import
|
17
|
+
|
18
|
+
__version__ = "0.3.0"
|
19
|
+
|
20
|
+
# import apis into sdk package
|
21
|
+
from pulpcore.client.pulp_maven.api.content_artifact_api import ContentArtifactApi
|
22
|
+
from pulpcore.client.pulp_maven.api.distributions_maven_api import DistributionsMavenApi
|
23
|
+
from pulpcore.client.pulp_maven.api.remotes_maven_api import RemotesMavenApi
|
24
|
+
from pulpcore.client.pulp_maven.api.repositories_maven_api import RepositoriesMavenApi
|
25
|
+
from pulpcore.client.pulp_maven.api.repositories_maven_versions_api import RepositoriesMavenVersionsApi
|
26
|
+
|
27
|
+
# import ApiClient
|
28
|
+
from pulpcore.client.pulp_maven.api_client import ApiClient
|
29
|
+
from pulpcore.client.pulp_maven.configuration import Configuration
|
30
|
+
from pulpcore.client.pulp_maven.exceptions import OpenApiException
|
31
|
+
from pulpcore.client.pulp_maven.exceptions import ApiTypeError
|
32
|
+
from pulpcore.client.pulp_maven.exceptions import ApiValueError
|
33
|
+
from pulpcore.client.pulp_maven.exceptions import ApiKeyError
|
34
|
+
from pulpcore.client.pulp_maven.exceptions import ApiException
|
35
|
+
# import models into sdk package
|
36
|
+
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
|
37
|
+
from pulpcore.client.pulp_maven.models.content_summary import ContentSummary
|
38
|
+
from pulpcore.client.pulp_maven.models.content_summary_response import ContentSummaryResponse
|
39
|
+
from pulpcore.client.pulp_maven.models.maven_maven_artifact import MavenMavenArtifact
|
40
|
+
from pulpcore.client.pulp_maven.models.maven_maven_artifact_response import MavenMavenArtifactResponse
|
41
|
+
from pulpcore.client.pulp_maven.models.maven_maven_distribution import MavenMavenDistribution
|
42
|
+
from pulpcore.client.pulp_maven.models.maven_maven_distribution_response import MavenMavenDistributionResponse
|
43
|
+
from pulpcore.client.pulp_maven.models.maven_maven_remote import MavenMavenRemote
|
44
|
+
from pulpcore.client.pulp_maven.models.maven_maven_remote_response import MavenMavenRemoteResponse
|
45
|
+
from pulpcore.client.pulp_maven.models.maven_maven_repository import MavenMavenRepository
|
46
|
+
from pulpcore.client.pulp_maven.models.maven_maven_repository_response import MavenMavenRepositoryResponse
|
47
|
+
from pulpcore.client.pulp_maven.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
48
|
+
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_artifact_response_list import PaginatedmavenMavenArtifactResponseList
|
49
|
+
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_distribution_response_list import PaginatedmavenMavenDistributionResponseList
|
50
|
+
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_remote_response_list import PaginatedmavenMavenRemoteResponseList
|
51
|
+
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_repository_response_list import PaginatedmavenMavenRepositoryResponseList
|
52
|
+
from pulpcore.client.pulp_maven.models.patchedmaven_maven_distribution import PatchedmavenMavenDistribution
|
53
|
+
from pulpcore.client.pulp_maven.models.patchedmaven_maven_remote import PatchedmavenMavenRemote
|
54
|
+
from pulpcore.client.pulp_maven.models.patchedmaven_maven_repository import PatchedmavenMavenRepository
|
55
|
+
from pulpcore.client.pulp_maven.models.policy_enum import PolicyEnum
|
56
|
+
from pulpcore.client.pulp_maven.models.repository_version import RepositoryVersion
|
57
|
+
from pulpcore.client.pulp_maven.models.repository_version_response import RepositoryVersionResponse
|
58
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
from __future__ import absolute_import
|
2
|
+
|
3
|
+
# flake8: noqa
|
4
|
+
|
5
|
+
# import apis into api package
|
6
|
+
from pulpcore.client.pulp_maven.api.content_artifact_api import ContentArtifactApi
|
7
|
+
from pulpcore.client.pulp_maven.api.distributions_maven_api import DistributionsMavenApi
|
8
|
+
from pulpcore.client.pulp_maven.api.remotes_maven_api import RemotesMavenApi
|
9
|
+
from pulpcore.client.pulp_maven.api.repositories_maven_api import RepositoriesMavenApi
|
10
|
+
from pulpcore.client.pulp_maven.api.repositories_maven_versions_api import RepositoriesMavenVersionsApi
|