pulp_maven_client 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/build/lib/pulpcore/client/pulp_maven/__init__.py +1 -1
- data/build/lib/pulpcore/client/pulp_maven/api_client.py +1 -1
- data/build/lib/pulpcore/client/pulp_maven/configuration.py +1 -1
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository.py +31 -1
- data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +31 -1
- data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +31 -1
- data/build/lib/pulpcore/client/pulp_maven/models/repository_version_response.py +27 -1
- data/dist/pulp_maven-client-0.3.1.tar.gz +0 -0
- data/dist/{pulp_maven_client-0.3.0-py3-none-any.whl → pulp_maven_client-0.3.1-py3-none-any.whl} +0 -0
- data/docs/MavenMavenRepository.md +2 -0
- data/docs/MavenMavenRepositoryResponse.md +2 -0
- data/docs/PatchedmavenMavenRepository.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_maven_client.rb +1 -1
- data/lib/pulp_maven_client/api/content_artifact_api.rb +1 -1
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +1 -1
- data/lib/pulp_maven_client/api_client.rb +12 -8
- data/lib/pulp_maven_client/api_error.rb +1 -1
- data/lib/pulp_maven_client/configuration.rb +8 -1
- data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_maven_client/models/content_summary.rb +1 -1
- data/lib/pulp_maven_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +28 -2
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +28 -2
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +1 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +1 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +1 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +28 -2
- data/lib/pulp_maven_client/models/policy_enum.rb +1 -1
- data/lib/pulp_maven_client/models/repository_version.rb +1 -1
- data/lib/pulp_maven_client/models/repository_version_response.rb +11 -2
- data/lib/pulp_maven_client/version.rb +2 -2
- data/pulp_maven_client.egg-info/PKG-INFO +1 -1
- data/pulp_maven_client.gemspec +1 -1
- data/pulpcore/client/pulp_maven/__init__.py +1 -1
- data/pulpcore/client/pulp_maven/api_client.py +1 -1
- data/pulpcore/client/pulp_maven/configuration.py +1 -1
- data/pulpcore/client/pulp_maven/models/maven_maven_repository.py +31 -1
- data/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +31 -1
- data/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +31 -1
- data/pulpcore/client/pulp_maven/models/repository_version_response.py +27 -1
- data/setup.py +1 -1
- data/spec/api/content_artifact_api_spec.rb +1 -1
- data/spec/api/distributions_maven_api_spec.rb +1 -1
- data/spec/api/remotes_maven_api_spec.rb +1 -1
- data/spec/api/repositories_maven_api_spec.rb +1 -1
- data/spec/api/repositories_maven_versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/maven_maven_artifact_response_spec.rb +1 -1
- data/spec/models/maven_maven_artifact_spec.rb +1 -1
- data/spec/models/maven_maven_distribution_response_spec.rb +1 -1
- data/spec/models/maven_maven_distribution_spec.rb +1 -1
- data/spec/models/maven_maven_remote_response_spec.rb +1 -1
- data/spec/models/maven_maven_remote_spec.rb +1 -1
- data/spec/models/maven_maven_repository_response_spec.rb +7 -1
- data/spec/models/maven_maven_repository_spec.rb +7 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +1 -1
- data/spec/models/patchedmaven_maven_distribution_spec.rb +1 -1
- data/spec/models/patchedmaven_maven_remote_spec.rb +1 -1
- data/spec/models/patchedmaven_maven_repository_spec.rb +7 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +7 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/test/test_maven_maven_repository.py +1 -0
- data/test/test_maven_maven_repository_response.py +1 -0
- data/test/test_paginated_repository_version_response_list.py +1 -0
- data/test/test_paginatedmaven_maven_repository_response_list.py +1 -0
- data/test/test_patchedmaven_maven_repository.py +1 -0
- data/test/test_repository_version_response.py +1 -0
- metadata +22 -22
- data/dist/pulp_maven-client-0.3.0.tar.gz +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ea38b26a6d586ff1e981f565b19cf892d0d94937be2a84780c295c851536a5e
|
|
4
|
+
data.tar.gz: 10aff883672a2d6866920c648256f06e730582bd31b377316ebb59e953c0b94a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3524be4a037ef917194346051066bb164a8f3b0ab47426d9582ced6fe5c6a311907815ae9e5df5d35eff244540a6d537c4edeb8a50e132562d941c5f15fc4ad3
|
|
7
|
+
data.tar.gz: a5e332547a3639885a7171a5bffe4172902c37b161638d23e00c0bf7adcf98b618e58676155317dbc8d2c6b3e7bf30d3cbae6c67c512354e0b20db545537a228
|
data/Gemfile
CHANGED
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.3.
|
|
10
|
+
- Package version: 0.3.1
|
|
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_maven_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_maven_client-0.3.
|
|
27
|
+
gem install ./pulp_maven_client-0.3.1.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_maven_client-0.3.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.3.1.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_maven_client', '~> 0.3.
|
|
36
|
+
gem 'pulp_maven_client', '~> 0.3.1'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -79,7 +79,7 @@ class ApiClient(object):
|
|
|
79
79
|
self.default_headers[header_name] = header_value
|
|
80
80
|
self.cookie = cookie
|
|
81
81
|
# Set default User-Agent.
|
|
82
|
-
self.user_agent = 'OpenAPI-Generator/0.3.
|
|
82
|
+
self.user_agent = 'OpenAPI-Generator/0.3.1/python'
|
|
83
83
|
self.client_side_validation = configuration.client_side_validation
|
|
84
84
|
|
|
85
85
|
def __enter__(self):
|
|
@@ -376,7 +376,7 @@ conf = pulpcore.client.pulp_maven.Configuration(
|
|
|
376
376
|
"OS: {env}\n"\
|
|
377
377
|
"Python Version: {pyversion}\n"\
|
|
378
378
|
"Version of the API: v3\n"\
|
|
379
|
-
"SDK Package Version: 0.3.
|
|
379
|
+
"SDK Package Version: 0.3.1".\
|
|
380
380
|
format(env=sys.platform, pyversion=sys.version)
|
|
381
381
|
|
|
382
382
|
def get_host_settings(self):
|
|
@@ -37,6 +37,7 @@ class MavenMavenRepository(object):
|
|
|
37
37
|
'pulp_labels': 'object',
|
|
38
38
|
'name': 'str',
|
|
39
39
|
'description': 'str',
|
|
40
|
+
'retained_versions': 'int',
|
|
40
41
|
'remote': 'str'
|
|
41
42
|
}
|
|
42
43
|
|
|
@@ -44,10 +45,11 @@ class MavenMavenRepository(object):
|
|
|
44
45
|
'pulp_labels': 'pulp_labels',
|
|
45
46
|
'name': 'name',
|
|
46
47
|
'description': 'description',
|
|
48
|
+
'retained_versions': 'retained_versions',
|
|
47
49
|
'remote': 'remote'
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
def __init__(self, pulp_labels=None, name=None, description=None, remote=None, local_vars_configuration=None): # noqa: E501
|
|
52
|
+
def __init__(self, pulp_labels=None, name=None, description=None, retained_versions=None, remote=None, local_vars_configuration=None): # noqa: E501
|
|
51
53
|
"""MavenMavenRepository - a model defined in OpenAPI""" # noqa: E501
|
|
52
54
|
if local_vars_configuration is None:
|
|
53
55
|
local_vars_configuration = Configuration()
|
|
@@ -56,6 +58,7 @@ class MavenMavenRepository(object):
|
|
|
56
58
|
self._pulp_labels = None
|
|
57
59
|
self._name = None
|
|
58
60
|
self._description = None
|
|
61
|
+
self._retained_versions = None
|
|
59
62
|
self._remote = None
|
|
60
63
|
self.discriminator = None
|
|
61
64
|
|
|
@@ -63,6 +66,7 @@ class MavenMavenRepository(object):
|
|
|
63
66
|
self.pulp_labels = pulp_labels
|
|
64
67
|
self.name = name
|
|
65
68
|
self.description = description
|
|
69
|
+
self.retained_versions = retained_versions
|
|
66
70
|
self.remote = remote
|
|
67
71
|
|
|
68
72
|
@property
|
|
@@ -134,6 +138,32 @@ class MavenMavenRepository(object):
|
|
|
134
138
|
|
|
135
139
|
self._description = description
|
|
136
140
|
|
|
141
|
+
@property
|
|
142
|
+
def retained_versions(self):
|
|
143
|
+
"""Gets the retained_versions of this MavenMavenRepository. # noqa: E501
|
|
144
|
+
|
|
145
|
+
Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
|
|
146
|
+
|
|
147
|
+
:return: The retained_versions of this MavenMavenRepository. # noqa: E501
|
|
148
|
+
:rtype: int
|
|
149
|
+
"""
|
|
150
|
+
return self._retained_versions
|
|
151
|
+
|
|
152
|
+
@retained_versions.setter
|
|
153
|
+
def retained_versions(self, retained_versions):
|
|
154
|
+
"""Sets the retained_versions of this MavenMavenRepository.
|
|
155
|
+
|
|
156
|
+
Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
|
|
157
|
+
|
|
158
|
+
:param retained_versions: The retained_versions of this MavenMavenRepository. # noqa: E501
|
|
159
|
+
:type: int
|
|
160
|
+
"""
|
|
161
|
+
if (self.local_vars_configuration.client_side_validation and
|
|
162
|
+
retained_versions is not None and retained_versions < 1): # noqa: E501
|
|
163
|
+
raise ValueError("Invalid value for `retained_versions`, must be a value greater than or equal to `1`") # noqa: E501
|
|
164
|
+
|
|
165
|
+
self._retained_versions = retained_versions
|
|
166
|
+
|
|
137
167
|
@property
|
|
138
168
|
def remote(self):
|
|
139
169
|
"""Gets the remote of this MavenMavenRepository. # noqa: E501
|
|
@@ -41,6 +41,7 @@ class MavenMavenRepositoryResponse(object):
|
|
|
41
41
|
'latest_version_href': 'str',
|
|
42
42
|
'name': 'str',
|
|
43
43
|
'description': 'str',
|
|
44
|
+
'retained_versions': 'int',
|
|
44
45
|
'remote': 'str'
|
|
45
46
|
}
|
|
46
47
|
|
|
@@ -52,10 +53,11 @@ class MavenMavenRepositoryResponse(object):
|
|
|
52
53
|
'latest_version_href': 'latest_version_href',
|
|
53
54
|
'name': 'name',
|
|
54
55
|
'description': 'description',
|
|
56
|
+
'retained_versions': 'retained_versions',
|
|
55
57
|
'remote': 'remote'
|
|
56
58
|
}
|
|
57
59
|
|
|
58
|
-
def __init__(self, pulp_href=None, pulp_created=None, versions_href=None, pulp_labels=None, latest_version_href=None, name=None, description=None, remote=None, local_vars_configuration=None): # noqa: E501
|
|
60
|
+
def __init__(self, pulp_href=None, pulp_created=None, versions_href=None, pulp_labels=None, latest_version_href=None, name=None, description=None, retained_versions=None, remote=None, local_vars_configuration=None): # noqa: E501
|
|
59
61
|
"""MavenMavenRepositoryResponse - a model defined in OpenAPI""" # noqa: E501
|
|
60
62
|
if local_vars_configuration is None:
|
|
61
63
|
local_vars_configuration = Configuration()
|
|
@@ -68,6 +70,7 @@ class MavenMavenRepositoryResponse(object):
|
|
|
68
70
|
self._latest_version_href = None
|
|
69
71
|
self._name = None
|
|
70
72
|
self._description = None
|
|
73
|
+
self._retained_versions = None
|
|
71
74
|
self._remote = None
|
|
72
75
|
self.discriminator = None
|
|
73
76
|
|
|
@@ -83,6 +86,7 @@ class MavenMavenRepositoryResponse(object):
|
|
|
83
86
|
self.latest_version_href = latest_version_href
|
|
84
87
|
self.name = name
|
|
85
88
|
self.description = description
|
|
89
|
+
self.retained_versions = retained_versions
|
|
86
90
|
self.remote = remote
|
|
87
91
|
|
|
88
92
|
@property
|
|
@@ -240,6 +244,32 @@ class MavenMavenRepositoryResponse(object):
|
|
|
240
244
|
|
|
241
245
|
self._description = description
|
|
242
246
|
|
|
247
|
+
@property
|
|
248
|
+
def retained_versions(self):
|
|
249
|
+
"""Gets the retained_versions of this MavenMavenRepositoryResponse. # noqa: E501
|
|
250
|
+
|
|
251
|
+
Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
|
|
252
|
+
|
|
253
|
+
:return: The retained_versions of this MavenMavenRepositoryResponse. # noqa: E501
|
|
254
|
+
:rtype: int
|
|
255
|
+
"""
|
|
256
|
+
return self._retained_versions
|
|
257
|
+
|
|
258
|
+
@retained_versions.setter
|
|
259
|
+
def retained_versions(self, retained_versions):
|
|
260
|
+
"""Sets the retained_versions of this MavenMavenRepositoryResponse.
|
|
261
|
+
|
|
262
|
+
Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
|
|
263
|
+
|
|
264
|
+
:param retained_versions: The retained_versions of this MavenMavenRepositoryResponse. # noqa: E501
|
|
265
|
+
:type: int
|
|
266
|
+
"""
|
|
267
|
+
if (self.local_vars_configuration.client_side_validation and
|
|
268
|
+
retained_versions is not None and retained_versions < 1): # noqa: E501
|
|
269
|
+
raise ValueError("Invalid value for `retained_versions`, must be a value greater than or equal to `1`") # noqa: E501
|
|
270
|
+
|
|
271
|
+
self._retained_versions = retained_versions
|
|
272
|
+
|
|
243
273
|
@property
|
|
244
274
|
def remote(self):
|
|
245
275
|
"""Gets the remote of this MavenMavenRepositoryResponse. # noqa: E501
|
|
@@ -37,6 +37,7 @@ class PatchedmavenMavenRepository(object):
|
|
|
37
37
|
'pulp_labels': 'object',
|
|
38
38
|
'name': 'str',
|
|
39
39
|
'description': 'str',
|
|
40
|
+
'retained_versions': 'int',
|
|
40
41
|
'remote': 'str'
|
|
41
42
|
}
|
|
42
43
|
|
|
@@ -44,10 +45,11 @@ class PatchedmavenMavenRepository(object):
|
|
|
44
45
|
'pulp_labels': 'pulp_labels',
|
|
45
46
|
'name': 'name',
|
|
46
47
|
'description': 'description',
|
|
48
|
+
'retained_versions': 'retained_versions',
|
|
47
49
|
'remote': 'remote'
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
def __init__(self, pulp_labels=None, name=None, description=None, remote=None, local_vars_configuration=None): # noqa: E501
|
|
52
|
+
def __init__(self, pulp_labels=None, name=None, description=None, retained_versions=None, remote=None, local_vars_configuration=None): # noqa: E501
|
|
51
53
|
"""PatchedmavenMavenRepository - a model defined in OpenAPI""" # noqa: E501
|
|
52
54
|
if local_vars_configuration is None:
|
|
53
55
|
local_vars_configuration = Configuration()
|
|
@@ -56,6 +58,7 @@ class PatchedmavenMavenRepository(object):
|
|
|
56
58
|
self._pulp_labels = None
|
|
57
59
|
self._name = None
|
|
58
60
|
self._description = None
|
|
61
|
+
self._retained_versions = None
|
|
59
62
|
self._remote = None
|
|
60
63
|
self.discriminator = None
|
|
61
64
|
|
|
@@ -64,6 +67,7 @@ class PatchedmavenMavenRepository(object):
|
|
|
64
67
|
if name is not None:
|
|
65
68
|
self.name = name
|
|
66
69
|
self.description = description
|
|
70
|
+
self.retained_versions = retained_versions
|
|
67
71
|
self.remote = remote
|
|
68
72
|
|
|
69
73
|
@property
|
|
@@ -133,6 +137,32 @@ class PatchedmavenMavenRepository(object):
|
|
|
133
137
|
|
|
134
138
|
self._description = description
|
|
135
139
|
|
|
140
|
+
@property
|
|
141
|
+
def retained_versions(self):
|
|
142
|
+
"""Gets the retained_versions of this PatchedmavenMavenRepository. # noqa: E501
|
|
143
|
+
|
|
144
|
+
Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
|
|
145
|
+
|
|
146
|
+
:return: The retained_versions of this PatchedmavenMavenRepository. # noqa: E501
|
|
147
|
+
:rtype: int
|
|
148
|
+
"""
|
|
149
|
+
return self._retained_versions
|
|
150
|
+
|
|
151
|
+
@retained_versions.setter
|
|
152
|
+
def retained_versions(self, retained_versions):
|
|
153
|
+
"""Sets the retained_versions of this PatchedmavenMavenRepository.
|
|
154
|
+
|
|
155
|
+
Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. # noqa: E501
|
|
156
|
+
|
|
157
|
+
:param retained_versions: The retained_versions of this PatchedmavenMavenRepository. # noqa: E501
|
|
158
|
+
:type: int
|
|
159
|
+
"""
|
|
160
|
+
if (self.local_vars_configuration.client_side_validation and
|
|
161
|
+
retained_versions is not None and retained_versions < 1): # noqa: E501
|
|
162
|
+
raise ValueError("Invalid value for `retained_versions`, must be a value greater than or equal to `1`") # noqa: E501
|
|
163
|
+
|
|
164
|
+
self._retained_versions = retained_versions
|
|
165
|
+
|
|
136
166
|
@property
|
|
137
167
|
def remote(self):
|
|
138
168
|
"""Gets the remote of this PatchedmavenMavenRepository. # noqa: E501
|
|
@@ -37,6 +37,7 @@ class RepositoryVersionResponse(object):
|
|
|
37
37
|
'pulp_href': 'str',
|
|
38
38
|
'pulp_created': 'datetime',
|
|
39
39
|
'number': 'int',
|
|
40
|
+
'repository': 'str',
|
|
40
41
|
'base_version': 'str',
|
|
41
42
|
'content_summary': 'ContentSummaryResponse'
|
|
42
43
|
}
|
|
@@ -45,11 +46,12 @@ class RepositoryVersionResponse(object):
|
|
|
45
46
|
'pulp_href': 'pulp_href',
|
|
46
47
|
'pulp_created': 'pulp_created',
|
|
47
48
|
'number': 'number',
|
|
49
|
+
'repository': 'repository',
|
|
48
50
|
'base_version': 'base_version',
|
|
49
51
|
'content_summary': 'content_summary'
|
|
50
52
|
}
|
|
51
53
|
|
|
52
|
-
def __init__(self, pulp_href=None, pulp_created=None, number=None, base_version=None, content_summary=None, local_vars_configuration=None): # noqa: E501
|
|
54
|
+
def __init__(self, pulp_href=None, pulp_created=None, number=None, repository=None, base_version=None, content_summary=None, local_vars_configuration=None): # noqa: E501
|
|
53
55
|
"""RepositoryVersionResponse - a model defined in OpenAPI""" # noqa: E501
|
|
54
56
|
if local_vars_configuration is None:
|
|
55
57
|
local_vars_configuration = Configuration()
|
|
@@ -58,6 +60,7 @@ class RepositoryVersionResponse(object):
|
|
|
58
60
|
self._pulp_href = None
|
|
59
61
|
self._pulp_created = None
|
|
60
62
|
self._number = None
|
|
63
|
+
self._repository = None
|
|
61
64
|
self._base_version = None
|
|
62
65
|
self._content_summary = None
|
|
63
66
|
self.discriminator = None
|
|
@@ -68,6 +71,8 @@ class RepositoryVersionResponse(object):
|
|
|
68
71
|
self.pulp_created = pulp_created
|
|
69
72
|
if number is not None:
|
|
70
73
|
self.number = number
|
|
74
|
+
if repository is not None:
|
|
75
|
+
self.repository = repository
|
|
71
76
|
if base_version is not None:
|
|
72
77
|
self.base_version = base_version
|
|
73
78
|
if content_summary is not None:
|
|
@@ -138,6 +143,27 @@ class RepositoryVersionResponse(object):
|
|
|
138
143
|
|
|
139
144
|
self._number = number
|
|
140
145
|
|
|
146
|
+
@property
|
|
147
|
+
def repository(self):
|
|
148
|
+
"""Gets the repository of this RepositoryVersionResponse. # noqa: E501
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:return: The repository of this RepositoryVersionResponse. # noqa: E501
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
154
|
+
return self._repository
|
|
155
|
+
|
|
156
|
+
@repository.setter
|
|
157
|
+
def repository(self, repository):
|
|
158
|
+
"""Sets the repository of this RepositoryVersionResponse.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:param repository: The repository of this RepositoryVersionResponse. # noqa: E501
|
|
162
|
+
:type: str
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
self._repository = repository
|
|
166
|
+
|
|
141
167
|
@property
|
|
142
168
|
def base_version(self):
|
|
143
169
|
"""Gets the base_version of this RepositoryVersionResponse. # noqa: E501
|
|
Binary file
|
data/dist/{pulp_maven_client-0.3.0-py3-none-any.whl → pulp_maven_client-0.3.1-py3-none-any.whl}
RENAMED
|
Binary file
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
10
11
|
**remote** | **String** | | [optional]
|
|
11
12
|
|
|
12
13
|
## Code Sample
|
|
@@ -17,6 +18,7 @@ require 'PulpMavenClient'
|
|
|
17
18
|
instance = PulpMavenClient::MavenMavenRepository.new(pulp_labels: null,
|
|
18
19
|
name: null,
|
|
19
20
|
description: null,
|
|
21
|
+
retained_versions: null,
|
|
20
22
|
remote: null)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
|
14
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
14
15
|
**remote** | **String** | | [optional]
|
|
15
16
|
|
|
16
17
|
## Code Sample
|
|
@@ -25,6 +26,7 @@ instance = PulpMavenClient::MavenMavenRepositoryResponse.new(pulp_href: null,
|
|
|
25
26
|
latest_version_href: null,
|
|
26
27
|
name: null,
|
|
27
28
|
description: null,
|
|
29
|
+
retained_versions: null,
|
|
28
30
|
remote: null)
|
|
29
31
|
```
|
|
30
32
|
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
10
11
|
**remote** | **String** | | [optional]
|
|
11
12
|
|
|
12
13
|
## Code Sample
|
|
@@ -17,6 +18,7 @@ require 'PulpMavenClient'
|
|
|
17
18
|
instance = PulpMavenClient::PatchedmavenMavenRepository.new(pulp_labels: null,
|
|
18
19
|
name: null,
|
|
19
20
|
description: null,
|
|
21
|
+
retained_versions: null,
|
|
20
22
|
remote: null)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -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
|
**number** | **Integer** | | [optional] [readonly]
|
|
10
|
+
**repository** | **String** | | [optional] [readonly]
|
|
10
11
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
|
11
12
|
**content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
|
|
12
13
|
|
|
@@ -18,6 +19,7 @@ require 'PulpMavenClient'
|
|
|
18
19
|
instance = PulpMavenClient::RepositoryVersionResponse.new(pulp_href: null,
|
|
19
20
|
pulp_created: null,
|
|
20
21
|
number: null,
|
|
22
|
+
repository: null,
|
|
21
23
|
base_version: null,
|
|
22
24
|
content_summary: null)
|
|
23
25
|
```
|
data/lib/pulp_maven_client.rb
CHANGED